Jeff Young
e122dc38bd
Add context menu item for clearing net highlighting.
In selection tools, drawing tools, router tool, line_wire_bus tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/11920
3 years ago
Seth Hillbrand
0c47a09517
Ensure rectangles are normalized
Normalize on creation and fixup rectangles previously saved with
inverted coordinates
Fixes https://gitlab.com/kicad/code/kicad/issues/11965
3 years ago
Jeff Young
298edb09c3
Initialize TEXT_ATTRIBUTES justifications for text & textboxes.
Fixes https://gitlab.com/kicad/code/kicad/issues/11805
3 years ago
Jeff Young
73836b50fc
Add proper collision test to via placer.
Also moves DISALLOW constraint processing outside the loop as it
performs it's own loop over any objects referenced by the rules.
Fixes https://gitlab.com/kicad/code/kicad/issues/11832
3 years ago
Jeff Young
d40664d171
Handle double-click in dimension drawing tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/11815
3 years ago
Jeff Young
d31bd4ea3e
Use default text properties for textboxes.
Also make sure text is mirrored when placed on back of board.
Fixes https://gitlab.com/kicad/code/kicad/issues/11739
4 years ago
Jeff Young
155620cc9a
Move H/V/45 mode from zone properties to toolbar.
Fixes https://gitlab.com/kicad/code/kicad/issues/8587
4 years ago
Jeff Young
1fb7532859
Prepare for a more uniform implementation of H/V/45 mode.
4 years ago
Jeff Young
23fb4c7433
Uniformly use a single facility for location-less prime events.
Also implements a uniform mechanism for avoiding auto-scroll after
a prime event or dialog which results in a mouse position at the
edge of the canvas.
Fixes https://gitlab.com/kicad/code/kicad/issues/11057
4 years ago
Jeff Young
f2fc78f380
Don't copy modifiers to prime events.
The modifiers go with the hotkey, not with the action.
Fixes https://gitlab.com/kicad/code/kicad/issues/11618
4 years ago
Jeff Young
a49bb792bd
Insert chevrons when placing vias near tracks.
Fixes https://gitlab.com/kicad/code/kicad/issues/10898
4 years ago
Jeff Young
29eb5931c2
Be more careful with forced cursor positions.
Fixes https://gitlab.com/kicad/code/kicad/issues/9977
4 years ago
Jeff Young
4f62960334
Update message panel from PCB point editor and SCH drawing tools.
Fixes https://gitlab.com/kicad/code/kicad/issues/11186
4 years ago
Jeff Young
ec5b7a57ec
Consistency in via dimensions terminology.
Fixes https://gitlab.com/kicad/code/kicad/issues/11024
4 years ago
Jeff Young
d65f9ad2d8
Implement multi-layer stitching via logic.
4 years ago
Jeff Young
369f53bb19
Better DRC checking when placing vias.
4 years ago
Jeff Young
41f6e634c6
Partially integrate grid snapping with constraints.
Fixes https://gitlab.com/kicad/code/kicad/issues/10941
4 years ago
Jeff Young
50a4d610a6
Be cognizant of flashed layers when generating pad shapes.
4 years ago
Seth Hillbrand
162545ddf0
Validate arc output when editing
Handles checking output of the arc to ensure we don't end up generating
an invalid arc. Also keeps the limit of the arc angle to be (360,360)
excluding 0.
Fixes https://gitlab.com/kicad/code/kicad/issues/10070
(cherry picked from commit 8fc831cbc2 )
4 years ago
Jeff Young
34a9a165c9
More wide-string declarations.
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Jeff Young
e84c574830
Some more EDA_ANGLE cleanup.
4 years ago
Jeff Young
89c0f8e297
Move to new font engine.
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
3a8ffd40b8
Fix dimension drawing bug.
4 years ago
Jeff Young
fa908e1f98
Dimensions for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/8441
4 years ago
Jeff Young
ed79f6e511
Clean up some TODOs.
4 years ago
Jeff Young
3f90b3e2a0
Keep line stroke params as long as layer doesn't change.
Fixes https://gitlab.com/kicad/code/kicad/issues/6210
4 years ago
Jeff Young
d28714167c
All the preferences, all the time.
Fixes https://gitlab.com/kicad/code/kicad/issues/7877
Fixes https://gitlab.com/kicad/code/kicad/issues/5153
4 years ago
Jeff Young
2bc86fa0a8
Shapes for schematic.
ADDED arc, circle and rectangle shapes for schematic. Shapes support
line styles and fill colors.
CHANGED sheet background color in Edit Text & Graphics Properties to
fill color (and it now affects shapes).
Pushed STROKE_PARAMS down into common and moved all shapes to using it
for stroke descriptions.
4 years ago
Jeff Young
4b6bf3095a
Radial dimensions.
ADDED radial type dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/2056
4 years ago
dsa-t
a7193e0932
Do not warp cursor to last location when footprint/text placement is activated from toolbar/menu.
Also makes the footprint appear instantly after closing the dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9840
4 years ago
Jonathan Haas
04b0435c45
Snap to pads when placing via
Fixes https://gitlab.com/kicad/code/kicad/issues/9873
4 years ago
Wayne Stambaugh
53f5d616aa
Coverity issue fixes.
4 years ago
Seth Hillbrand
8a3bc3fe4d
Don't translate empty strings
The _( "" ) msgid is reserved in gettext, so we need to avoid it in code
4 years ago
Jeff Young
c9d858eaf5
Add status bar message for constraint mode.
Fixes https://gitlab.com/kicad/code/kicad/issues/9282
4 years ago
Jeff Young
f9861b4a6c
Finish arc rework and push out to file formats.
4 years ago
Jeff Young
9b9e379aa0
Overhaul arc internal model to not over-specify information.
4 years ago
Jeff Young
8b08c9e53f
Shorter names before things get out of hand.
Also, remove comments indicating CURVE is a Bezier. Just call it a
BEZIER.
4 years ago
Jeff Young
a41944020d
Push most of PCB_SHAPE impl down in to EDA_SHAPE.
4 years ago
jean-pierre charras
da79a3dd69
Option graphics limited to 45deg in creation: separate options for brd and fp editors.
Add these options in PANEL_EDIT_OPTIONS.
This option was previously living only in some context menus, not really visible.
4 years ago
Marek Roszko
847c9e32c8
Don't allow the draw via tool to activate in the footprint editor
Fix #9186
4 years ago
Jeff Young
fdfecf5932
Don't push view control settings to the previous active tool.
See further comments in bug report.
Fixes https://gitlab.com/kicad/code/kicad/issues/9147
4 years ago
Seth Hillbrand
092cdc0bb5
Move 45° limit to hotkey
This assigns the "Tab" key to a general pcbnew 45° limitation. Limit
can be enabled/disabled using context menu as well.
Removed the user preference for 45° limitation on graphic lines as that
is overlapping with the general limitation, which is not an editing
preference so much as a temporary adjustment to tool action.
Related to https://gitlab.com/kicad/code/kicad/-/issues/8490
4 years ago
Seth Hillbrand
e03257b55f
Allow close placement of stitching vias
When placing a stitching via for a bypass capacitor, it is common to
place it close to the relevant pad. If the via does not have the
correct net, this will violate DRC and be prevented.
Checking for zone-based net assignments allows the workflow to proceed
4 years ago
Jeff Young
c51b1dad72
Generalize infobar MESSAGE_TYPE handling and use for DRC errors.
Fixes https://gitlab.com/kicad/code/kicad/issues/8782
4 years ago
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
4 years ago
Jeff Young
dd5676f4bc
Implement a safer (RAII) tool re-entrancy guard.
Fixes https://gitlab.com/kicad/code/kicad/issues/8873
4 years ago
Jeff Young
0fb864d596
Pull some name changes back from 7.0 to ease merging.
4 years ago
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago