Skip to content

Tags: wuxxerno/Nuklear

Tags

4.10.5

Toggle 4.10.5's commit message
1) Added GDI full featured window code (Ohjurot)

(SHA: d4e6954)

2) Converted from C   to C
WARNING: Is currently not working! Needs more debugging. (Ohjurot)
(SHA: 169470d)

3) Fixed non displayed windows.
WARNING: Drawing is not done correctly (Ohjurot)
(SHA: 33395aa)

4) Bug fix & Added comments (Ohjurot)
(SHA: a31c6c0)

5) Merge branch 'Immediate-Mode-UI:master' into gdi_nuklear_native_window (Ohjurot)
(SHA: 1b028c6)

6) Changed windows include to lowercase (Ohjurot)
(SHA: 50277a1)

7) Added wWinMain comment (Ohjurot)
(SHA: adeb2a7)

8) rename null texture field to tex_null (ryuukk)
(SHA: ed3ff76)

9) Rename the null variable to tex_null (RobLoach)
(SHA: ec4acc7)

10) Rename additional .null variables (RobLoach)
(SHA: 54fd67b)

11) Rename more null variables to tex_null (RobLoach)
(SHA: ca49016)

12) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null (RobLoach)
(SHA: c55fd8c)

13) Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE (RobLoach)
(SHA: ce1c94d)

14) Merge pull request Immediate-Mode-UI#497 from Immediate-Mode-UI/apple-silicon

Fix Apple Silicon with incorrect NK_SITE_TYPE and NK_POINTER_TYPE (RobLoach)
(SHA: b959105)

15) Fix typo (dczheng)
(SHA: a74061a)

16) Merge pull request Immediate-Mode-UI#501 from dczheng/master

nuklear.h: fix minor typo (dumblob)
(SHA: 56000fa)

17) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null (RobLoach)
(SHA: e3d049e)

18) Merge pull request Immediate-Mode-UI#482 from Immediate-Mode-UI/tex_null

Rename `null` texture field to `tex_null` (RobLoach)
(SHA: 492f4d9)

19) cleanup xlib text drawing

fixes Immediate-Mode-UI#502 (riri)
(SHA: 6a429ec)

20) Merge pull request Immediate-Mode-UI#503 from riri/fix-xlib-text

xlib: Fix xlib text drawing background color (RobLoach)
(SHA: 0eb3361)

21) Merge pull request Immediate-Mode-UI#414 from Ohjurot/gdi_nuklear_native_window

Windows (GDI): Native-like nuklear windows (dumblob)
(SHA: 07bd7a0)

22) Merge remote-tracking branch 'upstream/master' (riri)
(SHA: 96eca2e)

23) demos: set style with defines

To avoid having to modify the demo code,
conditionnally include a predefined style (riri)
(SHA: fc5ce1c)

24) xlib backend: implemented arc commands (riri)
(SHA: d63f106)

25) Merge pull request Immediate-Mode-UI#505 from riri/xlib-arc

xlib backend: implemented arc commands (dumblob)
(SHA: 602ebcf)

26) added comment on ifdefs to use styles in demos (riri)
(SHA: 54cd692)

27) Merge pull request Immediate-Mode-UI#504 from riri/demo-includes

demos: set style with defines to ease esp. regression testing (dumblob)
(SHA: 835c655)

28) Fix nk_str_{append,insert}_str_utf8 always returning 0 (Francesco149)
(SHA: da5198c)

29) Merge pull request Immediate-Mode-UI#506 from Francesco149/nuklear-string-returns-zero-fix

Fix nk_str_{append,insert}_str_utf8 always returning 0 (dumblob)
(SHA: 3a0aafb)

30) Fixed UBSan trip in GLFW OpenGL3 demo backend
This resolves a false UBSan trip caused by treating the element offset
in `glDrawElements` as a pointer
This parameter is effectively an offset but is taken as a `void*`
By not storing the offset as a pointer, UBSan no longer tools the offset
to check for null pointer overflow (Th3T3chn0G1t)
(SHA: 637b5e1)

31) Merge pull request Immediate-Mode-UI#518 from Th3T3chn0G1t/master

demo/backend: Fixed UBSan trip in GLFW OpenGL3 (dumblob)
(SHA: 7ae6d7d)

32) gdi_native: Fix calling convention problem

The calling convention of a WNDPROC is specified as being 'CALLBACK'. (learn-more)
(SHA: b98732f)

33) Merge pull request Immediate-Mode-UI#520 from learn-more/gdi_cc

gdi_native: Fix calling convention problem (dumblob)
(SHA: 776893e)

34) Add link from the documentation to the code

