Commit Graph

1766 Commits

Author SHA1 Message Date
rdb e327c7e978 Vastly improve quality of Interrogate error messages, also fix erroneous location indications
This change also causes Interrogate to safely ignore "register" keywords in function parameters
2015-10-10 15:15:22 +02:00
rdb 62e8106ef1 Interrogate now correctly implements C++11 semantics for closing template parameter lists 2015-10-10 04:08:00 +02:00
rdb 6feef4e230 Interrogate now parses (and ignores) explicit template instantiations 2015-10-09 13:33:05 +02:00
rdb 7738294657 Fix a few more type size issues 2015-10-07 19:10:52 +02:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
rdb bae5c195af Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/dtoolbase/dtoolbase.h
2015-10-07 15:54:02 +02:00
rdb 706f6f7de5 Squelch some of the type conversion warnings in MSVC 2015-10-06 17:05:40 +02:00
rdb 7f3f546cdd Interrogate now parses "volatile" qualifier in instance identifiers correctly 2015-10-05 02:56:40 +02:00
rdb ca37b6b6c0 Fix VC2015 compile errors, allow selecting any WinSDK/MSVC version. All experimental, still. 2015-10-05 02:12:46 +02:00
rdb aebce2e74c Merge branch 'release/1.9.x' 2015-10-05 01:23:31 +02:00
rdb cb7a0e2520 Fix PandaSystem.getCompiler() for clang (it erroneously reported GCC) 2015-10-05 00:45:55 +02:00
rdb 893740478c Fix sporadic interrogate parser issue 2015-10-04 17:20:49 +02:00
rdb 433ed001fa Using strong CMPXCH seems necessary to avoid crash on ARM 2015-10-04 13:00:25 +02:00
rdb 30a26bc530 Match up interrogate standard typedefs better with gcc/msvc standard typedefs 2015-09-30 16:07:37 +02:00
rdb 036adff924 Merge branch 'release/1.9.x' 2015-09-30 14:07:21 +02:00
rdb a902f1628b Fix Win64 compilation 2015-09-28 13:25:17 +02:00
rdb fcd3bfd15c Fix interrogate issues with long, streampos, streamoff, streamsize and ptrdiff_t 2015-09-28 13:08:38 +02:00
rdb 759dc77ee1 Merge branch 'release/1.9.x' 2015-09-23 11:56:22 +02:00
rdb 49088fb7ce Fix some issues with new VFS open() implementation 2015-09-21 17:46:50 +02:00
rdb 1d9aff0c48 Fix wrapper for operator bool of TypeHandle 2015-09-19 14:50:59 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb 5736e7a4b0 Fix crash when passing None to Filename constructor 2015-09-18 21:19:09 +02:00
rdb 57e5c8fb25 Wrap TypeHandle and ButtonHandle as ints in C wrappers 2015-09-10 15:29:31 +02:00
rdb d3487eba6b Set visibility attributes on all exported bindings 2015-09-07 23:31:15 +02:00
rdb 3cd15c3d48 Merge branch 'release/1.9.x' 2015-08-31 15:59:06 +02:00
rdb 56b94eb815 Don't raise exception in tp_traverse, instead silently passing case where object is already destructed 2015-08-28 16:28:03 +02:00
rdb d68bbae5b4 Don't add "(not used)" to config decls when writing them, it makes it harder to write out a config.prc file 2015-08-26 14:57:30 +02:00
rdb c0ff9d8e5f Merge branch 'release/1.9.x' 2015-08-04 18:00:35 +02:00
rdb de715b5a0e Fix inability for interrogate to parse /*c*//* and /*c*/// 2015-08-04 17:49:19 +02:00
Ed Swartz 0ee972a822 pallocator should use panda allocators even when DO_MEMORY_USAGE is not defined - fixes 32-bit Linux crash in runtime builds 2015-07-30 21:54:13 +02:00
rdb 64144955a0 Fix for typedefs to external types in interrogate 2015-07-29 10:45:55 +02:00
rdb 1f0b4332e3 Add softspace flag to StreamWriter - fixes print spaces in runtime env 2015-07-27 20:23:47 +02:00
rdb f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb 75019784f4 Changes to inlining so we can use FORCE_INLINING in gcc as well 2015-07-27 15:39:46 +02:00
rdb 9178ed2871 Fix some preprocessor expressions in Interrogate 2015-07-14 21:04:50 +01:00
Sam Edwards 16bfd3750f Add missing includes. 2015-07-12 19:27:13 -07:00
rdb 5913546229 Proper overflow checking for numeric chars 2015-07-08 02:03:24 +02:00
rdb 342b9a8db8 Merge remote-tracking branch 'origin/release/1.9.x' 2015-07-08 02:01:28 +02:00
rdb 828e52578d Allow a long (provided it is not overflowing) where an int is accepted 2015-07-08 01:58:35 +02:00
rdb 1088cdedc8 Fix mac and static build issues 2015-07-06 23:31:14 +02:00
rdb cbcb2416d7 Merge branch 'release/1.9.x' 2015-07-06 10:32:30 +02:00
rdb 69b8d6a4b5 Fix memory leak in tuple-returning getters 2015-07-06 10:31:33 +02:00
rdb 7026854cc2 Fixes to get the C binding generator to work 2015-07-05 16:07:08 +02:00
rdb dd17fd864b Properly separate dtoolconfig and interrogatedb 2015-06-30 16:16:35 +02:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb 236b0c590c Use explicit symbol visibility control in GCC/clang 2015-06-22 21:01:34 +02:00
rdb 269b4eac27 Fix METH_NOARGS calling convention violations in interrogate, and special support for LINK_ALL_STATIC in interrogated code 2015-06-21 17:53:37 +02:00
rdb 7a836cbbd9 Merge branch 'release/1.9.x' 2015-06-21 17:46:34 +02:00
rdb a7d56f0e65 Fix compilation error when compiling Python without threads 2015-06-21 17:41:28 +02:00
rdb 8ecf6a7b9f Fix getattr() and hasattr() of vector classes when invalid attribute name is used 2015-06-21 15:33:42 +02:00
rdb 2515ea5dff Merge branch 'release/1.9.x' 2015-06-13 13:37:33 +02:00
rdb 48208b0f27 Support #pragma once in interrogate 2015-06-13 13:33:11 +02:00
rdb 11ed8a4d8d Use dynamic type lookup for interrogate to eliminate inter-module dependencies
It is now no longer necessary to link to core.pyd
Also includes a slight coercion optimization for trivial types
2015-06-06 19:36:40 +02:00
rdb 4d46172fba Revert non-Windows template export changes from 1.9.x, they're less stable than I thought 2015-06-06 16:55:33 +02:00
rdb 205e731c4a Merge branch 'release/1.9.x' 2015-06-04 12:00:25 +02:00
rdb 4a88d71ff6 Fix compile issues on Windows with rtdist build 2015-06-04 11:44:29 +02:00
rdb a70878c4ef Merge branch 'release/1.9.x' 2015-06-03 20:26:22 +02:00
rdb f42c6645d5 Update prebuilt bison files for people who build without bison 2015-06-03 19:54:01 +02:00
rdb f69354d9fa Explicit template instantiation on gcc/clang, implement cfsworks' suggestion of moving compiler-specific stuff out of pandasymbols.h et al 2015-06-03 13:36:04 +02:00
rdb 141c7a9c35 Improve build performance on Windows slightly 2015-06-02 21:02:35 +02:00
rdb 75978222a1 Merge branch 'release/1.9.x' 2015-06-02 00:31:24 +02:00
rdb cc62e731b7 Fix compilation with ppremake 2015-06-01 00:21:32 +02:00
rdb e2dfc935a1 Various refactoring, esp. of GLSL input system 2015-05-21 14:16:45 +02:00
tobspr ac779d46d7 Fix typos in interrogate 2015-05-18 18:12:09 +02:00
rdb 5f875239f2 Merge branch 'release/1.9.x' 2015-05-02 22:17:29 +02:00
Sam Edwards 88bb4102b2 dtoolbase: Rename pdtoa.c -> pdtoa.cxx.
It's actually a C++ file (contains C++-only constructs) and should have the proper file extension so it compiles with the appropriate language.
2015-05-02 22:14:17 +02:00
rdb ab1c516ebc Merge various fixes from branch 'release/1.9.x'
Conflicts:
	panda/src/gobj/texture.cxx
