Commit Graph
539 Commits
Author SHA1 Message Date
Kenneth Hsu da9b46e37e Use auto-properties to avoid explicit backing fields. 2018-12-19 21:33:26 -08:00
Kenneth Hsu 5c72b03343 Add back properties required by RUMPS (Mac status bar).
This addresses issue #3550.
2018-12-19 21:31:23 -08:00
Kenneth Hsu bb4e5a1d18 Use consistent comment for no-op methods. 2018-12-09 21:42:40 -08:00
Kenneth Hsu 2880db3a53 Convert write-only IBrowserWindow.Icon property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 21:42:40 -08:00
Kenneth Hsu d02cf960c8 Convert write-only IBrowserWindow.Title property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 21:42:40 -08:00
Kenneth Hsu e91e79e884 Convert write-only IMenuItem.Icon property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu 97dbfadfb2 Convert write-only IMenuItem.Default property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu ee9df1bf75 Convert write-only IMenuItem.Enabled property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu 3718a8deda Convert write-only IMenuItem.Text property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu cd72cc4bd5 Convert write-only TrayIconBase.Icon property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-08 10:39:06 -08:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 72b1f6b6f8 Updated project files. 2018-11-02 22:45:07 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek cf1cec69d6 Bug fixes. 2018-10-28 20:01:36 +01:00
verhoek 52916b935b Replaced System.IO.Path with wrapper call to Alphaleonis. 2018-10-28 12:08:09 +01:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
Mikael Mello 9eb9ec004d Target Windows 8.1 and 10 in order to display correct version in UI 2018-10-17 10:37:44 -03:00
Kenneth Hsu 731a8b1644 Remove unused empty methods. 2018-10-10 21:20:40 -07:00
Rune HenriksenandGitHub fbab37d138 Merge pull request #3413 from warwickmm/avoid_null_reference
Avoid potential null reference exception
2018-10-07 19:14:34 +02:00
Rune HenriksenandGitHub be7edb580d Merge pull request #3410 from warwickmm/simplify_enumerating_collections
Simplify enumeration of collections
2018-10-07 19:06:28 +02:00
Kenneth Hsu b6e1e3e3f4 Avoid potential null reference exception. 2018-10-06 20:42:25 -07:00
Kenneth Hsu 0c1ac9c489 Replace chained LINQ calls with call to overload with predicate.
This simplifies the code by reducing the number of enumerators created
while also making the code slightly more readable.
2018-10-06 16:20:18 -07:00
Kenneth Hsu d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Kenneth Hsu 40f3e33835 Suppress warning about non-awaited task. 2018-09-29 10:44:05 -07:00
Kenneth Hsu d4d1945faf Use utility method to append trailing slash.
This removes some duplicated code.
2018-09-22 10:19:45 -07:00
Kenneth Skovhede 31656b4eb3 Merge branch 'feature/repair_console_output' 2018-06-28 12:18:48 +02:00
Kenneth Hsu 54c4f9224d Allow tasks to complete on any thread when context is irrelevant.
When the code following the await can be executed on any thread, it's
recommended to use ConfigureAwait(false) to avoid unnecessary context
switching and potential deadlocks.
2018-06-21 19:28:27 -07:00
Kenneth Skovhede 7b939397fa Whitespace fix 2018-06-20 12:14:01 +02:00
Kenneth Skovhede 4762a35ae3 Added option to disable automatic tray-icon login. 2018-06-15 14:35:35 +02:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
verhoek c5783b2ae4 Merge branch 'master' into webapi/googledrive 2018-05-15 20:31:58 +02:00
Kenneth Skovhede ee64517f7d Removed calls to Console.WriteLine as we may run somewhere without a console. 2018-05-15 11:29:08 +02:00
verhoek 78a46c3a5c Renamed misspelled class urluttility to urlutility and newly added urlutility to uriutility. 2018-05-11 19:09:14 +02:00
Kenneth Hsu c00c6fd19b Make fields containing lock objects readonly.
If one of these fields is accidentally reassigned, it's possible for
threads to be oblivious to an existing lock.  By making the fields
readonly, we will be notified at compile-time if we inadvertently
redefine one of these fields.
2018-03-17 19:59:23 -07:00
Kenneth SkovhedeandGitHub 4f5d09f93d Merge pull request #3096 from Pectojin/system_info_add_username_and_startedby_variables
added 'UserName' and 'StartedBy' variables to the system info page
2018-03-16 08:41:55 +01:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Rune Henriksen f414b2fdf2 added 'UserName' and 'StartedBy' variables to the system info page to help troubleshooting 2018-03-09 21:24:57 +01:00
Kenneth SkovhedeandGitHub 42a60cbd89 Merge pull request #3066 from mnaiman/test
fixes password change in hosted tray
2018-03-05 09:06:56 +01:00
Max 0380f6d453 fixes password change in hosted tray 2018-02-25 13:54:20 +01:00
Kenneth Skovhede 7656f4c717 Added specific versions to the included 3rd party GTK library to satisfy some Linux systems that pick up a more recent version. 2018-02-22 17:12:41 +01:00
wjan d8efebfe8a corrects changes in app.config files and other unnecessary file changes 2018-01-18 21:22:54 +01:00
wjan 8500988d7c adds rclone UI and backend improvements 2018-01-10 15:33:28 +01:00
vnau 01ec66cdc5 Removed AutoGenerateBindingRedirects compile warnings. 2017-12-17 01:50:17 +07:00
vnau 9b9d9b1297 Fixed compiler warnings. 2017-12-17 01:34:21 +07:00
Kenneth SkovhedeandGitHub 36aadc4ad1 Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede 6ad0fa649e Re-wrote the auto-updater to use process spawning instead of AppDomain loading to execute updates. 2017-10-11 12:49:14 +02:00
Kenneth Skovhede 432f618846 Adedd option to run with detached TrayIcon.
This fixes #2661
2017-10-11 08:57:12 +02:00