14
0
forked from pool/python-textX

- update to version 2.0.1:

- Added:
  - [Registration and discovery] of languages and generators ([#187])
  - New textx CLI commands for listing generators and languages
    (`list-generators`, `list-languages`) and calling a generator (`generate`) ([#187])
  - Meta-models may now [reference other registered meta-models] using the
    `reference` statement ([#187])
  - Adding examples and documentation related to scope providers (related to
    model modification through scope providers) ([#168])
  - metamodel export feature for [PlantUML] ([#165])
  - `textx_isinstance` from `textx.scoping.tools` made available in `textx`
    ([#164], [#157])
  - CLI extensibility ([#162], [#161])
  - An initial version of FAQ page ([#138]). Thanks Aluriak@GitHub
  - A version of `calc.py` exercises usage of
    `text.scoping.tools.textx_isinstance()` to inspect model objects types
    during traversal. ([#136], [#123]). Thanks dkrikun@GitHub
  - A version of `calc.py` in expression example that exercises dynamically adding
    properties to object classes ([#126]). Thanks dkrikun@GitHub
  - python like imports (named import rules, scope providers affected) ([#114])
  - Added `STRICTFLOAT` as buildin type to allow to distinguish ints from floats
    in `NUMBER`. Fixed docu link ([#98]). Possible **(BIC)**
  - Added [flake8] and [coverage] checking ([#92])
 - Changed:
  - All textX commands implemented using textX CLI extensibility. `check`
    command reworked to support the new registration feature ([#187]) **(BIC)**
  - (Meta-)model visualization reworked as a set of textX generators ([#187]).
    **(BIC)**
  - Made scope provider implementation of `RelativeName` and `ExtRelativeName`
    more readable ([#186]). Minor functional changes, not very probable to have

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=14
This commit is contained in:
Sebastian Wagner
2019-06-02 15:23:46 +00:00
committed by Git OBS Bridge
parent c19e5e2614
commit 2989ed14b9
4 changed files with 72 additions and 5 deletions

View File

@@ -1,3 +1,70 @@
-------------------------------------------------------------------
Sun Jun 2 15:22:59 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 2.0.1:
- Added:
- [Registration and discovery] of languages and generators ([#187])
- New textx CLI commands for listing generators and languages
(`list-generators`, `list-languages`) and calling a generator (`generate`) ([#187])
- Meta-models may now [reference other registered meta-models] using the
`reference` statement ([#187])
- Adding examples and documentation related to scope providers (related to
model modification through scope providers) ([#168])
- metamodel export feature for [PlantUML] ([#165])
- `textx_isinstance` from `textx.scoping.tools` made available in `textx`
([#164], [#157])
- CLI extensibility ([#162], [#161])
- An initial version of FAQ page ([#138]). Thanks Aluriak@GitHub
- A version of `calc.py` exercises usage of
`text.scoping.tools.textx_isinstance()` to inspect model objects types
during traversal. ([#136], [#123]). Thanks dkrikun@GitHub
- A version of `calc.py` in expression example that exercises dynamically adding
properties to object classes ([#126]). Thanks dkrikun@GitHub
- python like imports (named import rules, scope providers affected) ([#114])
- Added `STRICTFLOAT` as buildin type to allow to distinguish ints from floats
in `NUMBER`. Fixed docu link ([#98]). Possible **(BIC)**
- Added [flake8] and [coverage] checking ([#92])
- Changed:
- All textX commands implemented using textX CLI extensibility. `check`
command reworked to support the new registration feature ([#187]) **(BIC)**
- (Meta-)model visualization reworked as a set of textX generators ([#187]).
**(BIC)**
- Made scope provider implementation of `RelativeName` and `ExtRelativeName`
more readable ([#186]). Minor functional changes, not very probable to have
any impact (only affects model-paths containing a list not at the end of the
path; see [#186]). Possible **(BIC)**.
- Improved handling of abstract rules references. Improved the definition of
rules for various cases. Docs + tests ([#185], [#166]) **(BIC)**
- Changed the time of call of match rule object processors to be during the
model construction. This enable proper override of base types processors and
calls on nested match rules ([#183], [#182], [#96]). Possible **(BIC)**
- CLI migrated to the [click] library ([#162])
- Docs improvements ([#146], [#153], [#151]). Thanks simkimsia@GitHub.
- `FQN` constuctor param `follow_loaded_models` removed and introduced
callback `scope_rediction_logic` to implement arbitrary logic on FQN
resolution ([#133], [#114], [#103]) **(BIC)**
- Changed attribute name for the meta-model object (from `metamodel._parser`
to `metamodel._parser_blueprint`). ([#93]) **(BIC)**
- Started using _[Keep a Changelog][keepachangelog]_ ([#174])
- Started using _[Semantic Versioning][semver]_ ([#174])
- Dropped support for Python 3.3
- Fixed:
- White-spaces in string matches were erroneously stripped ([#188])
- Calling of match rule object processors ([#183], [#182], [#96])
- Circular rule references in grammars ([#173], [#159], [#155])
- Assertion error while calling object processors with multi meta models
(extended grammars) and custom types ([#141], [#140])
- Using a sequence of matches and rule reference in an abstract rule choice
alternative, and explicitly disallowing referencing more than one rule in an
abstract rule choice alternative ([#134])
- Unicode requirement for (meta)-model strings API parameters made strict.
This should prevent common errors with Python 2.x. ([#120]) (related: [#99],
[#105], [#117]). Possible **(BIC)**
- OS incompatibility fixes (path separator). ([#114])
- Object processors called twice for imported models ([#108], [#118])
- Documentation and examples regarding `NUMBER` base type ([#97], [#100]).
Thanks approxit@GitHub
-------------------------------------------------------------------
Fri Apr 5 08:46:58 UTC 2019 - pgajdos@suse.com