Commit graph

50 commits

Author SHA1 Message Date
Mike Yeager
27d2d03387 Removed all references to NET7_0_OR_GREATER. Changed target frameworks to 8/9 only. 2025-01-17 13:26:29 -07:00
Mike Yeager
1baff86235 Moved registering window calls for Windows and Mac from constructor to WaitForClose(). Throw exceptin on invalid settings used with Chromeless. 2024-12-05 10:31:39 -07:00
Mike Yeager
55c9bd56ee Fix issue calling .SetMinWidth .SetMinHeight (and max) 2024-10-24 09:34:53 -06:00
Mike Yeager
0a09bbdc0b Added init paramters to disable toast notifications in Windows and to set a custom registration id to override the window title on Windows. Added Async calls for file and folder diologs. 2024-10-17 13:46:43 -06:00
Mike Yeager
09ec40a00b Changed strings passed on initialization to UTF8. Fixes windows issue. 2024-10-10 13:03:37 -06:00
Mike Yeager
0d51aa7e15 Changed NET6 marshalling to Ansi instead of Auto. Reverted initialization of collection to old syntax for compatibility with NET6. 2024-09-20 16:23:01 -06:00
Mike Yeager
8ef26a1ecb Removed all support for passing UTF16 strings on Windows. Standardized on UTF8 on all platforms. 2024-08-30 11:38:25 -06:00
Mike Yeager
a5d947de64 Interim checkin. Needs Linux testing. 2024-06-14 14:14:01 -06:00
Mike Yeager
28e52a75df Changes for transparent window setting. 2024-05-30 09:04:45 -06:00
Andrew Vasenev
e56d6d669b Transparent mode for native window 2024-05-08 21:10:53 +03:00
DKOJA
713622d1ec Merge branch 'master' into feature/merge-with-upstream 2024-02-27 09:43:37 +01:00
DKOJA
cab92cfb37 Format code to C# 12 conventions 2024-02-23 11:49:54 +01:00
Mike Yeager
b3ba3db47a Added IgnoreCertificateErrorsEnabled. Tested on Windows. 2024-01-11 11:29:18 -06:00
Philipp Bauer
74b94598f0 Change MoveTo Behavior for macOS Sonoma 2023-10-26 10:27:18 -05:00
Mike Yeager
d410cefaff initial checkin 2023-10-19 13:20:07 -06:00
Mike Yeager
599d3a4e27 Fix for getting/setting UserAgent. Added If IsWindowsPlatform. 2023-10-19 08:54:03 -06:00
Mike Yeager
24ad3d4f5a Fixed new calls for browser startup parameters. 2023-09-14 14:41:57 -06:00
Philipp Bauer
9bff620477 Add async version of SendWebMessage that does not block the UI thread 2023-09-14 12:40:08 -05:00
Philipp Bauer
dfa6760403 Adds common webview default options 2023-09-14 12:24:07 -05:00
Mike Yeager
d3a8346feb Re-added System.Drawing.Net 2023-08-24 12:31:31 -06:00
Mike Yeager
b127665059 Updates for MinSize and MaxSize 2023-08-24 12:27:52 -06:00
Laura Sofia Heimann
1262ac4b13 Added annotations for NetDelegates 2023-07-07 23:02:00 +02:00
Laura Sofia Heimann
65f8459c7c Annotations.
Annotated most things to enhance code readability and maintainability.
2023-07-07 22:44:17 +02:00
Philipp Bauer
0eea628091
Merge pull request #132 from tryphotino/debug-dialogs
Debug dialogs
2023-03-16 10:09:19 -05:00
Brett V. Forsgren
2a1d68ad1b add net7.0 TFM and allow for .NET 7 AOT
The method `Marshal.GetHINSTANCE()` is [not supported](https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#api-incompatibility) in AOT scenarios, but the method `NativeLibrary.GetMainProgramHandle()` was added in [.NET 7](https://github.com/dotnet/runtime/issues/63714#issuecomment-1011675863) and allows for this to work.
2023-03-08 15:30:23 -07:00
Raxdiam
1ba1045800 Import and implement dialog methods
- Added enums used by ShowMessage
- Removed PhotinoWindow.OpenAlertWindow
- Removed original Photino_ShowMessage import
2023-02-22 14:02:45 -05:00
Philipp Bauer
8248338651 Implement ClearBrowserAutoFill as Windows only solution
See: https://github.com/tryphotino/photino.NET/issues/116
2023-01-21 17:20:33 -06:00
Philipp Bauer
ad8d6e5171 Cleanup and formatting 2022-09-14 12:39:23 -05:00
Mike Yeager
d98e091519
Merge pull request #75 from PlayOneMoreGame/fixed_version
Fixed version WebView2
2021-12-02 09:15:28 -07:00
Jared Chavez
1529a9dca1
support WebView2 Runtime Fixed_Version deployment 2021-10-26 18:29:38 -07:00
Raxdiam
133aa28251 Merge remote-tracking branch 'origin/debug-events-minmax' into debug-events 2021-10-15 09:52:55 -04:00
Raxdiam
ecb23c47de Merge remote-tracking branch 'origin/debug-events-focus' into debug-events 2021-10-15 09:50:50 -04:00
Mike Yeager
0e17e1f26b Added comment to SendNotification() 2021-10-14 11:11:17 -06:00
Mike Yeager
48e4051c69
Merge branch 'debug' into master 2021-10-14 10:52:37 -06:00
Mike Yeager
0cad725476 Fixed error passing string startup params in different OSs. 2021-09-23 11:21:33 -06:00
Raxdiam
44ee6fa1d5 Update PhotinoWindow.NET.cs 2021-08-28 15:17:26 -04:00
Raxdiam
221affffcb Added definitions for maximize/restore/minimize events 2021-08-28 14:33:49 -04:00
Raxdiam
afddf5941d Focus in/out events 2021-08-26 17:59:12 -04:00
Vasco Sousa
aaa520656d Native notifications integration 2021-08-20 11:41:52 +01:00
Mike Yeager
4040591ee5 Added overload for SetSize(width, height) 2021-08-16 09:12:56 -06:00
Mike Yeager
c3955b4493 On macOS, Register() is now called only once. Quits after all windows are closed, not main window is closed. 2021-08-12 17:04:10 -06:00
Mike Yeager
777c00a517 Modified comments. Changed TopMost to Topmost. 2021-08-02 12:38:07 -06:00
Mike Yeager
0593e716d5 Tweaked comment. 2021-07-28 08:46:43 -06:00
Mike Yeager
384b7d5c33 Worked on kiosk mode. 2021-07-23 16:01:21 -06:00
Mike Yeager
a49d49daef Tweaks 2021-07-21 15:28:03 -06:00
Mike Yeager
45428d5c92 Fixed calls to SetMinimized/SetMaximixed. 2021-07-21 14:14:34 -06:00
Mike Yeager
b156be1c15 Fix resizable setter bug 2021-07-02 17:22:28 -06:00
Mike Yeager
e862815308 Linux is mostly working 2021-06-30 13:55:40 -06:00
Mike Yeager
18e0783009 Changed parameters to ref. 2021-06-30 12:14:39 -06:00
Mike Yeager
d566f2b0d0 Updated code for V2 2021-06-25 13:54:01 -06:00