Colin Davidson
64f200dc74
big error cleanup
2023-03-02 06:43:20 -08:00
gingerBill
99e2f0c91e
Merge pull request #2357 from JeppeSS/sys-windows-additions
...
Added missing Windows functions for console manipulation
2023-03-02 13:21:38 +00:00
Jeroen van Rijn
c02ff3af27
Update comments
2023-03-02 13:45:12 +01:00
gingerBill
553f338f6f
Merge pull request #2360 from Lperlind/documentation/dynlib
...
Document core:dynlib
2023-03-02 12:07:32 +00:00
Lucas Perlind
bb72c804fb
Document core:dynlib
2023-03-02 19:20:45 +11:00
Colin Davidson
13c6352b8e
catch alloc error on wstring_to_utf8 convert
2023-03-01 18:55:02 -08:00
Colin Davidson
707c2b3d7a
remove win32 ref
2023-03-01 18:24:37 -08:00
Colin Davidson
14eed79a21
make baby pandas (and Jeroen) happy
2023-03-01 08:33:48 -08:00
Colin Davidson
2ca30e3acd
more test cleanup
2023-03-01 08:27:07 -08:00
Colin Davidson
caf9716bf1
more cleanup ripple
2023-03-01 08:21:53 -08:00
Colin Davidson
d569daae33
more manual type carryover
2023-03-01 08:17:41 -08:00
Colin Davidson
28f7f57247
manually start merging core_net
2023-03-01 07:58:30 -08:00
Jeppe Skov
ffc592c7cf
Added missing Windows functions for console manipulation
...
This commit adds several missing types and functions to the Windows implementation to enable manipulation of console windows. The types added include 'SMALL_RECT', 'CONSOLE_SCREEN_BUFFER_INFO', and 'PCONSOLE_SCREEN_BUFFER_INFO'. The functions added include 'GetConsoleScreenBufferInfo', 'SetConsoleScreenBufferSize', and 'SetConsoleWindowInfo'. These functions were necessary to properly manage the console window.
2023-02-28 23:18:10 +01:00
gingerBill
dfee7c103e
Document virtual.Arena
2023-02-28 13:07:52 +00:00
gingerBill
025fc2685d
Add docs to core:path/filepath
2023-02-28 12:55:13 +00:00
gingerBill
5b5154eda0
Add temp allocator guard; clean up indentation
2023-02-28 12:38:36 +00:00
gingerBill
ecf65303cd
Make arena_free_all keep the first memory block for a .Growing arena
2023-02-28 12:37:05 +00:00
gingerBill
9afd9f9bea
Merge branch 'master' into new-temp-allocator
2023-02-28 12:15:54 +00:00
gingerBill
c8d3a9121b
Merge pull request #2354 from elusivePorpoise/master
...
FindFirstChangeNotification series of calls
2023-02-28 10:49:42 +00:00
Colin Davidson
edd78ae129
cleanup of os/linux
2023-02-28 01:17:43 -08:00
Elusive Porpoise
8738695bd8
FindFirstChangeNotification series of calls
2023-02-27 18:43:43 -08:00
gingerBill
9c7656d59a
Add core:prof/spall
2023-02-26 14:00:39 +00:00
gingerBill
af265250c2
Merge pull request #2336 from colrdavidson/tsc_freq
...
Add TSC frequency getter
2023-02-22 21:22:10 +00:00
Colin Davidson
c6f463b8c9
shuffle tsc around a little
2023-02-22 12:28:24 -08:00
Colin Davidson
8e5e43f335
add sleep-fallback and invariant check
2023-02-21 17:48:49 -08:00
gingerBill
c36dc91849
Minor changes in runtime
2023-02-21 16:24:28 +00:00
Colin Davidson
91dccf8d62
more function name changes
2023-02-21 06:46:36 -08:00
Colin Davidson
1fc3a25f47
block all x86 tsc functions in when block
2023-02-21 06:28:55 -08:00
Colin Davidson
7322b63991
adjust func names
2023-02-21 06:22:19 -08:00
Colin Davidson
f860b09065
use the libc call on darwin so sysctlbyname works
2023-02-21 05:38:07 -08:00
Colin Davidson
45b742be23
sort out units to make things happier
2023-02-19 20:50:30 -08:00
Colin Davidson
d325ee4b91
more typo. yay.
2023-02-19 20:45:56 -08:00
Colin Davidson
87d6910bb8
intrinsics typo
2023-02-19 20:44:49 -08:00
Colin Davidson
9c9300ed58
derp. raw-syscalls
2023-02-19 20:44:00 -08:00
Colin Davidson
e559cf32fe
oops, add intrinsics import
2023-02-19 20:39:36 -08:00
Colin Davidson
f2202db517
make darwin syscalls contextless
2023-02-19 20:38:46 -08:00
Colin Davidson
fb735883be
add a tsc frequency get for windows
2023-02-19 20:33:48 -08:00
Colin Davidson
6a2ef1f4f3
add osx support
2023-02-19 20:23:35 -08:00
Colin Davidson
051c9cb564
begin adding tsc frequency getters
2023-02-19 20:08:11 -08:00
gingerBill
eb60ec3899
Fix unreachable error
2023-02-19 12:53:22 +00:00
gingerBill
806f56ca38
Remove debug string
2023-02-17 13:04:09 +00:00
gingerBill
210f47b8ab
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-02-15 11:32:02 +00:00
gingerBill
94c1331c07
Implement @(fini) (opposite of @(init))
2023-02-15 11:31:51 +00:00
Colin Davidson
df58a00564
fix errno/signatures
2023-02-14 18:43:48 -08:00
Colin Davidson
d546677ae7
fix typo
2023-02-14 18:39:09 -08:00
Colin Davidson
04b1023988
make file access a little more normal across platforms
2023-02-14 18:34:03 -08:00
gingerBill
9a81071687
Merge branch 'master' into new-temp-allocator
2023-02-14 23:59:49 +00:00
gingerBill
8ddb493b96
Add #optional_allocator_error to make_map
2023-02-14 10:28:04 +00:00
gingerBill
039d9938b9
Fix return value
2023-02-10 17:20:14 +00:00
gingerBill
f50ea649f6
Minor fix
2023-02-10 17:15:40 +00:00