1100 Commits

Author SHA1 Message Date
Matthew Morrison d0e7042dbc Changed enum names to be more in line with .Net naming schemes. 2015-05-24 09:24:20 -05:00
Matthew Morrison 890b80bc0f Fixed some issues with formatting. 2015-05-23 17:46:06 -05:00
Matthew Morrison f7f13f0359 Add cursor type to SetCursor call. Duplicated CursorType enum from CEF source. 2015-05-22 19:40:40 -05:00
Harald van Dijk 3043b4192b Automatically detect Windows XP. 2015-05-08 20:09:46 +02:00
amaitland e03c10ee87 Upgrade version numbers in preparation of 39.0.1 release 2015-04-28 17:58:22 +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
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 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
pushplay ca443502dd Add BrowserSubProcess dependency checking. 2015-04-16 10:57:16 -07:00
amaitland 39c8194b49 rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on 2015-04-16 16:31:54 +10:00
amaitland e470bcf50c Rename LowercaseFirst tp GetJavascriptName - more descriptive naming 2015-04-07 20:42:26 +10:00
amaitland 64906605ce Pass lowerCaseJavascriptNames as param to LowercaseFirst method - reduces code duplication 2015-04-07 20:41:35 +10:00
amaitland ce12ff0a04 Remove unnecessary method overloads, the lowerCaseJavascriptNames param wasn't being propagated recursively.
Default TryCallMethod to using LowercaseFirst
2015-04-07 20:36:19 +10:00
amaitland 89b02583e8 Remove method overloads and use optional param instead 2015-04-07 20:30:15 +10:00
Exinferis 8581c3f03b Added parameter for lowercasing JS functions (or not) 2015-04-02 15:37:12 +02:00
Alex Maitland a434d3ca6a Merge pull request #900 from amaitland/feature/dependencychecker
Implement DependencyChecker
2015-04-02 10:08:49 +10:00
rassilon 48c2550011 Fix #918 by adding extension method to cast from IntPtr to Int32 2015-03-31 10:26:09 -04:00
amaitland fe59df92ac Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url 2015-03-28 19:56:26 +10:00
rassilon 37547667de Paste in some more CEF docs. 2015-03-25 22:46:15 -04:00
rassilon fafc0ad2d5 Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback. 2015-03-25 22:30:24 -04:00
amaitland ea2ad1036a Assert not Asset - fix typo 2015-03-25 14:27:32 +10:00
amaitland 3a47bbbedd Added IsWindowsXp special case (It's not the best code in the world, don't think it's worth spending too much time on though)
Use Path.Combine instead of manual string concat
2015-03-25 13:53:47 +10:00
amaitland 475067bdfa Reorder method params (move packLoadingDisabled to second param) 2015-03-25 12:11:15 +10:00
amaitland b12f131e9f Re-add LocalesPackFile default param value (moved to end of function) 2015-03-25 12:09:57 +10:00
amaitland 76ea44930a Add packLoadingDisabled check 2015-03-25 12:06:50 +10:00
amaitland be41287497 Refactor to pass params directly in from CefSettings - make life easier then implementing checks in Cef.Initialize() 2015-03-25 12:05:11 +10:00
amaitland a9762bbb5f Add optional bool for checking dependencies 2015-03-25 11:48:12 +10:00
amaitland 36ea815fe2 First attempt at splitting out into required/optional dependencies
Based on https://github.com/cefsharp/cef-binary/blob/master/README.txt
2015-03-25 11:46:09 +10:00
amaitland a188b862c4 Refactor code so now AssetAllDependenciesPresent throws an exception if dependencies missing
Error message needs some work
2015-03-25 11:34:35 +10:00
amaitland a17b145968 Expand Locale support to check CefSettings for user specified values
For now code is in `CefExample` will eventually be moved into `Cef.Initialize()`
2015-03-25 11:19:44 +10:00
amaitland 2b8923813c Allow for full locales path 2015-03-25 11:12:58 +10:00
amaitland 591b47775b Move localePackFile param with default value to first overload of CheckDependencies
Plan is to use `CefSettings.Locale` and `CefSettings.LocalesDirPath` to infer the users local preferences
2015-03-25 11:08:02 +10:00
amaitland 8a7b9e2adb Untabify 2015-03-24 11:05:38 +10:00
amaitland 0eda96841c Add rough draft of DependencyChecker - loops through list of all Cef/CefSharp dependencies 2015-03-24 10:58:43 +10:00
amaitland ddb725ef53 Add very rough description of JavascriptCallbackProxy - should be enough to give at least the basic idea of how it fits together 2015-03-19 11:25:46 +10:00
amaitland f4b3a462b9 Merge remote-tracking branch 'remotes/upstream/master' into feature/jsb-callback 2015-03-19 11:20:48 +10:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas bc56e2f91f Adding comment for the IsMainFrame parameter 2015-03-18 15:02:10 +08:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
Jan Kurianski d9e272c4d8 Merge pull request #877 from numbersint/fixes/more-error-codes
Added many missing error codes to CefErrorCode.cs
2015-03-12 15:37:40 +11:00
jankurianski bb2a7d0345 Added many missing error codes to CefErrorCode.cs
From Chromium's net/base/net_error_list.h.  Also added a comment to
indicate where the error codes were sourced from.
2015-03-12 14:35:08 +11:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
amaitland 886e303893 As we don't have control over the lifecycle of the Surrogate or EndPointBehaviour I think it's easier just to pass around a WeakReference 2015-03-12 11:32:35 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland c8d9272508 Rename JavascriptCallback to JavascriptCallbackProxy 2015-03-12 11:26:46 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00