kicad/common
Jeff Young 40b4052ad4 Improve text hittesting in schematics.
Text has a fairly big bounding box to account for descenders, overbars,
etc., but it makes it feel too sloppy for hittesting.  This change
allows selection disambiguation to look at the actual strokes of the
text when deciding what's "closest".

Fixes https://gitlab.com/kicad/code/kicad/issues/9506
2021-11-01 21:13:12 +00:00
..
dialog_about Formatting. 2021-10-15 12:45:43 +01:00
dialogs Minor dialog layout improvements. 2021-10-29 15:29:49 -04:00
drawing_sheet Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
gal Convert mouse coordinates to native pixesl in the 3D viewer 2021-10-10 17:52:12 +01:00
kicad_curl Limit CURL to only support HTTP(S) protocols 2021-10-18 00:34:53 +01: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 Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
plugins Fix centered rotated text in Pcbnew Eagle importer. 2021-10-27 14:38:42 +01:00
preview_items Rename layer ids file. 2021-07-29 16:03:25 +01:00
project Save as for current version project files. 2021-10-30 23:01:53 +01:00
settings Larger set (and larger default) of grid sizes for drawing sheet editor. 2021-10-30 20:32:23 +01:00
swig Rename layer ids file. 2021-07-29 16:03:25 +01:00
tool Use highlight algo that works for both PCBNew and Eeschema. 2021-11-01 16:08:49 +00:00
view Cleanup. 2021-10-03 19:42:29 +01:00
widgets Array creator tool: Add option to assign unique reference designators 2021-10-25 22:38:49 +01:00
CMakeLists.txt Move board object polygon code into the object source files. 2021-10-25 17:42:11 -04:00
advanced_config.cpp Add (optional) trace mask setting as advanced config option 2021-10-07 21:05:58 -04:00
array_axis.cpp Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
asset_archive.cpp Cleanup memory in the asset archive reader 2021-03-19 21:23:35 +00:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01: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 Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bitmap_store.cpp Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
board_printout.cpp Remove extraneous isPrinting test. 2021-06-25 12:44:51 +01:00
build_version.cpp Add support for ngspice >= 35 version reporting 2021-08-09 17:19:59 -04:00
commit.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
common.cpp Remove tilde expansion 2021-09-27 16:10:36 +00:00
config_params.cpp Kick wx.h mostly out of common 2021-06-07 18:38:52 -04:00
confirm.cpp Lock the windows when we ask about unsaved changes 2021-09-29 23:01:06 -04:00
dialog_shim.cpp Standardize asterix at the beginning of title 2021-10-25 09:36:23 -07:00
draw_panel_gal.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01: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 Fix ever shrinking window height for frame windows that are not maximized. 2021-10-07 16:58:54 -04: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 Add status bar message for constraint mode. 2021-10-24 14:04:12 +01:00
eda_item.cpp Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
eda_pattern_match.cpp Add missing <algorithm> 2020-11-06 00:37:57 +00:00
eda_rect.cpp Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
eda_shape.cpp Patch up arc hit-testing and printing for 6.0 2021-10-30 15:10:07 +01:00
eda_text.cpp Improve text hittesting in schematics. 2021-11-01 21:13:12 +00:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.cpp Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +00:00
exceptions.cpp Refuse to load schematics from the future. 2021-06-30 18:32:07 +01:00
executable_names.cpp
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp More changes to file resolvers. 2021-09-22 11:28:45 +01:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp In footprint filter, check pin count mismatch first 2021-05-06 22:00:06 +00:00
footprint_info.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
fp_lib_table.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
gbr_metadata.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gestfich.cpp Support printing of kicad_dru files. 2021-10-15 12:45:43 +01: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 Pass wxPoint objects by reference instead of on the stack. 2021-07-26 15:35:33 -04:00
gr_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
grid_tricks.cpp Don't copy (or cut) hidden columns. 2021-10-26 15:55:17 +01:00
hash_eda.cpp Overhaul arc internal model to not over-specify information. 2021-10-15 12:45:43 +01:00
hotkey_store.cpp Fix hotkey documentation for modifier update 2021-09-05 13:55:08 -07:00
hotkeys_basic.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01: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 We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07: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 Support printing of kicad_dru files. 2021-10-15 12:45:43 +01:00
layer_id.cpp Clean up removal of separate front & back footprint text visibility. 2021-10-22 21:14:15 +01: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 Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
lib_tree_model.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_model_adapter.cpp A better algorithm for centering library items in the tree. 2021-10-02 10:41:26 +01:00
locale_io.cpp Looks like clang (or OSX?) needs an extra include.... 2021-09-23 20:14:03 +01:00
lockfile.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
lset.cpp Clean up removal of separate front & back footprint text visibility. 2021-10-22 21:14:15 +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 Readd half and full width forms 2021-04-28 17:27:07 +00: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 Add KICAD6_3RD_PARTY env variable 2021-08-27 21:11:47 +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 Correct Korean language name 2021-10-23 07:13:50 -07:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
properties.cpp
property_mgr.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Remove assert. 2021-10-14 14:13:50 +01:00
refdes_utils.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.cpp Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
scintilla_tricks.cpp Set Scintilla cursor color for themes 2021-10-14 10:10:55 -07:00
search_stack.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
searchhelpfilefullpath.cpp Respect KICAD_DOCS when searching for help files 2021-04-21 19:19:25 +00:00
single_top.cpp Avoid loading python stuff when starting applications that do not use it. 2021-08-17 19:48:55 +02: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 Fix escaping of double quotes in LIB_IDs 2021-09-28 20:38:36 -04: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 Start expunging NULL. 2021-07-15 15:44:45 -04:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
wildcards_and_files_ext.cpp Avoid duplicate strings to avoid typos and not synchronized strings 2021-08-15 17:50:23 +02: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
xnode.cpp