aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
AgeCommit message (Collapse)Author
2022-05-19Merge branch 'debug-exploratory-PR' into debuggerHook-eval-argBen Burdette
2022-05-19use an expr->StaticEnv table in evalStateBen Burdette
2022-05-16first whack at passing evalState as an arg to debuggerHook.Ben Burdette
2022-05-15remove extra argumentBen Burdette
2022-05-05Style fixesEelco Dolstra
In particular, use std::make_shared and enumerate(). Also renamed some fields to fit naming conventions.
2022-04-29line endingsBen Burdette
2022-04-29incorporate PosIdx changes, symbol changes.Ben Burdette
2022-04-28Merge branch 'master' into debug-merge-masterBen Burdette
2022-04-21don't use full Pos for findPackageFilename/editorForpennae
only file and line of the returned position were ever used, it wasn't actually used a position. as such we may as well use a path+int pair for only those two values and remove a use of Pos that would not work well with a position table.
2022-04-08remove 'debugError', dead codeBen Burdette
2022-04-07Merge remote-tracking branch 'upstream/master' into upstream-mergeBen Burdette
2022-04-07free valmap on exitBen Burdette
2022-04-06show expr pos if DebugTrace one is noPosBen Burdette
2022-03-25add DebugTrace for errorBen Burdette
2022-03-22nix edit: support kakouneHideaki Kawai
2022-03-16formattingBen Burdette
2022-03-14have only one debuggerHook declarationBen Burdette
2022-03-02Move installables-related operationsEelco Dolstra
2022-02-04Merge branch 'master' into debug-stepBen Burdette
2022-02-04print value in breakBen Burdette
2022-01-18Add command 'nix store copy-log'Eelco Dolstra
Fixes #5222.
2022-01-18Factor out --from / --to logicEelco Dolstra
2022-01-08clear screen and show top debug traceBen Burdette
2022-01-08optinoal error; compilesBen Burdette
2022-01-03merge cleanupBen Burdette
2022-01-03Merge branch 'master' into debug-exploratory-PRBen Burdette
2021-12-27more cleanupBen Burdette
2021-12-27remove debug codeBen Burdette
2021-12-27add DebugTrace for the current errorBen Burdette
2021-12-23DebugTraceBen Burdette
2021-12-22DebugStackTracker class in one placeBen Burdette
2021-12-20:d errorBen Burdette
2021-12-11EvalCommand::getEvalState: use gc tracable allocator for EvalStateYorick van Pelt
2021-11-30fix merge issuesBen Burdette
2021-11-25Merge branch 'master' into debug-mergeBen Burdette
2021-11-25more cleanupBen Burdette
2021-10-22remove more debug codeBen Burdette
2021-10-22remove dead codeBen Burdette
2021-10-22show expr on errorBen Burdette
2021-10-11print staticenv bindingsBen Burdette
2021-10-11add nullable Expr argumentBen Burdette
2021-09-30`std::visit` by referenceJohn Ericson
I had started the trend of doing `std::visit` by value (because a type error once mislead me into thinking that was the only form that existed). While the optomizer in principle should be able to deal with extra coppying or extra indirection once the lambdas inlined, sticking with by reference is the conventional default. I hope this might even improve performance.
2021-09-27nix path-info -r: Don't duplicate the root pathsEelco Dolstra
This fixes $ nix path-info -r $(type -P ls) /nix/store/vfilzcp8a467w3p0mp54ybq6bdzb8w49-coreutils-8.32 /nix/store/5d821pjgzb90lw4zbg6xwxs7llm335wr-libunistring-0.9.10 ... /nix/store/mrv4y369nw6hg4pw8d9p9bfdxj9pjw0x-acl-2.3.0 /nix/store/vfilzcp8a467w3p0mp54ybq6bdzb8w49-coreutils-8.32 Also, output the paths in topologically sorted order like we used to.
2021-09-27run(): MoveEelco Dolstra
2021-09-15add cout debuggingBen Burdette
2021-09-13printEnvPosChainBen Burdette
2021-08-25adding all the value names from env.values[0]Ben Burdette
2021-08-24print env bindingsBen Burdette
2021-08-18env to bindingsBen Burdette
2021-08-17moving towards env in exceptionsBen Burdette