Commit Graph

2631 Commits

Author SHA1 Message Date
amaitland 8b41c8ec98 Cleanup DPI transform code slightly - removed unused methods
Tempting to remove the popup code as it's not actually used - leaving for now
2015-02-24 12:12:14 +10:00
amaitland 80b4580fad Remove duplicate null check 2015-02-24 11:58:32 +10:00
amaitland 045961bd6e Merge branch 'master' of https://github.com/dmrzn/CefSharp 2015-02-24 11:55:50 +10:00
Alex Maitland 651224a7cd Merge pull request #813 from amaitland/improvements/more-wpf-rendering-tweaks
WPF Rendering - Implement WritableBitmap and Minor Optimisations
2015-02-24 11:37:55 +10:00
amaitland 36d364951c Upgrade cef reference to 3.2171.1979 (strange that it wasn't already) 2015-02-24 10:48:45 +10:00
dmrzn 66dabdbf33 Fixed memory leak issues:
1. Unsubscription from CleanupElement.Unloaded event
2. Unsubscription from tooltipTimer.Tick event
3. Removing source hook
2015-02-20 15:21:22 +03:00
amaitland 0e230aa957 Add link to chromium command line args 2015-02-19 15:11:55 +10:00
amaitland 5223bbb794 Add --disable-direct-write command line example 2015-02-19 15:10:22 +10:00
amaitland 77076b8bbe Minor code cleanups, add braces, remove extra lines, make methods static 2015-02-17 12:00:49 +10:00
amaitland ffe8302921 Add license disclaimer 2015-02-15 22:37:37 +10:00
amaitland d8266b6042 Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks 2015-02-15 22:34:47 +10:00
amaitland 415e9ab2c8 Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
Added relevant xml comments
2015-02-15 22:31:11 +10:00
amaitland a3b833efd7 Added ClearSchemeHandlerFactories method incase anyone wants to remove their factories 2015-02-15 22:31:11 +10:00
amaitland 89a04abef9 Untabify 2015-02-15 22:29:59 +10:00
amaitland 396eeb41b1 Untabify 2015-02-15 22:29:09 +10: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 5002b8cb51 Set IsBrowserInitialized to false when disposing and then simplify null checks for managedCefBrowserAdapter
It's now initialized in the constructor, the relevant check is has the browser been initialized?
2015-02-15 17:35:56 +10:00
Alex Maitland ad263bd1e9 Merge pull request #809 from RadicalLinux/master
Check for null object to prevent NullException in SetFocus
2015-02-15 15:40:13 +10:00
Trever Jones ea83684f18 Check for null object to prevent NullException in SetFocus 2015-02-13 23:41:47 -06:00
amaitland b678ff168d Until WPF zoom issues can be resolved (problems with setting zoom using dependency property). Expose the SetZoomLevel method directly 2015-02-14 12:13:24 +10:00
amaitland 00b25f5e3f Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files 2015-02-14 12:04:59 +10:00
jornh f6d8685c6d Merge pull request #803 from cefsharp/amaitland-patch-1
Add MyGet reference to Readme.md
2015-02-12 20:35:56 +01:00
Alex Maitland fb6d2c50cf Add MyGet reference to Readme.md
Add MyGet reference to Readme.md for those looking for CI `nuget` packages
2015-02-12 20:26:40 +10:00
Alex Maitland e63b43eff1 Merge pull request #801 from cefsharp/perlun-patch-1
Fixed incorrect link
2015-02-12 20:18:13 +10:00
Per Lundberg e41c8488aa Fixed incorrect link 2015-02-12 07:40:33 +02:00
amaitland 572f2bfc70 Add --enable-media-stream to CefExample (how to enable webrtc) 2015-02-08 21:03:41 +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
amaitland a961cbd764 Tooltips not displaying in WinForms control (#789) - Added entry to app.manifest as per
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11514&p=20387&hilit=Tooltip#p20387

Also incremented version version number (now version 39)
2015-02-05 07:49:05 +10:00
Alex Maitland 0684c2fc83 Merge pull request #786 from rassilon/CefSharp-785
Cleanup/Implement Dispose Pattern
2015-02-04 21:10:56 +10:00
Bill Tutt 057925d6b8 Fix comment spelling error. 2015-02-03 20:27:30 -05: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 df03e82501 #785: Add a using to OffScreen.Example, now that Offscreen browser is a proper IDisposable. 2015-02-03 20:01:00 -05:00
Bill Tutt 329dad21c8 #785: Fix IDisposable pattern in Offscreen ChromiumWebBrowser by:
* NULL ing out event listeners and handlers
* Only derefing managed objects during a dispose (doing so during finalization is bad)
* Add missing finalizer to ensure CEF gets shutdown properly.
2015-02-03 20:00:08 -05:00
Bill Tutt 4df746dd53 #785: Fix IDisposable pattern usage in WPF ChromiumWebBrowser by:
* null-ing out all handlers and event listeners
 * ONLY dereference a managed objects if we're disposing (and not finalizing) since the object could be already disposed before us if we're being finalized.
2015-02-03 19:58:19 -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
Bill Tutt 7c7ba1dbb6 #785: Fix IDisposable pattern usage in WinForms ChromiumWebBrowser and WinForms.Example BrowserTabUserControl. 2015-02-03 19:50:16 -05:00
amaitland a2e56c74be Merge branch 'enhancement/focus-take4' 2015-02-03 23:10:02 +10: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
Alex Maitland 8316e2e8ad Merge pull request #774 from amaitland/enhancement/focus-take4
Enhancement - FocusHandler Take4
2015-02-03 22:52:19 +10:00
amaitland bd6ae9751e Fix spacing 2015-02-03 22:41:43 +10:00
amaitland b0bff1356b Merge remote-tracking branch 'remotes/upstream/master' into enhancement/focus-take4 2015-02-03 22:35:57 +10:00
amaitland 912754dd53 Fix order of xml comment params 2015-02-02 18:46:58 +10:00
amaitland c1d44dbcbb Add Cef.Initialize check in constructor of WinForms and OffScreen implementations - makes them consistent with the WPF version. 2015-02-02 18:17:40 +10:00
amaitland 4405d55221 Create BrowserSettings in WinForms constructor and explicitly Dispose as it wraps an unmanaged object. 2015-02-02 07:42:25 +10:00
amaitland 0efce4e836 Add DownloadHandler to both WinForms and Wpf examples 2015-01-30 15:02:01 +10:00
amaitland 6e30c097dd Another attempt at getting focus to work correctly - Simplest approach possible this time 2015-01-29 20:58:47 +10:00
amaitland c9620fab6d Assign default BitmapFactory 2015-01-29 15:27:55 +10:00