Commit Graph

3937 Commits

Author SHA1 Message Date
Joel Brobecker
81788374d0 .gitreview: set gerrit.defaultbranch to 18-sustained [SB13-044] 2019-11-13 07:33:22 -08:00
Pierre-Marie de Rodat
409fd1a693 build-langkit_support.py: forward build mode to ManageScript.run
TN: R326-060
2018-04-16 17:14:12 +02:00
Vadim Godunko
bf95f3ba4c R305-044 Update .gitreview file for 18.2 branch. 2018-03-09 15:21:53 +01:00
Vadim Godunko
7448f75de9 QA19-070 Update branch name. 2017-10-26 16:01:51 +02:00
Vadim Godunko
2e3ff5ea32 QA03-030 Update default branch. 2017-10-06 15:47:10 +02:00
Raphael Amiard
795c5880d8 Minor: style
no-tn-check

Change-Id: I4e104578c70d7b896d8d782ac79e428bee050e1c
2017-09-18 15:35:22 +02:00
Pierre-Marie de Rodat
93f8b05004 Add testcases for properties default arguments
TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
7e8fba4466 Minor import refactoring
TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
eaba549dbc Accept and validate keyword arguments in property calls
TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
142af98f78 Fix .and_then/.or_else constructors
TN: Q816-013
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
4e3be9fdb9 Add default value in argument specification in properties
The syntax is now accepted and validated, but it is not yet used at call
site nor in code generation.

TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
ebfaad2adf SelfVariable: yield a proper diagnostic when constructing unbound Self
TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
9d4e917cd1 AbstractExpression: arbitrary objects can override the prepare protocol
TN: Q816-014
2017-09-18 14:42:48 +02:00
Pierre-Marie de Rodat
4af7fd3fc8 Fix computation of whether a dynamic var is accepted in a property
Don't go through all arguments: just check the very list of dynamic vars
in this property.

TN: Q816-014
2017-09-15 18:15:59 +02:00
Pierre-Marie de Rodat
b580b8f213 CompileCtx.emit: fix handling for None extensions_dir
TN: Q712-023
2017-09-12 18:06:48 +02:00
Pierre-Marie de Rodat
4c661ddb59 Remove spurious execution bits on sources
TN: Q712-023
2017-09-12 18:06:33 +02:00
Pierre-Marie de Rodat
b0215403a8 ManageScript: add an option not to generate/build Langkit_Support
TN: Q712-023
2017-09-12 16:59:07 +02:00
Pierre-Marie de Rodat
ed103c8d8f Add a script to independently build and install Langkit_Support
TN: Q712-023
2017-09-12 16:54:40 +02:00
Pierre-Marie de Rodat
26fade91a2 ManageScript.setup_environment: add context-less handling
TN: Q712-023
2017-09-12 16:44:55 +02:00
Pierre-Marie de Rodat
ca9f8b9a87 ManageScript: name sub-commands with dashes instead of underscores
TN: Q712-023
2017-09-12 16:42:42 +02:00
Pierre-Marie de Rodat
01f445dc45 Automatically setup a sane default template lookup
TN: Q712-023
2017-09-12 16:41:33 +02:00
Pierre-Marie de Rodat
3c87247523 langkit_support_gpr.mako: minor reformatting
TN: Q712-023
2017-09-12 15:18:38 +02:00
Pierre-Marie de Rodat
e4e4324610 GDB helpers: update env rebindings pretty-printer after un-refcouting
TN: Q814-007
2017-09-07 11:39:45 +02:00
Pierre-Marie de Rodat
2d742f50e8 Langkit_Support.Tree_Traversal_Iterator: minor refactoring
TN: Q814-007
2017-09-07 11:39:45 +02:00
Pierre-Marie de Rodat
c42db8e3a3 Remove the Destroy_Node primitive
... now that everything node kind-specific is done in Reset_Caches. This
also installs AST node caches reset in the destructor of synthetic
nodes. It was missing, which could lead to memory leaks and dangling
pointers.

TN: Q814-007
2017-09-07 11:17:36 +02:00