Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-22 | Merge pull request #126 from go-gl/early-2015-overhaulHEADgradle_1.3.1gradle_1.3.0-beta4gradle_1.3.0-beta3gradle_1.3.0-beta2gradle_1.3.0-beta1studio-master-releasestudio-1.4-releasestudio-1.3-releasemastermain | Dmitri Shuralyov | |
Change import path according to early 2015 plan. | |||
2015-02-21 | Rename both packages from glfw3 to glfw. | Dmitri Shuralyov | |
2015-02-21 | Update import paths in README. | Dmitri Shuralyov | |
2015-02-21 | Move latest GLFW 3.1 bindings into v3.1/glfw subfolder. | Dmitri Shuralyov | |
This is in line with the early 2015 go-gl organization overhaul plan. See https://docs.google.com/document/d/1zORKEEFPsJ5AujtPbtQYQquvAopuXb3whWud1sA7nAE. | |||
2015-02-21 | Update doc URL for new import path | Coşku Baş | |
2015-02-21 | Allow use of OpenGL ES 2 on Desktop platforms with -tags=gles2 | Stephen Gutekanst | |
This allows for the explicitly choosing to use the OpenGL ES 2 client instead of the standard OpenGL client on Desktop (386, amd64) platforms. To explicitly choose the OpenGL ES 2 client, use the build tag "gles2". | |||
2015-02-21 | Was not renamed compared to 3.0 | Coşku Baş | |
2015-02-21 | Remove extra renamed | Coşku Baş | |
2015-02-21 | Fix library version | Coşku Baş | |
2015-02-21 | README overhaul | Coşku Baş | |
2015-02-21 | Add missing panicError call. | Stephen Gutekanst | |
2015-02-21 | Remove needless return statements. | Stephen Gutekanst | |
2015-02-21 | Fix grammer mistake. | Stephen Gutekanst | |
2015-02-21 | Return less errors; Fixes #118 | Stephen Gutekanst | |
For details about this solution see the documentation for acceptError, panicError, and issue #118. | |||
2015-02-21 | Remove FIXMEs | Coşku Baş | |
2015-02-21 | Add missing docs for consistency; fix typo. | Dmitri Shuralyov | |
The descriptions are taken from http://www.glfw.org/docs/latest/window.html. Add missing period at end of sentence for consistency. | |||
2015-02-21 | Update document | Coşku Baş | |
2015-02-21 | Convert non RGBA images to RGBA, use Image interface | Coşku Baş | |
2015-02-21 | Implement rest of the 3.1 features | Coşku Baş | |
2015-02-21 | More naming and doc updates | Coşku Baş | |
2015-02-21 | Tie GLFWimage to imgage.NRGBA | Coşku Baş | |
2015-02-21 | Document all the public ErrorCode constants. | Stephen Gutekanst | |
These are from the official GLFW documentation at: http://www.glfw.org/docs/latest/group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1 | |||
2015-02-21 | Make PlatformError private and a panic instead of an error. | Stephen Gutekanst | |
According to the GLFW documentation it is a bug in GLFW or the OS. http://www.glfw.org/docs/latest/group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1 | |||
2015-02-21 | Switch on error codes in the same order as they are declared. | Stephen Gutekanst | |
2015-02-21 | VideoMode to VidMode | Coşku Baş | |
2015-02-21 | Adhere strictly to C API naming | Coşku Baş | |
2015-02-21 | Avoid name collision | Coşku Baş | |
2015-02-21 | Implement cursor stuff | Coşku Baş | |
2015-02-21 | Switched to all caps abbreviations | Coşku Baş | |
2015-02-21 | Remove a typo that is kept only for backward compatibility | Coşku Baş | |
2015-02-21 | Add a stringer for ErrorCode. | Stephen Gutekanst | |
With this change we go from hard to reason about errors like: Error 65537: The GLFW library is not initialized To more clean ones: NotInitialized: The GLFW library is not initialized Note: can't use go:generate + stringer because they are C constants. | |||
2015-02-21 | Move the Error method closer to the Error type. | Stephen Gutekanst | |
2015-02-21 | README: add "Rename GLFWError to just Error." to changelog | Stephen Gutekanst | |
2015-02-21 | Rename GLFWError to just Error. | Stephen Gutekanst | |
This is much more idiomatic, as the user will read it as `glfw3.Error` rather than `glfw3.GLFWError`. | |||
2015-02-21 | Make the panic error codes private. | Stephen Gutekanst | |
Now that these error codes are translated into panics rather than being returned to the user as Go errors. There is no reason for them to be public. | |||
2015-02-21 | Panic when encountering errors that are uncommon. | Stephen Gutekanst | |
| Error Code | Rational | |--------------------|------------------------------------------| | `OutOfMemory` | Go panics when out of memory. | | `InvalidEnum` | The programmer wrote invalid code. | | `InvalidValue` | The programmer wrote invalid code. | | `NotInitialized` | The programmer wrote invalid code. | | `NoCurrentContext` | Only occurs in very uncommon situations. | | |||
2015-02-21 | Revert temporary fix for #100. | Dmitri Shuralyov | |
The fix was merged into master where it was needed; it is no longer needed in this branch as the issue has been fixed inside vendored GLFW library. See https://github.com/go-gl/glfw3/pull/101#issuecomment-59456675 for details. | |||
2015-02-21 | Use idiomatic form for build constraints. | Dmitri Shuralyov | |
See http://golang.org/pkg/go/build/#hdr-Build_Constraints. | |||
2015-02-21 | Remove remaining unused CMake files from vendored glfw folder. | Dmitri Shuralyov | |
See https://github.com/go-gl/glfw3/pull/110#issuecomment-70427149. | |||
2015-02-21 | Update to official GLFW 3.1 release. | Dmitri Shuralyov | |
See glfw/glfw@4188c263e31ec3d5da99a77d939ab56bc199fda6. | |||
2015-02-21 | Rename Character to Char to match upstream API naming. | Dmitri Shuralyov | |
This adds a breaking API change by renaming `SetCharacterCallback` to and `SetCharCallback`, and `SetCharacterModsCallback` to `SetCharModsCallback`. Updating is easy thanks to static type checking, and can be automated with `gofmt`: gofmt -w -r 'x.SetCharacterCallback -> x.SetCharCallback' *.go gofmt -w -r 'x.SetCharacterModsCallback -> x.SetCharModsCallback' *.go Closes #105. | |||
2015-02-21 | Update to glfw/glfw@59afffb3733f3f6f439c61be552ec1b3852692c4. | Dmitri Shuralyov | |
2015-02-21 | Update to glfw/glfw@aa7f827e721d8fc4c856f10152ec945169e69665. | Dmitri Shuralyov | |
2015-02-21 | Fix Linux build by adding missing linker library. | Dmitri Shuralyov | |
The Xinerama library was added in glfw/glfw@4918514eafd620f63916c62c82a5c67636f64848 and appears to be a mandatory library for both non-Wayland and Wayland paths. | |||
2015-02-21 | Update to glfw/glfw@3b9a14f. | Dmitri Shuralyov | |
Remove glfw_joystick.c, glfw_time.c files since they were removed in GLFW C library. Remove unnecessary CMake, example, documentation and test files of GLFW C library. | |||
2015-02-21 | Create and point to GLFW_C_REVISION.txt file. | Dmitri Shuralyov | |
This way, the next time we update to latest GLFW C source using the steps listed at https://github.com/go-gl/glfw3/wiki/Development#updating-glfw-c-source, the diff of that file will be an accurate representation of the GLFW C source change. It will also not require manual (error prone) updating of the README. | |||
2015-02-21 | README: add note about Go 1.4 requirement on Windows; Closes #91 | Stephen Gutekanst | |
2015-02-21 | Minor cleanup. | Dmitri Shuralyov | |
Change error printing to be consistent with 65a04face02544d1b4a257388693f7d9ab2d4157. | |||
2015-02-21 | Cleanup the flushErrors function. | Stephen Gutekanst | |
2015-02-21 | Fix type "occured" -> "occurred". | Stephen Gutekanst | |