Commit Graph

3234 Commits

Author SHA1 Message Date
Ryan C. Gordon
7ab6608457 Friendly warning comment.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404419
2010-01-13 16:21:26 +00:00
Ryan C. Gordon
b01eaafa2f Fixed compiler warning.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404418
2010-01-13 16:18:36 +00:00
Ryan C. Gordon
9b5bcdbac7 Whitespace tweak.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404417
2010-01-13 16:10:25 +00:00
Ryan C. Gordon
e63d0dd35c Fixed comment.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404416
2010-01-13 16:09:27 +00:00
Ryan C. Gordon
5c1ec528fa Handle assert init/quit better.
Don't create a mutex unles we need to, only clean it up if we made it.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404415
2010-01-13 16:08:03 +00:00
Sam Lantinga
c47e208c6b Moved the assertion tests to testplatform
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404414
2010-01-13 09:48:42 +00:00
Ryan C. Gordon
6bb89ae342 Handle assertion failures when SDL_Init() isn't called.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404413
2010-01-13 09:44:17 +00:00
Ryan C. Gordon
ca6027f7e7 Handle assertion failures during assertion handler.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404412
2010-01-13 09:13:37 +00:00
Ryan C. Gordon
e484ea63b0 Fixed Mac OS X assertion code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404411
2010-01-13 09:10:17 +00:00
Sam Lantinga
34cca2b9f2 Don't forget to install the new header. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404410
2010-01-13 08:53:32 +00:00
Sam Lantinga
d663865d8c Quiet tests shouldn't prompt during assertions
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404409
2010-01-13 08:52:47 +00:00
Sam Lantinga
fcf7ea92c7 Leave fullscreen mode to pop an assertion dialog
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404408
2010-01-13 08:44:46 +00:00
Sam Lantinga
126176c283 Assume _exit() is available. It may be, even if unix isn't defined.
If we really have to, we can add a configure check for it.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404407
2010-01-13 08:30:34 +00:00
Sam Lantinga
89f83fd92e Moved SDL_FUNCTION out so it's always available, and added SDL_FILE and SDL_LINE
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404406
2010-01-13 08:25:16 +00:00
Sam Lantinga
803375d590 Allow configure to override assertion settings, but by default this comes from the build optimization level.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404405
2010-01-13 08:06:32 +00:00
Sam Lantinga
34ea846ca1 Automatically figure out the appropriate assertion level
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404404
2010-01-13 07:52:53 +00:00
Sam Lantinga
34ddeb3501 Fixed release level assertions
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404403
2010-01-13 07:36:00 +00:00
Sam Lantinga
c5700af03a Fixed include ordering
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404402
2010-01-13 07:33:33 +00:00
Sam Lantinga
85c65600ba Check for signal.h before using it, don't assume unix is available or required
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404401
2010-01-13 07:32:25 +00:00
Sam Lantinga
e50ab3b341 The config sets the default assertion level so people can override it for their own use in application code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404400
2010-01-13 07:25:28 +00:00
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