446 Commits

Author SHA1 Message Date
Henrik Rydgard
673491e568 Whitespace fix 2015-01-02 17:25:23 +01:00
Henrik Rydgard
7f0387a31e Improves buffer overflow protection in LOG macros. Replaces #250.
Also some warning fixes.
2015-01-02 16:36:43 +01:00
Henrik Rydgard
4dce24d05c Improve Moga version detection - do it after the connect event. 2015-01-01 13:34:32 +01:00
Unknown W. Brackets
9f490ddb0f Symbian buildfix. 2014-12-31 10:26:10 -08:00
Unknown W. Brackets
48cbcc9a5e Read from sockets using larger, dynamic buffers.
1024 is too small for downloading things.
2014-12-31 09:36:37 -08:00
Unknown W. Brackets
6562ae4ebc Minor warning fixes. 2014-12-30 10:06:09 -08:00
Unknown W. Brackets
826b12bb70 Tiny optimization for real_time_now() on win. 2014-12-29 10:07:47 -08:00
Gabriel
9eceb70492 Pass -D SDL when SDL is used 2014-12-19 00:03:46 +01:00
Henrik Rydgard
c958ca6b4c Add version argument to NativeGetAppInfo 2014-12-18 22:50:17 +01:00
Henrik Rydgård
87d2436f82 Merge pull request #243 from LoungeKatt/patch-1
use libc++ for iOS to avoid additional directives
2014-12-18 22:42:08 +01:00
Henrik Rydgard
7d86cb2c04 Port my old webserver from the predecessor to native 2014-12-15 00:06:54 +01:00
Lioncash
60f8132d2e stringutil: Add early-exit case to ReplaceAll
If both 'replaceands' are the same, the result string can just be returned.
2014-12-08 14:07:53 -05:00
TwistedUmbrella
a7a9965617 use libc++ for iOS to avoid additional directives 2014-12-05 19:45:51 -05:00
Henrik Rydgård
524fceea5c Fix text input on SDL platforms. Make V_GONE more consistent. 2014-11-25 19:41:38 +01:00
Unknown W. Brackets
3de556b248 Handle commonly mixed-case headers better.
Sometimes you'll see Content-length, etc.
2014-11-25 00:30:13 -08:00
Unknown W. Brackets
c85fb55502 Fix Take() methods. 2014-11-24 07:47:57 -08:00
Unknown W. Brackets
73d5ad3b5c Make the HTTP client more generic.
This way we can send other headers and use HEAD requests.
2014-11-23 16:12:54 -08:00
Sacha
b2ff5bc9f3 Fix backtrace ifdef. Failed on Linux systems that used uclibc. It is actually only available for glibc. 2014-11-18 16:17:56 +10:00
xsacha
62f7b51536 Remove SDL1 code hiding in GLES2 paths. 2014-11-18 13:34:49 +10:00
Henrik Rydgard
ffee75fe5d Warning fixes 2014-11-16 16:44:32 +01:00
Sacha
1e847f977d Typo fix. 2014-11-14 03:13:01 +10:00
Sacha
dea2ae0950 SDL: Support low resolution displays by automatically using fullscreen when window is too large. 2014-11-14 01:38:50 +10:00
Unknown W. Brackets
cfc1855620 Correctly append to a fixed buffer while logging. 2014-11-05 08:07:33 -08:00
beaumanvienna
e5682161da merged with upstream / amended SDL2 multi monitor support 2014-10-15 22:35:03 +02:00
Sacha
d3743d0f39 Fix pause menu on Blackberry. 2014-10-09 04:58:47 +10:00
Henrik Rydgård
dd235f7f24 Merge pull request #239 from fcooper/master-no-x11
base: Allow building when not using X11 on a FBDEV based system
2014-10-07 00:44:44 +02:00
Henrik Rydgård
6d1560547e Merge branch 'PGGB-sdl2' 2014-10-05 14:45:35 +02:00
Henrik Rydgård
d44a702f1e Merge branch 'sdl2' of github.com:PGGB/native into PGGB-sdl2 2014-10-05 14:21:47 +02:00
Franklin S Cooper Jr
c5bb2c7b23 base: Allow building when not using X11 on a FBDEV based system
* Currently building base will fail on non X11 based systems due to
  inclusion of X11 headers and some calls to X11 functions.
* Portions of the code currently attempts to avoid calling X11 functions
  when fbdev is used. This patch adds additional checks to avoid X11 calls.

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 18:56:17 -05:00
beaumanvienna
d54daa2ea5 amendement for sdl version after Qt changes 2014-09-25 21:59:45 +02:00
beaumanvienna
48856951a7 amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:23:25 +02:00
beaumanvienna
e11f403a8e dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:30:50 +02:00
beaumanvienna
3a918141ef dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:29:02 +02:00
beaumanvienna
66c585e931 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:08:02 +02:00
Henrik Rydgard
6ee862b564 Increase some buffer sizes 2014-09-14 00:13:24 +02:00
Sacha
3c0d666e90 Qt audio sounds a lot better with a larger mixlen.
I suppose real buffers would be a proper solution although I can't seem to get it working.
2014-09-10 05:12:35 +10:00
Henrik Rydgard
ef3912f63f Proper msvc implementation of snprintf - _snprintf is different (does not add a null terminator) 2014-09-06 10:29:09 +02:00
Daniel Nagel
4a85cbe404 Make sure fullscreen state is properly reflected in the UI 2014-09-04 10:20:04 +02:00
Daniel Nagel
439ea67cc2 Add error handling for SDL_GL_CreateContext 2014-09-02 07:34:08 +02:00
Daniel Nagel
66c19727ce Add missing mode flag 2014-09-01 20:24:26 +02:00
Daniel Nagel
d4014f5f7f Update to SDL2 2014-09-01 15:46:14 +02:00
Henrik Rydgard
49602416cf More thin3d minor fixes 2014-08-23 10:31:23 +02:00
Sacha
14d2fa9a39 Drop the thread from Qt audio loop. Makes exit cleaner.
Probably needs to be reworked or replaced with SDL it seems.
2014-08-21 03:46:00 +10:00
The Dax
86cd0ccf1a Add a new SYSPROP enum variable. 2014-07-31 01:19:44 -04:00
Sacha
8b634fade4 Qt: Terminate the thread instead of quitting. Stops an annoying popup on OSX and should speed up exit on systems that didn't like the thread still running. 2014-07-26 01:35:49 +10:00
Sacha
f339bda6e2 SystemInfo is never installed by default, so make it optional. 2014-07-25 14:41:23 +10:00
Sacha
8c1a48b90c Qt: Inhibit screensaver for all platforms using Qt5. 2014-07-22 16:03:42 +10:00
Henrik Rydgard
6f6f6eb1fb TextEdit: Add utf-8 support, enable paste from clipboard 2014-07-21 11:59:05 +02:00
Henrik Rydgard
a4a17415a7 android: Allow querying the real display resolution as detected on start 2014-07-21 00:34:12 +02:00
Henrik Rydgard
dcd27e134d Add flag to identify events from mouses. 2014-07-20 22:24:54 +02:00