michi_cc
d3e1229272
(svn r25751) -Fix (r25657): [OSX] Restore fullscreen state also when starting on 10.7+.
11 years ago
michi_cc
79678dc2fb
(svn r25743) -Fix [FS#5705]: [OSX] Text input into an edit box would trigger hotkeys.
11 years ago
fonsinchen
4396dcf642
(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0
11 years ago
fonsinchen
5444d9e72d
(svn r25713) -Fix: use proper ObjC style to avoid problems if members are missing
11 years ago
fonsinchen
2a76993b88
(svn r25712) -Fix: define kCGBitmapByteOrder32Host to 0 if it's missing.
11 years ago
fonsinchen
f6fb4d169d
(svn r25711) -Fix: don't use NULL as integer
11 years ago
fonsinchen
0422ac319c
(svn r25710) -Fix: string arguments to NSNotificationCenter::addObserver and NSNotificationCenter::postNotificationName can't be const in certain versions of OSX
11 years ago
michi_cc
03e8f595a9
(svn r25693) -Add: [OSX] Support the new IME functions introduced with 10.5.
11 years ago
michi_cc
e34fe220e2
(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition string.
11 years ago
michi_cc
4dbe823a5f
(svn r25690) -Change: [OSX] Position the candidate window at the caret position.
11 years ago
michi_cc
88a71979dd
(svn r25689) -Add: [OSX] Display the IME composition string ourself.
11 years ago
michi_cc
dab541ab73
(svn r25688) -Codechange: [OSX] Make our view aware of text input by IMEs.
11 years ago
michi_cc
1a0824eaf6
(svn r25687) -Codechange: [OSX] Pass text input directly down to the text handling.
11 years ago
michi_cc
fbbb5ddb23
(svn r25686) -Codechange: [OSX] Abandon IME input if the edit box lost the focus.
11 years ago
michi_cc
d442d97cf1
(svn r25684) -Change: [Win32] Draw the composition string ourselves if possible.
11 years ago
michi_cc
3b8e61f1b6
(svn r25682) -Change: [Win32] Position the IME candidate window at the caret position.
11 years ago
michi_cc
fa7a779cf7
(svn r25681) -Change: [Win32] Position the IME composition window at the caret position.
11 years ago
michi_cc
b4a36ae257
(svn r25680) -Codechange: [Win32] Cancel the current IME composition when the input focus changes.
11 years ago
michi_cc
1880c36405
(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.
11 years ago
michi_cc
07cd393f7e
(svn r25678) -Codechange: Notify the video driver when an edit box lost (global) focus so it can abort any current input composition.
11 years ago
michi_cc
8151f04e6d
(svn r25675) -Fix: [Win32] Handle DBCS characters correctly in the non-Unicode build.
11 years ago
michi_cc
6be5000eda
(svn r25673) -Fix: [Win32] Use the right code page for converting ANSI strings into UTF-8 for non-Unicode builds. And don't crap out on DBCS code pages either.
11 years ago
michi_cc
d8fa0c7dd8
(svn r25672) -Fix: [Win32] Handle Unicode characters from outside the BMP correctly.
11 years ago
michi_cc
be50bc410f
(svn r25671) -Codechange: Pass character and key code separately to the keyboard handler.
11 years ago
michi_cc
4b9fdb9ec4
(svn r25667) -Fix: [Win32] Only forward key presses to the IME system if an edit box has the input focus.
11 years ago
michi_cc
21120665e3
(svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. (Based on patch by leecbaker)
11 years ago
michi_cc
734a0d788c
(svn r25665) -Fix [FS#4689]: [OSX] Crash when unhiding the main window.
11 years ago
michi_cc
84c4f8bbdc
(svn r25664) -Add [FS#4847]: [OSX] Bootstrap downloading of a baseset. (Matthieu)
11 years ago
michi_cc
f673278cbf
(svn r25660) -Fix: [OSX] The name's OpenTTD, not OTTD.
11 years ago
michi_cc
c5606136d2
(svn r25659) -Fix [FS#4420]: [OSX] System mouse cursor could become visible during dragging. (Matthieu)
11 years ago
michi_cc
b1d2d5d1e5
(svn r25658) -Fix [FS#4392]: [OSX] The mouse cursor would sometimes jump near the window borders. (Matthieu)
11 years ago
michi_cc
75259f1659
(svn r25657) -Fix [FS#4744]: [OSX] The new 10.7 fullscreen code can now also be compiled with older SDK versions.
11 years ago
michi_cc
32d0a2322f
(svn r25656) -Cleanup: Coding style.
11 years ago
michi_cc
a141a5dcad
(svn r25655) -Fix: [OSX] Mouse cursor wasn't displayed properly after switching to fullscreen on 10.7+. (Based on patch by Maedhros)
11 years ago
rubidium
bcd6836291
(svn r25550) -Fix [FS#5571]: [Windows] Race condition between two drawing threads could crash OpenTTD
11 years ago
rubidium
76bcf534e2
(svn r25523) -Fix [FS#5587]: SDL does not give an event when an application gets mouse focus while going to full screen, so manually force the mouse-is-in-window state
11 years ago
matthijs
40c8184469
(svn r25318) -Fix: [SDL, FS#5580] Keyboard input stopped working after fullscreen toggle
11 years ago
rubidium
19a59eeef0
(svn r25017) -Fix [FS#5466]: crash after bootstrap download of 32bits base set due to referencing a deleted mutex
12 years ago
matthijs
862b4ad9b9
(svn r25003) -Fix (r24993): [SDL] Keep a flag to remember if a hardware palette was requested.
...
- Previously, the code would query the SDL_HWPALETTE flag, which doesn't always match the requested value.
- This would cause SDL to be restarted on every window resize event, effectively breaking resizing.
12 years ago
matthijs
f8831481ee
(svn r25002) -Doc: [SDL] Fix typo in comment.
12 years ago
matthijs
eac0f6eab0
(svn r24993) -Fix: [SDL] Improve 8bpp hardware palette support. Instead of always requesting SDL_HWPALETTE, it is now only done for 8bp blitters in fullscreen mode.
...
- This fixes 32bpp blitters on 8bpp X11, which would only render garbage with SDL_HWPALETTE.
- This prevents the colors of other applications from being messed up when running a 8bpp blitter on a 8bpp system.
- When running a 8bpp blitter on an 8bpp system without SDL_HWPALETTE (e.g., in windowed mode), this uses a new shadow surface with color approximation.
- The use of a hardware palette can be forced on and off using -v sdl:hw_palette=1 or -v sdl:hw_palette=0
12 years ago
matthijs
b46eea3505
(svn r24992) -Codechange: [SDL] Make CreateMainSurface and PollEvent private methods instead of static functions.
12 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
b89df11932
(svn r24877) -Fix: some whitespace "errors"
12 years ago
michi_cc
ce64eca677
(svn r24781) -Fix (r24762): [Win32] MinGW compiler warning.
12 years ago
michi_cc
b46358312f
(svn r24762) -Fix [FS#5359]: [Win32] Don't crash when switching to an unsupported fullscreen display mode (like 8 bpp modes in Windows 8).
12 years ago
yexo
8944dcbef2
(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)
12 years ago
glx
ad200403c1
(svn r24394) -Fix (r24188): changing resolution didn't resize the window
12 years ago
truebrain
e57b1daa5c
(svn r24189) -Fix: when going to fullscreen and back, restore to the resolution you were, not to the fullscreen resolution (Windows only)
13 years ago
truebrain
fa8f1f3ac7
(svn r24188) -Fix-ish [FS#5151] (r1): when changing the basics of a window (fullscreen, 8bpp/32bpp), and a window already exists, it was forced out of maximize mode, and its resolution/position was reset, often causing unwanted side-effects. As a "bonus", a WC_SIZE was triggered, and if the system was going from 8bpp to 32pp, this caused a forced window update in a limbo-state of the blitter (not fully 32bpp just yet, but for sure no longer 8bpp); this could cause random memory access which could lead to ACCESS_VIOLATIONS
13 years ago