Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/veandco/go-sdl2

SDL2 binding for Go
https://github.com/veandco/go-sdl2

Update README.md with instructions for cross-compiling from Linux to macOS

Signed-off-by: Lilis Iskandar <[email protected]>

8b6404142776028822c5073ce71a91bfd701eb10 authored almost 4 years ago
Add static library and compilation support for macOS arm64

Signed-off-by: Lilis Iskandar <[email protected]>

cd80a890a1854d8ec41d8815948b110ac7691709 authored almost 4 years ago
.go-sdl2-libs: Update header files and libraries for Linux, macOS, and Windows on 386 and amd64

Signed-off-by: Lilis Iskandar <[email protected]>

f9ada795a24b2135c3f97821f5166263f258bb0d authored almost 4 years ago
Add freetype download command to MAINTAINING.md

Signed-off-by: Lilis Iskandar <[email protected]>

3ae3e75fac5861f4e57b9935d64653c52e6d5360 authored almost 4 years ago
Update MAINTAINING.md

Signed-off-by: Lilis Iskandar <[email protected]>

016a827be9c91791072661271a99e5b89d3f4894 authored almost 4 years ago
Add MAINTAINING.md to keep notes of how the project is maintained

Signed-off-by: Lilis Iskandar <[email protected]>

147dc999a97c787d962ae17c271f3f49d8bfd105 authored almost 4 years ago
Update .go-sdl2-examples submodule

Signed-off-by: Lilis Iskandar <[email protected]>

3d23809923cfedd89dc0f97cbd99249a900da584 authored almost 4 years ago
mix: Update SDL2_mixer version checking pre-processor to be usable on older version

Signed-off-by: Lilis Iskandar <[email protected]>

f404bbd5bfd96e93627510168d02c29cbcb6a1af authored almost 4 years ago
sdl: Implement SDL2 2.0.12 and 2.0.14 bindings

Signed-off-by: Lilis Iskandar <[email protected]>

04889dd085267f024a5903855293c1648165ffb6 authored almost 4 years ago
mix: fix wrong outdated message printed for Mix_OpenAudioDevice

Signed-off-by: Lilis Iskandar <[email protected]>

