Commit Graph

3164 Commits

Author SHA1 Message Date
Ryan C. Gordon
0dcf321953 Fixed build problems with gcc __attribute__.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404399
2010-01-13 07:00:20 +00:00
Sam Lantinga
a8a1ac9acd First pass at Ryan's assertion code, minor tweaks to come.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404398
2010-01-13 06:47:17 +00:00
Ryan C. Gordon
7f6c455755 Added a few basic things to svn:ignore.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404397
2010-01-13 06:39:44 +00:00
Sam Lantinga
5826d5a76f Don't warn about unused variables - there's a ton of them. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404396
2010-01-13 05:25:16 +00:00
Sam Lantinga
d643698017 Fixed compiler warning (missing prototype for SDL_Quit())
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404395
2010-01-13 05:24:03 +00:00
Sam Lantinga
7676ffcf3f Fixed function prototype
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404394
2010-01-13 05:21:30 +00:00
Sam Lantinga
819f28ff22 Fixed Mac OS X Xcode build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404393
2010-01-13 05:08:41 +00:00
Sam Lantinga
e630ca29bf Fixed iPhone build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404392
2010-01-13 04:58:31 +00:00
Couriersud
e0624bc220 DirectFB driver compiles again
- moved to new drawing api

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404391
2010-01-11 21:49:09 +00:00
Couriersud
370aa2835f Fix detection of directfb.h
- AC_CHECK_HEADER wants CPPFLAGS

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404390
2010-01-11 21:46:59 +00:00
Ryan C. Gordon
b9cd3d04fb Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device."

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404389
2010-01-11 07:58:55 +00:00
Ryan C. Gordon
975ee45243 Since we're not using the CoreAudio HAL now, we don't need to use EnableIO.
I think that's how it works.

