Commit Graph

535 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
John Benediktsson 115b7b62df basis: removing unnecessary method stack effects. 2020-09-09 15:00:54 -07:00
Doug Coleman 946bbd1597 vscode: Prefer code-insiders version if installed. 2020-09-02 17:47:08 -05:00
John Benediktsson 5f89facf9e basis/extra: replace "/ >integer" with "/i" in a few places. 2020-05-16 11:17:42 -07:00
Alexander Iljin c98b49aaf4 windows.kernel32: add GetLogicalDriveStrings 2020-04-13 19:33:42 +00:00
John Benediktsson a785e279d5 windows.iphlpapi: use follow, it's simpler. 2020-04-02 17:30:13 -07:00
Doug Coleman c23230ed82 windows: Move types to ole32 2020-03-15 13:31:46 -05:00
Doug Coleman 1abde46c79 windows: Move IStream to windows.com to fix bootstrap. 2020-03-15 13:21:38 -05:00
Doug Coleman 85d15e865a windows: Add more COM code. 2020-03-10 18:34:24 -05:00
Doug Coleman 96d3482475 windows: Fix user32/shcore DPI functions. 2020-03-09 21:59:10 -05:00
Doug Coleman 37871d87f4 windows: Add a bunch of HighDPI functions. 2020-03-07 13:26:25 -06:00
Benjamin Pollack bafb101b7a windows; add functions to determine DPI scaling 2020-03-06 23:21:02 -06:00
Doug Coleman 8da5c2fc91 windows.ole32: Add more LONG: constants. 2020-03-06 19:05:07 -06:00
Doug Coleman 92cb20163f windows.ole32: Add more error constants as long.
These are -2B..2B instead of positive integers because long is s32 on
Windows.
2020-03-06 17:53:38 -06:00
Doug Coleman 5cb26d546f windows.gdiplus: flags{ } is in literals, fix using 2020-02-13 06:25:21 +03:00
John Benediktsson d2ab01a5d9 core/basis/extra: use flags{ } in places. 2020-02-11 13:27:42 -08:00
Alexander Iljin c77cc4c205 windows.errors: fix a compilation error 2020-01-06 13:18:53 -08:00
Alexander Iljin 049356574a windows.errors: streamline error handling and throwing 2020-01-06 13:18:33 -08:00
Alexander Iljin 3733b13daf Replace "win32-error-string throw" with windows-error instance throwing
Remove win32-error-string, because there was only one place it was used in.
2020-01-06 13:18:33 -08:00
Alexander Iljin 563a3b1a47 Replace "n>win32-error-string throw" with windows-error instance throwing 2020-01-06 13:18:33 -08:00
Alexander Iljin 135390968b Delete throw-win32-error, replace with win32-error calls 2020-01-06 13:18:33 -08:00
Alexander Iljin 77db1b1df3 windows.errors: make check-invalid-handle throw windows-error instances
There are two consequences:
- the thrown object is now a windows-error, previously it was a string;
- if GetLastError returns zero, nothing is thrown. Previously the string
"The operation completed successfully." was thrown in that case.
2020-01-06 13:18:33 -08:00
Doug Coleman 0625b85b47 Revert "windows.errors: make check-invalid-handle throw windows-error instances"
This reverts commit 38ab7289b5.
2020-01-03 13:04:38 -06:00
Doug Coleman d9f1093cf8 Revert "Delete throw-win32-error, replace with win32-error calls"
This reverts commit e1be081ec9.
2020-01-03 13:04:01 -06:00
Doug Coleman c308d794db Revert "Replace "n>win32-error-string throw" with windows-error instance throwing"
This reverts commit 70d08ce743.
2020-01-03 13:03:52 -06:00
Doug Coleman 7f395ba7f0 Revert "Replace "win32-error-string throw" with windows-error instance throwing"
This reverts commit 2dfb3b3a73.
2020-01-03 13:03:10 -06:00
Doug Coleman 0f7672c25e Revert "windows.errors: streamline error handling and throwing"
This reverts commit ca474dd154.
2020-01-03 13:02:57 -06:00
Alexander Iljin ca474dd154 windows.errors: streamline error handling and throwing 2019-11-25 07:06:59 -08:00
Alexander Iljin 2dfb3b3a73 Replace "win32-error-string throw" with windows-error instance throwing
Remove win32-error-string, because there was only one place it was used in.
2019-11-25 07:06:59 -08:00
Alexander Iljin 70d08ce743 Replace "n>win32-error-string throw" with windows-error instance throwing 2019-11-25 07:06:59 -08:00
Alexander Iljin e1be081ec9 Delete throw-win32-error, replace with win32-error calls 2019-11-25 07:06:59 -08:00
Alexander Iljin 38ab7289b5 windows.errors: make check-invalid-handle throw windows-error instances
There are two consequences:
- the thrown object is now a windows-error, previously it was a string;
- if GetLastError returns zero, nothing is thrown. Previously the string
"The operation completed successfully." was thrown in that case.
2019-11-25 07:06:59 -08:00
John Benediktsson 41db42a571 Revert "io.encodings.utf16: add a utf16n word for native utf16 type."
This reverts commit ad24fa414f.
2019-08-06 07:12:55 -07:00
John Benediktsson ad24fa414f io.encodings.utf16: add a utf16n word for native utf16 type.
remove io.encodings.utf16n vocabulary, which was kind of single purpose.
update a bunch of vocab usings.
2019-08-05 13:08:09 -07:00
John Benediktsson fc9d0176df windows.winsock: cleanup using. 2019-08-05 13:06:54 -07:00
John Benediktsson 05e8957732 windows.uniscribe: re-commit the &dispose removal. 2019-08-04 08:27:21 -07:00
Doug Coleman c70d1f6c4a basis: Fix Windows 10 select-all for emojis.
This is @kusumotonorio's patch but his branch is not up to date so there
are a ton of merge conflicts so I'm just pulling his changes into a new
patch. Sorry for my lack of git to do this cleanly while maintaining his
credit for this patch.
2019-08-02 17:07:42 -05:00
Doug Coleman c6414048ce windows.uniscribe: Apply the patch from #1402 for Windows. 2019-07-30 02:12:41 -05:00
John Benediktsson bd2ed2c214 windows.uniscribe: remove <cache-assoc> &dispose.
That's kind of a bug, but probably dispose should happen differently.
2019-07-24 20:19:32 -07:00
Alexander Iljin 4a7644e509 windows.uniscribe: support transparency in text color 2019-06-08 18:47:42 +02:00
Alexander Iljin 3d56183360 windows.uniscribe: speed up pixel array processing for transparent fonts
The approach was suggested by John Benediktsson in a GitHub comment.
2019-06-08 18:47:41 +02:00
Alexander Iljin f445b44af6 windows.uniscribe: support text with transparent background
This fixes issues #152 and #1658.
2019-06-08 18:47:41 +02:00
KUSUMOTO Norio 08aa27a112 windows.factor KUSUMOTO Norio plan 2
bug fix for issue #1

Review of the structure of words

NUMPAD&OEM-keydown-codes

plugable keyboard info

keyboard auto detect

conflict

ToUnicode version

resolve conflicts

ui.backend.windows: fix whitespace
2019-05-02 07:52:27 -05:00
Alexander Iljin 968fea56d0 windows.user32: add the GetKeyboardType function 2019-04-22 22:16:58 -07:00
Alexander Iljin 0007789795 continuations[-docs]: add the finally word 2019-04-22 21:57:51 -07:00
Alexander Iljin e2b689a636 windows.ole32: add a couple of constants 2019-03-29 19:45:58 -05:00
Doug Coleman a1a0bdfa4e windows.kernel32: add almost useless timezone function 2019-03-22 21:30:01 -05:00
John Benediktsson 4f401a1585 windows.dragdrop-listener: cleanup using. 2019-03-21 19:54:06 -07:00
Doug Coleman 0b794f5a07 windows.dragdrop-listener: Fix using 2019-03-21 18:38:47 -05:00
Doug Coleman baafbb8b34 windows: Add all shell32 function stubs. Add more com. 2019-03-17 10:56:57 -05:00
Doug Coleman 17ed798178 *.txt: Add newlines, fix some spacing 2018-12-16 12:04:35 -06:00