Commit graph

41 commits

Author SHA1 Message Date
Sabine
de7b654428 feat (mac): set OPtimize Option to -O2; resolve problem in UCKeyTranslate: check noErr only after 2nd use of UCKeyTranslate 2024-10-02 17:38:20 +02:00
Sabine
5ea67fc4a4 chore (mac): marked another possible C++ -O1, -O2, -O3 standard-compliant problem using UCKeyTranslate 2024-09-18 10:59:16 +02:00
Sabine
335bfb7115 chore (mac): replace UniCharCount with const UniCharCount in datatype for maxStringlength 2024-09-17 18:36:27 +02:00
Sabine
e449437146 chore (mac): catch possible overflow of dk array; check for noErr in status = UCKeyTranslate(...) 2024-09-17 14:14:27 +02:00
Sabine
c045b94429 chore (mac): remove argc, use VK_SPACE, use _countof() 2024-09-13 09:50:42 +02:00
Sabine
6a8c815c7c chore (mac): remove (w)main for windows/Linux; define arrays+variables in *.cpp and declare as extern in *.h 2024-09-12 17:34:59 +02:00
Sabine
23c66922ce chore(mac): change bitmapoffset + bitmapsize to prevent buffer problems 2024-09-09 18:09:15 +02:00
Sabine
e889fd8e7b refactor(mac): use km_types from common 2024-08-14 14:09:58 +02:00
Sabine
53ece797ba feat(mac): swapped comments 2024-08-06 10:58:28 +02:00
Sabine
365d62ea30 feat(mac): include comments from PR 12065 2024-08-02 12:18:11 +02:00
Sabine
eae766673e feat(mac): ensureValidInputForKeyboardTranslation 2024-07-19 12:02:44 +02:00
Sabine
06d078336b feat(mac): remove all _S2 2024-07-19 11:21:34 +02:00
Sabine
e545402ab5 feat(mac): resolve conflicts 2024-07-18 19:33:58 +02:00
Sabine
e29c51c1e9 Merge branch 'feat/mac/mcompile-rework-keymap' into feat/mac/mcompile_mac
# Conflicts:
#	mac/mcompile/mc_import_rules.h
#	mac/mcompile/mcompile.h
2024-07-18 19:25:06 +02:00
Sabine
3528e7160e Merge branch 'feat/mac/mcompile_mac' of https://github.com/keymanapp/keyman into feat/mac/mcompile_mac
# Conflicts:
#	mac/mcompile/keymap.cpp
#	mac/mcompile/keymap.h
#	mac/mcompile/mc_import_rules.cpp
#	mac/mcompile/mc_import_rules.h
#	mac/mcompile/mc_kmxfile.h
#	mac/mcompile/mcompile.cpp
#	mac/mcompile/mcompile.h
#	mac/mcompile/util_filesystem.cpp

Signed-off-by: Sabine <Sabine_SIL@web.de>
2024-07-18 16:01:32 +02:00
Sabine
a9479927c3 feat(mac): still layout stuff 2024-07-16 10:50:02 +02:00
Sabine
927154cebb # This is a combination of 8 commits.
# This is the 1st commit message:

feat(mac): remove unused func

# This is the commit message #2:

feat(mac): edit, remove unused code

# This is the commit message #3:

feat(mac): more edit

# This is the commit message #4:

feat(mac): comments keymap

# This is the commit message #5:

feat(mac): comments importRules

# This is the commit message #6:

feat(mac): comments

# This is the commit message #7:

feat(mac): more comments

# This is the commit message #8:

