21225 Commits

Author SHA1 Message Date
rdb
f001bd20d7 deploy-ng: fix issues with Mac/Python 2 build 2016-12-05 18:55:04 -05:00
rdb
70386795f4 Merge branch 'master' into deploy-ng 2016-12-05 18:10:49 -05:00
rdb
b182224463 interrogate: fix issues with abstract classes and covariance (fixes EggPolygon constructor) 2016-12-05 17:22:24 -05:00
rdb
6344c05b18 Clean up dynamic loading of Win32 funcs, remove makepanda touchinput setting, remove checks for pre-WinXP 2016-12-05 17:21:09 -05:00
rdb
c410d812ff Remove some settings from dtool_config.h to prevent rebuilds:
- HAVE_OPENCV
 - OPENCV_VER_23
 - HAVE_FFMPEG
 - HAVE_SWSCALE
 - HAVE_SWRESAMPLE
2016-12-05 16:32:13 -05:00
rdb
83507e413f Fix Mac OS X Snow Leopard build 2016-12-05 16:30:44 -05:00
rdb
46c8990f40 Switch to clang by default on Mac; drop burden of supporting GCC 4.2
Also get rid of that annoying message about -pthread in clang.
2016-12-05 16:14:24 -05:00
rdb
a056543d5a Support push_macro and pop_macro in cppparser 2016-12-05 02:02:25 +01:00
rdb
6dc6b05409 Merge remote-tracking branch 'origin/release/1.9.x' 2016-12-05 02:01:44 +01:00
rdb
84789ecdd1 Fix GL compile error on Mac OS X 2016-12-04 21:28:52 +01:00
rdb
2b6e192e5a Protect against overallocation when reading corrupt texture from bam 2016-12-03 01:04:35 +01:00
rdb
4a8f1839ea 1.9: change to support .whl distribution (putting panda DLLs in panda3d/ dir) 2016-12-01 17:41:07 +01:00
Sam Edwards
573dad8dde general: Fix missing includes. 2016-11-30 19:21:34 -08:00
rdb
6259feb934 Fix issue building against copy of Python that was compiled with MSVC 2010 2016-11-30 00:12:26 +01:00
rdb
335debee54 Fix error building debian package 2016-11-29 23:53:57 +01:00
rdb
728310f96c Merge remote-tracking branch 'origin/release/1.9.x' 2016-11-29 23:48:51 +01:00
rdb
1c957b26b4 Fix for getting R8 and R8G8 formats via FrameBufferProperties 2016-11-29 23:07:37 +01:00
rdb
441b791e57 Fix extract_texture_data for buffer textures 2016-11-29 23:05:01 +01:00
rdb
80af51477a Backport ability to create a pdb zipfile to 1.9 2016-11-29 22:59:51 +01:00
rdb
5ad900a413 Bullet fixes: copying compound shapes, compile warnings, motion state alignment 2016-11-29 22:43:28 +01:00
rdb
948ff8562d Support targeting Windows XP with MSVC 2015 2016-11-29 22:41:46 +01:00
rdb
1e2961f7ef Improve windows installer: .prc file assoc, use DOS newlines for prc, error if installing 64-bit version on 32-bit Windows 2016-11-29 21:54:51 +01:00
rdb
7db45cb647 Make fetching of p3d_LightSource[n] input clearly defined for non-existent lights
Refer to OpenGL 2.1 spec page 61

