Commit Graph

1966 Commits

Author SHA1 Message Date
Sam Lantinga
5ee4e6175f Oops, didn't mean to commit this...
--HG--
branch : SDL-1.2
2007-07-04 15:22:47 +00:00
Sam Lantinga
41a443d951 Fixed bug #450
--HG--
branch : SDL-1.2
2007-07-04 15:22:07 +00:00
Sam Lantinga
64f823384c Fixed bug #447
Xlib uses the native locale, not latin1

... the question is... what does the server use? :)

--HG--
branch : SDL-1.2
2007-07-04 07:54:06 +00:00
Sam Lantinga
b9b6dfe97a Fixed bug #349
Solaris doesn't support the LATIN1 character set alias.

--HG--
branch : SDL-1.2
2007-07-04 04:27:47 +00:00
Ryan C. Gordon
18be9d8dc9 Fixed yasm/nasm warning.
Fixes Bugzilla #446.

--HG--
branch : SDL-1.2
2007-07-03 09:53:26 +00:00
Sam Lantinga
6581faeac6 Fixed bug #398
You can use SetColors() before the video mode has been set.

--HG--
branch : SDL-1.2
2007-07-03 09:39:09 +00:00
Sam Lantinga
d3c0a3c96e Added some missing patch notes - Ryan, feel free to add them for your commits
--HG--
branch : SDL-1.2
2007-07-03 09:22:57 +00:00
Sam Lantinga
d18dec8293 Added patch note for fixing bug 335
--HG--
branch : SDL-1.2
2007-07-03 09:16:14 +00:00
Sam Lantinga
664cd43e70 Fixed bug #335
Use SetSystemPaletteUse() to get better access to the system palette.

We can still do better palette matching in the case where we aren't
using fullscreen mode or a hardware palette, but that can wait for
another day. :)

--HG--
branch : SDL-1.2
2007-07-03 09:05:51 +00:00
Sam Lantinga
a9739cb40c Fixed assembly relocation problems, so we can check for NASM on Mac OS X.
--HG--
branch : SDL-1.2
2007-07-02 02:45:52 +00:00
Sam Lantinga
d93d192b26 OpenGL is in the X11 directory on some systems.
--HG--
branch : SDL-1.2
2007-06-30 08:09:53 +00:00
Sam Lantinga
afa700497a Fixed 64-bit compile issues
--HG--
branch : SDL-1.2
2007-06-30 03:47:50 +00:00
Ryan C. Gordon
80089cfdd3 Corrected mismerge of XIM patch, thanks Alissa!
Fixes Bugzilla #429.

