Mitchell Stokes
52360dc10c
deploy-ng: Add bztar and xztar installers
2018-04-30 20:31:54 -07:00
Mitchell Stokes
7f974865d5
deploy-ng: Subclass from setuptools.Command instead of distutils.core.Command
2018-04-30 20:27:31 -07:00
Mitchell Stokes
4b9315ef43
deploy-ng: Fix running against pip 10.0+
2018-04-30 18:50:42 -07:00
rdb
f47857550f
pefile: fix get_export_address for ordinals > 0
...
[skip ci]
2018-04-10 12:57:41 +02:00
rdb
742c143a01
deploy-ng: support logging via log_filename (and log_append) setting
2018-04-08 17:57:48 +02:00
rdb
023669c8c2
deploy-ng: fix absolute exclude patterns, "build" directory exclusion
2018-04-08 17:09:54 +02:00
rdb
b0cece7faf
Merge branch 'master' into deploy-ng
2018-04-08 15:44:32 +02:00
rdb
e9ae7dcc40
Use vector_uchar instead of string for binary network/file data
...
This distinction allows us to better support Python 3, since it will raise exceptions when trying to put arbitrary binary data in a str object.
This also adds some convenience functions for efficiently initializing a Datagram or PTA_uchar from a vector_uchar.
2018-04-02 23:17:14 +02:00
Tohka
0b1ad67e13
distributed: Fix DC file reading regression ( #295 )
2018-03-31 04:01:35 -06:00
Mitchell Stokes
01ae235bfb
deploy-ng: Change default model-cache-dir on deployed applications
...
We replace panda3d in the model-cache-dir ConfigVariable with the name
from setup.py.
2018-03-30 13:42:40 -07:00
Sebastian Hoffmann
78377ca10c
Cursor after newline character appears on beginning of next line.
...
DirectEntry.updateNumLines updates text geom.
DirectEntry API less inadequate.
Closes #257
2018-03-30 20:17:31 +02:00
Sam Edwards
4eb250cb87
dcparser: Write ranged-blob parameters correctly
2018-03-25 22:03:55 -06:00
Sam Edwards
9dd37e9dbc
general: Add guards to ensure proper BUILDING_ macros defined
...
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
Sam Edwards
f231ba4cd7
directbase: Introduce BUILDING_ defines for each component
...
Ditto everything before, but for direct.
2018-03-25 13:17:52 -06:00
Mitchell Stokes
b91cb655c3
deploy-ng: Expose default_prc_dir as a build_apps option
...
If not set, this defaults to '<auto>etc' if embed_prc_data is False or
'' (no default PRC dir) if embed_prc_data is True.
2018-03-22 18:38:13 -07:00
Mitchell Stokes
164ef3fa4b
deploy-ng: Add options for user-supplied PRC data
2018-03-21 18:28:42 -07:00
Mitchell Stokes
4d47603e87
deploy-ng: Allow embedding PRC data
...
Also parse PRC data and remove lines for plugins that are not included
in the build.
2018-03-18 16:49:37 -07:00
Mitchell Stokes
7a7eca25ee
deploy-ng: Only add Python files that were frozen to the ignore list
...
This allows copying over unfrozen Python files by adding modules to the
exclude_modules dictionary (behaves like include_modules) and then
making sure the Python file matches a pattern in the include_patterns
list.
2018-03-12 21:29:39 -07:00
rdb
aebdefcf60
Merge branch 'master' into deploy-ng
2018-03-11 23:01:10 +01:00
Michael Wass
b10ee32752
direct: Fix some more NameErrors
...
Closes #274
2018-03-08 11:44:04 +01:00
rdb
b0b32b9d6a
direct: fix Python 3 support in Pmw-based tools
...
Fixes #276
2018-03-08 11:21:14 +01:00
Michael Wass
89799bc024
direct: Fix some NameErrors
...
Squashed merge of GitHub PR #273
2018-03-05 18:32:27 -07:00
Sam Edwards
ac8417ffdf
distributed: `type(x) == types.FooType` -> `inspect.isfoo(x)`
...
This is more compatible across Python 2 vs. 3.
[skip ci]
2018-03-04 15:28:39 -07:00
rdb
c8da53a81f
deploy-ng: fix regression with builtin modules not being added
...
This happens only when the system Python has the module built-in (eg. on Ubuntu where most modules are builtin) but deploy-ng doesn't.
Regression was introduced by 94b5fa1e90
Fixes #264
2018-03-01 22:02:58 +01:00
Mitchell Stokes
fcacc3c2be
deploy-ng: librt.so.1 to libutil.so.1 to exclude_dependencies
2018-02-27 18:37:03 -08:00
Mitchell Stokes
1afcda4700
deploy-ng: Allow specifying installers for each platform
2018-02-27 18:30:22 -08:00
rdb
f535a641e4
Merge branch 'master' into deploy-ng
2018-02-27 20:53:28 +01:00
rdb
b62435a373
general: remove all uses of deprecated upcastTo*() methods
...
These methods have not been needed for a very long time, so we should not encourage their use.
2018-02-27 15:02:49 +01:00
rdb
c6f4979069
deploy-ng: fix unicode modules with encoding on Python 2
2018-02-24 21:38:39 +01:00
rdb
94b5fa1e90
deploy-ng: fix inclusion of additional python DLLs (eg. sqlite, tk)
...
Fixes : #239
2018-02-24 21:37:23 +01:00
Mitchell Stokes
5b4041bf23
deploy-ng: Fix handling of unicode Python files for Python 2
2018-02-24 11:04:40 -08:00
Mitchell Stokes
6f17bc9224
deploy-ng: Remove debug print
2018-02-24 11:04:01 -08:00
Sam Edwards
b72d1c198f
distributed: Fix the import test (and syntax on Python 3)
2018-02-23 19:52:48 -07:00
Sam Edwards
f76b8a6ad8
distributed: Replace the OTP protocol format with Astron's
...
Again, all this does is affect the 4-years-disused OTP system, leaving
the CMU system entirely untouched.
This changes the packet formatting in several of distributed's helper
classes.
2018-02-23 16:45:50 -07:00
Sam Edwards
167c6dcafa
distributed: Change the message numbers to match Astron's
...
I imagine very few Panda3D users depend on the message numbers having
particular values. The ones removed belonged to Disney's OTP system,
which hasn't been used by anybody in over 4 years.
At any rate, old code should continue to work, just at the cost of
compatibility between clients and servers running different P3D versions.
2018-02-23 16:35:50 -07:00
Sam Edwards
97368ec321
distributed: Make a few slight cleanliness changes
...
I brought all of these over from the Astron fork
2018-02-23 15:55:30 -07:00
Sam Edwards
aaeb925e84
directtools: Fix typo in DirectSelection
2018-02-23 15:50:50 -07:00
rdb
aa90b7b0c0
showbase: disable track-gui-items by default, remove want-e3-hacks
2018-02-23 22:26:27 +01:00
rdb
e6c2d3b609
showbase: allow DirectGui elements to be created before ShowBase
...
This is done by precreating aspect2d inside ShowBaseGlobal.
2018-02-23 22:15:34 +01:00
rdb
0cf605ce7d
showbase: move run() and __dev__ to ShowBaseGlobal
...
Also remove ShowBaseGlobal notify category, it doesn't really add anything
2018-02-23 21:26:49 +01:00
rdb
15dd70f254
deploy-ng: fix regression in Python 2 introduced by 8f919b7
2018-02-13 11:23:06 +01:00
Mitchell Stokes
846dc9c97b
deploy-ng: Add hidden imports for keyring.backends
2018-02-12 22:21:44 -08:00
Mitchell Stokes
0c3c6c36bf
deploy-ng: Fix loading submodules for hidden imports
...
Fixes #242
2018-02-12 22:21:14 -08:00
Mitchell Stokes
8f919b7e40
deploy-ng: Fix to handle utf-8 Python source files on all systems
...
NOTE: This only works for Python 3
2018-02-12 17:52:45 -08:00
Sam Edwards
e15cea4331
general: Remove more unnecessary +x UNIX modes
2018-02-07 11:29:48 -07:00
Mitchell Stokes
73fd10281b
deploy-ng: Add build directory to exclude patterns
2018-02-04 19:16:58 -08:00
fireclawthefox
f2cf391a2e
gui: add simple way to enable overflow in DirectEntry
...
Closes #236
2018-01-24 19:17:50 +01:00
rdb
bdb53b8cb5
showbase: fixes for aspect-ratio adjustment of pixel2d(p)
2018-01-05 19:49:14 +01:00
rdb
27fb1a4a9e
showbase: fix aspect ratio calculation
...
backs out part of 7a46b2ca60 , from PR #204
2018-01-05 15:00:21 +01:00
rdb
c1679472cd
actor: change parent of exposed joint to character
...
This prevents exposed joints from not being affected by a transform directly on the Character node. See panda3d/panda3d#221 for more details.
Fixes #221
2018-01-05 14:39:39 +01:00