| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Re-implement the error squiggles with visual width | Feoramund | 2024-06-29 | 1 | -159/+130 |
| | | |||||
| * | Refactor `show_error_on_line` | Feoramund | 2024-06-14 | 1 | -58/+238 |
| | | | | | | | | | | This should adequately solve any issues with Unicode alignment by sidestepping the issue entirely. With this change, we make use of the built-in ANSI facilities of the terminal to underline the text. If the terminal does not support underlining, there are still the fallback bold markers at the start and end of error locations. | ||||
| * | Revert "Merge pull request #3744 from Mango0x45/master" | Jeroen van Rijn | 2024-06-14 | 1 | -23/+7 |
| | | | | | | This reverts commit 45044de0b756f9ab018979abd5350533334a54ac, reversing changes made to 20c17ba6f971cf572da4fa5e9601e0df8d517112. | ||||
| * | Merge branch 'master' of https://github.com/Mango0x45/Odin into pr/3744 | Jeroen van Rijn | 2024-06-13 | 1 | -2/+1 |
| |\ | |||||
| | * | Generate ranges of the correct length | Thomas Voss | 2024-06-13 | 1 | -4/+16 |
| | | | |||||
| * | | Just change squiggle_extra type to i32. | Jeroen van Rijn | 2024-06-13 | 1 | -1/+1 |
| | | | |||||
| * | | Generate ranges of the correct length | Thomas Voss | 2024-06-13 | 1 | -4/+16 |
| |/ | |||||
| * | Pad ‘^~~~^’-style diagnostic ranges properly | Thomas Voss | 2024-06-13 | 1 | -2/+7 |
| | | |||||
| * | Remove `_` in `Syntax_Error` verbose message | Feoramund | 2024-06-09 | 1 | -2/+2 |
| | | |||||
| * | fix not printing `Error:` when terminal has no color support | Laytan Laats | 2024-06-07 | 1 | -4/+2 |
| | | |||||
| * | Fix `-ignore-warnings` | gingerBill | 2024-06-06 | 1 | -30/+33 |
| | | |||||
| * | Fix error reporting for enforce new switch/for syntax | gingerBill | 2024-05-16 | 1 | -6/+2 |
| | | |||||
| * | If only warnings exist on `print_all_errors`, next time it is called, clear ↵ | gingerBill | 2024-05-13 | 1 | -0/+15 |
| | | | | | | | the error list. This is mostly only syntax errors too | ||||
| * | fix duplicate suggestions and add missing newline | Laytan | 2024-05-09 | 1 | -2/+6 |
| | | |||||
| * | Free memory for the error messages just in case | gingerBill | 2024-05-07 | 1 | -0/+1 |
| | | |||||
| * | Merge neighbouring error messages with the same location | gingerBill | 2024-05-07 | 1 | -34/+57 |
| | | |||||
| * | Merge pull request #3532 from laytan/fix-invalid-json | gingerBill | 2024-05-05 | 1 | -2/+3 |
| |\ | | | | | fix invalid JSON when an error does not have a position | ||||
| | * | fix invalid JSON when an error does not have a position | Laytan Laats | 2024-05-05 | 1 | -2/+3 |
| | | | |||||
| * | | Fix more race conditions in error reporting | Feoramund | 2024-05-01 | 1 | -3/+3 |
| |/ | |||||
| * | Fix race condition in `error_va` | Feoramund | 2024-04-28 | 1 | -1/+1 |
| | | | | | | | | If the error count exceeded `MAX_ERROR_COLLECTOR_COUNT`, multiple threads could print and exit simultaneously, causing a segfault. This change moves the mutex lock back before the conditional. | ||||
| * | Clear unused `global_error_collector.curr_error` | Feoramund | 2024-04-28 | 1 | -0/+2 |
| | | | | | | | This should cleanly prevent acknowledging duplicate errors on the same position as seems to be the intent based on the prior `else if` condition. | ||||
| * | Remove line info in message with `-json-errors` | gingerBill | 2024-04-24 | 1 | -6/+30 |
| | | |||||
| * | Print to string buffer before printing errors | gingerBill | 2024-04-16 | 1 | -62/+84 |
| | | |||||
| * | Fix #3425 | gingerBill | 2024-04-15 | 1 | -5/+6 |
| | | |||||
| * | Improve error messages for `switch` and `for` r-values with a suggestion | gingerBill | 2024-04-12 | 1 | -5/+16 |
| | | |||||
| * | Add `"type"` field to `-json-errors` | gingerBill | 2024-04-08 | 1 | -0/+8 |
| | | |||||
| * | Clarity warning and error printing | gingerBill | 2024-04-02 | 1 | -6/+7 |
| | | |||||
| * | Fix printing of warnings | gingerBill | 2024-04-02 | 1 | -1/+2 |
| | | |||||
| * | Fix printing errors issue | gingerBill | 2024-03-25 | 1 | -2/+6 |
| | | |||||
| * | Add assert message to tell me people to report the bug | gingerBill | 2024-03-24 | 1 | -2/+2 |
| | | |||||
| * | Fix #3133 by show the line of the syntax error | gingerBill | 2024-03-20 | 1 | -1/+1 |
| | | |||||
| * | Add `offset` (in bytes) field to `-json-errors` | gingerBill | 2024-03-20 | 1 | -0/+1 |
| | | |||||
| * | Replace `gb_exit(1)` with `exit_with_errors()` where appropriate | gingerBill | 2024-03-19 | 1 | -0/+4 |
| | | |||||
| * | Add `-json-errors` | gingerBill | 2024-03-19 | 1 | -13/+94 |
| | | |||||
| * | General clean-up for error.cpp | gingerBill | 2024-03-19 | 1 | -22/+31 |
| | | |||||
| * | Serialize errors to make them sortable, deterministic, and generally more ↵ | gingerBill | 2024-03-19 | 1 | -80/+133 |
| | | | | | control | ||||
| * | Fix various mismatches with the specified -max-error-count flag | Tarık B | 2023-09-22 | 1 | -21/+16 |
| | | |||||
| * | Remove #relative slices; Replace with #relative multi-pointers | gingerBill | 2023-08-05 | 1 | -2/+2 |
| | | |||||
| * | Fix line error printing for error messages | gingerBill | 2023-06-19 | 1 | -12/+19 |
| | | |||||
| * | Add extra mutex for error block stuff | gingerBill | 2023-05-16 | 1 | -3/+14 |
| | | |||||
| * | Require parentheses around certain uses of `or_return` expressions | gingerBill | 2023-04-27 | 1 | -0/+34 |
| | | |||||
| * | Add `-max-error-count:<integer>` | gingerBill | 2023-04-04 | 1 | -5/+5 |
| | | |||||
| * | Improve error line squiggle logic | gingerBill | 2023-02-27 | 1 | -18/+18 |
| | | |||||
| * | Allow compound literals to access fields through `using` | gingerBill | 2023-02-26 | 1 | -2/+2 |
| | | |||||
| * | Improve truncated verbose line error | gingerBill | 2023-02-22 | 1 | -2/+5 |
| | | |||||
| * | Change padding of showing the error in line | gingerBill | 2023-02-22 | 1 | -1/+1 |
| | | |||||
| * | Improve error bounds for `check_comparison` | gingerBill | 2023-02-22 | 1 | -1/+7 |
| | | |||||
| * | Begin work on adding colours to error messages on Windows Terminals | gingerBill | 2023-02-22 | 1 | -22/+97 |
| | | |||||
| * | Make `-verbose-errors` the default; `-terse-errors` to disable it | gingerBill | 2023-02-22 | 1 | -5/+24 |
| | | |||||
| * | Improve errors about conversions of constant integers | gingerBill | 2023-02-22 | 1 | -8/+25 |
| | | |||||