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
rdb
ad0e634292
egg: Add (discouraged) way to specify sRGB texture format ( #924 )
...
This should NOT be used by exporters, but is provided only for the sake of round-trippability of .bam files.
2020-09-06 14:44:44 +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
rdb
005d187ac4
egldisplay: Support creating a window with sRGB framebuffer
2020-09-06 10:14:28 +02:00
rdb
24fb2a2c88
egldisplay: Fix invalid software/hardware detection on Mesa
2020-09-06 09:21:21 +02:00
rdb
40842ef217
gles2gsg: fix sRGB texture support
2020-09-06 09:20:34 +02:00
rdb
cca84131df
gles2gsg: squelch warning about missing #version line in shader
2020-09-06 09:19:51 +02:00
LD
28f49ffd0b
cocoadisplay: Use [event charactersIgnoringModifiers] when UCKeyTranslate() can not translate the input key
2020-09-01 20:29:53 +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
Daniel
216475091e
maya: Silence compiler warning
2020-09-01 11:00:53 +02:00
Daniel
1f504f6031
mayaegg: Fix animations not being created during egg traversal
...
Closes #1004
2020-09-01 11:00:31 +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
1cc82f47b6
fmod: Fallback to opening file via callbacks if direct doesn't work
...
Fixes #1002
2020-09-01 10:41:34 +02:00
rdb
5a6e501297
speedtree: Change pandabase.h includes to contribbase.h (see #990 )
2020-09-01 08:58:54 +02:00
Mitchell Stokes
d547225a55
Move speedtree code to contrib
...
SpeedTree support in Panda is unmaintained, so move it to contrib to better
reflect it's current status.
Closes #990
2020-09-01 08:57:57 +02:00
Derzsi Dániel
7f426ea64e
putil: Turn UniqueIdAllocator's free into an atomic operation ( #999 )
2020-08-29 15:17:20 +02:00
Daniel
085795db83
putil: Make UniqueIdAllocator safe for multithreaded usage
...
Closes #995
2020-08-27 14:35:47 +02:00
Daniel
95d1ac2f8b
tests: Add proper tests for UniqueIdAllocator
2020-08-27 14:35:25 +02:00
Daniel
0d2dddd988
tests: Account for clock inaccuracies in all ClockObject tests
...
Closes #998
2020-08-27 14:33:20 +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
9deb569441
pgui: Work around Windows bug with tab character in PGEntry
...
Fixes #994
2020-08-21 14:29:27 +02:00
rdb
4484aca8e1
Revert "pgui: Ignore PGEntry tab keypress"
...
This reverts commit 1f05d37b209470c179b6d00f888ac39ffd14bcf4.
See #994
2020-08-21 14:06:22 +02:00
rdb
1236303acf
tests: Add new unit test for Triangulator (also testing #985 )
2020-08-18 18:38:19 +02:00
rdb
7b9b65693a
mathutil: Gracefully deal with "tails" in Triangulator
...
Fixes #985
2020-08-18 17:58:28 +02:00
rdb
5ef1db3fd3
Revert "mathutil: error instead of infinite loop if triangulation failed"
...
This reverts commit 9c4cb28805edf550fac9d8f4f87e568bbbf9a154.
The "fix" wasn't very satisfying, I'm going to try another approach.
2020-08-18 17:25:58 +02:00
rdb
43507dd118
mathutil: Fix Triangulator bug cleaning up hole indices
2020-08-18 16:38:12 +02:00