You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG
+68-38Lines changed: 68 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -1,67 +1,74 @@
1
1
changelog
2
2
---------
3
3
4
-
Current Version: RGFW 1.6-dev
4
+
Current Version: RGFW 1.6
5
5
-----------------------------------------------
6
-
- fix wasm key event bug (key release events not being processed)
7
-
- Get rid of `RGFW_ALLOC_DROPFILES` (it's not actually useful)
6
+
7
+
Release: RGFW 1.6 (Feb 25, 2025)
8
+
-----------------------------------------------
9
+
This release has been focused on ensuring feature parity with GLFW, reviewing included features and fixing bugs.
10
+
11
+
breaking changes:
8
12
- Replace `RGFW_window_setBufferPtr` and `RGFW_setBufferSize` with `RGFW_window_initBuffer`, `RGFW_window_initBufferSize` and `RGFW_window_initBufferPtr`
9
13
Also forces the user to run `RGFW_window_initBuffer` to allocate a buffer
10
-
- Get rid of RGFW_allocator, most of the memory that needs to be allocated is optional and is allocated on init anyway.
14
+
- add `vector` for raw mouse data (so `point` can be used to get the regular mouse point)
15
+
- RGFW_setGLHint and RGFW_glHints enum
16
+
- change RGFW_window_fullscreen to RGFW_window_setFullscreen
17
+
- make RGFW_window_setFullscreen use exclusive fullscreen
18
+
- limit directX support to RGFW_window_createDXSwapChain, most of it should/can be handled by the user
19
+
- do not close the window until the (library) user closes it
20
+
- add RGFW_monitorMode, move monitor.rect to mode.area and x, y to monitor
21
+
- RGFW stalls on RGFW_quit
22
+
23
+
major changes:
24
+
- RGFW_monitorMode, allows gives the user more control the monitor's mode (size, refreshRate, RGB)
25
+
- lots of bug fixes
26
+
- more windowing functions and checking functions (floating, focus, aspectRatio, etc)
27
+
- RGFW_glHints and more OpenGL hint options (RGB, depth, robustness, release behavior, etc)
28
+
- more examples
29
+
30
+
all changes:
31
+
fixes:
32
+
- fix wasm key event bug (key release events not being processed)
11
33
- fix xDND data restarts bug
12
-
- print errors in writeclipboard (X11)
13
-
- fix macOS titlebar api (borderless window)
14
-
- update Vulkan example (fix crashes with certain drivers, have triangle follow mouse)
15
34
- rewrite writeclipboard, ensure the selection is properly being handled and the clipboard is properly being saved after the window is closed
- remove RGFW_mouseNone (fixes overflow bug, RGFW_mouseNone isn't used anyway)
19
-
- expose RGFW_moveToMacOSResourceDir to the public API
36
+
- make sure RGFW_mousePosCallback is called even for raw input events (winapi)
37
+
- handle `WM_SYSKEYDOWN` and `WM_SYSKEYUP` events (winapi)
38
+
- skip x11 mouse button events if the mouse button > 5
39
+
- framework CoreVideo is needed to get the monitor's refresh rate (macOS)
40
+
- move WM_PAINT to WndProc callback
41
+
- ensure setFlag won't cause bugs when it's used to create a window
42
+
- update Vulkan example (fix crashes with certain drivers, have triangle follow mouse)
43
+
- ensure UTF8 support (winapi)
44
+
- make RGFW_window_setFullscreen use exclusive fullscreen
45
+
46
+
new features:
47
+
- add icon example
20
48
- add `RGFW_window_center`
21
49
- add `RGFW_window_borderless`, `RGFW_window_allowsDND` and `RGFW_window_mouseHidden` for checking for args
22
50
- add flags example
23
51
- fix `RGFW_window_setMaxSize` / `RGFW_window_setMinSize` winapi, use `SetPropA` `GetPropA` to get the window in `WndProc`
24
52
- make RGFW_window_isMaximized actually maximize the window width the API
25
53
- fix RGFW_window_setBorder not working after window creation (X11)
26
-
- change b8/b32 to single changeable bool type `RGFW_bool`, add `RGFW_BOOL` macro for forcing an int to be bool
27
-
- add `CONVENTIONS.md`
28
54
- fix window flag bugs (macOS)
29
55
- RGFW_window_maximize uses `toggleFullScreen` if the window has no border (macOS)
30
-
- skip x11 mouse button events if the mouse button > 5
31
-
- fix RGFW_window_eventWait, make sure RGFW_eventWaitNext is converted if it needs to be, ensure the correct time is used, (winapi, cocoa), make waitMS unsigned
32
56
- add support for extra mouse buttons RGFW_mouseMisc1 - RGFW_mouseMisc5
33
57
- separate maximize and fullscreen functions
34
58
- add RGFW_window_setAspectRatio
35
-
- add RGFW_window_scaleToMonitor AND RGFW_monitor_scale
36
-
- add monitor/monitor.c example to show monitor scaling.
37
-
- fix issues with examples compiling (macOS, wasm, X11)
38
-
- remove microui_demo on wasm site
39
-
- make the default bool type u8
40
-
- make sure RGFW_mousePosCallback is called even for raw input events (winapi)
41
-
- add `vector` for raw mouse data (so `point` can be used to get the regular mouse point)
42
-
- replace API calls in RGFW_window_getMousePoint with `win->_lastMousePoint`
43
-
- handle `WM_SYSKEYDOWN` and `WM_SYSKEYUP` events (winapi)
44
-
- add RGFW_scrollLock keycode and RGFW_modScrollLock mod key
45
-
- change RGFW_window_fullscreen to RGFW_window_setFullscreen
46
-
- make RGFW_window_setFullscreen use exclusive fullscreen
47
-
- add RGFW_window_isFullscreen
48
-
- add refreshRate to RGFW_monitor_scale
49
-
- limit directX support to RGFW_window_createDXSwapChain, most of it should/can be handled by the user
50
-
- Add refreshRate to RGFW_monitor
51
-
- do not close the window until the user closes it
- add RGFW_monitorMode AND mode.red, mode.green, mode.blue
81
+
- add RGFW_scrollLock keycode and RGFW_modScrollLock mod key
75
82
- add `RGFW_monitorModeCompare`
76
-
- change `RGFW_monitor_scale` to `RGFW_monitor_requestMode`
77
-
- RGFW stalls on RGFW_quit
78
-
- ensure monitor functions can be used prior to window creation
79
-
- ensure UTF8 support (winapi)
83
+
- Add refreshRate to RGFW_monitor
80
84
- allow seticon to be undone
81
85
- add `RGFW_window_setIconEx` (allows you to set titleBar icon, window icon or both)
86
+
- add mode.red, mode.green, mode.blue
82
87
- add smooth-resize example
88
+
- Replace `RGFW_window_setBufferPtr` and `RGFW_setBufferSize` with `RGFW_window_initBuffer`, `RGFW_window_initBufferSize` and `RGFW_window_initBufferPtr`
89
+
Also forces the user to run `RGFW_window_initBuffer` to allocate a buffer
90
+
- add `vector` for raw mouse data (so `point` can be used to get the regular mouse point)
91
+
- RGFW_setGLHint and RGFW_glHints enum
92
+
- add RGFW_monitorMode, move monitor.rect to mode.area and x, y to monitor
93
+
94
+
miscellaneous changes:
95
+
- Get rid of `RGFW_ALLOC_DROPFILES` (it's not actually useful)
96
+
- Get rid of RGFW_allocator, most of the memory that needs to be allocated is optional and is allocated on init anyway.
97
+
- print errors in writeclipboard (X11)
98
+
- fix macOS titlebar api (borderless window)
99
+
- remove RGFW_mouseNone (fixes overflow bug, RGFW_mouseNone isn't used anyway)
100
+
- expose RGFW_moveToMacOSResourceDir to the public API
101
+
- change b8/b32 to single changeable bool type `RGFW_bool`, add `RGFW_BOOL` macro for forcing an int to be bool
102
+
- add `CONVENTIONS.md`
103
+
- fix RGFW_window_eventWait, make sure RGFW_eventWaitNext is converted if it needs to be, ensure the correct time is used, (winapi, cocoa), make waitMS unsigned
104
+
- fix issues with examples compiling (macOS, wasm, X11)
105
+
- remove microui_demo on wasm site
106
+
- make the default bool type u8
107
+
- replace API calls in RGFW_window_getMousePoint with `win->_lastMousePoint`
108
+
- ensure monitor functions can be used prior to window creation
109
+
- change RGFW_window_fullscreen to RGFW_window_setFullscreen
110
+
- limit directX support to RGFW_window_createDXSwapChain, most of it should/can be handled by the user
111
+
- do not close the window until the (library) user closes it
0 commit comments