aboutsummaryrefslogtreecommitdiff
path: root/core/flags
Commit message (Collapse)AuthorAgeFilesLines
* Make `core:flags` file open errors more readableJeroen van Rijn3 days1-6/+31
| | | | | | | | | | | | | If it fails because the file doesn't exist: [Open_File_Error#2] Unable to open "foo.file". File not found. If it does exist and the flags are simple (.Read, .Write or both), it'll say this: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 as read-only It it does exist but fails to open for other reasons, it'll print: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 and flags File_Flags{....} Future work: Translate permissions from octal to `ls -al` format (e.g. `-rwxrwxrwx`).
* Fix up ABI name for core:os and core:os/oldJeroen van Rijn6 days1-1/+1
|
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days5-25/+25
|
* More conflicts during rebaseJeroen van Rijn7 days5-53/+55
|
* net: implement OpenBSD and NetBSD support & add stubs for other targets & ↵Laytan Laats2026-01-116-56/+22
| | | | cleanup
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-25/+14
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* Fix more procedure to be `contextless`gingerBill2025-08-081-1/+1
|
* Change `is_utf16` field to `encoding` and use an enumgingerBill2025-08-051-1/+1
|
* Begin supporting `string16` across the core librarygingerBill2025-08-021-0/+2
|
* flags: Rename `varg` to `overflow`, let it be renamed with configFeoramund2025-06-098-17/+21
|
* flags: Forbid combination of `pos` and `manifold`Feoramund2025-06-091-1/+6
|
* flags: Mention `varg` in the documentationFeoramund2025-06-091-0/+7
|
* flags: Rename `variadic` to `manifold` (breaking change)Feoramund2025-06-097-25/+26
|
* Fix broken examples in documentation tester.Jeroen van Rijn2025-04-051-1/+1
| | | | | | | | | No more: ``` We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo" The following procedures were found: bar() ```
* Pass in allocator and loc to core:flags.parse()dozn2025-02-151-1/+1
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-147-10/+10
| | | | file tag syntax.
* Fix build tags that use ! multiple times on one line. Those don't actually ↵Karl Zylinski2024-09-072-2/+4
| | | | do anything since build tags use OR within the line. So something like //+build !windows, !linux would actually build on both linux and windows. What was intended in all these cases was probably AND, which you get by splitting them into separate lines.
* Merge pull request #4191 from laytan/improve-package-doc-commentsgingerBill2024-09-041-25/+15
|\ | | | | core: improve package doc comments for the documentation generator
| * core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-25/+15
| |
* | Change `Bit_Array.max_index` to `length`Feoramund2024-09-031-3/+3
|/ | | | This will allow correct iteration of empty `bit_array`s.
* Merge pull request #3810 from Feoramund/freebsd-core-netJeroen van Rijn2024-08-094-4/+4
|\ | | | | Port `core:net` to FreeBSD
| * Give FreeBSD access to `core:net` in `core:flags`Feoramund2024-08-054-4/+4
| |
* | Begin mapping `os.Error` in the rest of the codebasegingerBill2024-08-041-1/+1
| |
* | `os.Errno` -> `os.Error`gingerBill2024-08-042-2/+2
| |
* | fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-086-15/+15
| |
* | Indentation fixesgingerBill2024-06-291-114/+107
| |
* | Keep `-vet` happyFeoramund2024-06-281-1/+1
|/
* Work around BSD lack of `core:net` supportFeoramund2024-06-155-21/+52
|
* Keep `-vet` happyFeoramund2024-06-153-15/+15
|
* Raise error on spaced UNIX-style flag with no valueFeoramund2024-06-151-1/+8
|
* Fix memory leak in `core:flags` validationFeoramund2024-06-151-0/+1
|
* Add `--` parsing to UNIX-style `core:flags`Feoramund2024-06-141-0/+8
| | | | | This will allow a user to indicate all arguments after `--` are parsed into the variadic array.
* Add package `core:flags`Feoramund2024-06-0714-0/+2249