jean-pierre charras
eaa1e6d594
Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
8 months ago
Jeff Young
f951497a4f
Code brevity.
8 months ago
Ian McInerney
ea2f8a63c1
Actionize more PCB actions
8 months ago
Ian McInerney
784246575b
Move footprint viewer/cvpcb actions to tool framework
8 months ago
Ian McInerney
384ca6bf98
Actionize more toolbar items
8 months ago
Ian McInerney
7ad1103f55
Move toolbars to a serializable storage format
8 months ago
Ian McInerney
c24dbc17bf
Move toolbar setup flags into the action definition
This makes them centrally defined, and removes the need to specify them
when creating the toolbar.
8 months ago
Damjan
230a976742
pcbnew: Drag-selecting while creating a Text breaks PCB editor tools
CHANGED: drawing_tool.cpp: DRAWING_TOOL::PlaceText method ignores events when mouse drag is detected.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20010
8 months ago
Jeff Young
20f40c1030
Replace GetConnectedItems() type list with an EXCLUDE_ZONES flag.
The type list kept atrophying when various new
items were added (arcs, shapes).
And god knows what the purpose of putting PCB_FOOTPRINT_T
in some of them was. As far as I can tell a CN_ITEMs
parent can never be a footprint.
(Also moves IGNORE_NETS to a flag so that we don't
end up with two booleans and the potential to have
them out-of-order.)
8 months ago
Jon Evans
5cec2fac9d
API: Add board origin setter/getter
See https://gitlab.com/kicad/code/kicad-python/-/issues/20
8 months ago
Jeff Young
f5cee2ee0a
Formatting.
8 months ago
Jeff Young
3f15b0d75b
ADDED: hatched fills for shapes.
8 months ago
Jeff Young
59d6152cf0
Cleanup stale comment.
8 months ago
Jeff Young
c5bb59468d
Get rid of assumptions about field order.
8 months ago
Jeff Young
9d051d096e
Add tool framework to fp preview widget.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17107
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19651
9 months ago
Graham Keeth
2e7db39751
Add ellipsis for zone manager
8 months ago
Jeff Young
5edae8250d
Finish eradication of visibility flag on text items.
Import/read previously-hidden symbol/footprint
text items as hidden fields.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19875
8 months ago
Dmitry Rezvanov
663f00da25
Add "Route Selected From Other End" action to edit context menu
8 months ago
Seth Hillbrand
5e176798c9
Correct new tooltip string
8 months ago
Alex Shvartzkop
ea5514725c
Make some multi-channel tooltips translatable.
8 months ago
Seth Hillbrand
564710b232
Move default place via hotkey to Ctrl-Shift-X
Remove this hotkey from "toggle show cursor always" as this is a more
global option, not as needed (probably) in hotkeys.
Also re-arranged MD_SHIFT + MD_CTRL+ <key> to MD_CTRL + MD_SHIFT + <key>
in order to standardize and help searches in the future
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19903
8 months ago
Ian McInerney
97b725fb42
Add Route Selected to the context menu
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19571
8 months ago
jean-pierre charras
dc1ecea4bc
OUTSET_ROUTINE::ProcessItem(): handle an exception thrown for incorrect prm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19880
8 months ago
JamesJCode
5fda0d02e1
Delay resolution of component classes when pasting footprints
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19862
8 months ago
Seth Hillbrand
56ca054c0d
Add new table icon
Replace a couple uses of the old spreadsheet
8 months ago
Roberto Fernandez Bautista
c5120b9090
Add fake-autoroute to context menus (router and edit)
9 months ago
Jeff Young
3078d82bd5
Don't wait for mouse-move to update screen.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19771
9 months ago
Seth Hillbrand
9beca90185
Ensure that new text objects are "new"
Setting the new object flag ensures that we do not commit changes in the
dialog, before the object is placed on the canvas
Fixes https://gitlab.com/kicad/code/kicad/issues/19778
9 months ago
Damjan
c6e049df2a
Pcbnew: isDrag detection in Table creation tool
Drag breaks the UI when in the create table action
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19767
9 months ago
John Beard
0011586372
Position relative: don't run with no selection
9 months ago
John Beard
5b07bb4f6a
Pcbnew: fix snapping to reference image anchor points
Otherwise it's impossible to accurately place an image
using a corner or origin.
9 months ago
Jeff Young
e19bce2f93
Reduce reliance on MANDATORY_FIELDS and their implied order.
9 months ago
John Beard
84f4f7f724
Lib editors: avoid bogus overwrite prompt when renaming to self
Just accept the dialog and then early-return.
9 months ago
John Beard
6423571349
Account for origin transforms in WX_PT_ENTRY_DIALOG
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19673
9 months ago
John Beard
a997dab769
Position interactive: add re-entrancy guard
9 months ago
John Beard
e392b7b52d
Position interactive: don't allow status popup over the dialog
9 months ago
John Beard
040fe379d0
Position interactive: don't leave stale ruler after edits
Any non-mouse action, just clear the ruler.
9 months ago
John Beard
ba5bdfaca6
Pcbnew tool: fix inconsistent selection after creation
If the point selection was used for the circualr array, one of the items
would be unselected, which is different to the grid array and annoying
if you want to pick up/edit props for the new items.
9 months ago
Seth Hillbrand
4d40ea2586
Allow Arc conversion to-from tracks-graphics
9 months ago
JamesJCode
c80a71f64a
Make netclass name methods clearer, and improve doc strings
There are two netclass name methods, which previously were not
obvious in their uses. These have been renamed to now have:
GetName() : Used for internal or tooling (e.g. netlist export) usage
GetHumanReadableName() : Used for display to users (e.g. in infobars)
Fixing the previous unclear naming will result in fewer bugs
when users start using the multiple netclass functionality, as
the incorrect usage had started creeping in to new code. Also this
will help authors of new code select the correct name method.
9 months ago
John Beard
d55877ce27
Increment tool: use parent commit when appropriate, avoid double preview
Cloning the item into the previewe means that if we later increment
it, the preview clone doesn't update. Use the non-owning preview
interface to use the item directly in the preview.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19433
9 months ago
Alex Shvartzkop
129e37f63d
Drag footprints only in non-hover selections.
9 months ago
JamesJCode
5cad4ad8d0
Multichannel: Don't include footprints outside of reference area
9 months ago
JamesJCode
0f6669a68c
Improve multichannel UI strings
9 months ago
Jeff Young
dd7c076bc9
Use std::optional for pad connection overrides.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19555
9 months ago
Jon Evans
6858561731
Fixes for building against recent wxWidgets 3.3
9 months ago
John Beard
4765d17d0c
Show UUIDs in msg panel with an advanced config
This is useful when confirming matches for items in the
debugger or from a file without having to carefully check
individual parameters.
9 months ago
John Beard
d072b37dd9
Pcbnew: only get shape lengths for shapes that support it
Avoids asserts when selecting graphical rectangles, circles and
polygons.
9 months ago
Ian McInerney
1dfb7ecbd2
Unify terminology for items to be anchor instead of origin
The "anchor" is the point on items that are their local (0,0), and
origin is on the coordinate system.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19290
9 months ago
Alex Shvartzkop
7afa6a086e
Show "Selected 2D Length" for tracks and shapes in message panel.
Useful to verify length-matching.
Also show Length for arc shapes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19339
9 months ago