Fixes Immediate-Mode-UI#515 (learn-more)
(SHA: 607e471)

35) Fix the problem that nk_font_bake_pack uses ttc font offset incorrectly (Immediate-Mode-UI#456) (dulingzhi)
(SHA: 1dad328)

36) Merge pull request Immediate-Mode-UI#525 from learn-more/add_link

Add link from the documentation to the code (RobLoach)
(SHA: ca227ac)

37) Update version for 4.10.5 (RobLoach)
(SHA: 743dd01)

38) Merge pull request Immediate-Mode-UI#527 from dulingzhi/fix/ttc-font-offset

Fix nk_font_bake_pack() using TTC font offset incorrectly (RobLoach)
(SHA: c512ac8)

4.10.1

Toggle 4.10.1's commit message
1) Added D3D12 backend and demo (Ohjurot)

(SHA: 703d73a)

2) Added some API dokumentation (Ohjurot)
(SHA: cb59055)

3) Merge pull request Immediate-Mode-UI#412 from Ohjurot/d3d12_backend

backend: add D3D12 (dumblob)
(SHA: 10ecc82)

4) Integrate file browser with glfw opengl2 demo (Immediate-Mode-UI#400) and restructure demo/ directory accordingly (crazyBaboon)
(SHA: f0dccae)

5) sdl_renderer: fix Metal rendering (Immediate-Mode-UI#426)

Addresses an issue where the Metal render driver (macOS) could not handle the clipping rectangle {-8192, -8192, 16384, 16384} and would simply draw nothing to the screen. The solution is to ensure the cliprect coordinates are not negative, which also doesn't break the other render drivers.

Co-authored-by: Kristian Bolino <[email protected]> (kbolino)
(SHA: cbfc8f8)

6) Fix high-DPI scaling in sdl_renderer

This commit resolves two issues with high-DPI display rendering:

1. The coordinates were not scaled properly, resulting in tiny output
   and misalignment of actual cursor position with apparent position;
   this is fixed by calling SDL_SetRenderScale with appropriate scaling
   factors determined by comparing the window size to the renderer's
   output size
2. The fonts were not oversampled, resulting in excessively blurry text;
    this is fixed by setting oversample_h and oversample_v on the
    font_config according to the scaling factors (kbolino)
(SHA: ec4aa99)

7) Fix C89 warnings and oversample at 3x scale (kbolino)
(SHA: 779c420)

8) Delete extra copy of stb_image.h (crazyBaboon)
(SHA: 24311a6)

9) Merge pull request Immediate-Mode-UI#430 from crazyBaboon/crazyBaboon-clean_up

cleanup: delete extra copy of stb_image.h (dumblob)
(SHA: acb8fa6)

10) Scale font height rather than oversampling (kbolino)
(SHA: 04eac1d)

11) Better Display file icons in the filebrowser

Icons are now displayed in a "Compact list view" rather than a "icon view" (crazyBaboon)
(SHA: ec14ad2)

12) Merge pull request Immediate-Mode-UI#432 from crazyBaboon/ImproveFileBrowser

demo: better display file icons in the filebrowser (dumblob)
(SHA: 9d8f86f)

13) glfw_gl3: Cast the void* to a struct nk_glfw* (Immediate-Mode-UI#434)

While it doesn't fix the issue @tree786isback in Immediate-Mode-UI#434, it is a good thing to cast the void*'s correctly. (RobLoach)
(SHA: ceee883)

14) Further improve file_browser.c

-Adds visible boundary to file icon box;
-Adds a 'cancel' button that closes the file dialog;
-Adds a 'save' button that should be used for the save() routine defined by the user; (crazyBaboon)
(SHA: a1df0c4)

15) Use local static variable instead of global (crazyBaboon)
(SHA: 8377f91)

16) Change dialog action from "Save" to "Open"

This is because there is yet no text box for the user to write the file name. (crazyBaboon)
(SHA: 8f2cced)

17) Merge pull request Immediate-Mode-UI#436 from crazyBaboon/ImproveFileBrowser

Further improve file_browser.c (RobLoach)
(SHA: 64c6f73)

18) file_browser.c - Display files and folders by alphabetical order (crazyBaboon)
(SHA: 0163faf)

19) Forgot to include <string.h> (crazyBaboon)
(SHA: e3cec3b)

20) Merge pull request Immediate-Mode-UI#442 from crazyBaboon/ImproveFileBrowser

file_browser.c - Display files and folders by alphabetical order (RobLoach)
(SHA: 9a24456)

21) Ignore case when sorting strings alphabetically (crazyBaboon)
(SHA: e5100bc)

