Commit Graph

11 Commits

Author SHA1 Message Date
Alex Maitland 9db6bec21b Core - Migrate from CefTime to CefBaseTime (Add custom conversion support)
- Add new IBaseTimeConverter interface to allow for custom conversion of DateTime to/from CefBaseTime
- Add some CefTimeUtils tests

Issues #4234 #4272
2022-10-16 11:51:04 +10:00
Alex Maitland 9dc158693d Core - Migrate from CefTime to CefBaseTime (MaxValue handling)
- Validate large dates and return DateTime.MaxValue if greater than allowable DateTime

Issue #4272
2022-10-14 11:57:50 +10:00
Alex Maitland beca2863a8 Core - Migrate from CefTime to CefBaseTime (CookieManger Tests)
- Add basic xUnit test
- Don't set Creation/LastAccess on cookie creation, these are set internally in Chromium
  and are left uninitialized until the cookie is read back from the browser

I haven't tested though I suspect Cookie.Expiry was incorrectly set when Local/Unspecified DateTime was used
cookies are always in GMT

Issue #4234
2022-09-07 10:56:29 +10:00
Alex Maitland 416ed308c2 Core - Migrate from CefTime to CefBaseTime (Execution/Binding)
- Convert more of the methods used by JavaScript binding/execution
- Fix naming of FromDateTimeToBaseTime

Issue #4234
2022-09-06 19:39:43 +10:00
Alex Maitland 1a8c7cf09e Core - Migrate from CefTime to CefBaseTime (CefCookie)
- Add new method for conversion from DateTime to CefBaseTime
- Change Cookie.SetCreationDate and Cookie.SetLastAccessDate to take Long

Issue #4234
2022-09-06 15:03:36 +10:00
Alex Maitland 5f73ce568b Core - Migrate from CefTime to CefBaseTime (CefNavigationEntry)
- Add new method to convert from CefBaseTime to DateTime

Issue #4234
2022-09-06 14:21:11 +10:00
Alex Maitland 4d78c70793 Core - Migrate from CefTime to CefBaseTime (CefDownloadItem)
- Add new method to convert from CefBaseTime to nullable DateTime

Issue #4234
2022-09-06 14:11:45 +10:00
Alex Maitland b97dae0b61 Core - Merge DateTimeUtils into CefTimeUtils
Issue #4234
2022-09-06 13:50:25 +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
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 40f00d2ce8 Implement IBrowserHost.GetNavigationEntries
Added TaskNavigationEntryVisitor - currently there is no async method exposed on IBrowserHost (be nice if someone else contributed a PR that implemented this).
Resolve #1503
2016-06-07 12:32:34 +10:00