Florian Rappl
7174118a3e
Merge pull request #1019 from DYH1319/feat/submit_new_event_for_ipc
...
feat: submit new events for ipcMain
2026-02-03 00:32:04 +01:00
DYH1319
092789a5ec
feat: Add overloaded methods in IpcMain that supports listeners with a return type of Task<object>.
2026-01-25 00:47:35 +08:00
DYH1319
bff3fffcbd
feat: Add the Handle, HandleOnce, and RemoveHandler events to IpcMain
2026-01-24 23:18:16 +08:00
Florian Rappl
d85a64f515
Merge pull request #1014 from softworkz/submit_new_event
...
BrowserWindow: Add OnBoundsChanged event
2026-01-21 08:19:16 +01:00
softworkz
17f761d184
Fix FormatException
2026-01-21 06:48:28 +01:00
softworkz
6c95dfd476
BrowserWindow: Add OnBoundsChanged event
...
While not being an original Electron event, this one includes the bounds values,
saving the additional roundtrip for calling GetBoundsAsync
2026-01-21 06:47:28 +01:00
Florian Rappl
682a1c38ed
Optional
2025-12-23 21:10:57 +01:00
Florian Rappl
809b0a6be7
Added missing methods
2025-12-23 00:38:37 +01:00
Florian Rappl
ae3f755648
Fixed center handling
2025-12-22 12:32:52 +01:00
softworkz
33da428c45
Fix build after PR merge
...
Re-adding .net6 caused the collection expression to fail
2025-12-12 01:39:02 +01:00
David Roth
218b99808b
Add dynamic tray menu update functionality
...
Introduced a `SetMenuItems` method in `Tray.cs` to enable updating the tray's context menu dynamically. This method clears existing menu items, adds new ones, and registers click handlers. Added XML documentation for the method.
2025-12-11 18:04:31 +01:00
softworkz
c97f914e7a
Introduce TimeSpan extensions
2025-12-07 11:20:43 +01:00
softworkz
9bb2adca78
Use 3s timeout for GetUserAgentAsync and updat test
2025-12-06 20:53:15 +01:00
softworkz
7c8eeef225
GetPrintersAsync: Increase timeout
2025-12-06 20:04:23 +01:00
agracio
4ee11aaeae
removing properties
2025-12-06 11:58:30 +00:00
agracio
7eaf84a021
attempting to fix some tests on CI
2025-12-04 19:07:26 +00:00
agracio
90f5f5dbe2
attempting to fix some tests on CI
2025-12-04 18:38:12 +00:00
agracio
dae521180f
adding WebContents APIs for Zoom, Audio and DevTools
2025-12-04 17:52:01 +00:00
softworkz
3821ca60ea
getPrinters: Increase timeout
2025-11-22 02:27:44 +01:00
softworkz
59887cce5f
Guard deserialization error
2025-11-22 02:24:32 +01:00
softworkz
77834d0f2e
Drop workaround via DescriptinoAttribute: No longer needed
2025-11-22 02:24:32 +01:00
softworkz
6761119241
Update all model classes to Electron API 39.2
2025-11-22 02:24:32 +01:00
softworkz
1815951092
BrowserWindowOptions; Fix default for FullScreenable
...
Electron's default is true
2025-11-20 02:56:00 +01:00
Florian Rappl
ef41329a91
Merge pull request #938 from softworkz/submit_ipc_types
...
Fix API break: public API must not expose JsonElement objects
2025-11-17 16:27:56 +01:00
softworkz
55c035323b
Use non-generic TaskCompletionSource where applicable
2025-11-17 13:58:47 +01:00
softworkz
2e5c6200a6
ShowItemInFolderAsync: Fix endless hang
2025-11-17 13:58:47 +01:00
softworkz
be518a7a10
IpcMain: Properly handle Ipc message params (always 2-elem array)
2025-11-17 13:57:04 +01:00
softworkz
8ff875435b
Fix API break: public API must not expose JsonElement objects
...
This changes deserialization to the way how it was with
Json.Net: Only .net primitive types are exposed publicly
2025-11-17 13:17:01 +01:00
softworkz
0580942a59
ElectronNET API: Add platform support attributes
2025-11-16 02:53:28 +01:00
softworkz
8e7892ebd4
Fix whitespace formatting
2025-11-15 13:52:19 +01:00
softworkz
385dcfbf52
ApiBase: Code style and whitespace
2025-11-15 10:21:18 +01:00
softworkz
515430ff96
ApiBase: Rename PropertyGet to more generic Invocator
2025-11-15 10:21:18 +01:00
Florian Rappl
10bf461b51
Prepare for Blazor support
2025-11-14 17:38:55 +01:00
agracio
6fa65aa149
adding block statements to if
2025-11-12 20:20:13 +00:00
agracio
546668a2c0
refactoring events API, replacing task code with calls to ApiBase.
2025-11-12 10:43:32 +00:00
Denny09310
9a0a494bc5
fix: missing "Once" changes, rollback to "On" on Notification
2025-11-10 11:27:32 +01:00
Denny09310
adc1e81743
fix: simplified add/remove of socket listener through usage of "Once"
2025-11-10 10:40:51 +01:00
Denny09310
d8062aae00
fix: scale factor can be a double
2025-11-10 10:40:19 +01:00
Denny09310
0522bc425b
fix: using correct deserialization type instead JsonElement for everyting except mixed arrays
2025-11-09 15:46:33 +01:00
Denny09310
168eceac8c
fix: removed unused JsonPropertyName as ElectronJson.Options as by default camel case
2025-11-09 15:17:42 +01:00
Denny09310
4736bc640c
fix: added usings, simplified imports, using JsonElement.Deserialize directly instead of JsonSerializer.Deserialize(JsonElement), removed some unused attributes
2025-11-09 15:15:52 +01:00
Denny09310
dfe04f14d0
fix: menuItems splattering due to "params" keyword
2025-11-09 14:40:55 +01:00
Denny09310
9d6861ffcd
fix: including internal properties in json
2025-11-09 14:40:55 +01:00
Denny09310
d8b0d0443d
fix: removed useless attribute
2025-11-09 14:40:55 +01:00
Denny09310
71ced8db56
refactor: Migrated from Newtonsoft.Json to System.Text.Json, missing one test passing
2025-11-09 14:40:51 +01:00
softworkz
60a278c41f
Cookie: Fix formatting
2025-11-09 12:47:56 +01:00
softworkz
707c0f5a7b
BrowserView.cs: Fix cast exception in Bounds property getter
2025-11-09 12:45:01 +01:00
softworkz
bb59bc8365
App.cs: Fix UserAgentFallbackAsync
2025-11-09 12:45:01 +01:00
softworkz
bc0f601dd8
ProcessMetric: Fix deserialization error for CreationTime
2025-11-09 12:45:01 +01:00
softworkz
95fd7aa665
ApiBase: fix event names for App
2025-11-09 12:45:01 +01:00