24555 Commits

Author SHA1 Message Date
kamgha
71f4802630 makepanda: MSVC switch /Ox to /O2 for opt4
/O2 is more "aggressive" for speed optimization and recommended for release builds, /Ox can be useful for debugging.

Also remove flags implied by /O2

Closes #1016
2020-11-02 11:02:49 +01:00
Brian Lach
eb367430f7
openal: Fix paused sounds not resuming from where they were paused (#1031) 2020-10-08 17:17:36 +02: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
0e70fcf1ef Bump version number on release/1.10.x branch to 1.10.8 2020-10-02 12:15:31 +02:00
Daniel
5443f62068 makepanda: Add missing YY_NO_UNISTD_H to built Flex sources
Closes #1028
2020-10-02 12:15:26 +02:00
rdb
a5e6aa5970 Remove .travis.yml (we use GitHub Actions nowadays) 2020-10-02 12:09:42 +02:00
rdb
e060a29228 general: Clean up hacks to support Python 3.5 from codebase 2020-10-02 12:07:04 +02:00
rdb
e879817ed5 makepanda: Remove support for Python 3.5 2020-10-02 12:05:59 +02:00
rdb
7ae3908c5d Remove support for EOL Python 3.5 2020-10-02 00:27:28 +02:00
rdb
f77813836d express: Fix compile error on Windows 2020-10-02 00:23:08 +02:00
Daniel
f0791e266b git: Ignore SDK folder used by makepanda 2020-10-02 00:22:55 +02:00
Brian Lach
62225e441d x11display: Remove incorrect INLINE marker on these methods
Closes #1026
2020-10-02 00:07:22 +02:00
rdb
442e855a61 express: Fix a compilation issue in certain configurations 2020-10-02 00:06:52 +02:00
rdb
6d228dfd2e express: Add ZipArchive class, support mounting zips to VFS 2020-10-01 23:58:27 +02:00
rdb
4b7e32e9b0 egldisplay: Fix bad use of X11 None symbol instead of nullptr 2020-09-16 23:39:13 +02:00
rdb
5d0044a481 tests: Add unit test for RenderEffects comparison 2020-09-16 23:38:56 +02:00
rdb
5655e97ec1 interrogate: fix misbehaving == and != operator if only < is defined
Fixes comparison of two empty RenderEffects objects
2020-09-16 23:21:16 +02:00
rdb
54b93116e8 Merge branch 'release/1.10.x' 2020-09-16 10:59:59 +02:00
rdb
7f11dc19cd makepanda: fix ABI flags not being stripped from PYTHONVERSION 2020-09-14 19:31:07 +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.
v1.10.7
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
7711757d3d makewheel: add Python DLL before adding panda3d modules
This should ensure that dependencies of Python (such as VCRUNTIME140.DLL) make it into the deploy_libs folder, rather than the panda3d folder.
2020-09-14 11:56:25 +02:00
rdb
c646924f03 tests: remove occasionally-failing PythonUtil.weightedChoice test
It does not test a behavior of this function that we support, anyway.
2020-09-14 11:01:01 +02:00
rdb
9da7988909 CMake: fix pandac/PandaModules.py to match makepanda's 2020-09-13 16:18:02 +02:00
rdb
921cbc6bae Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a' 2020-09-13 16:17:06 +02:00
rdb
86258d2a97 readme: Update for 1.10.7
[skip ci]
2020-09-13 16:15:35 +02:00
rdb
e0d3413182 doc: Add 1.10.7 release notes
[skip ci]
2020-09-13 16:15:24 +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
kamgha
30d8c90f77 makepanda: MSVC fix generating non-SSE2 code for x86
Closes #1018
Fixes #1017
2020-09-13 15:17:02 +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
c7f75fc906 egg2pg: Add egg-force-srgb-textures environment variable
This will cause all textures in .egg files to be loaded with an sRGB format setting (except with an envtype that generally assumes a linear texture).

Fixes #1006
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
rdb
56c33fb8b6 tests: add unit test for StreamReader.readlines() 2020-09-12 23:09:38 +02:00
rdb
0c2f8fec3c palettizer: fix missing case for F_srgb and F_srgb_alpha 2020-09-12 22:57:59 +02:00
rdb
2b3a1d9d73 prc: StreamReader should hold GIL for PyBytes_FromStringAndSize
This is due to python/cpython#21074, which causes a segfault in the latest Python master when creating a bytes object of size 0.

readlines() has been reimplemented to use a C++ vector in order to prevent constantly re-locking and unlocking the GIL for every line.
2020-09-12 22:53:37 +02:00
rdb
2402594808 interrogatedb: Fix faulty version comparison in Python 3.10 2020-09-12 22:50:29 +02:00
rdb
dabab90415 interrogate: Fix compilation error of bindings with Python 3.9+ 2020-09-12 22:50:03 +02:00
rdb
54ffc534fb makepanda: Fix various issues building with Python 3.10 2020-09-12 22:49:46 +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
a968caf1d2 windisplay: Fix parented window receiving WS_POPUP style
Fixes #915
2020-09-12 15:38:50 +02:00
rdb
ce4690b869 deploy-stub: disable PYTHONINSPECT mechanism in +opt builds 2020-09-12 15:10:03 +02:00
rdb
e443acd7a0 deploy-stub: Enable line_buffering on Windows when writing to log file
Fixes #947
2020-09-12 15:04:14 +02:00
rdb
a94914fd86 deploy-stub: forward compat with Python 4.0 2020-09-12 15:00:41 +02: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
d997be50ff glgsg: fix state tracking bug passing view parameters to shader
These parameters are already taken care of by set_state_and_transform().

Also comment out a few lines of code that would prevent the latter from being called for transform changes, but which never triggered anyway.
2020-09-09 18:06:42 +02:00
rdb
3daf1ae1b1 general: Assorted API reference fixes 2020-09-09 18:03:49 +02:00
rdb
4d20b36098 doxygen: exclude directscripts directory building C++ API reference 2020-09-09 17:59:53 +02:00
rdb
f8cb1499be rplight: various API documentation fixes 2020-09-09 17:59:41 +02:00