Sam Lantinga
f0b46b4b63
Fixed typo... did somebody not compile this before submitting a patch?
...
--HG--
branch : SDL-1.2
2007-07-08 04:07:36 +00:00
Ryan C. Gordon
83c756f4bb
This looks like it might hit Bugzilla #441 , too, so we'll play it safe.
...
--HG--
branch : SDL-1.2
2007-07-08 01:55:46 +00:00
Ryan C. Gordon
9032aaaf8c
Clear the NOFRAME and RESIZABLE flags in the X11 target before setting their
...
new values, so multiple calls to SetVideoMode() that toggle these will end
up with the right data.
Fixes Bugzilla #441 .
--HG--
branch : SDL-1.2
2007-07-08 01:50:26 +00:00
Ryan C. Gordon
3859229030
Fixed compiler warning (gcc w/ -Wall) for using getpid() and kill() without
...
their proper headers included.
--HG--
branch : SDL-1.2
2007-07-08 01:36:16 +00:00
Ryan C. Gordon
b3d0bc9780
Fixed compiler warning (gcc w/ -Wall) for unused variable, and checked for
...
error return code too.
--HG--
branch : SDL-1.2
2007-07-08 01:35:50 +00:00
Sam Lantinga
902eba96d6
Use GL direct updates when possible
...
--HG--
branch : SDL-1.2
2007-07-07 19:22:27 +00:00
Sam Lantinga
a272a39184
Fixed bug #360
...
Fixed fullscreen video modes and improved the mouse grab code.
--HG--
branch : SDL-1.2
2007-07-07 19:20:28 +00:00
Sam Lantinga
cc9abb85bd
Reverted mousewheel support in 1.2, since it breaks binary compatibility.
...
--HG--
branch : SDL-1.2
2007-07-06 13:39:03 +00:00
Sam Lantinga
d4ab10237e
Ugh... actually changing what buttons are returned to the application. Maybe we should wait until SDL 1.3 for horizontal scrolling support?
...
--HG--
branch : SDL-1.2
2007-07-06 13:32:20 +00:00
Sam Lantinga
9c3a477063
Fixed bug #382
...
Added horizontal scrolling support: SDL_BUTTON_WHEELLEFT (6) and SDL_BUTTON_WHEELRIGHT (7)
--HG--
branch : SDL-1.2
2007-07-06 09:15:43 +00:00
Sam Lantinga
37e5fb71f4
Fixed bug #322
...
Need to resync the keyboard state every time we set a video mode, since
the code in SDL_video.c is clearing the keyboard state.
--HG--
branch : SDL-1.2
2007-07-06 07:45:33 +00:00
Sam Lantinga
18107d7add
Fixed Windows build
...
--HG--
branch : SDL-1.2
2007-07-05 07:11:05 +00:00
Sam Lantinga
492a3cac81
Fixed bug #436
...
The install-lib target should depend on the libraries that are built.
--HG--
branch : SDL-1.2
2007-07-05 06:34:51 +00:00
Ryan C. Gordon
cd531d2e31
Added Markus Mertama to the CREDITS file for the S60 port.
...
--HG--
branch : SDL-1.2
2007-07-05 04:53:36 +00:00
Ryan C. Gordon
f21a11a7d3
Minor updates to the Symbian/S60 port, plus project files that weren't
...
previously imported.
Fixes Bugzilla #433 .
--HG--
branch : SDL-1.2
2007-07-05 04:51:09 +00:00
Ryan C. Gordon
f6bfedad78
Added notes about audio callback behaviour.
...
--HG--
branch : SDL-1.2
2007-07-05 02:53:40 +00:00
Ryan C. Gordon
9594abc1d8
Fixed our own test app. :)
...
--HG--
branch : SDL-1.2
2007-07-05 02:44:54 +00:00
Ryan C. Gordon
66177afee0
Don't initialize the audio buffer passed to the application's audio callback,
...
since they are expected to entirely fill it with data or silence.
For legacy apps that might expect the buffer to already have silence and thus
may not fill the buffer in the callback, there's an environment variable to
expose the old behaviour.
Fixes Bugzilla #416 .
--HG--
branch : SDL-1.2
2007-07-05 02:24:36 +00:00
Sam Lantinga
5ee4e6175f
Oops, didn't mean to commit this...
...
--HG--
branch : SDL-1.2
2007-07-04 15:22:47 +00:00
Sam Lantinga
41a443d951
Fixed bug #450
...
--HG--
branch : SDL-1.2
2007-07-04 15:22:07 +00:00
Sam Lantinga
64f823384c
Fixed bug #447
...
Xlib uses the native locale, not latin1
... the question is... what does the server use? :)
--HG--
branch : SDL-1.2
2007-07-04 07:54:06 +00:00
Sam Lantinga
b9b6dfe97a
Fixed bug #349
...
Solaris doesn't support the LATIN1 character set alias.
--HG--
branch : SDL-1.2
2007-07-04 04:27:47 +00:00
Ryan C. Gordon
18be9d8dc9
Fixed yasm/nasm warning.
...
Fixes Bugzilla #446 .
--HG--
branch : SDL-1.2
2007-07-03 09:53:26 +00:00
Sam Lantinga
6581faeac6
Fixed bug #398
...
You can use SetColors() before the video mode has been set.
--HG--
branch : SDL-1.2
2007-07-03 09:39:09 +00:00
Sam Lantinga
d3c0a3c96e
Added some missing patch notes - Ryan, feel free to add them for your commits
...
--HG--
branch : SDL-1.2
2007-07-03 09:22:57 +00:00
Sam Lantinga
d18dec8293
Added patch note for fixing bug 335
...
--HG--
branch : SDL-1.2
2007-07-03 09:16:14 +00:00
Sam Lantinga
664cd43e70
Fixed bug #335
...
Use SetSystemPaletteUse() to get better access to the system palette.
We can still do better palette matching in the case where we aren't
using fullscreen mode or a hardware palette, but that can wait for
another day. :)
--HG--
branch : SDL-1.2
2007-07-03 09:05:51 +00:00
Sam Lantinga
a9739cb40c
Fixed assembly relocation problems, so we can check for NASM on Mac OS X.
...
--HG--
branch : SDL-1.2
2007-07-02 02:45:52 +00:00
Sam Lantinga
d93d192b26
OpenGL is in the X11 directory on some systems.
...
--HG--
branch : SDL-1.2
2007-06-30 08:09:53 +00:00
Sam Lantinga
afa700497a
Fixed 64-bit compile issues
...
--HG--
branch : SDL-1.2
2007-06-30 03:47:50 +00:00
Ryan C. Gordon
80089cfdd3
Corrected mismerge of XIM patch, thanks Alissa!
...
Fixes Bugzilla #429 .
--HG--
branch : SDL-1.2
2007-06-28 19:29:26 +00:00
Sam Lantinga
ede76d3d09
iconv() doesn't write to the data, just make compilers happy
...
--HG--
branch : SDL-1.2
2007-06-28 08:33:59 +00:00
Sam Lantinga
0a4a20138d
Whoops, need to actually copy inbuf
...
--HG--
branch : SDL-1.2
2007-06-28 06:53:09 +00:00
Sam Lantinga
1d39695864
Okay, apparently the newer standard specifies char** for the inbuf
...
parameter to iconv()
(See http://lists.debian.org/debian-glibc/2004/05/msg00006.html )
I'm casting in the general case, but I added a non-const codepath in
case it matters on some platform.
--HG--
branch : SDL-1.2
2007-06-28 06:47:35 +00:00
Sam Lantinga
77b434c3a5
Better fix for bug 419
...
--HG--
branch : SDL-1.2
2007-06-28 05:35:50 +00:00
Ryan C. Gordon
39eff5a510
Removed textrels from hermes code.
...
Partially fixes Bugzilla #418 .
--HG--
branch : SDL-1.2
2007-06-27 10:12:49 +00:00
Ryan C. Gordon
8d05f5cf7e
Updated "What's New" docs.
...
--HG--
branch : SDL-1.2
2007-06-26 20:04:15 +00:00
Ryan C. Gordon
ab4f135dd8
windib target can now control screensaver with SDL_VIDEO_ALLOW_SCREENSAVER.
...
Fixes Bugzilla #415 .
--HG--
branch : SDL-1.2
2007-06-26 20:02:40 +00:00
Ryan C. Gordon
857fb30004
Added some new XIM symbols to the dynamic X11 function list.
...
--HG--
branch : SDL-1.2
2007-06-26 00:57:09 +00:00
Ryan C. Gordon
3bb777b16e
Whoops, patched to compile.
...
--HG--
branch : SDL-1.2
2007-06-25 20:08:55 +00:00
Ryan C. Gordon
df56aa56f5
Significantly improved XIM support.
...
Fixes Bugzilla #429 .
Selected notes from the patch's README:
= FIXES =
This patch fixes the above issues as follows.
== X11 events ==
Moved XFilterEvent just after XNextEvent so that all events are passed
to it. Also, XFilterEvent will receive masks indicated by IM through
XNFilterEvents IC value as well as masks surpplied by SDL.
X11_KeyRepeat is called between XNextEvent and XFilterEvent, after
testing an event is a KeyRelease. I'm not 100% comfortable to do so,
but I couldn't find a better timing to call it, and use of the
function is inevitable.
== Xutf8LookupString ==
Used a longer buffer to receive UTF-8 string. If it is insufficient,
a dynamic storage of the requested size will be allocated. The
initial size of the buffer is set to 32, because the Japanese text
converted from the most widely used benchmark key sequence for
Japanese IM, "WATASHINONAMAEHANAKANODESU." has ten Japanese characters
in it, that occupies 30 bytes when encoded in UTF-8.
== SDL_keysym.unicode ==
On Windows version of SDL implementation, SDL_keysym.unicode stores
UTF-16 encoded unicode characters, one UTF-16 encoding unit per an SDL
event. A Unicode supplementary characters are sent to an application
as two events. (One with a high surrogate and another with a low
surrogate.) The behavior seems reasonable since it is upward
compatible with existing handling of BMP characters.
I wrote a UTF-8 to UTF-16 conversion function for the purpose. It is
designed with the execution speed in mind, having a minimum set of
features that my patch requires.
--HG--
branch : SDL-1.2
2007-06-25 19:58:32 +00:00
Sam Lantinga
abf879e37b
Oops, 512x512 in 16 bit mode
...
--HG--
branch : SDL-1.2
2007-06-25 14:58:22 +00:00
Sam Lantinga
ddcda50469
Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
...
--HG--
branch : SDL-1.2
2007-06-25 00:50:20 +00:00
Ryan C. Gordon
c66b807d4e
Added S60 port.
...
--HG--
branch : SDL-1.2
2007-06-24 18:26:35 +00:00
Ryan C. Gordon
64c283b48b
Whoops, fixed previous VC6 support patch.
...
--HG--
branch : SDL-1.2
2007-06-21 18:48:13 +00:00
Ryan C. Gordon
df1d10c53f
Fixes for Visual C++ 6.0 with and without the Processor Pack.
...
--HG--
branch : SDL-1.2
2007-06-21 18:20:59 +00:00
Ryan C. Gordon
4a0496f202
Fixed assembler command line for older yasm releases and documented nasm
...
switches.
Fixes Bugzilla #440 .
--HG--
branch : SDL-1.2
2007-06-16 05:51:51 +00:00
Ryan C. Gordon
3ebec8ea6c
Fixed win32 event name list (WM_MOUSELAST was listed twice, one should be
...
WM_MOUSEWHEEL).
--HG--
branch : SDL-1.2
2007-06-16 05:24:55 +00:00
Ryan C. Gordon
2d96450d1f
Added support for WM_XBUTTON to the windib driver, to support more mouse
...
buttons.
Fixes Bugzilla #311 .
--HG--
branch : SDL-1.2
2007-06-16 05:10:47 +00:00
Ryan C. Gordon
40b50cd3f0
Removed some more EPOC stuff I missed.
...
--HG--
branch : SDL-1.2
2007-06-15 15:52:04 +00:00