| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 2 | -2/+2 |
| | | |||||
| * | More package lines. | Jeroen van Rijn | 2025-10-09 | 2 | -4/+3 |
| | | |||||
| * | Unify filepath.join behavior on between unix/windows | Wrath | 2025-09-23 | 1 | -16/+13 |
| | | |||||
| * | `for in string16`; Support `string16` across core | gingerBill | 2025-08-02 | 1 | -2/+2 |
| | | |||||
| * | Disable filepath/match.odin and filepath/walk.odin compilation on js | sergeypdev | 2025-07-19 | 2 | -0/+2 |
| | | | | | targets | ||||
| * | Enable `odin check examples/all` for JS. | Jeroen van Rijn | 2025-06-04 | 1 | -0/+36 |
| | | |||||
| * | os/os2: wasi target support | Laytan Laats | 2025-01-18 | 3 | -0/+38 |
| | | |||||
| * | Haiku: small fixes across core | avanspector | 2025-01-10 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #4427 from laytan/posix-additions | gingerBill | 2024-10-30 | 1 | -32/+5 |
| |\ | | | | | Finish sys/posix with Linux and partial Windows support & clean up other packages as a result | ||||
| | * | clean up dynlib and path/filepath with sys/posix | Laytan | 2024-10-28 | 1 | -32/+5 |
| | | | |||||
| * | | Fix possible leak in recursive `filepath.glob` | gingerBill | 2024-10-27 | 1 | -0/+7 |
| |/ | |||||
| * | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 1 | -1/+1 |
| | | | | | file tag syntax. | ||||
| * | Merge pull request #3971 from jasonKercher/os2-process-linux | gingerBill | 2024-08-16 | 2 | -28/+33 |
| |\ | | | | | os2 process linux implementation | ||||
| | * | update core:filepath's clean, join and split_list to return optional ↵ | jason | 2024-08-16 | 2 | -28/+33 |
| | | | | | | | | | Allocator_Errors | ||||
| * | | posix: add package | Laytan Laats | 2024-08-14 | 1 | -4/+3 |
| |/ | |||||
| * | Replace `err != 0` with `err != nil` where possible | gingerBill | 2024-08-04 | 3 | -20/+13 |
| | | |||||
| * | Begin mapping `os.Error` in the rest of the codebase | gingerBill | 2024-08-04 | 1 | -3/+3 |
| | | |||||
| * | `os.Errno` -> `os.Error` | gingerBill | 2024-08-04 | 2 | -6/+6 |
| | | |||||
| * | Use `union #shared_nil` for `os.Error` | gingerBill | 2024-08-04 | 1 | -2/+2 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | Use correct `__error` link name for FreeBSD | Feoramund | 2024-06-11 | 1 | -1/+1 |
| | | |||||
| * | Updated core lib and did cleanup | Andreas T Jonsson | 2024-04-18 | 1 | -2/+2 |
| | | | | | | Updated core with some path related functions and did some minor code cleanup. Most of the standard library function is just a matter of copy what is there for the other BSDs. | ||||
| * | Fix filepath.rel allocation behaviour | gingerBill | 2024-02-06 | 1 | -16/+11 |
| | | |||||
| * | Remove `core:os` dependency for `base:runtime` | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 3 | -3/+3 |
| | | |||||
| * | Fixed typo "fot" and clarified slashpath.ext | Jesse Stiller | 2023-10-30 | 1 | -3/+3 |
| | | |||||
| * | Use `or_break` and `or_continue` where appropriate in the core library | gingerBill | 2023-09-30 | 3 | -10/+4 |
| | | |||||
| * | Disallow `for in` in favour of `for _ in` | gingerBill | 2023-08-08 | 1 | -1/+1 |
| | | |||||
| * | Add docs to `core:path/filepath` | gingerBill | 2023-02-28 | 2 | -6/+46 |
| | | |||||
| * | Add `runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD` where appropriate | gingerBill | 2023-02-10 | 3 | -13/+20 |
| | | |||||
| * | Add `user_data: rawptr` to `filepath.Walk_Proc` callback | gingerBill | 2022-12-05 | 1 | -8/+8 |
| | | |||||
| * | Change open to be read only when opening directory | Daniel Gavin | 2022-07-25 | 1 | -1/+1 |
| | | |||||
| * | [path/slashpath] Change join() to take a slice instead of varargs | Tetralux | 2022-07-21 | 1 | -1/+1 |
| | | | | | Achieves parity with filepath.join(), which was similarly changed a while back. | ||||
| * | [path/filepath] Change join() to take a []string instead of varargs | Tetralux | 2022-05-21 | 3 | -3/+3 |
| | | | | | | | | | | This makes passing an allocator easier, as you no longer have to resort to named arguments: Before: `join(a, b, c)` became `join(elems={a, b, c}, allocator=ally)` After: `join({a, b, c})` becomes `join({a, b, c}, ally)` | ||||
| * | Minor fix | gingerBill | 2022-05-12 | 1 | -1/+1 |
| | | |||||
| * | [path/filepath] Add file stem and long-extension procedures | Tetralux | 2022-04-23 | 1 | -9/+124 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds stem(), short_stem(), and long_ext(); also adds doc-comments to base() and ext(). The 'stem' is usually 'the name' of the file; the basename without the file extension. To this end, this adds stem(), which is such that: stem(path) + ext(path) = base(path) However, 'file extension' has two different meanings to what constitutes it! > What is the extension of: 'name.tar.gz' ? Colloquially, you would likely think of it as 'a tarball' - which you might think is '.tar.gz'. But, if you're writing code to process a file of this type, you would first treat it as a Gzip file, and then treat the result as a TAR file - i.e: '.gz' ... _followed by_ '.tar'. ext() returns '.gz' here, since that is the most-immediate format that you would need to use to decode it; it would be a Gzip stream. Sometimes though, you do actually want to consider these longer file extensions. Perhaps you're extracting a tarball, and what to know what to call the intermediate tar file; perhaps you want to check to see if this file is a tarball, or just a Gzip file; or maybe you just want 'the name' of the file, and not this "strange 'name-and-part-of-the-extension' thing". So, this also adds short_stem() and long_ext(), such that: short_stem(path) + long_ext(path) = base(path) Thus, we can use either, but the most immediately-useful one is the easiest to reach for: stem('name.tar.gz') -> 'name.tar' ext('name.tar.gz') -> '.gz' short_stem('name.tar.gz') -> 'name' long_ext('name.tar.gz') -> '.tar.gz' These procedures are identical to their counterparts when the path only has a simple extension: stem('name.txt') -> 'name' ext('name.txt') -> '.txt' short_stem('name.txt') -> 'name' long_ext('name.txt') -> '.txt' | ||||
| * | [windows] Fix leak in `glob`. | Jeroen van Rijn | 2022-03-29 | 2 | -5/+11 |
| | | |||||
| * | Fix issue #1537 "filepath.split_list requires a trailing separator" | gitlost | 2022-03-23 | 1 | -2/+8 |
| | | | | | | | 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" | ||||
| * | initial OpenBSD support | Sébastien Marie | 2022-02-25 | 1 | -1/+6 |
| | | |||||
| * | Memory Leak | Patric Dexheimer | 2022-02-20 | 1 | -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. | ||||
| * | Merge branch 'master' into odin-global-constants-as-enums | gingerBill | 2022-02-15 | 2 | -3/+2 |
| |\ | |||||
| | * | fix -vet for filepath/match.odin | CiD- | 2022-02-08 | 1 | -2/+1 |
| | | | |||||
| | * | os.open does r/d as default which makes a call to open a dir invalid this ↵ | Platin21 | 2022-02-05 | 1 | -1/+1 |
| | | | | | | | | | should fix this problem | ||||
| * | | Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use strings | gingerBill | 2022-01-20 | 3 | -9/+9 |
| |/ | |||||
| * | Move `core:path` to `core:path/slashpath` | gingerBill | 2022-01-17 | 3 | -3/+8 |
| | | | | | This is to reduce the confusion that occurs between that package and the `core:path/filepath` package | ||||
| * | fix memory leak in path.join | Dale Weiler | 2021-11-22 | 1 | -1/+1 |
| | | |||||
| * | Correct `context.allocator` usage | gingerBill | 2021-09-19 | 1 | -4/+5 |
| | | |||||
| * | Strip semicolons in core which were missing | gingerBill | 2021-09-08 | 1 | -17/+17 |
| | | |||||
| * | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 6 | -472/+472 |
| | | |||||
| * | Add more uses of `or_return` | gingerBill | 2021-08-15 | 1 | -4/+1 |
| | | |||||