Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
2ec23c8a83 [Windows] Reapply patch for global debug log flag 2018-10-19 05:45:55 +11:00
Marc Durdin
b395f7b122 [Windows] Remove USE_SERIALEVENTSERVER define 2018-10-19 05:34:48 +11:00
glasseyes
65aa58b109 WIP: kmpdetails experiments 2018-10-18 16:49:48 +07:00
glasseyes
5de6f9ad2b [linux] rename more to ibus-keyman 2018-10-18 16:49:48 +07:00
Marc Durdin
9d356f681a [Windows] Remove various paths from debug backup (fixes duplicate pdb in test folders error) 2018-10-18 20:14:08 +11:00
Marc Durdin
738e1946a6 [Windows] Debug logging and proof of concept tests for keyboarding support within metro-style apps
[Windows] More tidyup and robustness for metro app support - debug cleanup and serialization of input (not quite finished)

[windows] Refactor serialized input code when used with key event thread model

[windows] Add consistent precompiled headers for other projects

[windows] Merge console window test into metro support

[Windows] Tidy up work and identify additional TODOs for metro-style app support

[Windows] Ensure error case falls through to default hook processing for console windows

[Windows] Refactor shared memory into memory mapped file so we can cross 32-64 bit boundary

[Windows] Tweaks to C++ security calls and parameters

[Windows] Start refactor of SerialKeyEvent* classes

[Windows] Rename to SerialKeyEventServer (refactoring)

[Windows] Complete refactoring of SerialKeyEventClient class

[Windows] Further encapsulation and cleanup with 'interfaces' to reduce header pollution

[Windows] Complete serialization fix with move of modifier state management from client thread to server thread to guarantee consistency

[Windows] Replace atom-based keyboard switching with memory mapped file indexed to avoid security constraints

[Windows] Fixup Left Alt+Shift interaction with serializer

