21472 Commits

Author SHA1 Message Date
rdb
2acde88695 New alignment code to hopefully fix the alignment issues 2017-02-10 03:01:32 +01:00
rdb
fdffcc280b Fix compile error for ancient clangs 2017-02-10 00:38:18 +01:00
rdb
18f09c48dd cppparser: parse template friend declaration 2017-02-09 23:52:38 +01:00
rdb
218ad7058d pystub: definitions for debug version of Python 2017-02-09 23:50:14 +01:00
rdb
dcb793aed4 Clean up cpuid code, make selection of cpu/mem info available on Linux, macOS and FreeBSD 2017-02-09 22:56:37 +01:00
rdb
604d826aa3 Bring README.md up to date 2017-02-09 14:13:22 +01:00
rdb
cfe810ace7 Add set_shader_inputs for efficiently setting multiple shader inputs 2017-02-06 13:16:27 +01:00
rdb
9b07578d62 deploy-ng: Linux: fix symbol error with static linking, fix omission of libCg 2017-02-03 12:25:58 +01:00
Mitchell Stokes
c0f0749c21 deploy-ng: Use os.path.normpath() to cleanup directory names 2017-01-28 23:42:27 -08:00
Mitchell Stokes
bf5bddcbaf deploy-ng: Remove previous build before making a new one 2017-01-28 23:42:03 -08:00
Mitchell Stokes
efd25e98a5 deploy-stub: Fix memory leaks 2017-01-28 23:35:00 -08:00
Mitchell Stokes
b8ee352ebb deploy-ng: Create entry_points in makewheel for dist commands
This allows setuptools to automatically find build_p3d and
bdist_p3d_archive.

NOTE: Importing direct.showutil.dist.setup still works for installs that
are not using wheels.
2017-01-28 21:09:33 -08:00
Mitchell Stokes
9723cb62d9 deploy-ng: Split applications list into gui_apps and console_apps dictionaries
The keys to these new dictionaries are the name of the application to
create and the value is the script that is the entry point for the
application. This gets rid of the need for an Application class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes
159a1aa948 deploy-ng: Rename dist.build to dist.build_p3d and stop subclassing the builtin build Command
This also removes the need for a custom Distribution class.
2017-01-28 21:09:33 -08:00
Mitchell Stokes
d349501265 deploy-ng: Rename bdist_panda3d to bdist_p3d_archive
This leaves room for a later bdist_p3d_installer option.
2017-01-28 21:09:33 -08:00
Mitchell Stokes
5cfbd57d99 FreezeTool: Add encodings.cp437 and imp to startupModules 2017-01-28 21:09:33 -08:00
rdb
c3a196860a downloader: support TLS SNI when negotiating with SSL server 2017-01-28 17:41:09 +01:00
fireclawthefox
3318e254b8 Make the scene graph explorer occupy the empty space
Expand the sge to fill up the otherwise unused space below it, which is
useful for larger scenes.
2017-01-26 14:11:41 +01:00
fireclawthefox
78d14fcce3 Fixed function name
getChildren is expected in the MemoryExplorer and not getChildrenAsList
getChildren is also more convenient to the rest of the p3d source
2017-01-26 14:11:41 +01:00
fireclawthefox
8696dcea2c Fixed deprecated usage of NodePath.remove in directtools 2017-01-26 14:11:41 +01:00
Younguk Kim
ad34bc3eb8 Fix include guard typo. 2017-01-26 00:16:26 +09:00
rdb
3282656f0e makepanda: linking deploy-stub on Linux requires -lrt and -lutil 2017-01-25 13:34:06 +01:00
Mitchell Stokes
c231dd96e4 deploy-ng: Run egg2bam on egg files
Also adds support for running scripts based on file extensions.
2017-01-23 21:24:57 -08:00
Mitchell Stokes
eec5c997c0 deploy-ng: Use length-prefixed strings for writing modules to deploy-stub
This wastes less space than always using 256 characters for every module
name.
2017-01-19 19:43:11 -08:00
Mitchell Stokes
c789a3cae8 deploy-ng: Add option for extra PyPI indexes 2017-01-19 19:08:28 -08:00
Mitchell Stokes
04e4817667 deploy-ng: Add option to specify a different requirements.txt file for pip 2017-01-19 19:04:01 -08:00
rdb
c0191a3126 cppparser: update cppBison prebuilt files 2017-01-17 22:51:04 +01:00
rdb
e2771d39a9 cppparser: support for various C++11/C++14/C++17 features:
- decltype(auto)
 - attributes (ie. [[deprecated]]), incl. with C++17 "using"
 - extern template class (parses)
 - sizeof struct members
 - aggregate initialization
 - initializers in capture lists
 - alignas (parses)