22) Merge pull request Immediate-Mode-UI#445 from crazyBaboon/ImproveFileBrowser

demo: ignore case when sorting strings alphabetically in filebrowser (dumblob)
(SHA: e5c44b7)

23) file_browser.c - remove #include <string.h>

It is no longer necessary, since string comparison is now carried out by Nuklear API. (crazyBaboon)
(SHA: f58114e)

24) file_browser: Bring string.h to the top (RobLoach)
(SHA: c9d3a3f)

25) Merge pull request #1 from RobLoach/filebrowser-string

file_browser: Bring string.h to the top (crazyBaboon)
(SHA: 4f2738d)

26) Button behavior `NK_BUTTON_TRIGGER_ON_RELEASE`

This modifies the trigger behavior of buttons to only activate when the
mouse was also over the same button on the mouse button down event.

Side note:
I also modified my version of Nuklear I use to apply the same logic for
hover, because I use Nuklear for touch input devices where traditional
hover behavior tends to be misleading. I left this out for now because
I can imagine that this could be seen as wrong/faulty behavior by some. (tcdude)
(SHA: 068ae5f)

27) Merge pull request Immediate-Mode-UI#448 from tcdude/master

Button behavior `NK_BUTTON_TRIGGER_ON_RELEASE` (RobLoach)
(SHA: b00c8e2)

28) Merge pull request Immediate-Mode-UI#446 from crazyBaboon/ImproveFileBrowser

file_browser.c - remove #include <string.h> (RobLoach)
(SHA: b71eb8d)

29) Merge pull request Immediate-Mode-UI#427 from kbolino/fix-sdl-hidpi-rendering

Fix high-DPI scaling in sdl_renderer (RobLoach)
(SHA: a51d9ee)

30) Added the arc methods to the GDI binding (bmuessig)
(SHA: cacdf6b)

31) Implemented select all for GDI (bmuessig)
(SHA: 321badb)

32) Added the GDI arc drawing commands to the dispatch switch-case (bmuessig)
(SHA: e698bb1)

33) Added the wingdi header to the GDI binding (bmuessig)
(SHA: 628cc61)

34) Corrected the fill bugs in the GDI binding (bmuessig)
(SHA: dca0f6f)

35) Merge pull request Immediate-Mode-UI#459 from bmuessig/master

Added working filled and outlined arc drawing to GDI binding (RobLoach)
(SHA: 0a77211)

36) Fix regression introduced in Immediate-Mode-UI#448

This adds a new `nk_input_has_mouse_click_in_rect_button` function that
is being used only by buttons. This allows
`nk_input_has_mouse_click_in_rect` to act as its name suggests while
still allowing for the behavior introduced in Immediate-Mode-UI#448 (tcdude)
(SHA: a931a8d)

37) Rename function (tcdude)
(SHA: 5bb591b)

38) Merge pull request Immediate-Mode-UI#463 from tcdude/fix_regression

window movement: Fix regression introduced in Immediate-Mode-UI#448 (dumblob)
(SHA: 11d8acf)

39) x11: Free XVisualInfo after use

Fixes Immediate-Mode-UI#473 (RobLoach)
(SHA: 7597cc7)

40) Merge pull request Immediate-Mode-UI#474 from Immediate-Mode-UI/x11-xfree

x11 opengl: Free XVisualInfo after use (dumblob)
(SHA: 0bbb235)

41) Fix Shift   End in nk_edit (opsJson)
(SHA: 3b50092)

42) Fixed cursor position overflow (opsJson)
(SHA: d28d145)

43) Update nuklear_text_editor.c (opsJson)
(SHA: 9f0a601)

44) following the read me (opsJson)
(SHA: c7c3069)

45) Fix tabs (opsJson)
(SHA: df86105)

46) Update NK_MIN() call to save a line of code (RobLoach)
(SHA: e57ee58)

47) Merge pull request Immediate-Mode-UI#486 from Immediate-Mode-UI/shift-end

Fix Shift   End in nk_edit (RobLoach)
(SHA: 93a057b)

4.9.6

Toggle 4.9.6's commit message
1) Add example to use Nuklear with SDL2 SDL_Renderer and SDL_RenderGe…

…ometry() (1bsyl)

(SHA: 3445009)

2) Remove setting GL attributes (1bsyl)
(SHA: 3552e13)

3) Save and restore the cliprect (1bsyl)
(SHA: 6b5cfe5)

4) Set back clipping_enabled (1bsyl)
(SHA: fb698ba)

5) sdlrenderer: C89 support (RobLoach)
(SHA: eadb417)

6) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into br_example_sdl_rendergeometry (RobLoach)
(SHA: 1f562ec)

