| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Minor clean up of permanent/temporary arena usage | gingerBill | 2025-09-10 | 1 | -11/+13 |
| | | |||||
| * | Fix #5498 | Jeroen van Rijn | 2025-07-25 | 1 | -1/+1 |
| | | | | | | | Also: - Expands `tests/core/hash` - Fixes bug found in `#hash(s, "murmur64")` | ||||
| * | Define empty `gb_no_asan` if VS < 2022 | Jeroen van Rijn | 2025-06-10 | 1 | -1/+5 |
| | | |||||
| * | gb.h: fix buffer overflow when printing long strings. fix #4831 | IllusionMan1212 | 2025-04-09 | 1 | -9/+17 |
| | | |||||
| * | Work on making name mangling deterministic | gingerBill | 2025-02-17 | 1 | -1/+1 |
| | | |||||
| * | Fix `gb.h`'s `gb_fprintf_va` to allocate if the string is larger than the ↵ | gingerBill | 2025-01-31 | 1 | -1/+12 |
| | | | | | default buffer | ||||
| * | Fix passing nullptr to args marked as non-null | bobsayshilol | 2024-10-27 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | libstdc++'s |memcpy| and |memset| both state that their inputs should never be a nullptr since this matches the C spec. Some compilers act on these hints, so we shouldn't unconditionally call these as it would signal to the compiler that they can't be nullptrs. As an example, the following code will always call |do_something()| when compiled with optimisations since GCC version 4.9: ``` void clear(void *ptr, int size) { memset(ptr, 0, size); } void example(void *ptr, int size) { clear(ptr, size); if (ptr != nullptr) do_something(); } ``` | ||||
| * | Fix CPU count detection in FreeBSD & NetBSD | Feoramund | 2024-09-11 | 1 | -2/+10 |
| | | |||||
| * | riscv compiler support | Laytan | 2024-09-01 | 1 | -2/+15 |
| | | |||||
| * | Use `gb_zero_*` calls | gingerBill | 2024-07-15 | 1 | -1/+1 |
| | | |||||
| * | Added arm64 support for NetBSD | Andreas T Jonsson | 2024-06-05 | 1 | -0/+3 |
| | | |||||
| * | Merge pull request #3570 from jasonKercher/linux-arm32 | gingerBill | 2024-05-20 | 1 | -3/+4 |
| |\ | | | | | Get the compiler to build and work on arm32 Linux | ||||
| | * | arm32 now compiles and runs demo | jasonkercher | 2024-05-10 | 1 | -3/+4 |
| | | | |||||
| * | | Merge branch 'master' into netbsd | Andreas T Jonsson | 2024-05-10 | 1 | -0/+2 |
| |\| | |||||
| | * | Minimally support compiling Odin on FreeBSD arm64 | Feoramund | 2024-05-05 | 1 | -0/+2 |
| | | | | | | | | | This is enough to get Odin itself compiling and the demo running. | ||||
| * | | Initial commit of NetBSD port | Andreas T Jonsson | 2024-04-16 | 1 | -1/+42 |
| |/ | |||||
| * | fix gb.h to be able to use -fsanitize=address | Laytan Laats | 2024-03-29 | 1 | -4/+9 |
| | | |||||
| * | Get Odin to compile on Haiku | Slendi | 2024-02-15 | 1 | -2/+47 |
| | | | | | | | 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 gcc build | avanspector | 2024-01-13 | 1 | -1/+1 |
| | | | | | Although gcc is not officially supported, this little fix lets it to build Odin | ||||
| * | Remove unused code in gb.h; Minimize use of `heap_allocator()` in parser | gingerBill | 2023-08-16 | 1 | -885/+4 |
| | | |||||
| * | Fix line error printing for error messages | gingerBill | 2023-06-19 | 1 | -6/+33 |
| | | |||||
| * | Update threading.cpp to have helgrind annotations | gingerBill | 2023-01-16 | 1 | -2/+0 |
| | | |||||
| * | fix: Expand OpenBSD include for wait.h to all Unix | Jeroen Ruigrok van der Werven | 2022-08-22 | 1 | -1/+1 |
| | | | | | closes: #1968 | ||||
| * | Undo changes to common.cpp and move the include of sys/wait.h to gb.h | Ronald1985 | 2022-07-22 | 1 | -0/+4 |
| | | |||||
| * | Additional cleanup of microsoft_craziness.h. | Jeroen van Rijn | 2022-05-27 | 1 | -1/+1 |
| | | |||||
| * | Compiler: Add early error for output path being a directory. | Jeroen van Rijn | 2022-04-24 | 1 | -11/+35 |
| | | | | | | | | | | | | | - 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. | ||||
| * | provide a simple gb_file_copy() implementation | Sébastien Marie | 2022-02-25 | 1 | -4/+44 |
| | | | | | permit to not require sendfile(2) syscall for gb_file_copy() | ||||
| * | initial OpenBSD support | Sébastien Marie | 2022-02-25 | 1 | -1/+45 |
| | | |||||
| * | [report] Fix `odin report` crash if `/usr/lib/os-release` doesn't exist. | Jeroen van Rijn | 2022-02-22 | 1 | -0/+1 |
| | | |||||
| * | src: Add preliminary support for Linux AArch64 | Yawning Angel | 2021-12-23 | 1 | -0/+2 |
| | | | | | | Tested via `tests/core`, on a Raspberry Pi 4 running the latest 64-bit Raspberry Pi OS image (LLVM 11). | ||||
| * | fix strip-semicolon using original file handle size | skytrias | 2021-10-23 | 1 | -1/+4 |
| | | |||||
| * | Add some minor sanity checks to the compiler's `heap_allocator_proc` on Darwin | gingerBill | 2021-09-08 | 1 | -4/+8 |
| | | |||||
| * | Change the implementation of `Arena` to use virtual memory, and remove the ↵ | gingerBill | 2021-08-26 | 1 | -626/+0 |
| | | | | | old gbArena code | ||||
| * | thread_pool.cpp: fix with 1 thread; gb.h: remove buggy /proc/cpuinfo code | nakst | 2021-08-23 | 1 | -63/+3 |
| | | |||||
| * | Migrate and remove more from gb.h | gingerBill | 2021-08-19 | 1 | -1052/+4 |
| | | |||||
| * | Remove unused code from gb.h (which means it is heavily modified now) | gingerBill | 2021-08-19 | 1 | -2269/+2 |
| | | |||||
| * | Improve the C++ to be more correct for clang on Windows, still requiring the ↵ | gingerBill | 2021-08-19 | 1 | -10/+31 |
| | | | | | same disabled warnings as on *nix | ||||
| * | Fix typo | gingerBill | 2021-08-07 | 1 | -6/+6 |
| | | |||||
| * | Inline heap_allocator resize logic on *nix platforms | gingerBill | 2021-08-07 | 1 | -15/+41 |
| | | |||||
| * | Prepare tokenizer for optimizations | gingerBill | 2021-08-02 | 1 | -1/+1 |
| | | |||||
| * | Begin optimizing tokenizer; Replace `gb_utf8_decode` with `utf8_decode` (CC ↵ | gingerBill | 2021-08-01 | 1 | -1/+3 |
| | | | | | but easier to change later) | ||||
| * | Fix `gb_shuffle` | gingerBill | 2021-07-13 | 1 | -1/+1 |
| | | |||||
| * | Fix typo in gb_get_env | gingerBill | 2021-04-25 | 1 | -2/+2 |
| | | |||||
| * | Add `gb_get_env` | gingerBill | 2021-04-25 | 1 | -0/+42 |
| | | |||||
| * | Fix potential Typo : S32 ==> I32 | Jason Dsouza | 2021-04-19 | 1 | -2/+2 |
| | | |||||
| * | Make size of allocation multiple of the alignment | Nakst | 2021-03-14 | 1 | -1/+1 |
| | | | | To silence an error from GCC's address sanitizer. | ||||
| * | Remove `bit_field` type from Odin (keyword and dead runtime code still exists) | gingerBill | 2021-02-19 | 1 | -3/+3 |
| | | |||||
| * | Patch up gb.h | gingerBill | 2020-11-24 | 1 | -1/+22 |
| | | |||||
| * | Prepare for M1 Mac | gingerBill | 2020-11-24 | 1 | -2/+78 |
| | | |||||
| * | Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a block | gingerBill | 2020-11-15 | 1 | -1/+1 |
| | | |||||