Commit Graph

367 Commits

Author SHA1 Message Date
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
David Rose d51e49516a allow __py__ functions for python-only optimizations 2010-06-16 21:57:37 +00:00
David Rose aa76a9f59d support class method versions of MAKE_SEQ 2010-06-13 22:03:46 +00:00
David Rose bb96117de2 interrogate fix for ode::get_id() 2010-05-25 21:12:44 +00:00
rdb 35fa12e2a6 A bit of code cleanup 2010-04-09 13:24:02 +00:00
David Rose 882b544805 fix forcetype for template instantiations 2010-02-28 03:29:03 +00:00
David Rose a942ce5fbf lists and strings will be automatically coerced into a PTA_blah 2010-02-11 22:38:34 +00:00
David Rose f6f9e269f4 introduce stdpy.pickle module with support for common-node NodePaths within a pickle stream 2010-02-10 19:43:58 +00:00
David Rose 25241ed6e9 filter out .mm files 2009-12-12 01:56:10 +00:00
David Rose 816ddc0387 low-level support for python copy and pickle modules 2009-12-10 01:09:06 +00:00
David Rose 1d3719ccb7 add tinyxml.h, fix char *NULL return value case 2009-10-13 21:28:18 +00:00
David Rose 8f5102d889 interrogate fix 2009-09-30 22:35:58 +00:00
David Rose 1872104e61 add per-overload comments and make_seq synthetic functions to interrogatedb 2009-09-15 13:36:07 +00:00
David Rose c30ae4fc99 forgot HAVE_GETOPT_H 2009-08-21 17:26:26 +00:00
David Rose 383a6e512c support tinyxml's (const string *) return types. 2009-08-11 17:24:56 +00:00
David Rose 1db044ca4e add hash(Filename) 2009-08-07 15:27:58 +00:00
David Rose 0e773c8684 respect __nonzero__ 2009-08-05 21:51:28 +00:00
David Rose 70e1e46a61 coercion memory leak fix, part 1 2009-06-10 14:33:44 +00:00
David Rose f44857f8ee more static link issues 2009-04-18 00:50:05 +00:00
David Rose 71fec58722 fix bug with inherited virtual methods 2009-04-01 18:45:01 +00:00
David Rose 2982ca3187 python 2.4 2009-02-19 00:38:44 +00:00
David Rose 221862b432 squelch compiler warnings about (char *) 2009-02-18 23:27:04 +00:00
David Rose f477db0b19 might as well expose int and float typecasts, too 2009-01-20 19:51:31 +00:00
David Rose a6f4fb2377 operator bool () -> __nonzero__() 2009-01-20 03:17:44 +00:00
David Rose 4cd50fa68d fix performance issues with implicit parameter coercion 2009-01-07 20:05:57 +00:00
David Rose c4b5f64eea fix problem with DisplayRegion scoping 2008-11-17 20:47:40 +00:00
David Rose 1462bee771 better Filename usage 2008-11-11 23:28:14 +00:00
David Rose 587f000ab5 correct prototype for setitem 2008-11-08 16:55:57 +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 9468e4583c further refinements to local_this checking 2008-10-29 19:06:57 +00:00
David Rose f7105a081b raise an exception if 'this' is null 2008-10-29 00:53:27 +00:00
David Rose e81660a741 check PyErr_Occurred() even in ndebug mode 2008-09-27 00:12:08 +00:00
David Rose 524128b9fd wip: starting experimental C-based task manager 2008-09-19 00:58:04 +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 4cd6d03cb5 support explicit default constructors for linmath 2008-03-25 23:53:27 +00:00
Josh Yelon 08dcdade5c load_dso now uses a plugin search path 2008-03-18 22:25:59 +00:00
David Rose ef5b2fe57e squelch warning 2007-09-20 18:22:16 +00:00
David Rose 3804f89682 wchar_t might not be two bytes wide 2007-09-05 18:02:47 +00:00
David Rose 896860c8c2 fix reference-counting on forward-reference return values 2007-07-04 00:33:49 +00:00
Josh Yelon 1e7c8513c3 Interrogate include-path alterations 2007-06-27 23:57:19 +00:00
David Rose 06a36aff63 get runtime info for things that don't inherit from TypedObject 2007-06-22 22:35:57 +00:00
David Rose 8d2bdc39fd first pass at SIMPLE_THREADS 2007-06-21 15:33:27 +00:00
David Rose 137998a5c7 track_in_interpreter 2007-05-09 22:07:48 +00:00
David Rose 346928ece7 support BLOCKING keyword 2007-04-18 21:51:36 +00:00
David Rose 0be53cccf6 interrogate changes: respect const, use Python names in diagnostic messages 2007-02-08 20:15:54 +00:00
David Rose 616de46c25 use as_typed_object() 2006-09-07 17:22:22 +00:00
David Rose 990174f44e class TypedObject is a typed class 2006-09-06 18:44:14 +00:00
David Rose ca19170904 revert accidental checkin 2006-04-11 18:16:51 +00:00
David Rose 9ce524fc89 better windows locking 2006-04-11 18:15:58 +00:00
David Rose 51ede9905f interface -> interface_maker (avoid conflicts with Windows SDK) 2006-04-06 17:55:26 +00:00
Roger Hughston 42b3ba9c82 OSX big Commit ... 2006-03-17 22:55:08 +00:00
David Rose eaf21c7e2b fix unary - in interrogate 2006-01-21 00:49:17 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose 968ad486b8 fix __rsub__ nonsense 2005-12-08 22:40:50 +00:00
Josh Yelon f57fe99b6a Fixes to interrogate -srcdir 2005-09-30 07:19:18 +00:00
Josh Yelon 65e665414d Added srcdir option 2005-09-30 04:14:53 +00:00
Josh Yelon 9729541f63 Added macrocomposites 2005-09-27 22:05:52 +00:00
David Rose 97c877ad3b don't bother to write doc strings for constructors 2005-09-26 18:22:39 +00:00
David Rose f91ee87026 rename ssl -> openssl, cv -> opencv 2005-09-21 23:50:36 +00:00
David Rose 9c24c092dd support python_repr 2005-09-14 00:08:50 +00:00
David Rose 096d7dfa50 better behavior for long comments 2005-09-12 17:18:05 +00:00
David Rose 88a77268b1 string limit 2005-09-12 16:11:00 +00:00
David Rose f2d34a6022 class doc strings 2005-09-10 00:02:12 +00:00
David Rose 59ceb897ed fix leaks, parameter checking in interrogate 2005-09-09 16:26:52 +00:00
David Rose 1f94eb12b4 build on irix 2005-07-13 17:07:25 +00:00
David Rose d5418c8ff4 dos2unix 2005-07-13 16:50:58 +00:00
David Rose b531ece1b4 fix interrogate on Linux 2005-07-13 16:48:56 +00:00
David Rose 01c82da5df interrogate supports wstring 2005-07-13 15:37:56 +00:00
David Rose ac748503b4 dos2unix 2005-07-04 18:35:38 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
Roger Hughston 31bf98f33a windows does not like this.. lets try again .. gcc and cv colisions :( 2005-06-29 22:13:27 +00:00
Roger Hughston a4515f26c9 till trying to get this to work on none consistant compilers.. 2005-06-29 21:57:22 +00:00
Roger Hughston 5e2df78ee8 hanged Comments for better DIR and help 2005-06-23 20:11:44 +00:00
Roger Hughston 069b7cda21 *** empty log message *** 2005-06-14 20:16:26 +00:00
Roger Hughston 05fafea499 dded Named argument support.. And A Support Class
fix to daves outpur/write bug..
2005-06-04 01:19:49 +00:00
Roger Hughston 59537b18d2 *** empty log message *** 2005-06-01 01:18:12 +00:00
Roger Hughston a31108fcb8 *** empty log message *** 2005-05-27 23:40:34 +00:00
Roger Hughston 3d02ef10f5 *** empty log message *** 2005-05-27 19:44:19 +00:00
Roger Hughston cdadcc77d8 *** empty log message *** 2005-05-27 03:15:02 +00:00
Roger Hughston d259278846 *** empty log message *** 2005-05-27 01:35:37 +00:00
Roger Hughston ac19f25620 *** empty log message *** 2005-05-27 01:20:46 +00:00
Dave Schuyler b3fa4b906c python 2.4 stuff 2005-05-27 00:25:19 +00:00
Roger Hughston c11bb894b2 *** empty log message *** 2005-05-25 23:03:56 +00:00
Roger Hughston 7c54d39837 *** empty log message *** 2005-05-25 22:57:40 +00:00
Roger Hughston 98196002ed *** empty log message *** 2005-05-25 20:20:46 +00:00
Roger Hughston a6d9f869dd *** empty log message *** 2005-05-25 20:09:00 +00:00
Roger Hughston b0276d5ddd *** empty log message *** 2005-05-24 18:16:25 +00:00
Roger Hughston feacd638ff *** empty log message *** 2005-05-24 17:46:10 +00:00
Roger Hughston 93ae9f6b1f *** empty log message *** 2005-05-24 17:44:37 +00:00
Roger Hughston f2e3a52f31 *** empty log message *** 2005-05-24 17:42:04 +00:00
Dave Schuyler d8d6ee4593 unsigned integer 2005-05-24 03:42:28 +00:00
Roger Hughston 542b61050e *** empty log message *** 2005-05-24 02:33:10 +00:00
Roger Hughston 63290756fe *** empty log message *** 2005-05-23 21:04:31 +00:00
David Rose 0cc932301d new stuff from CMU 2005-02-08 07:30:50 +00:00
David Rose 8d1d98353b refinements to make-prc-key options, link static 2004-10-26 20:33:50 +00:00
David Rose 9d234b8e0f more config tweaks 2004-10-25 21:00:51 +00:00
David Rose e2a27fabda interrogate should support long long 2004-09-14 22:24:13 +00:00
David Rose b9cb0516aa new genPyCode, INSTALL_PYTHON_SOURCE 2004-06-03 17:26:32 +00:00
David Rose f91058c967 support PyObject * as a pass-through 2004-05-18 23:08:54 +00:00
Dave Schuyler 9693d442cd added PYTHON_FRAMEWORK 2004-04-02 02:41:14 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
Dave Schuyler 36cf062b96 using app includes 2004-02-07 05:33:07 +00:00
David Rose e3b7aa48f9 properly detect need to upcast in single-inheritance cases 2004-01-05 23:40:54 +00:00
Dave Schuyler f24d405030 changed include to use quotes 2003-10-28 05:15:48 +00:00
Dave Schuyler 27f14fc2e3 os x changes. 2003-09-29 21:18:08 +00:00
David Rose 5c45230137 check for getopt.h 2003-08-07 02:01:00 +00:00
David Rose baa5e959a5 allow os-specific filenames on interrogate command line 2003-07-21 16:55:58 +00:00
David Rose 23d9bf4583 properly enquote spam text 2002-12-04 21:08:44 +00:00
David Rose c77fcbe00a resurrect -spam 2002-11-27 21:33:27 +00:00
Joe Shochet bb33020f89 interrogate should look in /usr/include 2002-09-26 21:42:22 +00:00
David Rose 9e9410d1bb put /usr/include on include search path 2002-09-26 21:10:20 +00:00
David Rose 3868e3e94d eliminate DIRECTORY_IF_* and TARGET_IF_* for BUILD_DIRECTORY and BUILD_TARGET 2002-05-29 16:46:58 +00:00
David Rose 756d334463 oops, invalid downcasts 2001-10-03 22:23:14 +00:00
David Rose 4cc5da5af0 robustify further for windows 2001-10-02 23:34:26 +00:00
David Rose 8196afae9f remove dead code 2001-10-02 23:24:19 +00:00
David Rose 3fccb0f373 workaround for windows crash 2001-10-02 22:56:56 +00:00
David Rose 238ad16150 trivial tweak 2001-10-02 22:38:44 +00:00
David Rose 76524dcafa windows fix 2001-10-02 22:34:29 +00:00
David Rose 861c762e7d first wave of new ffi/interrogate 2001-10-02 22:25:32 +00:00
David Rose 61c08e254e allow removing interrogate from the build process 2001-06-11 16:04:44 +00:00
David Rose e4622d5696 add in_interpreter flag 2001-06-07 19:43:18 +00:00
David Rose 2c9a5fdc72 investigation of bugs, but no substantial code changes 2001-06-07 15:27:44 +00:00
cxgeorge 63ce60221a use combined srcs 2001-06-06 20:26:32 +00:00
David Rose 21ff872027 don't report invalid derivations 2001-06-06 15:14:46 +00:00
David Rose a5eff41ecc fix unnamed type bug 2001-06-06 14:17:03 +00:00
David Rose 56f8e165df tabs to spaces 2001-06-05 22:23:04 +00:00
David Rose b560a14680 exclude _src files from being included 2001-06-05 21:33:53 +00:00
David Rose 2f4e207edb Update copyright header 2001-05-25 21:27:38 +00:00
David Rose fcb24f02ef remove tab characters 2001-05-25 15:56:49 +00:00
David Rose 2db37ecbc4 *** empty log message *** 2001-05-11 21:24:21 +00:00
David Rose b01eb83885 *** empty log message *** 2001-04-04 02:12:02 +00:00
David Rose ee8f10684d *** empty log message *** 2001-03-08 21:04:54 +00:00
David Rose 585fd87124 *** empty log message *** 2001-03-01 23:20:22 +00:00
David Rose 59388d00c1 *** empty log message *** 2001-03-01 19:37:35 +00:00
georges 90c0fa5807 fix boolean build warning 2001-02-21 02:02:34 +00:00
David Rose ca920ace89 *** empty log message *** 2001-01-30 00:57:30 +00:00
David Rose 615a0bc06c *** empty log message *** 2000-11-30 03:26:25 +00:00
David Rose 2ede38216f *** empty log message *** 2000-11-21 00:24:31 +00:00
David Rose 6407fb7596 *** empty log message *** 2000-11-19 23:28:58 +00:00
David Rose 440e605a44 *** empty log message *** 2000-11-17 18:50:54 +00:00
David Rose aae856fee7 *** empty log message *** 2000-11-17 04:51:02 +00:00
David Rose 7d38626876 *** empty log message *** 2000-11-17 04:49:21 +00:00
David Rose d9730bb878 *** empty log message *** 2000-10-17 21:45:27 +00:00
David Rose d9f64a7c77 *** empty log message *** 2000-10-07 00:40:03 +00:00
David Rose 182405efbb *** empty log message *** 2000-10-04 18:09:29 +00:00
David Rose 7a78284129 Initial revision 2000-10-04 00:15:23 +00:00