Ben Burdette
|
9159dfe3d8
|
comments and cleanup
|
2020-06-30 16:31:55 -06:00 |
|
Ben Burdette
|
ddb81ca126
|
Merge branch 'master' into add-trace
|
2020-06-30 12:21:45 -06:00 |
|
Ben Burdette
|
e72a16a339
|
check for a null symbol
|
2020-06-30 11:00:51 -06:00 |
|
Ben Burdette
|
ef24a0835d
|
showtrace as function arg
|
2020-06-27 12:19:31 -06:00 |
|
Ben Burdette
|
9ab808c926
|
showTrace flag for ErrorInfo; showTrace test.
|
2020-06-25 09:23:12 -06:00 |
|
Ben Burdette
|
9c0e1fd4f1
|
add trace test; error formatting refinements
|
2020-06-24 18:31:28 -06:00 |
|
Ben Burdette
|
023912def3
|
convenience form of addTrace
|
2020-06-24 13:46:25 -06:00 |
|
Ben Burdette
|
b18ed02b76
|
repl indenting
|
2020-06-24 13:10:41 -06:00 |
|
Ben Burdette
|
00fe653ea5
|
nixCode -> LinesOfCode
|
2020-06-24 08:33:53 -06:00 |
|
Ben Burdette
|
1d43a6e123
|
use plain errPos instead of nixCode; fix tests
|
2020-06-23 15:30:13 -06:00 |
|
Ben Burdette
|
54e8f550c9
|
addErrorTrace
|
2020-06-19 13:44:08 -06:00 |
|
Ben Burdette
|
4d1a4f0217
|
addTrace
|
2020-06-18 15:25:26 -06:00 |
|
Ben Burdette
|
e6f93b94fc
|
Merge branch 'master' into caveman-LOCs
|
2020-06-18 13:07:53 -06:00 |
|
Eelco Dolstra
|
1524752c17
|
Merge remote-tracking branch 'origin/master' into flakes
|
2020-06-17 10:26:52 +02:00 |
|
John Ericson
|
7e7e3b71f3
|
Add mising #include for strerror
|
2020-06-15 23:35:07 +00:00 |
|
Eelco Dolstra
|
1fb762d11f
|
Get rid of explicit ErrorInfo constructors
|
2020-06-15 14:06:58 +02:00 |
|
Ben Burdette
|
b1c53b034c
|
Merge branch 'errors-phase-2' into caveman-LOCs
|
2020-06-08 11:10:13 -06:00 |
|
Ben Burdette
|
94427ffee3
|
add some comments
|
2020-06-04 11:53:19 -06:00 |
|
Ben Burdette
|
156d4f8bc8
|
remove extra space in SysErrors
|
2020-06-02 08:45:37 -06:00 |
|
Ben Burdette
|
6a420d672c
|
print LOC for stdin, string args
|
2020-05-20 22:18:26 -06:00 |
|
Ben Burdette
|
19694aa213
|
fix compile errors
|
2020-05-14 12:28:18 -06:00 |
|
Ben Burdette
|
b93c1bf3d6
|
fixes to merged code
|
2020-05-11 15:52:15 -06:00 |
|
Ben Burdette
|
55eb717148
|
add pos to errorinfo, remove from hints
|
2020-05-08 18:18:28 -06:00 |
|
Ben Burdette
|
1b801cec40
|
pretending to be const
|
2020-05-07 16:43:36 -06:00 |
|
Ben Burdette
|
e76ad2e48a
|
implement SysError errno handling
|
2020-05-06 14:07:20 -06:00 |
|
Ben Burdette
|
ab6f0b9641
|
convert some printError calls to logError
|
2020-05-03 08:01:25 -06:00 |
|
Ben Burdette
|
39ff80d031
|
errorinfo constructor test
|
2020-04-29 18:57:05 -06:00 |
|
Ben Burdette
|
22e6490311
|
Error classname as name
|
2020-04-28 21:06:08 -06:00 |
|
Ben Burdette
|
e51a757720
|
astyle format
|
2020-04-27 15:15:08 -06:00 |
|
Ben Burdette
|
1ff42722ce
|
error.hh
|
2020-04-26 14:47:41 -06:00 |
|
Ben Burdette
|
d3052197fe
|
add ErrorInfo to BaseError
|
2020-04-21 13:25:41 -06:00 |
|
Ben Burdette
|
4697552948
|
demoing other error levels than warn/error; rename line and file fields in errPos
|
2020-04-17 15:50:46 -06:00 |
|
Ben Burdette
|
3d5b1032a1
|
logError, logWarning; Logger functions; switch to Verbosity enum
|
2020-04-17 15:07:44 -06:00 |
|
Ben Burdette
|
12814806ef
|
iomanip no longer needed
|
2020-04-16 10:48:15 -06:00 |
|
Ben Burdette
|
96262e744e
|
switch to structs, which don't need public:
|
2020-04-16 09:55:38 -06:00 |
|
Ben Burdette
|
057e5b6b2e
|
move implementation to cc
|
2020-04-15 10:09:43 -06:00 |
|
Ben Burdette
|
555baa8fb0
|
comments
|
2020-04-08 09:56:10 -06:00 |
|
Ben Burdette
|
54f91923c8
|
return of NixCode
|
2020-04-08 09:48:21 -06:00 |
|
Ben Burdette
|
47ed067d45
|
initializer style
|
2020-04-08 09:07:58 -06:00 |
|
Ben Burdette
|
00c507cc52
|
columnRange -> column
|
2020-04-07 14:36:32 -06:00 |
|
Ben Burdette
|
55c96b64e4
|
comment cleanup
|
2020-04-06 20:14:48 -06:00 |
|
Ben Burdette
|
ec449c8450
|
constructor style basically working
|
2020-04-06 19:43:22 -06:00 |
|
Ben Burdette
|
9bb528d392
|
handle Pos instead of individual file/line/columnrange args
|
2020-04-03 13:15:59 -06:00 |
|
Ben Burdette
|
7b7801d3f0
|
variadic args for hint format
|
2020-04-03 08:48:20 -06:00 |
|
Ben Burdette
|
c6b3fcddb0
|
formatted with astyle
|
2020-04-02 16:02:40 -06:00 |
|
Ben Burdette
|
1c329ca433
|
indenting
|
2020-04-02 14:25:43 -06:00 |
|
Ben Burdette
|
e697884f65
|
using std:: everywhere; fix a formatting error; add exception flags
|
2020-04-01 21:30:19 -06:00 |
|
Ben Burdette
|
dd7b8183a5
|
indenting
|
2020-04-01 16:20:20 -06:00 |
|
Ben Burdette
|
8713aeac5e
|
remove using std::*, switch to include guard
|
2020-04-01 15:51:14 -06:00 |
|
Ben Burdette
|
5b3aefff85
|
add some explanatory comments
|
2020-03-31 12:42:41 -06:00 |
|
Ben Burdette
|
9e7b89bf10
|
rename errors/warnings
|
2020-03-31 11:56:37 -06:00 |
|
Ben Burdette
|
09652f597c
|
enum style
|
2020-03-31 09:36:20 -06:00 |
|
Ben Burdette
|
759f39800b
|
remove util.hh from deps
|
2020-03-27 10:55:09 -06:00 |
|
Ben Burdette
|
a3ef00be6c
|
camelcase; optional hint
|
2020-03-27 10:03:02 -06:00 |
|
Ben Burdette
|
3582dc3c88
|
programName as static member var
|
2020-03-25 10:52:03 -06:00 |
|
Ben Burdette
|
fc310eda3a
|
switch to one level of builder function, not subobject functions
|
2020-03-24 14:24:57 -06:00 |
|
Ben Burdette
|
0166e7ab6d
|
MkNixCode, MkErrLine approach
|
2020-03-24 11:21:35 -06:00 |
|
Ben Burdette
|
4171ab4bbd
|
renaming
|
2020-03-24 09:18:23 -06:00 |
|
Ben Burdette
|
aadd59d005
|
error test
|
2020-03-23 15:29:49 -06:00 |
|
Ben Burdette
|
f694f43d7d
|
straightforward port of rust mockup code
|
2020-03-22 12:25:47 -06:00 |
|