rdb
ed397b3ab8
Merge branch 'release/1.10.x'
2020-12-09 17:59:37 +01:00
rdb
35eeb27386
VFSImporter: fix detection of source file encoding in Python 3
...
Incidentally, this should (in theory) also fix the _bootlocale import loop referenced in #1065
2020-12-09 15:46:51 +01:00
rdb
7b4ecbd60f
directtools: Fix use of built-in direct instead of base.direct
2020-12-09 15:44:13 +01:00
rdb
c9aedc2b44
Merge branch 'release/1.10.x'
2020-11-28 22:26:04 +01:00
rdb
4e7742b8e2
VFSImporter: replace deprecated U open() flag
...
Fixes #1063
2020-11-28 22:22:32 +01:00
Mitchell Stokes
bd7b6d8fe7
build_apps: Allow setting hidden imports via setuptools options
...
This is exposed as a hidden_imports option, which is a dictionary. The
keys are module name and the values are a list of modules to include
when an import for the key is found.
2020-11-25 01:08:36 +01:00
LD
f4d372fdcd
dist: Add platform name to NSIS installer filename and generate it into the dist directory
...
Closes #1038
2020-11-17 23:56:30 +01:00
rdb
d62146a317
Merge branch 'release/1.10.x'
2020-11-17 23:56:00 +01:00
Daniel
7eba53cffa
showbase: Fix an entire DirectSession being (re)created on node selection
...
Closes #1051
2020-11-17 12:02:53 +01:00
rdb
f1ca8a9018
direct: Additional linking in Loader API documentation
2020-11-17 12:01:42 +01:00
rdb
f88441c584
dist: Fix error building Windows executable in Python 3.9
2020-11-17 12:01:05 +01:00
Drew C
75fb0d3b50
More modern Direct Session UI
...
Parents it to the corners properly, and has a nicer look to it
2020-11-04 14:05:52 -05:00
rdb
c788912070
Merge branch 'release/1.10.x'
2020-10-02 12:20:58 +02:00
Daniel
b507c88cd9
directtools: Fix empty scaling node of object handle
...
Closes #1029
2020-10-02 12:16:10 +02:00
rdb
54b93116e8
Merge branch 'release/1.10.x'
2020-09-16 10:59:59 +02:00
rdb
36eed0d9c9
dist: don't exclude api-ms-win-crt-*.dll libraries
...
These are needed to run the program on systems without the right CRT installed.
2020-09-14 12:30:43 +02:00
rdb
8e39072f6f
dist: don't search same directory for dependencies more than once
2020-09-14 11:58:57 +02:00
rdb
921cbc6bae
Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a'
2020-09-13 16:17:06 +02:00
rdb
22e5f95c7f
dist: don't warn about missing DLLs that are a part of Windows
2020-09-13 15:26:56 +02:00
LD
2e862c1bbe
dist: fix the relative path of the files and output dirs in the generated NSIS script
...
Closes #1008
Fixes #1003
2020-09-13 15:17:02 +02:00
rdb
4e8ee5bae5
dgui: Add snake_case aliases for DirectGuiGlobals
2020-09-13 15:17:02 +02:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +02:00
Mitchell Stokes
306c0fce0f
build_apps: Disable the pip version check when downloading wheels
...
If the user is not using the latest version of pip, they will likely be
spammed by pip enough as is. There is not much need to remind them about
this for each built platform.
2020-09-12 12:01:05 -07:00
rdb
54238e9730
direct: Add more links to manual pages in module docstrings
...
See panda3d/panda3d-docs#53
[skip ci]
2020-09-11 13:15:58 +02:00
rdb
4d20b36098
doxygen: exclude directscripts directory building C++ API reference
2020-09-09 17:59:53 +02:00
rdb
cd435ecec8
filter: Support HDR in CommonFilters (using ACES tonemap)
2020-09-06 14:23:45 +02:00
rdb
f7375e215e
filter: Add built-in sRGB encoding filter
2020-09-06 13:30:02 +02:00
Drew C
16f489ac5b
showbase: Parent the OSD to a2dTopLeft
...
The Y position is set to -0.1 as the original value was 0.9, so it was intended to be about 1 unit down from the top.
Closes #977
2020-09-01 11:17:31 +02:00
rdb
6c8066bb61
direct: Remove a remaining sys.version_info check
2020-09-01 11:12:00 +02:00
rdb
707ea089cb
Merge remote-tracking branch 'origin/release/1.10.x'
2020-09-01 11:09:29 +02:00
rdb
ea01c3e0eb
directutil: Remove MySQL-related classes (see discussion in #1000 )
2020-09-01 11:03:42 +02:00
rdb
fcfe3206eb
cleanup: Remove newlines at end of direct/src/fsm/State.py
2020-09-01 10:55:37 +02:00
rdb
dae9e31223
direct: fix various uses of types.MethodType in Python 3 (from #1000 )
2020-09-01 10:54:38 +02:00
rdb
ab6bf5f4f7
general: Add workaround for Windows bug in various uses of isprint()
...
See #994 ; there is a regression in certain versions of the Windows CRT that gives the wrong result for isprint(). This adds workarounds to various potentially affected locations where isprint() is being used.
2020-08-21 14:51:42 +02:00
rdb
b655aa86c5
Merge branch 'release/1.10.x'
2020-08-17 13:05:51 +02:00
Mitchell Stokes
2cb3779204
build_apps: Use FreezeTool.__replacePaths() to cleanup tracebacks
...
This alters paths in tracebacks to contain just module names instead of
full, absolute paths. This makes tracebacks easier to read and leaks
less information about the build machine.
Closes #991
2020-08-17 10:59:18 +02:00
rdb
dfa1eb78cd
dist: Fix replacePaths just prepending "linecache" before paths
2020-08-17 10:59:18 +02:00
rdb
8178fb21f3
direct: don't rely on vfs being present in builtins
2020-08-11 09:40:34 +02:00
rdb
32143055bd
PythonUtil: Fix usage of reduce() for Python 3
...
Backport to 1.10.7; see #980
2020-08-04 11:08:51 +02:00
pythonengineer
13011278af
PythonUtil: Fix usage of reduce() for Python 3
2020-08-04 11:05:29 +02:00
rdb
3c4f666509
direct: Improvements to API reference, better cross-linking
2020-07-27 13:40:31 +02:00
rdb
dcc08ac572
Merge branch 'release/1.10.x'
2020-07-25 14:58:35 +02:00
rdb
52127f6805
ShowBase: None comparison cleanup
2020-07-25 12:49:58 +02:00
rdb
43b5345588
ShowBase: significant improvements to ShowBase API documentation
...
Fixes #198
2020-07-25 12:48:54 +02:00
Tohka
5fdbc97499
direct: Fix TexMemWatcher crash when graphics memory reaches 1 GB
...
Closes #975
Co-authored-by: rdb <git@rdb.name>
2020-07-25 10:32:36 +02:00
rdb
e787929c85
Merge branch 'release/1.10.x'
2020-06-29 14:50:59 +02:00
rdb
d659a3b0ff
dist: fix location of numpy/Pillow shared libraries
...
Fixes #914
2020-06-29 11:58:00 +02:00
Donny Lawrence
0f3948005f
FreezeTool: Place blob in custom segment on macOS
...
The motivation behind this is in the code's comments. FreezeTool will
only put the blob in a custom segment if the provided deploy-stub
contains a __PANDA segment stub. Otherwise, it keeps the old behavior of
simply putting the blob at the end of the binary.
2020-06-22 22:41:33 +02:00
Donny Lawrence
23041ec069
FreezeTool: Make blob_size multiple of page size
...
A Mach-O segment must be sized in 4KiB increments. This shouldn't change
behavior for other platforms since mmap would round it up to hit a
page boundary anyway.
2020-06-22 22:41:30 +02:00
Donny Lawrence
46ae5a52d3
FreezeTool: Don't write blobinfo to wrong offset
...
The mechanism for searching for a specific symbol in a Mach-O binary got
tripped up when hitting the blobinfo stab entry, causing it to return an
offset of 0.
2020-06-22 22:41:26 +02:00