Commit Graph

721 Commits

Author SHA1 Message Date
Benau
1e5e91dabf Try to fix broken gyroscope control in iOS 2020-03-15 15:06:32 +08:00
Benau
932f0f888e Avoid updating editbox if hardware keyboard connected which discards all input 2020-03-15 13:58:51 +08:00
Benau
7598dc7b37 Use minidns for android to fix starting crash 2020-03-13 21:31:33 +08:00
Benau
2cdd6cf754 Fix iOS compiler warning 2020-02-07 13:04:34 +08:00
David Carlier
21cf075e41 FreeBSD build fix proposal. 2020-02-05 15:16:12 +00:00
Benau
54e09dbbf3 Enable logging in iOS default with a correct encoding 2020-02-05 12:23:21 +08:00
Benau
50944bb8c3 Add debug logging for iOS device 2020-01-20 14:58:03 +08:00
David Carlier
d97a1ce1ef removing compilation warning explicitly showing enum origin
to avoid confusions even though they have same values.
FreeBSD recognised as os in stats point of view.
2020-01-18 13:32:50 +00:00
David Carlier
7951d1a92d Reducing significantly build warning on MacOS
OpenGL deprecated APIs, gl/gl3 inclusion, OpenAL deprecated API.
Implementing process path for the crash reporter.
2020-01-12 07:28:15 +00:00
Benau
b09aec6b3f Remove Dmitry Marakasov changes for his disagreement 2020-01-07 00:08:09 +08:00
David Carlier
ea948fd5d5 Mac OS little update propsal.
Silencing deprecated OpenDL api warnings in recent MacOS releases.
Needed to set openssl for curl.
2020-01-04 21:22:43 +00:00
Deve
8df28b07b1 Restore function for hardware keyboard on android 2019-12-27 23:49:29 +01:00
Bart Ribbers
f6ee1ebab1 Include linux/sysctl.h rather than sys/sysctl.h on non-glibc systems (#4174) 2019-12-26 11:52:46 +08:00
Benau
01c57fa483 Add link helper for iOS 2019-12-21 01:30:01 +08:00
Benau
fa249efac1 Fix device orientation unknown in the first time 2019-12-21 01:04:08 +08:00
Benau
be77b5f294 Add code to handle screen padding in new iPhone 2019-12-20 13:10:58 +08:00
Benau
84f91d58db Hide home indicator in iPhone X default 2019-12-20 10:59:01 +08:00
Benau
b79bfa46cc Fix missing last character from replacing xml characters 2019-12-18 14:25:10 +08:00
Benau
ab3d8ef415 Implement link helper for android 2019-10-28 16:47:05 +08:00
Benau
ed6d657d90 Remove glFinish in OSX
From http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=49052

It should not exist in any case
2019-10-25 15:39:35 +08:00
Benau
a616664af2 Add menu command-q shortcut to quit STK in OSX 2019-10-19 13:00:28 +08:00
Benau
42d9e8967f Add default config for iOS devices 2019-10-18 22:22:32 +08:00
Sebastian Krzyszkowiak
2aef80864a
IrrDeviceWayland: Don't try to use non-existent wl_pointer object 2019-10-08 06:41:00 +02:00
Deve
fc8f6a218e Add possibility to use half vsync 2019-09-28 01:43:26 +02:00
Benau
9d2f0c9548 Fix resolution change crash in iOS 2019-07-24 01:37:12 +08:00
Benau
857232fb52 Get system language for iOS 2019-07-24 01:36:21 +08:00
Benau
d24e253435 Re-initialize file archives after downloading assets 2019-07-24 01:34:31 +08:00
Benau
35168d2ecb Hide status bar in iPad 2019-07-19 23:40:16 +08:00
Benau
cac5ee38b5 Fix gles 2.0 in iOS simulator 2019-07-19 22:09:31 +08:00
Benau
577d37ced3 Fix accelerometer conversion in iOS 2019-07-19 01:25:57 +08:00
Benau
dbb14a2861 Fix default windows size and height in iOS 2019-07-17 16:55:09 +08:00
Benau
3e912900fb Use 16bit depth format (we don't use stencil in default framebuffer) 2019-07-16 01:43:47 +08:00
Benau
48fedb48c7 Add accelerometer and gyroscope to iOS 2019-07-16 01:03:37 +08:00
Benau
05486943b7 Handle quit button in STK menu
App store may not like the quit button
2019-07-16 00:56:38 +08:00
Benau
9a62b97a67 Fix multitouch in iOS 2019-07-16 00:55:25 +08:00
Benau
cf966308f6 Use GLKView to handle framebuffer directly 2019-07-15 14:21:38 +08:00
Benau
5a60cb4cdb Don't assume default framebuffer is always zero (not true in iOS) 2019-07-15 11:40:40 +08:00
Benau
d74bc17c8b Disable iOS hardware keyboard for now 2019-07-14 16:44:42 +08:00
Benau
78ff49ced5 Fix screen scaling of iOS 2019-07-14 16:42:45 +08:00
Benau
1f826b5ba7 Share the simulateMouse with android and iOS 2019-07-14 00:43:38 +08:00
Benau
f9c2e40f13 Create GLES 3 context if not legacy device 2019-07-13 14:28:58 +08:00
Benau
8c00a1e857 Share the override default params with android 2019-07-13 14:22:22 +08:00
Benau
b9d00dba6d Add MobileCursorControl to share with iOS and android STK 2019-07-13 13:56:42 +08:00
Benau
8510ebfb27 Add iOSDevice and EAGLManager 2019-07-13 13:44:03 +08:00
Benau
c7308b82b0 Add iOS flags handling in cmake 2019-07-12 14:53:55 +08:00
Deve
b185544518 Tabs to spaces 2019-07-12 08:44:55 +02:00
Deve
9415c61d75
Merge pull request #4000 from mstoeckl/wayland-conn-close
Close program when Wayland connection hangs up
2019-07-12 08:43:06 +02:00
QwertyChouskie
f4c02a4237 Scrollbar: Increase size from 14 to 24 2019-07-11 19:34:52 -07:00
Manuel Stoeckl
1686a9e45b Close program when Wayland connection hangs up
This change ensures that SuperTuxKart will not keep running in the
background when the compositor crashes and doesn't close the STK
main window.
2019-07-11 19:36:18 -04:00
Benau
57a37d9094 Hide supertuxkart in dock if null device for osx 2019-07-07 01:28:10 +08:00
Benau
3350d6c106 Add server only define to osx device 2019-07-07 01:12:10 +08:00
Benau
1bcb16bafb Use utf8 to handling copy and paste in osx 2019-07-06 00:46:03 +08:00
Benau
185b468cb4 Improve azerty handling in osx
TODO: fix "~" typing
2019-07-06 00:31:33 +08:00
Benau
0de1a41c5a Fix compilation in xcode 2019-07-05 17:22:18 +08:00
Benau
d1e2f87cc2 Use libpng and libjpeg from homebrew 2019-07-05 16:34:40 +08:00
Benau
0253384bf9 Fix valgrind warning 2019-06-30 09:41:32 +08:00
Benau
cc671dd710 Allow showing supertuxkart icon in header bar 2019-06-29 14:38:44 +08:00
Benau
1cd725586f Add functions to handle file in utf8 encoded name 2019-06-28 20:49:33 +08:00
Benau
1620cbdbd8 Add minimum composition text support in IME 2019-06-26 15:44:55 +08:00
Benau
7184119409 Clean up input method code in windows with better unicode handling 2019-06-26 13:14:52 +08:00
Benau
c337976413 Use unicode windows build with enabling directinput support in mingw 2019-06-26 11:32:18 +08:00
Benau
074039d2c5 Use a better image resize code
The box filter from irrlicht produces wrong brightness when using with
different size
2019-06-23 01:02:05 +08:00
Benau
7165449da8 Add emoji keyboard 2019-06-20 01:24:55 +08:00
Benau
2ff899e23e Fix android server creation exit crash 2019-06-17 11:32:08 +08:00
Deve
5853ffc15d Add a possibility to move the window on wayland compositors that don't support decorations 2019-06-16 22:48:06 +02:00
Deve
4bd94f8ea6 Check hardware keyboard availability on wayland for better touch screen support 2019-06-16 22:48:06 +02:00
Benau
bb63a85d6f Remove unneeded RTL settings 2019-06-17 01:22:34 +08:00
Benau
fb31ddc81f Fix cursor positioning with emoji in android 2019-06-15 16:26:57 +08:00
Benau
9a7210614b Remove fribidize in translation class 2019-06-15 14:11:14 +08:00
Benau
fc143276fe Allow to use stringw directly when setText 2019-06-15 13:56:36 +08:00
Benau
2eca3164b8 Improve cursor positioning for RTL text 2019-06-14 19:27:18 +08:00
Benau
65a54cbd8b Fix color emoji scaled wrongly with overbright color 2019-06-12 01:18:36 +08:00
Benau
1707ac7e1e Use GlyphLayout to draw list widget 2019-06-11 16:29:35 +08:00
Benau
44796bc8c0 Use a better way to erase top text 2019-06-11 15:05:46 +08:00
Benau
591bd0c3af Use utf16 for java string to stringw conversion 2019-06-10 16:09:07 +08:00
Benau
28cc2838a8 Add color emoji 2019-06-10 10:35:42 +08:00
Benau
89e3bcd11b Update stk edit box to be more i18n friendly 2019-06-10 00:43:31 +08:00
Benau
acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Benau
43d322c634 Add libraries for emoji and complex text 2019-06-09 10:06:50 +08:00
Reiner Herrmann
07b6a16000 Fix several spelling/grammar errors (#3951)
found by lintian
2019-06-04 19:04:18 -04:00
Benau
d487a2e72e Clear text when closing keyboard if onEnterPressed returns true 2019-05-28 15:21:06 +08:00
Benau
6216d003b6 Code clean up 2019-05-28 01:47:41 +08:00
Benau
336300b997 Allow showing different soft keyboard in android 2019-05-27 16:34:16 +08:00
Benau
72c61e412a Fix compiler warnings 2019-05-27 13:13:51 +08:00
Benau
d3ef05b37c Remove unused functions 2019-05-27 12:41:28 +08:00
Benau
a96071f9d3 Make android callback thread safe 2019-05-27 12:17:08 +08:00
Benau
febad27342 Prevent copying text to non focused widget in STK.
It can happen if user uses the arrows in hacker keyboard to change
widget focus
2019-05-27 11:09:28 +08:00
Benau
34e680bfbd Allow copying from STK edit box to android edit text 2019-05-25 22:19:15 +08:00
Benau
27f0f8c961 Move hideNavBar to java for native android keyboard 2019-05-21 16:31:59 +08:00
Benau
1814472214 Improve screen keyboard handling for android (tv)
And remove some android ifdef for wayland on screen keyboard later
2019-05-21 12:43:20 +08:00
Benau
d5246e5291 Move the screen and touchscreen events horizontally for screen keyboard 2019-05-21 01:46:14 +08:00
Benau
766c971339 Try to save keyboard height for moving screen with it later 2019-05-19 17:41:51 +08:00
Benau
ede56a3cf8 Move show and hide keyboard to java memeber function 2019-05-18 15:35:25 +08:00
Benau
0e1c0d1541 Allow handling ACTION_MULTIPLE for unicode and voice message 2019-05-18 09:15:58 +08:00
David Carlier
3b699034f9 register keyword removal 2019-04-30 21:20:08 +01:00
Deve
7b58c439fc Fixed a crash on nvidia when recreating egl context 2019-03-14 22:56:38 +01:00
samuncle
1acc6ecea0 Display the version of the engine 2019-03-11 23:26:44 +01:00
Deve
3c7673ccfc Revert waiting for mapped window before reading dimensions.
It causes issues on some systems.
2019-03-06 21:05:48 +01:00
Deve
c35c0af590 Merge remote-tracking branch 'origin/fix-xbox360-stick-buttons' 2019-02-14 22:15:45 +01:00
Deve
f69b1e7cf7 Add missing ifdef 2019-02-06 21:53:42 +01:00