Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards
5e82671084
general: Do away with TYPENAME macro
2018-06-03 16:36:34 -06: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
9fad3dba60
general: remove macros for compatibility with non-C++11 compilers
...
Now that we require MSVC 2015, we no longer need all this nonsense, so we can write cleaner code.
2018-05-23 23:33:05 +02:00
rdb
e9ae7dcc40
Use vector_uchar instead of string for binary network/file data
...
This distinction allows us to better support Python 3, since it will raise exceptions when trying to put arbitrary binary data in a str object.
This also adds some convenience functions for efficiently initializing a Datagram or PTA_uchar from a vector_uchar.
2018-04-02 23:17:14 +02:00
rdb
0281f306e1
express: add PointerToArray.count()
2017-12-24 15:09:21 +01:00
rdb
e60d1e292e
Make better use of C++ rules for implicit generation; allow PointerTo and some mutex impls to be static initialised
2017-01-12 12:34:15 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
db87bc7914
PointerToArray fixes, Windows build fixes, more move constructors
2015-02-27 12:45:11 +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
87aa66f09c
Py_buffer is not available in Python versions before 2.6
2013-10-29 10:36:16 +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
a27908a7e8
restore implicit coercion of Python objects into CPTA
2013-03-27 19:40:47 +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
Chris Brunner
547a72053c
support for #ifdef WIN64_VC instead of just #ifdev WIN32_VC alone
2010-05-28 21:09:22 +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
a942ce5fbf
lists and strings will be automatically coerced into a PTA_blah
2010-02-11 22:38:34 +00:00
David Rose
2db208431e
allow set_data() on a null array
2009-08-14 17:35:12 +00:00
David Rose
fd51c9b27e
better assertions
2009-03-24 01:17:33 +00:00
David Rose
31091e8974
fix texture bam issues
2009-01-16 21:31:17 +00:00
David Rose
5d1cb7e88f
build on windows
2008-11-07 21:21:53 +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
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
18fab235c9
add methods to directly access vertex and texture data from Python
2007-05-11 01:14:05 +00:00
David Rose
d87cae471d
more better pstats mem tracking
2007-05-10 14:40:52 +00:00
David Rose
936412fae2
merge cow_thread_2007_04_12: make copy-on-write operations thread-safe
2007-04-19 18:23:10 +00:00
David Rose
63edecf517
faster sprite particles
2007-02-08 19:56:33 +00:00
Josh Yelon
a9c791a034
Renamed PointerToArrayElement to ReferenceCountedArray
2007-02-07 22:06:57 +00:00
David Rose
26b20ce4ac
pstats tracking for texture and vertex data on main memory
2006-11-02 19:31:03 +00:00
David Rose
7716080a27
fix compilation error
2006-05-02 01:30:16 +00:00
David Rose
c8eb6c5a82
reduced need for read locks
2006-05-02 00:48:10 +00:00
David Rose
bd820acd49
beginning vertex animation in qpgeom
2005-03-24 23:48:15 +00:00
David Rose
475196cbef
robustify WeakPointerTo, publish ConstPointerTo
2005-03-11 19:29:57 +00:00
David Rose
c975b7cd49
initial checkin of experimental Geom rewrite--preliminary
2005-03-11 02:28:51 +00:00
Josh Yelon
f15dce600b
Fixes for gcc 3.4
2005-02-23 20:50:34 +00:00
David Rose
22a4972fe0
fix PTA_Vertex::set_element()
2005-01-27 00:40:06 +00:00
David Rose
9f96811a21
EXPCL_PANDAEXPRESS, win32 fixes
2004-09-30 21:46:03 +00:00
David Rose
557060cb1d
weak pointers, and FadeLODNode fixes for instances/multiple cameras
2004-09-30 21:29:25 +00:00
David Rose
0105b1fd89
get_element, set_element
2004-06-08 01:26:12 +00:00
David Rose
843c0331ae
update license, change remaining local #includes to use quotation marks
2004-02-13 19:27:33 +00:00
David Rose
411a263fe8
build for gcc3.2
2003-01-17 16:42:36 +00:00
cxgeorge
05b53e4c87
typename->TYPENAME
2002-11-23 03:13:43 +00:00
cxgeorge
c3ad80cf52
ansi fixes
2002-11-22 23:06:29 +00:00
cxgeorge
012486c12e
rename dangerous PTA contructor to empty_array
2001-11-16 02:38:09 +00:00
David Rose
a23afdddab
rework Datagram to use pta_uchar instead of string
2001-08-01 19:14:27 +00:00