Commit Graph

35 Commits

Author SHA1 Message Date
rdb fba41dafae Merge remote-tracking branch 'origin/master' into deploy-ng 2017-10-26 21:23:49 +02:00
rdb 7d721a33a6 Restore setShaderInput overload taking 4 numbers, but deprecate it 2017-10-18 11:26:20 +02:00
Mitchell Stokes 09eb22b61e deploy-ng: Add plugins option to specify which plugins to copy
NOTE: pandagl is no longer automatically copied and a graphics plugin
must be specified.

TODO: Per-platform overrides
2017-07-06 19:33:16 -07:00
Mitchell Stokes c1f0545359 deploy-ng sample: Use buildbot index instead of a wheels folder 2017-04-20 17:58:01 -07:00
Mitchell Stokes 9e9aebad58 deploy-ng asteroid sample: Add --pre to requirements.txt
This forces pip to prefer 1.10 builds even if it finds 1.9 builds (e.g., for Python2)
2017-04-11 20:15:42 -07:00
Mitchell Stokes 3cb24fba91 Merge branch 'master' into deploy-ng 2017-02-20 13:46:39 -08:00
刘群 4cc2009a94 Correct several spelling mistakes in comments 2017-02-18 16:24:58 +08: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
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 de598d966b asteroid sample: Add requirements.txt and wheels to setup.py exclude_paths 2017-01-05 19:28:22 -08:00
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 ca036a56f2 deploy-ng: Add setup.py to the asteroids sample 2016-12-18 11:46:21 -08:00
rdb 40ff32c7a8 Show how to disable shadow map updates in shadow samples 2016-08-27 19:15:03 +02:00
rdb 4283a63a7d Merge branch 'release/1.9.x' 2016-06-11 01:29:14 +02:00
rdb 12873c0d7e Fix wxPython and tkinter issues on Mac OS X 2016-06-10 02:02:36 +02:00
tobspr dac2bfc7b9 Support for setting a heightfield handle directly on the ShaderTerrainMesh 2016-04-30 09:32:09 +02:00
tobspr 206539d719 Fix missing coordinate system in sample 2016-04-15 19:12:13 +02:00
rdb 7addf3e12b Merge pull request #80 from tobspr/master
Add new terrain implementation (ShaderTerrainMesh)
2016-04-11 18:35:11 +02:00
rdb ba4c38112c Merge remote-tracking branch 'origin/release/1.9.x' 2016-03-25 17:22:00 +01:00
rdb ad350a207e Replace use of deprecated base.loadSfx/loadMusic with loader.loadSfx/Music 2016-03-24 23:55:38 +01:00
tobspr 84f5baaf2c Add ShaderTerrainMesh sample 2016-02-20 14:05:50 +01:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 3c2f820ad8 Merge branch 'release/1.9.x'
Conflicts:
	direct/src/p3d/DeploymentTools.py
2015-11-24 13:39:36 +01:00
rdb 414460a3b5 Fix a few issues with mouse mode sample 2015-11-24 00:17:15 +01:00
rdb 573af61636 Merge remote-tracking branch 'eswartz/support-mouse-confinement-cocoa' into release/1.9.x
Closes: #20
2015-11-21 17:43:07 +01:00
rdb 3cd15c3d48 Merge branch 'release/1.9.x' 2015-08-31 15:59:06 +02:00
rdb 9053999889 Don't put important code in an assert - fixes media player sample in runtime environment 2015-08-28 21:40:08 +02:00
rdb 49fdd56c09 Remove DirectStart imports from shadows sample 2015-07-20 20:04:27 +02:00
Ed Swartz fc5a2e5e33 Implement confined mouse mode for OS X.
Note: it seems that using #set_pointer() will result in
a long delay before an absolute mouse position is updated,
even though deltas are reported.

Thus, in CocoaPandaView, the mouse deltas are sent for both
relative and confined modes, so client code (e.g. the "mouse
modes" demo) will be able to recenter the mouse without
choppy movement.
2015-04-30 17:57:00 -05:00
Ed Swartz f6841d7fc5 Add sample program demonstrating the mouse modes 2015-04-17 15:26:57 -05:00
rdb de0b0dd879 Fix various issues with Python 3 support, fix samples to work with Python 3 2015-03-23 00:32:47 +01:00
rdb 78c3593d2c Add sample programs to the repository 2015-03-14 15:01:31 +01:00