Dashboard

- increase backward compatibility for ::xotcl::Attribute by defining the public methods "set", "exists" and "istype"
- increase backward compatibility for ::xotcl::Attribute by defining the public methods "set", "exists" and "istype"

- apps/utils/nxdoc: fix shebang path to env ...
- apps/utils/nxdoc: fix shebang path to env ...

- generic/nsf.c, ObjectDispatch(): Re-arranged the handling of fully-qualified method dispatches with the selectors resolving to existing objects and, in particular, nested (namespace-qualified) …
- generic/nsf.c, ObjectDispatch(): Re-arranged the handling of fully-qualified method dispatches with the selectors resolving to existing objects and, in particular, nested (namespace-qualified) objects. Prior to that, dispatches such as "::C ::parent::child" were not covered appropriately: ::parent was reported as valid regObj and so the dispatcher continued to dispatch to the cmd "::parent::child" in the self-context ::parent::child ... with unwanted side-effects (e.g., XOTcl's unknown handling was bypassed). - tests/methods.test: Added basic tests on the (current) handling for such ::* dispatches and a specific test set on the intended XOTcl behaviour.

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf
Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- start error messages with a lower case word for consistency and to follow closer to Tcl's conventions
- start error messages with a lower case word for consistency and to follow closer to Tcl's conventions

- added "private property foo" - extended regression test
- added "private property foo" - extended regression test

- allow parens in property names (array syntax) - added "/obj/ info name" (as alternative to "namspace tail [self]")
- allow parens in property names (array syntax) - added "/obj/ info name" (as alternative to "namspace tail [self]")

- use newer style of tcl-obj interface instead of sprintf
- use newer style of tcl-obj interface instead of sprintf

- implement escaping for comma in value of parameter options: escaping in values can be achived via duplicating the comma. - extend regression test
- implement escaping for comma in value of parameter options: escaping in values can be achived via duplicating the comma. - extend regression test

- adding conneciton-min and animation-min to load list for yui-carousel, in case treeprocs are not loaded (many thanks to Richard Hamilton for noticing this)…
- adding conneciton-min and animation-min to load list for yui-carousel, in case treeprocs are not loaded (many thanks to Richard Hamilton for noticing this)

- use ajaxhelper for yui-carousel

move "list-style: none" from UL to LI to avoid circle-bullets in tabbed master with yui-base
move "list-style: none" from UL to LI to avoid circle-bullets in tabbed master with yui-base

- library/xotcl/library/xotcl2.tcl: Provided a virtual slot "multivalued" to establish backward compatibility with XOTcl1; also, allow old-style class creation based on unknown for ::xotcl::Attr…
- library/xotcl/library/xotcl2.tcl: Provided a virtual slot "multivalued" to establish backward compatibility with XOTcl1; also, allow old-style class creation based on unknown for ::xotcl::Attribute - library/xotcl/tests/slottest.xotcl: Added some tests on backward compatibility for XOTcl slots

    • -19
    • +36
    /library/xotcl/library/xotcl2.tcl
    • -4
    • +58
    /library/xotcl/tests/slottest.xotcl
- handle file names with spaces properly
- handle file names with spaces properly

- rename file->entry_name to file->entry_info to better reflect its nature…
- rename file->entry_name to file->entry_info to better reflect its nature

- import-procs: allow alternatively application/zip and application/x-zip

for application/x-zip-compressed

- remove unneeded line (Many thanks to Richard Hamilton)

    • -3
    • +5
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
- explorative implementation of object method dispatches with KEEP_CALLER_SELF and no NSF_PER_OBJECT_DISPATCH - extend regression test
- explorative implementation of object method dispatches with KEEP_CALLER_SELF and no NSF_PER_OBJECT_DISPATCH - extend regression test

Presetting url variable used on message key.
Presetting url variable used on message key.

- more i18n
- more i18n

- include url in repeated-request message
- include url in repeated-request message

nsf.c: - refactor ObjectCmdMethodDispatch() for clarity - prepare work on object method dispatches with KEEP_CALLER_SELF and no NSF_PER_OBJECT_DISPATCH
nsf.c: - refactor ObjectCmdMethodDispatch() for clarity - prepare work on object method dispatches with KEEP_CALLER_SELF and no NSF_PER_OBJECT_DISPATCH

- remove debug line
- remove debug line

- fix off-by-one error
- fix off-by-one error

- add regression test for keepcallerself with and without perobjectdispatch
- add regression test for keepcallerself with and without perobjectdispatch

- fix typo
- fix typo

- serializer: * pertain perobjectdispatch and keepcallerself in serializer * extend regression test
- serializer: * pertain perobjectdispatch and keepcallerself in serializer * extend regression test

nsf.c: - generalize stack monitor by handling growing and shrinking stacks - refactor into funciton CheckCStack()
nsf.c: - generalize stack monitor by handling growing and shrinking stacks - refactor into funciton CheckCStack()

- serializer: * make [::Serializer deepSerialize -ignoreVarsRE "" $o] behave like [::Serializer deepSerialize $o], since learn@wu depends on that, and a value for ignoreVarsRE of empty looks…
- serializer: * make [::Serializer deepSerialize -ignoreVarsRE "" $o] behave like [::Serializer deepSerialize $o], since learn@wu depends on that, and a value for ignoreVarsRE of empty looks more like an omitted value than a regular expression, that should match everything. * extended regression test

- extended regression test
- extended regression test

- added parameter use_photo_form to ::xowiki::ArchiveFile to import images as instances of en:photo.form
- added parameter use_photo_form to ::xowiki::ArchiveFile to import images as instances of en:photo.form

    • -19
    • +57
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
- added method db_0or1row to ::xotcl::Object similar to db_1row. The method loads the output variables of the SQL query directly into the current object.
- added method db_0or1row to ::xotcl::Object similar to db_1row. The method loads the output variables of the SQL query directly into the current object.

- added compile macro NSF_STACKCHECK to provide stack monitoring/debugging (especially useful for multi threaded programs, where stack is more limited)
- added compile macro NSF_STACKCHECK to provide stack monitoring/debugging (especially useful for multi threaded programs, where stack is more limited)