Dragos Popescu
adac039a2b
Made most libraries panic on js targets instead of not compiling
2023-03-20 04:08:48 +01:00
WraithGlade
adcc865c70
Fixed incorrect precision value in fmt doc.
...
It seems like `%.2f` is the correct implementation of "precision 2" for displaying floats, not `$.3f`. It prints two decimal places.
Either that or the next case (`%8.3f`) would be wrong instead, if it's the other way around.
So, there's a mistake here one way or the other at the least.
2023-03-19 22:06:39 -04:00
Christian Seibold
852c8b533c
Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows package
2023-03-18 15:43:31 -05:00
Jeroen van Rijn
b020ba2b5f
Merge pull request #2391 from ftphikari/master
...
sys/windows: added some functions and types for input hooks and tray …
2023-03-18 08:06:55 +01:00
hikari
03c6862d51
sys/windows: added some functions and types for input hooks and tray icons
2023-03-18 06:44:16 +02:00
gingerBill
b7f953b2ee
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-03-17 11:48:04 +00:00
gingerBill
0b064765c9
Add reflect.struct_field_value
2023-03-17 11:47:39 +00:00
Mostafa Saad
5fdc9fa3b6
Fix #2389
2023-03-17 00:29:50 +02:00
gingerBill
74fb74d9cb
Keep -vet happy
2023-03-16 16:41:22 +00:00
gingerBill
97d7e295dd
Fix to split_multi_iterator
2023-03-16 16:35:30 +00:00
gingerBill
0727e91aeb
Simplify the implementation of strings.split_multi; add strings.index_multi
2023-03-16 16:30:48 +00:00
gingerBill
2cf8a9da6f
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-03-16 15:05:06 +00:00
Jeroen van Rijn
0e9ef50e63
Update build flag
2023-03-16 15:16:09 +01:00
gingerBill
e05944601a
Minor fixes
2023-03-16 13:35:38 +00:00
gingerBill
09a0dad115
Add contextless to internal parse_hex call
2023-03-16 12:43:10 +00:00
Jeroen van Rijn
243a3f5006
Fix #2386
2023-03-16 12:35:05 +01:00
Jeroen van Rijn
28eebc14d0
Merge pull request #2387 from elusivePorpoise/main
...
add SetConsoleOutputCP
2023-03-16 07:15:20 +01:00
Elusive Porpoise
4210aa9ab9
add SetConsoleOuputCP
2023-03-15 17:15:25 -07:00
gingerBill
5bbdbadc25
Remove where ORD(E) on procedures that don't need it
2023-03-14 14:05:23 +00:00
Fabian Sperber
830d2007a6
Remove usage of global_default_temp_allocator_data when there is no default allocator (freestanding, JS or --default-to-nil-allocator)
2023-03-13 20:12:54 +01:00
Jon Lipstate
ac0f3c8433
resolve doc/spall package name conflict
2023-03-10 19:24:11 -08:00
William Roe
63b5d472fa
Fix documentation example of strings.to_upper
...
This looks like it was a copy/paste mistake
2023-03-10 16:07:06 +00:00
Jeroen van Rijn
233e3c76fd
Merge pull request #2373 from colrdavidson/spall_flushes
...
log buffer flushes to trace
2023-03-10 08:04:46 +01:00
Colin Davidson
2334dadb6a
add main scope
2023-03-09 16:34:43 -08:00
Colin Davidson
6f4f2754d6
add basic usage example
2023-03-09 16:05:16 -08:00
Colin Davidson
30ced04137
log buffer flushes to trace
2023-03-09 15:26:27 -08:00
Sokus
1ecab2fcbc
Add set_blocking for network sockets
2023-03-08 13:30:12 +01:00
gingerBill
a262c0bbf3
Separate out the read_reg into three non-parapoly procedures
2023-03-07 16:25:46 +00:00
gingerBill
133af6f826
Remove delete with wrong allocator
2023-03-07 15:24:59 +00:00
gingerBill
ef999f660b
Remove debug code
2023-03-06 19:46:50 +00:00
gingerBill
fad330acd1
Fix bug with nil pointer
2023-03-06 15:21:20 +00:00
gingerBill
8f1af2630d
Fix typo in parse_components
2023-03-06 13:40:06 +00:00
gingerBill
eea92a3371
Add booleans to print_any_single
2023-03-06 13:33:29 +00:00
gingerBill
ff275df5ea
Fix parsing C-like hex floats
2023-03-06 12:39:52 +00:00
Colin Davidson
afaa5f2deb
add null-impl for tsc_frequency for alt-platforms
2023-03-04 22:40:14 -08:00
gingerBill
0674b1b6ee
Merge pull request #2314 from SentientCoffee/pr/win32_console_text_attributes
...
Add win32 SetConsoleTextAttribute for setting cmd prompt colors
2023-03-04 15:19:34 +00:00
Jeroen van Rijn
ee597fc9b8
Add .None to Linux & Darwin, too.
2023-03-04 11:12:11 +01:00
Jeroen van Rijn
e254581a1b
Apply #shared_nil to Network_Error
2023-03-04 10:39:20 +01:00
Jeroen van Rijn
38ea140b3f
Update addr.odin
...
Fix comment
2023-03-04 10:04:55 +01:00
Jeroen van Rijn
d939d6079a
Don't try to check core:net on the BSDs.
2023-03-03 18:24:26 +01:00
Jeroen van Rijn
f6134422e6
Fix one last review comment.
2023-03-03 17:50:49 +01:00
Jeroen van Rijn
5c05038af0
Finish cleaning up core_net.
2023-03-03 17:26:44 +01:00
Jeroen van Rijn
5da5ebff13
More coalescing.
2023-03-03 17:12:21 +01:00
Jeroen van Rijn
798932523e
Coalesce socket_windows
2023-03-03 15:21:40 +01:00
Jeroen van Rijn
5267a864db
Coalesce more.
2023-03-03 14:15:15 +01:00
Jeroen van Rijn
d5ea492ef5
Make more private.
2023-03-03 13:00:43 +01:00
Jeroen van Rijn
96ac405952
Alignment + unnecessary allocator param.
2023-03-03 12:04:36 +01:00
Colin Davidson
38d58e818c
ripple bill-suggestions
2023-03-02 06:56:54 -08:00
Colin Davidson
090723179b
Merge branch 'master' into core_net_update
2023-03-02 06:50:25 -08:00
Colin Davidson
5b55fbff23
cleanup openbsd errors more
2023-03-02 06:47:05 -08:00