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
rdb
2e7bca90b0
express: fix PointerToArray coercibility regression, fix clear()
...
This was caused by the assignment operators not being visible to interrogate.
2018-05-24 21:39:54 +02: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
483a491ed7
interrogate: simplify coercion code
...
This remove support for coercing non-ReferenceCounted types that are neither default-constructible nor move-assignable, but it turns out none of the classes we really need it for matches that.
It further cuts down on the amount of code that is being generated to support coercion in cases where it makes absolutely no sense.
2017-11-06 19:53:38 +01:00
rdb
dfa47e55ce
express: fix PTA get_data in Python 3, fix CPTA construction
...
Fixes : #173
2017-10-06 18:24:32 +02: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
rdb
ef986ccfc0
Texture.set_ram_image(_as) now directly accepts buffers with right component size
2016-10-24 21:29:43 +02:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02: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
ea126d3175
missed a few PY_VERSION_HEX checks for buffer interface support
2013-10-29 17:42:58 +00: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
Chris Brunner
547a72053c
support for #ifdef WIN64_VC instead of just #ifdev WIN32_VC alone
2010-05-28 21:09:22 +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
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
4684bf10c9
a few more publish fixes
2008-11-05 23:45:48 +00:00
David Rose
cb3ff73396
publish PTA::empty_array()
2008-08-21 20:04:23 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
David Rose
3c903dbd77
expose get_ref_count
2007-05-11 02:14:54 +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
c8eb6c5a82
reduced need for read locks
2006-05-02 00:48:10 +00:00
Roger Hughston
63290756fe
*** empty log message ***
2005-05-23 21:04:31 +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
David Rose
22a4972fe0
fix PTA_Vertex::set_element()
2005-01-27 00:40:06 +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
Dave Schuyler
f8efe985d2
changed includes to use application path
2003-10-28 06:10:41 +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
David Rose
4d22a1d7ef
fix logic error in #if condition
2001-11-16 11:14:59 +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