Commit Graph

7191 Commits

Author SHA1 Message Date
Mitchell Stokes d2d76c8a75 deploy-ng: Fix finding pyd files in whl files on Windows 2017-07-05 19:32:09 -07:00
rdb 624f28f0d5 direct: remove snake_case alias for CommonFilters.loadShader
See #150 and #147.  Fixes Travis build.
2017-07-03 14:45:33 +02:00
Mitchell Stokes 208cb18c4c deploy-ng: Fix pathing issues when deploying from Windows 2017-07-01 15:48:51 -07:00
Mitchell Stokes e13ad8e146 Merge branch 'master' into deploy-ng 2017-06-30 21:38:34 -07:00
wezu 40c6f41da2 direct: provide snake_case functions for some classes
Closes #147
2017-06-20 21:56:03 +02:00
rdb 3eb91e38b5 CommonFilters: fix edge bleeding when using POT textures (LP 424640) 2017-06-20 19:37:57 +02:00
rdb 153c277edd Remove references to .sha filters in direct/src/filter 2017-06-12 22:52:05 +02:00
fireclawthefox cfad049992 __file__ usage in CommonFilters
Removed __file__ usage due to unavailability in deploy-ng builds
Moved Cg filters from sha files into separate python scripts
Removed now obsolete loadShader function from CommonFilters
2017-06-10 21:59:18 +02:00
rdb 55ce23fbba deploy-ng: only include libraries referenced by used modules 2017-05-31 02:08:30 +02:00
rdb a686f501b6 deploy-ng: fix .so modules not being picked up on macOS 2017-05-31 02:04:33 +02:00
Mitchell Stokes c155e840b3 Merge remote-tracking branch 'origin/master' into deploy-ng 2017-05-27 15:36:49 -07:00
Mitchell Stokes db0267abcd deploy-ng: Specify an abi tag when downloading wheels for other platforms with pip download 2017-05-27 15:31:22 -07:00
Mitchell Stokes 26e7c3c52b deploy-ng: Add more enocdings modules to FreezeTool.startupModules 2017-05-27 15:30:19 -07:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
Mitchell Stokes f374c0bc4a deploy-ng: Fix for missing modules when building on Ubuntu (and probably other distros)
Ubuntu has different builtins than manylinux1, and we need to make sure
we still copy shared objects when the host marks a module as builtin and
manylinux1 has an so for the module.
2017-05-23 20:35:30 -07:00
Mitchell Stokes 961487cd3d deploy-ng: Fix to allow namespace packages 2017-05-22 21:52:51 -07:00
Mitchell Stokes 2b348b614e deploy-ng: Allow running build_scripts on dotfiles (e.g., .pman) 2017-05-07 18:43:35 -07:00
Mitchell Stokes 0ee6a46a62 Merge branch 'master' into deploy-ng 2017-04-26 18:22:36 -07:00
Mitchell Stokes f081a8f052 deploy-ng: Do not create/copy empty directories
This includes any directories that have all contents ignored.
2017-04-25 22:01:55 -07:00
Mitchell Stokes 99c3e16dff deploy-ng: Do not copy py files
These should all be frozen. If not, we need to fix our module finder.
2017-04-25 22:00:17 -07:00
rdb 160f652d58 text: use HarfBuzz for text shaping; support right-to-left text 2017-04-25 12:25:31 +02:00
wezu 353ccfebc1 Remove print() from Messenger.find() and Messenger.findAll()
If one needs to use find() or findAll() not for debugging purposes (like for getting the function or arguments for some binding), then the print functions in these methods are really unwelcome. find() is the only nice way to get this info (other then de-name-mangling __callbacks)
2017-04-22 13:39:14 +02:00
Mitchell Stokes 61513593c5 deploy-ng: Fix exclude paths on Windows 2017-04-20 18:01:07 -07:00
Mitchell Stokes d1241797b9 deploy-ng: Fix swapped console and gui apps on Windows 2017-04-20 17:48:07 -07:00
Mitchell Stokes 82f08b1251 deploy-ng: Remove debug code 2017-04-11 20:18:14 -07:00
Mitchell Stokes 003348ff10 deploy-ng: Fix issue when builtin modules list differs between host and target 2017-04-11 20:14:46 -07:00
Mitchell Stokes 923ff14d41 deploy-ng: Apply ignore rules before creating directories 2017-04-04 21:36:56 -07:00
Mitchell Stokes 2302f251b1 Merge branch 'master' into deploy-ng 2017-04-04 21:27:09 -07:00
Mitchell Stokes 8fa6026a68 deploy-ng: Play nicer with Py2
* ignore pyc files
  * import print_function from __future__
2017-04-04 21:26:01 -07:00
AnythingTechPro 5050aae5c8 Code formatting cleanups in StagedObject
Closes #142
2017-03-30 19:49:30 +02:00
Sam Edwards 76070d84cd fsm: Change FourState's debugPrint to a __method
This should stop it from getting overridden by subclasses.
2017-03-29 17:40:10 -06:00
Sam Edwards 6d250f2f1f fsm: FourState needs to initialize stateIndex BEFORE first debugPrint
I honestly have no idea how this even worked before.
2017-03-29 17:40:10 -06:00
Sam Edwards 4080e03d05 distributed: Remove use of exceptionLogged() decorator
This isn't available when __debug__==False either.
2017-03-27 01:00:00 -06:00
Sam Edwards f062c64e9a distributed: Fix broken reference to StackTrace when __debug__==False 2017-03-27 00:56:05 -06:00
Mitchell Stokes 3cb24fba91 Merge branch 'master' into deploy-ng 2017-02-20 13:46:39 -08: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
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 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 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
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
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