value: Drop distinction between long and short string values.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 21 Jul 2019 02:18:53 +0000 (19:18 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 22 Jul 2019 00:20:52 +0000 (17:20 -0700)
commitdc331e08118a1c299a41069f6f51183176b27621
tree6e69aca66d1f80a090397d0804f2b82db2820b5d
parent2e394b5547a02d0927de00711148fe3461abf75c
value: Drop distinction between long and short string values.

The time has passed when this is a super valuable distinction.  There is
basically no distinction in the language itself anymore, the efficiency
gains sound pretty marginal, and the differences lead to bugs, both
correctness- and memory leak-wise, that are hard to test for (because the
developer must make sure to test both short and long strings everywhere).
This commit changes the code so that both short and long strings are
represented the way that long strings were previously.
src/data/case.c
src/data/caseproto.c
src/data/caseproto.h
src/data/sys-file-writer.c
src/data/value.c
src/data/value.h
src/ui/gui/value-variant.c