98 Commits

Author SHA1 Message Date
5c06968d76 Reapply "Unify component GUIDs across languages"
This reverts commit 278cce1b4c17c8da9e615bae986bc9fe6eb670b3.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 13:21:24 +01:00
877c2cc357 Switch to SHA-256 (phase 1)
Updater will treat all hashes as SHA-256 when checking for updates in
the new catalog - the future releases.

While we keep hashing and signing the old catalog file using SHA-1 - the
past releases.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 13:21:19 +01:00
07d891aa37 Fix parameter descriptions
wxString doesn't convert to const char * correctly.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 12:54:33 +01:00
fbbf89ba55 Revert "Unify component GUIDs across platforms"
This reverts commit 4cd1196d14d17407c561a2be461f3a93432c84e6.

Due to Active Setup StubPath bug in already deployed MSI packages we can
fix automatically using minor update only, we cannot change the
component GUIDs just yet.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-24 13:26:55 +01:00
278cce1b4c Revert "Unify component GUIDs across languages"
This reverts commit caff6295344c8e151c80a115012ec83f66b860d6.

Due to Active Setup StubPath bug in already deployed MSI packages we can
fix automatically using minor update only, we cannot change the
component GUIDs just yet.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-24 13:26:34 +01:00
349c42fe57 Fix flapping update process
The m_ok variable was not initialized, and set to true in case of
successful initialization - it depended on pure luck.

Since debug versions usually initialize stack and heap allocated memory
(to 0xCD or something like that), this explains why update check was
failing silently and randomly in release versions.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 13:18:13 +01:00
51c7ed11c0 Address some additional code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 13:08:41 +01:00
4846cdbc9f Remove excessive wxExtend dependency to parallelize building
Updater is static library and does not require linking wxExtend library.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 13:07:17 +01:00
82e69f072d Fix WinMain annotation to match the official one
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 12:35:55 +01:00
e2cf7d09f8 Make wxUpdCheckThread::wxResult scoped enum
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 12:35:25 +01:00
de9535b961 Suppress wxWidgets code analysis warnings
Rather than addressing numerous code analysis warnings Microsoft Visual
Studio 2019 reports for wxWidgets upstream, disable code analysis for
the time being. But only for the wxWidgets part. We still want to know
what the code analysis has to say about our code.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 12:20:44 +01:00
154cd798e4 Extend copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 15:38:53 +01:00
4cd1196d14 Unify component GUIDs across platforms
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 12:16:20 +01:00
caff629534 Unify component GUIDs across languages
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 12:08:14 +01:00
e7954e7c73 MSI: Automate language-dependent folder property names
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 11:55:37 +01:00
e6c51e923f Make enum wxHexDecodeMode scoped
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 14:59:12 +01:00
62a7d4e715 Rename stdafx.h to pch.h
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 14:10:17 +01:00
d885fd9a9a Unify platform designations
.sln uses the same as .vcxproj files

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 13:49:29 +01:00
5ae6dd56c2 Switch to Visual Studio 2019
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-19 11:50:06 +02:00
6fbcede83b Switch to Transifex project for localization 2018-09-19 12:02:34 +02:00
c08b40f2dc Stop using "<>" in translations
This confuses Transifex to believe "<input file>" is some kind of
markup.
2018-09-19 10:51:38 +02:00
7d04dc2052 Update translation template 2018-09-19 09:06:57 +02:00
5bfe66bfbf Fix invalid filename report on error 2018-09-17 09:37:23 +02:00
c6b0ebd28e Add missing Updater public key to UpdCheck.exe resources 2018-09-17 09:05:46 +02:00
10c55e4ce9 Check HTTP status 200 before parsing the response 2018-09-17 08:58:02 +02:00
38238d1183 Extend copyright year 2018-09-07 23:51:15 +02:00
ab2ff99b0d Add UPDATER_BIN_DIR check 2018-09-07 23:21:14 +02:00
dcdbaa6483 Make Updater static library 2018-09-07 22:35:35 +02:00
33428a913b Fix platform suffixes 2018-09-07 21:16:16 +02:00
78b6f629b7 Fix down-casting 2018-09-07 20:46:59 +02:00
514bcfc8ec Introduce ARM64 support 2018-09-07 14:20:19 +02:00
fdf187cf6d Fix down-casting 2018-09-07 14:18:49 +02:00
89d610a306 Switch to Visual Studio 2017 2018-09-07 14:04:56 +02:00
d432b767bb Fix down-casting 2018-09-07 14:03:24 +02:00
abc8e3914a Remove MFC dependency 2018-09-07 14:01:58 +02:00
c160d4b9eb Use local wxWidget DLLs 2018-09-03 10:00:08 +02:00
c9e24ccca9 Update wxExtend sub-module 2018-09-01 06:47:59 +02:00
9f119e3182 Synchronize MSI download User-Agent 2017-12-22 13:03:46 +01:00
c25cf09b9a Copyright extended to 2017 2017-04-18 14:03:35 +02:00
5e6427ab00 Required package language determined correctly now 2016-10-18 12:56:01 +02:00
3bad9473ae User-Agent header includes application name now 2016-10-14 08:46:42 +02:00
598f0b7963 Updating task triggering adjusted to workaround Windows 10 Task Scheduler 0x800710e0 bug 2016-10-13 12:32:16 +02:00
2ca5b4d9d1 Independent Updater version replaced with product version for correct versioning of DLL and EXE files when updating product 2016-10-11 13:13:44 +02:00
a9a04f8df3 MSI module Makefile simplified 2016-10-11 11:12:43 +02:00
3cab0a45a9 Locale is set using wxExtend's wxInitializeLocale() helper function now 2016-10-05 12:29:40 +02:00
4baae59fd5 Translations update 2016-10-05 10:54:25 +02:00
365c675780 rcxgettext.exe dependency eliminated 2016-09-19 10:45:50 +02:00
83298f96da Adaptation to MSIBuild updates
- Source file English "en_US" instead of generic "En" now
- MSIBUILD_LANG_PO merged to LANG
2016-09-19 09:51:06 +02:00
07c11ef392 Generation of localized IDT files simplified 2016-09-06 16:40:15 +02:00
6434a51171 Silent installations should not restart computer any more 2016-07-22 01:12:18 +02:00