120 Commits

Author SHA1 Message Date
f8c5385216 Fork my mailbox to business and personal
Signed-off-by: Simon Rozman <simon.rozman@amebis.si>
2025-11-21 03:32:52 +01:00
Simon Rozman
f457f62448 Adopt wxWidgets changes
Signed-off-by: Simon Rozman <simon@rozman.si>
2025-11-14 12:22:34 +01:00
Simon Rozman
f27285c079 Adopt wxWidget changes
Signed-off-by: Simon Rozman <simon@rozman.si>
2025-11-04 15:43:22 +01:00
Simon Rozman
a98ef46c5d MSI: Squash INSTALLLEVEL 1,2,3 → 1
Our default used to be INSTALLLEVEL 3, but Microsoft default is 1. By
overriding Microsoft default in Property table, we override the
INSTALLLEVEL user might have specified on the command line.

Since our installations no longer use "Minimal/Typical/Full", we may
squash "Minimal" and "Typical" into Minimal.

Signed-off-by: Simon Rozman <simon@rozman.si>
2025-03-13 14:15:04 +01:00
Simon Rozman
22c335242b Switch from phased-out MIDL_PASS to __midl
Signed-off-by: Simon Rozman <simon@rozman.si>
2024-03-11 15:51:56 +01:00
Simon Rozman
46495773c2 Move keypair source out of source folder
This allows us to use `git clean` without risking to loose keypair,
since it is typically .gitignored and not included in the Git
repository.

Signed-off-by: Simon Rozman <simon@rozman.si>
2022-10-05 19:16:05 +02:00
Simon Rozman
76124075fc Update translation templates
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-17 14:09:54 +01:00
Simon Rozman
214dfc2017 MSI: Discontinue prefixed row IDs in tables
humanSimon, is this really you? 😉

Signed-off-by: Simon Rozman <simon@rozman.si>
2022-02-15 13:08:31 +01:00
Simon Rozman
a2441233b4 Update Copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2022-01-07 11:36:26 +01:00
Simon Rozman
0ba186c984 Switch to SPDX license notice
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-01 08:37:10 +01:00
Simon Rozman
8affb4c95a Cleanup project files
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-01 08:37:10 +01:00
Simon Rozman
5b1c1fc23d Resolve charset .idtx/.idt confusion
NMake inline files are always created using ACP. The "1252" in the .idtx
header has no effect on this. However, we must encode the .idt files
using correct charset/codepage regardless the ACP being used on the
building machine.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 14:19:58 +01:00
Simon Rozman
8bf3810032 Silence Code Analysis warnings about unscoped enums
wxWidgets is using unscoped enums and should continue so for backward
compatibility.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-15 11:49:49 +01:00
Simon Rozman
625549838e Convert asserts to proper checks and log error
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-04-02 16:12:29 +02:00
Simon Rozman
165894247e Cleanup UPDATER_API
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-30 12:03:21 +02:00
Simon Rozman
924971bb3b Copyright: Bump year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-25 08:33:26 +01:00
Simon Rozman
e3c9b3aa62 Add copyright colophon to .rc files
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 11:10:07 +01:00
Simon Rozman
2084188819 Add UTF-8 BOM markers
MSVC needs them to use correct charset when Language for non-Unicode
programs is set to Windows-1252 or anything different than UTF-8.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 10:55:52 +01:00
Simon Rozman
67124a8434 Enable Windows 10 ARM64 support
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-14 23:57:35 +01:00
Simon Rozman
dc4cc1b22e Makefile: Optimize building
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 14:44:29 +01:00
Simon Rozman
8baf612a6c Switch to SHA-256 (phase 2)
We switched to a new update catalog file that is using SHA-256 hashes
and signatures.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 13:47:43 +01:00
Simon Rozman
e7617949b3 Reapply "Unify component GUIDs across platforms"
This reverts commit fbbf89ba55.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 13:21:24 +01:00
Simon Rozman
5c06968d76 Reapply "Unify component GUIDs across languages"
This reverts commit 278cce1b4c.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 13:21:24 +01:00
Simon Rozman
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
Simon Rozman
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
Simon Rozman
fbbf89ba55 Revert "Unify component GUIDs across platforms"
This reverts commit 4cd1196d14.

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
Simon Rozman
278cce1b4c Revert "Unify component GUIDs across languages"
This reverts commit caff629534.

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
Simon Rozman
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
Simon Rozman
51c7ed11c0 Address some additional code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 13:08:41 +01:00
Simon Rozman
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
Simon Rozman
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
Simon Rozman
e2cf7d09f8 Make wxUpdCheckThread::wxResult scoped enum
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 12:35:25 +01:00
Simon Rozman
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
Simon Rozman
154cd798e4 Extend copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 15:38:53 +01:00
Simon Rozman
4cd1196d14 Unify component GUIDs across platforms
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 12:16:20 +01:00
Simon Rozman
caff629534 Unify component GUIDs across languages
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 12:08:14 +01:00
Simon Rozman
e7954e7c73 MSI: Automate language-dependent folder property names
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 11:55:37 +01:00
Simon Rozman
e6c51e923f Make enum wxHexDecodeMode scoped
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 14:59:12 +01:00
Simon Rozman
62a7d4e715 Rename stdafx.h to pch.h
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 14:10:17 +01:00
Simon Rozman
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
Simon Rozman
5ae6dd56c2 Switch to Visual Studio 2019
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-19 11:50:06 +02:00
Simon Rozman
6fbcede83b Switch to Transifex project for localization 2018-09-19 12:02:34 +02:00
Simon Rozman
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
Simon Rozman
7d04dc2052 Update translation template 2018-09-19 09:06:57 +02:00
Simon Rozman
5bfe66bfbf Fix invalid filename report on error 2018-09-17 09:37:23 +02:00
Simon Rozman
c6b0ebd28e Add missing Updater public key to UpdCheck.exe resources 2018-09-17 09:05:46 +02:00
Simon Rozman
10c55e4ce9 Check HTTP status 200 before parsing the response 2018-09-17 08:58:02 +02:00
Simon Rozman
38238d1183 Extend copyright year 2018-09-07 23:51:15 +02:00
Simon Rozman
ab2ff99b0d Add UPDATER_BIN_DIR check 2018-09-07 23:21:14 +02:00
Simon Rozman
dcdbaa6483 Make Updater static library 2018-09-07 22:35:35 +02:00