aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Remove math usage of raw LLVM intrinsic prototypesgingerBill2023-07-071-16/+82
|
* add `ADDRESS_FAMILY` to darwin (currently only available in linux)Laytan Laats2023-07-031-4/+5
|
* Begin work on `core:math/cmplx`gingerBill2023-06-283-0/+1195
| | | | `complex*` types only at the moment, `quaternion*` types coming later
* Improve accuracy of `abs` or `complex*` typesgingerBill2023-06-281-6/+27
|
* Add `math.sincos`gingerBill2023-06-281-0/+308
|
* Actually add math.hypotgingerBill2023-06-281-33/+39
|
* Add `math.hypot`gingerBill2023-06-281-0/+68
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2023-06-281-2/+5
|\
| * fix(set_env): use `clone_to_cstring` instead of `unsafe_to_cstring`Rickard Andersson2023-06-271-2/+2
| |
| * style: use tabsRickard Andersson2023-06-271-3/+3
| | | | | | | | :[
| * cleanup: remove leftover lineRickard Andersson2023-06-271-1/+0
| |
| * fix(os): use `setenv` instead of `putenv`Rickard Andersson2023-06-271-1/+5
| | | | | | | | | | | | `setenv` doesn't copy the value that is put, which means that the previous code had a bug where we free'd the temporary memory and the environment was accidentally cleared right after the function finished.
* | Replace `mem` with `runtime` in `core:slice`gingerBill2023-06-282-22/+28
|/
* Default to `panic` allocator for wasm targetsgingerBill2023-06-264-11/+59
|
* Fix fmt implementation for `js`gingerBill2023-06-261-13/+10
|
* Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵gingerBill2023-06-2614-33/+33
| | | | `switch`/`for` statements
* Merge pull request #2584 from odin-lang/new-iogingerBill2023-06-2340-1009/+693
|\ | | | | New and Improved `io.Stream` interface
| * Use `i64` instead of `int` for internal proceduresgingerBill2023-06-144-48/+68
| |
| * Merge branch 'master' into new-iogingerBill2023-06-147-17/+14
| |\
| * | Ignore BSD's for stream.odingingerBill2023-06-081-5/+13
| | |
| * | Put stream into the implgingerBill2023-06-084-17/+19
| | |
| * | Use `io.Stream` as the internal interface for `os2.File`gingerBill2023-06-084-104/+131
| | |
| * | Update os2 to new `io.Stream`gingerBill2023-06-082-61/+41
| | |
| * | Just make the `io.Reader` etc aliasesgingerBill2023-06-0826-115/+110
| | |
| * | Update to new io interfacegingerBill2023-06-0834-822/+474
| | |
* | | Merge pull request #2597 from odin-lang/ordered-named-argumentsgingerBill2023-06-2315-90/+90
|\ \ \ | | | | | | | | Allowing for Positional and Named Arguments in Procedure Calls
| * | | Use positional and named arguments within the core librarygingerBill2023-06-2114-80/+80
| | | |
| * | | Make error checks diverging where possiblegingerBill2023-06-201-10/+10
| | |/ | |/|
* | | fixed dynlib wasm stubRehkitzdev2023-06-221-3/+3
| | |
* | | Merge pull request #2582 from ftphikari/mastergingerBill2023-06-214-123/+49
|\ \ \ | | | | | | | | [core:thread] Added self_cleanup flag to properly auto-clean threads
| * | | [core:thread] Seeing if this fixes network testshikari2023-06-074-34/+17
| | | |
| * | | [core:thread] Fix compilationhikari2023-06-072-0/+4
| | | |
| * | | [core:thread] Added `self_cleanup` flag to properly auto-clean threadshikari2023-06-073-99/+38
| | | |
* | | | fix(poll): make interface more odinaryRickard Andersson2023-06-152-10/+8
| | | | | | | | | | | | | | | | | | | | We take `fds` as a normal slice and get the length from it instead of bothering with a second parameter.
* | | | fix: remove redefinition of `timespec`Rickard Andersson2023-06-151-5/+0
| | | | | | | | | | | | | | | | They are in the same package, so it's accessible anyway.
* | | | cleanup: more tabsRickard Andersson2023-06-141-10/+10
| | | |
* | | | cleanup(os_linux/poll): use tabs everywhereRickard Andersson2023-06-141-12/+11
| | | | | | | | | | | | | | | | :(
* | | | fix(os_linux): make `when` for `arm64` check correct orderRickard Andersson2023-06-141-5/+1
| | | | | | | | | | | | | | | | Also remove `sys_select` since we aren't using it anyway
* | | | fix(os_linux): call `ppoll` instead on `arm64`Rickard Andersson2023-06-142-4/+17
| | | |
* | | | cleanup(os_linux): remove `select`Rickard Andersson2023-06-141-8/+0
| | | |
* | | | feat(unix): add `poll`Rickard Andersson2023-06-142-0/+65
| |/ / |/| |
* | | fix: read file from windows was not returning platform error correctlyJosé Rey Méndez2023-06-121-1/+1
| | |
* | | Merge pull request #2588 from laytan/fix-darwin-fcntlJeroen van Rijn2023-06-121-7/+7
|\ \ \ | | | | | | | | fix fcntl binding on darwin
| * | | fix fcntl binding on darwinLaytan Laats2023-06-121-7/+7
| | | |
* | | | Rename `ODIN_DISALLOW_RTTI` to `ODIN_NO_RTTI`; Remove dead command line flagsgingerBill2023-06-124-5/+5
|/ / /
* | | Replace procedure `strings.concatenate`gingerBill2023-06-121-1/+1
| | |
* | | fix(dns): don't exit early on no hosts in hosts fileRickard Andersson2023-06-121-4/+1
| |/ |/| | | | | | | | | 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.
* | Fix Timeval for darwin and linuxJames Duran2023-06-074-11/+11
| |
* | Add bsd to mem/virtualgingerBill2023-06-071-0/+24
| |
* | Add missing packages to `examples/all`gingerBill2023-06-073-7/+3
| |