aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Update the comment on core:bytes.compare() to match the proc signatureShane Shrybman10 hours1-2/+2
|
* Fix #6229Jeroen van Rijn17 hours1-14/+110
| | | | | | Fixes #6229 by adding `encode_upper` and `encode_upper_into_writer`. Also updated the documentation to be more like the rest of `core`.
* Add comment to ole32.odin and types.odin.Jeroen van Rijn18 hours2-0/+4
|
* Revert "Add missing platform guards."Jeroen van Rijn18 hours2-2/+0
| | | | This reverts commit 2da1befe0483cf3d96db5af3934c29dbc3cac42a.
* Add missing platform guards.Jeroen van Rijn18 hours2-0/+2
|
* Fix filepath.dirJeroen van Rijn18 hours1-16/+4
|
* Add more Windows endpointsblob180720 hours5-7/+33
|
* Update doc line for `core:os` and `core:os/old`.Jeroen van Rijn30 hours2-5/+4
|
* Use when-block for sanitizer poisoningoxSleep38 hours1-16/+18
| | | | | Replace @disabled attribute with when-statement to conditionally compile address sanitizer poisoning in pool elements
* Merge branch 'master' of github.com:odin-lang/OdinJeroen van Rijn43 hours1-1/+1
|\
| * Merge pull request #6268 from lodinukal/fix_dynamic_handle_mapgingerBill44 hours1-1/+1
| |\ | | | | | | use xar.len instead of len for accessing length of items
| | * use xar.len instead of len for accessing length of itemsimlodinu46 hours1-1/+1
| | |
* | | Fix `os.stem`, `os.short_stem`.Jeroen van Rijn43 hours1-14/+10
|/ /
* / Fix #6267Jeroen van Rijn44 hours1-4/+6
|/
* Merge pull request #6261 from Faker-09/strings_remove_mem_dependJeroen van Rijn2 days4-60/+66
|\ | | | | Remove core:mem dependency from core:strings
| * Remove core:mem dependency from strings builderShane Shrybman2 days1-14/+11
| |
| * Remove core:mem dependency from strings conversion.odinShane Shrybman2 days1-12/+12
| |
| * Remove core:mem dependency from strings builderShane Shrybman2 days1-11/+24
| |
| * strings.compare() can be an alias of runtime.string_cmp()Shane Shrybman3 days1-9/+1
| |
| * Remove core:mem dependency from strings intern.odinShane Shrybman3 days1-2/+1
| |
| * Add the length checks back to string.compare()Shane Shrybman3 days1-1/+7
| |
| * strings.compare() can wrap runtime.string_cmp()Shane Shrybman3 days1-9/+1
| |
| * Remove core:mem dependency from core:stringsShane Shrybman3 days1-34/+41
| |
* | Remove `core:mem` imports from `core:encoding`.Jeroen van Rijn3 days4-11/+8
| |
* | Remove `core:mem` import from `core:container/bit_array`.Jeroen van Rijn3 days1-2/+1
| |
* | Remove `core:mem` import from `core:container/pool`.Jeroen van Rijn3 days3-11/+7
| |
* | Remove `core:mem` import from `core:crypto`.Jeroen van Rijn3 days49-205/+270
| |
* | Remove `core:mem` import from `core:sync/chan`.Jeroen van Rijn3 days1-22/+22
| |
* | Remove `core:mem` import from `core:math/big`.Jeroen van Rijn3 days4-21/+18
| |
* | Remove `core:mem` import from `core:sys/darwin/Foundation`.Jeroen van Rijn3 days1-6/+6
| |
* | Remove `core:mem` import from `core:math/big`.Jeroen van Rijn3 days1-9/+14
| |
* | Fix #6265Jeroen van Rijn3 days1-4/+11
| |
* | Narrowly tailor panic.Jeroen van Rijn3 days1-1/+1
| |
* | Add `core:log` support for js/wasmJeroen van Rijn3 days12-11/+171
| | | | | | | | Also add #panic when importing `core:os` on wasm.
* | SimplifyJeroen van Rijn3 days1-2/+2
| |
* | 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`).
* | Restrict `math.wrap` to floats.Jeroen van Rijn3 days1-1/+1
| |
* | Fix #6251Jeroen van Rijn3 days1-46/+76
|/ | | | | Introduces `strings.Builder` versions of the various `to_string` procedures. These are used using a stack buffer for `address_to_string` as called by `endpoint_to_string`, requiring no temp allocation for the address that's then written into the endpoint's builder.
* Revert "fix wrong allocator in `endpoint_to_string`"Laytan Laats3 days1-2/+2
| | | | This reverts commit f755839877b2c565f8087d22c13e475b145829c3.
* fix wrong allocator in `endpoint_to_string`Laytan Laats3 days1-2/+2
| | | | Fixes #6251
* Remove @(require_results) from `os.read_directory_iterator`Jeroen van Rijn3 days1-1/+0
|
* Merge pull request #6245 from odin-lang/new_osgingerBill4 days187-3613/+3812
|\ | | | | `core:os/os2` -> `core:os` integration
| * Only count bits in touched array members.new_osJeroen van Rijn5 days1-3/+2
| |
| * Unwrap cpu affinity syscalls.Jeroen van Rijn6 days2-5/+5
| |
| * != nilJeroen van Rijn6 days1-1/+1
| |
| * Implement `get_processor_core_count` without libc for Linux.Jeroen van Rijn6 days1-2/+9
| |
| * Fix package lineJeroen van Rijn6 days1-1/+1
| |
| * Fix up ABI name for core:os and core:os/oldJeroen van Rijn6 days105-122/+111
| |
| * core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days152-1626/+1624
| |
| * Remove all `core:os` imports from JS targetsJeroen van Rijn6 days29-183/+281
| | | | | | | | Fix `local_tz_name` on FreeBSD.