Sam Lantinga
7bf66f3583
Fixed bug #743
...
The arrow keys and keypad arrow keys have almost the same scancodes!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404456
2010-01-27 05:14:22 +00:00
Ryan C. Gordon
edb477343d
Removed test for "driver is valid, but doesn't see any audio devices."
...
It was causing problems, and it really doesn't make sense to do it that way.
Fixes Bugzilla #834 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404455
2010-01-26 06:01:33 +00:00
Sam Lantinga
4d3df8b3e3
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404453
2010-01-24 21:10:53 +00:00
Sam Lantinga
9d79206973
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404452
2010-01-24 20:47:20 +00:00
Sam Lantinga
73074be94a
Added magic to detect already freed or otherwise invalid windows and textures.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404451
2010-01-24 20:21:51 +00:00
Sam Lantinga
80a88bc0d3
Fixed bug #916
...
Shutting down the video shuts down the event loop, so don't do that after starting the event loop. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404449
2010-01-24 19:47:17 +00:00
Sam Lantinga
51c2d1714d
update window prev links
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404446
2010-01-22 16:17:11 +00:00
Sam Lantinga
8bd993e9e1
Fixed infinite loop at shutdown - update texture prev links
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404445
2010-01-22 15:55:20 +00:00
Sam Lantinga
2bddc33611
Fixed compilation on iPhone
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404443
2010-01-21 16:12:24 +00:00
Sam Lantinga
9467a700e8
Fixed crash when there was no mouse focus for some reason (iPhone bug?)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404442
2010-01-21 16:11:55 +00:00
Sam Lantinga
645cd1b2d0
Fixed Cocoa and OpenGL builds
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404441
2010-01-21 07:28:01 +00:00
Sam Lantinga
218618259e
Fixed compile warning
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404439
2010-01-21 07:10:22 +00:00
Sam Lantinga
a0e019f786
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404438
2010-01-21 06:21:52 +00:00
Sam Lantinga
37d1b35d66
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.)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404436
2010-01-19 07:28:51 +00:00
Sam Lantinga
1d8567b304
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.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404433
2010-01-18 14:57:41 +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
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
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
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
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
c5700af03a
Fixed include ordering
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404402
2010-01-13 07:33:33 +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
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
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
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
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
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
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