Jeff Young
b80824951e
Clean up some of the PDF hypertext stuff, and add opening HTTP[S] urls.
Fixes https://gitlab.com/kicad/code/kicad/issues/12153
3 years ago
Jon Evans
04f65c6c5c
ADDED: Option to disable autoplacement for particular fields
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5767
3 years ago
Jon Evans
8d8205d2eb
Fix missing inits
3 years ago
Jon Evans
4ea0a80df0
CHANGED: Fields may now optionally display their name before their value
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11457
3 years ago
Roberto Fernandez Bautista
09aa28d78b
Fix Intersheet Refs navigation in eeschema
3 years ago
Jeff Young
f17a865593
Move EDA_ITEM hitTest to BOX2I.
3 years ago
Jeff Young
2dc6300501
Move EDA_ITEM bounding boxes to BOX2I.
3 years ago
Jeff Young
5679b9dbdc
Remove a few EDA_RECT instances.
3 years ago
Marek Roszko
f0956e48f2
Make EDA_TEXT common
Since EDA_TEXT is a base class, we can just force the child classes to pass the correct iu scaled size
ALLOW_BOLD_THICKNESS removed because it's a pre-custom font holdover
3 years ago
Jeff Young
c65228e15f
Fix plotting offset issue for non-symbol fields.
3 years ago
Jeff Young
c0d2052e4b
PDF hypertext menus for intersheet references.
3 years ago
Jeff Young
122a6d7f46
Move hypertext linking to user-page-numbers.
Also moves most navigation code to SCH_NAVIGATION_TOOL.
Also changes page number href to anchor syntax ('#foo').
Also adds hypertext processing to SCH_TEXTBOXes.
Also adds combobox with schematic pages to text properties dialog.
3 years ago
Roberto Fernandez Bautista
516c4cb2d3
wip refactoring: use virtual page numbers for page navigation
"Real" page numbers are just strings and could be duplicated. Virtual page
numbers are guaranteed to be unique, since they indicate a sequence.
3 years ago
Roberto Fernandez Bautista
51bcfaafd7
start moving to virtual page numbers
3 years ago
Roberto Fernandez Bautista
840bcffefb
ADDED: Hyperlinks on text items in Schematic Editor
4 years ago
Marek Roszko
bf964d8678
Commonize page_info by simply making the Iu scale a parameter on call.
3 years ago
Marek Roszko
e0f28fc4e1
Replace wxFindReplaceData with our own container
By dropping the flags, we can be strict with options.
Also it makes future usage of search functionality a little more "UI" framework independent
3 years ago
Jeff Young
f42b66bc1c
Regularize ellipsization of menu and status text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12257
3 years ago
Jeff Young
aa2ad3b44c
Move KICAD_T[] to std::initializer_list<KICAD_T>.
3 years ago
Jeff Young
3589eb33f0
Handle text color when printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/11491
4 years ago
Jeff Young
47e002a33d
Add font to status bar for text objects.
4 years ago
Jeff Young
63b5ad7df1
Fix some issues with global-label fields' bounding boxes.
4 years ago
Jeff Young
082c6f5bd6
Make sure plotter uses default font when specified.
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
3d0b03515d
Fix bad field names when ID == -1.
Fixes https://gitlab.com/kicad/code/kicad/issues/10548
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Jeff Young
3409783d9f
Break sch_text.h/.cpp into sch_text and sch_label.
Also moves SCH_NETCLASS_FLAG to SCH_DIRECTIVE_LABEL, and remaps Altium
harnesses from SCH_TEXT to SCH_DIRECTIVE_LABEL.
4 years ago
Jeff Young
e61144d45a
Finish with EDA_ANGLE.
4 years ago
Jeff Young
e048e51f5d
Improve SNR of EDA_ANGLE stuff.
4 years ago
Jeff Young
7d032f9c2f
Outline font rendering for Cairo, plotter, printer and 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/10319
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
jean-pierre charras
797de9d327
Fix some issues (but not all) in qa tests for eeschema
The main fix is for errors in SCH_TEXT and derived:
qa test expects 4 rotations is an identity transform:
This is false if the item has autoplaced fields.
The fix clears autoplaced flags.
4 years ago
Jeff Young
93018375f8
Fix some test errors and update gold files for better netnames.
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
ccb94fd1a7
APIs for passing KIFONT::FONT pointers around.
Also some clean-up and bug fixes.
4 years ago
Jeff Young
dd6cd7d184
Pull some more improvements in from rockola/kicad-strokefont.
This one is primarily about pushing TEXT_ATTRIBUTES in to the GAL
API, but it also includes adding EDA_ANGLE signatures to some trig
routines to ease integration.
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
Wayne Stambaugh
a03e6e4926
Revert "Eeschema: fix broken page numbers when renaming a sheet file name."
This reverts commit a468a79948 .
4 years ago
Wayne Stambaugh
a468a79948
Eeschema: fix broken page numbers when renaming a sheet file name.
Remove duplicate instance data saved in both root SCH_SCREEN and SCH_SHEET
objects that was causing them to be out of sync. All sheet instance data
is stored in the SCH_SHEET object itself and rebuilt on the fly so it is
always current.
Remove Get/SetPageNumber from SCH_SHEET_PATH object so it doesn't obfuscate
where the actual sheet page number information exists.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9782
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
f724fe7eff
Move bbox padding to RTrees so it doesn't interfere with hittesting.
Fixes https://gitlab.com/kicad/code/kicad/issues/9361
4 years ago
Jeff Young
f606679164
Proper numeric sorting for intersheet refs.
Also expunges the horrifically named std::remove and std::remove_if
(neither of which remove anything).
4 years ago
Jeff Young
f73042fe24
Some minor performance enhancements.
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
46b959c3e3
Move plotter headers into include folder.
4 years ago