romeojulietthotel
94d6757a0d
Use pkgconfig to locate ALSA libs ( #6119 )
...
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed.
* The extra LIBS flag for alsa is not needed so removing.
2016-09-23 07:38:57 +02:00
Andreas Haas
6fcf2b2bd8
x11: Fix event.is_action() for release of modifier keys
...
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.
Fixes #5901
2016-09-22 12:24:44 +02:00
Andreas Haas
f59860f464
x11: Use proper sonames for loading libXrandr.
2016-08-11 17:40:59 +02:00
Rémi Verschelde
82d18f4c1c
Merge pull request #5845 from hurikhan/x11_cleanup
...
Code cleanup in platform/x11
2016-07-22 08:35:26 +02:00
Mario Schlack
503f9ab9d9
Code cleanup in platform/x11
2016-07-21 21:11:34 +02:00
Mario Schlack
d04ada3973
Implement OS.request_attention() for X11
2016-07-21 19:40:36 +02:00
Juan Linietsky
587826f879
remove GLU dependency, closes #3787
2016-07-18 17:25:03 -03:00
Juan Linietsky
864c0e84de
line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
...
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky
7e3044981e
Avoid crash if setting modifiers fails, closes #5158
2016-07-08 11:28:09 -03:00
Rémi Verschelde
b6ac91c0e6
Removed unused variables (first pass)
...
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:03 +02:00
eska
a2386bd2b2
Link libdl only on Linux, fix BSD build
2016-07-04 18:39:27 +02:00
Ferdinand Thiessen
9e751178eb
Fix compiling for X11 on non-86, this fixes #5444
2016-06-27 03:03:42 +02:00
paper-pauper
dd1ad31757
Changes X11 res_name to "Godot_Engine"
...
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265 )
2016-06-25 07:15:21 +02:00
J08nY
0ab05b09e4
Fixed iCCp chunk in pngs
...
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
Wilhem Barbier
5d95072879
Remove the vibration effect from the joystick when stopping
2016-06-20 11:01:07 +02:00
Dennis Brakhane
3d85a14404
fix memset calls
...
Order is "mem, val, count", not "mem, count, val"
2016-06-19 02:07:51 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Wilhem Barbier
f665200df7
Add joystick vibration support on Linux ( #5043 )
2016-06-15 07:25:35 +02:00
Andreas Haas
eaa34f2123
x11: fix XRandr GetMonitors
2016-06-12 15:29:02 +02:00
Juan Linietsky
3b2c96139b
Merge pull request #4905 from Hinsbart/x11_dpi
...
x11: Implemented dpi detection
2016-06-11 17:52:10 -03:00
Juan Linietsky
94a6ff3d7a
-make freetype build for all platforms the same, default as builtin except on x11.
...
closes #5119
2016-06-09 21:28:07 -03:00
Andreas Haas
18c941bbec
x11: Implemented dpi detection
...
depends on XRandR.
Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it.
Also removed libudev from travis install list.
2016-06-09 18:54:06 +02:00
Rémi Verschelde
768e925271
GLEW: Define static + enabled and includes via SCons
...
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
2016-06-08 00:16:27 +02:00
Andreas Haas
5cd7611a9a
x11: fix vsync support
2016-06-07 00:19:01 +02:00
Ariel Manzur
942de803f9
temporary fix for vsync call on x11
2016-06-05 22:25:01 -03:00
Juan Linietsky
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
Rémi Verschelde
d31696e3db
Merge pull request #4874 from Hinsbart/x11_dragndrop
...
x11: Add support for filesystem drag & drop using xdnd
2016-05-29 18:40:27 +02:00
Andreas Haas
2c9b28df13
xdnd: can handle more than 3 different target types
...
Now dropping also works with Nemo and PCManFM(gtk)
2016-05-29 17:40:08 +02:00
Juan Linietsky
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Andreas Haas
ae0a59731e
x11: Add support for filesystem drag & drop using xdnd
2016-05-28 21:35:42 +02:00
Ignacio Etcheverry
5907a007dc
x11: Flush the X output buffer after changing mouse mode
2016-04-12 16:20:28 +02:00
MSC
391095e0ef
memdelete 'joy_thread' + 'joy_mutex' on ::~joystick_linux()
2016-04-03 19:24:39 +02:00
Rémi Verschelde
0a5472e697
Remove trailing spaces
2016-04-02 20:26:12 +02:00
Hubert Jarosz
4b14c18d13
fix possible crash in platform/x11/joystick_linux.cpp
...
ev may be tainted and out of MAX_KEY range,
which will cause joy->key_map[ev.code] to crash
2016-03-09 00:16:56 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
hinsbart
1e54fd142b
x11: fix joysticks not recognizing some buttons
...
dpad on x360 pads with kernel < 4.3 is working now
2016-02-24 12:18:30 +01:00
Rémi Verschelde
130f8fa193
Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
...
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626 .
2016-02-17 23:01:27 +01:00
hondres
3065187300
include libudev only on udev builds
2016-02-15 15:09:48 +01:00
hondres
b350ece864
x11: make dependancy on libudev optional
2016-02-14 15:13:11 +01:00
punto-
63fc7ef798
Merge pull request #3615 from Hinsbart/joy_check_fix
...
x11: more verbose checking for joystick capabilities
2016-02-07 00:49:54 -03:00
hondres
fef92c0fab
x11: more verbose checking for joystick capabilities
2016-02-07 00:17:16 +01:00
Juan Linietsky
9010a25c01
added option to link libstdc++ statically
2016-02-04 20:47:19 -03:00
Rémi Verschelde
cefca4429c
Merge pull request #3575 from Hinsbart/_net_wm_name
...
x11: set _net_wm_name property
2016-02-04 07:19:52 +01:00
hondres
61c1b6f60e
x11: set _net_wm_name property
2016-02-04 00:39:53 +01:00
Rémi Verschelde
c0aade4ba4
Merge pull request #3493 from Hinsbart/wm_class
...
x11: use different strings for WM_CLASS depending on context
2016-02-03 11:30:22 +01:00
Rémi Verschelde
fc65a57ff5
Merge pull request #3538 from Hinsbart/temp
...
remove pc_joystick_map.h
2016-02-03 11:18:43 +01:00
hondres
f7b1ab843c
x11: fix non-gamepad devices being detected as joysticks
2016-02-02 23:23:20 +01:00
hondres
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
hondres
2809b31f8c
close file descriptor if ioctls failed
2016-02-01 13:39:50 +01:00
hondres
11e4c128ac
x11: use different strings for WM_CLASS depending on context
2016-01-27 21:53:37 +01:00