aboutsummaryrefslogtreecommitdiff
path: root/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* more windows kerfuffleColin Davidson2023-01-061-1/+1
|
* Merge branch 'master' into get_core_countColin Davidson2023-01-066-0/+123
|\
| * Merge pull request #2265 from JooperGH/more_dwmapi_bindingsgingerBill2023-01-066-0/+121
| |\ | | | | | | More dwmapi bindings
| | * Fixed CI errorJooper2022-12-212-1/+2
| | |
| | * App bar bindingsJooperGH2022-12-191-0/+33
| | |
| | * One last bindingJooperGH2022-12-191-0/+1
| | |
| | * HRGB and Rect functionsJooperGH2022-12-192-0/+30
| | |
| | * CreateSolidBrush and FillRectJooperGH2022-12-192-0/+4
| | |
| | * Added uxtheme bindingsJooperGH2022-12-192-3/+12
| | |
| | * Merge branch 'master' of https://github.com/odin-lang/Odin into ↵JooperGH2022-12-193-0/+21
| | |\ | | | | | | | | | | | | more_dwmapi_bindings
| | * | Added more DWMAPI bindingsJooperGH2022-12-192-0/+43
| | | |
| * | | Add GetKeyboardState to user32matias2023-01-061-0/+2
| | |/ | |/|
* | | fix more things?Colin Davidson2023-01-051-1/+1
| | |
* | | fix windows structsColin Davidson2023-01-051-7/+10
| | |
* | | name raw unionColin Davidson2023-01-051-10/+11
| | |
* | | use raw_union?Colin Davidson2023-01-051-1/+1
| | |
* | | add get core countColin Davidson2023-01-051-0/+44
|/ /
* | sys/windows: add GetMonitorInfoWhikari2022-12-132-0/+20
| |
* | sys/windows: add DescribePixelFormathikari2022-12-071-0/+1
|/
* Merge branch 'odin-lang:master' into masterDragos Popescu2022-12-061-0/+12
|\
| * sys/windows: wgl style fixhikari2022-12-061-1/+2
| |
| * sys/windows: fix wgl function loading in accordance with OpenGL wikihikari2022-12-061-1/+7
| |
| * sys/windows: added helper gl prochikari2022-12-051-0/+5
| |
* | core:sys/windows: Added CSIDL_PROFILEDragos Popescu2022-12-061-0/+1
|/
* sys/windows: add CreateWaitableTimerExWhikari2022-12-022-0/+13
|
* sys/windows: add SHGetFolderPathW (#2213)ftphikari2022-11-282-0/+35
| | | | * sys/windows: add SHGetFolderPathW * sys/windows: add some hittest constants
* Merge pull request #2193 from ftphikari/masterJeroen van Rijn2022-11-142-0/+53
|\ | | | | sys/windows: add ShellExecuteExW
| * sys/windows: add ShellExecuteExWhikari2022-11-142-0/+53
| |
* | Fix +build ignoregingerBill2022-11-041-1/+1
|/
* Heavily improve time handling on Windows for `time.now()` and `os.File_Info`gingerBill2022-10-262-1/+22
|
* Fix typogingerBill2022-10-261-1/+1
|
* Add `GetSystemTimePreciseAsFileTime`gingerBill2022-10-261-0/+1
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-10-182-0/+125
|\
| * sys/windows: add ITaskbarList interfaceshikari2022-10-131-0/+82
| |
| * sys/windows: add SHFileOperationWhikari2022-10-122-0/+43
| |
* | Allow for `N = -1` in `wstring_to_utf8`gingerBill2022-10-181-4/+4
|/
* sys/windows: replace A with Whikari2022-10-101-2/+2
|
* sys/windows: add free disk space function bindinghikari2022-10-102-0/+8
|
* sys/windows: add some constantshikari2022-10-072-2/+14
|
* Merge branch 'odin-lang:master' into masterftphikari2022-10-042-1/+13
|\
| * Add a few Fiber functions to kernel32.odinmatias2022-10-031-1/+12
| | | | | | This is not the complete set, but a start.
| * Update Darwin release mapRicardo Silva2022-10-031-0/+1
| |
* | sys/windows: add comctl32hikari2022-10-011-0/+9
| |
* | sys/windows: add a bunch of stuffhikari2022-10-016-1/+169
|/
* Merge pull request #2085 from matias-eduardo/patch-2gingerBill2022-09-271-0/+1
|\ | | | | Add WSATRY_AGAIN to windows/types.odin
| * Add WSATRY_AGAIN to windows/types.odinmatias2022-09-261-0/+1
| | | | | | Not sure if the intent is to only add the defines that are commonly used in this file in order to keep things lean, rather than the complete list of WSA error codes from winerror.h into winerror.odin. I can close this and redo by adding all the WSA codes into winerror.odin and deleting these instead if preferred.
* | Merge branch 'odin-lang:master' into masterftphikari2022-09-271-0/+144
|\|
| * [sys/windows] Add DCB structure, SetCommState, GetCommStateTetralux2022-09-221-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the procedures for configuring a serial port. You simply open the port with CreateFile (os.open), followed by a call to GetCommState, setting the DCB as desired, followed by a SetCommState call. The DCB structure uses C bitfields, so a configuration struct is provided along with a helper procedure to make it easier to initialize in Odin code. This makes it possible to initialize a DCB structure with one call to the helper: ``` dcb: DCB windows.init_dcb_with_config(&dcb, { BaudRate = 115200, ByteSize = 8, Parity = .None, StopBits = .One, }) ``` (The parity and the stopbits are actually optional in this example, as their zero-values are None and One, respectively.)
* | Merge remote-tracking branch 'origin/master'hikari2022-09-271-12/+21
|\|
| * Clean up of the core library to make the stream vtables not be pointers ↵gingerBill2022-09-151-12/+21
| | | | | | | | directly.