amaitland
a688bcbdf8
IFrame.LoadRequest - Update xml doc
...
LoadRequest can only be called when a render process has already been created, suggest loading a data uri initially
http://magpcss.org/ceforum/viewtopic.php?f=6&t=16058&p=38563&hilit=LoadRequest#p38559
Resolves #2451
v65.0.0
2018-07-13 10:29:41 +10:00
amaitland
a338369eea
Add IJavascriptObjectRepository.UnRegisterAll
...
UnRegisterAll all bound objects - does not unbind them from the JS context
2018-07-13 10:29:40 +10:00
amaitland
03bd81cb2f
OffScreen - Add xml doc comment to constructor
...
Add note about legacy binding and creating the browser
2018-07-13 10:29:39 +10:00
amaitland
454fdb8f2d
Add IJavascriptObjectRepository.UnRegister
...
Allows for an object to be removed from the repository, doesn't unbind the object from javascript though
2018-07-13 10:29:39 +10:00
amaitland
0e9d9800ff
CefSharp.BrowserSubprocess/Program.cs - Remove redundant using
2018-07-11 12:49:05 +10:00
Per Lundberg
b6ba40f6bb
Bug fix: handle type=crashpad-handler ( #2449 )
...
I was seeing instances of the subprocess being spawned this way when running the CefSharp.Wpf.Example project. Debugging showed me that no such argument was being passed to the process. This PR works around the issue by opting out from getting the parent process ID for such processes.
2018-07-11 12:45:16 +10:00
amaitland
e1d4d3c33b
JavascriptAsyncMethodHandler::Execute - Add extra logging
...
- Add extra logging
- Fix formatting
- Add reference to relevant github issue
Follow up to https://github.com/cefsharp/CefSharp/pull/2446
2018-07-09 20:32:23 +10:00
mtajmajer
6d74d60818
Add nullcheck to promiseData. This is null at times; I see it when refreshing the browser in the development tools.
2018-07-09 20:32:23 +10:00
amaitland
acef4ab2c3
WPF Example - Remove commented out context menu code
...
Left over from when the built in wasn't working (it still only works partially) due to https://github.com/cefsharp/CefSharp/issues/1767
Improve comments and add links to make clearer
2018-07-09 20:32:22 +10:00
amaitland
d9967738fd
Example projects - copy crash_reporter.cfg to bin folder
2018-07-09 20:32:22 +10:00
amaitland
57d60e97cb
WPF - Add basic JavascriptBindingStressTest command
...
Loads JSB test page and then reloads every 10 seconds
2018-06-30 15:42:26 +10:00
amaitland
b9e4c4f326
OffScreen - ScreenshotAsync now correctly passes through blend to ScreenshotOrNull
2018-06-30 15:42:25 +10:00
amaitland
4e33866e58
WPF/OffScreen - FOr default initialize we set WindowlessRenderingEnabled = true
2018-06-27 14:39:16 +10:00
amaitland
7ab90eeaaa
CefSharpArguments.ExitIfParentProcessClosed - Change to lowercase
...
Chromium changes the args to lowercase, so we switch to lowercase for compare.
2018-06-25 21:29:52 +10:00
amaitland
64e6c14e8a
CefSettings - Untabify
2018-06-25 19:20:49 +10:00
amaitland
fda291baec
WPF - DisableTouchpadAndWheelScrollLatching
...
In ChromiumWebBrowser disable by default when default call to Cef.Initialize
Issue #2408
v65.0.0-pre02
2018-06-25 11:51:37 +10:00
amaitland
97eb6cf3f5
V8Serialization - Fix merge mistake
...
Follow up to 05743ff2e8
2018-06-25 11:49:41 +10:00
amaitland
a83d0d36c9
CefSharpApp - Spaces not tabs
2018-06-25 11:48:36 +10:00
amaitland
bec283f027
BindingTest.html - Fix formatting
...
Braces on new lines
Remove blank line
2018-06-25 11:25:37 +10:00
Mark Vulfson
05743ff2e8
Serialize any Enumerable (List<T>) type to V8 object properly ( #2393 )
...
* Serialize any Enumerable (List<T>) type to V8 object properly (Issue #2392 )
Handle any enumarable, not just arrays when serializing (e.g. when calling
`IJavascriptCallback.ExecuteAsync`).
Otherwise, `System.Reflection.TargetParameterCountException` is thrown during serialization
* fixup! Serialize any Enumerable (List<T>) type to V8 object properly (Issue #2392 ) Handle any enumarable, not just arrays when serializing (e.g. when calling `IJavascriptCallback.ExecuteAsync`). Otherwise, `System.Reflection.TargetParameterCountException` is thrown during serialization
* fixup! fixup! Serialize any Enumerable (List<T>) type to V8 object properly (Issue #2392 ) Handle any enumarable, not just arrays when serializing (e.g. when calling `IJavascriptCallback.ExecuteAsync`). Otherwise, `System.Reflection.TargetParameterCountException` is thrown during serialization
# Conflicts:
# CefSharp.Core/Internals/Serialization/V8Serialization.cpp
2018-06-25 11:22:54 +10:00
amaitland
1f531cf5c3
WPF - PresentationSourceChangedHandler Possible RenderHandler NRE
...
Add braces for simplest possible fix, code will be rewritten in PR #2428
2018-06-25 11:19:55 +10:00
amaitland
6b2d619ee6
WPF - Mark OnMouseWheel as Handled
...
Resolves #2422
2018-06-20 21:33:34 +10:00
amaitland
5193d4a2ac
WPF - Rename WindowStateChanged to OnWindowStateChanged
...
Also tweak some of the comments
2018-06-20 21:01:50 +10:00
amaitland
4be4ebdb1d
WPF - Mouse Scroll becomes unresponsive
...
Add Hack to CefSharpApp to allow for setting of disable-features command line arg
Add the example command line args
https://github.com/cefsharp/CefSharp/issues/2408
2018-06-20 21:01:50 +10:00
Henrik Heggelund-Berg
80327e5f35
Release window event handlers on Dispose ( #2416 )
...
* Release window event handlers on Dispose
Make sure event handlers related to `Window`, e.g. `WindowStateChanged`, is released during Dispose.
* Clear reference to `Window`
2018-06-20 21:01:49 +10:00
amaitland
130c3789f5
CefSharpSettings.SubprocessExitIfParentProcessClosed - only spawn task to monitor parent if command line arg present
...
Follow up to #2375
2018-06-20 21:01:49 +10:00
amaitland
eaeff85eac
WcfEnabledSubProcess - Revert codepage change
2018-06-20 21:01:48 +10:00
João Neves
4f9c95cce3
Close CefSharp.BrowserSubprocess.exe if parent process exits ( #2375 )
...
* Close cefsharp subprocess if main process dies
* Code review
* Await before exiting
* Update Program.cs
2018-06-20 21:01:48 +10:00
Philipp Feigl
a9a8cb83da
Update DependencyChecker with now required "v8_context_snapshot.bin" file ( #2399 ) ( #2400 )
2018-06-20 21:01:47 +10:00
amaitland
a6f0708950
JSB - Manually merge in some changes from https://github.com/cefsharp/CefSharp/commit/8f7692ae6e5c75e26accf49d57f5d8460c81b271
...
Bound object response was not being sent correctly (format has been updated)
2018-05-22 12:04:10 +10:00
amaitland
8716c56e22
JSB - Manually include the additional changes from https://github.com/cefsharp/CefSharp/commit/8f7692ae6e5c75e26accf49d57f5d8460c81b271
2018-05-16 12:41:56 +10:00
amaitland
8f87f3a77d
RegisterBoundObjectHandler - Reduce code duplication slightly
...
# Conflicts:
# CefSharp.BrowserSubprocess.Core/RegisterBoundObjectHandler.h
2018-05-16 11:21:19 +10:00
amaitland
4854f4f45c
JavascriptRootObjectWrapper - Log error when trying to bind sync object when IBrowserProcess is null
2018-05-16 11:19:56 +10:00
amaitland
2220ee49ba
JavascriptBindingExtensions - Remove unnecessary async keyword from script
2018-05-16 11:19:55 +10:00
amaitland
7440a91d46
Untabify JavascriptBindingExtensions
2018-05-16 11:19:55 +10:00
amaitland
2e01de8250
JSB - Add EnsureObjectBoundAsync method
...
To support this use case added IJavascriptObjectRepository.ObjectsBoundInJavascript (called a single time with names of all objects bound)
Implements the idea put forward in #2362
# Conflicts:
# CefSharp/Internals/JavascriptObjectRepository.cs
2018-05-16 11:19:54 +10:00
amaitland
930846eb52
JavascriptAsyncMethodHandler - Obtain Promise from context on Execute
...
Previously the promise reference was passed into the handler, now we obtain the reference on demand
2018-05-15 15:05:29 +10:00
nicholas-str
3f9272ac35
OnPopupSize - fix incorrect ordering of Rect params
...
OnPopupSize - fix incorrect ordering of Rect params
2018-05-10 12:03:46 +10:00
amaitland
6e21e04d85
ResourceHandler - Add argument null/empty checks
2018-05-03 11:29:14 +10:00
amaitland
8699b64c2f
Nuget - Revert back to the 63 package props/targets files
...
The newer changes aren't complete - missing at least the BrowserSubprocess, so going with what's been tested for now.
Will fix in `master`
v65.0.0-pre01
2018-05-01 12:05:21 +10:00
amaitland
d59e1fa7a0
appveyor.yml - Update temp myget api key
2018-05-01 11:26:33 +10:00
amaitland
14be1388f5
build.ps1 - Stip off -pre from Assembly version
2018-05-01 11:09:00 +10:00
amaitland
b034d1c552
Task Callbacks - only call TrySetResultAsync if the callback was never called
...
Add IsDisposed property to ICompletionCallback, IPrintToPdfCallback, IRegisterCdmCallback, IResolveCallback
Should resolve #2349 until the code review can be finished
2018-04-30 14:21:21 +10:00
amaitland
a8ff890433
Always pass through Process Id to subprocess
...
Improve command line parsing
Partial import of changes from #2375
2018-04-30 14:21:20 +10:00
amaitland
801d53b3cf
Add JavascriptBindingCompleteEventArgs - Use for IJavascriptObjectRepository.ObjectsBound event
...
This contains the breaking changes required for #2362
2018-04-27 16:33:42 +10:00
amaitland
9eb19756ac
OffScreen - Default GetScreenPoint to the view x/y coordinates provided
...
This is likely a better default than 0, 0
2018-04-23 14:18:22 +10:00
amaitland
d49f975f1c
OffScreen - IRenderHandler now implements all methods
...
DefaultRenderHandler handles all the calls required by the OffScreen ChromiumWebBrowser implementation
2018-04-23 14:15:25 +10:00
amaitland
93fdd63525
WPF - Fix incorrect param ordering of IRenderHandler.OnPaint
...
Param order now matches CEF interface
2018-04-23 13:06:05 +10:00
amaitland
c51a615d7d
OffScreen - Add IRenderHandler and DefaultRenderHandler basic implementation
...
Only supports OnPaint, will expand to support the other methods
2018-04-23 13:02:12 +10:00
amaitland
61033e66c8
WPF/OffScreen cleanup
...
- More code cleanup, use null-propagating operator
- WPF Add protected virtual UpdateDragCursor
2018-04-23 12:42:00 +10:00