Tobias Hunger
d0b58760d3
chore: A few clippy fixes
...
Nothing systeamatic, just a bunch of fixes I stumbled over
during unrelated work.
No behavior change is intended in here...
2025-05-09 13:25:38 +02:00
Olivier Goffart
210f0bd045
Revert "fix(node): prevent 100% CPU usage on Wayland by enforcing minimum eve…"
...
This reverts commit 417eaeb38a
.
2025-02-19 13:48:10 +01:00
Bedis Nbiba
417eaeb38a
fix(node): prevent 100% CPU usage on Wayland by enforcing minimum event timeout ( #7550 )
2025-02-06 17:00:50 +01:00
Simon Hausmann
1888e58735
Add API to set the XDG app id
...
ChangeLog: Added function to set the XDG app id on Wayland/X11. This needs to be added with respective function names in the language sections.
Fixes #1332
2024-11-22 11:24:06 +01:00
FloVanGH
ccf5f04087
node: added initTranslations function ( #6504 )
2024-10-10 16:37:33 +02:00
Simon Hausmann
51a241edd6
Node.js: If a JS callback throws an exception, report the exception t… ( #6416 )
...
As a drive-by, this introduces a macro that allows for explicit logging to console.error (which goes to stderr). This is something we should gradually start using, as it allows for capturing on the Node.js side (by the user or our tests).
2024-10-01 13:57:50 +02:00
Simon Hausmann
fdec55cd47
Node.js: Fix tense in error messages produced when exceptions are throw
...
At this point the exception _was_ thrown.
2024-10-01 13:28:48 +02:00
FloVanGH
4b880a7b49
node: less unwraps ( #6388 )
...
* Update api/node/rust/interpreter/value.rs
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
---------
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-10-01 08:47:53 +00:00
FloVanGH
25ae55b5dd
Improve source structure in the node api ( #6164 )
...
* Update api/node/typescript/models.ts
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
* Code review feedback
---------
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-09-30 08:49:35 +00:00