Jeff Young
7e46e85c7d
Update copyrights.
2 years ago
Jeff Young
6ecfc89a4a
Honour originTransforms in search panels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15031
2 years ago
Seth Hillbrand
d99641be40
ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates
Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2 years ago
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2 years ago
Jeff Young
cb53a18ee3
Bug fixes for handling boolean flags in DRC rules.
2 years ago
Jeff Young
50da4e483e
Tailor inspector text properties for dimension objects.
2 years ago
Jeff Young
b41d446f58
Fix a bunch more issues with sheetpaths and allowExtraText.
A sheetpath is required to correctly resolve text variables.
Depending on currentSheet is rife with bugs.
There are many places where we do *not* want to be prepending
field names to the field values, such as netlisting,
building PDF hypertext menus, etc.
Also, Find/Replace needs to work on unresolved text, as
that's what we're going to display (and if replace nuked
your variable references you wouldn't be happy).
3 years ago
Jeff Young
bbd6c80507
Collapse FP_* down into their PCB_* equivalents.
3 years ago
jean-pierre charras
5735a57504
Pcbnew: fix crash when loading a library with a ft containing a dimension.
(crash due to the use of a null pointer during loading)
3 years ago
Jeff Young
461def2719
Move automatic dimension processing inside PCB_DIMENSION_BASE.
Also move dimension precision to an enum so it can get a proper dropdown
in the properties inspector.
3 years ago
Jeff Young
23accffc6d
Add Property Inspector support for dimension objects.
Includes changing the class hierarchy so that dimension objects inherit
from PCB_TEXT rather than containing a PCB_TEXT member variable.
3 years ago
Jon Evans
c530bdb5a1
Rename GetSelectMenuText to GetItemDescription
This descriptive text is used for many more things than
just the select menu these days.
3 years ago
Jon Evans
5eb3f5d3e7
Use correct translation macro for group names
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13277
3 years ago
Jeff Young
6d73d9a08e
Split another couple of hairs in the never-ending "how big is a font".
Fixes https://gitlab.com/kicad/code/kicad/issues/13009
Fixes https://gitlab.com/kicad/code/kicad/issues/13115
3 years ago
Jon Evans
b2b3f5752f
Properties: Add grouping and sorting by creation order
3 years ago
Jeff Young
740e193871
Increase bounding box of stroke text and the leader box of all text.
Fixes https://gitlab.com/kicad/code/kicad/issues/13009
3 years ago
Jeff Young
03ba14c6d3
Tighten lifecycle management of parent group pointers.
Also adds some debugging to try to catch dangling pointers.
Also adds a cache for group bounding boxes (which will be expensive
to calculate for large groups).
Fixes https://gitlab.com/kicad/code/kicad/issues/12875
3 years ago
Jeff Young
f480cbf93f
Treat internal copper layers as side-specific.
Fixes https://gitlab.com/kicad/code/kicad/issues/12726
3 years ago
Jeff Young
4778122aa0
Flip anything on a side-specific layer, rather than physical layer.
Fixes https://gitlab.com/kicad/code/kicad/issues/12726
3 years ago
Jeff Young
cef7cd8f7c
Move default font to RENDER_SETTINGS.
Fixes https://gitlab.com/kicad/code/kicad/issues/12723
3 years ago
Jeff Young
d16b23d16e
Name shortening and line-break reduction.
3 years ago
Jeff Young
64a6fc0fd4
Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
3 years ago
Jeff Young
45d6b4a9fc
Readability improvements.
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Marek Roszko
a8613ee80f
Combine Iu2Millimeter & remove PcbMm2iu
3 years ago
Mark Roszko
b00178adb3
Nuke base_units from orbit
3 years ago
Jeff Young
b4492e0bd2
More EDA_RECE yeetage.
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
Seth Hillbrand
b736460e71
Move optional access from value() to *operator
`value()` throws. Where we check for existence, we don't need to use
the throwing version and should just use the unprotected variant
3 years ago
Marek Roszko
03aa63bd50
Move 5 helpers to EDA_UNIT_UTILS since they aren't iu specific
3 years ago
Seth Hillbrand
f1261e71d4
Replace boost::optional with std::optional
3 years ago
Maciej Suminski
95fd58b25a
Properties meta-data for pcbnew classes
6 years ago
jean-pierre charras
4d48376eae
Fix some warnings detected by PVS-STUDIO (not used vars)
3 years ago
Jeff Young
aad85a83da
Improvements to rotation/mirroring of dimensions inside footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/11861
3 years ago
Jeff Young
ae1ece7a78
Fix duplicate spaces before units.
Fixes https://gitlab.com/kicad/code/kicad/issues/11675
4 years ago
Jeff Young
492259a1d4
Outline font bug fixes for PCBNew dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/11583
4 years ago
Jeff Young
47e002a33d
Add font to status bar for text objects.
4 years ago
Jeff Young
9b087a3c25
Add automatic precision choices for dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/6690
4 years ago
Seth Hillbrand
442aae19d9
Separate flashing check for connectivity
When building the connectivity database, we should not be using the
connectivity to check for shapes.
To make this deterministic, we introduce two flags (ALWAYS_FLASH and
NEVER_FLASH) that are used with connectivity building to determine
whether a pad is flashed for connectivity or not. ZONE <-> PAD/VIA
connectivity will be checked with ALWAYS_FLASHED and all other
connectivity will be checked with NEVER_FLASHED if they are marked for
potential annular ring removal. If they are not marked for removal,
they will be checked ALWAYS_FLASHED.
Fixes https://gitlab.com/kicad/code/kicad/issues/11114
4 years ago
jean-pierre charras
b184b43431
PCB_DIM_ALIGNED and DIALOG_DIMENSION_PROPERTIES: fix bad text rotation.
Fixes #10901
https://gitlab.com/kicad/code/kicad/issues/10901
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jonathan Haas
7b01530eca
EDA_ANGLE: use existing Normalize180 function here
4 years ago
Jeff Young
8e4369f998
Repair arrowhead angles.
Fixes https://gitlab.com/kicad/code/kicad/issues/10551
4 years ago
Jeff Young
c8a50d9b50
Remove unit-less angles from VECTOR2I/D APIs.
4 years ago
Jeff Young
4eac8d7c66
Remove unit-less angles from geometry lib APIs.
4 years ago
Jeff Young
1b19ff5f42
More EDA_ANGLE changes.
4 years ago
Jeff Young
c9487bad18
Move BOARD_ITEM::Rotate() to EDA_ANGLE.
4 years ago
Marek Roszko
ea613cf448
Another batch of point changes
4 years ago