2015-04-16 17:11:20 +02:00
rdb 52288e299b Fix interrogate regression that broke multiview support 2015-04-16 16:57:46 +02:00
rdb d7552f0d8a Merge in bugfixes from branch 'release/1.9.x' 2015-04-14 15:50:53 +02:00
rdb d430e611bb size_t params of methods in template classes did not support 64-bit values on 64-bit systems 2015-04-14 15:47:35 +02:00
rdb 3b17e8fff1 Fix issue tracking memory allocations of more than 2GB at a time on 64-bit systems 2015-04-14 15:44:11 +02:00
rdb 8e76328b3b Fix Bullet support (Broken float division in default args in interrogate) 2015-04-09 13:08:17 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb 41184b1189 Optimizations to improve start-up time (esp. in JavaScript) 2015-04-04 19:05:54 +02:00
rdb 44346769b4 Fix pstrtod bug with exponents 2015-04-04 16:00:19 +02:00
rdb 426fdf0842 Fix issue where overloads with invalid default arg types weren't exported at all 2015-03-31 22:34:28 +02:00
rdb 346d04a256 Work around buggy list::remove in libc++ 2015-03-31 13:55:32 +02:00
rdb af0d853eef Disable i386 atomics impl on Mac OS X until we find out why it won't compile 2015-03-31 13:54:38 +02:00
rdb ff58db25ac Fix inheritance of hash functions, restore compare_to(), slot get_hash/get_key 2015-03-28 21:55:55 +01:00
rdb eaedfa68dc Fix regression: methods returning const char pointer were ignored. 2015-03-28 20:51:45 +01:00
rdb 53d10aa3a3 Fix sticky exception when passing over overloads with single string arg. 2015-03-28 20:51:08 +01:00
Sam Edwards 64120cd7d8 general: Add missing includes and forward-declarations. 2015-03-28 19:27:48 +01:00
rdb 477aa4bdfe Fix various Windows build issues 2015-03-27 23:17:35 +01:00
rdb f624cdcac0 Fix various Mac OS X bugs and build issues 2015-03-25 19:43:21 +01:00
rdb c9f8ccf901 Fix interrogate bug with detecting parameter coercion possibility 2015-03-25 19:37:00 +01:00
rdb 3371df8403 Fix tp_compare, better __repr__/__str__ handling 2015-03-25 19:36:35 +01:00
rdb 38d02fadf9 Fix various interrogate issues with parsing PhysX headers 2015-03-23 19:27:29 +01:00
rdb de0b0dd879 Fix various issues with Python 3 support, fix samples to work with Python 3 2015-03-23 00:32:47 +01:00
rdb b63d5fbe8c Support cyclic garbage collection through PythonTask objects 2015-03-15 12:24:06 +01:00
rdb e608fa69c7 Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
2015-03-14 16:47:31 +01:00
rdb 68cf8cf44f Fix various issues with API documentation generator 2015-03-13 18:40:26 +01:00
rdb 04d4309b14 SSE2-enhanced sRGB encode (with runtime CPU detection) 2015-03-01 11:46:52 +01:00
rdb da3f642902 Various interrogate improvements 2015-02-27 15:01:42 +01:00
rdb 238cbad2a1 Merge branch 'master' into interrogate-overhaul 2015-02-27 12:48:33 +01:00
rdb db87bc7914 PointerToArray fixes, Windows build fixes, more move constructors 2015-02-27 12:45:11 +01:00
deflected 2dd1b5e3b3 dtool: Fixed building under FreeBSD
There is missing define in dtoolutil which
	prevent building of dtool under FreeBSD.

