rdb
|
778b4390f4
|
Temporary fix for Python 3 compilation error
|
2014-09-21 13:37:32 +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
|
8afd8b1f57
|
interrogatedb v2.3: elements can have comments
|
2014-09-19 15:18:08 +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
|
87910799b6
|
Split off epvector.h into its own file in an attempt to cut down compilation time
|
2014-09-14 22:04:36 +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
|
a044561be5
|
*Always* check for exceptions in C++ methods, otherwise we miss important exceptions thrown in Python code called by C++ methods (like SystemExit!)
|
2014-08-26 21:01:12 +00:00 |
rdb
|
e468b293d1
|
Fix a longstanding memory leak in certain interrogate exception handlers.
Raise MemoryError when constructor returns NULL.
Properly check argument count of constructors that take no arguments.
|
2014-08-26 17:17:37 +00:00 |
rdb
|
ab5e4f496b
|
Fix cmath includes on GNU
|
2014-08-21 17:00:57 +00:00 |
rdb
|
4db966f431
|
GNU needs #include <limits> for numeric_limits
|
2014-08-21 16:54:44 +00:00 |
rdb
|
a7f2f50236
|
Move string_utils.* to from putil to dtoolutil
|
2014-08-20 19:33:55 +00:00 |
rdb
|
515f93a0b8
|
Better handling of nan/infinity. Previously, these weren't working on Windows in config strings.
|
2014-08-20 19:32:11 +00:00 |
rdb
|
24d705b031
|
The "null" ButtonHandle and TypeHandle now evaluate to false
|
2014-07-29 11:15:12 +00:00 |
rdb
|
3e974abf5d
|
Fix silly bug with longs
|
2014-07-23 17:41:22 +00:00 |
rdb
|
f02662d4e0
|
Improve interrogate code readability, use METH_STATIC for static methods, support anonymous enums
|
2014-07-22 20:06:59 +00:00 |
rdb
|
e98618b105
|
Only use constexpr when the compiler conforms to C++11
|
2014-07-21 15:41:31 +00:00 |
rdb
|
c257ce624e
|
Interrogate overhaul that dramatically increases performance for the simpler methods
|
2014-07-18 13:54:38 +00:00 |
rdb
|
dba717fe83
|
GCC 4.7 enables constexpr, not 4.6
|
2014-07-17 16:18:04 +00:00 |
rdb
|
1be0fb5169
|
Add atomic adjust impl that uses GCC intrinsics. Also, make use of "constexpr" when available.
|
2014-07-17 13:11:06 +00:00 |
rdb
|
cba254d0bc
|
Add wstring type handle. Also add some useful MAKE_SEQs.
|
2014-06-26 20:06:04 +00:00 |
rdb
|
c33ef307d6
|
Delete MesaGL renderer, it seems not to be used any more
|
2014-06-18 14:59:11 +00:00 |
rdb
|
5dae464394
|
Add integer vectors. Also add __pow__ operator to vectors.
|
2014-06-11 18:01:50 +00:00 |
rdb
|
634190281d
|
Support __pow__ in interrogate
|
2014-06-11 17:17:45 +00:00 |
rdb
|
5b967671fa
|
Fix Python 3 build issue with iterator extensions
|
2014-05-23 13:42:26 +00:00 |
rdb
|
d5d5de1d7e
|
Make iterators work with interrogate by mapping None to NULL for the iternext method. Not the best solution, but is easy and fits most use cases.
|
2014-03-27 15:15:58 +00:00 |
rdb
|
31a192f27b
|
Fix interrogate understanding of PY_VERSION_HEX
|
2014-03-09 11:43:08 +00:00 |
rdb
|
ae4bddd7f7
|
Fix Python 3 compile issue
|
2014-03-09 01:00:23 +00:00 |
rdb
|
c213712600
|
fix windows build when the module is in different dll than the library defs
|
2014-02-20 18:38:35 +00:00 |
rdb
|
5f2c0a6e04
|
Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
* In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
|
2014-02-20 13:33:26 +00:00 |
rdb
|
3070f18c24
|
Add assertion in a case where I've seen an occasional crash
|
2014-02-19 08:38:57 +00:00 |
rdb
|
a10bbe9c9e
|
One more pystub symbol for Python 3 that's used in direct
|
2013-12-23 21:06:20 +00:00 |
rdb
|
4944d7cd7b
|
use compare_to and get_class_type instead of compareTo and getClassType
|
2013-12-18 10:24:00 +00:00 |
rdb
|
708e8dc513
|
Remove HAVE_GETTIMEOFDAY which we aren't using
|
2013-12-17 18:01:54 +00:00 |
rdb
|
f29c4681e1
|
Fix broken Python 3 support.
|
2013-12-17 17:42:16 +00:00 |
rdb
|
634c3c5a0a
|
Stubs for Python 3 functions
|
2013-12-17 15:03:30 +00:00 |
rdb
|
b4714bcdf1
|
no place in the source uses HAVE_GETTIMEOFDAY, and it conflicts with Python, so let's simply not define it
|
2013-12-12 17:20:14 +00:00 |
rdb
|
5b1ea47fee
|
add F_operator flag
|
2013-11-18 18:37:27 +00:00 |
rdb
|
52e4acc0ce
|
fix a crash with the python-obj, python and c interface makers
|
2013-11-08 10:30:27 +00:00 |
rdb
|
c3e862a842
|
Add is_double and is_short
|
2013-11-08 10:25:45 +00:00 |
rdb
|
7926a5fa7b
|
backward compatibility with Python 2.7
|
2013-10-27 18:51:20 +00:00 |
rdb
|
0d656a6848
|
fix typo. thanks to heek_
|
2013-09-19 08:04:15 +00:00 |
rdb
|
b7b9adfd35
|
compile fixes
|
2013-09-18 23:35:15 +00:00 |
rdb
|
d2720d4365
|
fix line endings
|
2013-09-17 15:23:14 +00:00 |
rdb
|
cc3bae7e76
|
Big interrogate cleanup, new extension system, add __iter__ support, add buffer protocol support
|
2013-09-17 10:11:43 +00:00 |
rdb
|
8fff339477
|
A lot of code cleanup
|
2013-09-01 15:05:43 +00:00 |
David Rose
|
0ea9b5e224
|
update ffmpeg libraries
|
2013-08-26 23:09:00 +00:00 |
David Rose
|
a16238932a
|
looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input.
|
2013-08-26 22:44:22 +00:00 |