Commit Graph

362 Commits

Author SHA1 Message Date
planetmaker
d40eafd92e (svn r26943) -Fix: [Win32] Silence a warning about comparison of signed and unsigned variables when using gcc 2014-09-30 21:10:32 +00:00
michi_cc
79e180250c (svn r26818) -Fix [FS#AndyShouldHaveFoundFlySprayByNow] (r26758): [OSX] Line history and scrolling in the console window went on a walk. 2014-09-13 22:00:10 +00:00
michi_cc
1a35644033 (svn r26758) -Fix [FS#5972]: [OSX] Implement more of the text editing API to prevent crashes and improve IME support. 2014-08-24 10:34:43 +00:00
planetmaker
cd084721b4 (svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2) 2014-07-30 20:19:29 +00:00
rubidium
beb540ec55 (svn r26538) -Codechange: remove double accounting of the drivers 2014-04-28 21:06:51 +00:00
frosch
b2c786ea68 (svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video modes.
-Remove: [win32] fullscreen_bpp setting, which is replaced by above setting.
-Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
2014-04-27 12:15:14 +00:00
rubidium
034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
rubidium
982c68754d (svn r26502) -Fix: OSX compilation error 2014-04-24 18:44:38 +00:00
frosch
aa743dc837 (svn r26496) -Fix (r1547): Reading console input on dedicated server relied on unspecified behaviour. 2014-04-24 17:49:31 +00:00
rubidium
5c7c2445d8 (svn r26489) -Codechange: properly account for the end of buffers in the file io code instead of assuming MAX_PATH is okay 2014-04-23 21:23:21 +00:00
rubidium
6ecc602050 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 2014-04-23 21:12:09 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
planetmaker
1d8c673587 (svn r26449) -Add: Allow more sound sleep for dedicated servers when there's nothing to do and nobody paying attention 2014-04-08 20:19:41 +00:00
michi_cc
99f4ce349f (svn r26367) -Fix: [Win32] Use a separate event to indicate that the drawing thread has finished initialising, preventing potential deadlocks. 2014-02-23 16:08:50 +00:00
fonsinchen
a1be0cf0fc (svn r26366) -Fix: Protect the windows video driver from concurrent access (frosch123) 2014-02-23 14:16:36 +00:00
fonsinchen
3d7fb88158 (svn r26365) -Fix [FS#5867]: Don't draw the cursor when its sprite isn't ready and set _screen.dst_ptr immediately when the buffer changes (frosch123) 2014-02-23 14:15:55 +00:00
frosch
66aefd9d9b (svn r26360) -Revert (r25550) / Fix [FS#5922]: ClientSizeChanged is only called via WndProcGdi which already has the mutex. The issue which r25550 tried to fix still exists as FS#5867. 2014-02-22 14:26:07 +00:00
frosch
44003f0bae (svn r26351) -Fix: Protect all VideoDriver_SDL methods with the _draw_mutex. 2014-02-16 21:57:22 +00:00
rubidium
08d405ea09 (svn r26247) -Fix [FS#5854, FS#5855]: Possible out of bounds reads with the sse blitters (MJP) 2014-01-13 17:54:24 +00:00
rubidium
0b08fb44f4 (svn r26211) -Add: specialised non-animated SS2 blitter (MJP)
With 32bpp base set about 30% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 5 and 1% of total run time
2014-01-02 23:12:32 +00:00
rubidium
4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
fonsinchen
6218ae7be3 (svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED. 2013-12-30 14:46:24 +00:00
rubidium
d709a7f465 (svn r26108) -Codechange: some coding style (whitespace) 2013-11-25 14:30:22 +00:00
rubidium
f843a0b5d9 (svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations 2013-11-25 14:26:46 +00:00
michi_cc
563dd1ec4d (svn r26023) -Fix [FS#5805] (r25686): [OSX] Checking for a valid NSTextInputContext is supposed to fail on 10.4 according to docs, but somehow didn't, leading to a crash when an edit box lost focus. 2013-11-17 12:05:40 +00:00
rubidium
162c378aa5 (svn r26009) -Fix: warning about conditional expression with enumeral with non-enumeral type 2013-11-16 10:05:57 +00:00
michi_cc
8e9a63126c (svn r26003) -Fix [FS#5795b] (r25743): [OSX] Some hotkeys were still triggered during text input. 2013-11-14 23:04:04 +00:00
michi_cc
d1962c7726 (svn r26002) -Fix: [OSX] If the console hotkey is a dead key, require two presses to toggle the console, allowing input of accented characters. 2013-11-14 23:03:59 +00:00
michi_cc
6645358d86 (svn r26001) -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked characters from an edit box losing focus. 2013-11-14 23:03:54 +00:00
rubidium
68d5d76eec (svn r25970) -Fix [FS#5787]: [SDL] Recursive mutex locking when changing blitter 2013-11-12 18:31:12 +00:00
michi_cc
fccd7bf0c7 (svn r25962) -Fix (r25951): [OSX] Do the SDK version test the proper way 'round. 2013-11-09 14:47:03 +00:00
michi_cc
ea14d00066 (svn r25951) -Fix [FS#5797]: [OSX] Disable the old fullscreen sub-driver when compiling with SDK versions 10.9+. 2013-11-08 20:18:31 +00:00
michi_cc
b3195d291a (svn r25950) -Codechange: [OSX] Move some functions used by all video sub-drivers into the common source file. 2013-11-08 20:18:27 +00:00
michi_cc
d3e1229272 (svn r25751) -Fix (r25657): [OSX] Restore fullscreen state also when starting on 10.7+. 2013-08-31 20:17:29 +00:00
michi_cc
79678dc2fb (svn r25743) -Fix [FS#5705]: [OSX] Text input into an edit box would trigger hotkeys. 2013-08-25 11:23:10 +00:00
fonsinchen
4396dcf642 (svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0 2013-08-10 12:47:24 +00:00
fonsinchen
5444d9e72d (svn r25713) -Fix: use proper ObjC style to avoid problems if members are missing 2013-08-10 12:47:22 +00:00
fonsinchen
2a76993b88 (svn r25712) -Fix: define kCGBitmapByteOrder32Host to 0 if it's missing. 2013-08-10 12:47:20 +00:00
fonsinchen
f6fb4d169d (svn r25711) -Fix: don't use NULL as integer 2013-08-10 12:47:18 +00:00
fonsinchen
0422ac319c (svn r25710) -Fix: string arguments to NSNotificationCenter::addObserver and NSNotificationCenter::postNotificationName can't be const in certain versions of OSX 2013-08-10 12:47:16 +00:00
michi_cc
03e8f595a9 (svn r25693) -Add: [OSX] Support the new IME functions introduced with 10.5. 2013-08-05 20:38:02 +00:00
michi_cc
e34fe220e2 (svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string. 2013-08-05 20:37:53 +00:00
michi_cc
4dbe823a5f (svn r25690) -Change: [OSX] Position the candidate window at the caret position. 2013-08-05 20:37:48 +00:00
michi_cc
88a71979dd (svn r25689) -Add: [OSX] Display the IME composition string ourself. 2013-08-05 20:37:44 +00:00
michi_cc
dab541ab73 (svn r25688) -Codechange: [OSX] Make our view aware of text input by IMEs. 2013-08-05 20:37:40 +00:00
michi_cc
1a0824eaf6 (svn r25687) -Codechange: [OSX] Pass text input directly down to the text handling. 2013-08-05 20:37:37 +00:00
michi_cc
fbbb5ddb23 (svn r25686) -Codechange: [OSX] Abandon IME input if the edit box lost the focus. 2013-08-05 20:37:33 +00:00
michi_cc
d442d97cf1 (svn r25684) -Change: [Win32] Draw the composition string ourselves if possible. 2013-08-05 20:37:25 +00:00
michi_cc
3b8e61f1b6 (svn r25682) -Change: [Win32] Position the IME candidate window at the caret position. 2013-08-05 20:37:18 +00:00
michi_cc
fa7a779cf7 (svn r25681) -Change: [Win32] Position the IME composition window at the caret position. 2013-08-05 20:37:14 +00:00