Commit Graph

1628 Commits

Author SHA1 Message Date
amaitland 387101ee79 Check BrowserProcessServiceHost is in a Created State before opening 2015-03-19 15:46:11 +10:00
amaitland a7b8e1eb76 Remove MouseButtonType as it's not required - enum values match those of Cef, so just pass in as int and cast when required
(Should be much more efficient than switch statement)
2015-03-19 10:58:18 +10:00
Jan Kurianski 2b88af6c10 Merge pull request #888 from numbersint/fixes/cefrequest-support-charset
Use correct string encoding in CefRequest.Body
2015-03-18 22:17:05 +11:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
jankurianski 6fd0abc0d1 Use auto for longer type declarations. 2015-03-18 16:14:41 +11:00
jankurianski fc8e546aa8 Add using for System::Text 2015-03-18 16:07:41 +11:00
jankurianski b25f39c1bf Use correct string encoding in CefRequest.Body
This fixes a bug where unicode characters were not being decoded
correctly in the POST request body (e.g. U with umlaut - Ü - was being
sent as utf-8 but then incorrectly decoded using the default ASCII
codepage as Ã).
2015-03-18 14:35:19 +11:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland 14cbf5fba8 Add cef_web_plugin.h reference to Cef.h so intellisense works 2015-03-18 10:34:52 +10:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
amaitland 090ed3989b Add RemoveWebPluginPath and UnregisterInternalWebPlugin 2015-03-12 12:14:09 +10:00
amaitland fa31882137 Untabify xml comments of newly added methods 2015-03-10 22:54:40 +10:00
amaitland 545c63aacc Expose CefAddWebPluginDirectory, CefAddWebPluginPath, CefRefreshWebPlugins methods 2015-03-10 22:52:45 +10:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland f39fd0c2b3 Fix compiler warnings - minor typo's in xml comments 2015-03-06 17:55:02 +10:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon 74544d7f73 Use the full constructor in order to allow headers to be useful. 2015-03-02 22:51:21 -05:00
rassilon 55aaae243a Add _ prefix to field. 2015-03-02 20:28:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
amaitland 8755a9496f Comment out changes made by #842 and #852 until further investigation can be conducted - need to look more info how scale factor works and if the ScaleTransform we have is required. 2015-03-02 10:42:55 +10:00
amaitland aada02c356 Add ScreenInfo class to represent Width/Height/ScaleFactor 2015-03-02 10:40:01 +10:00
Bjarte Skogøy 98ec5be9b9 formatting 2015-02-27 10:35:53 +01:00
Bjarte Skogøy 52a8c09fc6 As it's implemented now the view rect needs to be adapted to the scaling. This will provide the correct area available for rendering. 2015-02-27 10:33:51 +01:00
Bjarte Skogøy ebf8b88523 - notify screen info changed
- update the scaletransform when presentation source is changed
2015-02-26 10:05:23 +01:00
Bjarte Skogøy 18509342d0 foramtting 2015-02-25 11:02:18 +01:00
Bjarte Skogøy f8c242e88d Use device scale factor to support higher DPI on WPF 2015-02-25 09:31:58 +01:00
rassilon e582c6cf8e Adjust parameter names and reformat CEF docs to .net notation. 2015-02-23 23:13:00 -05:00
rassilon d9e84a5a10 Expose Cross-Origin Whitelist from Cef.XXX as static methods. 2015-02-23 22:25:41 -05:00
amaitland b6ac43a0a8 Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks 2015-02-15 22:26:03 +10:00
amaitland 00b25f5e3f Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files 2015-02-14 12:04:59 +10:00
amaitland 54b1520761 Fix problem where stream was being closed and subsequent read attempts threw an exception (e.g. browser refresh) 2015-02-06 21:49:54 +10:00
Bill Tutt 36478a90bb #785: Tiny build fix. 2015-02-03 20:11:30 -05:00
Bill Tutt 3bb569d596 #785: Be paranoid about "delete <member>" twice during dispose/finalization and only do it once.
I'm not sure if this is necessary, but it looked very odd to me.
2015-02-03 20:01:43 -05:00
Bill Tutt 08b1254879 #785: _browserProcessServiceHost isn't safe to call Close on if we're being finalized. (it may have already been disposed of separately on the finalizer thread) 2015-02-03 19:55:24 -05:00
amaitland 6d4a766c32 Remove IMouseEvent interface - served no real purpose 2015-02-03 23:07:00 +10:00
amaitland da16d9f0eb Cleanup code as per feedback in PR #732 2015-02-03 23:05:43 +10:00
amaitland 38e60a97f3 Merge branch 'feature/2171-drag-drop' of https://github.com/Bodekaer/CefSharp into enhancement/focus-take4 2015-02-03 22:54:46 +10:00
amaitland 912754dd53 Fix order of xml comment params 2015-02-02 18:46:58 +10:00
amaitland bfec2c95b1 Add IBitmapFactory so that different Rendering methods can be plugged in (potentially a .Net 4.5 InteropBitmapInfo can be created)
Move into Rendering namespace
2015-01-29 15:25:08 +10:00
amaitland 9a52f082de Code cleanup - Merge ReleaseBitmapHandlers and DisposeBitmapInfo into one method 2015-01-29 12:04:15 +10:00
amaitland 7e3d5ece25 Remove unused ManagedCefBrowserAdapter deceleration 2015-01-29 11:55:31 +10:00
amaitland 524f5cb213 Merge branch 'enhancement/writeablebitmap' into improvements/more-wpf-rendering-tweaks 2015-01-29 11:54:12 +10:00
amaitland 0c45119f17 Remove SetBufferHelper method and move code inline so some minor tweaks can be performed like only setting variables when required (Small things I know though important in such a performance critical section) 2015-01-29 11:50:13 +10:00
amaitland 823889099d Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
Added relevant xml comments
2015-01-29 11:50:13 +10:00
amaitland b015ed7c2e Added ClearSchemeHandlerFactories method incase anyone wants to remove their factories 2015-01-29 11:50:13 +10:00
Jan Kurianski 0f23b663a2 Merge pull request #768 from pushplay/master
Implement CefGeolocationHandler::OnRequestGeolocationPermission
2015-01-29 10:48:25 +11:00
amaitland 43765ad1c3 Upgrade to 3.2171.1979 2015-01-27 20:03:25 +10:00
pushplay 485e2a97a2 Code clean up: fixing a brace. 2015-01-26 17:30:29 -08:00