Commit graph

  • 2d738248e7 glfw: Update function docs in Monitor and vulkan to match glfw 3.3.6 iddev5 2021-12-23 17:47:56 +05:30
  • 2d01fce1bc glfw: native.zig: Fix missing casts, incorrect return types and error handling iddev5 2021-12-23 12:29:10 +05:30
  • 397a3831ad glfw: Add ziggified API of glfw3native.h iddev5 2021-12-22 15:13:46 +05:30
  • c556044646 glfw: Update glfw to 3.3.6 (#136) Ali Chraghi 2021-12-22 21:45:23 +03:30
  • 2d69b1ab22 glfw: make update-upstream.sh clone faster (#132) Ali Chraghi 2021-12-22 04:55:51 +03:30
  • 92b72a329e glfw: update CI to latest Zig master InKryption 2021-12-19 20:29:56 +01:00
  • 7abe88b224 Run zig fmt >> Zig master changed c_void to anyopaque, and zig fmt helps to change code as appropriate InKryption 2021-12-19 19:37:09 +01:00
  • bdf74cf422 glfw: mention Matrix chat room Stephen Gutekanst 2021-12-14 19:01:45 -07:00
  • 7baaa264e4 glfw: replace isize, usize with i32, u32 where appropriate (#126) Ali Chraghi 2021-12-14 19:50:14 +03:30
  • a0fc183a20 glfw: reduce compilation units to bring iteration time down to ~90ms Stephen Gutekanst 2021-12-10 04:41:39 -07:00
  • 59ba9ec476 glfw: improve consecutive build times by 4-12x Stephen Gutekanst 2021-12-10 03:33:31 -07:00
  • 99c7bfd63d glfw: rename capture appropriately InKryption 2021-12-10 04:01:57 +01:00
  • 5bd4631939 glfw: replace glfw.dont_care as sentinel value Apply same pattern to other hints which can take on the value of glfw.dont_care`. InKryption 2021-12-10 04:00:17 +01:00
  • 7c96b182fb glfw: replace glfw.dont_care as sentinel value Also change logic inside Hints.set to account for this special case InKryption 2021-12-10 03:21:38 +01:00
  • 5771591626 glfw: remove accidental re-addition of TODO InKryption 2021-12-10 02:44:28 +01:00
  • 6e445e6b1d glfw: add doc-comment InKryption 2021-12-10 02:40:24 +01:00
  • 7503214a08 glfw: replace usage of glfw.dont_care as sentinel value for parameters in some glfw.Window functions InKryption 2021-12-10 02:31:40 +01:00
  • 89b3f7823c glfw: remove TODOs InKryption 2021-12-07 11:46:26 +01:00
  • 8e76a927a5 glfw: correctly @errorSetCast when returning errors from createWindowSurface Stephen Gutekanst 2021-12-06 22:14:06 -07:00
  • 1b57fb13fb glfw: Denormalize errors (#115) InKryption 2021-12-07 05:52:15 +01:00
  • 56e2560dc6 glfw: update CI to latest Zig master Stephen Gutekanst 2021-12-06 20:43:36 -07:00
  • 1667cbb8ff glfw: update system_sdk.zig to latest Zig master BratishkaErik 2021-12-06 17:35:47 +06:00
  • 4d75871f40 glfw: make getProcAddress ABI compatible with C implementation Stephen Gutekanst 2021-12-05 04:22:21 +00:00
  • ef6de0e00f glfw: update Linux SDK (enforce static linkage of libvulkan and libX11-xcb) Stephen Gutekanst 2021-12-01 04:04:19 +00:00
  • 552a6b75ef glfw: update Linux system SDK Stephen Gutekanst 2021-11-30 16:56:13 -07:00
  • 0011df2be5 glfw: add build-system TODOs Stephen Gutekanst 2021-11-30 11:29:56 -07:00
  • 84382ee1fc glfw: update system SDKs for macOS 11 cross compilation Stephen Gutekanst 2021-11-29 21:03:25 -07:00
  • 116e79a49f glfw: CI: re-enable x86_64-macos -> aarch64-macos cross compilation Stephen Gutekanst 2021-11-28 20:49:19 -07:00
  • a544741a50 glfw: do not pin SDK version when using custom dev SDK path Stephen Gutekanst 2021-11-28 20:19:23 -07:00
  • 58e2632a4e glfw: Fix pointer cast InKryption 2021-11-29 19:41:48 +00:00
  • 7465bb6e93 glfw: make system_sdk pin versions, auto-update Stephen Gutekanst 2021-11-28 18:11:43 -07:00
  • ea3b28efc7 glfw: rename system_sdk.Options.linux_x86_64_sdk for consistency Stephen Gutekanst 2021-11-28 14:36:26 -07:00
  • 6910608980 glfw: correct Apple SDK license prompt Stephen Gutekanst 2021-11-28 14:20:50 -07:00
  • 1e00183dd8 glfw: CI: disable x86_64-macos -> aarch64-macos cross compilation Stephen Gutekanst 2021-11-27 00:08:29 -07:00
  • 041cd7be2b glfw: update CI to latest Zig master version Stephen Gutekanst 2021-11-26 23:37:06 -07:00
  • cea8fd0dd3 Revert "glfw: patch GLFW sources to workaround a bug where Zig and Mach C headers conflict" Stephen Gutekanst 2021-11-26 23:33:52 -07:00
  • 95515eaf7c glfw: update system_sdk to match latest Zig master macOS version targeting Stephen Gutekanst 2021-11-26 23:25:50 -07:00
  • 01ad3b836c glfw: support building with latest Zig master Stephen Gutekanst 2021-11-26 22:17:42 -07:00
  • fcdc184167 glfw: un-hardcode constant InKryption 2021-11-27 06:03:15 +01:00
  • 9ec72fdb2c glfw: Eliminate Error.InvalidValue InKryption 2021-11-27 00:51:52 +01:00
  • 7c924700c4 glfw: run zig fmt InKryption 2021-11-24 04:15:08 +01:00
  • 403e1cc866 glfw: add runtime assertion to Window.setInputMode InKryption 2021-11-24 04:13:26 +01:00
  • 2822b2862e glfw: Finalize removal of 'InvalidEnum' error InKryption 2021-11-24 04:11:22 +01:00
  • 23b662f438 glfw: Eliminate InvalidEnum InKryption 2021-11-23 23:16:56 +01:00
  • 4faa7783e6 glfw: add 'assertInitialized' InKryption 2021-11-23 19:32:41 +01:00
  • 11a3689cb7 glfw: make comment into doc comment InKryption 2021-11-23 19:32:02 +01:00
  • 6fbbba7c4c glfw: update possible errors comment InKryption 2021-11-23 18:24:54 +01:00
  • 1f6b5258dc glfw: re-instate prong InKryption 2021-11-23 18:50:16 +01:00
  • e363bb0840 glfw: Change error unions into normal returns, in accordance with the new guarantee to never encounter 'GLFW_NOT_INITIALIZED', and update tests InKryption 2021-11-22 20:21:46 +01:00
  • f55e083f05 glfw: enum-ify 'Joystick.jid', set 'InvalidEnum' as unreachable, and run zig fmt InKryption 2021-11-22 19:54:36 +01:00
  • fa5f102b2a constify unmutated variables in build files InKryption 2021-11-22 14:02:34 +01:00
  • 946c059f10 glfw: amend and update various TODOs pertaining to force-init changes InKryption 2021-11-22 13:53:40 +01:00
  • 5c93c0fe22 glfw: assert initialized in proc address getter functions InKryption 2021-11-22 13:11:54 +01:00
  • e3b00f0a7b glfw: fix for getClipboardString reaching unreachable prong on linux CI InKryption 2021-11-22 01:25:14 +01:00
  • c7558b61eb glfw: Revert error denormalization InKryption 2021-11-22 00:34:38 +01:00
  • db6b48e9e4 glfw: force init error type work around InKryption 2021-11-21 20:42:32 +01:00
  • 5466115d4d glfw: Remove 'NotInitialized' error InKryption 2021-11-21 20:15:41 +01:00
  • 400fba7401 glfw: force init in Window.zig InKryption 2021-11-21 20:15:16 +01:00
  • ea757b077f glfw: force init in vulkan.zig InKryption 2021-11-21 19:30:58 +01:00
  • e05fe5e490 glfw: force init in time.zig InKryption 2021-11-21 19:25:10 +01:00
  • 0782243a12 glfw: force init in opengl.zig InKryption 2021-11-21 19:21:49 +01:00
  • 35c27a1d18 glfw: force init in Monitor.zig InKryption 2021-11-21 18:38:39 +01:00
  • de0f8aceb3 glfw: force init in Joystick.zig InKryption 2021-11-21 18:21:50 +01:00
  • 9658c47018 glfw: force init in key.zig InKryption 2021-11-21 18:21:08 +01:00
  • 2096bb2056 glfw: force init in main.zig InKryption 2021-11-21 18:11:12 +01:00
  • 6346d1089b glfw: force init in Cursor.zig InKryption 2021-11-21 16:41:12 +01:00
  • 16492eb794 glfw: force init in clipboard.zig InKryption 2021-11-21 15:53:19 +01:00
  • 8a0233dd7d glfw: force init before using init dependent functions InKryption 2021-11-21 15:49:11 +01:00
  • 3726fe98dc glfw: patch GLFW sources to workaround a bug where Zig and Mach C headers conflict Stephen Gutekanst 2021-11-21 12:12:57 -07:00
  • 5aa3e2a66e glfw: update system_sdk to use latest MacOS 12.0 SDK Stephen Gutekanst 2021-11-21 11:09:35 -07:00
  • fe1d10f03f glfw: window hint default values parity test with attributes (#81) InKryption 2021-11-20 20:42:52 +01:00
  • 8e062b63cb glfw: further reorganize Window.Attrib to match with Window.Hint. InKryption 2021-11-17 14:03:41 +01:00
  • e35c44bb2f glfw: reorganize Window.Attrib to be in the same style as Window.Hint InKryption 2021-11-17 12:20:56 +01:00
  • 802ec78b68 glfw: make glfw.Cursor.Shape public InKryption 2021-11-16 16:25:23 +00:00
  • f0dd193695 glfw: remove [*c] pointers from api and return lengthed strings when possible Silver 2021-11-11 09:42:49 +00:00
  • 23c922f0a4 glfw: window hints rework (#71) InKryption 2021-11-16 02:41:16 +01:00
  • da3e76eff1 glfw: fix typo prevents building for Wayland Ali Chraghi 2021-11-16 04:09:08 +03:30
  • b967fd5e91 glfw: update setIcon hotfix for undefined behavior Stephen Gutekanst 2021-11-16 00:22:45 +00:00
  • de499c2b76 glfw: patch more undefined behaviour Silver 2021-11-12 10:00:29 +00:00
  • 80e609b0cb Update README.md Ali Chraghi 2021-11-15 14:45:05 +03:30
  • e183711e5e glfw: Make enum value name the same format as other enum value names InKryption 2021-11-11 17:06:26 +01:00
  • d91d9311ed glfw: Publicize Window.CursorPos, Window.Size, Window.Pos, and Window.FrameSize InKryption 2021-11-11 14:54:55 +01:00
  • 9bb3803657 glfw: make comments into doc comments InKryption 2021-11-11 14:48:04 +01:00
  • ec9e770673 glfw: Update readme to reflect changes made to glfw.init InKryption 2021-11-10 11:39:13 +01:00
  • 82c5079d1d glfw: Update tests in all other files to reflect changes made to glfw.init InKryption 2021-11-10 11:38:43 +01:00
  • 025b91ecb0 glfw: change init function to accept hints as paramaters via new InitHints struct which has default field values reflecting the default values specified by GLFW current documentation, privatize hint-setting wrapper API, and update tests InKryption 2021-11-10 11:30:10 +01:00
  • 1d0d381f48 glfw: inform in PR template to send all PRs to main repository Stephen Gutekanst 2021-11-07 20:55:20 -07:00
  • e6084af0e5 glfw: send pull requests to the main repository to avoid merge conflicts Stephen Gutekanst 2021-11-07 20:47:29 -07:00
  • 03fc8bc424 glfw: fix linking difference between sysroot and non-sysroot (#63) Stephen Gutekanst 2021-11-05 12:20:24 -07:00
  • fd131c83a9
    Fix code example (#1) Noora Heinsuo 2021-11-04 05:13:39 +02:00
  • f340d04eca glfw: hot patch undefined behavior in GLFW that went unnoticed 6+ years Stephen Gutekanst 2021-10-31 11:50:09 -07:00
  • 96cb20e9e8 glfw: add Vulkan example to README Stephen Gutekanst 2021-10-31 01:14:46 -07:00
  • 1ec1b7dfc4 glfw: zig fmt Stephen Gutekanst 2021-10-31 01:00:56 -07:00
  • b87ef62856 glfw: improve ABI compatability with zig-vulkan library Stephen Gutekanst 2021-10-31 01:00:02 -07:00
  • 4e93fbddd1 glfw: expose system SDK build options Stephen Gutekanst 2021-10-30 21:47:48 -07:00
  • e752666062 glfw: refactor system SDK inclusion into helper file Stephen Gutekanst 2021-10-30 21:24:15 -07:00
  • f0a71f53a4 glfw: update README, send pull requests to the main repo if possible Stephen Gutekanst 2021-10-30 20:40:45 -07:00
  • 3b231b7456 glfw: improve README, add getting started, error handling, etc Stephen Gutekanst 2021-10-30 20:36:19 -07:00
  • b96fd437a3 glfw: make init hints a proper enum Stephen Gutekanst 2021-10-30 19:59:04 -07:00
  • 30abe0c960 glfw: make monitor/joystick events a proper enum Stephen Gutekanst 2021-10-30 19:50:21 -07:00