Sam Lantinga
b3ed797912
Fixed bug #457
...
Don't crash if passed a NULL overlay. The app crashes anyway, since
it's not checking the return value of the create call, but at least it's
not crashing in SDL anymore. :)
--HG--
branch : SDL-1.2
2007-07-15 21:50:07 +00:00
Sam Lantinga
85e0b92fab
Fixed building on Windows CE
...
--HG--
branch : SDL-1.2
2007-07-15 19:43:54 +00:00
Sam Lantinga
f7a0de097b
Added a patch note for the Mac OS X cursor bug
...
--HG--
branch : SDL-1.2
2007-07-15 19:00:22 +00:00
Ryan C. Gordon
d250d19e79
Merged r3295:3296 from trunk/SDL: testjoystick reusing "joystick" variable.
...
--HG--
branch : SDL-1.2
2007-07-15 17:26:50 +00:00
Sam Lantinga
c6d395951a
Final fix for bug #373
...
------- Comment #13 From Christian Walther 2007-07-15 10:04:56 [reply] -------
Created an attachment (id=229) [details]
patch to reinstate the SDL cursor after an NSApplicationActivatedEvent
Oops, you're right. My testcursor.c has diverged so far from the original that
I missed that. In fact, now that I think about it, that issue isn't even
addressed by the cursor rectangle patch - it is only concerned with windowed
mode (and fixes the problem there as a side effect). The problem in fullscreen
is still the same as before. How about the attachment for a fix? (I can confirm
that [NSCursor set] doesn't seem to have any effect when called from
QZ_DoActivate().)
--HG--
branch : SDL-1.2
2007-07-15 17:22:39 +00:00
Ryan C. Gordon
b40c30723f
Dump more information about each joystick in testjoytick.c
...
--HG--
branch : SDL-1.2
2007-07-15 16:33:45 +00:00
Sam Lantinga
9dddc84312
Patch from Christian Walther
...
Yes, the idea to use a cursor rectangle instead of [NSCursor set] has occurred
to me too, and it does seem to be the most elegant way. Here's my attempt at an
implementation
--HG--
branch : SDL-1.2
2007-07-15 15:58:00 +00:00
Ryan C. Gordon
7fd3fd7c35
An attempt at fixing Bugzilla #454 .
...
--HG--
branch : SDL-1.2
2007-07-15 14:14:45 +00:00
Sam Lantinga
d6deb7f664
I think this fixes bug #454
...
--HG--
branch : SDL-1.2
2007-07-15 14:05:31 +00:00
Sam Lantinga
8eed2f44ff
Use SDL C functions (fixes security warnings on OpenBSD)
...
--HG--
branch : SDL-1.2
2007-07-14 21:09:54 +00:00
Sam Lantinga
31affb7a1a
More improvements for bug #373
...
Show the SDL cursor in the window and the arrow cursor outside the window.
This is also supposed to show the SDL cursor when activated, but that code
isn't working yet...
--HG--
branch : SDL-1.2
2007-07-14 08:27:06 +00:00
Sam Lantinga
2d7abdd8b5
Fixed bug #373
...
Patch contributed from Transgaming's Cider project
- create a window and view in fullscreen mode so the cursor can be set
--HG--
branch : SDL-1.2
2007-07-14 08:00:50 +00:00
Ryan C. Gordon
fb21ae9a31
Mac OS X/x86 won't build the MMX/YUV inline assembly without optimizations
...
enabled (not enough registers), so for now, we only build it if we see
the __OPTIMIZE__ #define, which GCC provides when you build at -O1 or higher.
--HG--
branch : SDL-1.2
2007-07-14 07:26:34 +00:00
Ryan C. Gordon
6d23d090bb
Reverted r3255:3256. Don't actually need it unless the build is broken. :)
...
--HG--
branch : SDL-1.2
2007-07-14 07:06:46 +00:00
Ryan C. Gordon
9d4121fcce
Removed some unused static variables.
...
--HG--
branch : SDL-1.2
2007-07-14 07:01:38 +00:00
Ryan C. Gordon
2cb1d6e0b8
Mac OS X thinks we want a function call to SDL_memcpy() and not memcpy() here,
...
thanks to macro replacement issues.
--HG--
branch : SDL-1.2
2007-07-14 06:45:01 +00:00
Patrice Mandin
49202d7dda
Call GEM_CheckMouseMode everytime something may change mouse form, and do it properly
...
--HG--
branch : SDL-1.2
2007-07-13 18:44:43 +00:00
Patrice Mandin
dd14735a89
Simplify setting window title
...
--HG--
branch : SDL-1.2
2007-07-13 16:09:16 +00:00
Sam Lantinga
46294bb92c
Update default cross-compile install prefix for the latest mingw toolchain
...
--HG--
branch : SDL-1.2
2007-07-13 03:57:40 +00:00
Patrice Mandin
5549815a79
Formatting with tabs
...
--HG--
branch : SDL-1.2
2007-07-12 19:00:08 +00:00
Sam Lantinga
768896d21c
A better fix for building DGA code on Solaris 8, inspired by the NetBSD pkgsrc patch.
...
--HG--
branch : SDL-1.2
2007-07-12 08:05:19 +00:00
Sam Lantinga
b8389ee714
Ryan's fix is still good for the built-in version of iconv_open()
...
--HG--
branch : SDL-1.2
2007-07-12 08:04:10 +00:00
Sam Lantinga
0d5dbe63e0
Fixed iconv handling on Solaris 11
...
--HG--
branch : SDL-1.2
2007-07-12 07:47:29 +00:00
Sam Lantinga
b314a8768e
Fixed bug #455
...
If passed "" for the character set, let iconv_open() interpret it as
locale.
--HG--
branch : SDL-1.2
2007-07-12 07:29:19 +00:00
Sam Lantinga
8b1219c608
Added note about SDL_config.h
...
--HG--
branch : SDL-1.2
2007-07-12 05:30:17 +00:00
Sam Lantinga
36072b6f7f
Fixed joystick name detection
...
--HG--
branch : SDL-1.2
2007-07-12 05:19:55 +00:00
Sam Lantinga
26503f8143
Warn Visual C++ users if they have a stale configure generated SDL_config.h
...
--HG--
branch : SDL-1.2
2007-07-12 02:51:58 +00:00
Sam Lantinga
72971613ec
Added key composition support, courtesy of Kuon
...
--HG--
branch : SDL-1.2
2007-07-11 07:53:12 +00:00
Ryan C. Gordon
e67530ab71
Added more release notes.
...
--HG--
branch : SDL-1.2
2007-07-11 07:47:47 +00:00
Ryan C. Gordon
e79a9981ca
Merged r3207:3208 from trunk/SDL: *INDENT-OFF* for inline asm.
...
--HG--
branch : SDL-1.2
2007-07-11 07:25:57 +00:00
Ryan C. Gordon
fdafa36bce
Cleaned up tabs.
...
--HG--
branch : SDL-1.2
2007-07-11 07:21:39 +00:00
Ryan C. Gordon
c13d2c86f5
GCC inline asm for MMX YUV processing no longer has textrels and now works when
...
gcc wants to hog %%ebx for the PIC register.
Fixes Bugzilla #418 .
--HG--
branch : SDL-1.2
2007-07-11 06:26:22 +00:00
Sam Lantinga
d6ee8b3ea7
Fixed VC++ warnings
...
--HG--
branch : SDL-1.2
2007-07-11 05:55:10 +00:00
Sam Lantinga
323e531569
Removed unreferenced variable
...
--HG--
branch : SDL-1.2
2007-07-11 05:46:04 +00:00
Sam Lantinga
8d46e7bac9
I think this fixes bug #261
...
Make sure that you don't use a wgl function after the context is deleted.
--HG--
branch : SDL-1.2
2007-07-11 05:43:39 +00:00
Sam Lantinga
b05ffd4cf8
Updated SVN checkout instructions
...
--HG--
branch : SDL-1.2
2007-07-10 20:15:31 +00:00
Ryan C. Gordon
2612d57676
Set the error after freeing stuff, just in case one of those functions resets
...
the error string.
--HG--
branch : SDL-1.2
2007-07-10 19:03:44 +00:00
Ryan C. Gordon
470b697064
Reverted most of r3200:3201: a malloc() failure would leave a zero-byte
...
file if opening for write.
--HG--
branch : SDL-1.2
2007-07-10 18:56:08 +00:00
Sam Lantinga
4c05553d22
Simplified Win32 file opening code
...
--HG--
branch : SDL-1.2
2007-07-10 16:01:46 +00:00
Sam Lantinga
981ecae4d1
Sort of fixed NAS detection on NetBSD - requires that /usr/pkg be in your include/linker/library path
...
--HG--
branch : SDL-1.2
2007-07-10 15:39:14 +00:00
Ryan C. Gordon
e7caf0a656
Whoops, reverted changes that shouldn't have been committed with #3197 .
...
--HG--
branch : SDL-1.2
2007-07-10 15:04:49 +00:00
Ryan C. Gordon
f1c32ff639
Don't leak the readahead buffer if win32 rwops file open fails.
...
--HG--
branch : SDL-1.2
2007-07-10 15:03:19 +00:00
Sam Lantinga
ea6ea5ad3d
Backported the NAS detection from SDL 1.3, replacing the broken NetBSD patch
...
--HG--
branch : SDL-1.2
2007-07-10 14:16:44 +00:00
Ryan C. Gordon
d370a8df80
Added a '*/' for whiney compilers that don't like comments-in-comments.
...
--HG--
branch : SDL-1.2
2007-07-10 13:52:07 +00:00
Sam Lantinga
c0dd25a74e
Added patch note for file I/O speedup
...
--HG--
branch : SDL-1.2
2007-07-10 05:37:53 +00:00
Sam Lantinga
351e299247
Fixed bug #453
...
That's silly, we included <asm/page.h> even though we know we have getpagesize()
--HG--
branch : SDL-1.2
2007-07-10 05:35:33 +00:00
Sam Lantinga
e1897287a9
I'm reverting this patch...
...
I'm suspicious, since the X11 driver doesn't appear to need it. :)
--HG--
branch : SDL-1.2
2007-07-10 04:49:00 +00:00
Sam Lantinga
3bfb01cbff
Merged some patches from NetBSD pkgsrc:
...
Added two patches for Solaris 8. The X11 implementation does not
define the xEvent structure unless NEED_EVENTS is defined.
--HG--
branch : SDL-1.2
2007-07-10 04:47:08 +00:00
Sam Lantinga
39ab3938f6
Added patch-aj from NetBSD pkgsrc:
...
chunk 1:
avoid hardcoding nas paths; pkgsrc installs it somewhere else.
This part could probably be done better.
chunk 2:
-L/usr/lib is unnecessary
chunk 3:
Better DragonFly support.
--HG--
branch : SDL-1.2
2007-07-10 04:41:50 +00:00
Sam Lantinga
d290a1b7bb
Fixed signed/unsigned mismatch ... hmm, limited to 2 GB reads? Fix in SDL 1.3
...
--HG--
branch : SDL-1.2
2007-07-10 04:31:31 +00:00