feat(mac): adapt data types return para
2024-07-16 10:43:48 +02:00
Sabine
96870c4926 feat(mac): comments from all other PR 2024-07-11 13:56:24 +02:00
Sabine
70b232a95b feat(mac): comments from #9384 2024-07-10 15:59:57 +02:00
Sabine
48f98cdce9 feat(mac): format documents 2024-07-10 12:54:38 +02:00
Sabine
1c0a44f2b0 feat(mac): add module, fun-comments 2024-07-10 12:31:26 +02:00
Sabine
4040e95e0c feat(mac): implement comments of PR9384 on keymap 2024-07-05 17:14:42 +02:00
Sabine
f47a037a59 feat(mac): implement comments of PR9384 2024-07-05 15:54:45 +02:00
Sabine
71a5226291 feat(mac): function header comments mcompile.cpp, mc_import_rules.cpp, keymap.cpp 2024-06-10 16:54:48 +02:00
Sabine
b2d9e96488 feat(mac): tidy up code:
fixes #11334
use shiftstates consistently;
map shiftstates to mac shiftstates(mac, rgkey, win);
remove unneccessary functions;
rename functions to have more systematic
consolidate order of parameters in functions;
rename variables (casing), and also to clarify shiftstates;
handle unused positions in USVirtualKeyToScanCode+ScanCodeToUSVirtualKey;
use util_filesystem.cpp/h from Keyman instead of my own filesystem.cpp/h;
remove deadkey.cpp/h;
2024-06-07 11:41:32 +02:00
Sabine
cc8cb5de59 feat(mac): tidy up code:
use shiftstates consistently;
map shiftstates to mac shiftstates(mac, rgkey, win);
remove unneccessary functions;
rename functions to have more systematic
consolidate order of parameters in functions;
rename variables (casing), and also to clarify shiftstates;
handle unused positions in USVirtualKeyToScanCode+ScanCodeToUSVirtualKey;
use util_filesystem.cpp/h from Keyman instead of my own filesystem.cpp/h;
remove deadkey.cpp/h;
2024-06-07 11:17:00 +02:00
Sabine
362097da93 feat(mac): work on K_84 <-> K_221 for ~ 2024-05-21 14:45:14 +02:00
Sabine
69a60c9075 feat(mac): massive tidy up 2024-05-17 17:45:58 +02:00
Sabine
4a5e4579c8 feat(mac): fill alDead OK 2024-05-17 16:47:23 +02:00
Sabine
b90abe6761 feat(mac): dk: mapping of shiftstates 2024-05-13 20:37:49 +02:00
Sabine
456b851366 feat(mac): set dk to 0 2024-05-07 17:08:43 +02:00
Sabine
6d0bb71f6e Revert "feat(mac): adapt mac_KMX_get_KeyVal_From_KeyCode to use for dk"
This reverts commit 4aa217266fc3812b182aa71077c39bec237165a9.

# Conflicts:
#	mac/mcompile/keymap.cpp
feat(mac): tidy up
2024-05-07 17:08:43 +02:00
Sabine
0ebc1013af feat(mac): mac_KMX_ConvertDeadkey mostly finished
feat(mac): adapt mac_KMX_get_KeyVal_From_KeyCode to use for dk

feat(mac): adapted mac_KMX_ConvertDeadkey

feat(mac): tidy up
2024-05-07 17:06:52 +02:00
Sabine
c206128c8b feat(mac): start dk fill All_Vector with dk 2024-05-06 21:08:42 +02:00
Sabine
7b05fa7b70 feat(mac):finish filling rgkey[] for non-deadkey
feat(mac): mcompile new X_find_Shiftstates to verify shiftstates

feat(mac): mcompile fill rgkey for base, shift, opt, shift+opt including CAPS

feat(mac): mcompile fill rgkey prevent writing x01 into rgkey[]

feat(mac): mcompile tidy up code
2024-05-02 12:39:03 +02:00
Sabine
c19d0bea5b feat(mac): mcompile opened all non-deadkey-functions
feat(mac): mcompile tidy up
2024-05-02 12:39:03 +02:00
Sabine
7d42f66a68 feat(mac): open all functions that are easy to open
feat(mac): open more functions

feat(mac): open DoConvert-InitializeUCHR

feat(mac): open write_US_ToVector

feat(mac): (temporarily) add mac_ to function names to be able to distinguish between linux-functions and mac functions if needed

feat(mac): finished mac_createOneVectorFromBothKeyboards()

feat(mac): started DoConvert

feat(mac): mcompile tidy up
2024-05-02 12:39:03 +02:00
Sabine
11e7ddee78 feat(mac): open run() 2024-05-02 12:39:03 +02:00
SabinePlay
b2072483bc feat(mac): new get_keyval_From_Keycode()
feat(mac): include km_types and u16

feat(mac): include filesystem and some kmx

feat(mac): include old functions in keymap

feat(mac): include kmx_file, mc_kmxfile

feat(mac): include deadkey, filesystem, km_types, import_rules,mc_kmxfile

feat(mac): include functions in mcompile.cpp/h

feat(mac): #includes out to be used
2024-05-02 12:38:46 +02:00
SabinePlay
d0e1467613 feat(mac): some edits 2024-05-02 11:18:42 +02:00
SabinePlay
3ccaee0af9 feat(mac): mcompile setup minimal VSCode project 2024-04-18 11:12:57 +02:00