kicad/common
Seth Hillbrand 1b8f25235c There is one source of truth in AC
Don't store default values in two separate places.  Passes the existing
by value as the default.

Issue identified by @axemagn

Fixes https://gitlab.com/kicad/code/kicad/issues/10221

(cherry picked from commit 3b87ab630e)
2022-02-11 13:24:31 -08:00
..
dialog_about wxT rework for common directory 2022-02-04 16:24:50 -08:00
dialogs Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
drawing_sheet Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
gal Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
kicad_curl wxT rework for common directory 2022-02-04 16:24:50 -08:00
libeval Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
libeval_compiler Add a compile error for ill-defined rules, and more performance. 2021-08-16 12:14:17 +01:00
plotters Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
plugins Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
preview_items Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
project Convert strings to wide when using wxString routines 2022-02-03 13:08:07 -08:00
settings Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
swig Template for vector<VECTOR2I> in swig 2022-01-06 23:48:52 -05:00
tool wxT rework for common directory 2022-02-04 16:24:50 -08:00
view wxT rework for common directory 2022-02-04 16:24:50 -08:00
widgets Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
CMakeLists.txt Kicad has many plugins. This one is for the pcb. 2021-11-25 12:56:46 +00:00
advanced_config.cpp There is one source of truth in AC 2022-02-11 13:24:31 -08:00
array_axis.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
asset_archive.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
base_units.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
basic_gal.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Add a quantized scaling mode for bitmaps. 2021-09-11 23:40:31 +01:00
bitmap_base.cpp ITMAP_BASE::DrawBitmap(): fix position of the clipping area when using matrix transform. 2022-01-20 16:27:18 +01:00
bitmap_store.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
board_printout.cpp Remove extraneous isPrinting test. 2021-06-25 12:44:51 +01:00
build_version.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
commit.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
common.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
config_params.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
confirm.cpp Lock the windows when we ask about unsaved changes 2021-09-29 23:01:06 -04:00
dialog_shim.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
draw_panel_gal.cpp Map zone layers before checking their visibility. 2022-02-03 15:00:39 +00:00
drc_rules.keywords Add missing token to DRC rule parser. 2021-08-27 12:49:07 +01:00
dsnlexer.cpp pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
eda_dde.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_doc.cpp Trim some (probably) excess includes. 2021-09-26 15:28:17 +01:00
eda_draw_frame.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
eda_item.cpp Rewrite text find/change routines to support word matching. 2021-11-05 13:37:37 +00:00
eda_pattern_match.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
eda_rect.cpp Fix EDA_RECT inflation zeroing width when it was negative 2021-11-06 18:23:02 +00:00
eda_shape.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
eda_text.cpp Fix some overly-large text spacing. 2022-02-04 00:34:20 +00:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
env_vars.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
exceptions.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
executable_names.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
footprint_info.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
fp_lib_table.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
gbr_metadata.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
gestfich.cpp Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gr_basic.cpp Fix transparent circle printing 2022-01-14 16:13:05 -08:00
gr_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
grid_tricks.cpp Promote to cell selection for spreadsheet-style paste. 2022-02-03 15:01:04 +00:00
hash_eda.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
hotkey_store.cpp Hotkeys help: fix incorrect modifiers. 2021-12-13 16:29:42 +01:00
hotkeys_basic.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
html_window.cpp Formatting. 2021-10-15 12:45:43 +01:00
kiface_base.cpp Update default paths for symbols/footprints 2021-10-17 16:07:46 -07:00
kiid.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
kiway.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_express.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.cpp Code cleaning. 2021-07-14 15:47:32 -04:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
layer_id.cpp Better layer name for notes. 2021-12-02 13:17:58 +00:00
lib_id.cpp Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table.keywords
lib_table_base.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lib_tree_model.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lib_tree_model_adapter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
locale_io.cpp Looks like clang (or OSX?) needs an extra include.... 2021-09-23 20:14:03 +01:00
lockfile.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lset.cpp LSET::SeqStackupBottom2Top(): add missing user layers to list of layers 2022-01-17 11:01:11 +01:00
marker_base.cpp Dark mode for a bunch of HTML dialogs. 2021-09-14 21:23:57 +01:00
netclass.cpp Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Revert accidental tilde change 2021-12-15 19:28:12 -08:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Break out eda_item_flags.h, fix the typedef to std::uint32_t, fix some signed vars 2021-06-08 19:12:30 -04:00
page_info.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
pcb.keywords Don't put up "old version" warning for gerbview-generated PCBs. 2021-06-08 22:12:44 +01:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
properties.cpp
property_mgr.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Don't count zero-length as duplicate 2022-01-28 16:34:00 -08:00
refdes_utils.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
render_settings.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
richio.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
scintilla_tricks.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
search_stack.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
searchhelpfilefullpath.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
single_top.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
status_popup.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utils.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
strtok_r.c
systemdirsappend.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
title_block.cpp Import more Alitum parameters. 2021-07-08 00:19:31 +01:00
trace_helpers.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
validators.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
wildcards_and_files_ext.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
wx_filename.cpp Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wx_stl_compat.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
wxdataviewctrl_helpers.cpp fix crash in wxDataViewItem GetNextItem() when there are no item. 2021-11-07 08:53:56 +01:00
xnode.cpp Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00