rdb
acb0a41049
ode: fix several unprotected debug() prints
...
This should especially help with trimesh generation performance, which previously formatted a complete description of the trimesh to the debug output even if it was disabled.
2019-08-14 13:11:02 +02:00
rdb
00b5faca2d
ode: add OdeBody.joints property
2019-04-29 01:06:44 +02:00
rdb
ca5b4e7b54
ode: fix OdeJoint.attach with None parameters
...
Fixes #633
2019-04-28 22:29:29 +02:00
Sam Edwards
a9dfd8352e
general: Distinguish local/system includes
...
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>
This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
Sam Edwards
37e265cb63
ode: Delete unused odeHeightFieldGeom.h file
2018-11-10 18:00:07 -07:00
rdb
82459fa21b
ode: remove dependency on Python.h from odeBody.h
2018-11-06 19:26:21 +01:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
rdb
886e1c2f16
general: fix many compilation warnings in GCC 8
2018-06-19 00:37:28 +02:00
Sam Edwards
b2bfb31114
general: Remove `using std::*` from headers
...
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.
Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
e2b4353800
general: Replace NULL (and 0 as pointer) with C++11 nullptr
...
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb
db5dd98d33
general: further warning fixes, use -Wno-unused-variable if NDEBUG
...
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00
Sam Edwards
9dd37e9dbc
general: Add guards to ensure proper BUILDING_ macros defined
...
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
rdb
36636aad81
Merge remote-tracking branch 'origin/release/1.9.x'
2018-01-05 19:48:32 +01:00
rdb
eaf3983c06
ode: fix trimeshes in double-precision ODE builds
...
Fixes #174
2018-01-05 15:40:59 +01:00
rdb
163c923c82
Backport various fixes for 1.9.4
2017-03-31 18:08:49 +02:00
rdb
4ed199cece
Fix various compile warnings and a few code consistency issues
2017-01-09 20:36:53 +01:00
rdb
70f10a70d1
Merge branch 'release/1.9.x'
2016-09-12 00:48:03 +02:00
rdb
a0b2a98178
Fix crash that happens when using OdeTriMeshData incorrectly
2016-09-11 12:23:28 +02:00
rdb
18874fa151
Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
...
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
bdf91e206d
Remove references to Python.h and py_config.h from Panda headers, to prevent picking up a dependency on Python libraries in third-party modules
2015-11-28 16:33:44 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01: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
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +02:00
rdb
68cf8cf44f
Fix various issues with API documentation generator
2015-03-13 18:40:26 +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
bd86907181
Fix assortment of compilation issues and annoyances
2015-02-08 23:25:11 +01: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
3b1e193abb
extension functions for ODE classes
2014-02-20 21:56:34 +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
d4098452e9
forgot to commit this fix
2013-02-19 11:41:42 +00:00
rdb
5846d8d8c4
Commit patch from Josh Enes (see LP bug #1027758 )
2013-02-17 21:36:05 +00:00
rdb
109bb61252
remove stepfast1 stuff to support more recent versions of ODE
2012-08-08 16:33:44 +00:00
David Rose
17f51995e3
a few more win32 build issues reported by forum users
2011-12-20 15:05:37 +00:00
David Rose
33b9a1e1cf
integrate Eigen
2011-12-16 14:17:48 +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
87ebb4f32c
fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings
2011-06-17 18:57:04 +00:00
David Rose
ae38a4eb44
fix ode crash on exit
2011-04-25 19:46:13 +00:00
rdb
66f1acc32f
unconst the consty constipation
2010-10-11 19:29:54 +00:00
David Rose
6532984ea6
even better fix: allow callback to save OdeGeom pointers
2010-06-15 17:39:47 +00:00
David Rose
5823ecc588
fix crash
2010-06-15 17:01:44 +00:00
David Rose
ecf55f8955
Py_XDECREF?
2010-06-15 00:45:29 +00:00
David Rose
cff2eb6052
Py_DECREF
2010-06-14 17:33:43 +00:00
David Rose
bb96117de2
interrogate fix for ode::get_id()
2010-05-25 21:12:44 +00:00
rdb
9f229cf4ee
Remove NDEBUG markers
2010-02-15 17:41:19 +00:00
rdb
eb341f8a54
Deprecate get_data and set_data, let's switch to get_tri_mesh_data and set_tri_mesh_data so that we can add support for dGeomSetData
2009-11-27 19:09:31 +00:00
rdb
a638ba2062
Add dInitODE()
2009-11-27 18:08:40 +00:00
rdb
5d5a131026
More PyODE-like feedback system
2009-10-01 18:17:35 +00:00