Commit graph

40 commits

Author SHA1 Message Date
Sabine
fa9a66b3ec chore(developer): change mostly whitespace changes 2022-10-04 14:08:59 +02:00
Sabine
b6612c1470 chore(developer): new GetCompilerErrorString() used in AddCompileMessage() 2022-09-14 18:57:32 +02:00
Sabine
136b5b4148 chore(developer): removed several Windows-specific functions 2022-09-13 18:09:49 +02:00
Sabine
910ae7419a chore(developer): tidied up code 2022-09-12 16:31:43 +02:00
Sabine
fab2670c9e Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
# Conflicts:
#	developer/src/kmcmpdll/CheckForDuplicates.cpp
#	developer/src/kmcmpdll/Compiler.cpp
#	developer/src/kmcmpdll/NamedCodeConstants.cpp
conflicts solved
2022-09-08 17:01:40 +02:00
Sabine
9296e57398 chore(developer): tidied up code 2022-09-08 16:55:26 +02:00
Sabine
667c2fb89d chore(developer): removed all commentaries _S2 2022-09-08 16:18:32 +02:00
Sabine
a3c2956f47 chore(developer): tiedied up code 2022-09-08 15:20:28 +02:00
Sabine
9fc1c63783 Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
# Conflicts:
#	developer/src/kmcmpdll/Compiler.cpp
solved
2022-09-07 19:00:07 +02:00
Sabine
b9ba055e31 chore(developer): tidied up code 2022-09-07 18:39:34 +02:00
Sabine
271ca512b9 chore(developer): tidied up code 2022-09-07 17:37:56 +02:00
Sabine
097b9ed773 chore(developer): CheckFileNameConsistency changed to take KMX_WCHART const* (= wchar_t* const); used in compiler.cpp now 2022-08-25 12:21:44 +02:00
Sabine
1482f18a73 chore(developer): tidied up code (not finished yet) 2022-08-23 18:33:22 +02:00
Sabine
0595c2b3b4 chore(developer): replaced u16ncmp with u16nicmp at most places 2022-08-19 17:58:38 +02:00
Sabine
776d928785 chore(developer): tests using RTL run Ok ( changed RTu->RTL) 2022-08-19 08:01:50 +02:00
Marc Durdin
d9f8be05af chore(developer): fixup u16ncat 2022-08-12 18:12:12 +02:00
Sabine
d93462a0ae chore(developer): changef u16fmt 2022-08-12 17:06:56 +02:00
Sabine
bc5bf6971b chore(developer): fixed errors on running kmcompxtest 2022-08-12 16:46:10 +02:00
Sabine
d5d1cd7228 chore(developer): fopen 2022-08-12 16:04:49 +02:00
Sabine
56e4167e55 chore(developer): new functions e.g. string_from_wstring... 2022-08-12 15:32:07 +02:00
Marc Durdin
b2b3b81952 chore(developer): enable tests for keyboards repo for kmcompx 2022-08-11 17:30:20 +02:00
Sabine
ed0859c9a5 chore(developer): changed #includes ".." -> <..> 2022-08-11 15:37:03 +02:00
Sabine
80529075e7 chore(developer): removed doubled/overwritten functions 2022-08-11 14:57:26 +02:00
Sabine
f11c1b0db9 chore(developer): removed commented sections ( ** old **) if files 2022-08-11 14:31:33 +02:00
Sabine
b1428fbe96 chore(developer): chanched include of pch.h 2022-08-11 13:50:50 +02:00
Marc Durdin
38d3d97520
Merge branch 'refactor/core/move-kmx_file.h-to-common' into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION 2022-08-11 04:41:37 -05:00
Sabine
bc53a08489 chore(developer): tidied up vkeys.H / .cpp 2022-08-11 10:39:56 +02:00
Sabine
09f7eefeca fix(developer): solved linker errors 2022-08-11 08:47:02 +02:00
Sabine
9a21e0837c sorted out some #includes
renamed some functions to reduce ambiguity
2022-08-08 16:32:19 +02:00
Sabine
45d2bbe6d0 Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' of https://github.com/keymanapp/keyman into refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION
- moved new files( checkNCapsConsistency, etc) to kmcmpdll & used only from there
- use of VKeyNames in vkeys.h
- removed keyboardprocessor_... from kmcompx to kmcmpdll
2022-08-03 15:16:49 +02:00
Marc Durdin
6c12bbc6cd refactor(developer): fixup path to tests
tidied up +removed unnecessary files
checked contents of files+included a few new functions needed for myVersion
changed datatypes in CheckForDuplicates
tidy up more paths
CheckFileConsistency: not able to fully adapt for use of char16_t on non windows p.
	-> used char16_t + commented out some AddWarning().
2022-07-20 17:49:17 +02:00
Marc Durdin
da5fc1da2b chore: move headers and refs 2022-07-14 17:46:11 +10:00
Sabine
0a66df6914 changes in meson + include-paths of several files 2022-07-13 14:36:27 +02:00
Marc Durdin
9a3d11e9ff feat(developer): Option to skip embed of compiler version
If `-no-compiler-version` is specified, then we skip the embedding of
the `TSS_COMPILEDVERSION` and `TSS_KEYMANCOPYRIGHT` stores. This is
intended for use with regression test builds of keyboards when we want
to verify changes to the compiler.

This patch introduces the new export `SetCompilerOptions` in kmcmpdll,
which should make it easier to include new options like this in future
versions.
2022-07-11 12:01:13 +10:00
Marc Durdin
81b82b86e7
chore: Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-06-21 07:17:11 +10:00
Marc Durdin
d8f3a5598a chore(windows): move various headers to common
* moved ConvertUTF.h -> common/windows/cpp/include
* moved crc32.h -> common/windows/cpp/include
* moved keymansentry.h -> common/windows/cpp/include
* moved registry.h -> common/windows/cpp/include
* moved unicode.h -> common/windows/cpp/include
* moved xstring.h -> common/windows/cpp/include

and updated corresponding references. Deleted a bunch of old references
to missing headers from .vcxproj files. Updated vkeys.h and vkeys.cpp
references in .vcxproj to use $(KEYMAN_ROOT) instead of relative paths.
2022-06-12 13:18:45 +10:00
Marc Durdin
5119f8d808 chore(windows): merge vkeys.h and move to common
Moves vkeys.h to common, turns it into a proper header and adds
corresponding vkeys.cpp so that we don't include the data multiple times
in a project.

Removes duplication of vkeys.h in kmcmpdll and global/inc.

Updates all projects to reference the common files, except kmdecomp,
coming in the next commit, as it is more complex.
2022-06-12 07:18:36 +10:00
Marc Durdin
e5b31669af chore(developer): move and rename compiler.h
The name compiler.h was misleading, so renamed to legacy_kmx_file.h, as
it largely describes .kmx files. There are two declarations in the file
which are specific to kmcmpdll, at the bottom of the file, but
everything else is all related to the .kmx file format. (We may move
those in a future update to kmcmpdll, but that should wait until the
kmcmpdll cross-platform refactor is complete.)

Moved to common/windows/cpp/include/ because it is used by both
Developer and Windows projects.

Where possible, removed redundant references, as compfile.h includes
legacy_kmx_file.h anyway.
2022-06-12 06:31:38 +10:00
Marc Durdin
86de748219 chore(windows): remove unused onlineconstants.h 2022-06-11 10:43:28 +10:00
Marc Durdin
a160a5c709 chore(developer): move source files to /developer/src 2022-05-18 10:34:48 +10:00
Renamed from windows/src/developer/kmcmpdll/Compiler.cpp (Browse further)