From 6bce225d38433c9b14ff94ff0fb66d1ac87ff4e3 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 1 Nov 2017 23:53:38 +0100 Subject: Do not invalidate everything when loading .configs In replace mode, only unset symbols that didn't get set. Get rid of _set_value_no_invalidate() and just do a normal set_value() with invalidation. It's speedy with the new invalidation algorithm, and simpler. Not a big performance boost (but a small one), but means that invalidation must be even more rock solid for the test suite to pass (no global invalidations to hide behind), which is nice. Also make y assignments to choice symbol update just the choice user value. Gives nicer behavior when the choice mode is changed. --- tests/Kmisc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Kmisc b/tests/Kmisc index c3a21f8..cea3ca9 100644 --- a/tests/Kmisc +++ b/tests/Kmisc @@ -39,13 +39,13 @@ config BOOL bool "bool" if NOT_DEFINED_1 config TRISTATE - tristate # Visibility should not affect user value + tristate "A" config STRING string "string" config INT - int # Visibility should not affect user value + int "INT" config HEX hex "hex" -- cgit v1.2.3