Commit Graph

980 Commits

Author SHA1 Message Date
Sam Lantinga
4ec27550d2 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40180
2001-09-13 16:15:43 +00:00
Sam Lantinga
24580b1583 Added CD-ROM support for BSD/OS (thanks Steven!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40179
2001-09-13 15:57:48 +00:00
Sam Lantinga
b2c4a2a191 Added library version information to the Windows DLL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40178
2001-09-12 05:11:15 +00:00
Sam Lantinga
933ea8f573 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40177
2001-09-11 20:58:28 +00:00
Sam Lantinga
73237979d7 Fix for "make dist"
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40176
2001-09-11 20:49:27 +00:00
Sam Lantinga
89cc3ab1c0 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40175
2001-09-11 20:42:32 +00:00
Sam Lantinga
ce3a1900be Added initial support for EPOC/Symbian OS (thanks Hannu!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40174
2001-09-11 20:38:49 +00:00
Sam Lantinga
bea3cb1da4 Date: Sat, 8 Sep 2001 04:42:23 +0200
From: Max Horn <max@quendi.de>
Subject: SDL/OSX: Joystick; Better key handling

I just finished implementing improved keyhandling for OS X (in fact
the code should be easily ported to the "normal" MacOS part of SDL, I
just had no chance yet). Works like this:
First init the mapping table statically like before. Them, it queries
the OS for the "official" key table, then iterates over all 127
scancode and gets the associates ascii code. It ignores everythng
below 32 (has to, as it would lead to many problems if we did not...
e.g. both ESC and NUM LOCk produce an ascii code 27 on my keyboard),
and all stuff above 127 is mapped to SDLK_WORLD_* simply in the order
it is encountered.
In addition, caps lock is now working, too.
The code work flawless for me, but since I only have one keyboard, I
may have not encountered some serious problem... but I am pretty
confident that it is better than the old code in most cases.


The joystick driver works fine for me, too. I think it can be added
to CVS already. It would simply be helpful if more people would test
it. Hm, I wonder if Maelstrom or GLTron has Joystick support? That
would be a wonderful test application :)


I also took the liberty of modifying some text files like BUGS,
README.CVS, README.MacOSX (which now contains the OS X docs I long
promised)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40173
2001-09-11 19:00:18 +00:00
Sam Lantinga
2d9275e49a Handle the case where the WAVE magic number was already read in a non-seekable
stream.  I don't know if the code works with non-seekable streams anyway, but
...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40172
2001-09-11 18:52:45 +00:00
Sam Lantinga
9eab0ea201 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40171
2001-09-04 23:22:23 +00:00
Sam Lantinga
fce24d4fb3 Allow building SDL on Windows without audio support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40170
2001-09-04 23:21:20 +00:00
Sam Lantinga
23d3cf9854 Added Max's patches for building MacOS X apps on command line
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40169
2001-09-04 23:18:45 +00:00
Sam Lantinga
9e8567129b Added support for DirectFB video on Linux (thanks Denis!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40168
2001-09-04 22:53:46 +00:00
Sam Lantinga
ee5429fd3e Fixed Solaris nitpicks (thanks Mattias!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40167
2001-09-04 22:48:09 +00:00
Sam Lantinga
b29480bdb9 Joystick initialization fix submitted by Vitaliy Mikitchenko
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40166
2001-09-04 22:38:01 +00:00
Sam Lantinga
38014ea6ce *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40165
2001-09-04 22:28:58 +00:00
Sam Lantinga
283933d21d Removed SDL_blit_A.h (obsolete)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40164
2001-09-04 22:28:55 +00:00
Sam Lantinga
6909ecfbe0 Fixed mouse wheel motion position on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40163
2001-08-31 21:21:24 +00:00
Sam Lantinga
2090ef6327 An expose event is now sent when using XVideo output.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40162
2001-08-31 21:08:30 +00:00
Sam Lantinga
7567d402af Fix title bar setting bug
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40161
2001-08-31 20:53:05 +00:00
Sam Lantinga
54be57078a Time to recognize everyone again. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40160
2001-08-21 07:27:51 +00:00
Sam Lantinga
75ab0e7ade Date: Tue, 21 Aug 2001 03:50:01 +0200
From: Max Horn <max@quendi.de>
Subject: New patch for OS X

Attached a .patch file for SDL/OSX with some nice bug fixes / enhancments.

* fixes the activation issues, which also caused the window to be
always drawn like an inactive. The close/minimize widgets now are
animated properly, too.

* the menu items are automatically adjusted to use the app name
instead of just "SDL App". I did this so that we really can use one
central SDLMain.nib file, w/o requiring developers to make a copy of
it and adjust it.

* libSDLMain now contains the proper cocoa code, not as before the
carbon code. This means apps no longer have to carry a copy of
SDLMain.m/SDLMain.h

* revamped configure.in to properly build a Cocoa/Quartz SDL lib, not
a Carbon based SDL lib

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40159
2001-08-21 07:19:59 +00:00
Sam Lantinga
6dbdba950a Removed fullscreen menu entry - fixed warning on application startup
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40158
2001-08-20 04:41:49 +00:00
Sam Lantinga
de28d673ff Is this right??
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40157
2001-08-20 00:10:35 +00:00
Sam Lantinga
7ec55a39c3 Date: Thu, 16 Aug 2001 21:50:51 -0500 (EST)
From: Darrell Walisser <dwaliss1@purdue.edu>
Subject: Patch for video bugs + Max's additions

        I've attached a patch for today's CVS that includes Max's virtual
mouse button fix as well as some other changes:

-building mode list correctly now (had duplicate entries, was unsorted)
-switching modes correctly now (wasn't destroying previous mode)
-releasing memory correctly in event loop

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40156
2001-08-19 23:57:39 +00:00
Sam Lantinga
54e5a5fe78 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40155
2001-08-18 22:24:19 +00:00
Sam Lantinga
a2d4d4bcb7 Fixed IDE and SCSI CD-ROM detection on BeOS (thanks Caz!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40154
2001-08-18 22:03:11 +00:00
Sam Lantinga
2f77d42d3a *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40153
2001-08-18 21:58:26 +00:00
Sam Lantinga
8ead741049 Fix compiler warnings
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40152
2001-08-18 19:21:04 +00:00
Sam Lantinga
4e338deb4f *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40151
2001-08-18 10:33:55 +00:00
Sam Lantinga
8e41c23177 Fixed compile errors and added call to SDL_SetModuleHandle() in WinMain()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40150
2001-08-09 14:04:46 +00:00
Sam Lantinga
2aca7272f2 Audio subsystem no longer assumes sun audio API on UNIX systems
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40149
2001-08-09 13:09:47 +00:00
Sam Lantinga
f2de3a7f9b *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40148
2001-08-09 13:06:32 +00:00
Sam Lantinga
4c74d7983a Added SDL_expose.c to the VC++ project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40147
2001-08-09 12:52:04 +00:00
Sam Lantinga
5af50961be Applied David MacCormack's patch to fix SDL_WINDOWID on Windows,
and added a function to cache the application handle so DirectInput
still works properly.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40146
2001-08-09 12:21:32 +00:00
Sam Lantinga
dac38725b6 Fixed VGL detection on FreeBSD (thanks David!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40145
2001-08-09 06:14:06 +00:00
Sam Lantinga
86765b7947 Updated ltconfig for OpenBSD (thanks Peter!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40144
2001-08-09 06:11:49 +00:00
Sam Lantinga
2c0f0f93f3 From: Max Horn <max@quendi.de>
I also have a slight enhancment, which I already submitted to Darrell Walisser:

In the SDL target template file "Application.trgttmpl" (contained in
the PBProject.tar.gz archive), replace
     CustomProductSettings = {
     };

with
     CustomProductSettings = {
         NSPrincipalClass = "NSApplication";
         NSMainNibFile = "SDLMain.nib";
     };

This automates two steps mentioned in the Readme when creating a new
"SDL Target" in Apple's ProjectBuilder.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40143
2001-08-09 06:08:57 +00:00
Sam Lantinga
3e36b078e3 Include MacOS X in the distribution
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40142
2001-08-09 06:05:55 +00:00
Sam Lantinga
a87c386058 Fixed compiling on Windows CE
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40141
2001-08-09 05:51:34 +00:00
Sam Lantinga
8fd4e7fc4e Fixed potential buffer overflow in Linux CD code (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40140
2001-08-09 05:34:17 +00:00
Sam Lantinga
848f5a9b72 Applied Paul Jenner's patches to fix "make distcheck" and "make rpm"
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40139
2001-08-09 05:31:32 +00:00
Sam Lantinga
4819049e1e Fixed building the static library (still needs to run ranlib afterwards)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40138
2001-08-03 05:51:33 +00:00
Sam Lantinga
3d9ea4a0ee Added hardware stretching code to scale 640x480 to TV resolution
There's a bug of some kind in the 16bpp code. ??

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40137
2001-08-01 08:41:45 +00:00
Sam Lantinga
76c9127515 Added initial support for TV output modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40136
2001-08-01 05:01:08 +00:00
Sam Lantinga
95e1f2d5eb Fix compile riva fb problem on older kernels
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40135
2001-08-01 03:23:40 +00:00
Sam Lantinga
a97788ad8e Added support for hardware accelerated NVidia driver on framebuffer console
Still missing colorkey and alpha blit support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40134
2001-07-31 20:08:51 +00:00
Sam Lantinga
9b77d2cd86 Added button-up with mouse-wheel on framebuffer console
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40133
2001-07-31 06:08:11 +00:00
Sam Lantinga
3f722efa22 Fixed audio format selection for OpenBSD (thanks Peter!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40132
2001-07-31 05:39:36 +00:00
Sam Lantinga
6bb44f76a9 The rectangle argument to SDL_SetClipRect is really const
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40131
2001-07-31 05:36:10 +00:00