[Windows] Use Windows 8.1 SDK for test
2018-10-18 20:00:49 +11:00
Tim Eves
b3ac445959 Python API context item fixes 2018-10-18 15:02:11 +07:00
Tim Eves
a20251395a Fix Python status code to exception translation. 2018-10-18 15:01:49 +07:00
Tim Eves
f8f7280aad Move the python API modules into a python subdir and module heirachy 2018-10-18 14:44:32 +07:00
Tim Eves
4807594c43 Add envar PYKMNKBP_LIBRARY_PATH to allow ctypes load a particular SO/DLL
Also fix up a number of types in fucntion names and the KM_API macros to 
mark functions as exportable.
2018-10-18 14:42:06 +07:00
Tim Eves
e0ad390983 Harmonise spell of options collections to options_set consistently.
The type was called km_knp_option_set but the functions we called 
km_kbp_options_set_*
2018-10-18 14:38:11 +07:00
Tim Eves
f78216a698 Add DLL/SO export controls 2018-10-18 09:35:20 +07:00
Marc Durdin
6af65795f0
Merge pull request #1261 from keymanapp/windows-etw-debug-logs
[Windows] Refactor Windows debug logging to use Event Tracing for Windows
2018-10-17 20:14:00 +11:00
glasseyes
192d6c9ae5 [linux] clean keyman-config before launchpad build 2018-10-17 13:14:17 +07:00
glasseyes
a8b239498e Merge branch 'master' into linux-ibus-keyman 2018-10-17 13:11:31 +07:00
glasseyes
73aeab3190 Merge branch 'keyboardprocessor-api' into linux-ibus-keyman 2018-10-17 13:11:04 +07:00
Tim Eves
6fa6c94e42 Basic Python ctypes module mirror C API 2018-10-17 10:03:49 +07:00
Tim Eves
e9203e9cf4 Fix FTBFS errors with shadowing: Use qualified names where aproopriate. 2018-10-17 10:01:55 +07:00
Tim Eves
64d3263a8b Fix typos in vkeys header 2018-10-17 10:00:49 +07:00
Tim Eves
c848236a09 Implement get_engine_attrs call 2018-10-17 09:24:45 +07:00
Tim Eves
5d1c2fe6ea Add some very basic documentation on building 2018-10-17 08:46:57 +07:00
Tim Eves
4542897685 Implement simple dumb keyboard for testing. 2018-10-17 08:46:23 +07:00
Tim Eves
d19a1d5aea Fix internal headers to add missing multiple include guards. 2018-10-17 08:45:29 +07:00
Tim Eves
8d14bbb76a Pull very long vkeys definitions out of api header for readability 2018-10-17 08:44:33 +07:00
Tim Eves
9acd2ddd19 Add keyboard virtualkey enums to the API mirroring windows codes. 2018-10-17 02:22:32 +07:00
Marc Durdin
290974f583 [Windows] etw polish 2018-10-17 06:10:26 +11:00
Marc Durdin
3c280a72fa [Windows] Remove errant ampersands 2018-10-17 06:03:38 +11:00
Marc Durdin
dde1f67024 [Windows] Document ETW 2018-10-17 05:54:16 +11:00
Marc Durdin
14a01396e3 [Windows] Fixup modifier state for Message Analyzer 2018-10-16 17:26:45 +11:00
Marc Durdin
d25cc636f1 [Windows] Add event manifest to Keyman Engine installer 2018-10-16 11:10:33 +11:00
Marc Durdin
2d9861684a [Windows] Fixup test_klog 2018-10-16 10:39:10 +11:00
Marc Durdin
b3b5c244ea [Windows] Refactor Windows debug logging to use Event Tracing for Windows 2018-10-16 10:23:54 +11:00
Eddie Antonio Santos
f8e6268b03
Use TypeScript class definitions. 2018-10-15 13:30:32 -06:00
Eddie Antonio Santos
daa73717d0
Add paragraph on late suggestions. 2018-10-15 13:22:33 -06:00
Eddie Antonio Santos
c98439968e
Attempt to make things more worky. 2018-10-15 09:54:50 -06:00
Eddie Antonio Santos
630604c678
Forget tsconfig.browswer.json. 2018-10-15 09:45:31 -06:00
Eddie Antonio Santos
550b770ebc
Attempt to create a browser config. Following: https://medium.com/collaborne-engineering/typescript-create-library-for-nodejs-and-browser-fece291d517f 2018-10-15 09:37:25 -06:00
Eddie Antonio Santos
274c1d9a68
Start making interface for predictive text. 2018-10-15 09:30:51 -06:00
Eddie Antonio Santos
46aaad3c67
Minor changes all around. 2018-10-15 09:09:59 -06:00
Eddie Antonio Santos
6b79af9362
Use new suggestion format. 2018-10-12 14:57:56 -06:00
Eddie Antonio Santos
00cf193a01
Port lmlayer.js to TypeScript. 2018-10-12 14:52:56 -06:00
Eddie Antonio Santos
fbb6e82589
Convert Ava test to TypeScript. 2018-10-12 14:22:51 -06:00
Eddie Antonio Santos
6cf8e30d86
Move Context to message interfaces. 2018-10-12 14:06:54 -06:00
Eddie Antonio Santos
7f1e330c1e
Document SuggestionMessage. 2018-10-12 14:04:13 -06:00
Eddie Antonio Santos
b67e219056
Document existing interfaces. 2018-10-12 13:56:29 -06:00
Eddie Antonio Santos
4a7a0f5f74
Split the message interfaces to their own file. 2018-10-12 13:27:26 -06:00
Eddie Antonio Santos
2f2ca71ade
Misc cleanup in TypeScript sources. 2018-10-12 13:14:01 -06:00
Eddie Antonio Santos
91d7d4c69c
Extract common interfaces. 2018-10-12 13:07:58 -06:00
Eddie Antonio Santos
4b7f828d59
Convert index.js to TypeScript. 2018-10-12 12:33:01 -06:00
Eddie Antonio Santos
0162abbdc2
Added an example of the API. 2018-10-12 11:28:05 -06:00