Matias Fernandez
e296b050ee
fix #soa '%#v' formatting
2024-04-17 22:54:30 -04:00
gingerBill
9bbe26f80f
Merge pull request #3441 from Chickenkeeper/copy-from-string-docs-fix
...
Correct `copy_from_string` docs
2024-04-17 13:50:08 +01:00
gingerBill
7cd2bc26f4
Clear error message on collisions with using on struct fields
2024-04-17 13:31:32 +01:00
Chris
6dcf38b85b
Correct copy_from_string docs
2024-04-16 21:36:54 +01:00
gingerBill
a61ae7c861
Fix #3427
2024-04-16 13:31:49 +01:00
gingerBill
8a0f9ae108
Print to string buffer before printing errors
2024-04-16 13:15:23 +01:00
Jeroen van Rijn
fd1eb17771
Merge pull request #3437 from Feoramund/fisher-yates-shuffle
...
Implement Fisher-Yates shuffle
2024-04-16 10:28:35 +02:00
Feoramund
3e449e93dd
Implement Fisher-Yates shuffle
2024-04-15 17:07:05 -04:00
Jeroen van Rijn
436c5dc40c
Merge pull request #3436 from karl-zylinski/fix-vet-unused-in-dynlib
...
Fix for dynlib:initialize_symbols not passing -vet-unused
2024-04-15 21:55:12 +02:00
Karl Zylinski
0729f2b4fb
Fix for dynlib:initialize_symbols not passing -vet-unused
2024-04-15 21:26:30 +02:00
gingerBill
76229cabfa
Fix typo
2024-04-15 15:44:03 +01:00
gingerBill
a7e492e2c2
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-15 15:40:43 +01:00
gingerBill
69db9c6390
Add loads of nil checks when doing s.builder
2024-04-15 15:40:32 +01:00
Jeroen van Rijn
6def86bb4b
Merge pull request #3431 from Feoramund/fix-randprime-2ndmsb
...
Fix `big.internal_random_prime` with `Second_MSB_On`
2024-04-15 16:30:16 +02:00
gingerBill
38c1fd5824
Keep -vet happy
2024-04-15 14:35:51 +01:00
gingerBill
d5e6d722d3
Merge pull request #3045 from laytan/cbor
...
encoding/cbor
2024-04-15 14:28:52 +01:00
gingerBill
2af777b6cb
Merge pull request #3419 from puzzleddev/fixup-d3d12-thiscall-affected-methods
...
Fixup vendor/d3d12 calling convention mistakes
2024-04-15 13:19:19 +01:00
gingerBill
5bda2546f7
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-15 12:43:50 +01:00
gingerBill
36644a3c09
Add template specialization for compared against "" with String internally
2024-04-15 12:43:45 +01:00
gingerBill
7e582dd671
Add basic suggestion to missing package name
2024-04-15 12:43:27 +01:00
gingerBill
c7ac28f6a1
Merge pull request #3434 from flysand7/sys-linux-fixes
...
[sys/linux]: Fix syscall calls for open and fstat
2024-04-15 12:28:59 +01:00
flysand7
4bfa1ea76c
[sys/linux]: Fix syscall calls for open and fstat
2024-04-15 22:16:03 +11:00
gingerBill
758ace844c
Merge pull request #3428 from mgavioli/fix_core_docs
...
Fix the format of some `doc.odin` files of the `core` library…
2024-04-15 12:12:20 +01:00
gingerBill
b9d7b8d616
Merge pull request #3429 from flysand7/sys-linux-wait4-fix
...
[sys/linux]: Fix signature on wait4 syscall
2024-04-15 11:51:51 +01:00
Feoramund
a294f067a9
Fix big.internal_random_prime with Second_MSB_On
2024-04-15 05:49:15 -04:00
gingerBill
2e29687cee
Fix #3425
2024-04-15 10:28:14 +01:00
flysand7
a0e25be196
[sys/linux]: Fix signature on wait4 syscall
2024-04-15 11:16:52 +11:00
Maurizio M. Gavioli
a0cff82320
Fix the format of some doc.odin files of the core library which did not made into the documentation.
...
`c/frontend/tokenizer`:
add proper "Example:" header to demo example code,
removed empty lines.
`container/bit_array`:
moved comment before package;
aligned narrative lines to left margin;
converted case lines into bulleted lines ("- ");
converted individual examples to single-tab-indented preformatted text.
`dynlib`:
removed "//+build ignore" line;
added newline at EOF.
`image/netpmb`:
converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists;
"Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments;
doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists);
removed empy lines.
`os/os2`: WIP, not modified
`sys/info`:
removed "//+build ignore" line;
converted tab-indented initial description into regular left-margin comment;
moved uncommented sample code within the doc comment as an "Example:";
moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings;
removed now empty comments and blank lines after the package line.
`text/i18n`:
removed "//+build ignore" line;
moved the pacakge line at the end;
de-indented the tab-indented introductory narrative;
moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading;
removed "```" MD attempts at code formatting.
`text/table`:
unindented the comment lines of a descriptive kind;
headlines of major subdivisions are marked as bold;
kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting;
removed in-between blank lines.
2024-04-14 17:18:08 +02:00
Jeroen van Rijn
d510d5e49f
Merge pull request #3426 from Kelimion/crlf
...
Tell Git to always treat Makefile and build_odin.sh as Nix EOL
2024-04-14 16:51:42 +02:00
Jeroen van Rijn
9591eb2ed5
Tell Git to always treat Makefile and build_odin.sh as Nix EOL
2024-04-14 16:41:10 +02:00
gingerBill
21969fec61
Merge pull request #3421 from laytan/add-odin-root-command
...
add `odin root` command
2024-04-13 22:44:53 +01:00
gingerBill
6ee818b394
Merge pull request #3422 from wrapperup/add-dxc-vendor-docs
...
Add dxc to all_vendor.odin, fix dxc build on freebsd/openbsd
2024-04-13 22:42:03 +01:00
wrapperup
b22e43c335
add freebsd, openbsd to dxcdef_unix.odin
2024-04-13 15:27:02 -04:00
gingerBill
6dc9fdb718
Merge pull request #3420 from laytan/fix-wasm-runtime-store-string-with-unicode
...
fix wasm runtime.js storeString to support Unicode
2024-04-13 20:15:41 +01:00
wrapperup
f252084b1f
add dxc to all_vendor.odin
2024-04-13 15:05:51 -04:00
Laytan Laats
9f97056c14
add 'odin root' command
2024-04-13 20:08:57 +02:00
Laytan Laats
d2ca91b830
fix wasm runtime.js storeString to support Unicode
2024-04-13 19:34:13 +02:00
gingerBill
59705035f9
Merge pull request #3365 from yay/core-foundation-security
...
Core Foundation and Security core packages.
2024-04-13 10:56:24 +01:00
Vitalii Kravchenko
befb0f7868
Core Foundation and Security vendor libraries.
2024-04-13 00:11:42 +01:00
tim4242
d5bb67e9e6
Fixup vendor/d3d12 calling convention mistakes
2024-04-12 20:47:02 +02:00
Jeroen van Rijn
f086b4710a
Merge pull request #3418 from blob1807/add-url-fragment-to-split-join-url
...
core:net Add support for URL fragments
2024-04-12 17:19:29 +02:00
blob1807
a4d16e97a1
Fix CI's parser
2024-04-13 01:14:55 +10:00
blob1807
6348b56c8b
Move rounded tests
2024-04-13 00:57:36 +10:00
blob1807
2d1260bec9
uniformity change
...
small change to check things uniform
2024-04-13 00:47:49 +10:00
blob1807
c753711d86
Added support for URL fragments
...
Added support for a URL's fragment/anchor to `split_url` & `join_url` in `core:net` plus 4 new tests to cover it.
2024-04-13 00:39:32 +10:00
gingerBill
5726b7d954
Remove warning on clang
2024-04-12 14:51:22 +01:00
gingerBill
4240e0025e
Improve scalar -> array assignment when the scalar is constant in LLVM
2024-04-12 14:20:46 +01:00
gingerBill
caa344c88d
Simplify scalar -> array conversions in LLVM to use a loop after a certain size
2024-04-12 14:05:36 +01:00
gingerBill
46b9bd8c0e
Improve error messages for switch and for r-values with a suggestion
2024-04-12 13:35:14 +01:00
gingerBill
3426af2d6c
Fix #3415
2024-04-12 12:33:25 +01:00