25273 Commits

Author SHA1 Message Date
rdb
174cb48990 gtk-stats: Replace uses of deprecated GTK APIs
As of this change, requires GTK 2.24
2022-02-01 11:47:04 +01:00
Maxwell175
350836cc38
PythonUtil: remove Enum class (#1253) 2022-02-01 10:31:14 +01:00
rdb
fb7a2d7a13 text-stats: Add JSON output mode in chrome://tracing format
This allows the whole trace to be captured and then loaded into chrome://tracing or https://ui.perfetto.dev
2022-01-30 02:03:18 +01:00
rdb
f6322d8c93 pipeline: De-inline ConditionVarDummyImpl methods
This is the only ConditionVar implementation to import thread.h directly
2022-01-30 02:03:18 +01:00
rdb
c66ca2ece1 pstats: Report PStats overhead more honestly
Half the overhead was being missed due to the unfortunate collector placement
2022-01-30 02:03:18 +01:00
rdb
c7c1c683da pstats: Disable "App:Show code:General" collector for now
It is generating negative values, needs further investigation - maybe we need to restructure the whole hierarchy
2022-01-30 02:03:18 +01:00
rdb
36edb22fd1 pstats: Include client pid with hello message
Useful for uniquely identifying the process in a situation where multiple clients on the same host connect with the same server.

New version bump is not necessary, as old servers should just ignore the extra field in the datagram.
2022-01-30 02:03:18 +01:00
rdb
8034cb5a92 dtoolbase: Introduce patomic<> as replacement for AtomicAdjust
This typedefs to std::atomic<> when building with true threading, and uses a dummy implementation without.

This lets us use the full range of atomic operations offered by C++11, including explicit specification of memory fences.  Using barriers lets the compiler generate more optimal code since currently we are using the quite strict sequential-consistent memory ordering for all operations.  ReferenceCount has been changed to use the correct barriers (I hope).  This may especially make a difference on weak ordering systems such as ARM.

Over time we should gradually replace the use of AtomicAdjust with the new patomic file.
2022-01-30 01:53:36 +01:00
rdb
ce7c1ec16c dist: Suppress warning about android_log module building for Android
This module is linked statically and provided via the built-in module loader
2022-01-14 10:56:42 +01:00
rdb
b803ef2ac5 dist: Set default Linux target to manylinux2014
According to
https://github.com/mayeut/pep600_compliance/blob/master/README.rst
manylinux2010 is EOL, and so are all Linux distributions that support manylinux2010 but not manylinux2014.

Setting the default to manylinux2014 means that more thirdparty packages are supported and hopefully means we're not always behind and have to struggle to keep building for it.
2022-01-14 10:54:26 +01:00
rdb
a56ee57422 Merge branch 'release/1.10.x' 2022-01-14 10:50:10 +01:00
rdb
c32866fa33 showbase: Fix missing ClockObject import in JobManager
Regression in eefcae7b05aef7628b691d8601f8d7d9d0916cb3
2022-01-14 10:48:25 +01:00
rdb
58afbbfaa0 dist: Add missing platforms to default installer dictionary 2022-01-14 10:46:56 +01:00
rdb
484a9394f9 installpanda: Correct lib dir detection on ArchLinux
Eliminates a downstream patch in the AUR

[skip ci]
2022-01-14 10:42:14 +01:00
rdb
be2f6a7c61 glgsg: Fix missing GR_adjacency geom rendering flag
I don't think this flag being missing currently affects any functionality, but it is meant to be set when geometry shaders (with adjacency) are supported.
2022-01-14 10:25:01 +01:00
rdb
54606c8894 showbase: docstring fix
[skip ci]
2022-01-14 09:58:57 +01:00
rdb
bd37e8776f makepanda: Fix platform tag on aarch64 manylinux
Wheels ended up being tagged as i686.
2022-01-14 09:58:57 +01:00
rdb
b518da99a6 windisplay: fix origin not respected when switching to windowed mode 2022-01-12 10:23:19 +01:00
rdb
14bdcf40fb Bump version number on release/1.10.x branch to 1.10.12 2022-01-12 10:22:52 +01:00
rdb
b7fc80d6cc makewheel: Fix huge .whl files due to lack of compression for some files
Regression from 1f106a0a2a26c2db3860f8c0ff95deeddde99e8a

[skip ci]
2022-01-10 15:43:23 +01:00
rdb
440b2c48b8 egg2pg: Slight cleanup
[skip ci]
2022-01-10 15:40:06 +01:00
rdb
6fe21fd8bd egg2pg: Add support for texture matrices to bam2egg 2022-01-10 13:22:57 +01:00
rdb
992cbb0840 pgraph: optimizations for analyze() 2022-01-10 13:22:34 +01:00
rdb
a1538b4f7c pnmimage: Add offset parameters to PNMImage::perlin_noise_fill() 2022-01-10 13:21:51 +01:00
rdb
6777f19162 pnmimage: Add an additive PNMPainter brush 2022-01-10 13:21:46 +01:00
rdb
40f54a766c Merge branch 'release/1.10.x' 2022-01-07 10:52:28 +01:00
rdb
d66ef59ecc pgraph: Fix assertion in PythonLoaderFileType with debug Python build v1.10.11 2022-01-07 10:44:03 +01:00
rdb
b736b3e4db filter: Accept floating-point values for FilterManager mul= parameter
Fixes #1231
Closes #1232
2022-01-07 10:15:49 +01:00
rdb
99c133a7f5 readme: Update download link to 1.10.11
[skip ci]
2022-01-06 17:12:40 +01:00
rdb
50dd0113e7 doc: Update release notes for 1.10.11
[skip ci]
2022-01-06 17:12:13 +01:00
rdb
91f3ab01f3 mayapath: Properly handle new bin2/bin3 folders on Windows for Maya 2022 2022-01-06 17:06:16 +01:00
rdb
2d77093398 gobj: Fix TexturePeeker docstrings for filter_* being incorrect about wrapping
Fixes #1195
2022-01-06 12:52:10 +01:00
rdb
340dea5261 gobj: Fix crash when trying to load directory as txo/dds/ktx file 2022-01-06 11:52:40 +01:00
rdb
7a2a83572c Merge branch 'release/1.10.x' 2022-01-05 08:50:11 +01:00
rdb
78b67988fb makepanda: Fix wrong installation path for Python SDK on Debian/Ubuntu
This partially reverts commit 2fcacd1bab1226ea0571c5d925daf6028a862f96.

Fixes #1230
2022-01-05 08:48:26 +01:00
rdb
38488d89a2 test_wheel: Require at least pytest 6.2.4 for Python 3.10+
See pytest-dev/pytest#8539
2022-01-05 08:33:31 +01:00
rdb
ae6be7e113 makepackage: Fix extra comma in deb depends line when building without Python 2022-01-05 08:14:25 +01:00
rdb
d65ca1edd6 pgraph: Fix nodes with same key but diff value getting flattened
This was a regression from 69b3468b2c40111def34e4b609a0aa36267c5582
2022-01-05 08:14:08 +01:00
rdb
ce9d2e38bf android: Improve physical mouse and keyboard handling:
- Support scroll wheel
- Support middle click, forward and back buttons (mouse4 and mouse5)
- Fix handling of key repeat events
- Correctly map numpad keys

[skip ci]
2022-01-04 20:35:17 +01:00
rdb
e759e4a152 models: Remove obsolete and unused plugin_images folder
[skip ci]
2022-01-04 17:31:02 +01:00
rdb
d46651c032 Merge branch 'release/1.10.x' 2022-01-04 16:35:19 +01:00
rdb
28b566726a dist: Suppress spurious warnings about missing tkinter modules
[skip ci]
2022-01-04 16:00:45 +01:00
rdb
b2aa5beb96 Use 1.10.11 thirdparty tools 2022-01-04 15:33:31 +01:00
rdb
4ce5efb044 makewheel: Remove _tkinter.so from Panda3D wheels
It is nowadays supplied in a separate wheel, see also #780

Keep it in the Windows wheel for now since that's the only platform where deploying without a separate tkinter wheel is currently supported, but will remove it on master branch
2022-01-04 15:31:21 +01:00
rdb
67b89983ac dist: Also accept manylinux wheels when requesting generic linux tag 2022-01-04 15:25:19 +01:00
rdb
6935d2badc dist: Add support for tkinter
Requires adding `tkinter` to `requirements.txt`. For now, wheels are only provided for Python 3.6 and up.

Fixes #780
2022-01-04 15:21:24 +01:00
rdb
210f7aecfb x11: Support mouse buttons 4 and 5 2022-01-04 11:06:25 +01:00
rdb
d1c756713d display: Handle raw event for key between Shift and Z on ISO keyboards
This key is called raw-< for lack of anything better, it's usually mapped as backslash on US keyboards but that would not allow distinguishing between the backslash key near the enter key.
2022-01-04 11:05:46 +01:00
rdb
c358f09f85 windisplay: Support lmeta, rmeta, and menu keys 2022-01-04 10:10:27 +01:00
rdb
08628dc97e windisplay: Support horizontal scroll wheel 2022-01-04 10:09:36 +01:00