jean-pierre charras
20d1d0705e
Fix a few issues related to field names and their translation. - Do not use translated field names outside strings displayed in dialogs. - fix code that does not work well with default locale. - fix some (not all) I18n issues in DIALOG_UPDATE_SYMBOL_FIELDS.
4 years ago
Jeff Young
f11b8011cd
Separate plotting into background and foreground.
Fixes https://gitlab.com/kicad/code/kicad/issues/10390
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Jeff Young
04c76f10e9
Performance enhancements for fonts.
4 years ago
Jeff Young
aef2a3fca4
Default font for eeschema.
4 years ago
Marek Roszko
ac715d2e51
Scoop up some more wxPoint instances
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Marek Roszko
347e03363a
Convert wxPoint/wxSize starting from EDA_RECT usages
4 years ago
Jeff Young
86cb57f4a7
Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont
4 years ago
Jeff Young
889970a449
SCH_NETCLASS_FLAGs and SCH_FIELDs for labels.
ADDED: a new label type for netclass flags.
ADDED: the ability to define fields on labels.
4 years ago
Jeff Young
179628d1d2
Repair field properties dialog for rotation and mirroring.
Fixes https://gitlab.com/kicad/code/kicad/issues/9508
4 years ago
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
4 years ago
Jeff Young
5f3c67bd2b
Fill in some missing GetMsgPanelItems and make some others consistent.
Also expunges a std::vector<MSG_PANEL_ITEM> cover type.
4 years ago
Wayne Stambaugh
cb72da294a
More NULL expunging.
4 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
4 years ago
Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
4 years ago
Jeff Young
2e3860de6f
Naming conventions.
5 years ago
Wayne Stambaugh
a85898f904
Eeschema header housekeeping round 1.
5 years ago
Jeff Young
2e129d9b47
Naming conventions and other cleanup.
5 years ago
Jeff Young
30ac8de734
Honour component transforms when rotating fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/7964
5 years ago
Jon Evans
18037e2f65
Rework bitmap system to load from archived PNGs
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.
Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz
The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.
Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.
Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Jeff Young
8a33542bcd
SCH_COMPONENT::GetField() expects a vector index, not a field id.
Check this at compile time. Callers wanting to use an index now must
use SCH_COMPONENT::GetFields()[i] instead.
Fixes https://gitlab.com/kicad/code/kicad/issues/7757
5 years ago
Jeff Young
2a7e60960a
Use standard mirror icons & terminology.
Also use standard group icons.
Also put both (and rotate commands) in toolbar.
Fixes https://gitlab.com/kicad/code/kicad/issues/7504
5 years ago
Dominik Wernberger
ec0af24f13
Make wxFindReplaceData argument const
5 years ago
Dominik Wernberger
bb2881a5ab
Make RENDER_SETTINGS argument const
5 years ago
Jeff Young
8c5c902fa3
Re-write IntersheetRefs on top of SCH_FIELDs and textVars.
1) Generalize SCH_ITEM owners (SCH_COMPONENT, SCH_SHEET, and now
SCH_GLOBALLABEL)
2) Generalize hypertext items
3) Use SCH_FIELD autoplace infrastructure for placing intersheet
references
4) Use textVar infrastructure for buildin intersheet references.
As an important side-effect this also fixes the undo issues with
intersheet refs.
5 years ago
Jeff Young
f0d0e17aab
Prepare for MODULE -> FOOTPRINT.
5 years ago
Tomasz Wlostowski
c1d5394e46
properties: post-rebase fixes
6 years ago
Jeff Young
1f9723cf62
Reconcile new Sheet Fields and new S-expr file format.
Fixes https://gitlab.com/kicad/code/kicad/issues/4327
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
Jeff Young
2b6089240a
Change super/subscript syntax to ^{foo} and _{foo}.
6 years ago
Jeff Young
9c8941e040
Remove a bunch of globals.
6 years ago
Jeff Young
aba0fa7bf8
Allow cross-referencing text substitutions.
6 years ago
Jeff Young
4990d1e7b2
Variable substitution framework.
This implements editing of variables and moving SCH_FIELDs,
TEXTE_MODULEs, TEXTE_PCB and worksheet items over to the new
framework.
6 years ago
Jeff Young
535033c5c9
Enable editing of sheet fields.
6 years ago
Jeff Young
fe3e0307d8
Move sheet name and filename to SCH_FIELD architecture.
Only internal storage architecture has changed (so far).
6 years ago
Jeff Young
dccc367864
Remove code missed in the modern-toolset move.
6 years ago
Jonathan Warner
469c1c14ef
Eeschema: adjusted component sorting to work better
6 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Seth Hillbrand
6e5e453d0d
Replace EESchema DLIST
This moves EESchema DLIST structures to rtree. These changes are more
fundamental than the pcbnew changes from 9163ac543 888c01d11 d1877d7c1
and 961b22d60 as eeschema operations were more dependent on passing
drawing list references around with SCH_ITEM* objects.
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Seth Hillbrand
83b2332f1f
eeschema: Check for proper type before dereference
When bundling a selection, we need to ensure that we have correct types
before attempting to dereference.
Fixes: lp:1841919
* https://bugs.launchpad.net/kicad/+bug/1841919
6 years ago
Jeff Young
6fab7cc025
Remove a bunch of ugly mutex hacks now that we don't use wxString's UTF8 mode anymore.
6 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
7 years ago
Jeff Young
e9e28b9aac
Retire legacy block architecture.
7 years ago
Jeff Young
67cc2aac2e
Rework Eeschema find/replace for modern toolset.
Fixes: lp:1827274
* https://bugs.launchpad.net/kicad/+bug/1827274
Fixes: lp:1827240
* https://bugs.launchpad.net/kicad/+bug/1827240
7 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jeff Young
fd546da640
Homogenize hit testing and selection return types.
Prep work for sharing SCH_SELECTION_TOOL with LibEdit.
7 years ago
Jeff Young
423d430b58
Replace deleteNode and deleteConnection with selectNode and selectConnection.
7 years ago