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
hondres
29353808f0
remove dependancy on libevdev
2016-01-26 23:04:57 +01:00
George Marques
f4a39692b9
Change default window size for desktop
...
Fix #3149
2016-01-24 17:52:33 -02:00
punto-
7393e40452
Merge pull request #3272 from Hinsbart/joy-binding
...
Add some joystick functions to input. Enables manipulation of mapping…
2016-01-12 03:59:19 -03:00
eska
56e65f9e29
Enable ALSA driver in non-linux X11 when available
2016-01-10 17:52:15 +01:00
eska
a6c1a5c6d0
Fix pthread renaming in Open/FreeBSD
2016-01-09 15:56:31 +01:00
hondres
c632c13c66
Add some joystick functions to input. Enables manipulation of mappings at runtime
2016-01-08 00:40:41 +01:00
Rémi Verschelde
a98aa0bbbe
Make joydev build using udev and evdev opt-out but blocking (linux)
...
It is enabled by default, users have to specifically ask for it if they don't want gamepad support. If libudev or libevdev are missing, the build aborts and tells the user the reason and that they can disable gamepad support with the "gamepad=no" option.
2016-01-06 19:21:37 +01:00
hondres
c0e4d8fbfd
fix x11 crash on exit
2016-01-05 23:35:54 +01:00
Juan Linietsky
908f75c23f
having active items is pointless in input map
2016-01-03 18:52:42 -03:00
hondres
17d664cf1d
send axis events only once per frame on linux
2016-01-03 02:24:43 +01:00
hondres
c60e1648ba
make num_buttons local, no need to keep in joystick struct
2016-01-02 03:52:44 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
586e482a98
-Fix parsing of comments in VariantParser, fixes #3175
2015-12-31 10:25:21 -03:00
hondres
541c9039c5
Check pkg-config for libudev and enable gamepad code only if found. Linux only for now
2015-12-21 22:39:03 +01:00
Juan Linietsky
46dee92c8e
-fixed build system to use pkg-config for evdev
2015-12-21 10:37:26 -03:00
hondres
87dab29f4b
Use tabs instead of spaces for new gamepad code
2015-12-18 19:15:32 +01:00
hondres
af633c7941
Better gamepad support
2015-12-18 06:12:53 +01:00
Juan Linietsky
cc7880fba5
-added windowed mode with -w, fixes #3020
...
-changed default windowed resolution to 1280x720
2015-12-12 12:06:53 -03:00
Juan Linietsky
708ff381d6
changed a bit to use system()
2015-12-08 20:36:48 -03:00
Juan Linietsky
78b5404434
improve detection of linux, fixes #3201
2015-12-08 20:35:40 -03:00
Juan Linietsky
ac414c5581
Merge pull request #2849 from a12n/compobsd2
...
Compile on OpenBSD
2015-12-08 17:16:45 -03:00
koalefant
bd396c5cfa
Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
2015-11-29 20:56:27 +01:00
Juan Linietsky
b987d2113b
0theora compilation fixes
2015-11-25 00:28:03 -03:00
Anton Yabchinskiy
b14c90801f
Disable X11 joystick functions also for OpenBSD
2015-11-20 23:36:34 +03:00
Anton Yabchinskiy
523e64d30b
Include string.h for memset() on OpenBSD
2015-11-20 23:36:14 +03:00
Anton Yabchinskiy
52f1bab6d5
Include stdlib.h for alloca() on OpenBSD
2015-11-20 23:35:53 +03:00
Anton Yabchinskiy
0931eed7be
Enable ALSA only for Linux
2015-11-20 23:35:19 +03:00
Juan Linietsky
2769da7744
compile fixes
2015-11-19 20:24:43 -03:00
Juan Linietsky
dd09215c90
Revert "libao audio driver"
2015-11-19 20:05:26 -03:00
Juan Linietsky
43ce972ddb
Merge pull request #903 from a12n/libao
...
libao audio driver
2015-11-19 19:31:56 -03:00
Anton Yabchinskiy
3b9868d2e4
Merge branch 'master' of github.com:okamstudio/godot
2015-11-02 20:25:01 +03:00
Saracen
e723488aa3
Moved deleting sample player in OS finalize methods to before deleting audio server to prevent crash when exiting.
2015-11-02 16:36:41 +00:00
Phobos Tro
2d2ab92680
Made the Atom net_wm_icon local
2015-10-26 01:36:27 +08:00
Phobos Tro
746ef7cbd6
Fixing memory leaks
2015-10-25 22:15:56 +08:00
Juan Linietsky
97f483af0a
fixes broken 3D in editor
2015-10-17 23:05:39 -03:00
Juan Linietsky
4a8bc25f18
Merge pull request #2485 from masoudbh3/fix-x11-editor-boot-splash
...
Fix X11 Editor Boot Splash (Maximized Boot Splash)
2015-10-17 10:12:34 -03:00
Juan Linietsky
b3cda43a0f
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
platform/windows/detect.py
2015-10-13 01:19:32 -03:00
Juan Linietsky
c858515785
Fixed theora playback. Removed theoraplayer.
...
Still need to get proper audio output latency in some platforms.
2015-09-26 14:50:42 -03:00
Juan Linietsky
9962518ffd
Merge branch 'master' of https://github.com/okamstudio/godot
2015-09-24 18:07:13 -03:00
Juan Linietsky
82a3304458
Added ability to set custom mouse cursors. Not hardware accelerated yet.
2015-09-24 18:06:15 -03:00
Juan Linietsky
ce6fefced8
Properly implement OS.alert() from script, and use xmessage on X11
2015-09-21 09:39:46 -03:00
masoud bh
3c466afb68
Fix X11 Editor Boot Splash
2015-09-17 05:19:43 +04:30
Juan Linietsky
56c907ad04
fix to builtin freetype defines on linux
2015-09-10 22:15:00 -03:00
Juan Linietsky
751202768c
fix to freetype detection
2015-09-10 21:40:34 -03:00
Juan Linietsky
cf57a654d7
new editor settings customization of where to run the game from the editor
2015-08-30 23:36:46 -03:00
Juan Linietsky
3a59747c62
-fixes to capture mode
...
-ability to drag spinboxes and tree ranges to change values, like in Unity or Unreal
2015-08-29 01:43:21 -03:00
Juan Linietsky
700fdf5c0c
fix build issue with ssl, closes #2384
2015-08-23 20:54:13 -03:00
Juan Linietsky
e1e54d39e4
damn github built-in editor
2015-08-21 22:33:49 -03:00
Juan Linietsky
2de5e12116
fix for built-in ssl (easier to build 32 bits export)
2015-08-21 22:31:06 -03:00
Anton Yabchinskiy
dc8df8a91a
Merge branch 'master' of github.com:okamstudio/godot
2015-07-29 23:01:36 +03:00
Jari Ronkainen
983fd0dfc3
Use tabs instead of spaces.
2015-07-23 19:35:47 +03:00
Jari Ronkainen
8027a3f004
Fix audio driver setup if the first driver fails.
2015-07-23 19:32:10 +03:00
Juan Linietsky
4e46143499
some optimizations in godot memory handling
2015-06-12 18:27:48 -03:00
Juan Linietsky
9df77d2765
ability to run 2D physics in a thread
...
also, 2D physics is now thread safe too.
see physics_2d/thread_model
2015-05-26 01:06:05 -03:00
Rémi Verschelde
5f0bb18d55
Fix building release target with debug symbols
...
This forced the -g2 CCFLAG in release builds, making them relatively heavy.
Fixes #1781 .
2015-05-22 22:19:16 +02:00
ehriche
897a1aade5
optional formal changes
2015-05-06 01:22:31 +02:00
Juan Linietsky
21939ce08b
-some cleanups
...
-added tesselation function to curve and curve2d
2015-04-30 10:06:18 -03:00
Juan Linietsky
59154cccf9
-Changed Godot exit to be clean.
...
-Added more debug information on memory cleanliness on exit (if run with -v)
-Fixed several memory leaks, fixes #1731 , fixes #755
2015-04-20 19:38:02 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Juan Linietsky
2dfa1279ea
improved save path error messages for scene, textures and audio, fixes #1514
2015-04-12 16:45:59 -03:00
Juan Linietsky
87c51b6fc0
Modified OSX11 to try alternative audio drivers if pulseaudio does not work or user dislikes lennart potering , fixes #1511
2015-04-12 16:11:26 -03:00
Anton Yabchinskiy
16746f157f
Merge branch 'master' of github.com:okamstudio/godot
2015-04-04 09:31:21 +03:00
rollenrolm
ca0b3ce1f6
New API: build fixes for x11
2015-03-23 01:31:38 +01:00
Juan Linietsky
c68563aeb4
Merge pull request #1542 from jotson/wmclass
...
Reverted change to classHint
2015-03-22 19:18:44 -03:00
Juan Linietsky
23e13ce3c2
fixes to new window management API
...
-needs testing on Linux
-needs testing on Windows
-NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
2015-03-22 19:00:50 -03:00
John Watson
182c86de3f
Reverted change to classHint
...
Using `char wmclass[] = "Godot"` causes `xprop` to report the
following for WM_CLASS:
`WM_CLASS(STRING) = "\200\326\322\365\377\177", "\200\326\322\365\377\177"`
This makes the Unity window manager fail to connect the running app
with the icon on the launcher.
2015-03-22 14:05:24 -07:00
hurikhan
52a4e8495c
fix introduced bug
2015-03-08 04:24:21 -05:00
Anton Yabchinskiy
e024ff89b2
Merge branch 'master' of https://github.com/okamstudio/godot
2015-02-17 15:57:24 +03:00
hurikhan
f5d2e1f42c
Renamed EXPERIMENTAL_WM_API to NEW_WM_API
2015-02-15 18:26:49 +08:00
hurikhan
ee81d4b359
Merge remote-tracking branch 'upstream/master' into x11-window-management
2015-02-15 17:49:34 +08:00
Juan Linietsky
d2f86cc09b
fixes to mouse warp
...
-can warp now from viewport and control, in their respective coordinate
systems
-warp is now local to the window on Windows and OSX.
IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is
in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2015-02-14 19:22:06 -03:00
hurikhan
a13e180052
Merge remote-tracking branch 'upstream/master' into x11-window-management
2015-02-12 15:58:29 +01:00
hurikhan
df7d26ff5b
cleanup + MouseGrab
2015-02-12 15:58:00 +01:00
sambler
8baa00a6e4
Adjust x11/detect.py
...
Test if clang is defined in CC/CXX/LD - this allows a specific version of clang to be defined
move appending -DTYPED_METHOD_BIND to keep clang options together
move sanitize option out of use_llvm test, gcc48+ also supports sanitize=address
2015-01-27 20:40:17 +10:30
hurikhan
94d94a0855
* fix compilation without scons experimental_wm_api=yes
...
* Extended the demo with an addional MouseGrab Test
2015-01-22 01:14:50 +09:00
hurikhan
dfb5a1d5e1
* multi_screen testing + bugfixes
...
* ALT-TAB is working
* tested on Ubuntu 14.10 Unity + LXDE
* minor cleanup
2015-01-18 00:28:04 +09:00
Anton Yabchinskiy
fa38e9b838
Merge branch 'master' of github.com:okamstudio/godot
2015-01-17 18:27:08 +03:00
hurikhan
dee27ce991
Merge remote-tracking branch 'upstream/master' into x11-window-management
2015-01-17 22:19:57 +09:00
Juan Linietsky
7ac7956baf
Merge pull request #1188 from hurikhan/scons_colored
...
Scons colored
2015-01-17 09:47:02 -03:00
hurikhan
f1dc00e380
* cleanup window state handling
...
* first attemps in handling ALT+TABa (WIP)
2015-01-17 19:43:12 +09:00
hurikhan
6185949f6a
Make it set_minimized() + set_maximized() work in both worlds: Unity and LXDE
2015-01-17 02:36:07 +09:00
hurikhan
716971655e
added the following methods:
...
* set_minimized(bool)
* bool is_minimized()
* set_maximized(bool)
* bool is_maximized()
2015-01-17 00:18:45 +09:00
hurikhan
f1b9953d0b
fixing the warnings in os_x11.cpp
2015-01-16 14:44:41 +09:00
Nathan Warden
c2ffdb05d4
Set the default Linux extension to nothing.
2015-01-15 13:00:33 -05:00
hurikhan
d269344bbd
WIP -- set_resizable() + is_resizable added
2015-01-15 22:50:23 +09:00
Anton Yabchinskiy
d6998995b5
Merge branch 'master' of github.com:okamstudio/godot
...
Conflicts:
platform/x11/detect.py
2015-01-14 23:17:15 +03:00
hurikhan
8a30feebbe
Merge remote-tracking branch 'upstream/master' into x11-window-management
...
Conflicts:
platform/x11/detect.py
2015-01-14 13:31:16 +08:00
hurikhan
7222e195e5
minor cleanup
2015-01-14 13:19:27 +08:00
hurikhan
790d8ecbb9
get_screen() + set_screen() added
2015-01-14 12:02:59 +08:00
Juan Linietsky
823d7ae3b5
Merge branch 'master' of https://github.com/okamstudio/godot
2015-01-13 11:23:05 -03:00
Juan Linietsky
7c7ab30c4e
fixes
2015-01-13 11:22:56 -03:00
hurikhan
f55c0e9285
Using Xinerama extension for getting screen info
2015-01-13 21:01:24 +08:00
hurikhan
ce7c7a862e
get_screen_position() added
2015-01-13 17:25:50 +08:00
hurikhan
c0d3632667
introduced the scons experimental_wm_api switch:
...
================================================
Usage:
scons p=x11 experimental_wm_api=yes
2015-01-13 15:44:39 +08:00
hurikhan
f9a4e6890b
SCons: colored compilation
2015-01-12 12:54:17 +08:00
hurikhan
f9d0de0d2a
get_screen_size() added
2015-01-11 19:35:53 +08:00
hurikhan
3c8b047b11
get_screen_count() added
2015-01-11 18:52:42 +08:00
hurikhan
466e251abe
get_window_size() + set_window_size() added
2015-01-11 17:36:56 +08:00
hurikhan
ac558c15ea
get_window_position() + set_window_position() added
2015-01-11 15:47:27 +08:00
hurikhan
291d7992ce
Merge branch 'master' into x11-fullscreen
2015-01-11 08:06:31 +08:00
Juan Linietsky
8997084831
2D Rewrite Step [1]
...
-=-=-=-=-=-=-=-=-=-
-Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future).
-Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order)
-Removed OpenGL ES 1.x support. Good riddance!
2015-01-10 17:35:26 -03:00
hurikhan
a8e3c5c0b7
First attempt of restoring the window at the old position
2015-01-11 01:07:23 +08:00
hurikhan
5d9de48d8d
Make fullscreen-switching is working with LXDE/Openbox
2015-01-10 21:50:31 +08:00
hurikhan
0d2ec19082
API change to set_fullscreen(enabled,screen)
2015-01-10 18:38:30 +08:00
hurikhan
cd90215cec
Make GDScript-Function ( bool OS.is_fullscreen() ) work
2015-01-10 16:01:01 +08:00
hurikhan
97d290e466
x11-fullscreen support through GDScript( OS.set_fullscreen(bool) )
2015-01-10 15:47:34 +08:00
Anton Yabchinskiy
4ab1bcde35
Merge branch 'master' of github.com:okamstudio/godot
...
Conflicts:
drivers/SCsub
platform/x11/detect.py
platform/x11/os_x11.h
2014-12-23 23:44:07 +03:00
Juan Linietsky
f7f197c409
-ability to set default textures in shader (needed for visual shader editing)
...
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
Alexander Stillich
f2843209a5
Implemented PulseAudio backend and fixed audio driver selection on X11
2014-12-19 13:44:34 +01:00
Anton Yabchinskiy
99676d7e74
Merge branch 'master' of https://github.com/okamstudio/godot
2014-12-04 16:32:43 +03:00
Juan Linietsky
e361e8539c
-Ability to ask for documents/pictures/etc system dirs.
...
-Fixes to animationplayer
-fixes to collada importer
2014-12-02 14:02:41 -03:00
Anton Yabchinskiy
e696dba522
Merge branch 'libao'
2014-11-22 17:43:20 +03:00
Anton Yabchinskiy
c26a1b9d7b
Use libao driver on X11 platform
2014-11-22 13:37:50 +03:00
Anton Yabchinskiy
7ed9a8a007
Disable X11 joystick functions also for OpenBSD
2014-11-22 13:23:38 +03:00
Anton Yabchinskiy
c7ff604164
Include string.h for memset() on OpenBSD
2014-11-22 13:23:31 +03:00
Anton Yabchinskiy
e136033e1c
Include stdlib.h for alloca() on OpenBSD
2014-11-22 13:23:22 +03:00
Anton Yabchinskiy
4a1fd94f0d
Enable ALSA only for Linux
2014-11-22 13:23:12 +03:00
Gerold31
ab0974448b
Fix compilation error on 32-bit linux
2014-11-09 10:09:41 +01:00
Juan Linietsky
e82dc40205
-Much improvement to baked light baker
...
-Fixed many bugs in stretch mode
-Fixes to camera project and unproject as consequence of the above
-added setget to script (documented in script doc)
-more fixes to collada exporter for blender
2014-10-27 22:54:32 -03:00
Juan Linietsky
0fa94a9690
Build System Changes
...
-=-=-=-=-=-=-=-=-=-=
Build System:
-Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions).
-Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test.
Engine:
-Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time).
-Added ability to open scenes even if a node type was removed (will try to guess the closest type).
-Removed deprecated node types.
2014-10-07 01:31:49 -03:00
Juan Linietsky
0a557f3bf5
- more fixes on #672 on windows
...
- added #660 , but need help on osx, help please I don't have a mac!
- fixed #667 and #668 (eol detection in comments)
- added #670 (hint when using method without () )
2014-09-19 21:01:41 -03:00
Juan Linietsky
337fe6770f
Merge pull request #635 from adolson/wutf
...
removed output "WUTF" when show/hide mouse cursor
2014-09-17 09:58:17 -03:00
Dana Olson
29fa278c6a
re-added old method for openbox/lxde (possibly others)
2014-09-16 03:22:29 -04:00
Dana Olson
103cc7ffda
cleanup
2014-09-16 02:49:31 -04:00
Dana Olson
f93712d0ae
removed old method
2014-09-16 02:01:35 -04:00
Dana Olson
fb7e27f9ed
fullscreen fix on ubuntu
2014-09-16 01:40:03 -04:00
Dana Olson
dbae857b29
borderless fullscreen window support for x11
...
move disable resize x11 code from context_gl to os_x11
2014-08-25 02:54:38 -04:00
Dana Olson
3c99d58a39
removed output "WUTF" when show/hide mouse cursor
2014-08-20 16:48:24 -04:00