rdb
be1eb1d812
More minor linux packaging fixes
2014-12-29 15:16:33 +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
f3094043df
Fix left shift in Python (LP bug #1289475 )
2014-10-19 15:50:54 +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
902bedc314
Fix Python 3 crash on Windows, and fix some Python 3-related compile errors
2014-10-10 13:45:05 +00:00
rdb
24386cdc1e
Use a table to make InternalName::make more efficient for Python interned strings
2014-10-02 18:28:06 +00:00
rdb
778b4390f4
Temporary fix for Python 3 compilation error
2014-09-21 13:37:32 +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
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
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
c257ce624e
Interrogate overhaul that dramatically increases performance for the simpler methods
2014-07-18 13:54:38 +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
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
f29c4681e1
Fix broken Python 3 support.
2013-12-17 17:42:16 +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
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
rdb
abc5c381be
fix interrogate compile error when a function takes a non-const char pointer
2013-08-24 19:26:06 +00:00
rdb
40cddd6280
Fixes for Python 3.2
2013-03-27 15:48:24 +00:00
David Rose
5178fb9523
fix problem with infinite recursion on coercion within constructors
2013-03-25 15:15:08 +00:00
rdb
a9014cf933
reenable tp_richcompare (thanks David)
2013-02-20 10:44:48 +00:00
David Rose
53b472756b
fix rich compare
2013-02-20 00:37:12 +00:00
rdb
da44b3ae3b
oops, disable broken rich compare for now
2013-02-19 19:21:41 +00:00
rdb
0f8361d730
Fix compile errors with Python 2
2013-02-18 12:28:52 +00:00
rdb
192d10b937
Experimental Python 3 support to the C++ code including interrogate. Also adds support for rich comparison in interrogate.
2013-02-16 19:22:26 +00:00
rdb
05aa20ee3f
force pystub to be linked into interrogate and interrogate_module
2012-07-20 10:10:38 +00:00
David Rose
97f805b24a
pystub should be a static library for better portability, especially for dynamic loaders that aren't so awesome.
2012-06-20 21:41:49 +00:00
rdb
608643da5a
another fix for .this -> T_ULONG
2012-03-09 22:26:59 +00:00
rdb
a96c08b5c8
this should fix obj.this on 64-bits architectures
2012-03-09 21:32:47 +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
c0b7ca96b8
perform shell-style filename globbing on Win32 too
2011-11-09 01:35:19 +00:00
David Rose
cebecba2fc
add interrogate -noangles
2011-11-06 18:02:17 +00:00
David Rose
134e9a9e92
dual names for interrogate
2011-10-11 00:45:51 +00:00
David Rose
6bed0cf394
bool should return a bool
2011-09-28 17:42:46 +00:00
David Rose
9d5325e05a
replace gnu_getopt with new Panda-licensed implementation
2011-08-03 23:37:43 +00:00
David Rose
4785161374
squelch some more compiler warnings
2011-06-18 00:16:48 +00:00
rdb
319b8c4cb1
More stuff related to extensions
2011-01-03 08:25:13 +00:00
rdb
beb90c565f
Add functionality allowing extension functions to interrogate
2011-01-02 15:14:02 +00:00