2017-01-15 15:39:34 +01:00
rdb
e12420571b cppparser: support C++11 lambda expressions 2017-01-14 22:37:33 +01:00
rdb
5aabd56697 cppparser: support C++11 raw string literals 2017-01-14 22:35:38 +01:00
Mitchell Stokes
af57eac463 deploy-ng: Add moduleSuffixes for macOS 2017-01-14 11:53:29 -08:00
rdb
3fabe6a8de makewheel: fix inclusion of libpython on macOS 2017-01-14 15:35:08 +01:00
rdb
b3f9845892 Merge branch 'master' into deploy-ng 2017-01-14 03:03:02 -05: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
0ae87e6781 makepanda: on macOS, use Python lib from framework dir if needed 2017-01-11 19:28:28 +01:00
Mitchell Stokes
c1d273eb40 deploy-ng: Make sure cp437 encoding is available when deploying to Windows 2017-01-10 18:51:50 -08:00
Mitchell Stokes
83c6f033e1 deploy-ng: Add libpython to list of libs to copy 2017-01-10 18:44:13 -08:00
Mitchell Stokes
3347a6e2cb makewheel: Add libpython to deploy_libs
TODO: See if there is a better way to do this and to test/implement macOS support.
2017-01-10 18:42:59 -08:00
rdb
8352f27a23 makepanda: deploy-stub needs to link to libpython 2017-01-10 23:15:30 +01:00
rdb
49905bad16 Merge branch 'master' into deploy-ng 2017-01-10 22:06:59 +01:00
rdb
92dab31d80 makepanda: improve Python location code on Linux and macOS, support Python 3.x builds on macOS, drop use of pythonX-config 2017-01-10 21:00:43 +01:00
rdb
2de6c85fc9 glsl: fix shadowMatrix for point lights 2017-01-10 19:36:03 +01:00
Mitchell Stokes
db4516b796 deploy-ng: Look for correct platform suffixes for Python extension modules when cross-building
Note: We still need to supply suffixes for macOS. Also, Linux suffixes
are based on suffixes on my system (Arch, Python3) and will likely need
to be tweaked.
2017-01-09 20:17:27 -08:00
Mitchell Stokes
25b167c080 makewheel: Use less restrictive extension module suffix on py3 2017-01-09 19:49:18 -08:00
rdb
e1a54f52a8 makepanda: add --no-egg/--use-egg flags to enable/disable egg features. 2017-01-09 23:58:41 +01:00
rdb
f8580d753a Merge branch 'master' into deploy-ng 2017-01-09 23:53:56 +01:00
rdb
749e09d49e ffmpeg: don't hide last frame of video
This is not quite a complete fix, since the last frame of the video won't be shown long enough for it to matter when looping the video.  A more complete fix may be needed later.
2017-01-09 23:10:51 +01:00
rdb
43a5f2a9f2 Fixes for Python 3.5:
- Disable conversion to Windows newlines, which is causing double Windows newlines for Config.prc
- We need to copy vcruntime140.dll to the bin directory for Python 3.5+ build using MSVC 2010 to work
2017-01-09 22:27:30 +01:00
rdb
4ed199cece Fix various compile warnings and a few code consistency issues 2017-01-09 20:36:53 +01:00