Commit Graph

42 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
763ffcfcfd Remove the --library-fields-all-public option
This feature is seldomly used (and tested...) and spreads in the
codebase. Now that we have powerful debugging capabilities for generated
libraries, it is less useful that before anyway.

TN: Q920-012
2017-09-20 10:28:37 +02:00
Pierre-Marie de Rodat
d8425c5268 Remove dependence on library_fields_all_public in some tests
TN: Q920-012
2017-09-20 10:25:00 +02:00
Pierre-Marie de Rodat
14415c9ce6 Testsuite: simplify interface of emit_and_print_errors
(no-tn-check)
2017-08-10 15:46:07 +02:00
Raphael Amiard
bbea2feaa3 Q630-014: Adapt tests
Change-Id: I50be23fd9126bb00c01f0df90db5d3812c7c30a5
2017-07-03 18:09:35 +02:00
Raphael Amiard
dad68363d4 Q630-014: Change EnvSpec's API
Change-Id: Iae24cfa74b3e33364ab355f1fe73845360b0406e
2017-06-30 18:18:20 +02:00
Raphael Amiard
71c98b473b Q623-030: list_type() -> list
Change-Id: Ib446de025d6d44bf4f52d9c63fa86eb16fdd8a26
2017-06-28 18:20:13 +02:00
Raphael Amiard
a6c273cc45 Q623-030: array_type() -> array
Change-Id: I05380b08be33b983e7061229bf22d2da05d63ee7
2017-06-28 18:20:13 +02:00
Pierre-Marie de Rodat
6726e6afa7 python-api/ghost_nodes: extend to test qualifier EnumNode
TN: Q620-006
2017-06-20 12:50:22 +02:00
Pierre-Marie de Rodat
d967b1b3d2 Remove the root_grammar_class decorator
TN: Q606-051
2017-06-14 11:45:44 +02:00
Pierre-Marie de Rodat
3addf6bfd7 Remove support for TypeRepo.EnumNode
TN: Q606-051
2017-06-13 16:48:30 +02:00
Pierre-Marie de Rodat
072cc22f75 Enforce Structs to hold only UserField instances: Field is not allowed
TN: Q606-051
2017-06-13 10:47:21 +02:00
Pierre-Marie de Rodat
134fa53f8a Testsuite: replace .compiled_types dependences with langkit.dsl ones
TN: Q606-051
2017-06-13 10:47:21 +02:00
Pierre-Marie de Rodat
919cc69de0 Move the generic list type creation to StructMetaclass
TN: Q606-051
2017-06-12 13:45:03 +02:00
Pierre-Marie de Rodat
036f154d58 Add a testcasae for Tokens's "container primitives" in the Python API
TN: Q510-012
2017-05-10 17:17:09 +02:00
Pierre-Marie de Rodat
2ffa07e8d0 python-api/unit_filename: fix test description docstring
TN: minor
2017-05-10 17:17:09 +02:00
Pierre-Marie de Rodat
d11c8a5d4a Remove all unicode_literals imports from __future__
TN: Q223-029
2017-04-25 14:24:30 +02:00
Raphael Amiard
13199dfa7d Q410-014: Finish renaming 2017-04-13 18:54:24 +02:00
Pierre-Marie de Rodat
c6e33a2f24 Python API: use composition instead of inheritance for struct types
... so that we can avoid automatic reference counting when handling
ctypes.Structure subclasses that represent ref-counted structures. This
makes it possible to fix some memory issues in the Python binding.

TN: Q410-021
2017-04-10 18:10:33 +02:00
Pierre-Marie de Rodat
5617577157 Add a testcase to check array types type safety in the Python API
TN: Q221-031
2017-03-23 16:08:37 +01:00
Pierre-Marie de Rodat
5f78e55cc7 tests/python-api/env_rebindings_type: update to test type safety
TN: Q221-031
2017-03-23 16:08:31 +01:00
Pierre-Marie de Rodat
c1ca4b3dbb tests/python-api/logic_var_type: update to test type safety
TN: Q221-031
2017-03-23 16:08:05 +01:00
Pierre-Marie de Rodat
a6c895cea8 tests/python-api/equation_type: update to test type safety
TN: Q221-031
2017-03-23 16:08:00 +01:00
Pierre-Marie de Rodat
6782a5a255 tests/python-api/lexical_env: update to test type safety
TN: Q221-031
2017-03-23 16:07:57 +01:00
Pierre-Marie de Rodat
8f56656be1 Python API: refactor error message for bad _text._unwrap input type
TN: Q221-031
2017-03-23 16:00:08 +01:00
Pierre-Marie de Rodat
bdeeea01eb python-api/unit_filename: new testcase
TN: Q310-019
2017-03-10 11:55:49 -05:00