Sabine
197bd6cee3
chore(developer): use char16_t in CheckFileNameConsistency
2022-11-02 16:48:11 +07:00
Sabine
55d2554797
chore(developer): change remaining old datatype-names to new names ( e.g. char -> KMX_CHAR )
2022-10-14 13:59:11 +02:00
Sabine
f74e69682d
chore(developer): add some more keyboardtests
2022-10-13 17:13:43 +02:00
Sabine
aeb000fbd3
chore(developer): add Message CERR_InvalidCharacter to UTF16TempFromUTF8() ; change #include <> -> ""
2022-10-12 17:05:48 +02:00
Sabine
a6870f0816
chore(developer): re-include AddCompilerVersionStore in Compiler.cpp
2022-10-11 16:41:07 +02:00
Sabine
2738052264
chore(developer): check for '_' after Errornumber in Filename
2022-10-06 16:38:49 +02:00
Sabine
d879761de7
chore(developer): change ErrExtra, change CompileMsg, change _finddata in FileExists
2022-10-06 16:33:52 +02:00
Sabine
b9acd28703
chore(developer): remove python from meson.build
2022-10-05 17:06:18 +02:00
Sabine
6b11fff8a9
chore(developer): revert changes in AddCompileMessage, tidy up CreateTempFile
2022-10-05 17:04:50 +02:00
Sabine
4536dbfc91
chore(developer): include check for correct Filename + rename var + change whitespace changes
2022-10-04 14:22:08 +02:00
Sabine
fa9a66b3ec
chore(developer): change mostly whitespace changes
2022-10-04 14:08:59 +02:00
Sabine
4141b90c33
chore(developer): move CERR-tests into test/keyboards/invalid
2022-10-03 15:50:58 +02:00
Marc Durdin
f9b4f3d173
Merge branch 'refactor/developer/6026-kmcompx-compiler-cross-platform-part-2-NEW_VERSION' into chore/merge-master-into-kmcompx
2022-09-20 11:06:55 +10:00
Marc Durdin
9f290cac21
chore(developer): Merge branch 'master' into chore/developer/server-update-multer-dependency
2022-09-20 10:16:46 +10:00
Marc Durdin
3d61d18371
chore(developer): update multer dependency for server
...
Removes Keyman Developer Server's transitive dependency on dicer by
updating multer to `1.4.5-lts.1`, which updates its dependency on
busboy.
See
https://github.com/expressjs/multer/pull/1097#issuecomment-1141286771
for reasoning behind use of `-lts.1` rather than a full release
version.
At some point in the future, multer will publish a full release with
this fix, at which point we can move back to a full release version.
2022-09-19 12:36:51 +10:00
dependabot[bot]
93ec6106e1
chore(deps): bump nanoid and mocha
...
Bumps [nanoid](https://github.com/ai/nanoid ) and [mocha](https://github.com/mochajs/mocha ). These dependencies needed to be updated together.
Removes `nanoid`
Updates `mocha` from 8.4.0 to 10.0.0
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v10.0.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
- dependency-name: mocha
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 21:06:23 +00:00
Sabine
92c5c01e95
chore(developer): move tests (for ErrorMessages) to common/test/keyboards
2022-09-16 20:22:51 +02:00
Sabine
852400b848
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/kmcompx/.gitignore
2022-09-16 16:33:24 +02:00
Sabine
5b1226ff6a
chore(developer): changed gitignore
2022-09-16 16:28:48 +02:00
Sabine
2c2de8b0f0
chore(developer): changed gitignore
2022-09-16 07:52:17 +02:00
Sabine
bc6779cd75
chore(developer): adapted kmcompxtest to test kmn-files that have errors included
2022-09-16 06:58:57 +02:00
Sabine
4ede5db0a2
chore(developer): removed CWARN/CHINT out of CompMsg
2022-09-16 06:56:56 +02:00
Sabine
b6612c1470
chore(developer): new GetCompilerErrorString() used in AddCompileMessage()
2022-09-14 18:57:32 +02:00
Sabine
a667b36f11
chore(developer): removed unused datatype typedefs
2022-09-14 18:43:12 +02:00
Sabine
136b5b4148
chore(developer): removed several Windows-specific functions
2022-09-13 18:09:49 +02:00
Marc Durdin
ea902d2f1c
Merge pull request #7225 from keymanapp/fix/developer/7028-touch-layout-desktop-view-has-broken-format
...
fix(developer): hide key-sizes when in desktop layout in touch layout editor
2022-09-13 11:31:15 +10:00
Sabine
910ae7419a
chore(developer): tidied up code
2022-09-12 16:31:43 +02:00
Marc Durdin
bd48ba646b
Merge pull request #7219 from keymanapp/fix/developer/7216-suppress-repeated-warnings-unreachable-code
...
fix(developer): suppress repeated warnings about unreachable code
2022-09-12 11:18:54 +10: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
129bc242bd
chore(developer): tidied up code
2022-09-08 15:37:03 +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
bfc1f681da
chore(developer): CheckFNConsuistency: called u16printf with f´different par.
2022-09-07 15:44:03 +02:00
Marc Durdin
f96e3493af
fix(developer): hide key-sizes when in desktop layout in touch layout editor
...
Fixes #7028 .
Note that the desktop layout is not currently used by KeymanWeb. The
designer has a number of additional issues, as the .keyman-touch-layout
format is not well suited to describing a fixed hardware layout, but
fixing this is outside the scope of this issue.
2022-09-07 11:13:22 +10:00
Marc Durdin
c98fb89b86
fix(developer): suppress repeated warnings about unreachable code
...
Fixes #7216 .
The warning message 0x209A 'The rule will never be matched because its
key code is never fired.' was being generated multiple times for a
single line because the `JavaScript_Key` function it is generated by is
used for various purposes.
This PR keeps a cache of reported key rules to ensure that the message
is reported only once for a given key rule, and also improves the
reporting to clarify which specific key is unreachable, which makes it
easier to diagnose when using `any(k)` style messages, for example:
```
lao_phonetic.kmn (237): Warning: 209A The rule will never be matched for key 'ñ' because its key code is never fired.
```
This also reduces the warning to a hint, as this should not be a
blocking issue for a keyboard, rather just a place the keyboard author
can tidy up.
2022-09-07 06:02:46 +10:00
Sabine
c3be2ba6da
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/CheckFilenameConsistency.cpp
# developer/src/kmcmpdll/CheckFilenameConsistency.h
chore(developer): solved conflicts
2022-09-06 18:46:40 +02:00
Sabine
2c6726974a
chore(developer): Win-functions in FileNameConsistency
2022-09-06 17:44:18 +02:00
Sabine
143ad3f206
chore(developer): Win-functions in FileNameConsistency
2022-09-06 17:23:09 +02:00
Marc Durdin
75139ed919
fix(developer): compiler mismatch on currentLine
...
Fixes #7122 .
The compiler was updating currentLine when checking for unreachable
rules, but not restoring it afterwards. This led to mismatches in the
debugger and in compiler warnings.
2022-09-02 17:15:27 +10:00
Marc Durdin
5dc5b9325c
Merge pull request #7000 from keymanapp/chore/developer/keymanweb-compiler-remove-unused-dependencies
...
chore(developer): remove unused dependencies from KeymanWeb compiler 🛩
2022-08-29 14:48:46 -05:00
Sabine
1ec6f8a6d1
chore(developer): excluded some tests from kmcompxtest (use get_test_source_exclude_some_kmn.bat now)
2022-08-27 11:26:26 +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
52d6629d58
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/CheckNCapsConsistency.cpp
# developer/src/kmcmpdll/UnreachableRules.cpp
# developer/src/kmcmpdll/kmcmpdll.h
solved conflicts ( were only blanc lines)
2022-08-24 16:06:52 +02:00
Sabine
ec534ca898
chore(developer): removed #pragma once from wrong places, edited #includes
2022-08-24 16:01:06 +02:00
Sabine
296006de99
chore(developer): removed #pragma once from wrong places, edited #includes
2022-08-24 15:34:22 +02:00
Sabine
1482f18a73
chore(developer): tidied up code (not finished yet)
2022-08-23 18:33:22 +02:00