code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/darwin/SDL_syshaptic_c.h | C | apache-2.0 | 1,098 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/dummy/SDL_syshaptic.c | C | apache-2.0 | 3,402 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/linux/SDL_syshaptic.c | C | apache-2.0 | 32,026 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_dinputhaptic.c | C | apache-2.0 | 38,977 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_dinputhaptic_c.h | C | apache-2.0 | 2,566 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_windowshaptic.c | C | apache-2.0 | 11,136 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_windowshaptic_c.h | C | apache-2.0 | 2,533 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_xinputhaptic.c | C | apache-2.0 | 13,329 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/haptic/windows/SDL_xinputhaptic_c.h | C | apache-2.0 | 2,534 |
ACLOCAL_AMFLAGS = -I m4
if OS_FREEBSD
pkgconfigdir=$(prefix)/libdata/pkgconfig
else
pkgconfigdir=$(libdir)/pkgconfig
endif
if OS_LINUX
pkgconfig_DATA=pc/hidapi-hidraw.pc pc/hidapi-libusb.pc
else
pkgconfig_DATA=pc/hidapi.pc
endif
SUBDIRS=
if OS_LINUX
SUBDIRS += linux libusb
endif
if OS_DARWIN
SUBDIRS += mac
endif
... | YifuLiu/AliOS-Things | components/SDL2/src/hidapi/Makefile.am | Makefile | apache-2.0 | 1,160 |
/*******************************************************
HIDAPI - Multi-Platform library for
communication with HID devices.
Alan Ott
Signal 11 Software
8/22/2009
Copyright 2009, All Rights Reserved.
At the discretion of the user of this library,
this software may be licensed under the terms of the
GNU Gen... | YifuLiu/AliOS-Things | components/SDL2/src/hidapi/hidapi/hidapi.h | C++ | apache-2.0 | 14,352 |
SDL_IMAGE_LOCAL_PATH := $(call my-dir)
# Enable this if you want to support loading JPEG images
# The library path should be a relative path to this directory.
SUPPORT_JPG ?= true
JPG_LIBRARY_PATH := external/jpeg-9b
# Enable this if you want to support loading PNG images
# The library path should be a relative path... | YifuLiu/AliOS-Things | components/SDL2/src/image/Android.mk | Makefile | apache-2.0 | 2,253 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG.c | C | apache-2.0 | 8,210 |
/*
* IMG_ImageIO.c
* SDL_image
*
* Created by Eric Wing on 1/1/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#if defined(__APPLE__) && !defined(SDL_IMAGE_USE_COMMON_BACKEND)
#include "SDL_image.h"
// Used because CGDataProviderCreate became deprecated in 10.5
#include <AvailabilityMacr... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_ImageIO.m | Objective-C | apache-2.0 | 26,131 |
/*
* IMG_ImageIO.c
* SDL_image
*
* Created by Eric Wing on 1/2/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#include "SDL_image.h"
#import <UIKit/UIKit.h>
#import <MobileCoreServices/MobileCoreServices.h> // for UTCoreTypes.h
// Once we have our image, we need to get it into an SDL_Surf... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_UIImage.m | Objective-C | apache-2.0 | 12,080 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_WIC.c | C | apache-2.0 | 7,958 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_bmp.c | C | apache-2.0 | 29,201 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_gif.c | C | apache-2.0 | 17,736 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_jpg.c | C | apache-2.0 | 19,433 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_lbm.c | C | apache-2.0 | 16,331 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_pcx.c | C | apache-2.0 | 9,218 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_png.c | C | apache-2.0 | 25,783 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_pnm.c | C | apache-2.0 | 7,373 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_svg.c | C | apache-2.0 | 4,441 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_tif.c | C | apache-2.0 | 6,586 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_webp.c | C | apache-2.0 | 8,782 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_xcf.c | C | apache-2.0 | 24,496 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_xpm.c | C | apache-2.0 | 45,762 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_xv.c | C | apache-2.0 | 4,107 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/IMG_xxx.c | C | apache-2.0 | 2,198 |
# Makefile.am for the SDL sample image loading library and viewer
lib_LTLIBRARIES = libSDL2_image.la
libSDL2_imageincludedir = $(includedir)/SDL2
libSDL2_imageinclude_HEADERS = \
SDL_image.h
if USE_IMAGEIO
IMAGEIO_SOURCE = IMG_ImageIO.m
endif
libSDL2_image_la_SOURCES = \
IMG.c \
IMG_bmp.c \
IMG_gif.c \
IMG... | YifuLiu/AliOS-Things | components/SDL2/src/image/Makefile.am | Makefile | apache-2.0 | 1,591 |
/*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permiss... | YifuLiu/AliOS-Things | components/SDL2/src/image/SDL_image.h | C | apache-2.0 | 6,820 |
#!/bin/sh
find . -type f \( -name '*.user' -o -name '*.sdf' -o -name '*.ncb' -o -name '*.suo' \) -print -delete
rm -rvf Win32 */Win32 x64 */x64
| YifuLiu/AliOS-Things | components/SDL2/src/image/VisualC/clean.sh | Shell | apache-2.0 | 144 |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Version.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VA... | YifuLiu/AliOS-Things | components/SDL2/src/image/VisualC/resource.h | C | apache-2.0 | 395 |
find . -type d -name 'Debug' -exec rm -rv {} \;
find . -type d -name 'Release' -exec rm -rv {} \;
find . -type f -name '*.user' -exec rm -v {} \;
find . -type f -name '*.ncb' -exec rm -v {} \;
find . -type f -name '*.suo' -exec rm -v {} \;
| YifuLiu/AliOS-Things | components/SDL2/src/image/VisualCE/clean.sh | Shell | apache-2.0 | 240 |
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Version.rc
//
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VA... | YifuLiu/AliOS-Things | components/SDL2/src/image/VisualCE/resource.h | C | apache-2.0 | 395 |
// Copyright 2010 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/decode.h | C | apache-2.0 | 23,805 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/demux.h | C | apache-2.0 | 15,603 |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/encode.h | C | apache-2.0 | 27,478 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/mux_types.h | C | apache-2.0 | 3,147 |
// Copyright 2010 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/types.h | C | apache-2.0 | 1,662 |
#! /bin/csh -ef
set prog = `/usr/bin/basename $0`
set usage = "Usage: $prog [-f] root-dir info-file [tiff-file] [-d dest-dir] [-r resource-dir] [-traditional | -gnutar]"
set noglob
if (-x /usr/bin/mkbom) then
set mkbom=/usr/bin/mkbom
set lsbom=/usr/bin/lsbom
else
set mkbom=/usr/etc/mkbom
set lsbom=/us... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/package | Tcsh | apache-2.0 | 6,460 |
#!/bin/sh
# Generic script to create a package with Project Builder in mind
# There should only be one version of this script for all projects!
FRAMEWORK="$1"
VARIANT="$2"
PACKAGE="$FRAMEWORK"
PACKAGE_RESOURCES="pkg-support/resources"
echo "Building package for $FRAMEWORK.framework"
echo "Will fetch resources from ... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/pkg-support/mkpackage.sh | Shell | apache-2.0 | 707 |
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#ifndef _SDLMain_h_
#define _SDLMain_h_
#import <Cocoa/Cocoa.h>
@interf... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/showimage/SDLMain.h | Objective-C | apache-2.0 | 374 |
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#include <SDL/SDL.h>
#include "SDLMain.h"
#include <sys/param.h> /* for M... | YifuLiu/AliOS-Things | components/SDL2/src/image/Xcode/showimage/SDLMain.m | Objective-C | apache-2.0 | 11,248 |
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; ... | YifuLiu/AliOS-Things | components/SDL2/src/image/acinclude/pkg.m4 | M4Sugar | apache-2.0 | 5,221 |
# Configure paths for SDL
# Sam Lantinga 9/21/99
# stolen from Manish Singh
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor
# serial 1
dnl AM_PATH_SDL2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
dnl... | YifuLiu/AliOS-Things | components/SDL2/src/image/acinclude/sdl2.m4 | M4Sugar | apache-2.0 | 6,982 |
#!/bin/sh
#
aclocal -I acinclude
automake --foreign --include-deps --add-missing --copy
autoconf
#./configure $*
echo "Now you are ready to run ./configure"
| YifuLiu/AliOS-Things | components/SDL2/src/image/autogen.sh | Shell | apache-2.0 | 158 |
m4trace:aclocal.m4:1253: -1- m4_include([acinclude/libtool.m4])
m4trace:aclocal.m4:1254: -1- m4_include([acinclude/ltoptions.m4])
m4trace:aclocal.m4:1255: -1- m4_include([acinclude/ltsugar.m4])
m4trace:aclocal.m4:1256: -1- m4_include([acinclude/ltversion.m4])
m4trace:aclocal.m4:1257: -1- m4_include([acinclude/lt~obsole... | YifuLiu/AliOS-Things | components/SDL2/src/image/autom4te.cache/traces.1 | Roff | apache-2.0 | 51,540 |
m4trace:/usr/share/aclocal/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_BEFORE([$0], [LT_LANG])dnl
AC_BEFORE([$0], [LT_OUTPUT])dnl
AC_BEFORE([$0], [LTDL_INIT])dnl
m4_require([_LT_CHECK_BUILDDIR])dnl
dnl Autoconf doesn't ca... | YifuLiu/AliOS-Things | components/SDL2/src/image/autom4te.cache/traces.2 | Roff | apache-2.0 | 131,107 |
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2017-09-16.17; # UTC
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General ... | YifuLiu/AliOS-Things | components/SDL2/src/image/compile | Shell | apache-2.0 | 7,383 |
# Makefile for showimage
CC = gcc
CFLAGS = $(shell sdl2-config --cflags) -Wall -O
LIBS = $(shell sdl2-config --libs) -lSDL2_image
EXE = showimage
all: $(EXE)
showimage: showimage.c Makefile
$(CC) -o $@ $@.c $(CFLAGS) $(LIBS)
clean:
-rm *.o $(EXE)
| YifuLiu/AliOS-Things | components/SDL2/src/image/debian/examples/Makefile | Makefile | apache-2.0 | 253 |
#!/usr/bin/make -f
confflags =
# These flags can be used to create a package directly linking with external libraries and having the appropriate package dependencies
#confflags += --disable-jpg-shared
#confflags += --disable-png-shared
#confflags += --disable-tif-shared
#confflags += --disable-webp-shared
%:
dh $@ ... | YifuLiu/AliOS-Things | components/SDL2/src/image/debian/rules | Makefile | apache-2.0 | 591 |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2017-09-16.17; # UTC
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ... | YifuLiu/AliOS-Things | components/SDL2/src/image/depcomp | Shell | apache-2.0 | 23,568 |
#!/bin/sh
#
# Build Universal binaries on Mac OS X, thanks Ryan!
#
# Usage: ./configure CC="sh gcc-fat.sh" && make && rm -rf x86 x64
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
# Intel 32-bit compiler flags (10.6 runtime compatibility)
GCC_COMPILE_X86="gcc -arch i386 -mmacosx-version-mi... | YifuLiu/AliOS-Things | components/SDL2/src/image/gcc-fat.sh | Shell | apache-2.0 | 2,513 |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2017-09-23.17; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | YifuLiu/AliOS-Things | components/SDL2/src/image/install-sh | Shell | apache-2.0 | 14,799 |
#! /bin/bash
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (SDL2_image) 2.0.5
# Libtool was configured on host localhost:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004... | YifuLiu/AliOS-Things | components/SDL2/src/image/libtool | Shell | apache-2.0 | 258,138 |
# Generated from ltmain.m4sh.
# ltmain.sh (GNU libtool) 2.2.6
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# w... | YifuLiu/AliOS-Things | components/SDL2/src/image/ltmain.sh | Shell | apache-2.0 | 243,310 |
/* miniz.c v1.15 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
See "unlicense" statement at the end of this file.
Rich Geldreich <richgel99@gmail.com>, last updated Oct. 13, 2013
Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf.or... | YifuLiu/AliOS-Things | components/SDL2/src/image/miniz.h | C | apache-2.0 | 227,537 |
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2018-01-04.22; # UTC
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it und... | YifuLiu/AliOS-Things | components/SDL2/src/image/missing | Shell | apache-2.0 | 6,878 |
/*
* Copyright (c) 2013-14 Mikko Mononen memon@inside.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpos... | YifuLiu/AliOS-Things | components/SDL2/src/image/nanosvg.h | C | apache-2.0 | 80,039 |
/*
* Copyright (c) 2013-14 Mikko Mononen memon@inside.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpos... | YifuLiu/AliOS-Things | components/SDL2/src/image/nanosvgrast.h | C | apache-2.0 | 38,122 |
/*
showimage: A test application for the SDL image loading library.
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Per... | YifuLiu/AliOS-Things | components/SDL2/src/image/unused/showimage.c | C | apache-2.0 | 6,226 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/SDL_gamecontroller.c | C | apache-2.0 | 78,752 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/SDL_gamecontrollerdb.h | C | apache-2.0 | 209,588 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/SDL_joystick.c | C | apache-2.0 | 66,194 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/SDL_joystick_c.h | C | apache-2.0 | 6,580 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/SDL_sysjoystick.h | C | apache-2.0 | 6,619 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/alios/SDL_sysjoystick.c | C | apache-2.0 | 5,198 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/android/SDL_sysjoystick.c | C | apache-2.0 | 21,036 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/android/SDL_sysjoystick_c.h | C | apache-2.0 | 2,143 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/bsd/SDL_sysjoystick.c | C | apache-2.0 | 21,770 |
#!/bin/sh
#
# Check to make sure 8BitDo controller configurations are correct
echo "Expected output:"
cat <<__EOF__
"050000003512000020ab000000780f00,8BitDo SNES30 Gamepad,a:b20,b:b21,back:b30,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b26,rightshoulder:b27,start:b31,x:b23,y:b24,hint:SDL_GAMECONTROLLE... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/check_8bitdo.sh | Shell | apache-2.0 | 931 |
/*
Copyright (C) Valve Corporation
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial appl... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/controller_type.h | C | apache-2.0 | 64,492 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/darwin/SDL_sysjoystick.c | C | apache-2.0 | 34,013 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/darwin/SDL_sysjoystick_c.h | C | apache-2.0 | 3,118 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/dummy/SDL_sysjoystick.c | C | apache-2.0 | 2,992 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/emscripten/SDL_sysjoystick.c | C | apache-2.0 | 11,920 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/emscripten/SDL_sysjoystick_c.h | C | apache-2.0 | 1,545 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/haiku/SDL_haikujoystick.cc | C++ | apache-2.0 | 9,081 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_gamecube.c | C | apache-2.0 | 14,187 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_ps4.c | C | apache-2.0 | 18,477 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_rumble.c | C | apache-2.0 | 7,134 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_rumble.h | C | apache-2.0 | 1,630 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_steam.c | C | apache-2.0 | 41,946 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_switch.c | C | apache-2.0 | 48,909 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_xbox360.c | C | apache-2.0 | 58,123 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_xbox360w.c | C | apache-2.0 | 11,252 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapi_xboxone.c | C | apache-2.0 | 32,393 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapijoystick.c | C | apache-2.0 | 36,583 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/SDL_hidapijoystick_c.h | C | apache-2.0 | 4,868 |
/*
Simple DirectMedia Layer
Copyright (C) 2020 Valve Corporation
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purp... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/steam/controller_constants.h | C | apache-2.0 | 14,638 |
/*
Simple DirectMedia Layer
Copyright (C) 2020 Valve Corporation
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purp... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/hidapi/steam/controller_structs.h | C | apache-2.0 | 6,773 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/iphoneos/SDL_sysjoystick.m | Objective-C | apache-2.0 | 29,031 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/iphoneos/SDL_sysjoystick_c.h | Objective-C | apache-2.0 | 1,684 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/linux/SDL_sysjoystick.c | C | apache-2.0 | 41,890 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/linux/SDL_sysjoystick_c.h | C | apache-2.0 | 2,334 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/psp/SDL_sysjoystick.c | C | apache-2.0 | 7,611 |
#!/usr/bin/env python
#
# Script to sort the game controller database entries in SDL_gamecontroller.c
import re
filename = "SDL_gamecontrollerdb.h"
input = open(filename)
output = open(filename + ".new", "w")
parsing_controllers = False
controllers = []
controller_guids = {}
conditionals = []
split_pattern = re.comp... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/sort_controllers.py | Python | apache-2.0 | 2,998 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | YifuLiu/AliOS-Things | components/SDL2/src/joystick/steam/SDL_steamcontroller.c | C | apache-2.0 | 1,557 |