lib

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added timing statistics

  1. … 1 more file in changeset.
Property reform part 1:

- disallow protection modifiers for "properties" and

add new flag "-accessor" to "property" and "variable"

This changes definitions like

Class create C {

:property {a a1}

:public property {b b1}

:protected property {c c1}

:private property {d d1}

}

to

Class create C {

:property {a a1}

:property -accessor public {b b1}

:property -accessor protected {c c1}

:property -accessor private {d d1}

}

since "properties" are always public accessible

over the "configure" and "cget" interface, but the

accessors methods might not be public. The value of

the accessor might be also "none" (specifying explicitely

that no accessor is wanted) or "", which means: use the default.

Same holds for "variable"

- disallow parameter option "incremental" and change it to a flag

of the property or variable. The motivation for this is due to

the fact, that "incremental" is a property of the accessor, and

not of the value.

old:

Class create C {

:property foo:int,incremental

:variable bar:int,incremental

}

new:

Class create C {

:property -incremental foo:int

:variable -incremental bar:int

}

- disallow "public class property" and friends since these are not needed

- removed parameter property "noaccessor"

- removed "nx::configure defaultPropertyCallProtection" and

method hook "__default_property_call_protection"

- introduced "nx::configure defaultAccessor" and

method hook "__default_accessor"

- for the time being, "defaultAccessor" is "public" for NX and XOTcl,

will be changed to "none" in NX

- extended regression test (new file properties.test)

  1. … 15 more files in changeset.
- updated 34 copyright notices

  1. … 33 more files in changeset.
- finalize transition from old code

nx::test: - added summary at the end of "make test" via log file - updated .gitignore

  1. … 4 more files in changeset.
- allow instance property inheritance for traits

- library/lib/nxdoc-xowiki.tcl: Finished and polished the xowiki backend for nxdoc. Some tests regarding relative paths and the treeview generation are pending ... - library/lib/nxdoc-xowiki.tcl: Use the built-in base64 facility if running under Tcl 8.6 - Due to re-introducing nested-object-as-method semantics lately, nxdoc started stumbling over name conflicts between nested entity hierarchies (i.e., the entity object representing "/cls/ class info class" ...) and equally-named introspection calls on such entities (e.g., a "info class" call). I made these calls more robust my using -system dispatches; which is fine as long as we do not have sth. like "/obj/ info eval". Generally speaking, the risk of such naming conflicts discredits the use of object nesting in nxdoc; should eventually be revised. Or, as work-around: Using a filter on Entity instances to protect/redirect critical calls.

    • -25
    • +21
    ./nxdoc-assets/body-chunked.html.yuidoc
- restructured directories, added configure options, some more cleanup

  1. … 16 more files in changeset.
- nx based c code generator for experimenting with different code engines

  1. … 7 more files in changeset.
* xotcl.c: some c-cleanup * library files: require exact version numbers to avoid conflicts with XOTcl 2.0

  1. … 6 more files in changeset.
- library/lib/nxdoc-assets/submethod.html.yuidoc: Supporting origin resolution for submethods.

Having rewritten 2/3 of nx::Object

    • -1
    • +1
    ./nxdoc-assets/attributemethod.html.yuidoc
  1. … 3 more files in changeset.
Revert "- Changed "Institute of IS ..." to "Institute for IS ...""

  1. … 11 more files in changeset.
- Changed "Institute of IS ..." to "Institute for IS ..."

  1. … 11 more files in changeset.
- update copyright files

  1. … 8 more files in changeset.
- make sure to use "XOTcl 2.0" instead of just XOTcl in "package req" to avoid confusions due to beta state - remove more obsolete and untested files

  1. … 56 more files in changeset.
- add .tcl to nxdocIndex to make it recognized as Tcl file (pkgIndex has as well a .tcl extension)

  1. … 1 more file in changeset.
- rename "info method handle /methodName/" into "info method registrationhandle /methodName/" - rename "info method origin /methodName/" into "info method definitionhandle /methodName/" - added "info method origin" to return the target of an alias (or empty)

  1. … 18 more files in changeset.
- library/lib/nxdoc-assets/yuidoc/api-next.css: Minor css tweak to align the yuidoc standalone and xowiki versions ...

