forked from pool/python-textX
- version update to 1.8.0 - https://github.com/igordejanovic/textX/pull/71 - Regular expression with group support - See [the docs](http://www.igordejanovic.net/textX/development/grammar/#matches) for usage. - https://github.com/igordejanovic/textX/pull/69 - Added search path feature (issue #66) - search path support for model files (importURI scope providers; see docs/scoping.md). - https://github.com/igordejanovic/textX/pull/77 - New multi meta model support for references-only for better meta model modularity (referencing models without having access to the grammar, see docs/multimetamodel.md). - https://github.com/igordejanovic/textX/pull/79 - Fixing obj_processors calling. - https://github.com/igordejanovic/textX/pull/84 - New contribution guide. - https://github.com/igordejanovic/textX/pull/81 - Bugfix: lost encoding for multi meta-model. - https://github.com/igordejanovic/textX/pull/68 - changed parser access in metamodel (private attribute "_parser") - mkdocs documentation now uses [mike](https://github.com/jimporter/mike) for multiversion support. OBS-URL: https://build.opensuse.org/request/show/691739 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=12
129 lines
6.4 KiB
Plaintext
129 lines
6.4 KiB
Plaintext
-------------------------------------------------------------------
|
|
Fri Apr 5 08:46:58 UTC 2019 - pgajdos@suse.com
|
|
|
|
- version update to 1.8.0
|
|
- https://github.com/igordejanovic/textX/pull/71
|
|
- Regular expression with group support
|
|
- See [the
|
|
docs](http://www.igordejanovic.net/textX/development/grammar/#matches)
|
|
for usage.
|
|
- https://github.com/igordejanovic/textX/pull/69
|
|
- Added search path feature (issue #66) - search path support for model
|
|
files (importURI scope providers; see docs/scoping.md).
|
|
- https://github.com/igordejanovic/textX/pull/77
|
|
- New multi meta model support for references-only for better meta model
|
|
modularity (referencing models without having access to the grammar,
|
|
see docs/multimetamodel.md).
|
|
- https://github.com/igordejanovic/textX/pull/79
|
|
- Fixing obj_processors calling.
|
|
- https://github.com/igordejanovic/textX/pull/84
|
|
- New contribution guide.
|
|
- https://github.com/igordejanovic/textX/pull/81
|
|
- Bugfix: lost encoding for multi meta-model.
|
|
- https://github.com/igordejanovic/textX/pull/68
|
|
- changed parser access in metamodel (private attribute "_parser")
|
|
- mkdocs documentation now uses [mike](https://github.com/jimporter/mike) for
|
|
multiversion support.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Dec 4 12:55:15 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Remove superfluous devel dependency for noarch package
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 22 14:31:16 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>
|
|
|
|
- drop indeterministic .dot files to make package build reproducible
|
|
(boo#1114571)
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jul 6 20:48:57 UTC 2018 - sebix+novell.com@sebix.at
|
|
|
|
- update to version 1.7.0:
|
|
- A major feature of this release is multi-(meta-)model support with
|
|
configurable resolving techniques. Thanks Pierre Bayerl (goto40@GitHub)!
|
|
|
|
The docs sections are [here](http://www.igordejanovic.net/textX/scoping/)
|
|
and [here](http://www.igordejanovic.net/textX/multimetamodel/).
|
|
|
|
Details follow:
|
|
- added new function textx.get_model.children to search arbritrary children
|
|
using a lambda predicate.
|
|
- remapped textx.model.get_children_of_type to the new children function
|
|
(changed the logic, such that the root node is also checked to be model
|
|
object).
|
|
- added new metamodel function to register scope providers. Scope providers
|
|
are callables, which return the referenced object.
|
|
- added optional attribute "_tx_model_repository", see metamodel.py
|
|
documentation
|
|
- added attribute "scope_provider" like "obj_processors" to organize scope
|
|
providers
|
|
- added an optional argument to model_from_str and model_from_file:
|
|
"pre_ref_resolution_callback": this is required internally to prepare the
|
|
loading of other model files.
|
|
- changed reference resolution in model.py
|
|
- moved default resolution to textx.scoping.py
|
|
- select the scope provider based on rule and rule-attribute (see
|
|
scoping.py documentation)
|
|
- added a Postponed type to postpone the resolution
|
|
- introduced a multi-pass resolution (implemented at the end of
|
|
parse_tree_to_objgraph; introduced new helper argument, e.g., a new
|
|
optional argument "is_this_the_main_model" and
|
|
"pre_ref_resolution_callback" (see metamodel.py above) to support
|
|
reference resolution in the presence of different model files.
|
|
- added a new module textx.scoping, to provide some scope providers (e.g. a
|
|
fully qualified name provider) - see scoping.py:
|
|
- full qualified names for reference names (e.g. package.package.class)
|
|
- global scope (model distributed over different files - loaded globally)
|
|
- import scope (model distributed over different files - loaded when
|
|
imported)
|
|
- relative scopes (e.g. instance.method where method is defined for the
|
|
class of the instance in a model of classes, methods and instances)
|
|
- selecting the metamodel based on a file pattern when loading models
|
|
- added tests (mostly scope related - some of them also test other stuff,
|
|
like buildins)
|
|
- exceptions where adapted to include a file name (makes errors more
|
|
visible)
|
|
- The metamodel now allows to specify a global model repository. With this
|
|
you can now share models across metamodels (before you could only do this
|
|
within one metamodel or language).
|
|
- The metamodel clones the parser when parsing a model file. The meta model
|
|
holds one parser, which is clone for every model to be parsed.
|
|
- TextXModelParser now has a clone method.
|
|
(TBC: is the clone ok: see responsibility of the method)
|
|
- model.py: the resolution loop logic now mostly moved to a separate object
|
|
ReferenceResolver, which holds the parser.
|
|
- The reference resolver are build from all model files affected (loaded).
|
|
This may involve multiple meta models.
|
|
- Then all references are resolved in one loop.
|
|
- Finally the helper objects (ReferenceResolver) are purged.
|
|
- The MetaModelProvider has a clear-method now (useful for tests).
|
|
- Backward incompatible change: match filters and object processors unified.
|
|
Now there are only object processors but they are called for any type of
|
|
rule and the returned value if exists is used instead of the original
|
|
object. See [the
|
|
docs](http://www.igordejanovic.net/textX/metamodel/#object-processors). In
|
|
order to migrate your match filters just register them as object processors.
|
|
- Fixing FLOAT regex. Thanks Boris Marin (borismarin@GitHub)!
|
|
- Fixing position info on obj cross ref. Thanks Daniel Elero (danixeee@GitHub)!
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Feb 18 18:52:02 UTC 2018 - jengelh@inai.de
|
|
|
|
- Compact description
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jan 31 13:41:03 UTC 2018 - sebix+novell.com@sebix.at
|
|
|
|
- update to version 1.6.1. No notable changes.
|
|
- update to version 1.6.0. Shortened changelog:
|
|
* Introduced _tx_fqn class attribute.
|
|
* textX api functions and classes are now available directly from textx module.
|
|
* bugfixes
|
|
- update to version 1.5.2. Bugfixes.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Aug 28 12:37:08 UTC 2017 - sebix+novell.com@sebix.at
|
|
|
|
- initial package
|