rdb
5106fc879f
Changes for compatibility with Python 3.13
...
Includes some preliminary work to make free-threading safe, see also #1683
2024-09-19 16:01:10 +02:00
rdb
b32459ffa1
Merge branch 'release/1.10.x'
2024-09-19 15:51:25 +02:00
rdb
e70d0b47fc
distributed: Fix very minor memory leak
2024-09-19 14:20:35 +02:00
Timothy Choi
8caf582b32
refactor(distributed): Un-nest generateGlobalObject's applyFieldValues function ( #1667 )
2024-09-16 13:55:53 +02:00
rdb
92db1840f9
net: Prepare to split these classes out into panda3d.net module
...
See #1466 - these classes are still part of panda3d.core as of 1.11, but they should really be imported from panda3d.net (they can be imported from either place in 1.11). A future release will remove them from panda3d.core entirely.
2024-03-02 13:41:23 +01:00
rdb
73360393df
Switch use of Py_INCREF to new Py_NewRef function
...
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on
A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
Kylie Smith
e55bb94996
Added missing control message types
2023-10-10 13:03:36 +02:00
WMOkiishi
1ca0e3f1ea
directnotify: annotate types ( #1527 )
2023-10-09 09:46:32 +02:00
dakotachasesmith
160ba090a5
clientrepositorybase: Prevent crash on handleUpdateField if updates are handled in Python and repo does not have owner view
2023-08-06 08:09:32 +02:00
WMOkiishi
32edfa43fd
direct: Get direct to pass a mypy check
...
Closes #1476
2023-08-04 14:31:44 +02:00
WMOkiishi
f7f3179a89
Move test code from across `direct` to proper test modules
...
Closes #1480
2023-08-02 08:37:51 +02:00
WMOkiishi
d1f4212acd
direct: Utilize the built-in `sorted` function
...
Closes #1479
2023-08-02 08:37:51 +02:00
rdb
37b5c9ad9e
direct: More code style changes
2023-02-22 11:52:19 +01:00
rdb
9a15e9245c
direct: Additional cleanup, update .pylintrc file
2023-02-22 02:44:53 +01:00
rdb
8b1126ba3e
direct: General cleanup of Python code
2023-02-20 20:52:14 +01:00
WMOkiishi
c7c70bc32a
direct: Cut down on usage of `import *` ( #1454 )
...
* Remove most `import *`s in `direct`
* Address feedback
2023-02-12 13:16:52 +00:00
rdb
8bc1743d75
Merge branch 'release/1.10.x'
2023-01-27 16:17:41 +01:00
Disyer
6cb074e5c8
distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
...
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro
Closes #1430
2023-01-16 15:14:31 +01:00
Cary Sandvig
b10b49bd6b
fix SocketStream::flush() covariant
2023-01-03 11:48:36 -05:00
rdb
5fcc04ba7f
distributed: Change `gc-save-all` to 0 by default
...
Fixes #1407
2022-12-07 13:54:47 +01:00
rdb
867f60dcca
pstats: Rename "Show code" collector to "Tasks"
...
Also remove outdated definitions from pStatProperties.cxx
2022-11-29 20:50:18 +01:00
rdb
cf04a04e32
Merge branch 'release/1.10.x'
2022-07-24 21:43:09 +02:00
Derzsi Dániel
89ee20bcf7
distributed: Import inspect only during DC file read
...
Closes #1336
2022-07-24 21:40:11 +02:00
rdb
59755a043e
distributed: Fix regression from c917a9e (which was fix for #1262 )
...
With that fix, getDatagram would return the wrong result after the datagram was reassigned in C++
2022-05-05 10:44:26 +02:00
rdb
c917a9e1a1
distributed: PyDatagramIterator now retains reference to Datagram
...
Fixes #1262
2022-03-01 16:09:07 +01:00
rdb
a0be50c769
general: Fix assorted compiler warnings
2022-03-01 16:09:07 +01:00
rdb
eefcae7b05
direct: Add `base.clock`, deprecate `globalClock`
2021-12-25 11:47:42 +01:00
Daniel
bb6a66a582
direct: Fix undefined ConfigVariableBool name in ClockDelta
2021-04-01 17:08:13 +03:00
rdb
3579855ff1
distributed: Switch DistributedSmoothNodeBase.BroadcastTypes to IntEnum
...
The Enum from PythonUtil is obsolete since the introduction of a proper enum module in Python 3.4.
2021-03-22 19:29:21 +01:00
rdb
3fe1780f16
direct: Fix use of various deprecated APIs
2021-03-09 19:21:26 +01:00
Michael Wass
12e86bd842
direct: change some variables to not override language builtins/keywords
...
Closes #1120
2021-02-24 12:14:17 +01:00
rdb
7a838e7212
Merge branch 'release/1.10.x'
2021-02-24 12:14:04 +01:00
Michael Wass
ea49c121a0
direct: fix TypeError caused by py3 division changes
2021-02-24 09:46:53 +01:00
rdb
be9dde1eee
direct: add .pylintrc, perform major code cleanup pass
...
Closes #989
Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb
cf60284ca9
Merge branch 'release/1.10.x'
2020-12-31 00:05:10 +01:00
rdb
2ce373b0da
distributed: Assorted error fixes
2020-12-30 22:53:15 +01:00
rdb
20f38cad66
direct: Fix a few remaining uses of file() instead of open()
2020-12-30 22:35:24 +01:00
rdb
a1b2d5b8dc
Make use of new function call methods in Python 3.9
2020-12-12 17:28:21 +01:00
rdb
66ac3be604
Merge branch 'release/1.10.x' into master
2020-09-12 23:23:58 +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
b655aa86c5
Merge branch 'release/1.10.x'
2020-08-17 13:05:51 +02:00
rdb
8178fb21f3
direct: don't rely on vfs being present in builtins
2020-08-11 09:40:34 +02:00
rdb
36c3d3e622
Merge branch 'release/1.10.x'
2020-05-05 18:15:57 +02:00
Fireclaw
316d254c64
distributed: Fix two ServerRepository issues in Python 3
2020-05-05 17:28:32 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
Sam Edwards
9b7bcf2564
Merge branch 'master' into cmake
2019-11-07 21:21:04 -07:00
rdb
a72be90f17
Merge branch 'release/1.10.x'
2019-10-29 23:13:22 +01:00
fireclawthefox
b3c79096e5
distributed: fix division exception in ServerRepository
...
change operator to double slash for integer division
Closes #762
2019-10-29 20:47:48 +01:00
rdb
f149fb4ab0
direct: big formatting changes for the benefit of API reference
...
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
Sam Edwards
fe7fdc0976
CMake: Reclassify direct/distributed/ headers as installed headers
2019-09-16 17:43:03 -06:00