23636 Commits

Author SHA1 Message Date
rdb
73076c7115 android: add missing include for open() definition 2019-01-19 23:04:19 +01:00
rdb
85ca6f66f2 makepackage: add some missing imports 2019-01-19 23:02:30 +01:00
rdb
e4f0a9ce32 pgraph: allow getting NodePath from CullTraverserData in Python 2019-01-19 22:59:51 +01:00
LD
1389ada384 setuptools: os.makedirs does not support 'exist_ok' parameter in Python2
Closes #540
2019-01-19 22:56:54 +01:00
Sam Edwards
8c4dfd7a70 CMake: Move compiler flag detection to its own file 2019-01-19 13:22:20 -07:00
Sam Edwards
404cfa3fff CMake: Install audiotraits headers 2019-01-13 21:03:01 -07:00
Donny Lawrence
2c513ba1c4 Move handle_close_event() call to windowShouldClose, which only triggers when the close button is pressed by the user. 2019-01-13 19:07:43 -05:00
rdb
cb375f5758 Merge branch 'release/1.10.x' 2019-01-13 22:35:18 +01:00
Sam Edwards
2298aba578 CMake: Correct order for {opus,vorbis}file libs 2019-01-13 14:24:35 -07:00
Sam Edwards
955081f81f movies: Fix missing includes in {opus,vorbis}AudioCursor.cxx 2019-01-13 13:59:08 -07:00
Younguk Kim
5a9a87d2c1 makepanda: fix link error of assimp tool
Closes #535
2019-01-13 21:49:41 +01:00
Sam Edwards
0ff6787c1c CMake: Fix compatibility with CMake 3.0
`x GREATER_EQUAL y` wasn't added until 3.7, so
instead this uses `NOT x LESS y`
2019-01-13 13:00:56 -07:00
Sam Edwards
052004d06b CMake: Detect Opus 2019-01-13 12:04:48 -07:00
Sam Edwards
8a2375a5f1 CMake: Detect Ogg+Vorbis 2019-01-13 11:58:09 -07:00
Sam Edwards
615a1d205d CMake: Modify Find*.cmake to trust find_*()'s caching 2019-01-13 10:45:03 -07:00
Donny Lawrence
d51db6e39e Fix an instance where a macOS window will stick around when trying to have it destroyed.
This commit also removes an extraneous call to [_window setReleasedWhenClosed], which is already set in cocoaPandaWindow's init method.
2019-01-13 11:54:56 -05:00
rdb
095d6ac818 readme: fix link to development builds
Closes #533

[skip ci]
2019-01-13 15:19:06 +01:00
rdb
ec08fff3a7 travis: enable Discord notification 2019-01-13 12:22:09 +01:00
Sam Edwards
a0e12f4211 CMake: Use the SKIP_COMPOSITING flag on some files
Files excluded from compositing are (from makepanda):
dtool/src/dtoolbase/indent.cxx
panda/src/display/graphicsStateGuardian.cxx
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx
panda/src/grutil/multitexReducer.cxx
panda/src/pgraph/nodePath.cxx
panda/src/pnmimage/convert_srgb_sse2.cxx (due to being compiled w/ SSE2)
2019-01-12 15:00:03 -07:00
Sam Edwards
986377b131 CMake: Make CompositeSources skip sources with SKIP_COMPOSITING property 2019-01-12 15:00:03 -07:00
Sam Edwards
8d94790d3a CMake: Exclude .c files from compositing 2019-01-12 15:00:03 -07:00
Sam Edwards
edb9cb31a5 CMake: Exclude .c files from Interrogate 2019-01-12 15:00:01 -07:00
rdb
1895abff66 Remove cvscopy and related tools 2019-01-11 23:37:11 +01:00
rdb
7464e18b72 Merge branch 'release/1.10.x' 2019-01-11 23:29:13 +01:00
Derzsi Dániel
8c40244ea4 readme: Add fakeroot into Linux build command
Fixes #530

[skip ci]
2019-01-11 22:52:24 +01:00
Sam Edwards
768a8d62e9 CMake: Use -fvisibility=hidden everywhere supported 2019-01-11 07:50:27 -07:00
Sam Edwards
9ee4f1f4e2 CMake: Test for -f(no-)exceptions support before using it 2019-01-11 07:50:13 -07:00
John Cote
e8f0e03043 makepackage: Don't include deploy-stub when building .rpm
Attempting to include deploy-stub in the .rpm would cause rpmbuild to fail, as deploy-stub isn't present.

