aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix typogingerBill2021-08-071-6/+6
|
* Inline heap_allocator resize logic on *nix platformsgingerBill2021-08-071-40/+42
|
* Improve and simplify the memory layout of `MPMCQueue`gingerBill2021-08-071-0/+22
|
* Give `begin_error_block` its own recursive mutexgingerBill2021-07-291-1/+1
|
* Modify MPMCQueue behaviour to use `i32` over `isize`; Correct cache line ↵gingerBill2021-07-281-1/+13
| | | | padding within MPMCQueue
* Define which mutexes are blocking and recursive explicitlygingerBill2021-07-271-38/+58
|
* Improve default scope sizegingerBill2021-07-271-1/+2
|
* Replace non-recursive mutexes with `BlockingMutex`; Minor improves to ↵gingerBill2021-07-141-0/+38
| | | | initialization improves
* Add (internal flag) -show-debug-messagesgingerBill2021-07-131-1/+1
|
* Temporarily disable `-threaded-checker`; Restructure the untyped-expr-info ↵gingerBill2021-07-131-0/+1
| | | | system to be much more thread-friendly
* Add sanity casts for 32/64 bit correctnessgingerBill2021-07-121-3/+3
|
* Move things around for sanity checking for multithread preparationgingerBill2021-07-101-0/+6
|
* Use `next_pow2_isize`gingerBill2021-07-101-0/+19
|
* Add prototypes for `next_pow2`gingerBill2021-07-101-0/+4
|
* Implement `MPMCQueue` for procedure body checkinggingerBill2021-07-101-0/+1
| | | | This is preparation for basic multithreading in the semantic checker
* Enable Damerau-LevenshteingingerBill2021-07-101-1/+12
|
* Add "Suggestion: Did you mean?" for selector expression typosgingerBill2021-07-081-4/+87
|
* Remove unused filegingerBill2021-04-251-1/+0
|
* Implement `f16` functionalitygingerBill2021-04-011-7/+23
|
* Similar to the update to gb.hNakst2021-03-141-1/+1
|
* Fix typogingerBill2021-01-151-0/+1
|
* Implement custom temporary allocator using ring buffergingerBill2020-11-151-36/+94
|
* Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a blockgingerBill2020-11-151-1/+34
|
* Begin clarifying allocation patterns by changing from `heap_allocator` to ↵gingerBill2020-11-151-8/+40
| | | | specific arenas
* Fix error message when importing package that does not existTetralux2020-10-091-1/+14
| | | | | | | | | | | Previously on Linux, if a file in your program tried to import a package that did not actually exist, read_directory() assumed that the errno after calling opendir() was ENOTDIR. This was incorrect. Instead, we now switch on errno and check for ENOENT, which it is if the directory does not exist.
* Add FreeBSD targets, get gb.h working with FreeBSD, fix odin_root_directory ↵Christian Seibold2020-09-141-1/+1
| | | | function for FreeBSD and a few other operating systems not yet added
* Move `zero_size`gingerBill2020-05-271-6/+7
|
* Improve performance of tokenization and parsinggingerBill2020-05-271-12/+18
|
* Minor tokenizer performance improvementsgingerBill2020-05-271-1/+9
|
* Add `string.h`gingerBill2020-05-211-0/+1
|
* `#optional_ok` tag for proceduresgingerBill2020-04-191-1/+1
|
* Simplify compiler's `Map` and create a `StringMap` specifically for stringsgingerBill2020-04-131-7/+51
|
* Add extra guards for window-only performance checkinggingerBill2020-04-071-1/+5
|
* Fix psapi.h to be windows onlygingerBill2020-04-071-0/+1
|
* Disallow procedure calls with an associated deferred procedure to be used in ↵gingerBill2019-12-151-1/+1
| | | | logical binary expressions (short-circuiting)
* Make the `string` type elements "immutable", akin to `char const *` in CgingerBill2019-12-011-2/+2
| | | | Allows for extra security and optimization benefits
* Update microsoft_craziness.h to work correctly with the rest of the codebase ↵gingerBill2019-11-271-0/+7
| | | | (and not use WIN32_LEAN_AND_MEAN)
* Allow ranges for array-like compound literalsgingerBill2019-10-261-0/+3
|
* ThreadPool for the parsergingerBill2019-09-011-4/+1
|
* odin querygingerBill2019-05-251-6/+8
| | | | Output .json file containing information about the program
* Change the file name rules for imports (use / rather than \ on windows)gingerBill2019-04-201-1/+9
|
* Minor code organization changegingerBill2019-03-311-4/+10
|
* Replace redundant codegingerBill2019-02-061-1/+1
|
* Allow 'odin run program.odin -- <args-for-program.exe>Tetralux2019-01-281-1/+1
|
* Replace `context <- c {}` with `context = c;`. context assignments are ↵gingerBill2018-08-041-21/+23
| | | | scope based
* BigInt support in the constant systemgingerBill2018-07-281-2/+44
|
* Made `os_osx.odin` use the new-style `runtime.args__` and added ↵Zachary Pierson2018-07-021-1/+1
| | | | `read_directory` for macOS
* Add read_directory for linuxgingerBill2018-06-211-0/+64
|
* Modify CommentGroup parsinggingerBill2018-06-171-1/+0
|
* Use global arena for AstNode allocationsgingerBill2018-06-091-75/+87
|