Commit graph

2683 commits

Author SHA1 Message Date
Sam Lantinga
dc7d3c42a8 Fixed some dependency issues with SDL_revision.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403446
2009-01-04 05:41:52 +00:00
Sam Lantinga
9e30d8021b Fine tuned revision code, updated testver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403445
2009-01-04 05:27:13 +00:00
Sam Lantinga
0fde9f06da Make the current revision number available
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403444
2009-01-04 05:08:12 +00:00
Sam Lantinga
1a8812eeb6 Good ideas, added to the TODO list
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403443
2009-01-03 21:01:02 +00:00
Szymon Wilczek
cf5bc083ee Bug 653 bugfix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403442
2009-01-03 12:00:20 +00:00
Sam Lantinga
7ed73609cf Fixed crash on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403441
2009-01-03 07:33:42 +00:00
Sam Lantinga
f47511d4fb Added a few things to the TODO list.
Unit testing is becoming more and more important the more features are added
and the more combinations of factors there are to test.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403440
2009-01-03 07:23:11 +00:00
Sam Lantinga
0699da07a7 Icons with translucency are implemented
Reminder to finish off multi-display support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403439
2009-01-03 07:16:57 +00:00
Sam Lantinga
7e2eb71ed7 Added bug reports to the credits
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403438
2009-01-03 06:15:58 +00:00
Sam Lantinga
e5796d2a53 Fixed bug #663
Fixed mouse wheel direction

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403437
2009-01-03 06:12:05 +00:00
Sam Lantinga
dd23674bb7 The mouse position is relative to the client window.
Fixed setting the mouse focus when the mouse enters/leaves the window.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403436
2009-01-03 06:03:56 +00:00
Sam Lantinga
4a241fd21e Improved Direct3D YUV texture support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403435
2009-01-03 05:42:18 +00:00
Sam Lantinga
b4dd1e1c1a Query available formats before advertising them.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403434
2009-01-03 04:33:19 +00:00
Sam Lantinga
01419057d7 Should we also set the icon in the task manager?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403433
2009-01-03 01:20:55 +00:00
Sam Lantinga
8e66442a4f Added support for translucent icons on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403432
2009-01-03 01:01:53 +00:00
Sam Lantinga
1ba6e5602c Added support for saving 32-bit BMP with alpha channel (disabled by default)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403431
2009-01-03 01:00:38 +00:00
Sam Lantinga
cd6f7dd74f Date: Fri, 02 Jan 2009 23:22:39 +0100
From: Couriersud
Subject: SDL1.3 Win32 Resize bug

the attached diff fixes a bug where width and height were exchanged when
resizing a window.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403430
2009-01-02 23:47:16 +00:00
Sam Lantinga
fea6781d86 Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403429
2009-01-02 17:39:48 +00:00
Sam Lantinga
3c555c8843 There are still 8-bit applications that can take advantage of these (like Diablo 2)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403428
2009-01-02 16:38:31 +00:00
Sam Lantinga
0d7345eadb Maybe add a timeout for SDL_WaitEvent()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403427
2009-01-02 16:06:29 +00:00
Sam Lantinga
00a0a23f4a indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403426
2009-01-02 16:03:37 +00:00
Sam Lantinga
b84ae14eeb Don't use DirectColor visuals until we implement DirectColor colormap support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403425
2009-01-02 15:47:49 +00:00
Sam Lantinga
959558fe22 Hopefully fixed crash when there are no input devices
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403424
2009-01-02 10:30:53 +00:00
Sam Lantinga
382a1fe6c7 The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403423
2009-01-02 09:50:25 +00:00
Sam Lantinga
0fc4da0d04 It's probably not worth pushing palettized textures. The memory optimization
isn't worth the effort on modern hardware with the sorts of games that would
be using the SDL 1.3 texture API.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403422
2009-01-02 09:27:36 +00:00
Sam Lantinga
5a4880543e Now that we don't have to worry about 8-bit displays, maybe we can add alpha
to the palette entries?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403421
2009-01-02 09:14:55 +00:00
Sam Lantinga
ce0bbf9237 Bye bye PseudoColor! :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403420
2009-01-02 09:12:21 +00:00
Sam Lantinga
74d652da9a Ryan doesn't like hung programs to lock up his system. Silly, huh?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403419
2009-01-02 09:04:31 +00:00
Ryan C. Gordon
f62d6c171b Fixed off-by-one in audio converters, when growing a data type's size.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403418
2009-01-02 08:12:14 +00:00
Ryan C. Gordon
b96a3090e0 Avoid unnecessary assignment in generated audio type converters.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403417
2009-01-02 07:34:01 +00:00
Sam Lantinga
c16d0bb0ee Whoops, we need to actually fill the colormap on DirectColor visuals.
Temporarily disable them for now.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403416
2009-01-02 04:35:52 +00:00
Sam Lantinga
e7cc8150fd Added Couriersud to credits for finding bugs
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403415
2009-01-02 01:37:07 +00:00
Sam Lantinga
f2fc43acdc Date: Fri, 02 Jan 2009 00:54:48 +0100
From: Couriersud
Subject: SDL1.3 Two small bugs ...

