Sam Lantinga
4c05553d22
Simplified Win32 file opening code
...
--HG--
branch : SDL-1.2
2007-07-10 16:01:46 +00:00
Sam Lantinga
981ecae4d1
Sort of fixed NAS detection on NetBSD - requires that /usr/pkg be in your include/linker/library path
...
--HG--
branch : SDL-1.2
2007-07-10 15:39:14 +00:00
Ryan C. Gordon
e7caf0a656
Whoops, reverted changes that shouldn't have been committed with #3197 .
...
--HG--
branch : SDL-1.2
2007-07-10 15:04:49 +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
Sam Lantinga
ea6ea5ad3d
Backported the NAS detection from SDL 1.3, replacing the broken NetBSD patch
...
--HG--
branch : SDL-1.2
2007-07-10 14:16:44 +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
c0dd25a74e
Added patch note for file I/O speedup
...
--HG--
branch : SDL-1.2
2007-07-10 05:37:53 +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
39ab3938f6
Added patch-aj from NetBSD pkgsrc:
...
chunk 1:
avoid hardcoding nas paths; pkgsrc installs it somewhere else.
This part could probably be done better.
chunk 2:
-L/usr/lib is unnecessary
chunk 3:
Better DragonFly support.
--HG--
branch : SDL-1.2
2007-07-10 04:41:50 +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
671558a717
Removed note about initializing mixing buffers.
...
--HG--
branch : SDL-1.2
2007-07-09 00:26:21 +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
66bad5e6ec
Fixed bug #451
...
SDL_memset4 copies a 32-bit value, not an 8-bit value.
--HG--
branch : SDL-1.2
2007-07-08 14:24:27 +00:00
Sam Lantinga
90a60ed4c0
Fixed configure warning about datarootdir
...
--HG--
branch : SDL-1.2
2007-07-08 05:58:16 +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
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