batiati / iupforzig Goto Github PK
View Code? Open in Web Editor NEWIUP (Portable User Interface Toolkit) bindings for the Zig language.
License: The Unlicense
IUP (Portable User Interface Toolkit) bindings for the Zig language.
License: The Unlicense
Running on Linux (Ubuntu 21.04 kernel 5.11.0-18-generic) in debug
or release-safe
mode crashes at malloc_consolidate()
.
Running in release-fast
and release-small
works fine.
How to reproduce:
malloc_consolidate(): unaligned fastbin chunk detected
The following command terminated unexpectedly:
cd /home/batiati/IUPforZig/IUPforZig && /home/batiati/IUPforZig/IUPforZig/zig-out/bin/example
error: the following build command failed with exit code 1:
/home/batiati/IUPforZig/IUPforZig/zig-cache/o/6cece1366aaf0a2f9f1ae0f99faff783/build /snap/zig/3678/zig /home/batiati/IUPforZig/IUPforZig /home/batiati/IUPforZig/IUPforZig/zig-cache /home/batiati/.cache/zig run
malloc_consolidate(): invalid chunk size
The following command terminated unexpectedly:
cd /home/batiati/IUPforZig/IUPforZig && /home/batiati/IUPforZig/IUPforZig/zig-out/bin/example
error: the following build command failed with exit code 1:
/home/batiati/IUPforZig/IUPforZig/zig-cache/o/6cece1366aaf0a2f9f1ae0f99faff783/build /snap/zig/3678/zig /home/batiati/IUPforZig/IUPforZig /home/batiati/IUPforZig/IUPforZig/zig-cache /home/batiati/.cache/zig run
๐ looks like https://webserver2.tecgraf.puc-rio.br/iup/
url is not accessible atm
Currently, we have some issues building:
exe.subsystem = .Windows;
and use wWinMain entrypoint did not work with exe.linkLibC
linkLibC
?zig 0.9.0-dev.315+1534cd2f8
compiles but fails running.Figure out the better way to represent those metadata complexities:
Example:
Proposals:
.setXYZ(child, value)
; Maybe not ergonomics to declare in fluent API.Examples:
Tree.setValue
expects an i32
representing the index, or a well-known alias, like "NEXT", "PREVIOUS", "ROOT", etcProposals
union
with each possible value, for examplepub const Color = union(enum) {
BgColor,
FgColor,
Rgb: Rgb,
};
pub const Selection = union(enum) {
Next,
Previous,
Root,
Index: i32
};
anytype
in set
; Each case may have a get
behavior.setColorRgb
and setColorStr`Example:
setImage
and many others attribute should accept an Image
or a string with the HandleNameProposals
setImage(image.getHandleName())
anytype
in set
; Each case may have a get
behavior.setImage
and setImageHandleName`A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.