7) Support any format with 1, 2, or 4 bytes per pixel in sdl2surface_rawfb (ccawley2011)
(SHA: 54b14dc)

8) Restore a previously removed cast (ccawley2011)
(SHA: 20a26c8)

9) Merge pull request Immediate-Mode-UI#372 from ccawley2011/sdl-rawfb-pixelformat

sdl2surface_rawfb: Support any format with 1, 2, or 4 bytes per pixel (RobLoach)
(SHA: dfec9f0)

10) sdl_renderer: Update code (RobLoach)
(SHA: cd49908)

11) Merge pull request Immediate-Mode-UI#396 from Immediate-Mode-UI/br_example_sdl_rendergeometry

Backend: SDL2 Renderer (RobLoach)
(SHA: 9486833)

12) Favor switch over if-else chain in event handler. (lib-omar)
(SHA: 8f5ae21)

13) Favor switch over if-else chain in event handler. (lib-omar)
(SHA: 43b5e82)

14) Favor switch over if-else chain in event handler. (lib-omar)
(SHA: 811dbac)

15) Favor switch over if-else chain in event handler. (lib-omar)
(SHA: f6851ea)

16) Allow overriding the NK_INV_SQRT function (RobLoach)
(SHA: f60e502)

17) Update clib.json to 4.9.6 (RobLoach)
(SHA: e20240b)

18) Merge pull request Immediate-Mode-UI#403 from lib-omar/lib-omar-patch-1

SDL demos: Favor switch over if-else chain in event handler. (RobLoach)
(SHA: d13cc80)

19) Fix incorrect cast on SDL_RenderGeometryRaw()

Fixes Immediate-Mode-UI#405 (RobLoach)
(SHA: 6686ab1)

20) Merge pull request Immediate-Mode-UI#409 from Immediate-Mode-UI/sdl_renderer-fix-cast

Fix incorrect cast on SDL_RenderGeometryRaw() (RobLoach)
(SHA: 429eaf3)

21) Merge pull request Immediate-Mode-UI#406 from Immediate-Mode-UI/inv_sqrt

Allow overriding the NK_INV_SQRT function as planned. (dumblob)
(SHA: 3e83429)

4.9.5

Toggle 4.9.5's commit message
1) Revert "Fix layout bounds not accounting for padding" (RobLoach)

(SHA: f653884)

2) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into revert-156-fix-layout-bounds-padding (RobLoach)
(SHA: 878936f)

3) Merge pull request Immediate-Mode-UI#387 from Immediate-Mode-UI/revert-156-fix-layout-bounds-padding

Revert "Fix layout bounds not accounting for padding" (RobLoach)
(SHA: 3e91905)

4.9.4

Toggle 4.9.4's commit message
1) changelog: Use x.y.z for versioning, rather than x.yy.zz (RobLoach)

(SHA: cd0d7bd)

2) changelog: Reference Semantic Versioning directly (RobLoach)
(SHA: 0aa9a15)

3) Merge pull request Immediate-Mode-UI#384 from RobLoach/versions

changelog: Use x.y.z for versioning, rather than x.yy.zz (dumblob)
(SHA: 0fb7a29)

4) window: Fix hover state when window is minimized (Immediate-Mode-UI#284)

* Fix hovering check when window is minimized
* Align line
* window: Fix checking hovering when window is minimized
* changelog: Update version in clib.json

Fixes Immediate-Mode-UI#284 (YgorVasilenko)
(SHA: aa47577)

4.09.3

Toggle 4.09.3's commit message
1) Update to stb_rect_pack.h v1.01 and stb_truetype.h v1.26 (RobLoach)

(SHA: f27ac6e)

2) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into stb-updates (RobLoach)
(SHA: fb88f6c)

3) Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into stb-updates (RobLoach)
(SHA: 3e92a81)

4) docs: Rename nuklear.html to index.html (RobLoach)
(SHA: 8125fb6)

5) Merge pull request Immediate-Mode-UI#375 from RobLoach/stb-updates

fonts: Update stb_rect_pack and stb_truetype (dumblob)
(SHA: 024ee4c)

6) Merge pull request Immediate-Mode-UI#383 from RobLoach/doc

docs: Rename nuklear.html to index.html (dumblob)
(SHA: 56be88e)

7) Fix layout bounds not accounting for padding (Hejsil)
(SHA: da15e0f)

8) Merge pull request Immediate-Mode-UI#156 from Hejsil/fix-layout-bounds-padding

Fix layout bounds not accounting for padding (RobLoach)
(SHA: 741cf32)

4.09.1

Toggle 4.09.1's commit message
Version 4.09.1