gingerBill
2f771bee7b
Merge pull request #2412 from oskarnp/text_table
...
text/table: Initial implementation
2023-03-29 15:08:33 +01:00
Lucas Perlind
84d8798ad3
Fix website formatting and incorrect examples
2023-03-29 12:19:05 +11:00
Jeroen van Rijn
ab7e1e01de
Merge pull request #2420 from jon-lipstate/string_docs
...
string code docs
2023-03-28 21:05:13 +02:00
Jon Lipstate
bbafc3fbd6
harmonize to use null for c-string endings
2023-03-28 11:57:12 -07:00
Jon Lipstate
194fa7cd98
rename nul to null, allocation clarifications
2023-03-28 11:51:39 -07:00
Jeroen van Rijn
4c12addcaf
Update builtin.odin
2023-03-28 20:29:30 +02:00
Jeroen van Rijn
0bd27381c3
Typo
2023-03-28 20:23:08 +02:00
Jon Lipstate
6dce07790a
add backticks on variables, code review comments
2023-03-28 11:07:33 -07:00
Jon Lipstate
203ae32b79
pr pickups
2023-03-28 10:24:41 -07:00
Jeroen van Rijn
692764aad3
Document offset_of
...
Closes #2419
2023-03-28 15:01:10 +02:00
Jon Lipstate
937e5de1d8
add missing eof newline
2023-03-27 22:23:13 -07:00
Jon Lipstate
7de67f8c1b
markdown compliant spaces
2023-03-27 22:20:24 -07:00
Jon Lipstate
f5d66bcb6f
transform into odin-site parsable format
2023-03-27 22:00:53 -07:00
Jon Lipstate
bf82c40964
string code docs
2023-03-27 20:09:51 -07:00
Jeroen van Rijn
7ffca8ed58
Fix caprintf comment
2023-03-27 11:12:21 +02:00
Jeroen van Rijn
030405dbb6
Update fmt.odin
...
Fix hardcoded 64 bit, use assert instead of branched panic.
2023-03-27 11:06:29 +02:00
oskarnp
8862f9118b
Fix typos in doc
2023-03-27 09:31:24 +02:00
oskarnp
e2e98672bd
Fix typo
2023-03-26 21:51:57 +02:00
oskarnp
51f295cacc
Rename init procs
2023-03-26 21:46:36 +02:00
oskarnp
0c50ac3396
Remove unnecessary #partial switch
2023-03-26 21:45:37 +02:00
oskarnp
2da81a4a26
Remove unnecessary C style loop
2023-03-26 21:44:31 +02:00
oskarnp
b6d4853a33
Fix cell alignment to default to Left using ZII
2023-03-26 21:41:16 +02:00
oskarnp
020b147222
Move helper procs into utility.odin
2023-03-26 21:33:27 +02:00
jon lipstate
34b037f19b
Update fmt.odin
...
Update example to use set/register procs.
2023-03-26 11:23:37 -07:00
oskarnp
88ee5d1a6d
text/table: Initial implementation
2023-03-26 16:10:27 +02:00
Jon Lipstate
0892d84c17
corrected bprint
2023-03-25 23:55:37 -07:00
Jon Lipstate
2501d50f9c
fmt docs
2023-03-25 23:45:53 -07:00
Jeroen van Rijn
1e4a4181e2
Typo
2023-03-25 07:37:43 +01:00
Jeroen van Rijn
4c13dee18f
Update types.odin
...
Use `context.allocator := allocator` idiom.
2023-03-25 07:33:34 +01:00
Igor Dreher
95497626e3
Add allocator parameter to json.detroy_value
2023-03-24 21:01:23 -03:00
Jeroen van Rijn
a86386d882
Merge pull request #2404 from Kelimion/save_to_buffer
...
Rename `save_to_memory` for consistency.
2023-03-24 11:06:05 +01:00
Jeroen van Rijn
bbf40bf318
Rename save_to_memory for consistency.
2023-03-24 10:47:33 +01:00
Jeroen van Rijn
b054585066
Merge pull request #2402 from oskarnp/fix-ada-case
...
Fix strings.to_ada_case()
2023-03-24 10:40:52 +01:00
gingerBill
90c44c34a9
Make core:image packages work on js platform (wasm32) by not requiring core:os
2023-03-23 20:53:19 +00:00
oskarnp
e449cc9e2d
Fix strings.to_ada_case()
2023-03-23 21:30:24 +01:00
Dragos Popescu
b2ecb37b35
Changed js panics to unimplemented where sensible
2023-03-22 12:10:27 +01:00
Dragos Popescu
ef3d8bdc42
Fixed more compile time errors when including os and thread to js targets
2023-03-21 04:17:31 +01:00
Dragos Popescu
951511704d
Responded to PR review. Made dynlib return false on js instead of panic
2023-03-20 21:57:51 +01:00
Dragos Popescu
23aae6ab0f
Merge branch 'odin-lang:master' into master
2023-03-20 21:52:03 +01:00
Fabian Sperber
33798b8b80
Need to forward the name of the directive, not the hash token
2023-03-20 20:09:30 +01:00
gingerBill
313b6874b1
Merge pull request #2382 from fabiansperber/freestanding-hide-default-temp-allocator
...
Remove usage of global_default_temp_allocator_data when not needed
2023-03-20 12:06:34 +00:00
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