Closes #527
2019-01-11 10:42:38 +01:00
tc
e1e5b907c1 add aiProcess_GenNormals + aiProcess_GenSmoothNormals 2019-01-11 00:07:17 +01:00
rdb
ba993aea0d Merge branch 'release/1.10.x' 2019-01-10 23:32:29 +01:00
rdb
e4daa0bf16 tests: test various things that could suffer from libc++ eof() bug 2019-01-10 21:55:07 +01:00
rdb
84a1315104 More fixes to work around broken libc++ eof() in Mac OS X 10.7 2019-01-10 21:53:02 +01:00
rdb
83e41262bd makewheel: use all supported Python versions as classifier
Otherwise, PyPI wil pick the ones for the first uploaded wheel, which means that Panda3D will not be indexed under all Python versions on PyPI.

Also add a few more classifiers.
2019-01-10 21:39:44 +01:00
Alexander
ba6a51dbc1 1.10.0 release readme update
Closes #525
2019-01-10 21:21:10 +01:00
rdb
0ff40944a7 makepanda: fix a regression building with Maya on macOS
[skip ci]
2019-01-10 13:30:02 +01:00
Brian Lach
7c6e677a23 dtoolbase: add std::initializer_list constructors for pvector, epvector, pdeque, plist, pset, pmultiset
Closes #520
2019-01-10 01:42:44 +01:00
rdb
b1018d52ee makepanda: remove ability to target Mac OS X 10.6 "Snow Leopard"
This effectively ends support for 32-bit Intel Macs.  It switches the standard library to libc++, allowing us to use features from C++11.

There are some known bugs with older versions of libc++ (such as the istream::eof() bug); we may end up raising the minimum further (eg. to 10.9) soon if the situation becomes untenable.

Fixes #300
2019-01-09 18:27:57 -05:00
rdb
58acc25ea2 Remove old Carbon-based OS X graphics back-end
This back-end has been deprecated by Apple for a while, and has not been used in Panda.  As we will no longer be supporting 32-bit macs going forward, and the Carbon windowing API is not available for 64-bit mac, there's no point in keeping it.
2019-01-09 18:27:57 -05:00
rdb
de9b9590de tests: add test for HashVal reading from hex stream 2019-01-09 18:27:48 -05:00
rdb
9d0b074162 Merge branch 'release/1.10.x' 2019-01-09 23:09:17 +01:00
rdb
3ccfbfaba7 putil: fix hang reading bam due to macOS libc++ bug in istream::eof()
Apparently eof() in older versions of libc++ returns true if the last character has just been read, whereas the proper behavior is only to return true when attempting to read past the end of the stream.  Since failbit is reliably set in all cases when reading past the length of the stream, we should only trust the result of eof() if fail() also returns true.
2019-01-09 22:56:40 +01:00
rdb
3e5f2cf672 flt: fix crash due to macOS libc++ bug in istream::eof()
Apparently eof() in older versions of libc++ returns true if the last character has just been read, whereas the proper behavior is only to return true when attempting to read past the end of the stream.  Since failbit is reliably set in all cases when reading past the length of the stream, we should only trust the result of eof() if fail() also returns true.
2019-01-09 22:54:36 +01:00
rdb
7d398c9aba flt: prevent zero-byte allocation 2019-01-09 22:46:34 +01:00
rdb
60a944e783 glgsg: fix shader inputs not being updated in esoteric case
Specifically, this happens if you have a custom ShaderGenerator that assigns shader inputs via the ShaderAttrib.  If two objects then both have the auto-shader turned on, and the shader generator generates ShaderAttribs with the same shaders but different inputs, the inputs will not be updated properly for one of the objects.
2019-01-09 22:39:36 +01:00
rdb
886d44d15d glgsg: fix multisampling for floating-point framebuffers 2019-01-09 22:39:05 +01:00
rdb
649372d333 Loader: work around Python 3.7 await headache caused by PEP 479
Generators can no longer raise StopIteration, and we are supposed to use "return" instead.  But, return with value inside generator is a syntax error in Python 2.

Fixes #513
2019-01-09 22:14:50 +01:00
rdb
d1845530aa task: fix mutex recursion when task awaiting other task ends 2019-01-09 22:12:02 +01:00
rdb
e64a342a9f task: fix error awaiting already scheduled task
To reproduce this issue, try `await taskMgr.add(Task.pause(1.0))`
2019-01-09 20:10:10 +01:00
rdb
7262f16ed8 tkwidgets: fix missing import from Valuator module
Fixes #519
2019-01-09 19:24:45 +01:00
rdb
e215ff2928 makepackage: fix error building macOS package for Python 3.x only 2019-01-09 19:20:45 +01:00