aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Minor clean up of `default_hasher_cstring`text-templategingerBill2022-03-061-5/+3
|
* Add `int` and `float` functionsgingerBill2022-03-034-4/+58
|
* Add basic reduce evaluation e.g. `+ 1 2 3`, `- 2 3`, `* 3 4`, `/ 3 4`gingerBill2022-03-032-6/+214
|
* Initial work on `core:text/template`gingerBill2022-03-035-0/+2059
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-03-032-3/+9
|\
| * [compress] 32-bit cleanness.Jeroen van Rijn2022-03-032-3/+9
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-03-033-7/+46
|\|
| * Merge pull request #1572 from Lperlind/better-fmtgingerBill2022-03-031-6/+22
| |\ | | | | | | Improve core:fmt formatting
| | * Improve core:fmt formattingLucas Perlind2022-03-021-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | * Strings will respect widths smaller than the string's length * Strings are right justified by default like integers * Strings accept '-' flag to be left justified * Booleans will be formatted like strings * Enums will be formatted like strings
| * | Added rand_bytes for Windows in core:cryptozhibog2022-03-022-1/+24
| |/
* / Minor fix to strconv.unquote_stringgingerBill2022-03-031-0/+1
|/
* Use `contextless` where possibledev-2022-03gingerBill2022-03-014-20/+20
|
* Correct `alloc_from_memory_block`gingerBill2022-03-012-15/+47
|
* [mem] Add missing `\n` to tracking allocator example.Jeroen van Rijn2022-03-011-13/+13
|
* Merge pull request #1557 from semarie/openbsd-supportgingerBill2022-02-2822-23/+1065
|\ | | | | initial OpenBSD support
| * initial OpenBSD supportSébastien Marie2022-02-2522-23/+1065
| |
* | Remove `context.user_data`gingerBill2022-02-281-1/+0
| |
* | Keep `-vet` happygingerBill2022-02-251-1/+0
| |
* | Correct `read_console` readinggingerBill2022-02-251-2/+13
| |
* | Revert changegingerBill2022-02-251-1/+1
| |
* | Change `<` to `<=`gingerBill2022-02-251-1/+1
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-02-255-327/+329
|\|
| * Merge pull request #1549 from semarie/clone_to_cstring-leakJeroen van Rijn2022-02-244-327/+300
| |\ | | | | | | delete allocated memory with clone_to_cstring
| | * remove the optional `;` in os_freebsd.odinSébastien Marie2022-02-241-280/+280
| | |
| | * use `context.temp_allocator` instead of general allocation + delete()Sébastien Marie2022-02-244-53/+26
| | | | | | | | | | | | where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
| * | Add make_directory so darwin can build html docsColin Davidson2022-02-241-0/+10
| | |
| * | Merge pull request #1528 from Tetralux/split-docsJeroen van Rijn2022-02-231-0/+19
| |\ \ | | | | | | | | Add doc comments to strings.split() and strings.split_n()
| | * | Don't use leading asterisksTetralux2022-02-211-17/+17
| | | |
| | * | Add doc comments to strings.split() and strings.split_n()Tetralux2022-02-211-0/+19
| | |/
* | / Correct `os.read` on windows for `os.stdin`gingerBill2022-02-251-5/+6
|/ /
* | Add generic procedure for default SipHash 2-4zhibog2022-02-221-0/+20
| |
* | Added SipHash + tests and fixed remaining semicolons in vendor/botanzhibog2022-02-221-0/+316
|/
* Update fmt to record the bytes written in the fmt.InfogingerBill2022-02-202-214/+207
|
* Merge pull request #1519 from colrdavidson/hyperspeed_file_sizegingerBill2022-02-201-25/+24
|\ | | | | Maintain a running count printed, so fprintf returns correct sizes for non-files
| * switch to passing total_size to the io.writersColin Davidson2022-02-191-45/+22
| |
| * fprintf tweaked to avoid calling file_sizeColin Davidson2022-02-191-22/+44
| |
* | Memory LeakPatric Dexheimer2022-02-201-2/+3
|/ | | `dir` will leak memory if u use it with allocators that don´t care in freeing the memory at the end ( like arenas or the temp_allocator ) , because `strings.clone` and `strings.concatenate` are not using the passed allocator.
* Use the _unix_fstat pointer to avoid 144B copies on fileIOColin Davidson2022-02-181-5/+7
|
* Merge pull request #1504 from odin-lang/directx-packagesgingerBill2022-02-171-0/+3
|\ | | | | DirectX Package Support
| * Add `vendor:directx` packages: `dxgi`, `d3d11`, and `d3d12`gingerBill2022-02-161-0/+3
| | | | | | | | TODO: enums marked with `bit_set` may need conversions
* | Adding capture procedures to user32Tail Wag Games2022-02-171-0/+3
| | | | | | Adding `GetCapture`, `SetCapture` and `ReleaseCapture` functions - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcapture
* | Merge pull request #1502 from colrdavidson/mainline-fastJeroen van Rijn2022-02-161-3/+6
|\ \ | |/ |/| avoid memset on stats
| * avoid memset on statsColin Davidson2022-02-161-3/+6
| |
* | Allow sysv and win64 calling conventions to be used on any platform on amd64gingerBill2022-02-161-0/+5
|/
* Improve slice bounds checking runtime error messagesgingerBill2022-02-161-7/+7
|
* Move Objective-C libraries located in `core:sys/darwin/*` to `vendor:darwin/*`gingerBill2022-02-1624-11056/+0
|
* Merge pull request #1488 from colrdavidson/masterJeroen van Rijn2022-02-151-0/+28
|\ | | | | Add fork and personality
| * Add fork and personalityColin Davidson2022-02-111-0/+28
| |
* | Merge pull request #1331 from DanielGavin/parser-fault-recoverygingerBill2022-02-151-1/+13
|\ \ | | | | | | Recover from closing brace not found in field list
| * | Check for non inserted semicolon in *expect_closing_brace_of_field_list*Daniel Gavin2021-11-251-1/+4
| | |