Commit Graph

  • d4612c21f3 Python API: add Mypy type hints for iterator types Pierre-Marie de Rodat 2021-01-13 11:11:39 +01:00
  • 7c432b602b Introduce iterator types Romain Beguet 2020-03-19 10:16:23 +01:00
  • b8259e6762 PropertyDef: introduce the "artificial" constructor argument Pierre-Marie de Rodat 2021-01-18 15:28:27 +01:00
  • 3cd0ee582c CompileCtx.warn_unused_private_properties: no warn for internal props Pierre-Marie de Rodat 2021-01-18 15:43:31 +01:00
  • 0bcd79f0d7 PythonAPISettings: document the extract_c_value method Pierre-Marie de Rodat 2021-01-13 11:03:28 +01:00
  • ec106a0d61 AbstractNodeData: make it possible to override access construction Pierre-Marie de Rodat 2021-01-12 14:36:02 +01:00
  • 46c48a9625 CallExpr: add "shadow arguments" Pierre-Marie de Rodat 2021-01-12 14:31:56 +01:00
  • 291b540c0d FieldAccess: keep track of original accessed node data Pierre-Marie de Rodat 2021-01-12 14:29:39 +01:00
  • 32fdfd864d ArrayType: remove useless "name" constructor argument Pierre-Marie de Rodat 2021-01-11 17:42:40 +01:00
  • fc8777bace Minor reformatting Pierre-Marie de Rodat 2021-01-11 17:39:53 +01:00
  • 37c25fcc18 Add type annotation for PropertyDef._base_property Pierre-Marie de Rodat 2021-01-11 17:32:05 +01:00
  • 92ec9b4cba Refactor properties reachability into a dedicated pass Romain Beguet 2020-03-19 10:16:23 +01:00
  • 8a552cb4e0 CompileCtx: pre-compute properties callgraphs Pierre-Marie de Rodat 2021-01-11 17:23:27 +01:00
  • b1dad75ac9 Typo fix in docstring Pierre-Marie de Rodat 2021-01-18 15:49:40 +01:00
  • db1153febd Move langkit.gdb.debug_info to langkit.debug_info Pierre-Marie de Rodat 2021-01-18 17:00:28 +01:00
  • d9897775b2 langkit.gdb.*: add Mypy type hints Pierre-Marie de Rodat 2021-01-15 11:28:50 -05:00
  • 70032b61fa $.Analysis: turn Get_From_*/Get_With_Error preconds into regular code Pierre-Marie de Rodat 2021-01-13 16:44:38 +01:00
  • 6064539374 lexical_envs/check_rebindable: fix Python2 incompatibility Pierre-Marie de Rodat 2021-01-18 11:14:22 +01:00
  • a9b96d8cc2 Exclude error nodes from unparsers and tree rewriting Pierre-Marie de Rodat 2020-05-20 15:28:56 +02:00
  • eb5583af8d langkit.unparsers: override __repr__ in various subclasses Pierre-Marie de Rodat 2021-01-14 10:05:51 -05:00
  • a996527f01 Introduce error nodes for Skip parsers Pierre-Marie de Rodat 2021-01-14 08:15:16 -05:00
  • e3cdc5b86e Minor reformattings/typo fixes Pierre-Marie de Rodat 2021-01-14 08:40:57 -05:00
  • 4e85a631b7 ASTNodeType.__init__: add Mypy type hints Pierre-Marie de Rodat 2021-01-14 07:55:10 -05:00
  • b37791ee02 BaseStruct.collect_fieldS: add Mypy type hints Pierre-Marie de Rodat 2021-01-14 07:35:03 -05:00
  • 8a3712ffda lexical_envs/check_rebindable: new testcase Pierre-Marie de Rodat 2021-01-08 17:51:29 +01:00
  • 1cbf643b64 pkg_implementation_body_ada.mako: minor refactoring Pierre-Marie de Rodat 2021-01-08 17:45:21 +01:00
  • d36056fddc TC09-047: consider warn_on_unused transitively in unused warning Raphaël AMIARD 2020-12-11 16:14:34 +01:00
  • da2db439ca TC09-047: Make Solve_Wrapper visible in .Implementation Raphaël AMIARD 2020-12-11 10:27:17 +01:00
  • 1ced34af0f $.Rewriting: simplify arg names for fields in node constructors Pierre-Marie de Rodat 2021-01-11 10:18:45 +01:00
  • 3457f85d90 Ada API: raise Precondition_Failure exceptions on null arguments Pierre-Marie de Rodat 2021-01-07 12:19:46 +01:00
  • 32a0dbfdda langkit.envs: remove "_expr" argument name suffixes for DSL functions Pierre-Marie de Rodat 2021-01-07 17:47:55 +01:00
  • 4b0e6899da Make it possible to add an env entry to a named environment Pierre-Marie de Rodat 2021-01-07 15:37:28 +01:00
  • ec2006464c langkit.envs: fix typos in docstrings Pierre-Marie de Rodat 2021-01-07 14:23:14 +01:00
  • 4bb339b7dd U114-031 Update ocaml valgrind suppression file Daniel Mercier 2021-01-14 15:53:32 +01:00
  • 696f6e8379 Update copyright headers for 2021 Pierre-Marie de Rodat 2021-01-08 14:31:36 +01:00
  • 3e376436d1 DynamicLexicalEnv: add an entity resolver argument Pierre-Marie de Rodat 2020-12-17 17:29:11 +01:00
  • 6003c00581 Fix codegen for untyped property wrappers returning specific entities Pierre-Marie de Rodat 2020-12-17 17:29:05 +01:00
  • 45445a1544 Enable warnings by default in Libpythonlang and Liblktlang Pierre-Marie de Rodat 2020-12-14 17:15:10 +01:00
  • 1085acf928 TC14-031: Fix build warnings in templates Raphaël AMIARD 2020-12-14 16:29:41 +01:00
  • 7160604791 Fix camomile issues when used with a relocalized opam Daniel Mercier 2020-12-09 14:14:55 +01:00
  • 74b239c808 Introduce a "strict" mode for sound envs Pierre-Marie de Rodat 2020-12-07 16:14:04 +01:00
  • 4401581911 Add type hints to CompileCtx.create_all_passes Pierre-Marie de Rodat 2020-12-07 15:47:18 +01:00
  • d5e630f6ef contrib/svg_railroad_diagrams: disable on restricted envs Pierre-Marie de Rodat 2020-12-02 12:49:48 +01:00
  • 53c5dcc5d0 Testsuite: introduce the --restricted-env option Pierre-Marie de Rodat 2020-12-02 12:46:33 +01:00
  • 5eb369ea43 contrib/svg_railroad_diagrams: remove useless file Pierre-Marie de Rodat 2020-12-02 12:22:11 +01:00
  • 5abf7eab6d Add test for railroad_diagrams pass Raphaël AMIARD 2020-11-27 12:20:31 +01:00
  • 564e0813b7 TB24-020: make report_unused_doc an opt pass Raphaël AMIARD 2020-11-25 17:36:49 +01:00
  • ee5cd4ae12 TB24-020: Add type annotations to libmanage.py Raphaël AMIARD 2020-11-25 16:54:56 +01:00
  • 2b2cc81057 TB24-020: fix __call__ signatures of custom argparse Actions Raphaël AMIARD 2020-11-24 15:12:46 +01:00
  • b541f94b59 TB24-020: railroad_diagrams from grammar Raphaël AMIARD 2020-11-10 22:30:43 +01:00
  • f241d430bf TB24-020: make annotate_fields_types an opt pass Raphaël AMIARD 2020-11-24 14:55:24 +01:00
  • c77d3d76d8 TB24-020: add the concept of optional passes Raphaël AMIARD 2020-11-24 14:53:24 +01:00
  • e3ae67ae86 TB24-020: Type ManageScript.context Raphaël AMIARD 2020-11-24 14:47:29 +01:00
  • b1b77d5e94 Fix coverage builds after recent build directories reorganization Pierre-Marie de Rodat 2020-11-19 17:44:09 +01:00
  • 62f817bdc5 langkit.utils: small adjustment to be nice with GDB helpers Pierre-Marie de Rodat 2020-11-12 18:07:50 +01:00
  • c640015a4e .github/workflows/main.yaml: use ada-actions/toolchain@ce2020 Pierre-Marie de Rodat 2020-11-19 18:03:25 +01:00
  • 324ab3e3d8 Fix owership share leak when memoization is cancelled after cache reset Pierre-Marie de Rodat 2020-11-09 17:39:08 +01:00
  • 97d60ddfee manage.py: install static libs first Pierre-Marie de Rodat 2020-11-06 18:27:57 +01:00
  • b3fa157b7a Update README.md after recent repository reorganizations Pierre-Marie de Rodat 2020-11-06 10:06:12 +01:00
  • d8bae3abd3 Rework subcommands handling for manage scripts Pierre-Marie de Rodat 2020-11-04 18:13:13 +01:00
  • 8ea8d0187a SB05-065: extension points for prj file deps Raphaël AMIARD 2020-10-30 12:19:58 +01:00
  • 0de1936079 libmanage.py: make build directory relative to language source directory Pierre-Marie de Rodat 2020-10-21 16:55:05 +02:00
  • 0733104f2d Fix lang_source_dir for testcases Pierre-Marie de Rodat 2020-10-22 10:50:51 +02:00
  • ac60ac4584 libmanage.Directories: remove unused langkit_source_dir method Pierre-Marie de Rodat 2020-10-21 16:51:12 +02:00
  • d1bcfd7aee langkit.lexer.Lexer: harden and improve error message for __getattr__ Pierre-Marie de Rodat 2020-10-28 17:36:14 +01:00
  • fbda62c625 langkit.lexer.Lexer: fix the "signature" property Pierre-Marie de Rodat 2020-10-28 17:39:42 +01:00
  • 2a1bff405c GitHub actions: workaround duplicate installed project issue Pierre-Marie de Rodat 2020-10-21 12:15:31 +02:00
  • 26123eae2b manage.py make: add Langkit_Support to the environment Pierre-Marie de Rodat 2020-10-21 12:32:22 +02:00
  • 99844ec8f2 Remove generation of the HTML astdoc Pierre-Marie de Rodat 2020-10-20 09:55:46 +02:00
  • c69b361ff3 Reorganize build trees for generated libs Pierre-Marie de Rodat 2020-10-20 09:35:35 +02:00
  • 15cc7073c8 langkit/packaging.py: minor typo fix Pierre-Marie de Rodat 2020-10-20 12:26:37 +02:00
  • 024e11243d manage.py: add support for Langkit_Support out-of-tree builds Pierre-Marie de Rodat 2020-10-20 10:46:19 +02:00
  • 71d0b70094 manage.py: add the install-langkit-support command Pierre-Marie de Rodat 2020-10-20 10:41:10 +02:00
  • 4c4f05aaf0 manage.py: add support for --gargs Pierre-Marie de Rodat 2020-10-20 10:27:23 +02:00
  • f760a5f1a2 Reorganize build procedure for Langkit_Support Pierre-Marie de Rodat 2020-10-16 18:09:33 +02:00
  • dbc7eb86fe manage.py: add support for --jobs/-j Pierre-Marie de Rodat 2020-10-19 15:57:33 +02:00
  • e12eea1f54 manage.py: add build mode support Pierre-Marie de Rodat 2020-10-19 10:24:55 +02:00
  • 168efb2e0e manage.py: minor reformattings Pierre-Marie de Rodat 2020-10-19 10:03:46 +02:00
  • 1b5e957d9c Forbid the use of entity info in lazy field initializers Pierre-Marie de Rodat 2020-10-22 12:12:21 +02:00
  • 3e72884ec8 Fix extract_library_location to exclude internal Python stack frames Pierre-Marie de Rodat 2020-10-22 12:00:36 +02:00
  • 2e2e8952d0 stylechecks: stop checking extra spaces before punct. with backquotes Pierre-Marie de Rodat 2020-10-21 11:31:47 +02:00
  • a30685bb7d stylechecks: extend handling of Sphinx inline directives Pierre-Marie de Rodat 2020-10-20 16:28:00 +02:00
  • 528ebb3015 stylechecks: fix internal tests for Python3 Pierre-Marie de Rodat 2020-10-20 16:26:16 +02:00
  • eb01f28b04 gh_wrap_errors.py: make sure all output is processed Pierre-Marie de Rodat 2020-10-20 13:21:55 +02:00
  • 0ce013a499 New script to create a source package for Langkit_Support lts-21 21.2 21.1 21-sustained Pierre-Marie de Rodat 2020-10-19 12:20:55 +02:00
  • 6ae6d9923a Introspection: introduce generic operations on structs Pierre-Marie de Rodat 2020-10-16 14:49:07 +02:00
  • 454c8f4d0d Introspection: remove redundant accessors for Member_Name/_Type Pierre-Marie de Rodat 2020-10-16 13:56:21 +02:00
  • bb4f5f9f1d Introspection: rename Field_Reference to Syntax_Field_Reference Pierre-Marie de Rodat 2020-10-16 11:14:24 +02:00
  • 5d0d4a8ef3 Introspection: rename "Node_Data" to "Member" Pierre-Marie de Rodat 2020-10-16 10:47:45 +02:00
  • 7a991e01ed New script to create a source package for Langkit_Support v21.0.0 21.0 Pierre-Marie de Rodat 2020-10-19 12:20:55 +02:00
  • 45df941275 Replace Travis by GH actions Raphaël AMIARD 2020-10-01 15:23:09 +02:00
  • 76f049e408 properties/new_with_lazy_field: fix to work with Python2 Pierre-Marie de Rodat 2020-10-14 04:37:28 -04:00
  • 50569d3bdd $.Introspection: introduce generic operations on enums Pierre-Marie de Rodat 2020-10-13 10:09:14 +02:00
  • eed2360312 Do not leak ref-counted lazy fields when dealloacting owning nodes Pierre-Marie de Rodat 2020-10-13 11:48:10 +02:00
  • b835fcbbe5 langkit.coverage: add type hints and comments Pierre-Marie de Rodat 2020-09-30 16:03:25 +02:00
  • 49d9e61eef Disable pretty-printing by default Pierre-Marie de Rodat 2020-10-13 10:52:04 +02:00
  • d76cfcb58d Introspection: rename Value_Constraint to Type_Constraint Pierre-Marie de Rodat 2020-10-12 15:31:30 +02:00
  • b525ee115a Use Sphinx syntax to quote references to code entities Pierre-Marie de Rodat 2020-10-12 15:11:16 +02:00
  • ff98393eb5 Introspection: simplify the exception system Pierre-Marie de Rodat 2020-10-12 14:56:45 +02:00
  • 4a15e8ded4 $.Introspection: introduce generic operations on arrays Pierre-Marie de Rodat 2020-10-01 17:04:38 +02:00