Jon Evans
0e2f9cb1bd
Migrate CvPcb project parameters
6 years ago
Jon Evans
a4fadfcdf2
Begin moving project file load to new system
6 years ago
Jon Evans
a5a19076fd
Move PROJECT storage to SETTINGS_MANAGER
6 years ago
Jon Evans
a7708fa6dc
Add PROJECT_FILE and basic load/unload methods
6 years ago
Ian McInerney
b5adf5bb21
Only try to remove the implicit conversion warning if it is supported
5 years ago
Ian McInerney
f7156a9d49
eeschema: Only warn user about off-grid pins if the position has changed
Fixes https://gitlab.com/kicad/code/kicad/issues/4673
5 years ago
Ian McInerney
c27207500d
Cleanup some compiler warnings
5 years ago
Jeff Young
2cfd6ba978
Fix a couple of integer overflows.
5 years ago
Jeff Young
9940931b0f
Fix null dereference in DRC checking.
5 years ago
Jeff Young
eb1ff80d57
SHAPE collision fixes.
1) An actual distance of 0 is still a collision, even if the allowed
distance is 0.
2) Be consitent about edges and interiors. Everyone expect the edge
of a RECT to be part of the RECT; same with a CIRCLE. SHAPE_POLY_SET
shouldn't be any different. (And SHAPE_LINE_CHAIN was a split-
personality with the edge considered part of it for Collide() but not
for PointInside()).
5 years ago
Jeff Young
e91acfb67b
Correct SHEETNAME validation exclusions which were for SHEETFILENAME.
Fixes https://gitlab.com/kicad/code/kicad/issues/4748
5 years ago
Seth Hillbrand
7e3a338518
Move warning flags to proper place
Cleans unitialized warnings in wxApps
5 years ago
Seth Hillbrand
54aaade47e
'const void' is not a return type
5 years ago
Seth Hillbrand
d663be853f
Explicitly add signed/unsigned comparison to warnings
5 years ago
Jeff Young
441dfa30f0
Return individual custom pad shapes instead of a SHAPE_POLY_SET.
Also implements an optional pointer to return the actual distance
from all the SHAPE collision routines.
Fixes https://gitlab.com/kicad/code/kicad/issues/4774
5 years ago
jean-pierre charras
af8f05d570
Fix incorrect calculation of pad bounding box
Fixes #4776
https://gitlab.com/kicad/code/kicad/issues/4776
5 years ago
Jon Evans
f8bfb2bc16
Fix several issues with multilayer zones
- Properly refill if layer set is modified
- Fix some threading issues with island removal
- Fix copy constructor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4765
5 years ago
Seth Hillbrand
e320a3f112
Add missing include
Also prefer std::string over wxString where possible
5 years ago
jean-pierre charras
bba5cfe17e
fix a minor compil warning
5 years ago
jean-pierre charras
8d18f289c7
remove a message printed only for debug/test.
5 years ago
Jeff Young
e26625fc99
Scale polygon drawing guides with zoom.
Fixes https://gitlab.com/kicad/code/kicad/issues/4769
5 years ago
Jeff Young
424d551054
Cache pad bounding boxes for performance.
Also allows us to return to a LOD test for pad numbers which treats
round and square pads the same.
5 years ago
Jeff Young
3b764d6357
Minor dialog spacing issues.
5 years ago
Jeff Young
8c4bfed001
Slight improvement on function names.
5 years ago
jean-pierre charras
3993181de5
D_PAD::BuildEffectiveShapes(): fix incorrect rect shape size for rect pads
rotated by +-90 deg
Noticeable in PnS router.
Fixes #4771
https://gitlab.com/kicad/code/kicad/issues/4771
5 years ago
Jeff Young
7b042f4a75
Add rectangle tool to PCBNew toolbar in favour of Aux Origin.
ADDED new rectangle graphics tool for PCBNew and Footprint Editor.
Also adds rectangle tool to both Footprint Editor and PCBNew Place
menus.
The Aux Origin tool can come back once we have multi-select toobar
buttons.
Also collapses an unnecessary level out of the auxOrigin and gridOrigin
settings.
Fixes https://gitlab.com/kicad/code/kicad/issues/2246
5 years ago
Jon Evans
32b7b0c617
Fix filled zone rotation and move operations
5 years ago
Jeff Young
40847c055d
Check final corner of rectangle before merging.
Fixes https://gitlab.com/kicad/code/kicad/issues/4766
5 years ago
Jeff Young
6d56ba2072
Minor cleanup to edit label dialog.
5 years ago
Jeff Young
61b5a12362
Don't allow component & sheet field IDs to collide.
Fixes https://gitlab.com/kicad/code/kicad/issues/4748
5 years ago
Jeff Young
25c5c35176
Fix compile error on Linux.
5 years ago
Jeff Young
4694b52e1f
Lazy rebuild of color themes dropdown.
This allows you to (for instance) create a new theme in PCBNew and
then select it in Footprint Editor.
5 years ago
Jeff Young
40a72d9530
Add SH_RECT handling to 3D shape conversion.
Also add some debugging for not-implemented shape cases in other
places to catch simmilar issues in future.
Fixes https://gitlab.com/kicad/code/kicad/issues/4757
5 years ago
Ian McInerney
3bb44f3804
Don't install the import library for the 3dsg library
No one on Windows should be linking to it outside of
the build process, so there is no need for it in the
installer
Fixes https://gitlab.com/kicad/code/kicad/issues/1842
5 years ago
Ian McInerney
659c0ecfcc
Gerbview: Fix print toolbar button
Fixes https://gitlab.com/kicad/code/kicad/issues/4762
5 years ago
Seth Hillbrand
5ca23e3e5c
Fix missing quote in git_libngspice
5 years ago
jean-pierre charras
42296d7eb9
fix issues in DRC and fill zone, related to recent changes in code.
Note also: the actual clearance between 2 pads when < minimal clearance
is incorrectly calculated.
5 years ago
Ian McInerney
bb1afb747a
Remove bus entry shape
The shape isn't needed anymore, since bus entries can be rotated
and mirrored like other items.
Fixes https://gitlab.com/kicad/code/kicad/issues/4588
5 years ago
Jon Evans
49c7ba6724
Make it easier to select keepouts
5 years ago
Jon Evans
8a0277eb2e
Fix null graph in some connections
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4747
5 years ago
Jeff Young
e91b7cf18f
Separate the two offset strategies for PointEditor Pad editing.
This doesn't indicate what I think we should do with them; it will
just make whatever we decide easier to do.
5 years ago
Jeff Young
d67f404dec
Fix undo issue with merging lines into rectangles.
5 years ago
Jeff Young
36e94773a3
Adjustments to point-editing of pads.
1) Don't offset pad with no hole and no offset: move them instead.
2) Don't allow editing of locked pads in board editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/2153
5 years ago
Jon Evans
44f3cdb31e
Fix a few issues with zone islands
5 years ago
Jeff Young
9cbcf3fe56
Improve pad annotation for custom-shaped pads.
Use the bounding box instead of the anchor pad size for determining
LOD and size/location of annotations.
5 years ago
Jeff Young
8ac3a3cbc0
Replace missing "sketch text" option from ModEdit View menu.
5 years ago
Jeff Young
516de9c85e
Point editor hookup for non-custom-shaped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/2153
5 years ago
jean-pierre charras
a229e51962
Pcbnew: fix incorrect clearance of oval pads in zone fill.
(The clearance value was only half of the correct value)
5 years ago
Seth Hillbrand
224b41e8b1
Fix a threading segfault when filling zones
The shape cache gets reset by the zone fill algorithm. This needs to be
cleaned before multiple threads are created and cannot be modified when
threading.
Fixes https://gitlab.com/kicad/code/kicad/issues/4723
5 years ago
Lukas F. Hartmann
f5842156a5
GAL: disable glCopyBuffer for etnaviv vendor
5 years ago