Signed-off-by: deflected <deflected@github>
2015-02-20 11:58:28 +02:00
rdb e29efdd0c9 Don't use swap() as fallback for std::move(), it's more picky 2015-02-15 20:26:23 +01:00
rdb 9513046e59 Various substantial changes to Interrogate:
* Allow arbitrary selection of optional keyword arguments in some cases
* Reduce code bloat of generated bindings
* Work around awkward resolution of set_shader_input overloads
* Document the code a bit better
* Make coercion a bit cleaner for reference counted types
* A few optimization tweaks
* Use generic errors in NDEBUG build to reduce size of string pool
2015-02-15 13:48:13 +01:00
rdb 4dc4c9eb3d Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/interrogate/functionRemap.cxx
	dtool/src/interrogate/interfaceMakerPythonNative.cxx
	panda/src/event/pythonTask.cxx
	panda/src/express/multifile.h
	panda/src/express/pointerToArray.I
	panda/src/mathutil/config_mathutil.N
	panda/src/putil/config_util.N
	panda/src/putil/doubleBitMask.h
2015-02-11 14:41:58 +01:00
rdb a6eb3fa442 Make NodePathCollection and TextureCollection constructors extensions 2015-02-11 14:14:03 +01:00
rdb cbd70ad8af Move all Python bindings out of core DLLs into the .pyd files. 2015-02-10 14:30:51 +01:00
rdb 4f27ed600f Attempt to work around glibc bug when using clang with -ffast-math 2015-02-09 22:15:41 +01:00
rdb bd7d86ba9e We use /fp:fast on Windows, let's be consistent and use -ffast-math on other platforms in release builds 2015-02-09 20:39:16 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb bd86907181 Fix assortment of compilation issues and annoyances 2015-02-08 23:25:11 +01:00
rdb b2f73d0877 Merge branch 'master' into interrogate-overhaul 2015-02-08 12:11:19 +01:00
rdb 01cd4fcbd5 Fix compile error on clang when C++11 support is disabled 2015-02-07 18:15:56 +01:00
rdb 33249c5f43 Make pregenerated bison files up-to-date (for people without bison) 2015-02-07 17:40:31 +01:00
rdb 028c09add5 Implicit cast string to InternalName in c++, also optimize for string literals 2015-02-07 16:43:25 +01:00
rdb eaabc1bfa5 Add ConfigVariableColor 2015-02-05 13:34:52 +01:00
rdb 0a64bdb33b Fix MouseRecorder & let PandaNode inherit from TypedWritableReferenceCount 2015-01-24 16:12:04 +01:00
rdb 3423a09f4f Merge branch 'master' of github.com:panda3d/panda3d 2015-01-21 22:12:53 +01:00
rdb f68e8cdee4 More reliable and hopefully less crashy way of determining libp3dtool location 2015-01-21 20:32:48 +01:00
rdb 98cbf5c309 Remove unnecessary field 2015-01-19 00:08:39 +01:00
rdb b5a49efc2e Merge branch 'master' into interrogate-overhaul 2015-01-07 19:34:15 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb ecf627b315 Fix a bug substituting some enums
(Still a bug: some enums in templated classes don't get instanced properly)
2015-01-05 17:04:38 +01:00
rdb 5e905d4463 Fix various parser bugs, improve error reporting
(to show the included file chain -vv is now needed)
2015-01-04 20:30:24 +01:00
rdb 34761a0b9b Merge branch 'master' into interrogate-overhaul
Conflicts:
	dtool/src/cppparser/cppBison.yxx
2015-01-03 16:52:44 +01:00
rdb e8905b840c Use C++11 move semantics to dramatically improve PointerTo performance 2015-01-02 15:25:58 +01:00
rdb 368e1ca644 Support noexcept and rvalue references in C++ parser 2015-01-02 14:57:33 +01:00
rdb 202008c470 Support digraphs and alternate operator names in CPPParser 2015-01-02 14:55:06 +01:00
rdb 6db5d0dc11 Huge cppparser and interrogate overhaul, bringing:
* Better support for typedefs
* Same code should compile for both 32-bit and 64-bit
* C++11 typed enum support
* Synthesize __setitem__ when operator [] returns reference
* Rewrite coerce system to have better performance
* Change semantics of __getattr__ and __setattr__ to match
  Python's, add __getattribute__, __delattr__ and __delitem__
* Improve performance of slot functions a bit more
* Reduce memory overhead of type system
* Some support for wrapping arrays of numeric types
* C++11 character type support in cppparser
* Chars are handled as strings of length 1
* Template functions for CreatePyInstance that use runtime type map
* More functions from dtool as extension functions
* Code cleanup
2014-12-30 16:43:52 +01:00
rdb be1eb1d812 More minor linux packaging fixes 2014-12-29 15:16:33 +01:00
rdb f189290dfe Support for automated build bot scripts, add PandaSystem::get_git_commit() 2014-12-22 20:27:37 +01:00
rdb 5aaaf72851 Fix issue with Eigen when matrix determinant is nearly 0
also fix error message for singular matrix
2014-12-10 16:32:04 +01:00
rdb b3fd8b94ad Interrogate should be able to parse any constexpr as enum value, including one that references a different enum value 2014-12-03 21:51:58 +01:00
rdb 4c10c9ec1f Oops, fix GCC 2014-11-26 21:14:35 +00:00
rdb 861234c349 Bunch of minor compile fixes and changes 2014-11-26 13:33:10 +00:00
rdb 3490be94b7 Fix deadlock issues with type registry 2014-11-21 16:51:36 +00:00
rdb c3bf91d608 GCC atomics also work in clang 3.0+ 2014-10-21 20:49:58 +00: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 3ed7ae0bd9 Oops; fix memory leak 2014-10-10 13:54:53 +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 fbc3564bf9 More work on Android port 2014-10-08 15:09:25 +00:00
rdb 0a84dd9ca3 Android fixes 2014-10-06 17:44:58 +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 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 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 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
rdb c26c0e6a97 Android support, part 1 2013-01-24 17:54:56 +00:00
rdb 56f7c3edf2 fix for Android compile 2013-01-07 12:45:59 +00:00
David Rose 474e26e951 fix set_case_sensitive() and match_files() 2012-11-16 02:22:20 +00:00
rdb 21c922c7cd Some fixes for ppremake+bullet 2012-10-25 22:03:04 +00:00
rdb 0d7773d30a Fix typo 2012-10-19 13:06:01 +00:00
David Rose 0b585cff0b add get_systems() 2012-10-03 21:58:48 +00:00
David Rose 88ef2618eb use win_amd64 instead of win64, and win_i386 instead of win32 2012-10-02 00:00:50 +00:00
David Rose c88c480b6f expose more "environment" variables on Windows 2012-09-17 19:29:06 +00:00
David Rose 9daf081364 p3d supports win64 2012-08-13 23:13:23 +00:00
rdb 05aa20ee3f force pystub to be linked into interrogate and interrogate_module 2012-07-20 10:10:38 +00:00
David Rose bf03940bcb opencv 2.3 2012-07-08 20:04:33 +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
enn0x ad54aff016 Exposed CCD for PhysX. 2012-04-30 22:45:12 +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
enn0x 4546fb9e77 (Perhaps) fixing BulletContact crashes on Linux 2012-02-27 22:46:42 +00:00
enn0x 1d5b7d4c55 Exposing btWheelInfo::RaycastInfo. 2012-02-17 21:37:05 +00:00
David Rose 646f12f625 squelch backtrace on SystemExit 2012-02-16 00:19:09 +00:00
David Rose 4820b4a2db fix more static-init ordering issues caused by new alignment code 2012-02-12 19:55:52 +00:00
rdb d290a193ad Fix static init ordering issue with the runtime build 2012-02-10 09:19:12 +00:00
David Rose 876956defb ConfigVariableFilename::get_value() should return a concrete, not a reference 2012-02-06 23:18:49 +00:00
David Rose e893b91a17 unify mayapath.cxx and mayaWrapper.cxx 2012-02-02 17:45:48 +00:00
rdb 11189c99b7 Add libRocket compilation instructions to Config.prc. Will commit actual Rocket integration soon 2012-01-06 12:28:31 +00:00
enn0x e68cb77e4a Added wrapper for btMultiSphereShape. 2012-01-05 13:07:38 +00:00
David Rose f666607adc expose match_files() to python usefully 2011-12-29 18:05:12 +00:00
David Rose a06fd5521f found a reason to use dlmalloc if 16-byte alignment is required 2011-12-22 22:44:31 +00:00
David Rose f6a32897ba build correctly without DO_MEMORY_USAGE 2011-12-21 02:31:37 +00:00
David Rose 9326f5be54 compiler warnings 2011-12-21 01:39:47 +00:00
David Rose 6e5dd2cc63 fix memory crashes on win32/Eigen build 2011-12-21 01:25:38 +00:00
David Rose e04c446b1c add eigen to makepanda 2011-12-19 17:36:40 +00:00
David Rose 1cf7a1fd79 define epvector 2011-12-19 15:14:29 +00:00
David Rose 66a52cb6a3 fix MemoryHook internal memory alignment issues 2011-12-18 19:20:18 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose 787742c93e LINMATH_VECTORIZE -> LINMATH_ALIGN 2011-12-18 02:00:31 +00:00
David Rose 56fb33bf00 enforce alignment policies even when malloc() doesn't. 2011-12-18 01:55:22 +00:00
David Rose 702045608d report allocation attempt when out of memory 2011-12-17 01:57:05 +00:00
David Rose 33b9a1e1cf integrate Eigen 2011-12-16 14:17:48 +00:00
David Rose f9658303e7 ah, *this* is the proper fix to recent interrogate bug. 2011-12-09 05:56:27 +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 483928ff8b pystub must trail the link line 2011-12-04 03:50:19 +00:00
David Rose 9294ea77f7 interrogate supports wchar_t * and L"foo" 2011-11-29 23:25:23 +00:00
enn0x 1a8eb0710b Forgot to commit this a week ago... 2011-11-28 14:55:36 +00:00
rdb 0703e32d6f add some stdint definitions 2011-11-25 09:46:23 +00:00
David Rose a9fc6e59ae fix windows globbing to support embedded quote marks 2011-11-21 21:13:30 +00:00
David Rose 82a33fad3e huh, InterlockedAdd only exists on win64, weird. 2011-11-18 22:33:34 +00:00
David Rose dca824b5de hey, this time I really found the ffmpeg crash. 2011-11-18 19:40:40 +00:00
David Rose 99c0a4ec50 posix build errors 2011-11-17 23:34:12 +00:00
David Rose 539b61571c guarantee word alignment for AtomicAdjust stuff 2011-11-17 23:31:31 +00:00
David Rose 19ff5a0d7f oops, this causes problems with buildbot, fix later 2011-11-11 23:33:09 +00:00
David Rose c0b7ca96b8 perform shell-style filename globbing on Win32 too 2011-11-09 01:35:19 +00:00
David Rose 370a9886b7 stringstream_hack 2011-11-07 20:15:57 +00:00
David Rose cebecba2fc add interrogate -noangles 2011-11-06 18:02:17 +00:00
David Rose 003aa9e3dd PNMImage::gamma_correct() 2011-11-05 01:37:36 +00:00
David Rose 633e697d54 allow typename keyword in lieu of class, in template declarations 2011-11-04 16:58:39 +00:00
David Rose 165fa85a4e add stdfloat-double 2011-11-02 20:50:25 +00:00
David Rose 17cc1bd0a3 fix 64-bit problem with memory tracking 2011-11-01 17:18:55 +00:00
David Rose c16875f104 use Posix longs 2011-10-31 22:50:28 +00:00
David Rose eacd4cfefb missing include 2011-10-11 01:37:25 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose d156c4a1d5 publish more prc stuff 2011-09-30 23:57:34 +00:00
David Rose c7adc6246f build on msvs2010 2011-09-28 23:56:59 +00:00
David Rose 6bed0cf394 bool should return a bool 2011-09-28 17:42:46 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
rdb 3414a4ff1c add PyBool_FromLong to pystub, apparently it's needed to compile on FreeBSD 8.2 2011-09-19 17:23:13 +00:00
David Rose 57b42fbfe1 clean up some read-write operations 2011-09-16 23:10:27 +00:00
David Rose e986614cfc writable vfs 2011-09-16 20:13:08 +00:00
David Rose c6296add0b fix python crash at loader.load_sync() 2011-09-09 17:16:40 +00:00
David Rose 0c2ab823d3 robustify low-level Python accessors 2011-09-07 16:03:01 +00:00
David Rose 59ec701a26 build once more with the Tau profiler 2011-09-06 17:29:30 +00:00
David Rose 6b3cc48bb6 fix static init crash 2011-09-01 22:33:08 +00:00
David Rose 42764ffee5 add ConfigPage.setSort() 2011-09-01 22:12:00 +00:00
David Rose 4496febc73 seems we should default to utf-8 these days 2011-08-30 15:57:11 +00:00
David Rose 1acf84fcfe build errors 2011-08-30 05:09:49 +00:00
David Rose 2c7f1498b3 typo 2011-08-29 18:57:29 +00:00
David Rose 7667709357 support windows unicode filenames 2011-08-29 18:56:32 +00:00
David Rose a5dbe8ad61 need expcl 2011-08-29 16:35:01 +00:00
David Rose 6ecf2fed29 preparing for unicode filenames 2011-08-29 04:33:00 +00:00
David Rose 9d5325e05a replace gnu_getopt with new Panda-licensed implementation 2011-08-03 23:37:43 +00:00
David Rose 5fd6d60f40 add Filename::is_binary_or_text() 2011-07-27 18:07:57 +00:00
rdb 6c79733735 fix for ffmpeg 2011-07-01 17:47:03 +00:00
rdb dc628bacbc update this avio, too 2011-06-30 11:16:46 +00:00
David Rose 0cf03bc158 untabify 2011-06-29 22:09:10 +00:00
David Rose b00edc02d4 need another symbol 2011-06-29 20:32:58 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
enn0x 10a64db343 Adding bullet physics. 2011-05-14 07:00:02 +00:00
rdb 8f41f7ac7a include stdint.h from avio.h 2011-04-16 20:25:17 +00:00
rdb 43f0305538 lets not use the system stdint.h in case it has different definitions than we use in our parser-inc implementation 2011-04-15 19:11:08 +00:00
David Rose d715a331e3 "long int" isn't necessarily 64 bits on a 64-bit architecture, but "long long int" usually is. 2011-04-03 21:07:32 +00:00
rdb c7bf95c53a include dlfcn.h on FreeBSD for dlopen 2011-03-02 20:35:09 +00:00
rdb 20f97e47d5 protect code in docstring from doxygen formatting 2011-02-25 12:31:11 +00:00
rdb 71ddd9de3b Add missing PyList_Type 2011-01-23 19:33:42 +00:00
rdb 319b8c4cb1 More stuff related to extensions 2011-01-03 08:25:13 +00:00
rdb c740c43f4c Update prebuilt bison files 2011-01-02 15:17:22 +00:00
rdb beb90c565f Add functionality allowing extension functions to interrogate 2011-01-02 15:14:02 +00:00
rdb b18fd7d192 Add missing symbols to pystub hopefully to stop the buildbots' error diarrhoea 2010-12-24 19:57:26 +00:00
rdb 124942a13b Finally fix those darn Maya crashes 2010-12-19 07:56:41 +00:00
rdb 304dd37afa Don't return if /proc couldn't be read 2010-11-26 21:55:57 +00:00
rdb 6fab399549 Much better FreeBSD support, bugfix for Linux, and restructuring of the code 2010-11-26 21:36:00 +00:00
rdb 8371786fb9 commit suggestion from forum user catshow 2010-11-24 15:46:16 +00:00
rdb 804a72b716 Partially apply typo fix patch I found somewhere on the web, by someone named Christoph Korn 2010-11-16 08:58:45 +00:00
rdb 760839789e Let's try and rely less on procfs 2010-11-06 14:22:50 +00:00
rdb 09f6436745 Use realpath() in make_canonical to properly resolve symlinks 2010-10-25 18:32:38 +00:00
David Rose 60769396aa speedtree stuff 2010-10-12 23:56:26 +00:00
David Rose 2f317d8652 cfrac 2010-10-12 23:13:27 +00:00
David Rose a93d8a54c5 missing declarations 2010-10-09 00:16:08 +00:00
David Rose 910e71660e speedtree 2010-10-07 22:55:06 +00:00
David Rose dab54029a4 workaround broken getopt issue 2010-07-14 18:10:11 +00:00
rdb eee9b6f874 Add missing include 2010-07-11 19:19:07 +00:00
Chris Brunner b709455d4e support for PyObject_Compare 2010-06-23 00:35:57 +00:00
rdb 60d81ae7da Fix OSX compilation issue 2010-06-22 07:08:09 +00:00
rdb 4f02be0e67 Oops, heh, made a small mistake there regarding MAP_ANON 2010-06-21 17:38:27 +00:00
rdb 86b3116f6b More portable replacements for getpagesize and MAP_ANON 2010-06-21 17:32:11 +00:00
David Rose d51e49516a allow __py__ functions for python-only optimizations 2010-06-16 21:57:37 +00:00
David Rose d3e9e4c4f5 coreapi version, increment plugin version 2010-06-16 01:18:20 +00:00
David Rose aa76a9f59d support class method versions of MAKE_SEQ 2010-06-13 22:03:46 +00:00
David Rose 0d8b31f9a4 make local_dev a runtime default, not a compiled default 2010-06-11 22:36:54 +00:00
rdb 5cbb505e00 Heh heh... look at that... what was that ampersand doing there? 2010-06-07 11:58:02 +00:00
rdb 87de7c16be Restore this file 2010-05-30 09:54:36 +00:00
David Rose 23208e494c protect against undefined symbol 2010-05-29 18:49:48 +00:00
David Rose edd9d59c0e protect against undefined symbol 2010-05-29 18:47:45 +00:00
David Rose cde8a0bf38 PTHREAD_MUTEX_NORMAL -> PTHREAD_MUTEX_DEFAULT 2010-05-29 16:50:58 +00:00
David Rose bd3201b67d redundant file; this one isn't used 2010-05-25 21:13:29 +00:00
David Rose bb96117de2 interrogate fix for ode::get_id() 2010-05-25 21:12:44 +00:00
rdb c957b42580 Fix compilation issue on Linux (dunno where it came from) 2010-05-25 15:27:15 +00:00
rdb d4263a47aa __STDC_CONSTANT_MACROS fix 2010-05-18 15:37:26 +00:00
rdb c9cb0def53 Move __STDC_LIMIT_MACROS up a bit, to be certain 2010-05-18 14:20:30 +00:00
rdb 2ec0617d32 Define __STDC_CONSTANT_MACROS in case C libraries like ffmpeg don't 2010-05-18 12:57:58 +00:00
David Rose 8c56527a49 avoid recursion crash 2010-05-07 00:06:48 +00:00
David Rose d3d778734d add '^' to const expressions 2010-05-06 22:50:31 +00:00
rdb eed74662e8 Fix Interrogate parser issues on FreeBSD 2010-04-28 07:44:16 +00:00
rdb bd5e89e4a5 Use sysctl on FreeBSD 2010-04-25 13:19:55 +00:00
rdb 35fa12e2a6 A bit of code cleanup 2010-04-09 13:24:02 +00:00
Chris Brunner c91fd55096 adding support for Mac paths 2010-04-07 23:28:46 +00:00
rdb 102b46878e More compatibility with exotic compilers (yes, I actually tried to port Panda to clang) 2010-04-07 16:59:46 +00:00
David Rose b5d27fa62a fix build crash 2010-03-29 20:47:22 +00:00
rdb e841ceb67d Oops, forgot to add this file 2010-03-29 18:11:48 +00:00
rdb 2a6974eec2 stdint/numeric_types stuff, let's follow the standards 2010-03-29 15:38:40 +00:00
David Rose 9be238b149 support panda-package-version and panda-package-host-url for dev convenience 2010-03-19 22:35:46 +00:00
rdb f29d6d3dc7 Do it better, faster 2010-03-14 14:47:52 +00:00
rdb 4c623bf8a2 I overlooked one ABI-compat fix for OSX 2010-03-14 14:34:44 +00:00
rdb d668a53639 More about ABI compatibility:
* Fixed the bug on non-Windows where the incorrect libraries are located
 * OSX dylibs now have compatibility_version and current_version set
2010-03-14 11:48:08 +00:00
David Rose be494155cf scan_directory() for python 2010-03-02 23:16:53 +00:00
David Rose 1a02e76c28 mkdir, rmdir 2010-03-02 22:41:08 +00:00
David Rose 882b544805 fix forcetype for template instantiations 2010-02-28 03:29:03 +00:00
David Rose 541c12bb8a use pstrtod 2010-02-20 14:48:45 +00:00
David Rose 25a303055d possible fix for build break 2010-02-14 18:05:11 +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
gogg d067be47f5 Support for August 2009 DirectX SDK. New DTool configuration macros. Makepanda can now detect Window Framework 6.0A 2010-02-02 02:20:25 +00:00
rdb d4dcd9cb12 Support for the latest version of OpenSSL 2010-01-27 16:00:23 +00:00
enn0x eb1a45529c Add material indices for triangle meshes. 2010-01-16 09:10:52 +00:00
David Rose c45e01c261 deal with unset TERM 2010-01-14 01:49:35 +00:00
David Rose ed32f2264e avoid low-level case-sensitive issues 2009-12-31 19:58:36 +00:00
David Rose 352c901aa1 typo 2009-12-31 18:25:50 +00:00
David Rose 60b1c07c40 add awesomium headers 2009-12-29 23:22:09 +00:00
enn0x 1a7942b40c Merging dev_physx_2009 to HEAD. 2009-12-28 11:33:36 +00:00
David Rose 67760e8577 fix win7/vista i/o performance issues 2009-12-16 22:00:06 +00:00
David Rose 538b8dafdc expose C++ fstream classes 2009-12-15 23:03:18 +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 4acb963caf fix missing include 2009-12-08 20:05:32 +00:00
rdb 160f208469 Fix issues on Linux and OSX with libraries being located incorrectly 2009-12-06 12:59:49 +00:00
David Rose b1b2d08b2d fix threaded build 2009-12-05 07:40:28 +00:00
David Rose 1ef4fd333d found pydtool.cxx; bring it up-to-date 2009-11-25 22:44:50 +00:00
David Rose 79a19901a3 add interrogate_wrapped.cxx 2009-11-25 22:27:09 +00:00
David Rose 2e531a4650 from_os_specific 2009-11-24 00:38:53 +00:00
David Rose 9583a12fc6 osx doesn't need a special codepath 2009-11-23 23:45:33 +00:00
rdb f7009a0602 Fixes some really weird typo's, heh. 2009-11-20 19:28:50 +00:00
David Rose ddd8d012e8 SetErrorMode(0) 2009-11-18 22:30:42 +00:00
Ken Patel 88eea6be3a allow - modifier to append rather than prepend paths within .init definition files 2009-11-18 19:46:23 +00:00
David Rose b55390ce53 add dependency 2009-11-04 19:41:31 +00:00
David Rose 691947449c towards a 64-bit mac build 2009-11-04 15:46:51 +00:00
David Rose 6bb6475cf4 pystub 2009-10-20 23:30:47 +00:00
rdb 6eee4b9ace Replace remaining instances of Disney license with CMU license 2009-10-20 08:16:12 +00:00
David Rose 5008ca2aa8 mo' better plugin versioning 2009-10-14 21:46:37 +00:00
David Rose 78b7437b0d don't special-case UNIVERSAL_BINARIES 2009-10-13 21:55:24 +00:00
David Rose 1d3719ccb7 add tinyxml.h, fix char *NULL return value case 2009-10-13 21:28:18 +00:00
David Rose 3081824ca3 add pyconfig.h 2009-10-12 18:08:47 +00:00
rdb 7e2b38fd4a Forgot to add this one, to resolve interrogate issues 2009-10-12 06:16:27 +00:00
rdb cd3307ccd4 Fix compiler warnings with pyconfig.h 2009-10-10 11:36:31 +00:00
David Rose 49688d89c9 add Python-friendly DSearchPath::find_all_files() 2009-10-10 09:05:35 +00:00
David Rose dcc5447688 plugin version 2009-10-09 23:54:45 +00:00
David Rose 73a14f9398 add x509v3.h 2009-10-09 19:03:00 +00:00
David Rose f4107d22ac add set_nomatch_chars 2009-10-09 18:49:49 +00:00
David Rose fdaca46eb9 AppData -> Local AppData 2009-10-09 01:00:16 +00:00
David Rose 16636129b7 whoops, fix relative filenames 2009-10-08 02:53:22 +00:00
David Rose 062593344a standardize() shouldn't remove leading ./ 2009-10-07 17:24:51 +00:00
David Rose 712797797e trivial rename 2009-10-06 20:58:10 +00:00
Chris Brunner 1386c733d8 adding support for Win7 2009-10-06 04:28:36 +00:00
David Rose 8f5102d889 interrogate fix 2009-09-30 22:35:58 +00:00
rdb 76703b71a8 Add semaphore.h parser-inc file 2009-09-26 13:00:26 +00:00
rdb 1e88d83feb ar.h to Sources.pp 2009-09-24 12:55:21 +00:00
David Rose 33af8bd0a3 windowsism 2009-09-21 21:32:23 +00:00
rdb 366baaa6a7 Fix interrogate issues with ode 2009-09-20 15:45:25 +00:00
David Rose 63960eaaa8 show-dll-error-dialog 2009-09-16 20:40:13 +00:00
David Rose e9b573cb19 show-dll-error-dialog 2009-09-16 20:37:42 +00:00
David Rose aa58854da8 minor typo 2009-09-16 00:51:58 +00:00
David Rose 9a96ac6a23 fix return 2009-09-15 19:02:54 +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 168cc68e65 copy_to() should imply binary form 2009-09-07 02:04:54 +00:00
rdb bdb3d15332 More PHAVE fixes 2009-09-03 18:43:47 +00:00
rdb 45ad239e59 HAVE -> PHAVE 2009-09-03 15:41:24 +00:00
David Rose cfbac6e51a add write() 2009-08-31 06:11:34 +00:00
David Rose 5f0b8a9a6a fix rename_to() on windows 2009-08-26 22:56:56 +00:00
David Rose 7f4481ef2d use underscores instead of dots in platform separators 2009-08-24 19:39:26 +00:00
David Rose c30ae4fc99 forgot HAVE_GETOPT_H 2009-08-21 17:26:26 +00:00
David Rose 494d61083e avoid compiler warnings from HAVE_BLAH_H conflicts by renaming macros 2009-08-21 15:40:05 +00:00
David Rose 5c4dac4493 libp3dtool_d 2009-08-20 23:30:05 +00:00
David Rose d0c99e9288 filename::copy_to() 2009-08-15 18:56:04 +00:00
David Rose fc74ddace3 add TypeHandle::make() 2009-08-15 00:56:34 +00:00
David Rose 9b4f4aa8c6 minor fixes 2009-08-14 22:16:55 +00:00
David Rose 76dabe657c add get_directories 2009-08-14 18:10:26 +00:00
David Rose 3673199208 add get_directories 2009-08-14 18:02:08 +00:00
David Rose da9f3f8a33 get_package_version_string() 2009-08-13 03:25:00 +00:00
David Rose 383a6e512c support tinyxml's (const string *) return types. 2009-08-11 17:24:56 +00:00
David Rose a97723c5c2 whoops, lockf was invalid 2009-08-07 17:56:51 +00:00
David Rose 1db044ca4e add hash(Filename) 2009-08-07 15:27:58 +00:00
rdb edf382de12 Support for ARM and PPC linux 2009-08-07 10:51:55 +00:00
David Rose 9d6ebb4c34 implicitly coerce strings to InternalName pointers if needed 2009-08-06 18:49:41 +00:00
David Rose db12a6b88e publish encryptStream properly 2009-08-06 18:26:57 +00:00
David Rose 0e773c8684 respect __nonzero__ 2009-08-05 21:51:28 +00:00
David Rose 9f9316ff81 add __nonzero__, respect lockf() return value 2009-08-05 21:50:58 +00:00
rdb 4804133efa Add FreeBSD 2009-08-05 08:29:13 +00:00
David Rose 02dbdb91b1 compiler objection 2009-08-03 19:45:23 +00:00
David Rose 9908148679 add dtool_platform 2009-08-03 18:51:54 +00:00
David Rose 41af3c7959 from_os_specific 2009-07-29 23:41:20 +00:00
David Rose ed15b2bec3 build on optimize 1 2009-07-29 23:37:56 +00:00
rdb 9f3b801c22 Whoops 2009-07-24 09:02:35 +00:00
rdb a457d59aae Fix crash with flt2egg 2009-07-24 09:01:20 +00:00
rdb 028b98ab2b Remove entirely pointless assertion check that even causes a compiler bug on FreeBSD. 2009-07-22 18:31:37 +00:00
rdb 197a3bb210 FreeBSD stuff 2009-07-22 07:10:11 +00:00
rdb 961a754ec4 Add support for /proc/curproc for FreeBSD 2009-07-22 05:52:38 +00:00
rdb b614a05a12 Fix compile errors for FreeBSD 2009-07-21 19:07:50 +00:00
rdb 3311799efe Remove $APP abruptly 2009-07-19 18:20:32 +00:00
rdb e545c9193e Forgot PyList_GetItem 2009-07-19 10:06:54 +00:00
rdb 36d663ff98 Better solution for MAIN_DIR: read out sys.argv 2009-07-19 09:52:43 +00:00
rdb f9c921aaff Added an equivalent for /proc/self/maps for OSX users: _dyld_get_image_name 2009-07-16 10:15:53 +00:00
rdb e503e19943 Oops, forgot this 2009-07-06 08:26:40 +00:00
rdb 4a3a691bdb Add libavformat/avio.h 2009-07-06 07:48:13 +00:00
rdb 71518c50e5 More parser-inc files to get latest ffmpeg on win working correctly 2009-07-06 07:09:16 +00:00
rdb 3c2c9340d6 Interrogate doesn't like latest ffmpeg version headers 2009-07-03 12:00:48 +00:00
rdb c9aee0fa5b This commit:
* Enables us to build against the latest version of FFMPEG.
* Fixes the ffmpeg code not to use deprecated stuff anymore.
* Adds support for libswscale. Undef HAVE_SWSCALE in Config.pp if you compiled ffmpeg without.
* Uses sws_scale instead of the now-removed img_convert.
* Fixes a couple of deadlocks in FFMpegTexture.
2009-07-03 08:15:54 +00:00
rdb d5836b1ae3 Fix for some kind of weird weirdness (compiler bug?) 2009-07-01 13:51:11 +00:00
rdb ace7910a44 Support $MAIN_DIR for the poor C++ users 2009-07-01 13:34:29 +00:00
rdb 99df904c89 Add missing PyEval_CallObjectWithKeywords 2009-06-28 12:23:13 +00:00
David Rose e039ec875a better windows temp filenames 2009-06-20 01:24:56 +00:00
David Rose 72f6c6d580 build errors 2009-06-16 01:49:59 +00:00
David Rose ad62e9bb9b static-init ordering issues 2009-06-16 00:06:31 +00:00
David Rose a1df809fd0 TrueMutexImpl 2009-06-16 00:04:13 +00:00
David Rose cbfa38d2b5 simplify ConfigureDecl etc. 2009-06-15 22:25:52 +00:00
David Rose 49dfc46215 handle funny cases for win32 2009-06-14 16:19:56 +00:00
David Rose 8f96a87460 pstrtod 2009-06-14 16:10:09 +00:00
David Rose f5f0c5ad83 typos 2009-06-10 17:47:08 +00:00
David Rose 638e46d489 coercion memory leak fix, part 2 2009-06-10 17:28:49 +00:00
David Rose 70e1e46a61 coercion memory leak fix, part 1 2009-06-10 14:33:44 +00:00
David Rose 23bd4d6ae3 define FileStream::attach() 2009-06-09 20:30:58 +00:00
David Rose 58c13de4ca integrate changes from Schell Games (plus some tab character fixes) 2009-06-01 21:51:15 +00:00
David Rose c5f3c844e1 PyExc_StandardError 2009-04-28 00:44:58 +00:00
David Rose f68fa1909a USE_DELETED_CHAIN, memory alignment 2009-04-24 22:52:23 +00:00
David Rose 926059131b iphone notify-output routing 2009-04-24 22:51:49 +00:00
Gyedo Jeon e54901c125 Added a feature for disabling sticky keys in Windows 2009-04-22 22:43:23 +00:00
David Rose 172171eec4 more iphone work 2009-04-21 00:48:51 +00:00
David Rose 4dc60ab611 static-init-safe filename initializers 2009-04-18 00:51:03 +00:00
David Rose f44857f8ee more static link issues 2009-04-18 00:50:05 +00:00
David Rose 5a74ea30dd better error reporting for static init ordering issues w.r.t config variables 2009-04-17 21:53:39 +00:00
David Rose 0aa266d725 protect in ifdef 2009-04-17 20:23:11 +00:00
David Rose a08b08f8d3 initial iphone stuff, w.i.p. 2009-04-17 18:11:25 +00:00
rdb 7705b7d7bf Add missing artools.h to Sources.pp 2009-04-08 15:12:58 +00:00
David Rose 71fec58722 fix bug with inherited virtual methods 2009-04-01 18:45:01 +00:00
rdb fa6c41f363 Changes for windows 2009-03-21 14:49:10 +00:00
David Rose 2982ca3187 python 2.4 2009-02-19 00:38:44 +00:00
David Rose 83155fc832 support python 2.4 2009-02-19 00:25:54 +00:00
David Rose 9b952e3922 a few more warning squelches 2009-02-18 23:59:31 +00:00
David Rose 221862b432 squelch compiler warnings about (char *) 2009-02-18 23:27:04 +00:00
David Rose 11f62e3ee5 enable new license 2009-02-18 23:26:45 +00:00
David Rose e4d6159667 PyErr_WarnEx 2009-02-17 19:20:53 +00:00
David Rose b99f699862 output signature too 2009-02-17 18:55:38 +00:00
David Rose 0ec1467ea9 warnings 2009-02-15 01:44:54 +00:00
David Rose fec518af71 publish find_type_by_id 2009-02-02 23:23:30 +00:00
David Rose 3820660b95 add missing unload_dso() for mac 2009-01-31 20:29:51 +00:00
David Rose 811c45a786 get_dso_symbol 2009-01-31 03:04:36 +00:00
David Rose 0bc22b6034 prebuild-bison 2009-01-20 20:02:50 +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