0d04ceafbf
build raylib_api without the 'vectex' tyops ( #2749 )
2022-10-11 12:14:01 +02:00
7db6fe02fd
Fixed issue with new output format
2022-08-14 12:56:55 +02:00
d1c53910b7
Update parser outputs for raylib 4.2
2022-08-05 20:01:25 +02:00
5940790379
Update raylib_parser.c
2022-08-05 20:00:58 +02:00
1a35f73d84
Review some warnings
2022-08-02 21:17:19 +02:00
50663f0890
Merge branch 'master' of https://github.com/raysan5/raylib
2022-08-02 21:17:07 +02:00
7c9d55f4d9
Move parser output to output
2022-08-02 21:17:03 +02:00
0739152057
Update README.md
2022-08-02 21:16:46 +02:00
66108c47d9
Update raylib_parser.c
2022-08-02 21:10:35 +02:00
75c8df348f
Update README.md
2022-08-02 21:07:47 +02:00
273c780b67
Update raylib_parser.c
2022-08-02 21:05:31 +02:00
2ce0722fb8
Update README.md
2022-08-02 21:02:11 +02:00
043fa4cba7
Removed extras directory
2022-06-12 21:13:46 +02:00
609d92003b
WARNING: REMOVED raygui from raylib/src/extras
2022-06-06 11:11:39 +02:00
aa318674e8
Add support for calculated defines to parser ( #2463 )
...
* Add support for calculated defines to parser
* Regenerate parser output
2022-05-06 20:23:07 +02:00
bbc8d39185
Add support for truncating parser input ( #2464 )
...
* Add support for truncating parser input
* Remove RLAPI from implementations in rlgl.h
2022-05-06 20:18:39 +02:00
4eb3d8857f
Reorder parser ( #2462 )
...
* Reorder parser output
* Regenerate parser output
* Reorder parser line reading
* Reorder parser data parsing
* Reorder remaining parser stuff
2022-05-04 13:44:55 +02:00
df6caea25d
Parser improvements ( #2461 )
...
* Fix parser function description detection
Some functions in easings.h are defined on a single line and include a
division which was mistaken for the start of the description.
* Fix parser detection of macros including spaces
* Add support for self-referencing structs to parser
* Fix parser code style
* Fix parser handling of multiple fields on one line
* Increase parser MAX_STRUCT_FIELDS
For internal rlglData State struct (internal structs are still not
supported but this makes it less wrong).
* Add description helper to parser
* Regenerate parser output
* Add cakkbacks to parser
* Regenerate parser output
* Refactor funcLines to be an array of line numbers
It used to be an array of pointers into the text buffer but was changed
to be an array of pointers to the lines. Now it is an array of line
numbers like the others.
* Fix code style
* Move array size from name to type
* Regenerate parser output
2022-05-04 11:06:01 +02:00
6f044c57ac
Add aliases to parser ( #2444 )
...
* Fix parser indentation
* Fix parser comments
* Add aliases to parser
* Regenerate parser output
* Fix parser handling of multiple fields on one line
* Regenerate parser output
* Fix parser code style
2022-05-01 12:34:15 +02:00
aa8af23f10
Fix string defines generating invalid XML ( #2426 )
2022-04-05 00:00:41 +02:00
3d812f8d0c
Fix inline enum ( #2393 )
2022-03-17 11:52:13 +01:00
43dbe67431
Update parser ( #2375 )
...
* Add variable len args support
* Api Regen for 4.1dev
2022-03-08 20:00:09 +01:00
c895bed5e6
Added defines to parser ( #2269 )
...
* added defines to parser
* added value and description for defines in parser
* parser: fixed lua defines output, fixed makefile for raygui, added LONG type for defines
* parser defines: remove postfix for LONG/FLOAT, support for hexadecimal consts, convert hex ints to decimal for JSON output
* removed defines from raylib_apis
2022-02-03 14:56:00 +01:00
f7ed804131
Review parameters description size (not used)
2022-01-05 21:35:01 +01:00
2e3cfdcc2f
JSON parser: Use array for function params ( #2255 ) ( #2264 )
...
* JSON parser: Use array for function params (#2255 )
* Parser: follow C convention of type before name
2022-01-04 14:06:10 +01:00
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
51c929ef21
Parse struct descriptions ( #2214 )
...
* Update struct parser to parse from lines buffer
* Parse struct description
* Fix erroneous comment
2021-12-16 16:34:55 +01:00
55d310fcc3
REVIEWED: EscapeBackslashes() in raylib-parser
2021-12-16 14:59:40 +01:00
fffd78e7c8
Parse enum descriptions and value descriptions ( #2208 )
...
* Parse enum descriptions and value descriptions
* Put braces on newline
* Properly escape strings
* Realise that XML doesn't actually need backslash escapes
* Replace FPrintfEscapes with EscapeBackslashes
* Remove #include <stdarg.h>
* Update EscapeBackslashes description
2021-12-16 14:49:17 +01:00
6342cf103a
Fix memory leak in parser ( #2136 )
2021-11-13 18:40:35 +01:00
802a1a1529
added LUA output format for parser; added Makefile for raylib_parser; added raylib_api.lua parser result; added raylib_parser binary to gitignore ( #2129 )
2021-11-11 18:12:30 +01:00
15fffa12a6
Update parser files ( #2125 )
2021-11-10 00:30:21 +01:00
86d3e68d55
Add proper license to raylib-parser
2021-11-02 12:03:42 +01:00
290d68c11e
Update README.md
2021-11-02 12:00:23 +01:00
9882796df0
Rename BRDG typo to BDRF ( #2028 )
2021-10-02 14:07:42 +02:00
cac856119c
Change GetColor to take unsigned int ( #1954 )
2021-08-26 17:31:01 +02:00
6ef3ab3d3a
impoves raylib_parser: makes it generic, adds -d key for functions define (RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file ( #1901 )
2021-07-29 20:37:44 +02:00
8809ae66c6
REVIEWED: Possible memory leak
2021-07-16 16:11:22 +02:00
d875891a3c
Improved raylib parser to export data as XML
...
- Improved command-line
- Added XML support
- Added sample outputs: DEFAULT, JSON, XML
- Reviewed LoadFileText() bug
- Removed trailing spaces
2021-06-13 16:34:51 +02:00
929fa5780d
Add nullptr check before passing arg ( #1825 )
2021-06-13 11:52:24 +02:00
9681a072d0
Fix parsing multiple struct fields defined in one line ( #1813 )
2021-06-06 13:22:42 +02:00
32f3f53718
parser: Add JSON support with --json ( #1812 )
2021-06-06 10:21:56 +02:00
2efb5a36ca
Small parser bugfix ( #1805 )
2021-06-02 20:47:37 +02:00
565319184c
Reviewed struct field name
2021-05-31 12:37:03 +02:00
a178a2170b
Structs tweaks for consistency
2021-05-30 13:34:02 +02:00
3c1c13b660
ADDED: raylib header parser
2021-05-30 11:51:15 +02:00