Commit Graph

7076 Commits

Author SHA1 Message Date
fireclawthefox 29896a39a4 cleanup and fixes
fixed event prefix ID handling
fixed removing of nodes of disconnected devices
removed debug prints
added more comments
2016-07-22 21:33:41 +02:00
fireclawthefox 2e8338c681 Add the new inputDeviceNode to the data graph
create node and add to data graph for any connected device
add function to add and remove devices and call them on dis-/connection
add poll call for all devices in the __dataLoop task
2016-07-21 23:12:07 +02:00
rdb b98d3c06ee Merge branch 'master' into input-overhaul 2016-06-24 10:51:41 +02: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 a3a42874f3 Merge remote-tracking branch 'origin/master' into input-overhaul 2016-03-29 12:28:53 +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 1cc79633c1 Merge branch 'master' into input-overhaul
Conflicts:
	panda/src/device/buttonNode.cxx
	panda/src/device/clientAnalogDevice.I
	panda/src/device/clientAnalogDevice.cxx
	panda/src/device/clientButtonDevice.I
	panda/src/device/clientButtonDevice.cxx
	panda/src/device/clientDevice.I
	panda/src/device/clientDevice.cxx
	panda/src/device/clientDevice.h
	panda/src/device/clientTrackerDevice.I
	panda/src/device/trackerNode.I
	panda/src/device/trackerNode.h
	panda/src/display/callbackGraphicsWindow.cxx
	panda/src/display/graphicsWindow.cxx
	panda/src/display/graphicsWindowInputDevice.I
	panda/src/display/graphicsWindowInputDevice.cxx
	panda/src/display/graphicsWindowInputDevice.h
	panda/src/tinydisplay/tinyOsxGraphicsWindow.mm
	panda/src/tinydisplay/tinyXGraphicsWindow.cxx
	panda/src/windisplay/winGraphicsWindow.cxx
	panda/src/windisplay/winGraphicsWindow.h
	panda/src/x11display/x11GraphicsWindow.cxx
2016-03-19 14:54:56 +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 6689e69822 Merge branch 'master' into input-overhaul 2016-02-13 11:21:20 +01:00