Sam Lantinga
102fd54847
Fixed bug #935
...
Patrice Mandin
Hello,
I originally added pth support for threads in SDL 1.2 because on the Atari
platform we did not have any thread library.
I think pth support could be removed from SDL 1.3 for two reasons:
- Atari platform removed
- pth does not provides real (preemptive) threads, because it is user space,
and expect the application to call one of its function to give CPU to another
thread. So it is not exactly useful for applications, that expect threads to
run simultaneously.
2010-01-24 20:47:20 +00:00
Sam Lantinga
96cb1303f9
Added magic to detect already freed or otherwise invalid windows and textures.
2010-01-24 20:21:51 +00:00
Sam Lantinga
25fb3c9536
Fixed bug #916
...
Shutting down the video shuts down the event loop, so don't do that after starting the event loop. :)
2010-01-24 19:47:17 +00:00
Sam Lantinga
0bea959d89
update window prev links
2010-01-22 16:17:11 +00:00
Sam Lantinga
b4f5a3c8b7
Fixed infinite loop at shutdown - update texture prev links
2010-01-22 15:55:20 +00:00
Sam Lantinga
8de28c8753
Documentation consistency
2010-01-22 06:50:17 +00:00
Sam Lantinga
a4d89ea6c5
Fixed compilation on iPhone
2010-01-21 16:12:24 +00:00
Sam Lantinga
355a34efec
Fixed crash when there was no mouse focus for some reason (iPhone bug?)
2010-01-21 16:11:55 +00:00
Sam Lantinga
8d335a4449
Fixed Cocoa and OpenGL builds
2010-01-21 07:28:01 +00:00
Sam Lantinga
14f496cada
Fixed compile warning on 64-bit Mac OS X
2010-01-21 07:22:11 +00:00
Sam Lantinga
aaa677e898
Fixed compile warning
2010-01-21 07:10:22 +00:00
Sam Lantinga
e0a31b4dbb
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
2010-01-21 06:21:52 +00:00
Sam Lantinga
b4fc8d890d
Fixed compiler warnings on 32-bit Linux
2010-01-21 05:49:41 +00:00
Sam Lantinga
3df28b69b9
From: Jjgod Jiang
...
Date: Mon, 18 Jan 2010 17:46:35 +0800
Subject: [PATCH] Polish text input handling for Mac OS X
- Prevent crash caused by uninitialized video data
- Prevent beeping caused by unhandled Cocoa selectors (like moveUp:
moveDown:, etc.)
2010-01-19 07:28:51 +00:00
Sam Lantinga
020dfe5420
Added Xcode-iPhoneOS to make dist
2010-01-19 05:31:16 +00:00
Sam Lantinga
526ce97953
Removed obsolete checks for ipod Linux
2010-01-18 14:58:58 +00:00
Sam Lantinga
1741e6f362
Fixed bug #920
...
From Martin:
Alright... I corrected SDL_SYS_ToDirection in SDL_syshaptic.c in the linux
directory of haptic. Now in all 3 cases the same value is returned, at least.
Therefore now it should behave the same way as on Windows.
I added some comments and corrected the cases SDL_HAPTIC_CARTESIAN and
SDL_HAPTIC_SPHERICAL.
2010-01-18 14:57:41 +00:00
Sam Lantinga
a6f953d085
Updated Mac OS X projects with new assertion code
2010-01-18 14:50:57 +00:00
Sam Lantinga
e2618f14d2
Fixed bug #930
...
The PS2 video driver is obsolete and not going to be updated unless someone wants to maintain it.
2010-01-18 14:27:30 +00:00
Sam Lantinga
4416d51d59
Fixed compiler warning
2010-01-18 14:16:47 +00:00
Sam Lantinga
05b3cdda94
Fixed compile error on Mac OS X 10.4
2010-01-18 14:12:29 +00:00
Sam Lantinga
c9cdb827a2
Fixed bug #932
...
Added the Fill operation for Direct3D
2010-01-18 06:34:04 +00:00
Ryan C. Gordon
4d8cce19f4
Minor cleanups in PulseAudio code, to keep this 80-column-friendly.
2010-01-17 06:51:31 +00:00
Ryan C. Gordon
3ffe4d25a3
Attempt to clean up PulseAudio dynamic loading support.
2010-01-17 06:43:28 +00:00
Ryan C. Gordon
938953423e
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 .
2010-01-17 06:14:04 +00:00
Sam Lantinga
cb028e3357
Fixed building under Visual Studio
2010-01-15 20:05:49 +00:00
Ryan C. Gordon
62b6ab68d0
Clean up assertion API for public use.
2010-01-13 19:29:33 +00:00
Ryan C. Gordon
f48b26ea6a
Whoops, that should be vfprintf(), not fprintf(). :)
2010-01-13 16:58:24 +00:00
Ryan C. Gordon
adbfb16246
Friendly warning comment.
2010-01-13 16:21:26 +00:00
Ryan C. Gordon
41337892d2
Fixed compiler warning.
2010-01-13 16:18:36 +00:00
Ryan C. Gordon
e7c41b8a1b
Whitespace tweak.
2010-01-13 16:10:25 +00:00
Ryan C. Gordon
e6b26beb4e
Fixed comment.
2010-01-13 16:09:27 +00:00
Ryan C. Gordon
6a3cbf3b30
Handle assert init/quit better.
...
Don't create a mutex unles we need to, only clean it up if we made it.
2010-01-13 16:08:03 +00:00
Sam Lantinga
993462b7ce
Moved the assertion tests to testplatform
2010-01-13 09:48:42 +00:00
Ryan C. Gordon
9c333b1152
Handle assertion failures when SDL_Init() isn't called.
2010-01-13 09:44:17 +00:00
Ryan C. Gordon
91168bd712
Handle assertion failures during assertion handler.
2010-01-13 09:13:37 +00:00
Ryan C. Gordon
55906b2938
Fixed Mac OS X assertion code.
2010-01-13 09:10:17 +00:00
Sam Lantinga
a50ccc11e9
Don't forget to install the new header. :)
2010-01-13 08:53:32 +00:00
Sam Lantinga
a7f9985e1f
Quiet tests shouldn't prompt during assertions
2010-01-13 08:52:47 +00:00
Sam Lantinga
5676823dcf
Leave fullscreen mode to pop an assertion dialog
2010-01-13 08:44:46 +00:00
Sam Lantinga
efb81e6b8c
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.
2010-01-13 08:30:34 +00:00
Sam Lantinga
056bd9865b
Moved SDL_FUNCTION out so it's always available, and added SDL_FILE and SDL_LINE
2010-01-13 08:25:16 +00:00
Sam Lantinga
8b4a9fce45
Allow configure to override assertion settings, but by default this comes from the build optimization level.
2010-01-13 08:06:32 +00:00
Sam Lantinga
0db463843f
Automatically figure out the appropriate assertion level
2010-01-13 07:52:53 +00:00
Sam Lantinga
8e978babaa
Fixed release level assertions
2010-01-13 07:36:00 +00:00
Sam Lantinga
cbe33ba29a
Fixed include ordering
2010-01-13 07:33:33 +00:00
Sam Lantinga
2936f4a45d
Check for signal.h before using it, don't assume unix is available or required
2010-01-13 07:32:25 +00:00
Sam Lantinga
a112207d03
The config sets the default assertion level so people can override it for their own use in application code.
2010-01-13 07:25:28 +00:00
Ryan C. Gordon
bb12640ed4
Fixed build problems with gcc __attribute__.
2010-01-13 07:00:20 +00:00
Sam Lantinga
5f76c6b2d5
First pass at Ryan's assertion code, minor tweaks to come.
2010-01-13 06:47:17 +00:00