Skip to content

Merge the recent changes from the Ninjam repo#6

Merged
zeppelinux merged 1166 commits intozeppelinux:masterfrom
justinfrankel:main
Feb 9, 2026
Merged

Merge the recent changes from the Ninjam repo#6
zeppelinux merged 1166 commits intozeppelinux:masterfrom
justinfrankel:main

Conversation

@zeppelinux
Copy link
Copy Markdown
Owner

No description provided.

Cockos Inc and others added 30 commits January 31, 2024 13:47
…s (thanks Giorgos Vougioukas <gioerr@gmail.com>) -- from 790975af
…a prior to initial texture -- from 1cb6a0c7
…ayer (newer macOS SDKs and calling EnableMetal after draw) -- from 0f9441f9
previously we were adding a new ape tag after the end of the existing ape tag header -- from 2b528298
On newer toolchains that by default set `-Wl,-z,now`, such as Gentoo's
23.0 toolchain, setting PRELOAD_GDK causes swell's dlopen() to fail with
an error like:

    Error loading '/opt/REAPER/libSwell.so': /opt/REAPER/libSwell.so: undefined symbol: gdk_x11_window_get_xid

This is because -z,now, according to the man page, "When generating an
executable or shared library, mark it to tell the dynamic linker to
resolve all symbols when the program is started, or when the shared
library is loaded by dlopen, instead of deferring function call
resolution to the point when the function is first called." This is
basically the opposite of what swell's preloading feature wants.

This can be overridden by setting -z,lazy, which according to the man
page, "When generating an executable or shared library, mark it to tell
the dynamic linker to defer function call resolution to the point when
the function is called (lazy binding), rather than at load time."

So pass -Wl,-z,lazy in the preloading case, so that it works no matter
what the toolchain defaults are.
swell-linux: ensure LD lazily binds symbols
macOS buggy auto-resize of programmatically-resized windows when
moving from monitor to monitor -- from b1f6dd84
…ently requiring a ton of ShowCursor(TRUE) at mouseup -- from 67296cfe
Cockos Inc and others added 29 commits May 9, 2025 10:52
… used but alpha passed in is 255 -- from d00096e5
…HE for modules that may get unloaded -- from 0b03c7f6
…ndow() is called prior to initial draw

seems on macOS textColor called before first paint will return a stale value, then we would latch to that via setTextColor, so instead defer this change to first drawing. -- from 207f132c
…but not file browsing/etc -- from 5e45cc4c
…controls to the left manually this way -- from 2b1968b2
…growing to the left in the case of dx=-1 etc -- from 1a92c0db
@zeppelinux zeppelinux merged commit 350300c into zeppelinux:master Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants