Commit Graph

168 Commits

Author SHA1 Message Date
Simon Rozman
fc5f225a8c Cleanup project files
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-30 14:45:26 +01:00
Simon Rozman
5c50d5305c Unify DLL import/export constants with wxWidgets
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-30 14:45:22 +01:00
Simon Rozman
dde7026aec Retire Visual Studio 2010 support and merge 2017 and 2019 project files
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-30 14:45:22 +01:00
Simon Rozman
f6a4ef27e6 Update build year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 15:31:08 +01:00
Simon Rozman
3c2e59b56c Switch to SPDX license notice
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 12:59:54 +01:00
Simon Rozman
22acac44f1 Unify Windows.h inclusion
Windows.h must be included first and must be included with care
regarding WinSock.h and WinSock2.h affair.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-15 11:34:07 +01:00
Simon Rozman
13cd778359 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:32:06 +01:00
Simon Rozman
fcfe641d5c Copyright: Bump year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-25 08:35:52 +01:00
Simon Rozman
11638bb2b4 Add copyright colophon to .rc files
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 11:10:27 +01:00
Simon Rozman
bac7475aa7 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:39:05 +01:00
Simon Rozman
bc4651495a Remove *.opensdf from .gitignore
*.opensdf file is a VS2010 lock file for the .sdf database. Its presence
indicates an open VS2010 on the project. Should there be any unsaved
files in the VS2010 it is better the Git indicate this by noticing
.opensdf file presence.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 10:43:24 +02:00
Simon Rozman
c5836536e4 Add Romanian (Romania) locale stub
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 16:08:32 +02:00
Simon Rozman
d5593edd00 Makefile: Optimize building
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 22:48:33 +01:00
Simon Rozman
fe31be5466 Add multiple MSI packages support
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 18:34:52 +01:00
Simon Rozman
ee8591f6eb Address down-casting warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 10:39:18 +01:00
Simon Rozman
c64632b85f Pull translations from Transifex
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 10:14:03 +01:00
Simon Rozman
f3e208572f Add SHA-256 support
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-25 12:45:22 +01:00
Simon Rozman
5fa66f625d Address some additional code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 13:19:11 +01:00
Simon Rozman
45598f8ef8 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:16:30 +01:00
Simon Rozman
c22a5dd294 Unify platform designations
.sln uses the same as .vcxproj files

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-08 08:16:57 +01:00
Simon Rozman
c98e3b1ac8 Rename stdafx.h to pch.h
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 15:31:55 +01:00
Simon Rozman
7a891d945b Parameterize platform and language component GUIDs
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-10 09:52:18 +01:00
Simon Rozman
728b24a44a Remove excessive UTF-8 BOM marker
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-09 16:33:10 +01:00
Simon Rozman
28fa7a3d1f Simplify .vcxproj
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-09 10:09:25 +01:00
Simon Rozman
1a6899ed39 Annotate wxAppBar::MaximiseFromEdge() properly
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-04 12:02:14 +01:00
Simon Rozman
d115b5bd9f Suppress unscoped enum wxLanguage warning
wxWidgets declare enum wxLanguage as unscoped. Probably, it is futile to
change it into scoped upstream and break compatibility.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-04 12:02:14 +01:00
Simon Rozman
7f600693c2 Make enum wxHexDecodeMode scoped
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-04 12:02:14 +01:00
Simon Rozman
fb0277dbfb Make enum wxAppBarState scoped and enum wxAppBarFlags into constants
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-04 11:30:23 +01:00
Simon Rozman
c30b44bd80 Update Copyright and build year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:25:39 +01:00
Simon Rozman
ed20e872e9 Remove UTF-8 BOM
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-11-28 16:40:14 +01:00
Simon Rozman
23f8c36900 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-23 04:10:16 +02:00
Simon Rozman
bfa23771d9 Update translation templates
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-12 13:40:20 +02:00
Simon Rozman
306e91b3f6 Upgrade to compile with WIN32_LEAN_AND_MEAN
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 09:27:34 +02:00
Simon Rozman
a159be498b Add Visual Studio 2019 support
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 08:37:39 +02:00
Simon Rozman
5905beb49b Update translations and add Estonian translation 2018-11-06 16:23:06 +01:00
Simon Rozman
a87cb05ddc Silence the missing shcore.dll warning on Windows 7 2018-11-06 09:21:11 +01:00
Simon Rozman
a798474bdc Resolve warning popup when GetDpiForWindow() is not available
The GetDpiForWindow() Win32 API was introduced in User32.dll with
Windows 10. Since we have a fallback case when this API is not present,
avoid popping up the wxWidgets warning. Furthermore, performance was
improved by introducing a flag to prevent keep looking for
GetDpiForWindow() on each call.
2018-09-19 12:58:51 +02:00
Simon Rozman
45e847702e Switch to (independent) Transifex project for localization 2018-09-19 11:52:37 +02:00
Simon Rozman
958a4228b5 Update translation template 2018-09-19 09:02:19 +02:00
Simon Rozman
704b97944d Adjust to wxWidgets changes 2018-09-12 16:09:33 +02:00
Simon Rozman
5a912ebcc6 Honor monitor layout and DPI changes when persisting window placement 2018-09-11 15:32:06 +02:00
Simon Rozman
1b11ccf4a2 Extend copyright year 2018-09-07 23:48:41 +02:00
Simon Rozman
acb6ccfb53 Fix platform suffixes 2018-09-07 23:11:53 +02:00
Simon Rozman
d6445e458e Perist wxDialogs using new SaveGeometry() method 2018-09-07 20:31:01 +02:00
Simon Rozman
a49b49c3b0 Add support for ARM64 2018-09-07 09:10:55 +02:00
Simon Rozman
b161059855 Merge branch 'master' of https://github.com/Amebis/wxExtend 2018-09-05 13:25:49 +02:00
Simon Rozman
321e1c389e Merge branch 'master' of https://github.com/Amebis/wxExtend 2018-09-05 13:10:39 +02:00
Simon Rozman
50d97c2154 Remove MFC dependency 2018-09-05 13:10:27 +02:00
Simon Rozman
312ceb56cd Review implicit narrowing conversions
wxAppBarState can safely be static-casted to UINT.
2018-09-04 15:10:59 +02:00
Simon Rozman
37eae89d67 Tolerate RPC_E_CHANGED_MODE on COM initialization 2018-09-03 13:07:32 +02:00