- @class.html.yuidoc, @object.html.yuidoc: Reflected naming changes from "attribute*" to "property*" - library/lib/nxdoc-core.tcl: Major cleanup - library/lib/nxdoc-html.tcl: Made sure that the navigation structure is rendered in a fixed order, with the per-entity elements coming last. - library/nx/nxdocIndex: Added method occurrences etc.

  1. … 2 more files in changeset.
- 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. … 125 more files in changeset.
Merge branch '2.0.0-develop'

Conflicts:

.gitignore

ChangeLog

Makefile.in

apps/xml/rdfExample.xotcl

apps/xml/xmlExample.xotcl

config/mktar.sh

configure

configure.in

doc/index.html

doc/langRef-xotcl.pdf

doc/tutorial.pdf

doc/xo-daemon.html

doc/xo-whichPkg.html

generic/predefined.h

generic/predefined.xotcl

generic/xotcl.c

generic/xotcl.decls

generic/xotcl.h

generic/xotclAccessInt.h

generic/xotclAppInit.c

generic/xotclDecls.h

generic/xotclError.c

generic/xotclInt.decls

generic/xotclInt.h

generic/xotclMetaData.c

generic/xotclProfile.c

generic/xotclShadow.c

generic/xotclStubInit.c

generic/xotclStubLib.c

generic/xotclTrace.c

generic/xotclUtil.c

library/lib/changeNextVersion

library/lib/make.xotcl

library/lib/pkgIndex.tcl

library/lib/test.xotcl

library/lib/upvarcompat.xotcl

library/mongodb/tcl.m4

library/rdf/COPYRIGHT

library/rdf/rdfExample.xotcl

library/registry/COPYRIGHT

library/serialize/Serializer.xotcl

library/store/COPYRIGHT

library/xml/COPYRIGHT

library/xml/xmlExample.xotcl

library/xotcl/apps/comm/webserver.xotcl

library/xotcl/doc/langRef.xotcl

library/xotcl/doc/tutorial.html

library/xotcl/library/lib/makeDoc.xotcl

library/xotcl/library/rdf/rdfExample.xotcl

library/xotcl/library/store/XOTclGdbm/configure

library/xotcl/library/store/XOTclGdbm/configure.in

library/xotcl/library/store/XOTclSdbm/Makefile

library/xotcl/library/store/XOTclSdbm/configure

library/xotcl/library/store/XOTclSdbm/configure.in

library/xotcl/library/store/XOTclSdbm/tcl.m4

library/xotcl/library/xml/TclExpat-1.1/Makefile

library/xotcl/library/xml/TclExpat-1.1/configure

library/xotcl/library/xml/TclExpat-1.1/configure.in

library/xotcl/library/xml/TclExpat-1.1/tcl.m4

library/xotcl/library/xml/xmlExample.xotcl

library/xotcl/tests/UNIVERSAL.test

library/xotcl/tests/actiweb.test

library/xotcl/tests/persistence.test

library/xotcl/tests/slottest.xotcl

library/xotcl/tests/speedtest.xotcl

library/xotcl/tests/testo.xotcl

library/xotcl/tests/testx.xotcl

library/xotcl/tests/xoRDF.test

library/xotcl/tests/xocomm.test

tcl.m4

tests/forwardtest.xotcl

unix/tclAppInit.c

unix/tkAppInit.c

win/rc/xotcl.rc

win/winMain.c

xotcl.m4

  1. … 10 more files in changeset.
- add trait index entry to pktIndex.tcl

- improve keyword detection (it is now slower, since it uses two separate regexps, but it returns much less false positives)

- provide means for "autoloading" traits

  1. … 12 more files in changeset.
- added tk-spread and tk-locomotive to example scripts

  1. … 8 more files in changeset.
- added per-object traits (and per-class-object traits)

- traits: renamed "useTrait" into "require trait"

  1. … 9 more files in changeset.
- nx-traits: * use "info methods -closure" instead of instantiating a class at trait-insertion time * added trait as package nx::callback

- example scripts: added tk-mini and tk-horse-race

  1. … 9 more files in changeset.
- library/lib/nxdoc-assets/body.html.yuidoc: Added a tiny piece of missing styling markup ...