Commit Graph

21386 Commits

Author SHA1 Message Date
Mitchell Stokes 3cb24fba91 Merge branch 'master' into deploy-ng 2017-02-20 13:46:39 -08:00
deflected f6e2e2ea05 Fix compile issue on FreeBSD 11 2017-02-20 15:10:15 +01:00
rdb 6104e75eb0 bam2egg: generate a sphere from polygon with four vertices instead of two 2017-02-20 15:09:11 +01:00
rdb b113d9db55 Fix incorrect type hierarchy of HermiteCurve, PandaNode, ShaderGenerator 2017-02-20 00:32:05 +01:00
rdb 53258af876 display: reduce GraphicsEngine traversal overhead a bit 2017-02-20 00:23:21 +01:00
rdb 4a8819b0bd MeshDrawer fixes and improvements:
* Fix random number generator on Windows (LP 1663895)
* Assert instead of crash when passing in non-Camera to begin() (LP 1663900)
* Prevent repeated calls to generator()/set_budget() from leaking GeomNodes (LP 1663903)
* Make the generator more efficient
2017-02-19 22:16:49 +01:00
Jose Luis Cercos Pita aa00138b34 Support core-only OpenGL contexts in the default build.
This is a squashed commit of the following, as well as my own (rdb's) revisions:

commit 80662759a1
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 15:07:29 2016 +0100

    Removed some useless fixed pipeline checks

commit 563b5dbe93
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 14:19:21 2016 +0100

    Improved the LUMINANCE check system

commit 596036a8bb
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:30:45 2016 +0100

    Removed some useless fixed pipeline checks

commit 0f7fa7cd33
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:26:07 2016 +0100

    Don't try to check if fixed pipeline is available before the context has been generated

commit 56ed18e29d
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Thu Dec 1 13:14:49 2016 +0100

    Assuming the fixed pipeline is available in GL 3.1 contexts

commit 73075ead73
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Fri Nov 4 12:59:45 2016 +0100

    Fixed errors while quering for GL_TEXTURE_LUMINANCE_SIZE and GL_TEXTURE_INTENSITY_SIZE in GL >= 4.0 core profile contexts

commit 3f799ed20b
Author: Jose Luis Cercos Pita <jlcercos@gmail.com>
Date:   Fri Dec 16 10:01:03 2016 +0100

    Added fixed functions pipeline support check at runtime

Closes: 128
2017-02-19 20:15:54 +01:00
刘群 4cc2009a94 Correct several spelling mistakes in comments 2017-02-18 16:24:58 +08: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 21a42f62df Fix FreeBSD compile error 2017-02-17 13:02:01 +01:00
rdb 78e4c71202 Fix issue with taking screenshots from an FBO 2017-02-17 13:02:01 +01:00
rdb 8c914a2855 Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping. 2017-02-17 13:02:01 +01:00
rdb 29edf55069 GlobPattern: support trailing slash and globstar (eg. **/*.egg) 2017-02-17 13:02:01 +01:00
Mitchell Stokes 887278f306 deploy-ng setuptools: Change build_apps.exclude_modules to a dict and add include_modules
The key of both of these dictionaries is the app this affects (must
match a key in gui_apps or console_apps). A key of '*' affects all
applications.
2017-02-15 18:05:32 -08:00
Sam Edwards ec3c2c5681 general: Fix missing include 2017-02-15 03:44:48 -07:00
Mitchell Stokes dcb743c30d deploy-ng: Combine build_apps files and directories options into a single copy_paths
copy_paths is a list of strings and two item sequences. If a copy_paths
element is a single string, it is treated as both the source and
destination paths. If the element is a sequence, the first element is
the source and the second is the destination.

NOTE: exclude_paths now uses file globs
TODO: Support globs for copy_paths
2017-02-11 18:48:56 -08:00
Mitchell Stokes 66ef8f7c2a deploy-ng: Rename build_p3d to build_apps and bdist_p3d_archive to bdist_apps 2017-02-11 16:04:48 -08:00
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