Commit Graph

1913 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 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
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 4b2c64d73f Add libp3vrpn to genpycode list. 2013-08-26 12:18:38 +00:00
rdb 30f1f50e78 Add vorbis package definition in ppremake in anticipation of ogg vorbis support. Also, remove unnecessary HAVE_VORBIS from dtool_config.h. 2013-08-25 17:38:45 +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 03e96d8c4a Uff, this should bring Panda up to date with the latest version of ffmpeg. We now use AVIOContext instead of URLProtocol, avcodec_decode_audio4 instead of 3, and add support for libswresample to resample the input data to 16-bits signed int since some codecs now give float data. If this breaks anyone's build, please, just consider updating your ffmpeg version. 2013-08-22 18:20:10 +00:00
rdb 90770727c0 Add LONGLONG 2013-08-21 06:44:41 +00:00
rdb 2c8dc6ac31 explicitly specify /MANIFEST for MSVC9x64 as well 2013-08-18 19:10:32 +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
rdb cbbe02f879 fix 64-bit bullet lib location on windows 2013-05-14 21:15:08 +00:00
rdb fec189c225 _WIN32 should also be defined on 64-bits Windows 2013-05-06 11:23:26 +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 b1d397a58a regenerate the file to avoid future confusion 2013-04-01 21:50:40 +00:00
enn0x 8deb2f40b1 Name of Python init function should match library filename. 2013-04-01 16:58:58 +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