Commit Graph

1151 Commits

Author SHA1 Message Date
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 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 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
rdb c0d78d57d4 Can we just use streamoff instead of ssize_t? 2013-08-26 15:45:14 +00:00
rdb 461fdfdddc fix compile error on MSVC, where ssize_t doesn't exist (but SSIZE_T does) 2013-08-26 14:38:55 +00:00
rdb 41d851db86 for some reason ppremake needs these files to be here 2013-08-25 17:30:29 +00:00
rdb d58924c280 add OculusVR and ogg/vorbis headers in anticipation of their support 2013-08-25 17:18:02 +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
David Rose 93afeb40f2 By interrogate conventions, char * means a string, while unsigned char * means a data buffer. 2013-08-23 22:26:17 +00:00
rdb 266890c86a Add version of extract_bytes that extracts into character buffer 2013-08-23 15:03:01 +00:00
rdb 90770727c0 Add LONGLONG 2013-08-21 06:44:41 +00:00
enn0x a343eef6b1 Adding minkowski sum shape. 2013-08-14 23:31:42 +00:00
David Rose dba661253a Fix handling of large (>2GB) files on Windows. Egad, off_t is 32 bits on Windows, even in 64-bit Windows. Ridiculous. 2013-08-01 00:10:20 +00:00
enn0x 1e28f892be Support for driving Bullet soft body joints. 2013-05-22 09:50:55 +00:00
David Rose 67770fa3dc whoops, nan() and nanf() require a parameter 2013-05-04 01:10:42 +00:00
David Rose e0238675f3 make_nan() 2013-05-03 18:05:28 +00:00
David Rose c32becb2a1 rename_to() and copy_to() are heavy operations and should be BLOCKING 2013-04-12 03:36:49 +00:00
rdb 40cddd6280 Fixes for Python 3.2 2013-03-27 15:48:24 +00:00
enn0x 6bb5fdc5e0 Support for Bullet v2.81 2013-03-26 09:35:30 +00:00
David Rose 5178fb9523 fix problem with infinite recursion on coercion within constructors 2013-03-25 15:15:08 +00:00
rdb d4d93c5d3f Add PyExc_Exception 2013-03-07 11:04:19 +00:00
rdb e1fda64ad3 add PyObject_RichCompareBool 2013-03-06 18:15:12 +00:00
enn0x 65b698217f Added angular/linear motors for 6DOF constraint. 2013-03-03 22:29:11 +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 c5bc7790ae Add PyLong_AsSsize_t 2013-02-19 22:41:38 +00:00
rdb dc20f793b6 Support Python 2.5 2013-02-19 22:24:40 +00:00
rdb da44b3ae3b oops, disable broken rich compare for now 2013-02-19 19:21:41 +00:00
rdb f3c2b51084 Add PyUnicode_FromStringAndSize 2013-02-19 19:01:43 +00:00
rdb 0f8361d730 Fix compile errors with Python 2 2013-02-18 12:28:52 +00:00
rdb 0925d9265f fix oops 2013-02-18 11:35:20 +00:00
rdb eb6eeb6d02 fix compile error 2013-02-17 22:53:48 +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 441666fb79 Compile with Python 3.3 2013-02-15 07:57:20 +00:00