Daniel
0d2dddd988
tests: Account for clock inaccuracies in all ClockObject tests
...
Closes #998
2020-08-27 14:33:20 +02:00
rdb
b655aa86c5
Merge branch 'release/1.10.x'
2020-08-17 13:05:51 +02:00
rdb
73b5316c6c
gobj: add margin to float comparison in lens.project()
...
Fixes unit tests in double-precision build.
Cherry-picked from fa53e013cbc795dcccc57bc8503ca4788408fb86
2020-08-17 12:42:34 +02:00
Mitchell Stokes
dd77bd4cdf
shadergen: Make use of material alpha if present ( #925 )
...
The material alpha overrides alpha values from flat color or vertex colors. This follows what the fixed-function pipeline does.
Fixes #912
2020-08-17 12:27:03 +02:00
rdb
9ac1a4f7cb
tests: Add some unit tests for #987
2020-08-17 12:16:33 +02:00
rdb
be24266715
tests: Copy some linmath/gobj tests over from master branch
2020-08-17 12:16:33 +02:00
LD
9f0fc0a594
dtoolbase: Fix bad double-prec NaN/inf detection in release build
...
Fixes #987
Closes #988
2020-08-17 12:16:33 +02:00
rdb
c7341bec26
tests: Fix Filename test to match paths case-insensitively
2020-08-17 12:16:33 +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
f4cc2d7441
makepanda: Remove old makepanda.vcproj file
...
It is a maintenance burden to update, and makepanda can now produce VS projects, so this is no longer needed.
2020-08-17 10:31:34 +02:00
rdb
11fbdf4e6f
nativenet: Assorted code clean-up
2020-08-17 10:31:22 +02:00
FReeshabh
56ed86334b
general: Update header guard names to fit convention
...
Closes #899
2020-08-17 10:09:13 +02:00
Daniel
1f05d37b20
pgui: Ignore PGEntry tab keypress
...
Closes #885
2020-08-17 10:02:06 +02:00
rdb
8178fb21f3
direct: don't rely on vfs being present in builtins
2020-08-11 09:40:34 +02:00
rdb
9c4cb28805
mathutil: error instead of infinite loop if triangulation failed
...
Fixes #985
2020-08-11 09:38:41 +02:00
rdb
dde0e5255d
nativenet: remove unused and invalid HP_SOCK implementation
...
Closes #984
2020-08-10 10:49:29 +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
abe761c30e
github: Add issue templates
...
[skip ci]
Closes #965
Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-07-25 16:27:38 +02:00
Daniel Stokes
2d6122457b
Add initial pull request template
...
[skip ci]
Co-authored-by: rdb <git@rdb.name>
Closes #964
2020-07-25 16:11:04 +02:00
rdb
8ae4c8eee8
Add initial CONTRIBUTING.md file
...
Closes #962
2020-07-25 15:56:45 +02:00
rdb
35d6f3daa3
Merge branch 'release/1.10.x'
2020-07-25 15:55:05 +02:00
rdb
72b96f1afa
putil: define pbitops in terms of fundamental types
...
This ensures there's always an overload matching a particular definition of size_t / uint64_t, etc.
2020-07-25 09:53:15 -04:00
Daniel Stokes
fbcffe02fa
Add initial CONTRIBUTING.md
2020-07-25 15:03:01 +02:00
rdb
dcc08ac572
Merge branch 'release/1.10.x'
2020-07-25 14:58:35 +02:00
Tohka
c4af56620b
gobj: Support registering texture pool filters from Python code
...
Closes #954
2020-07-25 14:54:32 +02:00
Mitchell Stokes
2893d8cef8
device: Fix erroneous dpad_*-up events when emulating a dpad on Linux
...
The first time axis are processed while a dpad axis is engaged will
result in the opposite dpad "button" getting set to a state of S_up from
S_unknown, which results in an '-up' event getting fired. Instead,
assume the emulated dpad buttons start in a state of S_up.
This fix is for the Joystick API and for the evdev API, but only the
evdev changes were tested.
Closes #973
2020-07-25 14:07:33 +02:00
rdb
3fe1d286d0
collide: Add docstring for CollisionTraverser::traverse()
2020-07-25 12:50:09 +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
rdb
9d91274739
gobj: Don't use Texture::up_to_power_2 for memory alignment
...
That method uses plain int, and will therefore fail for larger allocations.
2020-07-25 10:43:21 +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
Donny Lawrence
5d6ff0ecc8
cocoadisplay: Fix handling of shift modifier
...
Closes #967
Fixes #959
2020-07-25 10:27:18 +02:00
rdb
2cb5b95d08
makewheel: Fix DLL location when building with --no-copy-python
...
This fixes a missing libffi-7.dll dependency of _ctypes.pyd
2020-07-01 11:14:13 +02:00
rdb
e787929c85
Merge branch 'release/1.10.x'
2020-06-29 14:50:59 +02:00
rdb
f7cef5c284
tests: fix typo in TextureAttrib test
2020-06-29 12:49:26 +02:00
rdb
40962e1eb5
gsg: Don't error for sampler/light type mismatch for non-casting lights
...
Closes #942
2020-06-29 12:17:36 +02:00
rdb
d659a3b0ff
dist: fix location of numpy/Pillow shared libraries
...
Fixes #914
2020-06-29 11:58:00 +02:00
rdb
8d99f38aa2
tests: update TextureAttrib unit tests
2020-06-29 11:32:15 +02:00
rdb
d1ab940e93
pgraph: Fix texture replacement creating unique TextureAttrib
...
This needs a more thorough fix (probably on master), but the implicit sort is incrementing every time, and it is being included in the hash/compare, so every time the same texture is replaced on the same TextureAttrib, it will be a unique TextureAttrib, causing garbage to accumulate and the state system to be generally less effective.
2020-06-29 11:30:07 +02:00
rdb
a51fbf2f9a
readme: change python version in README.md instructions to python3
...
Ubuntu still maps python and python-dev to Python 2, so the explicit python3 is needed.
[skip ci]
2020-06-25 18:48:42 +02:00
rdb
307a74deff
workflow: Ignore commits with [skip ci] or [ci skip]
2020-06-25 18:32:06 +02:00
rdb
04dd4fe354
pgui: Add PGItem Python properties
2020-06-22 22:50:15 +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
rdb
f3c0fa06b3
makepanda: silently ignore removed --host argument
2020-06-20 23:02:04 +02:00
Fireclaw
0f2cf6d14b
Add maximized property to WindowProperties, plus implementation ( #809 )
...
Closes #809
Co-authored-by: rdb <git@rdb.name>
2020-06-20 23:00:52 +02:00