Jon Evans
a16c9df79c
Delete the right object in arc cleanup
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4694
5 years ago
jean-pierre charras
ad69e449fe
Fix a collision name in drawing_tool.h with a msys2 header
5 years ago
jean-pierre charras
65550e6a6e
Fix a link issue (symbol not found) on Windows.
5 years ago
Jeff Young
970921f88b
Support for filled DRAWSEGMENT::S_RECT and S_CIRCLE.
One more step in unifying pad primitives and draw segments.
5 years ago
Jeff Young
986c1a27cd
Make sure line widths (and clearances) are handled on rectangles.
5 years ago
Jeff Young
7877e4083e
Don't match to an unknown layer.
5 years ago
Jeff Young
9ba9f0288e
Read files with rectangle primitives in custom pads.
5 years ago
Jon Evans
09cb75b8a1
Use a temporary file when saving boards/schematics to make the operation more atomic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4517
5 years ago
Jon Evans
dd42a19319
Prevent grid axes from inadvertently turning on in eeschema
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4680
5 years ago
Jon Evans
6d2f30005e
Don't blow up the sheet path when selecting an ERC item
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4685
5 years ago
Ian McInerney
96a5a96037
Fix GTK window position when closed maximized
GTK only sends one maximize event, and it happens after the
window is maximized, so we shouldn't check for not being maximized.
5 years ago
Ian McInerney
5b3d947b7e
Fix initialization order fiasco with colors
The legacy color refs are needed by the COLOR4D constructor
when constructing a static variable, so they can't be static
themselves.
5 years ago
Ian McInerney
5649558cff
Move DPI_SCALING into the GAL from common
It should be owned by the GAL, since it is used
with the OpenGL canvas infrastructure.
5 years ago
Jeff Young
a1332d76fe
Remove SHAPE_EDITOR frame types before we forget about them.
They may go back at some point, or they may not....
5 years ago
Jeff Young
b779715996
Don't whack original pad shape when converting to custom.
Rectangles and circles convert easily, but a chamfered rectangle
(for instance) needs more careful handling.
5 years ago
Ian McInerney
fe1e835471
Cleanup some unused files
5 years ago
Jon Evans
aa7ce74ad5
Fix overzealous autoformatter
5 years ago
Jon Evans
e91b9f6dfb
Rip out the unused leftovers of the old color system
5 years ago
Seth Hillbrand
32738862b8
Fix build error in linux
5 years ago
Seth Hillbrand
70fa76337f
Update rectifier example
The rectifier example used an alternate order that refered to pin
numbers rather than pin names as KiCad expects
Fixes https://gitlab.com/kicad/code/kicad/issues/4678
5 years ago
Jeff Young
76d1b8bfa1
Make sure selectors match against user layer names.
Also allows for user specification of units in rule constraints.
5 years ago
Jeff Young
cae493fe65
More infrastructure work for shape editor.
5 years ago
Jeff Young
ee9d8fcd15
Collapse Pcbnew & ModEdit display and edit settings.
(Prep work for reusing them with a custom shape editor.)
5 years ago
Seth Hillbrand
08c61e6788
Ensure triangulation follows moving zone
Dragging filled zones in OpenGL was extremely slow due to the
invalidated triangulation cache. Moving the zone should also move the
triangles and keep the cache valid.
5 years ago
Seth Hillbrand
eb89d1c68b
pcbnew: Minor update to ratsnest calc
BuildConnectivity updates the ratsnest after it completes. By compiling
the ratsnest before connectivity, we update it twice with the dirty flag
being reset after connectivity updates.
5 years ago
Jon Evans
15b95f2980
Fix project references in eagle importer after SCHEMATIC object
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4672
5 years ago
Jeff Young
f31139ac48
Don't copy from a running Pcbnew now that we have settings.
Also fixes an issue where if Pcbnew wasn't run before the symbol
chooser (with the footprint preview active) you'd get no grids (and
a crash on non-OSX platforms).
Fixes https://gitlab.com/kicad/code/kicad/issues/4670
5 years ago
Jeff Young
754f958be2
Attempt to fix duplicate ID issue on MSW.
5 years ago
Jeff Young
a7703d1207
Cleanup Graphics to parallel Cleanup Tracks & Vias.
This also allows for easier migration to DRAWSEGMENT::S_RECTs by
auto-converting 4 rectilinear lines to a rectangle.
5 years ago
Jeff Young
a3cab09fb4
Make it clearer that drawSegment() can modifiy the current seg pointer.
This might also quiet the Coverity warning, but I've also marked it as a
false positive (as it might still mess up on the new code).
5 years ago
jean-pierre charras
55c0bd7ae3
Remove a incorrect code, unfortunately not removed after another (old) code change.
5 years ago
jean-pierre charras
5db2b6ed8d
Action menu: ensure a wxEVT_COMMAND_MENU_SELECTED event is sent to the menu,
when a wxTextCtrl has the focus but is read only, and cannot use a CHAR event.
It fixes an issue in Kicad manager (menus with accelerator not working) when
the wxTextCtrl window showing messages has the focus.
5 years ago
Jon Evans
0dd34d197e
Ensure currentGrid is valid on startup
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4666
5 years ago
Seth Hillbrand
8c57821e9b
pcbnew: Move ratsnest items to separate folder
5 years ago
Ian McInerney
0bfe4130f5
Include the ngspice library in the bundle fixup command
This is a patch that has been carried in the kicad-mac-builder
repository that is being upstreamed into the main codebase.
5 years ago
Jeff Young
aeed8e6e2c
Finish implementation of DRAWSEGMENT::C_RECT.
It's currently only supported in the Footprint Editor. It could be
easily added to the board editor (all the code is there), but the board
editor is a little short on room in the drawing tools toolbar.
5 years ago
Seth Hillbrand
4480759599
Remove unused variable
5 years ago
Seth Hillbrand
a18aea3a43
Fix signed/unsigned comparison
5 years ago
Eli
2a334a5c59
Updates wording used in alignment submenu to make the actions clearer when icons are missing. Also reorganises the order of items in the submenu.
5 years ago
Johannes Maibaum
48150389b1
Add diode model to rectifier demo (ngspice-32 fix)
Patch by Holger Vogt
Fixes https://gitlab.com/kicad/code/kicad/issues/4453
6 years ago
Ian McInerney
9d78aa604f
Force OSX to automatically scale the canvas on legacy settings read
As of ab83c862 , the canvas scaling setting is now used on OSX
(before it was ignored). Legacy settings would have this set to 1.0,
which would not automatically scale the canvas and break on Retina
displays. OSX auto detection works well enough in wx 3.0, so we
can use it now.
5 years ago
Jeff Young
ad12c42e8b
Push grid settings dialogs down into common.
This also gives support for fast grid switching and a user grid
to eeschema.
Fixes https://gitlab.com/kicad/code/kicad/issues/2200
5 years ago
jean-pierre charras
b7ec66dc9b
Gerber plotter: better choice of aperture attributes in internal layers.
5 years ago
jean-pierre charras
a8d5d9b690
panel lib tables: avoid crash when deleting the last entry in list.
5 years ago
Seth Hillbrand
461d0e9a49
Unify rounding in altium to KiCad converter
This fixes an issue in the integer conversion that caused truncation
errors. Handling the conversion from micromil to nanometer using
doubles keeps intermediate values correctly rounded. There remain some
conversions that are lost where Altium rounded its metric
representation.
5 years ago
Seth Hillbrand
899496baaa
pcbnew: Remove item from edit selection in favor of parent
5 years ago
Seth Hillbrand
491ac0256d
pcbnew: Add a number of missing handles for module zones
5 years ago
Seth Hillbrand
09eee84a3e
pcbnew: Handle module zone area in delete
Selections containing zone areas need to be handled separately by
modifying the parent rather than the item itself
Fixes https://gitlab.com/kicad/code/kicad/issues/4653
5 years ago
Seth Hillbrand
810f668d45
Fix compile error
Reading integer config values are implicitly cast and need to be
specified.
5 years ago
Jeff Young
e16426987a
Fix wxWidgets alert on integer overflow.
5 years ago