rdb
706f6f7de5
Squelch some of the type conversion warnings in MSVC
2015-10-06 17:05:40 +02:00
rdb
433ed001fa
Using strong CMPXCH seems necessary to avoid crash on ARM
2015-10-04 13:00:25 +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
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
4a88d71ff6
Fix compile issues on Windows with rtdist build
2015-06-04 11:44:29 +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
cc62e731b7
Fix compilation with ppremake
2015-06-01 00:21:32 +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
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
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
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
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
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
028c09add5
Implicit cast string to InternalName in c++, also optimize for string literals
2015-02-07 16:43:25 +01:00
rdb
0a64bdb33b
Fix MouseRecorder & let PandaNode inherit from TypedWritableReferenceCount
2015-01-24 16:12:04 +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
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
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
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
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
31a71c990d
Fix issues with OS X 10.9 compilation, fix issues uncovered by clang
2014-10-12 18:45:37 +00:00
rdb
0a84dd9ca3
Android fixes
2014-10-06 17:44:58 +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
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
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
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
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
4944d7cd7b
use compare_to and get_class_type instead of compareTo and getClassType
2013-12-18 10:24:00 +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
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