Commit Graph

6294 Commits

Author SHA1 Message Date
rassilon 22d34c9824 Happy builds make happy build bots. 2015-04-25 00:30:06 -04:00
rassilon 3804c6e3c2 Fix method name. 2015-04-25 00:20:17 -04:00
rassilon 2602605bae Push through exception insetad of just string. 2015-04-25 00:04:38 -04:00
amaitland f12643ea47 Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:50:52 +10:00
Erguotou fa43ec9997 Pass down camelCaseJavascriptNames to subobjects
For consistency, pass down camelCaseJavascriptNames flag to
sub-objects so that naming remain the same.
2015-04-25 11:50:52 +10:00
Erguotou 35db8ce87d Added a few KnownTypes to support value type arrays 2015-04-25 11:50:52 +10:00
amaitland c24607286b Cherry picked changes from https://github.com/cefsharp/CefSharp/pull/972
Remove empty set from BoundObject example
Untabify BrowserProcessResponse
Make CamelCaseJavascriptNames (consistency, class should probably be made internal as a whole)
make JavascriptObjectRepository.CreateJavascriptObject private
Remove redundant using
2015-04-25 11:48:58 +10:00
Erguotou 7c074394d6 Pass down camelCaseJavascriptNames to subobjects
For consistency, pass down camelCaseJavascriptNames flag to
sub-objects so that naming remain the same.
2015-04-25 11:48:58 +10:00
Erguotou 9eb61f5945 Added a few KnownTypes to support value type arrays 2015-04-25 11:48:58 +10:00
Alex Maitland 124253754c Merge pull request #967 from amaitland/improvement/offscreenperformance
OffScreen Performance Tweak
2015-04-25 09:15:40 +10:00
rassilon 314add6fad Add comment in other .nuspec files to CefSharp.Common explaining why the DLLs don't go in lib\net40 etc... 2015-04-24 11:50:42 -04:00
rassilon d8b707fb4b Propigate TaskWrapper exceptions:
Log an ERROR message via CEF logging, and throw an appropriate exception on thread pool thread.

The idea is that the AppDomain's UnhandledException or Application.ThreadException handler will get called.
2015-04-24 10:35:29 -04:00
Alex Maitland f97d5f5c9d Add .Net 4.0 requirement 2015-04-24 21:51:41 +10:00
Alex Maitland 05ff3bc7ee Add comments about VC++ 2015-04-24 19:53:07 +10:00
amaitland 8e275ec472 Update Offline example to demo loading of two different pages - makes it easy to see the bitmap is being updated as per the previous perf improvement 2015-04-24 16:00:31 +10:00
amaitland 0e78ee0e28 Attempt to improve efficiency of OffScreen rendering by only creating a new bitmap when the old one changes in size (same behaviour as WPF).
Moved bitmap creation into GdiBitmapInfo
2015-04-24 15:53:12 +10:00
amaitland c81d73c587 Split CefTaskWrapper out into it's own .h file 2015-04-24 12:02:15 +10:00
Alex Maitland faa70ba789 Merge pull request #962 from amaitland/implement/requesthandler
Implement Missing CefRequestHandler Methods
2015-04-24 11:08:27 +10:00
amaitland a9aeaecda5 Comment out example and remove TODO 2015-04-24 10:51:16 +10:00
rassilon 5f8e2bbb11 Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler 2015-04-23 19:40:09 -04:00
rassilon cf25cc0518 Merge remote-tracking branch 'origin/master' into cef/2272
Conflicts:
	CefSharp.Core/ManagedCefBrowserAdapter.h
