Tormod Volden
e82e30d215
bom2grouped_csv.xsl: Fix sorting of grouped references
Commit a96ebe8f
seems to have missed a dollar sign.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/940
hopefully for good this time.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
6 years ago
Jeff Young
18ab3c4714
Fix missing user grid in COMMON_TOOLS.
Fixes https://gitlab.com/kicad/code/kicad/issues/4702
5 years ago
Seth Hillbrand
104ff29e5f
Remove delauney computations from dynamic ratsnest
Avoids additional calculations on movement by using cached ratsnest for
internal nets and keeping bicolored line calc for others.
Fixes https://gitlab.com/kicad/code/kicad/issues/1865
5 years ago
Jeff Young
d01b29ab37
Cleanup pad geometry handling.
There were a lot of plotters, exporters, etc. that were rolling their
own implementations.
This also introduces a lazily-built set of SHAPE objects for doing
collision detection and some forms of rendering (and later DRC).
5 years ago
Jeff Young
c57c21f577
Pad bounding radius is from pad centre, NOT shape centre.
5 years ago
Jeff Young
d89f8407e0
Const fixes.
5 years ago
Jon Evans
158f6ad526
Fix net highlighting
5 years ago
Jon Evans
40e0a4295d
Re-add netlisting logic inadvertently removed during refactor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4692
5 years ago
Jon Evans
202b55f4d2
Plot sheet background colors if present
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4697
5 years ago
Jon Evans
c0175c48af
ADDED: Setting to control track mouse drag behavior
Default is now to perform a 45-degree drag
5 years ago
jean-pierre charras
55e283634a
Pcbnew, DIALOG_PLOT_BASE: better warning message about non null solder mask margins.
5 years ago
Jon Evans
713cd4a47a
Point editor: show dragged points with a highlight
Take points editor colors from color theme
Also fix an issue where the edited object sometimes didn't
update when a point is dragged.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4600
5 years ago
jean-pierre charras
7240b3e4d3
PCB_PAINTER for D_PAD: for round and oval shapes, use native gal draw functions,
instead of convert shapes to polygons.
For small pad sizes (< 0.5mm) the polygonal shape is really ugly.
Moreover, circles and oblong shapes are native in gal and give a much better look.
5 years ago
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