Commit Graph

4001 Commits

Author SHA1 Message Date
Lucas Perlind
67e6f57192 Small improvements strings documentation
* Use new 'Returns:' and 'Inputs:' keywords used by the website generator
* Make order item order resemble website, i.e. 'Returns:' comes before
  'Example:'
* Add a few missing input items
* Add a few missing return items
2023-04-03 08:44:14 +10:00
Lucas Perlind
6ff0cc0b40 Enforce example names in documentation 2023-04-01 09:13:15 +11:00
Jeroen van Rijn
fce2042375 Merge pull request #2428 from elusivePorpoise/pr2428
relocations and add some error consts to winmm
2023-03-29 22:18:55 +02:00
Elusive Porpoise
57594153a1 relocations and add some error consts to winmm
Summary:

Test Plan:
2023-03-29 13:06:42 -07:00
Jeroen van Rijn
ff93ea5bf1 Merge pull request #2426 from elusivePorpoise/pr2426
Add TIMECAPS stuff
2023-03-29 22:05:26 +02:00
Elusive Porpoise
4a54676f31 Add TIMECAPS stuff
Summary:

Test Plan:
2023-03-29 12:10:44 -07:00
gingerBill
2f771bee7b Merge pull request #2412 from oskarnp/text_table
text/table: Initial implementation
2023-03-29 15:08:33 +01:00
Jon Lipstate
24493e89ad WSAPoll 2023-03-28 22:17:39 -07:00
Lucas Perlind
84d8798ad3 Fix website formatting and incorrect examples 2023-03-29 12:19:05 +11:00
Jon Lipstate
0570c84a83 initial 2023-03-28 15:40:48 -07:00
Jon Lipstate
a3860e23c6 doc decimal 2023-03-28 13:09:21 -07: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