generic

Clone Tools
  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- generalized comment removal code in mk_predefined

- change mk_predefined to handle longish comments in predefined.xotcl (due to documentation system)

- changed one more int to size_t

- use size_t where appropriate - added notnull annotations

  1. … 2 more files in changeset.
- provide error messages for [objectproperty ... type ...] - replace 0 by NULL in calls to GetClassFromObj() - extended regression test

  1. … 2 more files in changeset.
- reanimated "info vars" to show locals in eval method

  1. … 2 more files in changeset.
- removed "[o exists varname]" from next scripting language

  1. … 5 more files in changeset.
- copied infoObjectMethod and infoClassMethod decls as comments to xotcl.c, aligned order of method definitions

- new function CheckVarName() to check for colons in instance variable names - unified name-checking in "nx::var import|exists|set" - extended regression test

  1. … 2 more files in changeset.
Merge branch 'nx-doc' into 2.0.0-develop

- I created a first draft of the nx language manual, based on the new next::doc facilities. It is still incomplete, but demonstrates the use of next::doc for authoring code documentation.

To re-create the language reference (which is not yet integrated into

the build environment), run:

./nextsh tests/doc.xotcl

You will then find an output directory "NextLanguageCore" in your

/tmp/ directory.

- The next::doc comments which are sourced for generating the manual

can be found in generic/gentclAPI.decls and

generic/predefined.xotcl. I tried to add most comments to the

former, as the complexity of the predefined script does not comfort

documentation comments (and vice versa).

- Applied many fixes to the templates (based on the needs of the

language reference)

  1. … 7 more files in changeset.
- migration guide overhaul

  1. … 1 more file in changeset.
- define ensemble-like command for accessing instance variables ::nx::var set ... ::nx::var import ... ::nx::var exists ...

- don't allow names with namespace separators or colon prefix in importvar/instvar - provide error message, when method (proc scope) is not found - fix array boundaries for looping on variables in importvar/instvar - extended regression test

  1. … 3 more files in changeset.
- provide spacing in conditional assignments

- fix cleanup of subclasses of metaclasses, keeping metaclass property (thanks to Stefan for digging into this)

  1. … 1 more file in changeset.
- provide explicit error message stating the "substdefault" is not allowed for setters - don't add "substdefault" a second time, in case it was already used - never add "substdefault" to methodopts - extended regression test

  1. … 2 more files in changeset.
- changed prefix from "::next::" to "::nx"

  1. … 16 more files in changeset.
- updated changelog - deactivated assertions for release

  1. … 1 more file in changeset.
- namespace changes: mostly due to marketing reasons, the naming of the top-level namespace changed from "xotcl2" to "next". reasons: xotcl is hard to pronounce for beginners, sounds like "exotic" (but who wants to program in an exotic language) has a certain stigma of strange namings (e.g. "instproc"), is seen as a precursor of tcloo, the top-level namespace ::xotcl2:: is not very nice either, the separation of framework and language is not clear.

We have now:

::next (the new object system, former ::xotcl2)

::next::core (framework, primitives)

::xotcl (former xotcl1)

- "::xotcl::use" no longer needed, use Tcl standard mechanisms instead

(e.g. "package req next"; "package req XOTcl", "namespace import ::next*")

  1. … 39 more files in changeset.
- undid part of last commit

- xotcl 1.6.6: initialize value

- backported part of the deletion logic of xotcl 2.0 to 1.6.6 to avoid a potential crash with volatile objects

- ::xotcl:.configure: added option "keepinitcmd" to flag, whether or not initcmds should be kept as instance variables

  1. … 1 more file in changeset.
- remove unneeded attribute for method setter

  1. … 1 more file in changeset.
- Allow to speficy last arg of objectparameter to replace scripted init block. The redefinition of objectparameter allows us to specify whether no/some/classical/altered/additional arguments should be allowed during object creation

- Handle cases, where objects/classes are created with the name of preexiting namespaces. Cases, where pre-exisitng namespaces contained classes/objects lead to problems, since xotcl did not see the object/classes of the pre-exiting namespace as children of the new object/class.

  1. … 2 more files in changeset.
- backport change from 2.0 to 1.6.6 concerning cylcic dependencies through namespace imported commands

- fix a potential ordering problem with cyclic dependencies created by namespace import commands

  1. … 1 more file in changeset.
- xotcl 1.6.6: backport of memory fixes from xotcl 2.0