kicad/common
Seth Hillbrand 617755f991 Treat all units equally when converting to string
Excessive trucation in mils can lead to data loss when round-tripping
values.  Better to keep decimal count consistent between units

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

(cherry picked from commit 67d9729311)
2022-06-21 15:30:24 -07:00
..
dialog_about Fix wxT commit 2022-02-24 17:00:10 -08:00
dialogs Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
drawing_sheet Consistently handle env/prj variables 2022-03-31 17:05:25 -07: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 Plot pad outlines on Fab files: fix many issues. Depending on 2022-05-13 14:25:02 +02:00
plugins CADSTAR Schematic: Fix parsing of ATTRCOLORS. 2022-06-03 21:21:15 +00:00
preview_items Error messages for zone merging. 2022-02-13 18:30:32 +00:00
project Convert strings to wide when using wxString routines 2022-02-03 13:08:07 -08:00
settings Use actual project path when saving project 2022-03-10 09:08:20 -05:00
swig Template for vector<VECTOR2I> in swig 2022-01-06 23:48:52 -05:00
tool Prevent focus stealing in some Linux WMs 2022-06-13 10:18:13 -07:00
view Prevent focus stealing in some Linux WMs 2022-06-13 10:18:13 -07:00
widgets UNIT_BINDER should support long long ints 2022-05-31 21:50:52 -04: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 Treat all units equally when converting to string 2022-06-21 15:30:24 -07: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 Don't pointlessly construct a wxBitmap 2022-04-10 11:48:10 +00:00
board_printout.cpp Gerbview: fix a long standing issue: negative objects are now correctly printed. 2022-02-12 11:57:14 +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 Don't lock OpenGL context twice 2022-02-13 21:10:48 +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 Fix eda_doc not looking for schematic locally 2022-05-11 03:33:40 +00:00
eda_draw_frame.cpp Pcbnew: fix lost of focus after clicking on a wxChoice in toolbar. 2022-05-05 11:54:47 +02:00
eda_item.cpp Add PCB_ARCs to type enum. 2022-04-14 18:37:25 +01: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 Cache read arc data for stability 2022-03-08 10:33:49 -08:00
eda_text.cpp Avoid overflow in textbox 2022-02-25 11:11:29 -08: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 Ensure "Open Recent" and "Clear files" menu titles are updated after language change. 2022-04-14 15:06:17 +02:00
filename_resolver.cpp Fix wxT overzealous replacements 2022-02-16 17:21:49 -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 Don't paste into hidden columns. 2022-02-20 01:03:08 +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 Try and ducktape boost api change for seeder 2022-03-28 01:48:50 +00:00
kiway.cpp Plant the ability to verify code signing signatures when trying to load kifaces 2022-03-12 21:44:36 -05: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 Pcbnew, physical layer names: never translate them (they are proper noun) 2022-06-04 11:07:49 +02: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 Fix stock templates path for flatpak 2022-05-10 17:57:23 +00: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 Handle settings sequencing 2022-05-25 16:58:10 -07: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 A right-to-left single-char sel followed by typing leaves cursor the same. 2022-04-09 21:23:54 +01: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 Make sure LIB_ID escape context allows for formatting constructs. 2022-03-18 12:49:32 -07: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 Consistently handle env/prj variables 2022-03-31 17:05:25 -07: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