Mitchell Stokes
c51afaf0cf
deploy-ng: Support getting whl files via pip
...
The samples/asteriods/wheels directory and requirements.txt work-around
can be removed when we can grab py3 whls from PyPI.
2017-01-04 19:02:27 -08:00
Mitchell Stokes
db2cbd6e3a
deploy-ng: Add whls to sys.path instead of extracting them
2017-01-04 17:53:41 -08:00
rdb
1387f22200
FreezeTool: add missing import.
2017-01-04 20:19:04 +01:00
rdb
13c41bcf7d
FreezeTool: find modules in zip files, allow custom suffixes list
2017-01-04 20:12:56 +01:00
Mitchell Stokes
6b92d349c9
deploy-ng: Add wheel files to sys.path so modulefinder can pick up the files
2017-01-03 20:17:12 -08:00
Mitchell Stokes
5af7136aa2
deploy-ng: Support copying panda3d files from wheels instead of the current environment
...
Note: Extension modules are still coming from the current environment.
We'll need to sort this out before we get true cross-platform building.
Also, we need a proper interface for specifying platforms/wheels. At the
moment, a wheels parameter is supplied to setup() and platforms are
determined based on the wheels in this list.
2017-01-02 19:42:49 -08:00
Mitchell Stokes
6251a1cfc7
deploy-ng: Make sure the runtime is created in the build directory
...
We used to build in the current directory and copy to the build
directory, which resulted in two copies of the runtime.
2016-12-30 11:56:32 -08:00
rdb
c839dc60d6
Merge remote-tracking branch 'origin/master' into deploy-ng
2016-12-28 12:11:37 +01:00
Sam Edwards
ea2305de70
general: Fix missing includes.
2016-12-26 18:11:03 -07:00
rdb
325302b623
makewheel: support building single-arch .whl from a fat Panda build
2016-12-26 17:36:38 +01:00
rdb
fb2568afad
Fix faulty merge
2016-12-26 17:36:11 +01:00
rdb
9c789db918
Compile fix for Python 3.2
2016-12-25 23:58:08 +01:00
rdb
741ff454ed
We need to link tools that use interrogatedb with pystub again
2016-12-25 22:53:43 +01:00
rdb
ab5b5e7e74
Merge branch 'release/1.9.x'
2016-12-25 22:47:22 +01:00
rdb
0c742d59e5
Fix crash due to incorrect alignment when building Eigen with AVX extensions
...
Consequentially, we now use 32-byte alignment when building with eigen if __AVX__ is set.
v1.9.3
2016-12-25 22:13:05 +01:00
rdb
4393455eba
Fix get_keyboard_map on Czech (and other) layouts
...
Now reports proper Unicode name, and doesn't omit keys that don't have a recognised mapping by Panda
https://bugs.launchpad.net/panda3d/+bug/1652145
2016-12-25 16:12:54 +01:00
rdb
23a345437a
makewheel changes for macOS, manylinux1, Python 2.6
2016-12-25 16:10:06 +01:00
rdb
59c3aa3ef6
cocoa: don't crash if display server doesn't give us display modes
2016-12-25 09:59:29 -05:00
rdb
45356e85e1
Backward compat with older OpenSSL versions
2016-12-25 11:48:38 +01:00
rdb
28bb737597
Load X11 extensions dynamically; don't expect them to be there at compile time
...
Add x-cursor-size variable for overriding XCursor size.
2016-12-24 22:21:53 +01:00
rdb
122d9dd3ff
Support building with OpenSSL 1.1.0
2016-12-24 22:19:51 +01:00
rdb
2ac1734566
Fix crash when trying to write 16-bit TIFF file (LP bug 1222922)
...
Note: does not actually add support for writing 16-bit tifs; Panda just doesn't crash but automatically downsamples to 8-bit.
2016-12-23 00:36:59 +01:00
rdb
601b6b8678
Tweaks for building with static thirdparty libs on Linux
...
Sneak in a function used by makewheel
2016-12-22 21:30:30 +01:00
rdb
056ea94765
Fix PythonThread crash (LP bug 1245818)
2016-12-22 21:28:19 +01:00
rdb
7d414500c6
Various compile fixes
2016-12-22 11:34:47 +01:00
rdb
e8fbd2f9da
Fix potential crash in shader preprocess code
2016-12-21 18:14:46 +01:00
rdb
62d0d8292e
More texture load/store performance optimisations
2016-12-21 18:04:08 +01:00
rdb
c1d6e93166
Don't link extension modules with libpython; changes to help w/ building whls
...
This fixes compatibility issues with homebrew Python on Mac OS X.
This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux). When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb
92302942fe
Changes to build on ancient Linux distributions (CentOS 5 / manylinux)
2016-12-21 17:40:49 +01:00
rdb
a13fb0e8ca
Fix compilation issue with older ffmpeg versions
2016-12-21 17:35:45 +01:00
rdb
5aa8618572
Don't error if passing an oversized matrix array to a mat4[1] shader parameter
2016-12-20 23:18:05 +01:00
rdb
637767fec8
Flush nout before inducing crash in assert-abort
2016-12-20 23:15:21 +01:00
rdb
1808ad217c
Fix Python 3 error in particle sample in 1.9
2016-12-20 23:14:58 +01:00
rdb
eab2a1a733
Add CP_area_priority for area lights
2016-12-19 23:39:50 +01:00
rdb
b2ccf6c0d2
Add ability to produce .whl file
...
Based on original version by pennomi
Closes : #83
2016-12-19 23:35:05 +01:00
rdb
04819719fb
Fix erroneous report in installer while installing libs
2016-12-19 23:32:23 +01:00
rdb
da79c28a6c
Add RectangleLight class
2016-12-19 23:29:42 +01:00
rdb
4b5c317160
Improve shader caching; cache result of preprocess if cache-generated-shaders is set
2016-12-19 22:26:16 +01:00
Mitchell Stokes
74a7d4ee48
deploy-ng: Remove Python version string from the filename of copied extension modules
2016-12-18 15:02:49 -08:00
Mitchell Stokes
2923af7d44
deploy-ng: Add bdist_panda3d command to create archives for each built platform
...
Linux platforms use tar.gz and everything else (Windows, macOS) uses
zip. Later we will want to add an option to control this. Also,
bdist_panda3d currently auto-runs build. We will want an option to skip
this build step for debug/testing purposes.
2016-12-18 14:42:15 -08:00
Mitchell Stokes
ca036a56f2
deploy-ng: Add setup.py to the asteroids sample
2016-12-18 11:46:21 -08:00
Mitchell Stokes
086e61f9c3
deploy-ng: Replace startfile keyword with applications
...
applications is a list of Application objects. The Application
constructor takes two arguments: scriptname and runtimename. The
scriptname argument is the path to the Python script that acts as the
entry point to the application. The runtimename argument is the name
that will be given to the frozen runtime.
2016-12-18 11:43:40 -08:00
Mitchell Stokes
7bf2b12f09
deploy-ng: Replace game_dir keyword with directories, files, and exclude_paths
...
Also, mainfile has been replaced with startfile.
2016-12-18 11:32:56 -08:00
Mitchell Stokes
3ab9bde73d
deploy-ng: Only build deploy-stub if Python is available
2016-12-18 10:53:40 -08:00
rdb
36f2eda9ec
Fix name of "Buffer switch" pcollector in pStatProperties.cxx
2016-12-18 00:12:26 +01:00
rdb
da0d7752c1
Register .webm extension for videos
2016-12-18 00:08:59 +01:00
rdb
b6cb9b0045
ffmpeg: support videos with alpha; add ffmpeg-prefer-libvpx prc var
...
ffmpeg-prefer-libvpx forces ffmpeg to use the libvpx decoder for VP8/VP9 files, allowing the playback of WebM files with an alpha channel.
2016-12-17 00:17:30 +01:00
rdb
34068dc0c1
Implement support for SSBOs
2016-12-13 21:22:17 +01:00
rdb
23645cc407
Fix DDS load crash with certain formats; support R16, RG16, R32, RG32
2016-12-13 21:00:11 +01:00
rdb
2dab76131c
deploy-ng: support nested extension modules; omit unused panda3d.x modules
2016-12-11 19:38:14 +01:00