José Rey Méndez
10f2136675
fix: read file from windows was not returning platform error correctly
2023-06-12 19:28:41 -03:00
Jeroen van Rijn
d97dd99d91
Merge pull request #2588 from laytan/fix-darwin-fcntl
...
fix fcntl binding on darwin
2023-06-12 16:16:49 +02:00
gingerBill
296674e18b
Rename ODIN_DISALLOW_RTTI to ODIN_NO_RTTI; Remove dead command line flags
2023-06-12 14:53:05 +01:00
Laytan Laats
d38ea63c78
fix fcntl binding on darwin
2023-06-12 15:37:39 +02:00
gingerBill
e16c6c1b6b
Replace procedure strings.concatenate
2023-06-12 12:58:47 +01:00
Rickard Andersson
454709559b
fix(dns): don't exit early on no hosts in hosts file
...
If we don't have any hosts specified we'll still not generate any
overrides which is fine, but we'll continue onto actually trying to
resolve the hostname we came into the function for initially.
2023-06-12 13:38:12 +03:00
James Duran
fed0c2ea26
Fix Timeval for darwin and linux
2023-06-07 21:55:08 -07:00
gingerBill
d37699f51a
Add bsd to mem/virtual
2023-06-07 23:07:31 +01:00
gingerBill
9b15bda055
Add missing packages to examples/all
2023-06-07 22:48:39 +01:00
gingerBill
635842b322
Add more text packages to examples/all
2023-06-07 22:40:46 +01:00
gingerBill
0c477f2c6b
Merge pull request #2289 from Lperlind/staging/fix_os_args
...
Fix out of range error with _alloc_command_line_arguments in darwin
2023-06-07 12:06:43 +01:00
gingerBill
8441c0c51e
Merge pull request #2577 from Tetralux/refactor-init-context
...
[thread] Refactor handling of 'init_context' + add doc comments for it
2023-06-07 11:51:30 +01:00
gingerBill
ae7bf468d1
Merge pull request #2573 from inbelic/inbelic/fmt-zero-padding
...
[fmt] fix zero-padding behaviour of numbers
2023-06-07 11:44:53 +01:00
gingerBill
d75df7fd8a
Rename procs
2023-06-07 00:12:54 +01:00
gingerBill
4a75a1e839
Merge branch 'master' into separate-int-word-sizes
2023-06-06 22:42:04 +01:00
gingerBill
6a2ff3a371
Merge pull request #2571 from jakubtomsu/builtin-soa-procs-improvements
...
Update SOA dynamic array procs to match non-SOA
2023-06-06 22:40:27 +01:00
gingerBill
d6f45e4d76
Fix fmt for js
2023-06-06 22:38:43 +01:00
Axel Pahl
1cdb0abf80
Update core/mem/doc.odin
2023-06-06 15:17:18 +02:00
gingerBill
0defd1d141
Correct printing in fmt for ODIN_ERROR_POS_STYLE
2023-06-06 11:17:34 +01:00
gingerBill
24ed07b6d5
Add error requiring an explicit calling convention for foreign procedures
2023-06-06 11:12:14 +01:00
gingerBill
ecad730945
Fix map_get typo
2023-06-06 11:08:09 +01:00
Tetralux
5d6b923244
[thread] Refactor handling of 'init_context' + add doc comments for it
2023-06-03 08:08:18 +00:00
finn
6952124988
[fmt] fix zero-padding behaviour of numbers
...
- when formatting a negative number with left zero-padding we expect the
padding to be placed between the minus (-) sign and the number
- currently the padding is placed before the sign
2023-06-01 16:04:07 +02:00
jakubtomsu
a6c93e2c41
Update SOA dynamic array procs to match non-SOA
2023-06-01 13:42:26 +02:00
gingerBill
788f3c22bf
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-31 22:23:53 +01:00
gingerBill
c194dfbdf7
Remove thread.init_context = context
2023-05-31 22:23:47 +01:00
Lucas Perlind
ebe5636307
Document core:math/rand and add 'possible output'
...
Possible output allows us to just type check a test
and have some sort of output field in the docs but
not actually verify it matches stdout
2023-05-31 09:49:12 +10:00
gingerBill
6fe2df1d7d
Add more documentation to numerous @builtin procedures in package runtime
2023-05-30 23:42:21 +01:00
gingerBill
3562a38f8c
Merge pull request #2558 from laytan/implement-set-blocking-darwin
...
implement non blocking sockets for darwin
2023-05-30 02:15:20 +01:00
gingerBill
c241edaa30
Add missing procedure for #reverse on strings
2023-05-30 00:05:24 +01:00
gingerBill
c1eb536726
Change to "contextless" from "c"`
2023-05-29 23:30:48 +01:00
gingerBill
c38842ecb2
Merge pull request #2535 from jasonKercher/fix2515
...
Fix #2515 - Implement backward shift on `map` on insert and reseed hashes on resize
2023-05-29 22:41:46 +01:00
Jeroen van Rijn
508d7c3336
Merge pull request #2557 from laytan/fix-weird-errno-on-darwin
...
fix weird errno returned on darwin
2023-05-27 23:26:45 +02:00
Laytan Laats
2b31d85cd4
implement non blocking sockets for darwin
2023-05-27 22:40:05 +02:00
Laytan Laats
e350c37e6f
fix weird errno returned on darwin
2023-05-27 21:49:39 +02:00
gingerBill
319a465429
Correct queue usage of runtime.Allocator_Error
2023-05-27 15:26:27 +01:00
gingerBill
9371325246
Fix typo
2023-05-25 12:19:41 +01:00
gingerBill
2fda3cf988
Remove os dependency in primitives_openbsd.odin
2023-05-25 12:17:39 +01:00
gingerBill
03b7194c97
Remove os dependency for futex_openbsd.odin
2023-05-25 12:05:58 +01:00
gingerBill
39bff40a75
Make many core:unicode/utf8 procedures "contextless"
2023-05-25 11:58:42 +01:00
gingerBill
3dc6edfd2d
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-25 11:58:09 +01:00
gingerBill
762747273e
Add mutex to mem.Tracking_Allocator
2023-05-25 11:58:02 +01:00
gingerBill
29786b0024
Merge pull request #2555 from ryhor-spivak/fix_windowplacement
...
Remove rcDevice field from WINDOWPLACEMENT
2023-05-24 23:14:42 +01:00
gingerBill
32ca50a097
Fix special printing for certain named types with fmt.printf related procedures
2023-05-24 20:54:30 +01:00
Ryhor Spivak
8012e6fa43
Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
...
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
e3360a0e5d
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-22 20:44:07 +01:00
gingerBill
40a8ed535a
Add @(require_results) to core:math/ease
2023-05-22 20:43:19 +01:00
Jeroen van Rijn
c7d571f0b5
Merge pull request #2553 from laytan/fix-2550-json-unicode-issue
...
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 18:28:59 +02:00
Laytan Laats
5d54b710e7
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 17:22:33 +02:00
gingerBill
18c5a53685
Add @(require_results) and contextless to procedures in core:math/bits
2023-05-22 12:13:44 +01:00