--HG--
branch : SDL-1.2
2007-06-28 19:29:26 +00:00
Sam Lantinga
ede76d3d09 iconv() doesn't write to the data, just make compilers happy
--HG--
branch : SDL-1.2
2007-06-28 08:33:59 +00:00
Sam Lantinga
0a4a20138d Whoops, need to actually copy inbuf
--HG--
branch : SDL-1.2
2007-06-28 06:53:09 +00:00
Sam Lantinga
1d39695864 Okay, apparently the newer standard specifies char** for the inbuf
parameter to iconv()
(See http://lists.debian.org/debian-glibc/2004/05/msg00006.html)

I'm casting in the general case, but I added a non-const codepath in
case it matters on some platform.

--HG--
branch : SDL-1.2
2007-06-28 06:47:35 +00:00
Sam Lantinga
77b434c3a5 Better fix for bug 419
--HG--
branch : SDL-1.2
2007-06-28 05:35:50 +00:00
Ryan C. Gordon
39eff5a510 Removed textrels from hermes code.
Partially fixes Bugzilla #418.

--HG--
branch : SDL-1.2
2007-06-27 10:12:49 +00:00
Ryan C. Gordon
8d05f5cf7e Updated "What's New" docs.
--HG--
branch : SDL-1.2
2007-06-26 20:04:15 +00:00
Ryan C. Gordon
ab4f135dd8 windib target can now control screensaver with SDL_VIDEO_ALLOW_SCREENSAVER.
Fixes Bugzilla #415.

--HG--
branch : SDL-1.2
2007-06-26 20:02:40 +00:00
Ryan C. Gordon
857fb30004 Added some new XIM symbols to the dynamic X11 function list.
--HG--
branch : SDL-1.2
2007-06-26 00:57:09 +00:00
Ryan C. Gordon
3bb777b16e Whoops, patched to compile.
--HG--
branch : SDL-1.2
2007-06-25 20:08:55 +00:00
Ryan C. Gordon
df56aa56f5 Significantly improved XIM support.
Fixes Bugzilla #429.


Selected notes from the patch's README:

= FIXES =

This patch fixes the above issues as follows.

== X11 events ==

Moved XFilterEvent just after XNextEvent so that all events are passed
to it.  Also, XFilterEvent will receive masks indicated by IM through
XNFilterEvents IC value as well as masks surpplied by SDL.

X11_KeyRepeat is called between XNextEvent and XFilterEvent, after
testing an event is a KeyRelease.  I'm not 100% comfortable to do so,
but I couldn't find a better timing to call it, and use of the
function is inevitable.

== Xutf8LookupString ==

Used a longer buffer to receive UTF-8 string.  If it is insufficient,
a dynamic storage of the requested size will be allocated.  The
initial size of the buffer is set to 32, because the Japanese text
converted from the most widely used benchmark key sequence for
Japanese IM, "WATASHINONAMAEHANAKANODESU." has ten Japanese characters
in it, that occupies 30 bytes when encoded in UTF-8.

== SDL_keysym.unicode ==

On Windows version of SDL implementation, SDL_keysym.unicode stores
UTF-16 encoded unicode characters, one UTF-16 encoding unit per an SDL
event.  A Unicode supplementary characters are sent to an application
as two events.  (One with a high surrogate and another with a low
surrogate.)  The behavior seems reasonable since it is upward
compatible with existing handling of BMP characters.

I wrote a UTF-8 to UTF-16 conversion function for the purpose.  It is
designed with the execution speed in mind, having a minimum set of
features that my patch requires.

--HG--
branch : SDL-1.2
2007-06-25 19:58:32 +00:00
Sam Lantinga
abf879e37b Oops, 512x512 in 16 bit mode
--HG--
branch : SDL-1.2
2007-06-25 14:58:22 +00:00
Sam Lantinga
ddcda50469 Added initial support for Nintendo DS, based on the work by Troy Davis (GPF)
--HG--
branch : SDL-1.2
2007-06-25 00:50:20 +00:00
Ryan C. Gordon
c66b807d4e Added S60 port.
--HG--
branch : SDL-1.2
2007-06-24 18:26:35 +00:00
Ryan C. Gordon
64c283b48b Whoops, fixed previous VC6 support patch.
--HG--
branch : SDL-1.2
2007-06-21 18:48:13 +00:00
Ryan C. Gordon
df1d10c53f Fixes for Visual C++ 6.0 with and without the Processor Pack.
--HG--
branch : SDL-1.2
2007-06-21 18:20:59 +00:00
Ryan C. Gordon
4a0496f202 Fixed assembler command line for older yasm releases and documented nasm
switches.

   Fixes Bugzilla #440.

--HG--
branch : SDL-1.2
2007-06-16 05:51:51 +00:00
Ryan C. Gordon
3ebec8ea6c Fixed win32 event name list (WM_MOUSELAST was listed twice, one should be
WM_MOUSEWHEEL).

--HG--
branch : SDL-1.2
2007-06-16 05:24:55 +00:00
Ryan C. Gordon
2d96450d1f Added support for WM_XBUTTON to the windib driver, to support more mouse
buttons.

   Fixes Bugzilla #311.

--HG--
branch : SDL-1.2
2007-06-16 05:10:47 +00:00
Ryan C. Gordon
40b50cd3f0 Removed some more EPOC stuff I missed.
--HG--
branch : SDL-1.2
2007-06-15 15:52:04 +00:00
Ryan C. Gordon
de5cb8d0ad Removed EPOC port...it's being replaced by an updated Symbian port with the
original author's blessing.

--HG--
branch : SDL-1.2
2007-06-15 15:42:15 +00:00
Ryan C. Gordon
f914aeee1f Make sure to check for glu.h before enabling glX support. We don't
directly need GLU, but SDL_opengl.h tries to include it, and it shows that
 the workstation is misconfigured or incompletely configured if just this
 one header is missing.

   Fixes Bugzilla #336.

--HG--
branch : SDL-1.2
2007-06-15 12:26:29 +00:00
Sam Lantinga
6d5359a85e Added patch note for subversion revision 3076
--HG--
branch : SDL-1.2
2007-06-15 11:43:14 +00:00
Ryan C. Gordon
5ef9fe1331 Make sure __inline__ isn't defined before #defining it, since some compilers
(like Sun Studio) have this as a predefined macro.

   Fixes Bugzilla #434.

--HG--
branch : SDL-1.2
2007-06-15 07:19:05 +00:00
Ryan C. Gordon
762d7c5698 Clean up have-initialized resources in some failing edge cases.
Maybe fixes Bugzilla #426.

--HG--
branch : SDL-1.2
2007-06-15 06:57:31 +00:00
Sam Lantinga
6fe7ece68f Added docs for revision 3073 - Ryan, feel free to do this yourself, if you want.
--HG--
branch : SDL-1.2
2007-06-15 06:49:14 +00:00
Ryan C. Gordon
c87aa92e3e Support for Gamma Ramps on Mac OS Classic in both the macrom and macdsp video
targets, thanks to Gregory Smith!

   Fixes Bugzilla #431.

--HG--
branch : SDL-1.2
2007-06-15 06:29:52 +00:00
Sam Lantinga
03d52796a9 Don't install the extra SDL config headers or SDL_copying.h
Fixes Bugzilla #361.

--HG--
branch : SDL-1.2
2007-06-15 05:41:22 +00:00
Sam Lantinga
6310de0733 Updated docs with bug fixes in subversion.
--HG--
branch : SDL-1.2
2007-06-15 05:21:33 +00:00
Ryan C. Gordon
cf04b769eb Prevent arts audio target from crashing/hanging SDL if the audio hardware
isn't available.

   Fixes Bugzilla #372.

--HG--
branch : SDL-1.2
2007-06-14 14:09:25 +00:00
Ryan C. Gordon
a96dc8aca5 Actually, this is a better fix...clear the error state once if everything we
need loaded; it's more efficient, and works even if the last unnecessary
 xrandr symbol failed to load. Otherwise, leave the original loadso error, so
 the end user can find out what symbol failed.

--HG--
branch : SDL-1.2
2007-06-13 08:00:10 +00:00
Ryan C. Gordon
1192ca93d5 Date: Mon, 4 Jun 2007 06:17:59 +0000 (UTC)
From: George Gensure <werkt0@gmail.com>
Subject: [SDL] error removal patch for SDL_x11dyn.c

I found that calling SDL_GetError when an error hasn't necessarily occurred is
still reporting problems from loadso regarding dynamic functions in X11.  I've
added the following to my local copy to avoid revealing the 'many library
lookup' approach adopted by x11dyn.c:

--HG--
branch : SDL-1.2
2007-06-13 07:54:10 +00:00
Ryan C. Gordon
49b8d7cf26 Print keysym with key events.
--HG--
branch : SDL-1.2
2007-06-13 04:13:21 +00:00
Patrice Mandin
9d5fef7bea Avoid switch to supervisor mode in SDL_GetTicks, by updating system counter from vbl interrupt
--HG--
branch : SDL-1.2
2007-06-09 19:52:05 +00:00
Patrice Mandin
3689963eb8 Set supervisor as volatile as it is modified from an interrupt
--HG--
branch : SDL-1.2
2007-06-08 21:44:40 +00:00
Ryan C. Gordon
09d57b679e C fallback for SDL_revcpy() was off by one. Thanks to Emmanuel Jeandel for
the catch.

  Fixes Bugzilla #424.

--HG--
branch : SDL-1.2
2007-06-04 11:43:47 +00:00
Ryan C. Gordon
b75d969532 Better handling of multiple queued Cocoa mouse events. Thanks to Christian
Walther for the patch.

   Fixes Bugzilla #353.

--HG--
branch : SDL-1.2
2007-06-04 11:22:23 +00:00
Ryan C. Gordon
1f62de060a Patch to allow DirectFB target to report a correct screen size.
Fixes Bugzilla #399.

--HG--
branch : SDL-1.2
2007-06-04 11:15:58 +00:00