0609645d44af4f0b75b5a86ed51cd80108b71919 authored about 4 years ago
add go.mod (#475)

c432ae38cfd2ad1ce805b2e5c9e46dd9593568a7 authored about 4 years ago
gfx: update documentation links

Signed-off-by: Lilis Iskandar <[email protected]>

59c801160bd4bd2afb7489df75f94f2df4d163ac authored about 4 years ago
.go-sdl-libs: update SDL2_ttf static libraries for Windows using MSys packages

Signed-off-by: Lilis Iskandar <[email protected]>

e1e6fddc529fd5745dbdb79dc74ddbe58963b436 authored over 4 years ago
Update static libraries

efac84439a5dabf62db5c86d3cbcbbc9ac62c322 authored over 4 years ago
Fixed signature of Renderer.CopyF and used .cptr() on src *Rect's. (#460)

49277f6d943ea2a4193be6f4eb54f48b447791b5 authored over 4 years ago
sdl/render: fix CopyExF() parameters not matching the native signature

Signed-off-by: Lilis Iskandar <[email protected]>

68ac2ecf11c6e128a67518f594a95532ab6133e0 authored over 4 years ago
Correct Mix_OpenAudioDevice condition (#456)

Use mixer version 2.0.2 for Mix_OpenAudioDevice stub to be able to compile on
Ubuntu 18.04. Pre...

147d76b417018a03f92d0da32013090300a229fa authored almost 5 years ago
mix: Added binding to Mix_OpenAudioDevice (#454)

* mix: added Mix_OpenAudioDevice binding

* mix: added Mix_OpenAudioDevice stub

* mix: use ...

9dccbdb139b8af63c31a3b46d37cc5629e18ab86 authored almost 5 years ago
sdl/events: change JoyDeviceAddedEvent's Which member to use JoystickID instead of int

Signed-off-by: Lilis Iskandar <[email protected]>

e1267dc212621f5ec25c38f98fb9c304c0295cbf authored almost 5 years ago
sdl: Update TODO.md

Signed-off-by: Lilis Iskandar <[email protected]>

0f0aff6510ff6b885d668509789fbf6120e47d8c authored about 5 years ago
sdl/surface: fix a typo

Signed-off-by: Lilis Iskandar <[email protected]>

7616d875609e28493f2b916ad377a27d8819e847 authored about 5 years ago
sdl/system: add SDL_IsTablet for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

108ccb6c3a6ef8e4680c7017017fad3f74e20ad0 authored about 5 years ago
sdl/gamecontroller: add SDL_GameControllerMappingForDeviceIndex, SDL_GameControllerGetPlayerIndex, and SDL_GameControllerRumble for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

0d10c72cbf37d96a586805e4385aa4adc5e7019a authored about 5 years ago
sdl/joystick: add SDL_JoystickGetDevicePlayerIndex, SDL_JoystickGetPlayerIndex, and SDL_JoystickRumble for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

d73e4f75000f3509b513b6c465a214e27a6484dd authored about 5 years ago
sdl/video: fix a typo

Signed-off-by: Lilis Iskandar <[email protected]>

5af4acbf1b1b54e264fe2b7dc7effd1c1a8408e8 authored about 5 years ago
sdl/events: add SDL_DisplayEvent for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

0f4156995e59a48d5c729de19cc7060c8364c466 authored about 5 years ago
sdl/surface: add SDL_HasColorKey for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

4a35c880ea9689cba86c80cfbea488cc326130a7 authored about 5 years ago
sdl/hints: add SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

44e9d0412d241a51ade7a716f1e76607f95d296b authored about 5 years ago
sdl/error: update errorFromInt() to return generic error if SDL2 doesn't have its own error

Signed-off-by: Lilis Iskandar <[email protected]>

a530dff46d7b8303ea6aa17054164096fdb49178 authored about 5 years ago
sdl/cpuinfo: add SDL_HasAVX512F for 2.0.9

Signed-off-by: Lilis Iskandar <[email protected]>

8b7fbc6e98b78c38c2cac3dbaca320b0829015ee authored about 5 years ago
sdl/pixels: add RGBA5551Model, ABGR1555Model, BGRA5551Model, RGBA8888Model, BGRA8888Model

Signed-off-by: Lilis Iskandar <[email protected]>

f9c0566ed2b7fc603a503df27389a5e0bdb41e4f authored about 5 years ago
sdl/surface: implement Set() for RGBA5551, ABGR1555, BGRA5551, RGBA8888, BGRA8888

Signed-off-by: Lilis Iskandar <[email protected]>

12aa5b975da8d3482f411e499c1cedda0e1167ea authored about 5 years ago
Add openbsd to sdl_cgo.go (#443)

5bc87f65f2716e1374edd0cf2a95d60682111165 authored about 5 years ago
sdl/surface: implement Set() for RGBA4444, BGRA4444, ARGB1555

Signed-off-by: Lilis Iskandar <[email protected]>

9f68aca06319ea2ce4ddb3c8c59267f9db8a0d3b authored about 5 years ago
sdl/pixels: add RGBA4444Model, BGRA4444Model, ARGB1555Model

Signed-off-by: Lilis Iskandar <[email protected]>

a420d6b6ceb920b7c60ad7d66521bd92e95dfd9e authored about 5 years ago
sdl/surface: implement Set() for ABGR4444

Signed-off-by: Lilis Iskandar <[email protected]>

e76a42a4cc13f0fa0c6c98ee279213fee3413063 authored about 5 years ago
sdl/pixels: add ABGR4444Model

Signed-off-by: Lilis Iskandar <[email protected]>

9b342c5d77f84b5520bc3cc338c5559b7b7a8505 authored about 5 years ago
sdl/surface: implement Set() for ARGB4444

Signed-off-by: Lilis Iskandar <[email protected]>

cb7a79ba143420be2fba6c691cf6b3382416905b authored about 5 years ago
sdl/pixels: add ARGB4444Model

Signed-off-by: Lilis Iskandar <[email protected]>

f563e3f304c2cd3452ea6a1e936f4be388601edd authored about 5 years ago
sdl/surface: implement Set() for BGR565 and BGR555

Signed-off-by: Lilis Iskandar <[email protected]>

8f20ef502e3c7dc84a49e5e83d2e655624ccc0e2 authored about 5 years ago
sdl/pixels: add BGR565Model and BGR555Model

Signed-off-by: Lilis Iskandar <[email protected]>

0cadadbbdd8706317196ac9bce0b9f37b04052b4 authored about 5 years ago
sdl/surface: implement Set() for RGB555

Signed-off-by: Lilis Iskandar <[email protected]>

3d2e725edc107c15f809c641ccbc0d86203aa9a1 authored about 5 years ago
sdl/pixels: add RGB555Model

Signed-off-by: Lilis Iskandar <[email protected]>

032468b9d97638d8c80a2194387097d9e1c04ae9 authored about 5 years ago
sdl/surface: implement Set() for RGB565

Signed-off-by: Lilis Iskandar <[email protected]>

84a4deca2864f7a93e996425ff1d9b9c3f029380 authored about 5 years ago
sdl/pixels: add RGB565Model

Signed-off-by: Lilis Iskandar <[email protected]>

19259f603b2c6e8887c857a5b74dade1d6d9afdb authored about 5 years ago
sdl/surface: implement Set() for RGB332

Signed-off-by: Lilis Iskandar <[email protected]>

4b32591613b7a45b85dac2d24d78371ea19f78ad authored about 5 years ago
sdl/pixels: add RGB332Model

Signed-off-by: Lilis Iskandar <[email protected]>

eba2b2c3bcdc0a9aa8ac29a451984d6ec702c2e2 authored about 5 years ago
sdl/surface: implement Set() for RGB444

Signed-off-by: Lilis Iskandar <[email protected]>

a8db1d9ca6f7b29ac9d65ea5bcd5576b52ed70ef authored about 5 years ago
sdl/pixels: add RGB444Model

Signed-off-by: Lilis Iskandar <[email protected]>

dc18c16b0dfd4940979cf7a2ac5f1582267d086f authored about 5 years ago
update BREAKING.md

Signed-off-by: Lilis Iskandar <[email protected]>

3d9b5d6d191123cf3e0ab67158f025e5f0517318 authored about 5 years ago
img: change `Init()` to return `error` instead of `int`

Signed-off-by: Lilis Iskandar <[email protected]>

e87f36a0f5cf056bc3065637f383423c505d0293 authored about 5 years ago
sdl/rect: add InRect() method for FPoint

Signed-off-by: Lilis Iskandar <[email protected]>

ec14881f3097f4a0b38fc904ded7bea5e042a860 authored about 5 years ago
sdl/rect: add Empty(), Equals(), HasIntersection(), Intersect() methods for FRect

Signed-off-by: Lilis Iskandar <[email protected]>

68aae13a193f680cfb75fadf66720d2fce7f4e12 authored about 5 years ago
Activating Open Collective (#430)

* Added financial contributors to the README

* Update README.md

removed double

* Update...

68b56f2c64c36f41da33d0985dc5f173ae7cb0f9 authored over 5 years ago
sdl/events: put SDL_Event variable in C context

This seems to fix some issues regarding audio playback
when PollEvent() is called from another m...

72b8143a7ae9e33f202d03664e43bf0b0a6595e7 authored over 5 years ago
fix header name for case sensitive file systems (#426)

27660b4726c43e74d86b5ffc452e4c468126b160 authored over 5 years ago
sdl/surface: fix sdl.Surface.Set() on PIXELFORMAT_ARGB8888 surface displaying wrong color

Signed-off-by: Lilis Iskandar <[email protected]>

3a6958a96a601abac25a0506402e16220387b132 authored over 5 years ago
sdl/render: use normal SDL_RenderCopy() if `dst` is nil

There was a workaround to prevent memory corruption if
passed `dst` from Go but it failed to acc...

0ac831f22fa93a6c233d822396c2c9b04d7b06bd authored over 5 years ago
sdl/render: workaround for audio playback going corrupt from calling sdl.Renderer.Copy()

It seems like calling the `Copy()` method with the `dst` parameter being
sdl.Rect from the Go co...

fbf6279185d95a1266b391df284c2db53a611649 authored over 5 years ago
sdl: initial support for SDL2 2.0.10

Signed-off-by: Lilis Iskandar <[email protected]>

da65661eff7f5d84f6f7436a710561fdb5418761 authored over 5 years ago
fixed UserEvent typecast (#417)

* fixed UserEvent typecast

All events beyond USEREVENT are UserEvents.

* style – make the ...

07105104c379bf13c5af3938ed9139824504293f authored over 5 years ago
Create FUNDING.yml

c4edb061d21a8f73b2a032ea191975848a9bdce4 authored over 5 years ago
sdl/hints: fix build when using SDL2 2.0.10

Signed-off-by: Lilis Iskandar <[email protected]>

43b59213bee65745ca265afae4168f2e25403735 authored over 5 years ago
Fix travis build by using more specific go version

Signed-off-by: Lilis Iskandar <[email protected]>

b64d5764c1a5d92e099d93ef382c5cc66a4c32bd authored over 5 years ago
Build syswm_x11.go only if actually using X11 (#415)

a2eaa80086ad0cc26bfdc5142f16d6ca7b458e31 authored over 5 years ago
Fix documentation for AUDIO_U8 and AUDIO_S8 (#414)

e7420673f779fd210764184dcc1de63a06fa95ff authored over 5 years ago
sdl2_ttf: use correct pkg-config package. (#411)

7a9b8d607870d8d03a1b739ddff015d4ab10f2eb authored over 5 years ago
sdl/syswm: add way to access window-system-specific data in SysWMEvent

The msg member is now exposed as Msg (type is SysWMmsg) in SysWMEvent.
To access window-system-s...

24851c1f2d98dcac2a68223a24e6f799fc921f1e authored over 5 years ago
sdl/vulkan: change `Window.VulkanCreateSurface()` function signature

The function now returns `unsafe.Pointer` instead of `uintptr`. This is
done to simplify casting...

1bad6977f9fe18e8c4a47dd0934015b7fb319ae6 authored over 5 years ago
Add Clicks to MouseButtonEvent (#407)

730f5607bb9b5d34d5ead0af882aa4328092d12f authored over 5 years ago
sdl/render: give names to Texture.Query()'s returned parameters

This was done to let users know what the returned parameters when they
are using `go doc` (e.g. ...

649ea85188106bf99d15daf5cdcd93b0da65ada9 authored over 5 years ago
sdl/pixels: make SDL_PIXELFORMAT aliases use the C values directly

SDL_PIXELFORMAT aliases were not calculated during compile-time. This
change makes the aliases r...

9c404c85b6b2226df7784eeb5e52eae82e7a3285 authored almost 6 years ago
sdl: expose SDL_BYTESPERPIXEL and SDL_BITSPERPIXEL macros (#404)

5a9e461058bd05ddef9c8cde64e58d4f96d1f186 authored almost 6 years ago
sdl: add binding for SDL_ThreadID() as sdl.CurrentThreadID()

Signed-off-by: Lilis Iskandar <[email protected]>

ac6422e4f04824a94b843fd5360e2bbca88a99f7 authored almost 6 years ago
sdl: add integer scale bindings for Renderer (#401)

* sdl: add integer scale bindings for Renderer

* sdl: fix GetIntegerScale error handling and ...

ce994fe9b61d75285f35ff3eda31f1253bc9a2fe authored almost 6 years ago
sdl/mouse: add SDL_GetGlobalMouseState()

Signed-off-by: Lilis Iskandar <[email protected]>

767d0ac1755e7aa323cd710672b3ee0163179ecf authored almost 6 years ago
add CODE_OF_CONDUCT.md

Signed-off-by: Lilis Iskandar <[email protected]>

025de1791b6d3f7550b3b39777b4da06b7522c18 authored almost 6 years ago
sdl/sensor: remove dependency on native SDL_STANDARD_GRAVITY definition

There is a problem with compiling with SDL2 2.0.9 on older Go (tested on Go 1.7)
as it does not ...

61ef6c98c6b1065eda59534d1cb0a84c1acc9e28 authored almost 6 years ago
fix color to Uint32 (#396)

891c44b40a48a3b418cd03f2cc604b382c68dec3 authored almost 6 years ago
Add instructions on how to compile statically

Signed-off-by: Lilis Iskandar <[email protected]>

8067d2aaba8b4136c4ae50cd9e5d282757737104 authored almost 6 years ago
Fix .go-sdl2-examples also un-linked as sub-module

Signed-off-by: Lilis Iskandar <[email protected]>

f9b0868a25532bb10627bee792a14025c6d07d68 authored almost 6 years ago
Merges .go-sdl2-libs as part of the repository (#392)

This fixes static and/or cross-platform build when using the new Go
Module system as it doesn't...

d969945fa22d438e43c81c992cd4243d5278be05 authored almost 6 years ago
Use len(buttons) for message box (#389)

This simplifies the usage of the structure. In Go a slice knows its size as opposed to C.

174578a6002525311d64d21c4f5f6847cf1f0554 authored almost 6 years ago
fix RWFromMem of sdl/audio_test.go (#376)

* fix RWFromMem of sdl/audio_test.go

* ci: improve Travis CI script, using Xvfb for Headless ...

f9bdcc568fa1356d332884d4373bb8e4f3f581b2 authored almost 6 years ago
sdl: audio_test: Fix compile error on TestLoadWAVRW()

Signed-off-by: Lilis Iskandar <[email protected]>

85f444a428c2e9747f8c9bc931a7770073f6a20e authored almost 6 years ago
gfx: fix build error

Signed-off-by: Lilis Iskandar <[email protected]>

902a8518c8fcea0ff782bb346a8767d5e1bf89f8 authored almost 6 years ago
Update travis.yml to also build packages other than sdl

Signed-off-by: Lilis Iskandar <[email protected]>

4c5e37c7c550bbd4b225020884fff1b50caf31e4 authored almost 6 years ago
Fix #383: safe-guard dereferencing first slice indices (#385)

* Run go fmt

* Safe-guard slice[0] dereferences

042cf8322c847379ced77b4d7d1832b6b560ddd6 authored almost 6 years ago
sdl/events: Add GetText() method to TextEditingEvent and TextInputEvent

Signed-off-by: Lilis Iskandar <[email protected]>

8d8c120c3d1f20840b3ac47763ba996b3bb6e9db authored almost 6 years ago
sdl/sensor: Remove redundant return statement

Signed-off-by: Lilis Iskandar <[email protected]>

1fdc5b030ca1278d54e7519fa286964216bdc7c7 authored almost 6 years ago
sdl/sensor: Fix Sensor.Close() calls wrong function

Signed-off-by: Lilis Iskandar <[email protected]>

d9c5984cb1d48b9c64f31935b51df34b10e8f77f authored almost 6 years ago
sdl/audio: Fix compile error caused by AudioStream.Clear()

Signed-off-by: Lilis Iskandar <[email protected]>

fb994d2766367229608bd56a27f4ec19e2560138 authored almost 6 years ago
sdl/audio: Fix AudioStream.Clear() calling wrong function

Signed-off-by: Lilis Iskandar <[email protected]>

3acc82665a0b4c8fde7789d2392c77e895613438 authored almost 6 years ago
fix img/sdl_image_test.go (#374)

984ce9f5059cc9ca3c4b263199c41dfaa7bcba74 authored about 6 years ago
Making go-sdl2 a bit more compatible with Go standard libraries (#369)

* Using image/color package for SDL_Color

* Implementing basic image.Image and draw.Image int...

49a231dd87b53dfd92cbaf839b84e36b3de872f5 authored about 6 years ago
Add a "Reviewed by Hound" badge (#368)

b4c40fb7d1c814b4cebbcd56fdcf6afa8cdfd16f authored about 6 years ago
sdl: Disable warnings of old SDL2 version by the default

All the old SDL2 version warning messages are now disabled by default. To enable
it, you can set...

e081255fddb498ceb45a986dc301b501c3f32ebd authored about 6 years ago
Update static libs to 2.0.9 and add Android example

58668ac1e3c22b9004d72da93c87c007ebbeb19f authored about 6 years ago
sdl/rwops: Fix Travis CI build for go-tip

Signed-off-by: Lilis Iskandar <[email protected]>

cde444561a84aaca82fb4cdff364d4390abdd9aa authored about 6 years ago
sdl/sensor: Fix Travis CI build failure due to macro definition of SDL_STANDARD_GRAVITY

The C definition of SDL_STANDARD_GRAVITY is a float inside a Go file which
doesn't seem to be su...

96f6aa96b990d6924fad40295f94ae9050a75e21 authored about 6 years ago