Sam Edwards
10f1ffa9a7
express: Fix Datagram::modify_array()
...
This just copies the array initialization out of append_data, so a
COW/uninitialized Datagram can be initialized with modify_array()
2018-02-23 01:38:26 -07:00
rdb
d269f7c6c3
android: allow stdout/stderr capture using extra field on intent
...
This allows launching the Panda apk from termux and getting command-line output back to termux.
2018-02-06 22:42:40 +01:00
rdb
c1fccd311b
android: properly support multiple Java threads
2018-02-06 22:32:22 +01:00
Sam Edwards
fb6c92cf08
express: Move all vector_* types to dtoolutil
2018-02-04 17:12:03 -07:00
rdb
0281f306e1
express: add PointerToArray.count()
2017-12-24 15:09:21 +01:00
rdb
f0b21ee969
Support old Python 2 buffer protocol in PTA and Texture ram_image
...
This enables passing eg. str and array.array objects in Python 2
2017-12-20 01:23:26 +01:00
rdb
193e4b5f59
interrogate: clean py_panda.h; use macros to access Dtool_PyInstDef
2017-12-12 23:03:38 +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
dd2806c8bd
Mark constructors 'explicit' for which coercion makes no sense
2017-11-06 19:47: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
35349b6224
Expose DatagramOutputFile to Python, add props to DatagramSink
2017-09-17 01:38:59 +02:00
rdb
d1c34c3360
interrogate: support static properties
2017-08-07 22:04:56 +02:00
rdb
1b690e528f
vfs: don't crash if copy_file can't open output file (LP 1687283)
2017-07-10 21:13:57 +02:00
rdb
925ce854d0
general: make DO_MEMORY_USAGE setting not change ABI compatibility
2017-07-10 19:50:09 +02:00
rdb
5fffbbce47
express: error if Windows-style path is used (LP 1429241)
2017-07-10 14:25:41 +02:00
rdb
1fd8af5acd
express: add C++11 methods to ordered_vector
2017-07-09 19:56:56 +02:00
rdb
f57a3f9cde
Hack to remove build warning on MSVC 2010
...
Fixes LP #1700329
2017-07-03 11:13:02 +02:00
rdb
c6dda2a44a
vfs: Show IOError instead of AssertionError if read_file fails
...
The methods are marked non-BLOCKING since the GIL needs to be held while throwing exceptions. We handle the GIL in the extension functions instead.
2017-06-20 21:52:22 +02:00
rdb
2e8d09a99c
Workaround for compiler bug when producing debug build
...
(with thanks to consultit)
2017-06-09 19:48:44 +02:00
rdb
904209b277
Split out interrogate jobs for dtool directories from express
2017-05-24 13:44:52 +02:00
wolfgangp
a1a99c49c0
Buffer protocol support for (Const)PointerToArray of vectors and matr… ( #148 )
2017-05-06 02:16:07 +02:00
rdb
6f8b379bda
Big patch full of performance improvements
...
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
rdb
f5f51c5d5b
Remove OpenSSL includes from headers, so C++ users don't need to have OpenSSL
2017-02-17 16:15:04 +01:00
rdb
a15d84dbeb
Fix compile errors and warnings in MSVC 2010 / GCC 4.6
2017-01-12 15:18:48 +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
rdb
e778c529b2
Implement Python 3.6 fspath protocol; allow passing a pathlib.Path wherever Filename is expected
...
The Python 3.6 fspath protocol allows passing Filename objects into any Python standard library calls that take a path.
2016-12-07 00:42:44 +01:00
rdb
1049088f11
Clean up some of the dtool_config.h variables
2016-10-24 22:10:46 +02: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
rdb
8381118a97
Assorted tweaks and compile warning fixes
2016-07-14 12:54:39 +02:00
rdb
2d6e817d1d
Fix reading multifiles that were built with -F option
2016-06-07 22:04:34 +02:00
rdb
8d05ef3022
Assorted fixes
2016-06-03 22:23:42 +02:00
rdb
679bf0a554
Implement tellg() on ZStream, make multify -t work with .pz/.gz compressed multifiles
2016-06-03 16:12:37 +02:00
rdb
5543716660
Interrogate wraps vector<unsigned char> as Python 3 bytes object
2016-06-03 01:47:54 +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
rdb
ce29ae490d
Interrogate improvements, more properties, MAKE_SEQ_PROPERTY
2016-05-11 00:16:53 +02:00
rdb
fb78fe6e2a
Interrogate enum class support (maps to Python 3.4 enums), sanify wrapper code
2016-05-07 00:45:26 +02:00
rdb
dc09e28ed9
Also accept a .gz wherever a .pz file is accepted
2016-04-29 16:54:25 +02:00
David Rose
063f9bbc4d
minor compilation issues
2016-04-28 16:14:44 -07:00
rdb
6f8fd916f3
Allow seeking a ZStream back to 0 (but no other location)
2016-04-28 17:03:31 +02:00
tobspr
1795a7c8dd
Work arround timestamp precision in ramdisks
...
This fixes the timestamp precision when mounting RamDisks, by ensuring that the modified timestamp is always greater than the original timestamp.
2016-02-20 19:55:49 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
186f1b41b2
Fix for PDWORD_PTR
2016-02-16 11:24:42 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
41fad59ae8
bam 6.40: support writing NodePaths, allows instanced lights and clip planes
2016-01-11 15:04:06 +01:00
rdb
db6f0342cc
Add properties with has/clear (interrogatedb v3.1)
2015-12-24 14:25:45 +01:00
rdb
6480e82e3b
First pass adding properties to many Panda classes
2015-12-10 16:23:06 +01:00
Sam Edwards
89d63e7d84
general: Fix missing include needed on Windows.
2015-11-15 18:52:23 -08:00
rdb
51121ce17a
Merge branch 'release/1.9.x'
2015-11-15 12:46:08 +01:00
rdb
6fb08f124c
Add (limited) modification timestamp tracking to Ramdisk
2015-11-15 12:45:42 +01:00