| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add missing guards around push/pop pragmas | bobsayshilol | 2024-10-27 | 1 | -3/+8 |
| | | | | | This matches all the other places where we silence Windows warnings. | ||||
| * | Avoid undefined arithmetic shifting | bobsayshilol | 2024-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The result of a left shift on a positive signed integer (Rune) must fit into an unsigned integer otherwise it's undefined behaviour, as is left shifting a negative integer by any amount. This code can only be hit if |x >= 0xf0| and hence a left shift of 31 will always be undefined unless the input is 0 or 1. To avoid hitting this we can instead extend the lowest bit to be the mask if we assume that ints are 2's complement, which we already do elsewhere. This generates identical code in testing on Compiler Explorer and the Odin test suite passes locally with this change. Note that the original code would change to be defined behaviour in C++20, however we are currently build with |-std=c++14| in the build scripts. | ||||
| * | Add `UCG` library to Odin compiler | Feoramund | 2024-06-29 | 1 | -0/+5 |
| | | |||||
| * | `gb_internal` a lot | gingerBill | 2022-12-18 | 1 | -5/+5 |
| | | |||||
| * | Begin optimizing tokenizer; Replace `gb_utf8_decode` with `utf8_decode` (CC ↵ | gingerBill | 2021-08-01 | 1 | -0/+97 |
| | | | | | but easier to change later) | ||||
| * | Add `rune_is_letter_or_digit` for tokenizer | gingerBill | 2020-05-27 | 1 | -0/+23 |
| | | |||||
| * | Optimize `rune_is_*` procedures for tokenizer | gingerBill | 2020-05-27 | 1 | -2/+2 |
| | | |||||
| * | Change how foreign imports work for mac | gingerBill | 2019-09-29 | 1 | -1/+0 |
| | | |||||
| * | Minor code organization change | gingerBill | 2019-03-31 | 1 | -1/+1 |
| | | |||||
| * | Clean up name mangling by using unique package names per project | gingerBill | 2018-05-27 | 1 | -5/+7 |
| | | |||||
| * | Build as C++ | Ginger Bill | 2017-06-08 | 1 | -0/+43 |
| | | |||||
| * | Change extensions .cpp to .c | Ginger Bill | 2016-11-23 | 1 | -66/+0 |
| | | |||||
| * | Remove templated Map; replace with #include macro "templates" trick | Ginger Bill | 2016-11-23 | 1 | -5/+5 |
| | | |||||
| * | Minor Style Fixes | Ginger Bill | 2016-10-22 | 1 | -2/+2 |
| | | |||||
| * | Minimal Dependency Map: Only build what is needed | Ginger Bill | 2016-09-27 | 1 | -4/+4 |
| | | |||||
| * | Filename as default import name; as .; as _; panic() | Ginger Bill | 2016-09-21 | 1 | -0/+25 |
| | | |||||
| * | Pointer arithmetic builtin procedures | Ginger Bill | 2016-08-27 | 1 | -0/+2 |
| | | |||||
| * | Full Unicode Support | gingerBill | 2016-08-15 | 1 | -0/+39 |