717 Commits

Author SHA1 Message Date
Tiago Braga Fernandes e730e243fa Increase version 2024-10-17 12:40:22 +01:00
Tiago Braga Fernandes 60cabf51f5 Enable by default 2024-10-17 12:07:59 +01:00
Tiago Braga Fernandes 70cddbaead PR improvements 2024-10-17 12:01:37 +01:00
Tiago Braga Fernandes 8570f2c1cb Test ADO 2024-10-16 17:25:18 +01:00
Tiago Braga Fernandes 72fd221010 Test ADO 2024-10-16 17:10:48 +01:00
Tiago Braga Fernandes a3c779c12b Test ADO 2024-10-16 17:02:02 +01:00
Tiago Braga Fernandes 14135ce2f0 Test ADO 2024-10-16 16:58:12 +01:00
Tiago Braga Fernandes 40f086e82d Test ADO 2024-10-16 16:28:19 +01:00
Tiago Braga Fernandes 55a3e042d2 Test ADO 2024-10-16 16:05:34 +01:00
Tiago Braga Fernandes 33c9376af7 testing pipelines 2024-10-16 15:55:44 +01:00
Tiago Braga Fernandes 2afe854d97 testing pipelines 2024-10-16 15:46:59 +01:00
Tiago Braga Fernandes 03e3ddd210 testing pipelines 2024-10-16 15:39:34 +01:00
Tiago Braga Fernandes 358762c3b1 Increase stack size for cef browser 2024-10-16 14:21:37 +01:00
Berkan Sasmaz 00cea3eb2b Update LINUX.md (#166) 2024-09-26 13:56:06 +01:00
Miguel Alves a0f2015cf3 Single targeting .NET 8 in CefGlue (#159)
* Single targetting .NET 8 in CefGlue

* Update CefGlue.CopyLocal.props

* Increased timeout
2024-09-03 15:47:20 +01:00
João Neves 492c868985 Raise version (#154)
* Add previous attempts back

* Update README.md

* Minor fixes
- Removed unnecessary stuff on CefGlue.Common.targets
- Removed removal of important Avalonia stuff on the CefGlue.Demo.Avalonia project.
- Added an exception for the case of libcef not found on CefRuntime.cs (still crashes on Linux).

* load libcef before version check

* Update README.md

* Update README.md

* Linux support

* Missing check _needDispose.

* Fix DevTools in Linux.

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Apply suggestions from code review

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Create LINUX.md

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update README.md

* Update CefGlue.CopyLocal.props

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update BrowserCefApp.cs

* Update AvaloniaControl.cs

* Put properties after the constructor

* Apply suggestions from code review

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

* Simplified platform detection logic

* Update CefRuntime.cs

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Fix build and update packages

* Raise version

---------

Co-authored-by: haltroy <thehaltroy@gmail.com>
Co-authored-by: Shaojun Li <i@shaojun.li>
2024-07-31 09:29:02 +01:00
haltroy 08685851d5 Linux support (Final) (#153)
* Add previous attempts back

* Update README.md

* Minor fixes
- Removed unnecessary stuff on CefGlue.Common.targets
- Removed removal of important Avalonia stuff on the CefGlue.Demo.Avalonia project.
- Added an exception for the case of libcef not found on CefRuntime.cs (still crashes on Linux).

* load libcef before version check

* Update README.md

* Update README.md

* Linux support

* Missing check _needDispose.

* Fix DevTools in Linux.

* Update README.md

* Update README.md

* Update README.md

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/AvaloniaControl.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Apply suggestions from code review

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Create LINUX.md

* Update README.md

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update README.md

* Update README.md

* Update CefGlue.CopyLocal.props

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update BrowserCefApp.cs

* Update AvaloniaControl.cs

* Put properties after the constructor

* Apply suggestions from code review

* Update CefGlue.Avalonia/Platform/Linux/XWindow.cs

* Simplified platform detection logic

* Update CefRuntime.cs

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update CefGlue/CefRuntime.cs

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Apply suggestions from code review

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Update BrowserCefApp.cs

---------

Co-authored-by: Shaojun Li <i@shaojun.li>
Co-authored-by: João Neves <joaomiguelneves@gmail.com>
Co-authored-by: João Neves <joao.neves@outsystems.com>
2024-07-31 09:16:46 +01:00
Miguel Alves 1a99057788 Fixed CefGlue build (#150)
* Fixed CefGlue build

* Fixed build

* CR

* Update CefGlue.WPF.csproj

* CR

* Added Windows 10 and 11 support
2024-07-16 18:02:28 +01:00
Miguel Alves 363deda1df Fixed target framework when compiling WPF solution (#147)
* Fixed target framework when compiling WPF solution

* Bump version

* Update CefGlue.CopyLocal.props

* CR

* Bump version

* CR

---------

Co-authored-by: Francisco Gracias <francisco.gracias@outsystems.com>
2024-07-01 14:31:05 +01:00
Viviana ef30dfb683 RDEV-6642 Make CefGlue SelfContained (#149)
* Make CefGlue SelfContained

* Update Directory.Build.props
2024-06-28 16:58:53 +01:00
walterlv 200e9087ab Rename all Avalonia xaml to axaml (#146)
* Rename all Avalonia xaml to axaml so that they can be auto handled by the source generator

* Remove useless resource embeding.
2024-06-28 11:27:47 +01:00
Francisco Gracias 583a2b9a5f Added app manifest (#143) 2024-06-24 14:02:15 +01:00
João Neves fb8e5e6eff Avalonia 11 upgrade (#82)
* Avalonia 11 upgrade

* Add missing styles

* Fix tests

* Raise version

* Upgrade avalonia to GA

* Update Directory.Packages.props

* Osr scale fix (#123)

* Updated OSR to use device scaling and added Viewbox container for Image host control.

* Update AvaloniaOffScreenControlHost.cs

Needs to use _control not e.Source, not sure why but must be something when packaged into the WebView

* Revised DeviceScaleFactor initialization.

* Accidentally commited key event changes...

* Apply suggestions from code review

* Fixes for AlphaFormat and DeviceScaleFactor setup

* Apply suggestions from code review

---------

Co-authored-by: João Neves <joaomiguelneves@gmail.com>

* Use Avalonia 11.0.9

* Organized imports for changed files

* Add popup handling example

---------

Co-authored-by: tkefauver <tkefauver@gmail.com>
Co-authored-by: João Mano <joao.mano@outsystems.com>
2024-06-21 11:48:27 +01:00
Tiago Braga 903a194ca4 Increase version for net 8 (#138) 2024-05-16 09:58:38 +01:00
Miguel Alves 7e709485da Support .NET 8 and multitargeting (#136)
* RDEV-6628 Support .NET 8

* Update CefGlue.Common.csproj

* Update Xilium.CefGlue.sln

* Bump to .NET 8

* Bump version

* Update CefGlue.Common.props

* Refactor

* Revert "Refactor"

This reverts commit c5cd318b77.

* CR

* CR

* CR
2024-05-15 09:56:19 +01:00
João Mano 3a03c28516 Ensure base.OnBeforeDevToolsPopup is always called and remove unnecessary methods from CommonBrowserAdapter (#127)
* Ensure base.OnBeforeDevToolsPopup is always called;
Remove unnecessary methods from CommonBrowserAdapter

* Update version
120.6099.2
2024-01-05 11:07:34 +00:00
João Mano ffa89aaca6 120.1.8+ge6b45b0+chromium-120.0.6099.109 (#126)
* Updating .h files

* Update cef_version.h

* Generated files

* Update versions

* Implement missing stuff

* CefBrowserHost missing implementations

* More missing implementations

* Consistency change

* Upgrade to version 120.1.8+ge6b45b0+chromium-120.0.6099.109
2023-12-20 11:21:25 +00:00
João Neves 632825a796 Move packages props (#120) 2023-11-28 15:38:08 +00:00
João Neves 4b3b227476 Update CefGlue.Common.csproj (#115)
* Update CefGlue.Common.csproj

* Update Directory.Packages.props

* Raise version
2023-10-11 10:26:28 +01:00
João Neves bff45173b0 Remove deprecated nuget sources (#114) 2023-10-10 16:27:53 +01:00
José Santos 63017186f5 117.2.4+g5053a95+chromium-117.0.5938.150 (#112)
* Update to 107.0.3+ge92a530+chromium-107.0.5304.18

(cherry picked from commit afb1e8ded3)

* Make it possible to opt out of GC on shutdown (see !15)

(cherry picked from commit bd51d4338e)

* Update to 107.1.12+g65b79a6+chromium-107.0.5304.122

This is actually no-op changes, because CefGlue doesn't support
cef views, still hashes should be updated.

(cherry picked from commit 06791028fa)

* Update to 108.4.13+ga98cd4c+chromium-108.0.5359.125

(cherry picked from commit da3a51f1f2)

* fixing merge

* Update to 109.1.18+gf1c41e4+chromium-109.0.5414.120

(cherry picked from commit 778d110f71)

* Update to 110.0.29+gfde72b5+chromium-110.0.5481.104

(cherry picked from commit f9fcdfb19a)

* Apply outsystems improvements

(cherry picked from commit f85fc86beb)

* Non-functional changes, fix formatting.

(cherry picked from commit cbe19f256e)

* Revert some behavioral changes from Outsystem improvements.

- `CefClient::OnProcessMessageReceived` and
`CefRenderProcessHandler::OnProcessMessageReceived` methods
requires to call `Dispose()` on message by client manually.

(cherry picked from commit b22ae17325)

* Update to 111.2.7+gebf5d6a+chromium-111.0.5563.148

(cherry picked from commit 4c1c12d858)

* Update to 112.3.0+gb09c4ca+chromium-112.0.5615.165

(cherry picked from commit 8582ac64ce)

* Update to 116.0.27+gd8c85ac+chromium-116.0.5845.190

(cherry picked from commit f3e974dfacd454d4558d79f00690a0ee56a86ca5)

* Removing EnableHighDpiSupport

* changing cef.redist version

* generating files

* Adding cef.redist.win

* Adding cef.redist.win

* Fixing packaging

* pull request changes:
- extra lines removal
- extra files removal
- cherry-pick of PromiseHolder.cs changes
- cherry-pick of RDOIBT-1838 - CefGlue: Duplicate key reference #109

* bumping cefglue version

* revert ObjectBinging changes

* reverting internal feed

* changing .h files

* revert copy target change

* reverting platform default and nuget sources

* - reverting platform default and nuget sources
- bumping version

* CEF 117.2.4+g5053a95+chromium-117.0.5938.150 upgrade

* changing Nuget package version

---------

Co-authored-by: Dmitry Azaraev <dmitry.azaraev@gmail.com>
Co-authored-by: Luiz Santos <luiz.santos@outsystems.com>
Co-authored-by: Mike Russin <michael.t.russin@gmail.com>
2023-10-10 15:44:58 +01:00
Filipe Campos 393f0fb4f2 RDOIBT-1838 - CefGlue: Duplicate key reference (#109)
Revert replacement of lock by Interlocked
2023-09-22 15:01:46 +01:00
Igor Ruivo 5a52f852c5 Fix CEF resources being occasionally deleted during the IncrementalClean target (#105) 2023-08-17 16:56:16 +01:00
Miguel Alves e1444edf88 Fixed CefGlue packaging (#101)
* Update CefGlue.BrowserProcess.csproj

* Tentative fix

* Bump CefGlue version
2023-07-27 11:28:40 +01:00
Miguel Alves 306234975c Support CefGlue nuget consumers publish (#100) 2023-07-18 10:17:28 +01:00
Miguel Alves e93ea546bb Fixed nuget deployment (#97)
* Update Directory.Build.props

* Update Directory.Build.props

* Update Directory.Build.props

* Fixed nuget deployment
2023-07-13 10:05:36 +01:00
Miguel Alves c8b7032484 Update Directory.Build.props 2023-07-12 20:11:57 +01:00
Miguel Alves 0bd2bc74b7 Fixed case sensitive issue 2023-07-12 19:41:15 +01:00
Miguel Alves 854b8bd4ae Bump version 2023-07-12 19:28:54 +01:00
Miguel Alves 00e2303c6c Bump version 2023-07-12 19:19:58 +01:00
Miguel Alves 3bc3cac387 Fixed an issue in CefGlue.Common.props 2023-07-12 18:58:09 +01:00
Miguel Alves 7042eb715f Fixed an issue in CefGlue.Common.props (#96) 2023-07-12 18:13:05 +01:00
Miguel Alves 6ae2541c92 Updated bundle scripts and README (#95)
* Update bundle and README

* Update README.md

* Update README.md

* Bump version to trigger redeploy
2023-07-11 16:32:34 +01:00
Miguel Alves d5d5cc841b Bump CefRedistOSX version (#94) 2023-07-11 15:30:25 +01:00
Miguel Alves 29087d6bcd Build CefGlue in ARM64 (#90) 2023-07-11 14:32:55 +01:00
Luiz Alberto de Castro Santos 55bfefb79e Apply changes from original cefglue repo (#85)
* Apply changes from original cefglue repo

* Apply PR suggestions

* Apply PR suggestions
2023-04-28 17:14:31 +01:00
Luiz Alberto de Castro Santos 6adc68ff2e Fix cef runtime initialization sub process paths (#84) 2023-04-27 11:00:56 +01:00
Bruno Cunha e Silva dc9a1bb0ba Allow deserialization of objects with more fields\properties than the target type (#79)
* Allow deserialization of objects with more fields\properties than the target type

* CR improvement
2023-03-15 15:06:29 +00:00
José Santos 04bfce888c Fixing BrowserProcess packaging (#78)
* RICT-5081 :: Adding localized packages folder

* RICT-5081 :: Building for anycpu

* RICT-5081 :: Downgrade avalonia

* RICT-5081 :: changing how BrowserProcess is published

* RICT-5081 :: Fixing test failure

* RICT-5081 :: Fixing test failure

* RICT-5081 :: Fixing mac build

* code review - changing /

* Moving stamps to obj

* Fix identation

* Removing anycpu

* bump avalonia

* revert gitignore

* Creating a reference link to Browser process

* Update CefGlue.Common/CefGlue.Common.csproj

Co-authored-by: João Neves <joao.neves@outsystems.com>

---------

Co-authored-by: João Neves <joao.neves@outsystems.com>
2023-03-02 16:13:01 +00:00
Bruno Cunha e Silva 5c6f7ebe7f Preserve references in deserialization 5249 (#73)
* Preserve references in serialization to allow deeper structures to be serialized

* Clean unwanted changes

* Fix NativeObject DateTime interop tests

* CR improvements

* Remove duplication in Directory.Build.props

* Simplify deserializer state logic. Improve resources usage and performance

* Add missing RootObjectDeserializerState file

* Remove unwanted whitespaces on Directory.Build.props

* Refactor DerserializerState classes and simplify Deserializer logic

* CR improvements.
Drop DynamicDeserializerState.

* Optimize TypeInfoCache, not loading Properties and Fields for collections and primitive types

* CR improvements

* Fix EvaluateScript for try catch blocks - "Uncaught SyntaxError: Unexpected token 'try'"

* Fix SampleApp EvaluateJavascript that were missing the return keyword

* Fix deserialization of null as structures

* CR improvement
2023-02-28 15:15:28 +00:00