57 Commits

Author SHA1 Message Date
Sam Edwards
3b667a83ed general: Fix several missing includes. 2015-11-07 20:05:17 -08:00
rdb
d1732a4dca Fix minor preprocessor bugs, particularly parsing files with CRLF 2015-11-08 02:10:38 +01:00
rdb
da17cce447 Fix error and warnings in 32-bit Windows build 2015-11-01 16:57:52 +01:00
rdb
155ae811aa Fix some edge cases for preprocessor, support auto keyword, MSVC compile fix 2015-10-17 02:54:07 +02:00
rdb
6a0c98d54e Work around strange interrogate issues 2015-10-13 15:40:48 +02:00
rdb
b65ad853fe Support C++11/14 features: nullptr, decltype, unicode literals, custom literals, alignof 2015-10-12 23:32:50 +02:00
rdb
ba45120eac Try to stay compatible with Bison 2.5 (for Ubuntu precise), support C++11 and C++17 static_assert, improve error reporting, handle several gcc keyword aliases, fix bug handling preprocessor expression in which the same manifest occurs more than once 2015-10-11 16:52:33 +02:00
rdb
e327c7e978 Vastly improve quality of Interrogate error messages, also fix erroneous location indications
This change also causes Interrogate to safely ignore "register" keywords in function parameters
2015-10-10 15:15:22 +02:00
rdb
62e8106ef1 Interrogate now correctly implements C++11 semantics for closing template parameter lists 2015-10-10 04:08:00 +02:00
rdb
aebce2e74c Merge branch 'release/1.9.x' 2015-10-05 01:23:31 +02:00
rdb
893740478c Fix sporadic interrogate parser issue 2015-10-04 17:20:49 +02:00
rdb
c0ff9d8e5f Merge branch 'release/1.9.x' 2015-08-04 18:00:35 +02:00
rdb
de715b5a0e Fix inability for interrogate to parse /*c*//* and /*c*/// 2015-08-04 17:49:19 +02:00
rdb
9178ed2871 Fix some preprocessor expressions in Interrogate 2015-07-14 21:04:50 +01:00
rdb
48208b0f27 Support #pragma once in interrogate 2015-06-13 13:33:11 +02:00
rdb
38d02fadf9 Fix various interrogate issues with parsing PhysX headers 2015-03-23 19:27:29 +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
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
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
rdb
beb90c565f Add functionality allowing extension functions to interrogate 2011-01-02 15:14:02 +00:00
David Rose
8f96a87460 pstrtod 2009-06-14 16:10:09 +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
bc488bb495 allow (and ignore) args to #endif 2007-08-16 17:19:12 +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
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
David Rose
03c35a63ff CHAR -> CHAR_TOK (avoid conflict with Windows SDK) 2006-04-06 17:51:24 +00:00
David Rose
237d193cac fix malloc issues on Linux 2005-09-30 19:49:25 +00:00
David Rose
01c82da5df interrogate supports wstring 2005-07-13 15:37:56 +00:00
David Rose
77f6853877 fix problem parsing quoted commas in a manifest parameter 2004-12-09 23:21:40 +00:00
David Rose
843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose
68aa6f0e52 interrogate changes to support freetype 2002-02-09 21:55:41 +00:00
David Rose
c781776e41 show include tree with indentation 2001-12-11 02:23:02 +00:00
David Rose
f5bfcc42b9 output filename reading when -v is given 2001-12-11 01:26:02 +00:00
cxgeorge
8f30e44234 fix trim_blanks bug 2001-10-31 00:36:51 +00:00
David Rose
6e6c8c01a6 fix #include on first line 2001-06-05 21:33:29 +00:00