aboutsummaryrefslogtreecommitdiff
path: root/src/path.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow precompiled resources with -resource:foo.resJeroen van Rijn2024-07-101-0/+7
| | | | And add them to the magic new feature.
* Merge pull request #3439 from andreas-jonsson/netbsdgingerBill2024-05-151-1/+1
|\ | | | | NetBSD support
| * Initial commit of NetBSD portAndreas T Jonsson2024-04-161-1/+1
| |
* | Fix `read_directory()` skipping directories on UNIX-likesFeoramund2024-05-121-4/+1
|/
* Copy file names from`dirent` into `FileInfo` during `read_directory`Harold Brenes2024-03-111-1/+1
|
* Get Odin to compile on HaikuSlendi2024-02-151-461/+461
| | | | | | This patch makes Odin to compile on Haiku which is a good first step. Now, all that's needed to do is to figure out how to do futexes, which I am blaming for the program crashing.
* Fix windows write_directory()Mark Naughton2023-05-191-1/+1
|
* Add write permissions check on output folderMark Naughton2023-05-191-0/+36
|
* Fix single-file package caseMark Naughton2023-05-181-1/+1
|
* Fix Windows version of get_current_directoryMark Naughton2023-04-251-3/+3
|
* Add Windows equivalent of get_current_directoryMark Naughton2023-04-241-0/+15
|
* Add get_current_directory()Mark Naughton2023-04-241-0/+12
|
* Fix bug when `.` is passed to `remove_extension_from_path`gingerBill2023-01-201-0/+3
|
* Merge branch 'master' into compiler-improvements-2023-01gingerBill2023-01-101-0/+3
|\
| * Merge pull request #2280 from DragosPopse/mastergingerBill2023-01-011-0/+3
| |\ | | | | | | Fixed empty output_path.name when building a folder with no subfolders
| | * Patched empty output_path.name when building a folderDragos2022-12-261-0/+3
| | |
* | | Localize gen_types mutexesgingerBill2023-01-041-7/+5
|/ /
* / Add `gb_internal` to path proceduresgingerBill2022-12-181-15/+15
|/
* Address edge cases.Jeroen van Rijn2022-04-261-3/+64
|
* Compiler: Add early error for output path being a directory.Jeroen van Rijn2022-04-241-0/+333
- 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.