lix/src/libcmd
pennae a385e51a08 rename SymbolIdx -> Symbol, Symbol -> SymbolStr
after #6218 `Symbol` no longer confers a uniqueness invariant on the
string it wraps, it is now possible to create multiple symbols that
compare equal but whose string contents have different addresses. this
guarantee is now only provided by `SymbolIdx`, leaving `Symbol` only as
a string wrapper that knows about the intricacies of how symbols need to
be formatted for output.

this change renames `SymbolIdx` to `Symbol` to restore the previous
semantics of `Symbol` to that name. we also keep the wrapper type and
rename it to `SymbolStr` instead of returning plain strings from lookups
into the symbol table because symbols are formatted for output in many
places. theoretically we do not need `SymbolStr`, only a function that
formats a string for output as a symbol, but having to wrap every symbol
that appears in a message into eg `formatSymbol()` is error-prone and
inconvient.
2022-04-25 15:37:01 +02:00
..
command.cc don't use full Pos for findPackageFilename/editorFor 2022-04-21 21:25:18 +02:00
command.hh don't use full Pos for findPackageFilename/editorFor 2022-04-21 21:25:18 +02:00
common-eval-args.cc Add shell completion for --override-flake 2022-03-07 12:01:54 +01:00
common-eval-args.hh Add shell completion for --override-flake 2022-03-07 12:01:54 +01:00
installables.cc rename SymbolIdx -> Symbol, Symbol -> SymbolStr 2022-04-25 15:37:01 +02:00
installables.hh replace most Pos objects/ptrs with indexes into a position table 2022-04-21 21:46:06 +02:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk use LOWDOWN_LIBS variable 2022-01-30 20:59:58 +02:00
markdown.cc Use latest lowdown 2021-09-24 15:22:51 +02:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00