| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Correct xml test | gingerBill | 2022-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fix issue 1761. Added the test vector to the core and vendor tests | zhibog | 2022-05-04 | 2 | -0/+8 |
| | | |||||
| * | [xxhash] For the streaming tests, randomly select the size to use. | Jeroen van Rijn | 2022-05-02 | 1 | -5/+23 |
| | | | | | | | | | | Randomize size used with `update`. It'll print "Using user-selected seed {18109872483301276539,2000259725719371} for update size randomness." If a streaming test then fails, you can repeat it using: `odin run . -define:RAND_STATE=18109872483301276539 -define:RAND_INC=2000259725719371` | ||||
| * | [xxhash] Add tests for large inputs | Jeroen van Rijn | 2022-05-02 | 2 | -3/+155 |
| | | | | | | | | | | | | | | | Test XXH32, XXH64, XXH3-64 and XXH3-128 for large inputs, with both all-at-once and streaming APIs. XXH32_create_state and XXH64_create_state now implicitly call their "reset state" variants to simplify the streaming API to 3 steps: - create state / defer destroy - update - digest (finalize) These are tested with an array of 1, 2, 4, 8 and 16 megabytes worth of zeroes. All return the same hashes as do both the one-shot version, as well as that of the official xxhsum tool. 3778/3778 tests successful. | ||||
| * | [tests/core/image] Remove old crappy PPM writer. | Jeroen van Rijn | 2022-04-30 | 1 | -201/+0 |
| | | |||||
| * | [pbm] Also test PFM formats. | Jeroen van Rijn | 2022-04-30 | 1 | -14/+95 |
| | | |||||
| * | Merge branch 'master' into pr/1726 | Jeroen van Rijn | 2022-04-30 | 1 | -1/+1 |
| |\ | |||||
| | * | [xml] Add `parse_from_string` overload. | Jeroen van Rijn | 2022-04-30 | 1 | -1/+1 |
| | | | | | | | | | | | `parse` now takes either a `[]u8` slice or a string. `load_from_file` takes a path string. | ||||
| * | | [pbm] Fixes. | Jeroen van Rijn | 2022-04-30 | 1 | -42/+44 |
| | | | |||||
| * | | [pbm] WIP unit tests. part deux. | Jeroen van Rijn | 2022-04-30 | 1 | -2/+26 |
| | | | |||||
| * | | [pbm] WIP unit tests. | Jeroen van Rijn | 2022-04-30 | 1 | -15/+43 |
| | | | |||||
| * | | [pbm] Normalize some errors, correct .depth | Jeroen van Rijn | 2022-04-30 | 1 | -6/+6 |
| |/ | |||||
| * | [i18n] Enable *nix tests again. | Jeroen van Rijn | 2022-04-29 | 1 | -1/+1 |
| | | |||||
| * | Disable i18n test for *nix for now. | Jeroen van Rijn | 2022-04-29 | 1 | -1/+1 |
| | | |||||
| * | [i18n] Enable i18n test on Linux. | Jeroen van Rijn | 2022-04-29 | 1 | -2/+5 |
| | | |||||
| * | [i18n] Fix segfault on destroy on Linux | Jeroen van Rijn | 2022-04-29 | 1 | -9/+9 |
| | | | | | Forgot to intern the section string in QT TS loader. | ||||
| * | [i18n] Add tests. | Jeroen van Rijn | 2022-04-29 | 4 | -3/+196 |
| | | |||||
| * | [i18n/xml] Move I18N XML files to their own assets directory. | Jeroen van Rijn | 2022-04-29 | 7 | -22/+74 |
| | | |||||
| * | [i18n] QT Linguist TS reader. | Jeroen van Rijn | 2022-04-29 | 1 | -26/+26 |
| | | |||||
| * | [xml] Enable tests. | Jeroen van Rijn | 2022-04-28 | 2 | -7/+24 |
| | | |||||
| * | [xml] Speedup. | Jeroen van Rijn | 2022-04-28 | 1 | -8/+9 |
| | | |||||
| * | Merge branch 'master' into xml | Jeroen van Rijn | 2022-04-27 | 1 | -15/+18 |
| |\ | |||||
| | * | Move Odin CI test assets over to its own repository. | Jeroen van Rijn | 2022-04-27 | 1 | -15/+18 |
| | | | |||||
| * | | Merge branch 'master' into xml | Jeroen van Rijn | 2022-04-27 | 36 | -172/+2784 |
| |\| | |||||
| | * | Update CI for math library. | Jeroen van Rijn | 2022-04-26 | 1 | -1/+1 |
| | | | |||||
| | * | Update test paths. | Jeroen van Rijn | 2022-04-26 | 6 | -46/+46 |
| | | | |||||
| | * | Address edge cases. | Jeroen van Rijn | 2022-04-26 | 7 | -43/+44 |
| | | | |||||
| | * | Update tests to use new filename generation code. | Jeroen van Rijn | 2022-04-24 | 6 | -54/+53 |
| | | | |||||
| | * | Compiler: Allow -out: to not have an extension on *nix for executables (only). | Jeroen van Rijn | 2022-04-24 | 2 | -3/+3 |
| | | | |||||
| | * | Compiler: Add early error for output path being a directory. | Jeroen van Rijn | 2022-04-24 | 3 | -17/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - Introduce new `Path` type and an array of build paths on the build context. - Resolve input and output paths/files early (before parsing). - Error early if inputs are missing or outputs are directories. - Plumb new file path generation into linker stage instead of its adhoc method. TODO: - Remove more adhoc file path generation in parser and linker stage. - Make intermediate object file generation use new path system. - Round out and robustify Path helper functions. | ||||
| | * | [compress/shoco] Add short string compressor. | Jeroen van Rijn | 2022-04-22 | 5 | -1/+177 |
| | | | |||||
| | * | [json/unmarshal] Fix quoted strings. | Jeroen van Rijn | 2022-04-19 | 1 | -9/+11 |
| | | | |||||
| | * | Add JSON unmarshal test. | Jeroen van Rijn | 2022-04-19 | 1 | -0/+253 |
| | | | |||||
| | * | Delete accidentally added test artefact. | Jeroen van Rijn | 2022-04-18 | 1 | -0/+0 |
| | | | |||||
| | * | Add uleb128 byte-at-a-time decoder. | Jeroen van Rijn | 2022-04-16 | 2 | -1/+1 |
| | | | |||||
| | * | [QOI] Add support for RGB images (previously loader always output RGBA). | Jeroen van Rijn | 2022-04-12 | 1 | -5/+29 |
| | | | | | | | | | Also add QOI to CI test suite by roundtripping 8-bit RGB(A) through QOI and checking the hashes match. | ||||
| | * | [image] Add QOI load/save. | Jeroen van Rijn | 2022-04-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Additionally: - Firm up PNG loader with some additional checks. - Add helper functions to `core:image` to expand grayscale to RGB(A), and so on. TODO: Possibly replace PNG's post-processing steps with calls to the new helper functions. | ||||
| | * | -file for tests\issues. | Jeroen van Rijn | 2022-04-05 | 2 | -4/+4 |
| | | | |||||
| | * | Add -help to CI tests. | Jeroen van Rijn | 2022-04-05 | 1 | -9/+9 |
| | | | |||||
| | * | [math/big] Tell Python test runner how many nails we use. | Jeroen van Rijn | 2022-04-01 | 3 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | `_DIGIT_NAILS` is defined as 4, meaning that we use 60 out of every 64 bits. We can use as few as 1 nail, using 63 bits out of every 64, and all tests will still pass. However, it needs more testing to see if that's a worthwhile change to make. For the tests to work properly when changing the nails, Python needs to know about it as well. In addition, compile the big math code with `-o:speed` going forward. | ||||
| | * | [windows] Fix leak in `glob`. | Jeroen van Rijn | 2022-03-29 | 1 | -1/+1 |
| | | | |||||
| | * | [strings] Improve `cut`, add tests for it. | Jeroen van Rijn | 2022-03-27 | 1 | -1/+28 |
| | | | |||||
| | * | Use `WIFEXITED()` and `WEXITSTATUS()` on Unix `system()` exit code | gitlost | 2022-03-24 | 2 | -1/+14 |
| | | | | | | | | | | | (ensures Odin run returns correct exit code of built executable) Adds test "tests/core/os/test_core_os_exit.odin" (Unix only) | ||||
| | * | Fix test | gingerBill | 2022-03-24 | 1 | -1/+1 |
| | | | |||||
| | * | Fix issue #1537 "filepath.split_list requires a trailing separator" | gitlost | 2022-03-23 | 3 | -1/+132 |
| | | | | | | | | | | | | | Does `make()` with `count + 1` and appends final component (note a trailing separator will now result in an empty final component) Adds test "tests/core/path/filepath/test_core_filepath.odin" | ||||
| | * | Fix issue #829 "Compiler crashes when declaring maps with procedure" | gitlost | 2022-03-23 | 3 | -0/+68 |
| | | | | | | | | | | | | | Inits `o->value` in `check_expr_base_internal()` so doesn't accidentally use last (the proc lit was being set to that of previous string) Adds test to "tests/issues" and changes CI to use new "run" shells | ||||
| | * | Merge pull request #1626 from gitlost/hxa_fixes | gingerBill | 2022-03-22 | 6 | -3/+578 |
| | |\ | | | | | | | Fix some core:encoding/hxa stuff (error handling, header, max -> min) | ||||
| | | * | Fix some core:encoding/hxa stuff (error handling, header, max -> min) | gitlost | 2022-03-16 | 6 | -3/+578 |
| | | | | | | | | | | | | | | | | Also add missing f16 case to core:reflect as_u64 & as_f64 Add tests for above & add previous tests missing from test/core/build.bat | ||||
| | * | | Fix issue #1592 "LLVM code gen error when using a constant in an if" | gitlost | 2022-03-18 | 1 | -0/+489 |
| | |/ | | | | | | | | | | | | | Changes lb_build_if_stmt() to return null lbValue if condition is cmpAnd, cmpOr or non-const neg and check in lb_build_if_stmt() to avoid short circuiting if that's the case Adds test to "tests/issues" and adds step in CI to check this dir | ||||
| | * | Remove accidentally committed test binary. | Jeroen van Rijn | 2022-03-14 | 1 | -0/+0 |
| | | | |||||