-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API changes tracking issue #28
Comments
🎉 we almost complete everything in two weeks I'd never have said we can did it at such pace... we should open a start-up and conquer the world 😆 |
Honestly I don't see how they can be useful in a GC language... |
Can we put that method on both places, like we did for enums? |
😆
👍
👍 |
I think to avoid to implement quit and main method: they cause node asynchronous functions to stop working |
I think libui.Ui.[dialogs] was libui.UiDialogs, as it is now |
You're right.
So the only way to quit an app is to call |
Yes, it internally calls quit(). Calling quit() after startLoop does not stop the app, because there is a libuv handler created just for the purpose of keeping the node event loop running... |
They were also never documented, so it's fine. |
Could the eventloop start/stop promise behaviour cause any difference? |
Yes, in the previous version, calling two startLoop sequentially, or two stopLoop sequentially, or stopLoop before startLoop is completed, doesn't throw an error. But what really happened on such pattern greatly depends on the machine speed, current load etc. Probably a segfault or a thread deadlock or other weird things. In the correct usage pattern, the new implementation should behave like the previous version, and the user is not required to await the promise, if he don't plan to start a loop immediately after the stop promises is settled (or viceversa) So, I don't know if this could be considered a breaking change. It's basically a breaking change of behaviour in case of an error condition... I guess this could be fine |
libui.Ui.onShouldQuit
libui.onShouldQuit
UiSlider::constructor()
=constructor(0, 100)
the free methodsmissing (tolerable?!)the atomic bool in Windows event-loopMissing
DialogsFontmain
/quit
uiTimerdone (does setTimeout/Interval need patching? NO)Otherwise, proton-native seems to work.
The text was updated successfully, but these errors were encountered: