aboutsummaryrefslogtreecommitdiff
path: root/src/gb
Commit message (Collapse)AuthorAgeFilesLines
* Fix gcc buildavanspector2024-01-131-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 parsergingerBill2023-08-161-885/+4
|
* Fix line error printing for error messagesgingerBill2023-06-191-6/+33
|
* Update threading.cpp to have helgrind annotationsgingerBill2023-01-161-2/+0
|
* fix: Expand OpenBSD include for wait.h to all UnixJeroen Ruigrok van der Werven2022-08-221-1/+1
| | | | closes: #1968
* Undo changes to common.cpp and move the include of sys/wait.h to gb.hRonald19852022-07-221-0/+4
|
* Additional cleanup of microsoft_craziness.h.Jeroen van Rijn2022-05-271-1/+1
|
* Compiler: Add early error for output path being a directory.Jeroen van Rijn2022-04-241-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() implementationSébastien Marie2022-02-251-4/+44
| | | | permit to not require sendfile(2) syscall for gb_file_copy()
* initial OpenBSD supportSébastien Marie2022-02-251-1/+45
|
* [report] Fix `odin report` crash if `/usr/lib/os-release` doesn't exist.Jeroen van Rijn2022-02-221-0/+1
|
* src: Add preliminary support for Linux AArch64Yawning Angel2021-12-231-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 sizeskytrias2021-10-231-1/+4
|
* Add some minor sanity checks to the compiler's `heap_allocator_proc` on DarwingingerBill2021-09-081-4/+8
|
* Change the implementation of `Arena` to use virtual memory, and remove the ↵gingerBill2021-08-261-626/+0
| | | | old gbArena code
* thread_pool.cpp: fix with 1 thread; gb.h: remove buggy /proc/cpuinfo codenakst2021-08-231-63/+3
|
* Migrate and remove more from gb.hgingerBill2021-08-191-1052/+4
|
* Remove unused code from gb.h (which means it is heavily modified now)gingerBill2021-08-191-2269/+2
|
* Improve the C++ to be more correct for clang on Windows, still requiring the ↵gingerBill2021-08-191-10/+31
| | | | same disabled warnings as on *nix
* Fix typogingerBill2021-08-071-6/+6
|
* Inline heap_allocator resize logic on *nix platformsgingerBill2021-08-071-15/+41
|
* Prepare tokenizer for optimizationsgingerBill2021-08-021-1/+1
|
* Begin optimizing tokenizer; Replace `gb_utf8_decode` with `utf8_decode` (CC ↵gingerBill2021-08-011-1/+3
| | | | but easier to change later)
* Fix `gb_shuffle`gingerBill2021-07-131-1/+1
|
* Fix typo in gb_get_envgingerBill2021-04-251-2/+2
|
* Add `gb_get_env`gingerBill2021-04-251-0/+42
|
* Fix potential Typo : S32 ==> I32Jason Dsouza2021-04-191-2/+2
|
* Make size of allocation multiple of the alignmentNakst2021-03-141-1/+1
| | | To silence an error from GCC's address sanitizer.
* Remove `bit_field` type from Odin (keyword and dead runtime code still exists)gingerBill2021-02-191-3/+3
|
* Patch up gb.hgingerBill2020-11-241-1/+22
|
* Prepare for M1 MacgingerBill2020-11-241-2/+78
|
* Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a blockgingerBill2020-11-151-1/+1
|
* Add FreeBSD targets, get gb.h working with FreeBSD, fix odin_root_directory ↵Christian Seibold2020-09-141-1/+84
| | | | function for FreeBSD and a few other operating systems not yet added
* Fix `gb_alloc_str_len`gingerBill2020-08-051-1/+2
|
* Update microsoft_craziness.h to work correctly with the rest of the codebase ↵gingerBill2019-11-271-0/+4
| | | | (and not use WIN32_LEAN_AND_MEAN)
* Clean up thread pool codegingerBill2019-09-031-12/+3
|
* Improve thread pool (volatile hints, etc)gingerBill2019-09-021-4/+4
|
* Minor changesgingerBill2019-09-011-7/+24
|
* ThreadPool for the parsergingerBill2019-09-011-1/+1
|
* Fix race condition; Change `for in` addressing modegingerBill2018-12-241-1/+1
|
* Hack: union compound literal fixgingerBill2018-11-291-1/+1
|
* Fix poly proc determination by cloning the signature nodegingerBill2018-11-251-5/+8
|
* fix macos thread_count valueHasen Judy2018-09-151-1/+2
|
* Fix typogingerBill2018-08-191-3/+2
|
* Fix gbMutex for *nixgingerBill2018-08-191-9/+7
|
* Uncomment codegingerBill2018-07-011-1/+1
|
* Fix on *nixgingerBill2018-07-011-6/+12
|
* Fix gb.hgingerBill2018-06-151-4/+3
|
* Fix type aliasing comparison; Fix gb_utf8_decodegingerBill2018-06-151-1/+1
|
* Remove code relating to default struct valuesgingerBill2018-05-201-12/+14
|