rdb
97a19c278b
parser-inc: define __SIZE_TYPE__ and __PTRDIFF_TYPE__
...
This fixes an Interrogate parse error in termux when /usr/include gets added as -S argument
2019-12-08 10:28:50 +01:00
rdb
1d9334f578
parser-inc: add atomic_int, etc. typedefs
2019-01-30 23:59:34 +01:00
rdb
26fcf131c9
Merge branch 'master' into input-overhaul
2018-11-25 17:10:31 +01:00
rdb
0581e414a4
parser-inc: remove patchlevel.h include from Python.h
2018-11-09 11:40:11 +01:00
rdb
70bfe21a63
Merge branch 'master' into input-overhaul
2018-11-06 22:10:39 +01:00
Sam Edwards
0b91b3eeb3
vrpn: Add VRPN headers to parser-inc, remove CPPPARSER workarounds
2018-11-03 22:51:32 -06:00
rdb
357b6d3093
Merge branch 'master' into input-overhaul
2018-10-29 23:40:46 +01:00
rdb
90cc8fe385
Fix building with SIMPLE_THREADS=1
2018-10-16 22:15:36 +02:00
rdb
3ffe11485d
Merge branch 'master' into input-overhaul
2018-09-28 15:12:49 +02:00
rdb
a3a7c0cf9d
parser-inc: add more POSIX system header stubs
2018-09-23 14:21:19 +02:00
rdb
1d6c3f6486
Merge branch 'master' into input-overhaul
2018-08-26 19:03:21 +02:00
rdb
2a2b48134b
parser-inc: fix bad socklen_t definition in ws2tcpip.h
2018-08-02 21:24:37 +02:00
rdb
684a58e7e9
parser-inc: add timespec
2018-07-17 22:21:44 +02:00
rdb
e673937384
parser-inc: add <memory> include to unordered_map/set for allocator
2018-07-09 16:02:06 +02:00
rdb
234fd675b1
Merge branch 'master' into input-overhaul
2018-06-23 23:24:09 +02:00
rdb
ac4b8d1e1d
Fix various compilation warnings
2018-06-11 14:53:25 +02:00
rdb
7086a6a2db
parser-inc: add missing ios_base::iostate
2018-06-09 10:21:28 +02:00
rdb
a76747cba5
parser-inc: C++ headers: cassert, cerrno, fstream, new, cstdlib, csetjmp
2018-06-09 10:18:28 +02:00
rdb
ba2de46beb
Merge branch 'master' into input-overhaul
2018-06-08 15:23:47 +02:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +02:00
rdb
4e7edf8a53
parser-inc: add missing include to <string> header
2018-06-06 12:22:31 +02:00
rdb
036d2c2548
parser-inc: properly namespace iostream definitions
2018-06-06 11:27:46 +02:00
rdb
e27cb2dec3
parser-inc: provide various more STL headers and definitions
...
This cuts down on various warnings generated by interrogate.
2018-06-04 20:44:14 +02:00
rdb
e0245d2777
First step towards eliminating `using namespace std;` ( #335 )
2018-06-03 20:32:23 +02:00
rdb
552a649ef3
interrogate: add back NULL definition, fixes some keyword arguments
...
I am not sure why the definition of NULL was removed; it might have been by mistake, but in any case it broke code like this:
img = PNMImage(w, h, color_space=CS_srgb)
since it would not understand the default value (NULL) for the argument preceding color_space.
2018-04-04 21:50:02 +02:00
Sam Edwards
68b1ecfd32
parser-inc: Add stub for FFTW3 header
2018-02-17 23:31:08 -07:00
Sam Edwards
ab7dbebf3f
general: Remove lingering references to Helix
...
Support for Helix has been dropped long ago; it's very unlikely to return.
See also de4280ea20 .
2018-02-14 17:26:35 -07:00
Sam Edwards
0d079e2b80
general: Remove execute modes from ordinary text files
2018-02-04 17:11:43 -07:00
rdb
8bd617c4ee
input: new windows input manager based on raw input
...
The new implementation uses a message-only window to register raw input events.
XInput is still used when possible, but raw input is being used to handle device detection. (XInput is only enabled when an XInput device is plugged in, which also prevents us from having to load and poll the XInput library unnecessarily.)
For raw devices, the Windows HID parser library is used to parse the raw data. Unfortunately, the Windows 7.1 SDK does not ship hid.lib (which is in the WDK 7.1.0), so I am dynamically loading hid.dll to prevent pulling in a dependency on the WDK. (But perhaps we can ship hid.lib in the thirdparty libraries?)
Input devices other than XInput gamepads and the 3D mouse have not been tested very well yet. Adding keyboard and mouse support is still a TODO.
This also splits out the Windows implementation of InputDeviceManager into a separate subclass; it is intended that the other implementations will follow suit.
2018-01-22 22:05:14 +01:00
rdb
8e6cf2a60b
Merge branch 'master' into input-overhaul
2017-12-17 13:04:15 +01:00
rdb
483a491ed7
interrogate: simplify coercion code
...
This remove support for coercing non-ReferenceCounted types that are neither default-constructible nor move-assignable, but it turns out none of the classes we really need it for matches that.
It further cuts down on the amount of code that is being generated to support coercion in cases where it makes absolutely no sense.
2017-11-06 19:53:38 +01:00
rdb
828f1c10ca
Support loading Opus audio files via libopusfile.
2017-05-24 22:21:54 +02:00
rdb
a387fb9f35
interrogate: nullptr handling, faster kwargs handling in some cases
2017-05-14 22:19:25 +02:00
rdb
652f2d7f21
bullet: improve performance of adding geometry to BulletTriangleMesh
2017-05-14 22:17:41 +02:00
rdb
160f652d58
text: use HarfBuzz for text shaping; support right-to-left text
2017-04-25 12:25:31 +02:00
rdb
e1c916cdc3
interrogate: handle implicit destructors correctly
2017-04-02 14:44:51 +02:00
rdb
f5f51c5d5b
Remove OpenSSL includes from headers, so C++ users don't need to have OpenSSL
2017-02-17 16:15:04 +01:00
rdb
4ed199cece
Fix various compile warnings and a few code consistency issues
2017-01-09 20:36:53 +01:00
rdb
ba5bba42b0
Fix interrogate warnings, flesh out iterator header
2017-01-08 17:51:09 -05:00
rdb
d0e9f136c0
Merge branch 'master' into input-overhaul
2016-11-22 12:15:21 +01:00
rdb
b0a8408755
Fix issue with Windows build
2016-11-04 00:49:04 +07:00
tobspr
c0fd29d822
Add functional header to parser-inc ( #126 )
...
* Support for the functional header
* Add unordered_map and initializer_list
* Add unordered_set header
* Fix spacing, and remove unecessary defines
* Add missing definitions to memory header
* Use variadic templates in functional header
2016-11-03 14:08:25 +01:00
rdb
22f0b50851
More Interrogate C++11 support changes:
...
* Parse variadic templates
* Add (incomplete) type_traits support
* Parse anonymous class template params
* Parse volatile/lvalue/rvalue methods
* Don't generate destructor for indestructible types
* Add xmmintrin.h header
* Allow invoking extensions with references
2016-11-03 12:17:11 +01:00
tobspr
50e8d5d08d
Update stdint.h
...
This adds missing definitions from the standard library header ` stdint.h` to the interrogate header.
I also changed the `typedef` to the C++11 style `using`.
Closes : #125
2016-10-31 22:34:47 +01:00
rdb
47388b0dbc
Separate out CPython calls from core libs; eliminate need for pystub
2016-07-20 14:30:41 +02:00
rdb
b98d3c06ee
Merge branch 'master' into input-overhaul
2016-06-24 10:51:41 +02:00
rdb
7e08b87ff7
IPv6 support, improve URL handling/comparison
2016-06-22 17:57:40 +02:00
rdb
dc09e28ed9
Also accept a .gz wherever a .pz file is accepted
2016-04-29 16:54:25 +02:00
rdb
2c1cb4c313
Compile fixes for latest VRPN and TIFF
2016-04-22 17:18:27 +02: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