Commit Graph

8 Commits

Author SHA1 Message Date
Igor e81eb2e217 FolderSchemeHandlerFactory - change resource file share mode. (#2535)
* FolderSchemeHandlerFactory - change resource file share mode to ReadWrite.

* FolderSchemeHandlerFactory - add FileShare to controller parameters; make fields readonly.
2018-10-13 12:10:38 +10:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
James Coyle 4c555d7223 Handle URL escaped paths correctly (#2364)
Allows for the FolderSchemeHandler to correctly parse encoded URLs such as URLs containing spaces in requests from the currently loaded page.
2018-04-19 14:20:54 +10:00
amaitland 13c9c9c491 FolderSchemeHandlerFactory - Change to using File.Read and ResourceHandler.FromStream
Previously used ResourceHandler.FromFilePath which relies on the native CefStreamReader::CreateForFile that implementation had problems with multiple requests to the same file (file locking)

Resolves #2041
2017-06-02 11:31:04 +10:00
amaitland 6691d0080a Refactor ResourceHandler, split FileResourceHandler out into it's own class, rather than relaying on ResourceHandlerType - this allows us to add more underlying CEF type wrappers without a huge amount of effort now.
Add new ByteArrayResourceHandler - uses CefStreamReader::CreateForData to load the byte array, for use with CefStreamResourceHandler
Add ResourceHandler.FromByteArray method for ease of use
Change ResourceHandler.FromString to use the new ByteArrayResourceHandler class
2017-05-05 12:55:44 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 960c5953ba Continue with CefSharp.csproj restructure - move more classes into subfolders (again no namespace change for backwards compatibility) 2017-02-14 12:08:58 +10:00
amaitland ca2085ef05 Add FolderSchemeHandlerFactory - maps request urls to files on disk within a specified folder.
Resolve #1717
2016-06-22 12:23:50 +10:00