Commit graph

60 commits

Author SHA1 Message Date
Sabine
3d1972bd4f feat(developer): add tests for validate() 2025-07-11 10:40:07 +02:00
Sabine
558676c3ed feat(developer): concatenating path for makePathToFixture 2025-07-09 15:14:36 +02:00
Sabine
761403c782 feat(developer): remove unnecessary code 2025-07-09 08:00:55 +02:00
SabineSIL
485b47226e
Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-validateKeylayout 2025-07-08 15:46:09 +02:00
Sabine
042a6a53f7 feat(developer): adapt path in makePathToFixture 2025-07-08 12:21:03 +02:00
Sabine
979d74887d feat(developer): failing test write(): convert() use correct filepath 2025-07-08 11:35:02 +02:00
Sabine
59cf3a00d1 feat(developer): changes in makePathToFixture in tests 2025-07-08 09:07:58 +02:00
Sabine
16696496c4 feat(developer): include create_schems.sh and configure in build.sh 2025-07-07 19:48:19 +02:00
Sabine
6d850f9710 feat(developer): remove fixup-keylayout-schema 2025-07-07 11:47:28 +02:00
Sabine
de9820d3c0 feat(developer): validation OK 2025-07-04 19:13:52 +02:00
Sabine
0e69f91940 feat(developer): merged changes from 12564 into feat/developer/kmc-convert-validateKeylayout branch
remove #text: first idea
2025-07-03 18:12:23 +02:00
Sabine
cebbda981f Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-validateKeylayout
# Conflicts:
#	developer/src/common/web/utils/src/xml-utils.ts
#	developer/src/kmc-convert/src/converter-messages.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/keylayout-file-reader.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/keylayout-to-kmn-converter.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/kmn-file-writer.ts
2025-07-03 11:54:41 +02:00
Sabine
70965c0dfe feat(developer): validate: edit xsd-file-> validates files OK 2025-07-02 14:51:18 +02:00
Sabine
855ae40579 feat(developer): set timeout to 10000 ms for tests of the run() function 2025-06-27 14:02:31 +02:00
Sabine
c0d64f82a8 feat(developer): remove my own tests 2025-06-27 11:23:47 +02:00
Sabine
5984b15d51 feat(developer): input filenae - remove process.cwd(), create outputFilename from inputFilename 2025-06-27 10:21:49 +02:00
Sabine
072ecbe97b feat(developer): work on comments of PR 12564: replace if/else with array; change in util.ts to prevent NFD characters to be omitted 2025-06-25 15:25:42 +02:00
Sabine
e345798b4b feat(developer): work on more comments:
- make convert() private
- 2 new versions of write()
- tests for new versions of write()
- use keyman verion number
- remove process.cwd from keylayout-file-reader.ts
- add ERROR_UnsupportedCharactersDetected
2025-06-24 17:30:49 +02:00
Sabine
b400d57701 feat(developer): kmn-file writer print out UnicodeCharacters, edit tests using ConverterMsg;new func convertToUnicodeCharacter() with tests 2025-05-26 14:12:45 +02:00
Sabine
00158fdeee feat(developer): readme; add keylayout to schema-bundler.js; remove comments in create_keylayout_schema.sh 2025-05-21 11:20:25 +02:00
Sabine
ebd1514c51 feat(developer): validation create keylayout.schema.json 2025-05-19 15:30:04 +02:00
Sabine
6193f392b6 feat(developer): used_key_count, start change throw Error-> callbacks.reportMessage, change header of file 2025-05-14 11:08:09 +02:00
Sabine
ab46494934 feat(developer): edit comments in file header, edit layout of error msg 2025-05-12 18:21:29 +02:00
Sabine
b2413a9d76 feat(developer): change xml version 2025-05-05 19:38:37 +02:00
Sabine
cb795f2b5d feat(developer): use callback for error msg 2025-04-22 18:56:01 +02:00
Sabine
a10849b939 feat(developer): replace empty output in test.keylayout 2025-04-16 17:31:12 +02:00
Sabine
94d3e542eb feat(developer): use test.keylayout in all tests; use single paths instead of relative path for test/data 2025-04-16 17:22:35 +02:00
Sabine
ca3697b7c2 feat(developer): create our own test.keylayout and use it in tests 2025-04-16 14:07:28 +02:00
Sabine
60f588e996 feat(developer): delete interface rule_object; unversion and move testfiles to test/data; use constants to specify folder 2025-04-15 17:38:43 +02:00
Sabine
b8e4a79211 feat(developer): use NodeAssert.rejects for tests of run() only; other tests changed back to before 2025-04-08 19:53:21 +02:00
Sabine
2a2b214e7f feat(developer): use chai-as-promised instead of { assert } from 'chai' 2025-04-04 18:30:06 +02:00
Sabine
91bdddf714 feat(developer): move convertToUnicodeCodePoint to util.ts 2025-04-03 16:04:22 +02:00
Sabine
ba12920195 feat(developer): move tests for kmn-file-writer and keylayout-file-reader in separate testfiles 2025-04-03 15:10:19 +02:00
Sabine
c08642f569 feat(developer): move read() and write() to modules 2025-04-02 17:20:56 +02:00
Sabine
e3e8874091 feat(developer): rename test files according to new standard 2025-03-31 17:50:10 +02:00
Sabine
0fe56a4d88 feat(developer): change use of Backslash as Path Separator; remove all markers 2025-03-31 10:07:05 +02:00
Sabine
c9570b5011 feat(developer): order of modifiers, final check prevent unwritten rule in rare cases 2025-03-27 18:25:14 +01:00
Sabine
7315f6cb35 feat(developer): enable use without specified output file name 2025-03-26 15:53:35 +01:00
Sabine
56c21bd897 feat(developer): add several .keylayout files to git; rearrange methods 2025-03-26 14:21:37 +01:00
Sabine
647fb0afcf feat(developer): remove markers, checkIfCapsIsUsed for upper/lower/mixed case case 2025-03-24 15:36:08 +01:00
Sabine
b36b0f6dc6 feat(developer): add test for converter 2025-03-21 16:42:35 +01:00
Sabine
cdada430ee feat(developer): review, tidy up 2025-03-20 18:01:25 +01:00
Sabine
169cad76b1 feat(developer): print codepoints instead of numeric character ref. and check for control characters 2025-03-18 14:17:36 +01:00
Sabine
454b0359cb feat(developer): add semicolon where needed; function names 2025-03-17 16:25:32 +01:00
Sabine
794db98409 feat(developer): comment out first occurance+write out later occurance of a rule
if a rule is ambiguous i.e. if it is a C0/C1 rule and has an abiguous C2 or C3 rule we comment out the C0/C1 rule and only use the C2 or C3 rule
c WARNING  + [CAPS K_EQUAL]  > 'ì'  (C0/C1)
+ [CAPS K_EQUAL]  >  dk(A3)				  (C2 or C3)
2025-03-17 11:04:13 +01:00
Sabine
3bd2c5e9fd feat(developer): more tests for kmc-convert 2025-03-06 13:12:01 +01:00
Sabine
3bbbc91531 feat(developer): tests for kmc-convert 2025-03-05 18:36:10 +01:00
Sabine
f3f7155982 feat(developer): start function comments and tests 2025-02-27 16:31:52 +01:00
Sabine
958373e310 feat(developer): kmc-convert use object for writing out all rules 2025-01-15 09:31:51 +01:00
Sabine
a12f5113db feat(developer): kmc-convert pstart rint deadkeyed and deadkeyables 2024-12-17 08:01:31 +01:00