aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/windows/user32.zig
AgeCommit message (Collapse)Author
2023-10-28delete std.os.windows.user32Andrew Kelley
This is progress towards #4426 Closes #17417
2023-07-24Use builtin inference over @as where possibleZachary Raineri
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-04-18std: fix uses of comptime blocks in non-inline functionsmlugg
ccf670c made using `return` from within a comptime block in a non-inline function illegal, since it is a use of runtime control flow in a comptime block. It is allowed if the function in question is `inline`, since no actual control flow occurs in this case. A few functions from std (notably `std.fmt.comptimePrint`) needed to be marked `inline` to support this change.
2023-01-19fix selectSymbol function pointersstar-tek-mb
2022-12-06remove most conditional compilation based on stage1Andrew Kelley
There are still a few occurrences of "stage1" in the standard library and self-hosted compiler source, however, these instances need a bit more careful inspection to ensure no breakage.
2022-09-29std: Replace use of stage1 function pointersominitay
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
zig fmt now replaces c_void with anyopaque to make updating code easy.
2021-10-04migrate from `std.Target.current` to `@import("builtin").target`Andrew Kelley
closes #9388 closes #9321
2021-09-01std: reorganization that allows new usingnamespace semanticsAndrew Kelley
The proposal #9629 is now accepted, usingnamespace stays but no longer puts identifiers in scope.
2021-09-01std.os.windows: reorg to avoid `usingnamespace`Andrew Kelley
Down to 19 uses of `usingnamespace`.
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
2021-07-22Fixed compile error: 'bMenu' needs to casted. (#9426)Michal Ziulek
2021-07-07Fixed builtin.Target -> std.TargetCarlos Zúñiga
2021-05-20Merge pull request #8776 from notviri/windows-wm-constantsAndrew Kelley
fix & add some Win32 window message constants
2021-05-15remove range constantsviri
2021-05-14std: re-add weird undocumented Win32 constantsviri
Got deleted. Not documented but sure.
2021-05-14std: fix & add os.windows.user32 WM constantsviri
2021-04-24Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
In particular I wanted the change that makes `suspend;` illegal in the parser.
2021-04-16Fix std.os.windows.user32.messageBoxWManuel Floruß
Arguments to `selectSymbol` were passed in the wrong order.
2021-04-15std: change `@import("builtin")` to `std.builtin`Andrew Kelley
2021-03-22Fixed typo in user32Carlos Zúñiga
Use CreateWindowExW instead of RegisterClassExW as the type of pfnCreateWindowExW.
2021-01-11Merge pull request #7195 from Aransentin/masterAndrew Kelley
A win32-api proposal, implemented for user32.zig
2020-12-31Year++Frank Denis
2020-11-22UnregisterClassW needs WINAPI as wellAransentin
2020-11-22Fixed bugs, style suggestionsAransentin
2020-11-22Ensure the dynamic function has the same type as the static oneJens Goldberg
Co-authored-by: daurnimator <quae@daurnimator.com>
2020-11-22user32 cleanup, added wrappers and additional functionsAransentin
2020-11-19Update code to not use unsupported calling conventions for targetTadeo Kondrak
2020-08-20add license header to all std lib filesAndrew Kelley
add SPDX license identifier copyright ownership is zig contributors
2020-05-07Removed GetModuleHandleA from user32Jens Goldberg
GetModuleHandleA is an kernel32 function and already defined there, it doesn't belong in user32.
2020-05-07Removed duplicate WM_ACTIVATEJens Goldberg
2020-04-15translate-c cleanup and zig fmtVexu
2020-04-14Added gdi32.zig and More user32 definitionsJakub
2020-04-12std: add some basic windows user32 definitionsdaurnimator