Niklas Mischkulnig

Results 520 comments of Niklas Mischkulnig

How is the progress? Did you implement all libui table features? --- Regarding this todo: https://github.com/parro-it/libui-napi/blob/e3848cf61e1dd332ee9ce3eb0765a101c89877c2/src/image.c#L8-L11 I guess the only way is reference counting when using an image in a...

That's true. The images are only used in the `modelCellValue` callback, so when the JS object gets garbage collected, the image can be deleted (no reference is stored inside native...

> I'm not sure whether creating a new uiImage each time you extract data is a good idea, but eh. What do you mean by extracting data? There is a...

> AFAIK that string should be freed immediately, but if I do it there, the program SEGFAULT. Doesn't segfault for me, but according to ui.h: > uiTableValueString() returns the string...

An example: I want to package an app on macOS for all three platforms. For that, electron-builder needs the respective binaries (this is about platform/architecture, not the node version). The...

> they're the ones downloaded to avoid compilation. Does electron-builder needs some different naming scheme for them? No, it't just that electron-builder needs to download a binary for Windows if...

> If it's not a problem about the name of the packages, so what exactly? Nothing on our side prevents electron-builder to download whatever platform of the binaries it want,...

> Maybe electron-builder does prefer another site to host the binaries? No, that is fine as it is. There just has to be a way (by using `process.env.npm_config_platform` if it's...

> I'd never have said we can did it at such pace... we should open a start-up and conquer the world 😆 😆 > But I doubt there's something in...

> I think libui.Ui.[dialogs] was libui.UiDialogs, as it is now You're right. > I think to avoid to implement quit and main method: they cause node asynchronous functions to stop...