Граф коммитов

200 Коммитов

Автор SHA1 Сообщение Дата
Robo d0f4fb507b
fix: opt-out for nogc finalizer change (#59)
* fix: opt-out for nogc finalizer change

* chore: bump 3.3.5
2024-04-16 15:51:40 +00:00
Raymond Zhao 588ae96dbc
chore: update node versions and APIScan fields (#57) 2024-02-29 11:47:16 -08:00
Alexandru Dima 33954656d6
Exclude the chromium source code from PoliCheck (#55)
* Exclude the chromium source code from PoliCheck

* Try to workaround build issue

* YAML FTW

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2024-01-22 07:51:27 -08:00
Alexandru Dima 2901d97846
Fix CI (#56)
* Fix CI

* Try to workaround node-gyp issue
2024-01-22 14:25:49 +01:00
Robo 07180d3267
chore: skip reporting C4244 as error (#52)
* chore: skip reporting C4244 as error

* chore: bump 3.3.4
2023-04-24 07:41:40 +02:00
Raymond Zhao f30d84e7a6
3.3.3 (#51) 2023-03-07 16:04:02 -08:00
Raymond Zhao 4cae698237
fix: Use SpectreMitigation attribute (#50) 2023-03-06 16:58:24 +00:00
Alexandru Dima 796e0f3c1f
Add `batch:true` to pipeline (#49) 2023-03-02 14:23:06 +01:00
Raymond Zhao 84d39f84e9
chore: add more flags for Binskim (#48) 2023-02-15 02:28:02 +09:00
Alexandru Dima 089d802efd
improve .npmignore (#47) 2022-11-22 17:10:08 +01:00
Alexandru Dima 3426e99e85
v3.3.2 (#46) 2022-11-22 16:42:45 +01:00
Ladislau Szomoru 998d8f0e70
Merge pull request #45 from microsoft/alexd/youthful-cow
add pipeline
2022-11-22 10:50:37 +01:00
Alex Dima f80feaf196
add pipeline 2022-11-21 16:42:43 +01:00
Alexandru Dima 0f8cb001fd
Fallback to using the debug build (#42)
Add fallback to load the debug build
2022-08-04 11:50:17 +02:00
Alexandru Dima d5e74b6ba6
Merge pull request #41 from DJm00n/patch-1
Update keyboard_win.cc
2022-04-19 12:26:01 +03:00
Dimitriy Ryazantcev e5be860957
Update keyboard_win.cc
update link
2022-04-15 17:03:44 +03:00
Alex Dima 5f0699ded0
3.3.0 2022-03-08 09:42:03 +01:00
Alexandru Dima 6f808a4bf0
Merge pull request #39 from microsoft/tyler-add-cf-and-qspectre-flags
add cf and qspectre flags
2022-03-08 09:40:48 +01:00
Alexandru Dima ca9a752d60
Merge branch 'main' into tyler-add-cf-and-qspectre-flags 2022-03-04 19:17:18 +01:00
Alexandru Dima e43eefbce5
Merge pull request #40 from microsoft/robo/fix_ci
ci: fix support for vs 2022 toolchain
2022-03-04 19:16:56 +01:00
deepak1556 b26e23491b ci: fix support for vs 2022 toolchain 2022-03-03 19:26:21 +09:00
Tyler Leonhardt 3ebcbed1b1
remove ExceptionHandling 2022-03-02 08:45:43 -08:00
Tyler Leonhardt 5ec5b1626e
add cf and qspectre flags 2022-03-01 15:55:42 -08:00
Alex Dima 5523bb6756
3.2.1 2022-02-15 00:59:57 +01:00
Alex Dima 550fcf1471
Use `select` to time out after 1 second when waiting for X Events 2022-02-15 00:59:45 +01:00
Alex Dima 4584075bac
3.2.0 2022-02-15 00:22:38 +01:00
Alexandru Dima 4820fe9f7e
Merge pull request #38 from microsoft/alex/improved-cleanup
Improve cleanup path
2022-02-15 00:19:53 +01:00
Alex Dima 648d2cb3bd
Fix windows compilation errors 2022-02-15 00:15:40 +01:00
Alex Dima 431355d8e7
Improve cleanup path
* use `volatile` for `NotificationCallbackData.tsfn`
* add an env cleanup hook to dispose the keyboard layout change listener
* on macOS, remove the observer
* on windows, release the listener
* on linux, cancel the thread and join it
2022-02-14 23:47:01 +01:00
Alexandru Dima b7510bc42c
Merge pull request #37 from microsoft/alex/renames
Stylistic renames
2022-02-14 22:39:52 +01:00
Alex Dima 36b012f15f
Stylistic renames 2022-02-14 22:37:04 +01:00
Alex Dima 9a22c10466
Add `.git-blame-ignore` file 2022-02-14 18:08:05 +01:00
Alex Dima 76e18e1277
CRLF -> LF 2022-02-04 14:15:11 +01:00
Alex Dima 92869ac0fc
3.1.1 2022-01-26 20:58:12 +01:00
Alexandru Dima 0511db8350
Merge pull request #36 from mightyapp/poiru/fix-foreground-layout
Avoid permanently switching to foreground window keyboard layout on Windows
2022-01-26 20:57:06 +01:00
Biru Mohanathas 23de8e92ab Avoid permanently switching to foreground window keyboard layout
In e1ee48fa20, we started switching to the foreground window keyboard
layout when using some of the APIs. This was done to ensure that we'd
get the main process keyboard layout (which is what Electron windows
would use) even when the APIs are called in the render process.

This works fine if the foreground app is the same as the caller of these
APIs, but if the foreground app is something else, we are inadvertently
switching to its keyboard layout. This can happen e.g. if some Electron app
calls these APIs while it's in the background.

This goes against Windows principles — the user may choose to use
different layouts in different apps.

Ideally we should remove this code and recommend that these APIs are
only used in the main process, but for now, we can avoid breaking
changes by simply switching back to the original layout after the
relevant keyboard querying code has executed.
2022-01-26 16:58:29 +01:00
Alex Dima a604843f24
3.1.0 2022-01-13 13:41:54 +01:00
Alexandru Dima b8d0925734
Merge pull request #34 from microsoft/alex/threadsafe-function
Adopt `threadsafe_function`
2022-01-13 13:40:55 +01:00
Alex Dima 53de53675b
Reduce code duplication 2022-01-13 13:33:04 +01:00
Alex Dima 026f020d00
Reduce indentation 2022-01-13 13:20:22 +01:00
Alex Dima 5f3f4c7269
Adopt `threadsafe_function` on mac 2022-01-13 13:18:38 +01:00
Alexandru Dima daa7424c64
Adopt `threadsafe_function` on Windows 2022-01-13 13:12:33 +01:00
Alexandru Dima 724ff8f63b
Merge pull request #33 from microsoft/alex/update-chromium-dom-code
Update to latest Chromium dom codes
2022-01-13 12:51:33 +01:00
Alexandru Dima b078e48cab
Update to latest `keysym_to_unicode` 2022-01-13 12:45:26 +01:00
Alexandru Dima a47dae9b13
Update to latest `dom_code_data.inc` 2022-01-13 12:17:54 +01:00
Alexandru Dima d0d05cb8ad
Rename `keycode_converter_data.inc` to `dom_code_data.inc` 2022-01-13 12:13:37 +01:00
Alexandru Dima d8c3fa375f
Rename `USB_KEYMAP` to `DOM_CODE` 2022-01-13 12:10:55 +01:00
Alex Dima 5896d49209
3.0.3 2021-12-10 00:12:58 +01:00
Alexandru Dima 675bceabb2
Merge pull request #32 from microsoft/alex/null-check
Exit thread if the thread safe function has been finalized
2021-12-10 00:12:40 +01:00
Alex Dima 3ee627bcf1
Exit thread if the thread safe function has been finalized (microsoft/vscode#138500) 2021-12-10 00:10:01 +01:00