Commit Graph
45 Commits
Author SHA1 Message Date
Max b008aed1f3 migrate to net5 + runnable 2020-06-03 00:00:38 +02:00
Max c882953fdd upstream 2020-05-31 13:50:13 +02:00
Kenneth Hsu 26c91587ed Remove unused Localization helper classes. 2020-04-05 15:06:03 -07:00
Max 7e2218663e Add Compat Analyzers 2019-12-25 19:08:52 +01:00
Max 28793ef204 packages update 2019-12-25 18:21:24 +01:00
Max 41a5591532 upstream 2019-12-25 16:34:56 +01:00
Kenneth Hsu 2aa76881a5 Mark fields that don't need to be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Max dd0b6add42 nuget update 2019-09-05 15:43:59 +02:00
BlueBlock 28074a4d4e update nuget packages
includes update to FluentFTP
2019-08-31 16:42:12 -04:00
Max 66eee70d1e fixed some codacy findings
fix CallContext
2019-08-03 00:34:26 +02:00
BlueBlock 815e30b63b update csproj toolverion and nuget packages 2019-07-31 13:20:03 -04:00
BlueBlock 08a1e9998a initial upgrade to framework 4.6.2
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Max 30fab22340 unsinged whole solution 2018-09-09 14:21:55 +02:00
Max b11f4d7cdd Merge branch 'master' into netstandard 2018-09-09 12:24:31 +02:00
Mikael Mello 8de67896b2 Fix actual string to have dashes replaced
Last commit was on the wrong string
2018-09-06 12:17:40 -03:00
Mikael Mello 4ae5083170 Fix localizations with sub-code not working 2018-09-06 11:50:53 -03:00
Max e4997f1efc upstream 2018-06-24 12:49:51 +02:00
Kenneth SkovhedeandGitHub e70f15287e Merge pull request #3233 from warwickmm/make_fields_readonly
Mark fields that shouldn't be reassigned as readonly
2018-06-02 10:13:06 +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
Kenneth Hsu ee8788d08e Use Equals to compare CultureInfo instances.
Since the Equals method is overridden in the CultureInfo class, we
should use it instead of the == operator to compare two instances.
2018-05-25 10:04:28 -07:00
Max f5672f69d9 upgrade .net to 4.6.2 2018-03-25 22:00:45 +02:00
Max d3d494b574 backends ported 2018-03-24 17:48:26 +01:00
Kenneth Hsu 3d51e9153b Avoid signing assemblies.
Using strong-named assemblies can cause difficulties with the GNU LGPL
license, which allows for one to recombine or relink their application
with modified versions of the code.  While one solution is to share the
private key so that people can sign the assemblies themselves, this
would break the trust that is expected from signed assemblies.  For now,
the easiest fix is to simply not sign the assemblies.  Note that by
doing so, we prevent the code from being referenced from other signed
assemblies.

This also fixes an issue introduced in revision ba94d36a80 ("Added
auto-update for WindowsService and Service."), where the WindowsService
project (signed) referenced the AutoUpdater project (not signed).

We also removed instances of <SignAssembly>false</SignAssembly> to be
consistent with newly created .csproj files that do not contain the
SignAssembly element.

This was motivated by the discussion in issue #2814.
2017-10-15 22:00:23 -07: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 976cc061e2 Updated ngettext 2017-09-23 14:43:33 +02:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 52eb8e8478 Disabled MSBuild for much faster builds on MacOS 2016-12-29 23:12:41 +01:00
agrajaghh 708fdee95a support language codes with '_' as delimiter 2016-11-03 15:22:00 +01:00
agrajaghh d36bf827ec fix language default selection
If the browser or system language is not supported, display "Default (en, English)"
2016-10-08 17:35:02 +02:00
agrajaghh 70edc4f206 just pull specified languages but include all *.mo files 2016-10-07 10:44:19 +02:00
agrajaghh 36bf344f4a renamePoLocalizationService to MoLocalizationService 2016-10-05 18:10:52 +02:00
agrajaghh 08cdcf55b4 set current culture to ParseRequestCulture() 2016-10-05 17:43:42 +02:00
Kenneth Skovhedeandagrajaghh 5c5ee4931d Fixed disposing the translation file after opening 2016-10-05 17:34:58 +02:00
agrajaghh 8bfe71e551 remove LocalizationService.AllStrings 2016-10-05 11:43:57 +02:00
agrajaghh 851000ac61 use NGettext to parse .mo translation files 2016-10-05 11:43:55 +02:00
Kenneth Skovhede 24cc716b90 Small fix to avoid loading empty translations from Po files 2016-10-02 23:06:07 +02:00
Kenneth Skovhede fd9753b415 Added basic translation entries for testing 2016-09-27 20:46:11 +02:00
Kenneth Skovhede 07345f6250 Implemented PO file parsing in Localizations 2016-09-27 20:44:19 +02:00
Kenneth Skovhede 785c4d325f Reverted changes to solution file so it again forces Windows linefeeds.
This also moved stuff around in some project files.
2016-04-13 00:36:22 +02:00
Kenneth Skovhede df733acc7a Updates to the project files 2015-12-05 11:28:01 +01:00
Kenneth Skovhede 8ff8be8905 Bugfix for build issues with AutoUpdateBuilder. 2015-12-01 13:23:36 +01:00
Kenneth Skovhede 0d7cf7203b Updated to .Net framework version 4.5 2015-01-26 11:22:52 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede 5714a4430a Updated some assembly versions 2014-07-01 11:22:27 +02:00
Kenneth Skovhede a30b6e3671 Implemented a scaffold version of a localization service so we can plug in the right one once we have decided which one to use. 2014-06-13 17:34:53 +02:00