Commit Graph

338 Commits

Author SHA1 Message Date
Crypto City
c6bfc7d7ec PackageTool: add an exclude option
One may set a number of glob patterns to exclude from the output
2021-12-05 07:43:34 +00:00
1vanK
7e0bfed578 AS Bindings: ignore "volatile" keyword to avoid difference between doxygen versions 2021-11-16 14:21:35 +03:00
orefkov
2911d26231
Bug fixes and improves in AngelScript using (#2835)
* Fixed a bug when creating script objects - when the factory was executed, the execution nesting level did not increase, and if the constructor of the script object called the execution of the script function, it did not receive a free context for execution.
When compiling a script into bytecode, the initialization of the global variables of the script is no longer called.
Bug fixed - "scriptFile" was not available in the constructors of global script objects.
Improved script api dump generation - added output to the header file "operator XXX", casting to other types, added output of method's arguments name.

* Restore copyright.

* Change tabs to spaces. Update generated ScriptAPI.dox and AngelScriptAPI.h
2021-10-07 18:59:31 +03:00
1vanK
2e39a3d80c
AS BindingGenerator: Not register factories for nocount objects (#2834) 2021-10-07 02:35:53 +03:00
1vanK
2bb682d2c2
Rename @fakeref to @nocount (#2833) 2021-10-06 20:25:53 +03:00
1vanK
853dd1e479
AS Bindings: Remove FakeAddRef and FakeReleaseRef (#2832) 2021-10-06 17:57:32 +03:00
orefkov
14a9fed837
Registration in AngelScript of classes marked as @fakeref with the flag "asOBJ_NOCOUNT", without registration empty AddRef and Release. (#2828)
This will optimize the code into AngelScript.
2021-09-30 18:27:32 +03:00
1vanK
817e0d8b6c
Fix documentation generation for Doxygen 1.9.2 | Another workaround for BindingGenerator (#2830) 2021-09-29 22:31:56 +03:00
1vanK
f65ff83d53
BindingGenerator: typos; temporal workaround for doxygen 1.9.1 bug (#2829) 2021-09-29 19:35:50 +03:00
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
1vanK
e140676b72
AS Bindings: Renaming files for consistency (#2801) 2021-04-17 15:53:23 +03:00
1vanK
9f968f3d24
AS Autobinder: remove unused ASClassBinder; Rename ASClassBinderNew to ASClassBinder (#2799) 2021-04-09 15:57:31 +03:00
1vanK
6b23022c6e
AS Autobindings: move fields to templates (#2796)
* AS Autobindings: move fields to templates

* Update Manual_Database.cpp
2021-04-08 13:22:00 +03:00
1vanK
6802a83fcd
AS Binding Generation: Using caching to speed up (#2795) 2021-04-06 15:49:16 +03:00
1vanK
1ff3791c89
AS Autobindings: Split method binding registrations to different functions (#2789) 2021-04-06 01:01:07 +03:00
1vanK
fff115a0c0
AS Bindings: Use templates for default factories glue (#2787) 2021-02-28 01:42:32 +03:00
1vanK
09aa0d5e1e
AS Autobindings: Use template functions for default constructors; rename ClassFunction to Method (#2786) 2021-02-27 13:50:40 +03:00
1vanK
0e05a4cbf7 AS Autobinings: Remove glue for destructors because template glue function is used 2021-02-24 12:10:12 +03:00
1vanK
711053d293
AS Bindings: Allows using generic calling convention on any platform [cache clear] (#2783) 2021-02-23 21:31:21 +03:00
1vanK
84913ce65b AS Autobindings: Partially revert previous commit until problems with generic calling convention are resolved 2021-02-18 13:35:00 +03:00
1vanK
5d2b9537df AS Autobindings: Base for splitting class registrations into separate functions 2021-02-18 11:12:50 +03:00
1vanK
d7a1578ca2 AS Autobindings: Rename class registration function to more readable; Add comment before class registration function to allows do not write file name before every class member 2021-02-17 20:53:29 +03:00
1vanK
62d8bd7776 AS Autobindings: Remove unnecessary spaces from definitions 2021-02-17 11:25:33 +03:00
1vanK
5bc071b7cb AS Autobindings: Change Exception base class (fix building with GCC/MinGW) 2021-02-17 01:14:18 +03:00
1vanK
0e488a902d AS Autobindings: Join converted varibles by separate functions 2021-02-06 09:58:26 +03:00
1vanK
ecb2dda3dd AS Autobindings: Simplify CppVariableToAS() 2021-02-05 14:46:43 +03:00
1vanK
59671b2797 AS Autobindings: Fix wrapper name for operator= Fix wrapping StringVector in function params 2021-02-05 12:14:03 +03:00
1vanK
47aa41e2c1 AS Autobindings: Process Context* in function parameters in standard way 2021-02-05 00:15:03 +03:00
1vanK
3b835a7cd3 AS Autobindings: Replace function param converter and function return type converter by single function 2021-02-04 13:56:45 +03:00
1vanK
3b0c4b6204 AS Autobindings: Use exceptions instead global variable to pass error message through several functions 2021-02-03 10:56:06 +03:00
1vanK
5bce5959b0
AS Bindings: Register long / unsgined long as separate type because it have different width on different systems (#2774) 2021-02-02 12:24:49 +03:00
1vanK
88b44fd835
AS Autobindings: Do not use param indices in glue (#2773) 2021-02-02 10:51:23 +03:00
1vanK
20ab680d36 AS Autobindings: base class for function analyzers 2021-01-19 12:14:49 +03:00
1vanK
fcfc612248 AS Autobindings: Initial splitting of classes to separate functions - Move destructors 2021-01-19 12:14:49 +03:00
1vanK
79dbbe7a49 BindingGenerator: Fix building with MinGW 2021-01-15 06:00:59 +03:00
1vanK
90d7c27c3e
AS Autobindings: Rename GeneratedClasses to GeneratedObjectTypes; sort and rename HighPriority members to DefaultConstructors (#2759) 2021-01-15 05:17:58 +03:00
1vanK
7ce32991ae
AS Autobindings: Sort RegisterObjectType. Initial stage of reorganizing class bindings (#2752) 2021-01-05 00:15:20 +03:00
1vanK
c823a0a419
BindingGenerator: Move template specialization into GlobalFunctionAnalyzer; Improve XmlAnalyzers (#2751) 2020-12-30 17:55:45 +03:00
1vanK
4048798fc5 Remove endline spaces 2020-12-24 16:21:55 +03:00
1vanK
a6dad3f314 BindingGenerator: Typo in the previous commit 2020-12-24 15:39:52 +03:00
1vanK
3b71f28262 AS Autobindings: Sort global variables 2020-12-24 14:23:39 +03:00
1vanK
bd07aee97d
AS Autobindings: Sorting global functions (#2748) 2020-12-24 04:23:00 +03:00
1vanK
88a275bb90
AS Autobindings: refs instead values, improved UsingAnalyzer, typos, style (#2747) 2020-12-22 15:18:01 +03:00
1vanK
0ba217b9a1
AS Autobindings: reorganize doxygen 7732 issue workaround (#2746) 2020-12-21 19:38:42 +03:00
1vanK
e1661eebe0 ASEnumBinder: Remove unnecessary code, use refs in cycles 2020-12-09 21:12:55 +03:00
1vanK
93edc07698
AS Bindings: Alphabetical sorting of enums (#2741) 2020-12-09 16:55:34 +03:00
1vanK
5e4b34cf36
AS Bindings: Move includes to separate file (#2740) 2020-12-08 15:51:59 +03:00
1vanK
2121766557
AS Autobindings: Split Generated_Members_T.cpp to 2 files to workaround lack of memory when building with MinGW64 (#2713) 2020-10-31 13:52:19 +03:00
1vanK
89ca125af9
AS Autobindings: Sorting classes by id to make order compiler independent (#2711) 2020-10-29 17:30:37 +03:00
Yao Wei Tjong 姚伟忠
223fbd4cba
Refactor to start to use lower case name. 2020-10-29 08:22:43 +08:00