2015-04-23 19:38:41 -04:00
Bill Tutt 7ed4f1d659 Merge pull request #963 from rassilon/Fix928
Clipboard ops don't work from WinForms menubar for non-main frames, use focused frame instead.
2015-04-23 19:31:39 -04:00
rassilon 6209c9d754 Fix merge blunder. 2015-04-22 20:06:36 -04:00
rassilon b6bc29ef6b Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/Cef.h
2015-04-22 19:39:38 -04:00
rassilon 554d344b97 Now that they're all in one spot, split them into sensible groups, and add comment for async task private methods. 2015-04-22 19:24:15 -04:00
rassilon 66f74089e5 This ought to fix #928.
Use GetFocusedFrame() for all clipboard and undo/redo stack activities.
2015-04-22 19:14:32 -04:00
amaitland e23fef14e2 Missed adding this in previous commit - rename IsKeyDown 2015-04-23 09:12:05 +10:00
amaitland 533964105e Group public and private methods together.
Make some methods private that were previously public
Remove Overload for `Reload` - not required
Rename `isKeyDown` to `IsKeyDown`
2015-04-23 08:41:13 +10:00
amaitland 8fc4574225 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-23 08:25:18 +10:00
Bill 2be50db345 Merge pull request #961 from rassilon/SyncronizationContexts
Add TaskFactories for UI/File/IO and use for GetZoomLevel
2015-04-22 18:14:51 -04:00
rassilon dd749cf84e Cleanup comment for TID_UI reflecting always being in mutlithreaded message loop scenario.
Additionally, convert comment blocks to .Net API document comment blocks.
2015-04-22 17:58:12 -04:00
amaitland 3e3ea4f305 Running example apps in Debug were failing the dependency check as the browsersubprocess resources aren't present.
For now disable check when using the debugger, will look at other solutions
2015-04-23 07:49:00 +10:00
rassilon 1a31b991ac Move rest of non-simple functions to .cpp file.
Rename private GetZoomLevel to GetZoomLevelOnUI to further indicate what thread it should run on.

Make WPARAM keyboard related functions private:
  isKeyDown and GetCefKeyboardModifiers.
2015-04-22 10:46:07 -04:00
rassilon 701d391c59 Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.

Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00
amaitland dffc3da31f Implement OnProtocolExecution (mapped slightly differently as it's easier to return a bool than use a ref param) 2015-04-22 17:07:55 +10:00
amaitland 2429a5492a Implement IRequestHandler.OnResourceRedirect 2015-04-22 16:59:02 +10:00
amaitland f654c78874 Add basic OnQuotaRequest implementation 2015-04-22 16:29:18 +10:00
rassilon c96f8a82d6 Add TaskFactories in the main process for UI/File/IO, and utilize the UI task factory for GetZoomLevel, and implement GetZoomLevelAsync. 2015-04-22 00:14:29 -04:00
amaitland 969b6944fe Switch to using string.IsNullOrEmpty on string and reverse ternary operator - slightly easier to read. 2015-04-22 09:34:55 +10:00
amaitland 7fd42e4e3d Merge branch 'master' of https://github.com/pushplay/CefSharp 2015-04-22 09:30:24 +10:00
Jeffery Grajkowski 2abd9a216f Fixed inline comment 2015-04-21 16:16:20 -07:00
amaitland c66b28a645 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-21 11:54:56 +10:00
amaitland 5dc824aaac Remove duplicate const from _GetZoomLevel - was causing compiler warning 2015-04-21 11:49:28 +10:00
amaitland 1d2b5fa55c Up the WCF MaxRecieveMessageSize as per discussion in https://github.com/cefsharp/CefSharp/issues/958#issuecomment-94410222
It's now 128MB in line with the Chromium IPC
2015-04-20 21:37:24 +10:00
Alex Maitland 3cb23635f8 Merge pull request #951 from amaitland/enhancement/jsb-camelcase
Rename lowerCaseJavascriptNames to camelCaseJavascriptNames
2015-04-20 15:32:42 +10:00
amaitland 7320902f48 Remove pack.bat (no longer exists) from solution 2015-04-20 11:06:13 +10:00
amaitland e92af93d79 Attempt to resolve #941 - tweak NuGet.config 2015-04-20 11:04:03 +10:00
amaitland ee50034502 Reorder/Include pragma once
Add license to AutoLock
This is more of a generic cleanup - no time like the present
2015-04-17 13:07:08 +10:00
amaitland 54221c919e Cleanup include statements after moving SchemeHandlerFactory method to Cef::Initialize()
(For some reason CefDragDataWrapper needed some includes/usings)
2015-04-17 13:07:08 +10:00
amaitland 25ff7c0dab Move registration of scheme handler factories into Cef::Initialize()
Was cofusing before, possibly just the `CompleteSchemeRegistrations` name, when it was actually registering the factories.
2015-04-17 13:07:07 +10:00