Sam Lantinga
85e4bbb06b
The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL
2014-06-08 12:05:17 -07:00
Philipp Wiesemann
7a56b7d768
Fixed doxygen comment in header.
2014-06-08 13:01:04 +02:00
Gabriel Jacobo
01a18871e3
Chrome's Native Client backend implementation
2014-06-06 15:45:59 -03:00
Dimitris Zenios
8adc9938a4
__ANDROID__ is the correct macro to check for an android system.ANDROID is only defined in NDK build system (.mk) and not in the standalone NDK.
2014-05-05 22:21:26 +03:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Gabriel Jacobo
8515791f86
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
871473e032
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Ryan C. Gordon
006f31e2ec
Make the new SDL_RWops::hidden::unknown::data2 field a void*, not an int.
2013-04-14 18:05:14 -04:00
Ryan C. Gordon
1e6e7727c6
Added a data2 field to the SDL_RWops::hidden::unknown.
...
This shouldn't change the ABI, since this struct had space left in the union.
2013-04-13 20:43:32 -04:00
Andreas Schiffler
157d9c6b00
Fix bug 122 - SDL_RWops bug fixes: set RWops.type field, add input validation, add test coverage
2013-03-13 08:35:03 -07:00
Andreas Schiffler
c6e3903e5b
Fix bug 1560 - SDL_RWFromConstMem write operation returns -1 but should return 0.
2013-03-12 09:10:37 -07:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Gabriel Jacobo
f997d045c5
Android: Access APK files using AssetFileDescriptor
2013-01-08 09:30:53 -03:00
Sam Lantinga
4ff7b0238c
Added SDL_ReadU8() and SDL_WriteU8() for consistency with the rest of the API.
2012-11-04 23:44:13 -08:00
Sam Lantinga
e7ea5f6646
Added an API to get the size of a file - WARNING! ABI CHANGE!
2012-11-03 18:43:36 -07:00
Gabriel Jacobo
a6c03533e0
Fixes issue #1500 "SDL_RWops fails under Android 4" by removing stale Local Refs
...
and replacing them for their global equivalents.
2012-05-25 15:35:41 -03:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Tim Angus
092332dd71
* Android's InputStream::skip is apparently buggy, so instead read into a dummy buffer
2011-10-14 17:29:49 +01:00
Ryan C. Gordon
4ef8847cc5
Allow Android platforms to read from .apk files via the RWOPS interface.
...
Fixes Bugzilla #1261 .
Thanks to Tim Angus for the patch!
2011-07-29 16:51:25 -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
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
15e43076a4
Updated headers to match wiki documentation
2011-01-12 09:47:33 -08:00
Sam Lantinga
3c0f319cce
Fixed documentation typo
2010-08-22 17:19:10 -07: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
Ryan C. Gordon
d3e020766d
Merged r4412:4413 from branches/SDL-1.2: rwops documentation fix.
2010-01-06 07:39:35 +00:00
Sam Lantinga
df50338fda
Add a dummy function if SDL doesn't have STDIO support
2009-12-15 05:34:58 +00:00
Sam Lantinga
27294b7a4e
Partial fix for bug #859
...
Header file update from Ken for improved doxygen output
2009-10-19 13:31:58 +00:00
Sam Lantinga
b856e71f8d
Fixed issues building 64-bit Windows binary
2009-09-05 23:37:35 +00:00
Sam Lantinga
befb0f7f42
Updated copyright date
2008-12-08 00:27:32 +00:00
Sam Lantinga
f1a7210ec4
Oh yeah, they're boolean values...
2007-07-10 05:29:56 +00:00
Sam Lantinga
4148b45eb1
Updated to use size_t instead of int for amounts of data.
2007-07-10 05:25:19 +00:00
Sam Lantinga
dc327d9d79
Merged read-ahead support for Win32 file I/O from SDL 1.2 revision 3183
2007-07-10 05:01:22 +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
ec7cfdfea1
Date: Mon, 27 Feb 2006 17:01:43 +0100
...
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: standard win32 SDL.DLL file test [patch]
I found a bug or two in previous patch, so here is a patch to correct this.
2006-02-27 19:19:22 +00:00
Sam Lantinga
aa824dc1ea
Did I mention I'm anal? :) Fixed spacing in SDL_rwops.h
2006-02-27 04:46:34 +00:00
Sam Lantinga
3d7fe80708
Prefer the raw Win32 API over stdio for file RWops
2006-02-27 04:16:44 +00:00
Sam Lantinga
a85789aa95
Date: Mon, 27 Feb 2006 02:17:29 +0100
...
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: questions regarding HAVE_STDIO_H in standard w
I managed to get a first implementation of it, which I tested for "simple" use
with tests sample apps, they work ok. I think this needs more tests.
Here is the diff against CVS/SDL12, attached.
2006-02-27 03:48:48 +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
769424426d
More header massaging... works great on Windows. ;-)
2006-02-10 06:48:43 +00:00
Sam Lantinga
5022a01e6c
*** empty log message ***
2006-02-10 03:19:02 +00:00
Sam Lantinga
20c4849e7e
Fixed build problem with SDL_string.c
...
Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h
Moved endian-related SDL_rwops code into SDL_rwops.c
2006-02-09 09:38:05 +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
Sam Lantinga
c6c5bee36f
Date: Fri, 20 Aug 2004 08:31:20 +0200
...
From: "Markus F.X.J. Oberhumer"
Subject: [SDL-CVS][patch] add missing SDLCALL to headers
the small patch attached below (against current CVS) adds some missing SDLCALL
decorations to callback types and arguments.
Unfortunately one of these changes breaks your gen{def,exp}.pl scripts which
should be changed to use non-greedy regular expression matching...
2004-08-20 18:57:01 +00:00
Sam Lantinga
32719e7429
Updated copyright information for 2004 (Happy New Year!)
2004-01-04 16:49:27 +00:00
Sam Lantinga
d8a58193ae
Added function to create RWops from const memory: SDL_RWFromConstMem()
2004-01-04 15:18:08 +00:00
Sam Lantinga
8b5bf373be
Explicitly specify the SDL API calling convention (C by default)
2002-04-11 14:35:16 +00:00