Fixes failure to open audio device on Mac OS X.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404388
2010-01-11 07:45:34 +00:00
Ryan C. Gordon
25ed437154 Patched to compile.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404387
2010-01-11 07:33:56 +00:00
Ryan C. Gordon
896072b2b1 Call SDL_Init() before SDL_GetNumAudioDrivers().
Not sure why that was reversed.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404386
2010-01-10 19:09:57 +00:00
Ryan C. Gordon
9d95b50471 Merged r4874:4875 from branches/SDL-1.2: testwm keyboard debug output.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404385
2010-01-10 18:25:04 +00:00
Ryan C. Gordon
114e425581 Merged r3576:3577 from branches/SDL-1.2: X11 Xlibint.h include fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404384
2010-01-10 18:19:35 +00:00
Sam Lantinga
02f381d65c Updated 1.2 revisions that need to be revisited
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404383
2010-01-10 09:16:46 +00:00
Ryan C. Gordon
d619ac0f8d Revert r5463: Alpha blend "correctness" patch.
Sam says:
"We should revert this. I applied it in 1.3 and then fixed it for correctness."

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404382
2010-01-10 08:59:25 +00:00
Ryan C. Gordon
33bfbef988 Merged r5194:5195 from branches/SDL-1.2: coldfire cpu arch support.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404381
2010-01-10 08:21:19 +00:00
Ryan C. Gordon
b85e22a7e3 Merge r5179:5180 from branches/SDL-1.2: fatbuild.sh Xcode 3.2 fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404380
2010-01-10 08:15:25 +00:00
Ryan C. Gordon
59756ea1bf Merged r5070:5071 from branches/SDL-1.2: forcibly disable buggy MMX mixers.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404379
2010-01-10 07:48:14 +00:00
Ryan C. Gordon
0c006ba21c Merged r4991:5154 from branches/SDL-1.2/src/audio/alsa: many 1.2.14 ALSA fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404378
2010-01-10 07:40:12 +00:00
Ryan C. Gordon
a0dd23d394 Merged r5016:5017 from branches/SDL-1.2: PS2 DMA mapping fix.
I assume this video target is slated for removal in 1.3, but I merged this,
just in case.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404377
2010-01-10 06:32:41 +00:00
Ryan C. Gordon
3a00b48ce0 Merged r4992:4993 from branches/SDL-1.2: increased alpha blend accuracy.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404376
2010-01-10 06:18:39 +00:00
Ryan C. Gordon
44a9cf985c Merged r4866:4867 from branches/SDL-1.2: 64-bit Mac OS X 10.5 SDK fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404375
2010-01-10 05:39:46 +00:00
Ryan C. Gordon
f30bac45d2 Reverted r5460 ... this was merged from 1.2, but was later reverted there.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404374
2010-01-10 05:06:03 +00:00
Ryan C. Gordon
065e14eb5d Merged r4784:4785 from branches/SDL-1.2: Mac OS X linker command line fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404373
2010-01-10 04:42:45 +00:00
Sam Lantinga
80c18796d0 Made the comment more readable
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404372
2010-01-07 04:39:44 +00:00
Sam Lantinga
bb1d53459e The OS/2 support has been removed, so we don't need this now.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404371
2010-01-07 04:38:58 +00:00
Ryan C. Gordon
ce3dc43435 Removed comment referring to previously-removed CD-ROM subsystem.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404370
2010-01-06 21:04:11 +00:00
Ryan C. Gordon
3876de9f47 Merged r4717:4718 from branches/SDL-1.2: minor OS/2 DECLSPEC/SDLCALL fixes.
I reworked this a little. The 1.2 branch isn't really very elegant about this.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404369
2010-01-06 20:58:03 +00:00
Ryan C. Gordon
8fbed4b846 Merged r4713:4714 from branches/SDL-1.2: CoreAudio 64-bit & Snow Leopard fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404368
2010-01-06 20:31:21 +00:00
Ryan C. Gordon
40e8b69061 Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404367
2010-01-06 20:17:35 +00:00
Ryan C. Gordon
4f75dd5505 Merged r4433:4434 from branches/SDL-1.2: fbcon fgets() return value test fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404366
2010-01-06 07:45:58 +00:00
Ryan C. Gordon
65a38589ba Merged r4412:4413 from branches/SDL-1.2: rwops documentation fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404365
2010-01-06 07:39:35 +00:00
Sam Lantinga
63e191d64d Removed the obsolete SDL 1.2 GAPI driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404364
2010-01-06 07:39:09 +00:00
Sam Lantinga
bdb0253ca9 I can't compile this, but it should be updated for the new rendering API now.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404363
2010-01-06 07:37:15 +00:00
Ryan C. Gordon
26e749b7df Merged r4121:4122 from branches/SDL-1.2: more double-free fixes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404362
2010-01-06 07:34:20 +00:00
Ryan C. Gordon
3617a04d58 Merged r4121:4122 from branches/SDL-1.2: win32 joystick double-free fix.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404361
2010-01-06 07:26:49 +00:00
Ryan C. Gordon
4ab9267d2d Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404360
2010-01-06 06:44:23 +00:00
Ryan C. Gordon
516aaa5d6c Merged r3787:3788 from branches/SDL-1.2: better failures for joystick opening.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404358
2010-01-06 06:40:16 +00:00
Sam Lantinga
9a2b0cfb61 Fixed GL_RenderWritePixels() - thanks Ryan!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404357
2010-01-06 06:12:01 +00:00
Sam Lantinga
f643e8c798 Fixed bug #924
Only use sysconf if _SC_NPROCESSORS_ONLN is available.  Fortunately the case for this was Mac OS X 10.4, which has sysctlbyname()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404356
2010-01-06 04:33:31 +00:00
Sam Lantinga
f1255da8b2 We're using GNU recursive mutexes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404355
2009-12-30 19:48:23 +00:00
Sam Lantinga
eca7769600 Fixed bug #915
GNU-isms should be avoided wherever possible for portability, please avoid the use of GNU-isms in your code, this may be problematic when using this library in projects which use non-GNU-compliant compilers.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404354
2009-12-30 19:38:08 +00:00
Sam Lantinga
b9702243c7 Removed in the interest of actually finishing 1.3. :)
They can be done later, either by me or by someone else.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404353
2009-12-30 19:10:41 +00:00
Ryan C. Gordon
4d3b6eafc8 Fixed buffer overflows in resamplers.
I'm not confident this is a complete fix, but I'm not confident the current
 resamplers are really worth keeping at all, either.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404352
2009-12-28 08:28:24 +00:00
Sam Lantinga
1411a41ebd Added missing include for stdio
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404351
2009-12-24 21:00:42 +00:00
Sam Lantinga
3a87e3f645 Updated to include new files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404350
2009-12-24 19:18:41 +00:00
Sam Lantinga
b393d088e8 Updated to compile on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404349
2009-12-24 19:18:05 +00:00