Commit Graph

6294 Commits

Author SHA1 Message Date
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
ralphmayr cc5322d9fe Merge remote-tracking branch 'upstream/master' 2015-02-17 11:57:47 +01: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
rassilon 7c3dcb656e * Code Review changes
* Add float right select drop down for additional move test.
2015-02-11 17:30:33 -05:00
amaitland 572f2bfc70 Add --enable-media-stream to CefExample (how to enable webrtc) 2015-02-08 21:03:41 +10:00
rassilon 2cea50989c Actually invoke MovingListener on this branch. 2015-02-06 08:53:59 -05: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
rassilon e200b6e06d Readd ServiceModel reference in this branch. 2015-02-05 23:41:27 -05:00
rassilon 47916e5639 Focus improvements, take 5, a hopeful fix with lots of extra debugging goo so other people can more easily verify the changes.
The additions to MovingListener (and the fields it sets on ChromiumWebBrowser) are ONLY there for debugging related purposes. They will disappear when folks are happy with the results.
2015-02-05 23:31:20 -05:00
rassilon 7a8498bb69 Add System.ServiceModel reference. 2015-02-04 20:14:12 -05:00
rassilon 0507ca52db Straightforward code review fixes, and correctly attach to newForm.HandleCreated/newForm.HandleDestroyed events. 2015-02-04 19:58:28 -05:00
rassilon 0279c41d3c Much improved MovingListener that:
* Tries to handle any possible cases where the ChromiumWebBrowser.Parent gets changed. (WinForms.Examples doesn't currently need this, btw)
* Expose RefindParentForm as public so that the calling control has control over the call to .FindForm().
* Only indicate movement when there is actual x/y movement and we're not going from Maximized to non-Maximized since this logic ends up being handled elsewhere.
* Add some debugging logic so that other folks can experiment with this scary looking change.
* Cave after realizing that every ChromiumWebBrowser needs to be notified of any kind of movement. (and not JUST the visible tabs from WinForm.Examples)
  This means we DO NOT check ParentControl.Visible on purpose.

This was tested by creating two tabs in Winforms.Example, point both at TooltipTest.html (from the custom scheme) and move/resizing around and testing both tabs after the move/resize finished.
2015-02-04 17:24:42 -05: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
rassilon e921b1b818 Add new file to project. 2015-02-04 02:04:05 -05:00
rassilon b73e7003d5 Add forgotten copyright header. 2015-02-04 01:46:49 -05:00
rassilon 7894ac61d1 #672: Notify CEF when our owning form moves (WM_MOVE or WM_MOVING) just like cefclient. 2015-02-04 01:44:54 -05: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
ralphmayr 8c819f4293 Revert "Fixed #743: Forward state of Ctrl, Alt and Shift keys"
This reverts commit 30120ee619.
2015-02-03 12:16:19 +01:00