rdb
b8cb517152
actor: comment out unused line of code
...
Fixes #170
2017-09-16 22:04:16 +02:00
rdb
1f017997f9
stdpy: fix issues with direct.stdpy.threading thread cleanup
...
Fixes : #164
2017-08-30 13:00:02 +02:00
rdb
c66b4792d7
stdpy: protect against thread error when interpreter shuts down
2017-08-29 23:50:16 +02:00
rdb
1dc02f6a28
stdpy: fix direct.stdpy.threading cleanup issue after thread runs
...
Fixes : #164
2017-08-27 16:56:16 +02:00
rdb
2d1f0e4866
stdpy: update threading modules
2017-08-27 16:53:41 +02:00
kamgha
b9437316b4
Add snake-case function names for 'threading2'-module
...
Closes : #165
2017-08-27 16:33:03 +02:00
wezu
40c6f41da2
direct: provide snake_case functions for some classes
...
Closes #147
2017-06-20 21:56:03 +02:00
rdb
3eb91e38b5
CommonFilters: fix edge bleeding when using POT textures (LP 424640)
2017-06-20 19:37:57 +02:00
rdb
d576c6b638
Improvements to generated API docs, especially in direct tree.
...
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb
160f652d58
text: use HarfBuzz for text shaping; support right-to-left text
2017-04-25 12:25:31 +02:00
wezu
353ccfebc1
Remove print() from Messenger.find() and Messenger.findAll()
...
If one needs to use find() or findAll() not for debugging purposes (like for getting the function or arguments for some binding), then the print functions in these methods are really unwelcome. find() is the only nice way to get this info (other then de-name-mangling __callbacks)
2017-04-22 13:39:14 +02:00
AnythingTechPro
5050aae5c8
Code formatting cleanups in StagedObject
...
Closes #142
2017-03-30 19:49:30 +02:00
Sam Edwards
76070d84cd
fsm: Change FourState's debugPrint to a __method
...
This should stop it from getting overridden by subclasses.
2017-03-29 17:40:10 -06:00
Sam Edwards
6d250f2f1f
fsm: FourState needs to initialize stateIndex BEFORE first debugPrint
...
I honestly have no idea how this even worked before.
2017-03-29 17:40:10 -06:00
Sam Edwards
4080e03d05
distributed: Remove use of exceptionLogged() decorator
...
This isn't available when __debug__==False either.
2017-03-27 01:00:00 -06:00
Sam Edwards
f062c64e9a
distributed: Fix broken reference to StackTrace when __debug__==False
2017-03-27 00:56:05 -06:00
fireclawthefox
3318e254b8
Make the scene graph explorer occupy the empty space
...
Expand the sge to fill up the otherwise unused space below it, which is
useful for larger scenes.
2017-01-26 14:11:41 +01:00
fireclawthefox
78d14fcce3
Fixed function name
...
getChildren is expected in the MemoryExplorer and not getChildrenAsList
getChildren is also more convenient to the rest of the p3d source
2017-01-26 14:11:41 +01:00
fireclawthefox
8696dcea2c
Fixed deprecated usage of NodePath.remove in directtools
2017-01-26 14:11:41 +01:00
rdb
4ed199cece
Fix various compile warnings and a few code consistency issues
2017-01-09 20:36:53 +01:00
rdb
53752bd376
Remove packpanda and eggcacher, don't require libpython on Linux
2017-01-05 17:22:11 +01:00
rdb
ab5b5e7e74
Merge branch 'release/1.9.x'
2016-12-25 22:47:22 +01:00
rdb
c1d6e93166
Don't link extension modules with libpython; changes to help w/ building whls
...
This fixes compatibility issues with homebrew Python on Mac OS X.
This introduces a --no-directscripts flag to disable building packpanda and eggcacher, which require linking with libpython (which is not available on manylinux). When building a wheel, the packpanda and eggcacher modules can instead be added to console_scripts in the entry_points definition.
2016-12-21 17:57:13 +01:00
rdb
1808ad217c
Fix Python 3 error in particle sample in 1.9
2016-12-20 23:14:58 +01:00
rdb
83507e413f
Fix Mac OS X Snow Leopard build
2016-12-05 16:30:44 -05:00
rdb
4a8f1839ea
1.9: change to support .whl distribution (putting panda DLLs in panda3d/ dir)
2016-12-01 17:41:07 +01:00
Tohka
e9a43a21fa
Remove PiratesMagicWordManager VR Studio code reference
2016-11-04 02:41:41 +07:00
Mitchell Stokes
59b0913b0b
Cleanup .gitignore files
...
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb
d43f0ef909
Fix DirectScrolledList regression
2016-10-28 12:09:14 +02:00
rdb
1049088f11
Clean up some of the dtool_config.h variables
2016-10-24 22:10:46 +02:00
rdb
f1f4951fb5
Merge remote-tracking branch 'origin/release/1.9.x'
2016-10-13 00:25:57 +02:00
rdb
f363088cb2
Fix exception when creating intervals before ShowBase is started
2016-09-30 00:21:12 +02:00
rdb
6962f56915
Add back pandac.extension_native_helpers for compatibility
2016-09-14 22:45:19 +02:00
deflected
234e7eefee
loader: Added loading of 2D texture array
...
Signed-off-by: deflected <deflected@users.noreply.github.com>
2016-09-12 13:21:23 +03:00
rdb
70f10a70d1
Merge branch 'release/1.9.x'
2016-09-12 00:48:03 +02:00
rdb
3ce808c705
Fix in-place asyncFlattenStrong
2016-09-11 20:28:33 +02:00
rdb
977228c493
Improve memory consumption of packp3d/ppackage by not caching models/textures in RAM
...
Fixes https://bugs.launchpad.net/panda3d/+bug/1609882
2016-09-11 19:44:46 +02:00
rdb
61b7af74db
Merge branch 'release/1.9.x'
2016-09-08 22:18:50 +02:00
rdb
25cfec3760
Pass Ctrl+C on to child process when running panda3d from cmd-line
2016-09-08 22:09:45 +02:00
rdb
4ec5b77678
Fix error with async flatten
2016-08-27 20:11:18 +02:00
rdb
67998eaec2
Buffer viewer should override texture filter settings; fixes filtered shadow maps and edge bleeding
2016-08-27 19:24:23 +02:00
rdb
82b7728683
Merge remote-tracking branch 'origin/release/1.9.x'
2016-07-20 14:32:34 +02:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02:00
rdb
e691a679d4
Fix timestamp verification in FileSpec on some file systems
2016-07-20 11:44:39 +02:00
Michael Wass
7e20626915
Fix a TypeError in direct.fsm.FSM
2016-06-28 12:15:00 -04:00
Sam Edwards
0846a89677
general: Stop using several deprecated pandac.PandaModules imports.
2016-06-27 00:06:40 -07:00
rdb
f068a8613b
Fix a few unnecessary uses of exec/eval
2016-06-22 13:50:58 +02:00
rdb
4283a63a7d
Merge branch 'release/1.9.x'
2016-06-11 01:29:14 +02:00
rdb
12873c0d7e
Fix wxPython and tkinter issues on Mac OS X
2016-06-10 02:02:36 +02:00
rdb
5675e0de56
Merge branch 'release/1.9.x'
2016-06-07 22:08:00 +02:00
rdb
d53b2ca80e
Backport various bugfixes from master, among which:
...
- Fix Windows pbuffer crash on Intel cards
- Fix crash when using pnmimage.write with unsupported format
- Fix GLSL diagnostics on Mesa GLES2 compiler
- Reduce warning severity when resizing immutable storage texture
- Print more debug info when FrameBufferProperties are insufficient
- Fix "Bam file contains objects of unknown type: MovingPart<LMatrix4f>"
- Fix memory leak in BulletTriangleMesh
- Fix pmerge in Python 3
2016-06-07 14:40:27 +02:00
rdb
378f3e7e52
Add librt.so.1 to the list of libraries to ignore
2016-06-04 17:34:52 +02:00
rdb
987c5135a0
Make models from 'models' package available under models/ prefix as well
2016-06-03 16:45:10 +02:00
rdb
7a681dc993
Python 3 fixes for rtdist builds
2016-05-29 02:01:57 +02:00
rdb
e02faec8ac
Make models from 'models' package available under models/ prefix as well
2016-05-29 01:59:51 +02:00
Mitchell Stokes
093647365f
Fix pmerge to work with Python 3
...
Python 3 uses __lt__ and __gt__ instead of __cmp__.
2016-05-28 12:09:04 -07:00
Tohka
9a562d1a1c
Remove useless "children" property of DistributedObjectBase
...
This property is not used and causes problems on the latest build.
2016-05-15 12:33:41 +03:00
Mitchell Stokes
74d588696c
Fix Python3 support
2016-05-15 10:27:37 +02:00
David Rose
d73d02fc27
Merge branch 'master' of https://github.com/panda3d/panda3d
2016-05-13 18:21:53 -07:00
David Rose
28cbe13d85
task names can be unicode strings too, better to check against basestring
2016-05-13 18:21:12 -07:00
rdb
18874fa151
Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
...
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
Chris Brunner
634aacbd7f
Initialize the various VRPN devices before assigning them a name.
2016-05-02 16:19:50 -07:00
rdb
388c8d698d
pfreeze: Extension module link support on Windows. Add explicit -k option for keeping temp files.
2016-05-02 20:02:31 +02:00
rdb
6c70b41a21
Various pfreeze improvements, allow linking in extension modules
2016-05-02 16:46:58 +02:00
rdb
dc09e28ed9
Also accept a .gz wherever a .pz file is accepted
2016-04-29 16:54:25 +02:00
Tohka
facb1cca31
Fix several Sequence crashes ( #99 )
...
tuple and list shouldn't be used as parameter names. With the new Python 2.7.11 these break Sequences altogether.
2016-04-24 11:37:34 +02:00
Tohka
41deb1c00f
Fix error "TypeError: 'NoneType' object is not iterable"
2016-04-24 12:14:19 +03:00
John Cote
c896f7269b
bugfix: Add missing import to ShowBaseGlobal ( #96 )
2016-04-17 09:09:55 +02:00
rdb
902a314f68
Remove unused squeeze tool
2016-04-13 17:28:08 +02:00
rdb
12af395012
Fixes to DirectScrolledList; remove unnecessary inheritance
2016-04-09 19:21:49 +02:00
deflected
9300bca1a4
direct.gui: Correct strings checks
...
- str in Python3 is always unicode, but not in Python2.
Avoid crashes when unicode is used
Signed-off-by: deflected <deflected@github>
2016-04-01 21:18:52 +02:00
rdb
14af38712b
Merge branch 'release/1.9.x'
2016-04-01 18:07:33 +02:00
rdb
35ef92f8da
Fix AttributeError in setDaemon in threading module
2016-04-01 10:44:47 +02:00
rdb
461b231a2e
Don't show libpandaexpress ImportError if importing panda3d.core failed
2016-04-01 10:38:35 +02:00
rdb
8e338a7755
Fix pdeploy for older Python 3 versions, eg Python 3.2
2016-03-31 17:58:29 +02:00
rdb
15b0ba45f9
Fix broken pickling in Python 3 build
2016-03-31 16:49:27 +02:00
Dennis Brakhane
ed9bed425f
do not mutate dict we are iterating over
...
Risky at best, and actually raises an error on modern Python versions.
2016-03-29 19:45:37 +02:00
rdb
516e88c8fc
Fix to unbreak travis test script
2016-03-28 23:20:26 +02:00
rdb
23bf9ea5c7
The direct tree is now valid Python 2 *and* 3
2016-03-28 22:33:30 +02:00
Mitchell Stokes
56606f9b1b
Handle Python 2 vs Python 3 stdlib differences when building the morepy package
...
See PEP3108 for more details on stdlib differences.
2016-03-27 11:49:10 -07:00
rdb
8badce2fdb
pfreeze now supports Python 3
2016-03-26 12:03:45 +01:00
rdb
54fa31ba17
StandardError -> Exception, other 2to3 changes, threaded 2to3
2016-03-25 17:13:09 +01:00
rdb
6334f2511d
Let's not display deprecation warnings in release builds
2016-03-25 16:41:58 +01:00
rdb
d906f55ebf
Fix rtdist error when using Python 3.5
2016-03-25 15:23:45 +01:00
rdb
2b034506fa
Backport fixes for Arch compile issues to 1.9
2016-03-25 01:40:00 +01:00
rdb
58837c0f4a
Fix particle sample and tkinter in Python 3
2016-03-22 11:31:51 +01:00
rdb
bd1df2b9ad
Merge remote-tracking branch 'origin/release/1.9.x'
...
Conflicts:
panda/src/pipeline/pipeline.cxx
2016-03-18 16:47:17 +01:00
rdb
e8b920df90
Make default egg-object-type definitions available in packp3d
2016-03-17 21:40:54 +01:00
tobspr
d9ec4d402a
Add print-pipe-types prc variable to prevent pipe output
2016-02-23 18:46:34 +01:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
0d03207d1b
Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code
2016-02-12 22:20:27 +01:00
rdb
e0e2d6d222
Ignore run() in emscripten
2016-02-11 19:10:59 +01:00
rdb
98a86bf43a
Merge branch 'release/1.9.x'
2016-02-03 13:39:14 +01:00
rdb
03c8d4c009
Fix use of many builtins
2016-02-02 13:41:20 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
2c61260c5f
Generated API reference fixes
2016-02-01 14:49:09 +01:00
rdb
af9fe8275a
Merge pull request #72 from assertivist/master
...
Allow setting width and numLines of DirectEntry without clearing text
2016-01-30 13:31:06 +01:00
rdb
0a366e987f
Merge branch 'release/1.9.x'
...
Conflicts:
panda/src/glstuff/glGraphicsStateGuardian_src.cxx
panda/src/putil/bamReader.h
2016-01-26 11:45:04 +01:00
rdb
a55d915aea
Add missing CDistributedSmoothNodeBase import
2016-01-26 11:17:57 +01:00
assertivist
e567cb1dba
Allow setting width and numLines of DirectEntry without clearing text
2016-01-18 11:29:36 -07:00