Mike Williams
9b942ee8f3
Symbol Fields Table: fix up some display/field/canonical name confusion
3 years ago
Mike Williams
d8df792c6a
Fields Symbol Table: really move columns when the user moves them
Move the internal columns and rebuild the table when a user moves the
columns. This is the only way to fix selection issues across reordered
columns.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12295
3 years ago
Mike Williams
79b20812d0
Symbol Fields Table: move towards field names instead of fixed indices
Qty column can now be hidden.
We eventually need to get to the point that we are able to rearrange the
columns in the internal data model to work around wxGrid selection
issues.
3 years ago
Mike Williams
4ac0d71ad4
Grid Tricks: don't override paste into actively editing cell
Also strip linebreaks and tabs if we are in a single cell.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12276
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8361
3 years ago
Mike Williams
1982c1af80
Symbol Fields Table: save current table properties
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/5006
3 years ago
Mike Williams
e53ee9df4b
Symbol Fields Table: add rename column functionality
3 years ago
Jeff Young
7286555529
Fix some issues editing pads via Pad Properties dialog.
The offsets and orientations were being incorrectly handled.
3 years ago
Jeff Young
fd07f50c44
Report collisions of items with nets as SHORTING, not CLEARANCE.
Fixes https://gitlab.com/kicad/code/kicad/issues/14312
3 years ago
Jeff Young
77639a540b
Add messages for clearance reports on footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/13874
3 years ago
Jeff Young
28028c941e
Retire Local/Draw coords distinction from PAD (the last object to have it).
3 years ago
Jeff Young
7ca057ea02
Marginally increase sliver width checker's bogus segment tolerance.
Fixes https://gitlab.com/kicad/code/kicad/issues/14449
3 years ago
Jeff Young
7252c7471c
Use enums for column ids.
(The nickname, in particular, is no longer column 1.)
Fixes https://gitlab.com/kicad/code/kicad/issues/14291
3 years ago
Jeff Young
3a8d6dffba
Don't close ERC window when changing sheets.
This Reset() override was originally added to fix a bug when opening
a new schematic in stand-alone. However, we now do that sort of
cleanup in SCH_EDIT_FRAME::doCloseWindow().
Fixes https://gitlab.com/kicad/code/kicad/issues/14470
3 years ago
Jeff Young
b78e0a55b1
Naming conventions. (No functional changes.)
3 years ago
jean-pierre charras
054de5687c
Pcbnew: fix crash when trying to delete a PCB_TEXT.
3 years ago
jean-pierre charras
31354a2d91
PCB_TEXT::TransformTextToPolySet(): fix some issues:
- incorrect rotation for texts with option "Keep Upright"
- missing code for knockout texts.
Fixes #14473
https://gitlab.com/kicad/code/kicad/issues/14473
3 years ago
Ian McInerney
45b8dced92
Fix nanodbc build with clang and gcc stdlib
This should really be fixed upstream somehow, but the upstream build
with clang is broken on Fedora 38 right now anyway due to header issues.
3 years ago
Ian McInerney
8351c8923a
Make version info work without lsb-release installed
3 years ago
Marek Roszko
23476683f6
Try and patch site patch detection
Use Steven Falco's suggested fix from fedora, it appears to behave fine on Windows
3 years ago
jean-pierre charras
52315e4f02
specctra_export: fix unit conv PCB iu -> DSN
3 years ago
Jeff Young
bf9a42d7e1
Naming conventions and nullptr usage. No functional changes.
3 years ago
Jeff Young
4fbb85aa4f
Naming conventions.
3 years ago
Jeff Young
a8faa0e615
Add hole clearance to moutning hole keepouts for SPECCTRA.
Fixes https://gitlab.com/kicad/code/kicad/issues/14439
3 years ago
Jeff Young
04cdca837e
Remove GUI dialogs from PCB plugin.
3 years ago
jean-pierre charras
aaae50f2aa
ERC do not test power symbols for simulation model.
Fix also a minor cosmetic issue with ERCE_SIMULATION_MODEL messages.
Fixes #14463
https://gitlab.com/kicad/code/kicad/issues/14463
3 years ago
Jeff Young
b80a9014ff
Fix gcc warning.
3 years ago
Jeff Young
bbd6c80507
Collapse FP_* down into their PCB_* equivalents.
3 years ago
Seth Hillbrand
7695d510d6
Prevent PCB Editor from opening multiple board_setup
ShowBoardSetup can be called multiple times from multiple locations,
resulting in duplicate board setup dialog boxes. This is confusing and
should be prevented. We use the established patter from the symbol
picker to ensure that only one copy of the dialog is ever opened at a
time
3 years ago
jean-pierre charras
061e423b1f
Pcbnew: fix incorrect position of cached text shapes when moving a footprint.
when moving a footprint, the position of texts living in FP_TEXT_BOX was
not updated when the text shape was cached (non Kicad fonts).
Fixes #14452
https://gitlab.com/kicad/code/kicad/issues/14452
3 years ago
jean-pierre charras
e1d47dfac4
fix typo
3 years ago
jean-pierre charras
cd90887e06
kicad-cli, layer names: allows using both names used in GUI and in board files
Fixes #14455
https://gitlab.com/kicad/code/kicad/issues/14455
3 years ago
jean-pierre charras
e0d983e0d8
kicad-cli, export drill files: re-add -u as short option for --excellon-units.
Was removed by my previous commit b6f5e3d
3 years ago
jean-pierre charras
b6f5e3df2b
kicad-cli, export drill files: fix duplicate options and fix some others:
- remove --separate-files duplicate option
- change --units to --excellon-units (valid only for Excellon) and default to mm
- Gerber resolution: 5 -> 6 (default must be always the higher resolution)
Fixes #14454
https://gitlab.com/kicad/code/kicad/issues/14454
3 years ago
jean-pierre charras
1aa0ef05c0
Fix missing include.
3 years ago
Roberto Fernandez Bautista
d5bc223ff2
CADSTAR PCB Importer: Ignore construction layers on outer surfaces
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14443
3 years ago
Roberto Fernandez Bautista
aaeb8ca739
CADSTAR PCB importer: Fix loading of rounded rectangle pads
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14445
3 years ago
Roberto Fernandez Bautista
89441d807d
CADSTAR PCB importer: Fix incorrect position of overridden pads
3 years ago
Wayne Stambaugh
28776f5745
Text attributes object improvements.
* Add compare method to COLOR4D object.
* Add unit test to validate COLOR4D comparison method.
* Add missing color test in text attribute comparison method.
* Add unit test for text attribute object.
* Remove unnecessary headers from text attribute header.
* Move text attribute code into separate source file.
3 years ago
jean-pierre charras
683a327200
Footprint editor: always export the currently loaded footprint.
Previously, it was not always the edited footprint, but a footprint
selected from the library tree.
It was especially annoying when the footprint was loaded from the board editor:
The footprint was not the loaded footprint, but its copy from library.
3 years ago
jean-pierre charras
0bd83d3096
Footprint viewer: ensure the footprint is updated after new library selection
Previously, if the first fp of the new lib has the same name as the old
displayed fp, the old fp was not replace by the new fp.
3 years ago
Seth Hillbrand
f93fde15b7
Locked shadow needs to be in shadow color
Otherwise, text shadow is stroked by text color
3 years ago
Jeff Young
0f9a4ef7b7
Update local coords after changing footprint item properties.
Fixes https://gitlab.com/kicad/code/kicad/issues/14348
3 years ago
jean-pierre charras
0e82b79a8f
QA test: disable Silk clearance test in solder mask bridge QA test.
the Silk clearance test has nothing to do with a solder mask bridge QA test
3 years ago
jean-pierre charras
d116ee576e
French translation update
3 years ago
Jon Evans
3f42e6b702
Properties: Hide Net Class from GUI
It is confusing users who want to change the netclass of a net.
3 years ago
Jon Evans
c35cefe1d5
DbLib: Get rid of some GCC warnings
3 years ago
Jon Evans
65193487a6
Properties: Rename methods to better reflect their purposes
3 years ago
Jeff Young
a214ac0310
Better reporting of copper <--> keepout area clearances.
(Keepout areas can keep-out copper, but they don't have a clearance
to copper.)
Fixes https://gitlab.com/kicad/code/kicad/issues/14375
3 years ago
Jeff Young
9976b9ce8c
Only report on clearances where there was one defined.
If it's 0, it's just a straight-up collision.
3 years ago
Jeff Young
0266d03f79
Run SILK_CLEARANCE rules on mask layer when testing silk-to-mask clearance.
This allows custom rules to be authored without firing the auto-generated
rule from Board Setup > Silk Item Clearance (which should be only for silk-
to-silk clearances).
Fixes https://gitlab.com/kicad/code/kicad/issues/14417
3 years ago