Closes: #129
2016-11-27 14:25:58 +01:00
rdb
78bf339c41 Fix material shader inputs not being updated properly 2016-11-27 14:24:37 +01:00
rdb
cf389276da Backport b02e352 to 1.9:
rdb: Fix wrong GL texture being bound to image slot after being recreated
2016-11-27 13:04:54 +01:00
rdb
b02e3521bc Fix wrong GL texture being bound to image slot after being recreated 2016-11-27 12:30:37 +01:00
rdb
8c1f64e086 Fix for 1.9: fix errors when Cg-style matrix inputs are mat3 2016-11-14 19:41:54 +01:00
Mitchell Stokes
b9b8782320 Distutils: Add extras build option to copy extra files not normally copied (e.g., ones outside of the game directory) 2016-11-13 11:57:33 -08:00
Mitchell Stokes
f61fbd356d Set rpath on deploy-stub to $ORIGIN for Linux builds
This allows game runtimes to search their directory for shared
libraries instead of needing to use LD_LIBRARY_PATH.
2016-11-13 11:55:46 -08:00
Mitchell Stokes
b11ec02acb Distutils: Copy over panda3d and libs
TODO: Currently all of the libs and the whole panda3d module gets copied
over. We should make use of Packager code to trim this down.
2016-11-13 10:35:06 -08:00
Mitchell Stokes
c208265343 Distutils: Add exclude_modules option 2016-11-13 10:03:37 -08:00
Mitchell Stokes
8d44e73fcc Remove yapdt
Distutils/setup.py should be used instead.
2016-11-09 18:10:51 -08:00
Mitchell Stokes
9921cd5a97 Distutils: Create per-platform build directories 2016-11-09 18:00:57 -08:00
Mitchell Stokes
a628dd6edc Distutils: Skip copying frozen Python packages 2016-11-09 17:50:54 -08:00
Mitchell Stokes
df7e3f03e2 Fix mainfile option in setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes
e9ae6b5bb1 Copy game files when using setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes
471090d1b4 Adding a dist module that can be imported to use FreezeTool as part of setup.py 2016-11-08 19:40:30 -08:00
Mitchell Stokes
b1a57643f9 Move runtime generation logic from yapdt to FreezeTool 2016-11-08 19:40:30 -08:00
Mitchell Stokes
aa6e722941 Create experimental yapdt (Yet Another Panda3D Deployment Tool)
This uses FreezeTool and a new deploy-stub binary to create frozen
applications without needing a compiler when running the tool. This tool
is for experimenting with deployment options and is currently inflexible
and hacky.
2016-11-08 19:40:30 -08:00
Tohka
e9a43a21fa Remove PiratesMagicWordManager VR Studio code reference 2016-11-04 02:41:41 +07:00
rdb
b0a8408755 Fix issue with Windows build 2016-11-04 00:49:04 +07:00
rdb
d54d43ac34 cppparser: fix issue with templated external method definitions 2016-11-03 18:04:14 +01:00
tobspr
c0fd29d822 Add functional header to parser-inc (#126)
* Support for the functional header

* Add unordered_map and initializer_list

* Add unordered_set header

* Fix spacing, and remove unecessary defines

* Add missing definitions to memory header

* Use variadic templates in functional header
2016-11-03 14:08:25 +01:00
rdb
c2abb4b2f8 Revert code that is triggering an odd compiler quirk in MSVC 2016-11-03 19:27:04 +07:00
rdb
22f0b50851 More Interrogate C++11 support changes:
* Parse variadic templates
 * Add (incomplete) type_traits support
 * Parse anonymous class template params
 * Parse volatile/lvalue/rvalue methods
 * Don't generate destructor for indestructible types
 * Add xmmintrin.h header
 * Allow invoking extensions with references
2016-11-03 12:17:11 +01:00
rdb
7259425b7c Let's do away with Geom-wide usage hints, it's not very useful 2016-11-03 11:34:10 +01:00
rdb
7bef96e71d Don't give misleading error when image shader input is missing 2016-11-03 11:11:02 +01:00
rdb
1467541b8d Interrogate issues: "fix #pragma once" for files specified on command-line, fix "unexpected $end" not having line numbers when parsing template parameter list 2016-11-01 12:19:11 +01:00
tobspr
50e8d5d08d Update stdint.h
This adds missing definitions from the standard library header ` stdint.h` to the interrogate header.
I also changed the `typedef` to the C++11 style `using`.

Closes: #125
2016-10-31 22:34:47 +01:00
rdb
29411f5e14 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-31 22:32:39 +01:00