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
gingerBill
6e647a88eb
Keep -vet happy
2023-02-10 16:36:50 +00:00
gingerBill
986cba584e
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
2023-02-10 16:23:33 +00:00
gingerBill
b427a4c8c9
Minor change to arena_temp_end
2023-02-10 14:44:46 +00:00
gingerBill
133ee70a5b
Add default_temp_allocator_temp_begin and default_temp_allocator_temp_end
2023-02-10 14:36:57 +00:00
gingerBill
494612827a
Add Arena_Temp
2023-02-10 14:30:41 +00:00
gingerBill
1113f23475
Remove unused variable
2023-02-10 14:10:06 +00:00
gingerBill
8626f58773
Replace current default context.temp_allocator to use a growing arena rather than a ring buffer
2023-02-10 13:18:33 +00:00
gingerBill
7032867421
Pass #caller_location down correctly
2023-02-10 13:18:03 +00:00
gingerBill
162628000f
Calculate the size needed before allocating
2023-02-10 11:55:08 +00:00