Sam Edwards
64120cd7d8
general: Add missing includes and forward-declarations.
2015-03-28 19:27:48 +01:00
rdb
38d02fadf9
Fix various interrogate issues with parsing PhysX headers
2015-03-23 19:27:29 +01:00
rdb
9513046e59
Various substantial changes to Interrogate:
...
* Allow arbitrary selection of optional keyword arguments in some cases
* Reduce code bloat of generated bindings
* Work around awkward resolution of set_shader_input overloads
* Document the code a bit better
* Make coercion a bit cleaner for reference counted types
* A few optimization tweaks
* Use generic errors in NDEBUG build to reduce size of string pool
2015-02-15 13:48:13 +01:00
rdb
b2f73d0877
Merge branch 'master' into interrogate-overhaul
2015-02-08 12:11:19 +01:00
rdb
33249c5f43
Make pregenerated bison files up-to-date (for people without bison)
2015-02-07 17:40:31 +01:00
rdb
ecf627b315
Fix a bug substituting some enums
...
(Still a bug: some enums in templated classes don't get instanced properly)
2015-01-05 17:04:38 +01:00
rdb
5e905d4463
Fix various parser bugs, improve error reporting
...
(to show the included file chain -vv is now needed)
2015-01-04 20:30:24 +01:00
rdb
34761a0b9b
Merge branch 'master' into interrogate-overhaul
...
Conflicts:
dtool/src/cppparser/cppBison.yxx
2015-01-03 16:52:44 +01:00
rdb
368e1ca644
Support noexcept and rvalue references in C++ parser
2015-01-02 14:57:33 +01:00
rdb
202008c470
Support digraphs and alternate operator names in CPPParser
2015-01-02 14:55:06 +01:00
rdb
6db5d0dc11
Huge cppparser and interrogate overhaul, bringing:
...
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb
b3fd8b94ad
Interrogate should be able to parse any constexpr as enum value, including one that references a different enum value
2014-12-03 21:51:58 +01:00
rdb
a65b477734
Commit patches by cfsworks:
...
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb
31a71c990d
Fix issues with OS X 10.9 compilation, fix issues uncovered by clang
2014-10-12 18:45:37 +00:00
rdb
db7a6561f2
When finding comment for an enum, don't accidentally pick up a same-line comment of an enum value on the preceding line
2014-09-21 13:22:52 +00:00
rdb
d9c529a5d0
Update prebuild cppBison files
2014-09-20 11:54:04 +00:00
rdb
a6229f1fac
Support for comments in enums. Improve comment handling in C++ parser. Improve doxygen reference. Update interrogate interface. (Addendum to interrogatedb v2.3.)
2014-09-19 23:34:11 +00:00
rdb
c178aba639
Add property support to interrogate (using MAKE_PROPERTY or using published members)
2014-09-19 15:23:52 +00:00
rdb
30d8cc29b3
Rewrite handling of stringify and token-paste operators to work better. Add support for variadic macros.
2014-09-19 15:14:11 +00:00
rdb
5437a3e5a9
Allow const variables with initializers to be used in expressions (like enum definitions). Also fix compiler warning.
2014-09-14 22:02:16 +00:00
rdb
5b1ea47fee
add F_operator flag
2013-11-18 18:37:27 +00:00
David Rose
dfe16c64f6
rename all Panda-built libraries to begin with libp3 or libpanda
2011-12-06 02:39:21 +00:00
David Rose
9294ea77f7
interrogate supports wchar_t * and L"foo"
2011-11-29 23:25:23 +00:00
David Rose
cebecba2fc
add interrogate -noangles
2011-11-06 18:02:17 +00:00
David Rose
633e697d54
allow typename keyword in lieu of class, in template declarations
2011-11-04 16:58:39 +00:00
David Rose
eacd4cfefb
missing include
2011-10-11 01:37:25 +00:00
David Rose
134e9a9e92
dual names for interrogate
2011-10-11 00:45:51 +00:00
rdb
c740c43f4c
Update prebuilt bison files
2011-01-02 15:17:22 +00:00
rdb
beb90c565f
Add functionality allowing extension functions to interrogate
2011-01-02 15:14:02 +00:00
David Rose
d3d778734d
add '^' to const expressions
2010-05-06 22:50:31 +00:00
David Rose
882b544805
fix forcetype for template instantiations
2010-02-28 03:29:03 +00:00
David Rose
8f96a87460
pstrtod
2009-06-14 16:10:09 +00:00
David Rose
0bc22b6034
prebuild-bison
2009-01-20 20:02:50 +00:00
David Rose
a6f4fb2377
operator bool () -> __nonzero__()
2009-01-20 03:17:44 +00:00
David Rose
58e0537e3c
wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion
2008-11-07 21:12:42 +00:00
David Rose
964c76f2e0
pandaFileStream
2008-09-09 00:06:47 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
07e5322800
simple fix to token-pasting problem
2008-05-09 18:48:20 +00:00
David Rose
611a10f796
try again to satisfy compilers
2008-01-17 01:22:57 +00:00
David Rose
651513d595
use reinterpret_cast for 64-bit architecture
2007-09-13 19:25:09 +00:00
David Rose
bc488bb495
allow (and ignore) args to #endif
2007-08-16 17:19:12 +00:00
David Rose
8392266935
BEGIN_PUBLISH .. END_PUBLISH applies to methods too
2007-07-13 21:22:22 +00:00
Josh Yelon
1e7c8513c3
Interrogate include-path alterations
2007-06-27 23:57:19 +00:00
David Rose
ecad9e186e
fix issues with parser-inc and new interrogate search rules
2007-06-22 15:21:44 +00:00
Josh Yelon
7dc0da379b
Corrected include-file search-path
2007-06-21 23:46:25 +00:00
David Rose
a51d4712cf
prebuild-bison
2007-04-21 01:45:13 +00:00
David Rose
346928ece7
support BLOCKING keyword
2007-04-18 21:51:36 +00:00
David Rose
55225290b8
add MemoryBase to fix malloc issues, especially on OSX
2006-11-17 02:13:10 +00:00
David Rose
a3cc24dd6f
dos2unix
2006-09-01 18:52:52 +00:00
Roger Hughston
859fc08886
small memory leak with multiple #defines...
2006-05-12 23:48:02 +00:00