Commit Graph

6179 Commits

Author SHA1 Message Date
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
ralphmayr aaa3a5fd90 Merge branch 'master' of https://github.com/CefSharp/CefSharp 2015-02-03 12:15:33 +01:00
ralphmayr 77b433bb69 Fixed #583: Make sure that IME input is forwarded 2015-02-02 12:56:13 +01: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
ralphmayr 30120ee619 Fixed #743: Forward state of Ctrl, Alt and Shift keys 2015-02-02 09:03:33 +01:00
ralphmayr 46716f2d79 Merge https://github.com/CefSharp/CefSharp 2015-02-02 07:44:50 +01:00
ralphmayr d3572d1d01 Revert "Fixed #743: Forward state of Ctrl, Alt and Shift keys to the managedCefBrowserAdapter"
This reverts commit 813d45d6f6.
2015-02-02 07:43:01 +01: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
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