Commit graph

3195 commits

Author SHA1 Message Date
Sam Lantinga
a448d86eb8 Updated Mac OS X projects with new assertion code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404432
2010-01-18 14:50:57 +00:00
Sam Lantinga
e84dac760c Fixed bug #930
The PS2 video driver is obsolete and not going to be updated unless someone wants to maintain it.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404431
2010-01-18 14:27:30 +00:00
Sam Lantinga
de14fdf2e4 Fixed compiler warning
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404430
2010-01-18 14:16:47 +00:00
Sam Lantinga
8b1ff7b169 Fixed compile error on Mac OS X 10.4
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404429
2010-01-18 14:12:29 +00:00
Sam Lantinga
0fea52edf5 Fixed bug #932
Added the Fill operation for Direct3D

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404428
2010-01-18 06:34:04 +00:00
Ryan C. Gordon
112c27de5d Minor cleanups in PulseAudio code, to keep this 80-column-friendly.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404427
2010-01-17 06:51:31 +00:00
Ryan C. Gordon
df371ce2d4 Attempt to clean up PulseAudio dynamic loading support.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404426
2010-01-17 06:43:28 +00:00
Ryan C. Gordon
83a5b57ac1 Merged r4210:5510 from branches/SDL-1.2/src/audio/pulse: PulseAudio updates.
This pulls all the PulseAudio reworking that was done for 1.2.14 into 1.3.

  Fixes Bugzilla #801.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404425
2010-01-17 06:14:04 +00:00
Sam Lantinga
91df94faa9 Fixed building under Visual Studio
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404422
2010-01-15 20:05:49 +00:00
Ryan C. Gordon
c9bab7f01e Clean up assertion API for public use.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404421
2010-01-13 19:29:33 +00:00
Ryan C. Gordon
281945aa84 Whoops, that should be vfprintf(), not fprintf(). :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404420
2010-01-13 16:58:24 +00:00
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