Sam Lantinga
adf7311ba7
Back out changelist 1951976
2014-02-13 11:05:34 -08:00
Sam Lantinga
5e96712fb1
Back out changelist 2026006
2014-02-13 11:05:32 -08:00
Sam Lantinga
eb44f69490
As part of Jorgen's code review of this function I added a call to LoadLibrary so the refcounts would be consistent between Windows and Posix. Then I forgot to include the check that the thing was actually loaded and caused it to be loaded all the time. Oops.
...
CR: AaronL
2014-02-13 11:05:26 -08:00
Sam Lantinga
18a7c93e52
Added SDL_GetLoadedModule to do the equivalent of GetModuleHandle/dlload(NOLOAD)
...
CR: Jorgen
2014-02-13 11:05:24 -08:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
03d5719413
Make internal SDL sources include SDL_internal.h instead of SDL_config.h
...
The new header will include SDL_config.h, but allows for other global stuff.
2013-11-24 23:56:17 -05:00
Ryan C. Gordon
b444dd2714
Renamed things named after BeOS to be named after Haiku instead.
2013-11-14 11:51:24 -05:00
Sam Lantinga
f31d9e34dd
Rolled back my LoadLibrary change. The first failed call causes a dialog to pop up in Windows apps (but not console apps) and that's really bad. I'll have to deal with this in my app.
2013-09-28 14:06:39 -07:00
Sam Lantinga
9e20f5c0f7
SDL_LoadObject on Windows now calls LoadLibrary a second time in its EX form whenever the first load fails. This second call uses the "altered" search path for DLL dependencies, which includes searching the directory that the DLL itself lives in.
2013-09-28 14:06:31 -07:00
Sam Lantinga
f180aebaa0
Explicitly use the RTLD_LOCAL flag since that's the behavior we want.
...
The default on Linux is RTLD_LOCAL, the default on Mac OS X is RTLD_GLOBAL.
2013-08-07 17:26:28 -07:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
b3d60cfcbb
Removed executable bit from source files
2012-09-27 14:35:28 -07:00
Ryan C. Gordon
b3b40aac16
Removed Windows CE support from SDL 2.0.
...
It's a long-dead platform, and we don't have any way to build for, test, or
maintain it, so there's no sense in doing acrobatics to support it.
If you need Windows CE support, use SDL 1.2. If you need Windows Phone support,
send SDL 2.0 patches for the newer Windows Mobile platform.
2012-09-15 10:59:39 -04:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Ryan C. Gordon
82df1959c1
Removed legacy Mac OS X dlcompat code.
...
It was only needed for Mac OS X 10.0 through 10.2, so it seems silly to keep
it around for SDL 1.3.
I'll leave it in the 1.2 branch for now, though.
2011-09-09 00:34:48 -04:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
01fa14dc42
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
...
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
2011-01-24 21:20:30 -08:00
Sam Lantinga
ec39fffe84
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
Sam Lantinga
08ad787807
Fixed bug #925
...
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
7052036491
Fixed bug #926
...
Updated copyright to LGPL version 2.1 and year 2010
2010-01-24 21:10:53 +00:00
Sam Lantinga
2d97efbd4d
Removed outdated Atari support
2009-09-20 04:15:19 +00:00
Sam Lantinga
5bee043a89
Removed outdated OS/2 support
2009-09-19 06:43:45 +00:00
Sam Lantinga
78c6fc38ac
Fixed dynamic loading on Windows CE
2009-05-07 12:04:53 +00:00
Sam Lantinga
19b003367c
Reverted Bob's indent checkin
2009-01-10 21:50:26 +00:00
Bob Pendleton
68ff2ab932
I ran a global "make indent" it modified the following files.
2009-01-09 20:43:30 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
3cd42cfe35
2008-10-18 03:21:32 +00:00
Sam Lantinga
9c4b835e49
Final merge of Google Summer of Code 2008 work...
...
Port SDL 1.3 to the Nintendo DS
by Darren Alton, mentored by Sam Lantinga
2008-08-27 15:10:03 +00:00
Sam Lantinga
b6ab6bf6d5
make indent
2007-06-14 13:21:29 +00:00
Ryan C. Gordon
e5b23cae8f
Merged Bugzilla #354 fix into trunk.
2007-02-03 08:18:41 +00:00
Ryan C. Gordon
cdf5d71b84
Merged r2903:2904 from SDL-1.2 branch to trunk: BeOS loadso updates.
2006-11-07 15:18:42 +00:00
Sam Lantinga
4d17a22012
MacOS Classic is no longer supported.
2006-08-10 14:54:23 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
5994d8e129
Xcode has trouble compiling different files with the same name for two architectures
2006-05-10 06:12:45 +00:00
Sam Lantinga
3b10312024
Date: Mon, 8 May 2006 14:19:30 -0700
...
From: Bob Ippolito
Subject: SDL trunk (r2346) and Mac OS X
The current state of the trunk doesn't quite compile on Mac OS X,
I've attached a series of patches that gets it to compile and kills a
few warnings.
sdl-trunk-r2346-dlcompat-warnings.diff:
The dlcompat thing is just loaded with incorrect type signatures ..
some of them have changed since 10.2 and others are just flat wrong.
This puts it in sync with the latest headers. People on 10.2 will get
the warnings instead of people with new kits.
2006-05-09 07:26:58 +00:00
Sam Lantinga
791ead7bbf
Mac OS X fat build works! :)
2006-04-22 19:17:14 +00:00
Sam Lantinga
4ffa1daabc
Make sure code is only compiled if the appropriate subsystem is enabled
2006-04-14 04:46:47 +00:00
Sam Lantinga
007238280e
Updated MacOS X support
2006-03-07 04:58:30 +00:00
Sam Lantinga
2861771aa5
SDL_windows.h is no longer necessary
2006-02-25 22:18:25 +00:00
Sam Lantinga
026aec11d6
Added pre-configured versions of SDL_config.h for various platforms
2006-02-24 07:26:31 +00:00
Sam Lantinga
190b425364
Use consistent identifiers for the various platforms we support.
...
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
0ef73d9eae
Use only safe string functions
2006-02-19 23:46:34 +00:00
Sam Lantinga
be4ab70dbf
sprintf should have been snprintf
2006-02-19 18:46:58 +00:00
Sam Lantinga
f05187e232
New configure-based build system. Still work in progress, but much improved
2006-02-16 10:11:48 +00:00
Sam Lantinga
769424426d
More header massaging... works great on Windows. ;-)
2006-02-10 06:48:43 +00:00
Sam Lantinga
1e037cc218
Removed uses of stdlib.h and string.h
2006-02-07 09:29:18 +00:00
Sam Lantinga
02cc6c0f11
Use SDL_ prefixed versions of C library functions.
...
FIXME:
Change #include <stdlib.h> to #include "SDL_stdlib.h"
Change #include <string.h> to #include "SDL_string.h"
Make sure nothing else broke because of this...
2006-02-07 06:59:48 +00:00
Sam Lantinga
82bfaee73a
It's now possible to build SDL without any C runtime at all on Windows,
...
using Visual C++ 2005
2006-02-06 08:28:51 +00:00
Sam Lantinga
808a16717c
Updated copyright information and removed rcs id lines (problematic in branch merges)
...
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
2006-02-01 06:32:25 +00:00