Commit Graph

144 Commits

Author SHA1 Message Date
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
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 6480e82e3b First pass adding properties to many Panda classes 2015-12-10 16:23:06 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb da17cce447 Fix error and warnings in 32-bit Windows build 2015-11-01 16:57:52 +01:00
rdb ddf8343590 Reorganise explicit template instantiations so that it always happens in the .cxx file, while remaining backward compatible with MSVC's standards-breaking implementation 2015-10-16 15:38:28 +02:00
rdb 7738294657 Fix a few more type size issues 2015-10-07 19:10:52 +02:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
rdb bae5c195af Merge branch 'release/1.9.x'
Conflicts:
	dtool/src/dtoolbase/dtoolbase.h
2015-10-07 15:54:02 +02:00
rdb 706f6f7de5 Squelch some of the type conversion warnings in MSVC 2015-10-06 17:05:40 +02:00
rdb ca37b6b6c0 Fix VC2015 compile errors, allow selecting any WinSDK/MSVC version. All experimental, still. 2015-10-05 02:12:46 +02:00
rdb 49088fb7ce Fix some issues with new VFS open() implementation 2015-09-21 17:46:50 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb 3cd15c3d48 Merge branch 'release/1.9.x' 2015-08-31 15:59:06 +02:00
rdb d68bbae5b4 Don't add "(not used)" to config decls when writing them, it makes it harder to write out a config.prc file 2015-08-26 14:57:30 +02:00
rdb 1f0b4332e3 Add softspace flag to StreamWriter - fixes print spaces in runtime env 2015-07-27 20:23:47 +02:00
rdb 75019784f4 Changes to inlining so we can use FORCE_INLINING in gcc as well 2015-07-27 15:39:46 +02:00
rdb 1088cdedc8 Fix mac and static build issues 2015-07-06 23:31:14 +02:00
rdb 236b0c590c Use explicit symbol visibility control in GCC/clang 2015-06-22 21:01:34 +02:00
rdb 41184b1189 Optimizations to improve start-up time (esp. in JavaScript) 2015-04-04 19:05:54 +02:00
rdb 477aa4bdfe Fix various Windows build issues 2015-03-27 23:17:35 +01:00
rdb 9513046e59 Various substantial changes to Interrogate:
* Allow arbitrary selection of optional keyword arguments in some cases
* Reduce code bloat of generated bindings
* Work around awkward resolution of set_shader_input overloads
* Document the code a bit better
* Make coercion a bit cleaner for reference counted types
* A few optimization tweaks
* Use generic errors in NDEBUG build to reduce size of string pool
2015-02-15 13:48:13 +01:00
rdb eaabc1bfa5 Add ConfigVariableColor 2015-02-05 13:34:52 +01:00
rdb 4c10c9ec1f Oops, fix GCC 2014-11-26 21:14:35 +00:00
rdb 861234c349 Bunch of minor compile fixes and changes 2014-11-26 13:33:10 +00: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 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 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
David Rose 93afeb40f2 By interrogate conventions, char * means a string, while unsigned char * means a data buffer. 2013-08-23 22:26:17 +00:00
rdb 266890c86a Add version of extract_bytes that extracts into character buffer 2013-08-23 15:03:01 +00:00
rdb c26c0e6a97 Android support, part 1 2013-01-24 17:54:56 +00:00
David Rose 876956defb ConfigVariableFilename::get_value() should return a concrete, not a reference 2012-02-06 23:18:49 +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 c0b7ca96b8 perform shell-style filename globbing on Win32 too 2011-11-09 01:35:19 +00:00
David Rose 370a9886b7 stringstream_hack 2011-11-07 20:15:57 +00:00
David Rose d156c4a1d5 publish more prc stuff 2011-09-30 23:57:34 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 42764ffee5 add ConfigPage.setSort() 2011-09-01 22:12:00 +00:00
David Rose 4496febc73 seems we should default to utf-8 these days 2011-08-30 15:57:11 +00:00
David Rose 6ecf2fed29 preparing for unicode filenames 2011-08-29 04:33:00 +00:00
David Rose 0d8b31f9a4 make local_dev a runtime default, not a compiled default 2010-06-11 22:36:54 +00:00
David Rose 8c56527a49 avoid recursion crash 2010-05-07 00:06:48 +00:00
David Rose 9be238b149 support panda-package-version and panda-package-host-url for dev convenience 2010-03-19 22:35:46 +00:00
David Rose 541c12bb8a use pstrtod 2010-02-20 14:48:45 +00:00
David Rose ed32f2264e avoid low-level case-sensitive issues 2009-12-31 19:58:36 +00:00
David Rose b55390ce53 add dependency 2009-11-04 19:41:31 +00:00
David Rose 49688d89c9 add Python-friendly DSearchPath::find_all_files() 2009-10-10 09:05:35 +00:00