The first bug is rather straight forward; XCloseDevice needs a device,
not an ID.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403414
2009-01-02 01:34:52 +00:00
Sam Lantinga
846fd2c0b9 Don't check in personal files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403413
2009-01-02 01:32:51 +00:00
Holmes Futrell
222a45cb45 Added target testdraw2 for running the test/testdraw2.c test.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403412
2009-01-01 23:49:28 +00:00
Holmes Futrell
6b02e2aeb6 Modified OpenGL ES render driver to support new SDL_RenderFill, SDL_RenderLine, and SDL_RenderPoint.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403411
2009-01-01 23:47:33 +00:00
Holmes Futrell
bfa8620949 Re-enabled joystick support during compilation.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403410
2009-01-01 23:01:05 +00:00
Sam Lantinga
9e2744e7fa Date: Thu, 01 Jan 2009 21:32:12 +0100
From: Couriersud
Subject: Fusionsound audio driver

attached is a diff containing a audio driver for the FusionSound
library. This sound library is closely related to DirectFB and uses the
same transport (fusion) as DirectFB when running applications "remote",
i.e. over the network. As such, it natively redirects sound where
DirectFB redirects video. This may be handy for everyone using SDL over
DirectFB.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403409
2009-01-01 21:34:22 +00:00
Sam Lantinga
9e1365dbe8 Kicking off the great SDL Bug Hunt for January 2009
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403408
2009-01-01 19:42:48 +00:00
Sam Lantinga
2184f43b1c Fixed DirectColor visual window creation problem
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403407
2009-01-01 18:58:26 +00:00
Sam Lantinga
1b7ca906c0 Windows line drawing support is implemented
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403406
2009-01-01 18:49:43 +00:00
Sam Lantinga
6891f04606 Oh yeah, it's an XInput symbol
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403405
2009-01-01 08:22:20 +00:00
Sam Lantinga
2191586507 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403404
2009-01-01 08:21:19 +00:00
Sam Lantinga
4bc10ea08f Added missing symbol
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403403
2009-01-01 08:19:56 +00:00
Sam Lantinga
57fa80fc86 Fixed X11 mouse motion/button events - it's not actually safe to cast mouse events to device events.
Fixed building SDL without XInput support
Simplified the process of registering a mouse device

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403402
2009-01-01 07:59:08 +00:00
Ryan C. Gordon
30768ab2aa Audio driver priority: favor PulseAudio and ALSA over OSS.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403401
2009-01-01 07:58:20 +00:00
Ryan C. Gordon
0e24b20c3b Adjusted default choice of audio driver.
If a driver can definitely see available devices, it is chosen. Otherwise,
 we'll take the first driver that initializes but saw no devices...this might
 be because it can't enumerate them, or there really aren't any available.

This prevents the dsp driver from hogging control when there are no /dev/dsp*
 nodes (for example, on a Linux box with ALSA and no OSS emulation).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403400
2009-01-01 07:54:58 +00:00
Sam Lantinga
6611747b8f Removed unused variable
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403399
2008-12-31 08:05:21 +00:00
Sam Lantinga
599fb25b17 iPhone build compiles again (drawing routines need to be implemented)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403398
2008-12-31 07:56:56 +00:00
Sam Lantinga
42a2b85bc5 Added testdraw2 to Visual C++ tests
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403397
2008-12-31 07:35:55 +00:00