Sam Lantinga
768896d21c
A better fix for building DGA code on Solaris 8, inspired by the NetBSD pkgsrc patch.
...
--HG--
branch : SDL-1.2
2007-07-12 08:05:19 +00:00
Sam Lantinga
b8389ee714
Ryan's fix is still good for the built-in version of iconv_open()
...
--HG--
branch : SDL-1.2
2007-07-12 08:04:10 +00:00
Sam Lantinga
0d5dbe63e0
Fixed iconv handling on Solaris 11
...
--HG--
branch : SDL-1.2
2007-07-12 07:47:29 +00:00
Sam Lantinga
b314a8768e
Fixed bug #455
...
If passed "" for the character set, let iconv_open() interpret it as
locale.
--HG--
branch : SDL-1.2
2007-07-12 07:29:19 +00:00
Sam Lantinga
36072b6f7f
Fixed joystick name detection
...
--HG--
branch : SDL-1.2
2007-07-12 05:19:55 +00:00
Sam Lantinga
72971613ec
Added key composition support, courtesy of Kuon
...
--HG--
branch : SDL-1.2
2007-07-11 07:53:12 +00:00
Ryan C. Gordon
e79a9981ca
Merged r3207:3208 from trunk/SDL: *INDENT-OFF* for inline asm.
...
--HG--
branch : SDL-1.2
2007-07-11 07:25:57 +00:00
Ryan C. Gordon
fdafa36bce
Cleaned up tabs.
...
--HG--
branch : SDL-1.2
2007-07-11 07:21:39 +00:00
Ryan C. Gordon
c13d2c86f5
GCC inline asm for MMX YUV processing no longer has textrels and now works when
...
gcc wants to hog %%ebx for the PIC register.
Fixes Bugzilla #418 .
--HG--
branch : SDL-1.2
2007-07-11 06:26:22 +00:00
Sam Lantinga
d6ee8b3ea7
Fixed VC++ warnings
...
--HG--
branch : SDL-1.2
2007-07-11 05:55:10 +00:00
Sam Lantinga
323e531569
Removed unreferenced variable
...
--HG--
branch : SDL-1.2
2007-07-11 05:46:04 +00:00
Sam Lantinga
8d46e7bac9
I think this fixes bug #261
...
Make sure that you don't use a wgl function after the context is deleted.
--HG--
branch : SDL-1.2
2007-07-11 05:43:39 +00:00
Ryan C. Gordon
2612d57676
Set the error after freeing stuff, just in case one of those functions resets
...
the error string.
--HG--
branch : SDL-1.2
2007-07-10 19:03:44 +00:00
Ryan C. Gordon
470b697064
Reverted most of r3200:3201: a malloc() failure would leave a zero-byte
...
file if opening for write.
--HG--
branch : SDL-1.2
2007-07-10 18:56:08 +00:00
Sam Lantinga
4c05553d22
Simplified Win32 file opening code
...
--HG--
branch : SDL-1.2
2007-07-10 16:01:46 +00:00
Ryan C. Gordon
f1c32ff639
Don't leak the readahead buffer if win32 rwops file open fails.
...
--HG--
branch : SDL-1.2
2007-07-10 15:03:19 +00:00
Ryan C. Gordon
d370a8df80
Added a '*/' for whiney compilers that don't like comments-in-comments.
...
--HG--
branch : SDL-1.2
2007-07-10 13:52:07 +00:00
Sam Lantinga
351e299247
Fixed bug #453
...
That's silly, we included <asm/page.h> even though we know we have getpagesize()
--HG--
branch : SDL-1.2
2007-07-10 05:35:33 +00:00
Sam Lantinga
e1897287a9
I'm reverting this patch...
...
I'm suspicious, since the X11 driver doesn't appear to need it. :)
--HG--
branch : SDL-1.2
2007-07-10 04:49:00 +00:00
Sam Lantinga
3bfb01cbff
Merged some patches from NetBSD pkgsrc:
...
Added two patches for Solaris 8. The X11 implementation does not
define the xEvent structure unless NEED_EVENTS is defined.
--HG--
branch : SDL-1.2
2007-07-10 04:47:08 +00:00
Sam Lantinga
d290a1b7bb
Fixed signed/unsigned mismatch ... hmm, limited to 2 GB reads? Fix in SDL 1.3
...
--HG--
branch : SDL-1.2
2007-07-10 04:31:31 +00:00
Sam Lantinga
2b7f475ce0
Added read-ahead support for Win32 file IO
...
--HG--
branch : SDL-1.2
2007-07-10 04:01:46 +00:00
Ryan C. Gordon
85cd0a4912
Reverted patch in revision #3139 , since it changes behaviour, which isn't good
...
at this stage of 1.2.
--HG--
branch : SDL-1.2
2007-07-09 00:25:31 +00:00
Sam Lantinga
7f31bfce8c
Applied patch from OpenBSD ports package
...
--HG--
branch : SDL-1.2
2007-07-08 22:58:33 +00:00
Sam Lantinga
8ba37093d5
Merged FreeBSD joystick patch
...
--HG--
branch : SDL-1.2
2007-07-08 22:14:37 +00:00
Sam Lantinga
5fee52b523
Fixed bug #437
...
Some X servers advertise the DGA extension don't support DGA1 anymore.
--HG--
branch : SDL-1.2
2007-07-08 20:38:36 +00:00
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
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
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
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
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
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