Ian McInerney
a94a481574
Fix compile warnings
Some simple warnings and also a deprecation warning from wx
because they felt that a function should be renamed...
5 years ago
Jon Evans
4dbeb15024
Use a worker thread to send socket commands
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6503
5 years ago
Jon Evans
381cc27548
Add missing include
5 years ago
Jeff Young
49b1aceb8b
Handle doc urls enclosed in parens.
It seems this has become a common pattern in at least some of our
libraries.
Fixes https://gitlab.com/kicad/code/kicad/issues/7963
5 years ago
Jeff Young
f24f0d93a5
Make OK default in inspectors (and hook up to close window).
Fixes https://gitlab.com/kicad/code/kicad/issues/7831
5 years ago
Jonathan Haas
a677998f47
Don't select new items after cancelling move following item duplication
Fixes https://gitlab.com/kicad/code/kicad/issues/7956
5 years ago
Jon Evans
9ce34102af
Make sure projects get created for boards migrated from 5.x
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6886
5 years ago
Jeff Young
8be213e36f
Trim includes (and use consistent terminology in error messages).
5 years ago
Roberto Fernandez Bautista
a9eb83201e
Remove ZONE::ClearFilledPolysList() and fix ZONE::Unfill()
ClearFilledPolysList is redundant and Unfill() was missing the clearing
of m_insulatedIslands
This fixes potential latent bugs in zone unfilling.
5 years ago
Roberto Fernandez Bautista
50aafb9d2a
Do not auto-refill zones when added or edited
The only exception is when using the Zone Properties Dialog and
user preference is enabled
5 years ago
Roberto Fernandez Bautista
7a255edc5f
Panel Edit Options: Fix "Show Page Limits" tooltip message
5 years ago
Roberto Fernandez Bautista
f6c4677189
ADDED Option to disable automatic zone filling in pcbnew
The new setting is stored as 'editing.auto_fill_zones' and controls
whether zones should be refilled after certain actions or not.
5 years ago
Roberto Fernandez Bautista
a743e0c52b
Add Zone fill to undo stack
Allows undoing zone filling and reverting to previous fill state.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7440
5 years ago
Jon Evans
5e0b65c3a8
Change wording of corner rounding action
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4505
5 years ago
Jon Evans
37242f67e0
Connectivity: just pick the most popular net to update conflicting clusters
CHANGED: when pad net assignments are changed in a conflicting way (i.e.,
tracks exist that short out more than one net after the change,
track nets will be updated to the net with the most pads).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7929
5 years ago
jean-pierre charras
f0ed5fab39
add missing include for wxWidgets 3.1.4
5 years ago
Jon Evans
e1840ccbd3
Handle exceptions thrown by footprint library table
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7973
5 years ago
Thomas Pointhuber
68f3d09ac1
altium: introduce tokenizer for query language
Based on this tokenizer, a LL1 parser will be built in the future.
5 years ago
Jeff Young
fe196771d8
Implement isCoupledDiffPair() DRC rule function.
Fixes https://gitlab.com/kicad/code/kicad/issues/7975
5 years ago
Jeff Young
44e2151ade
Allow diffpair gap to override netclass clearance value.
Fixes https://gitlab.com/kicad/code/kicad/issues/7975
5 years ago
Jeff Young
ce46fe6581
Add insideFrontCourtyard and insideBackCourtyard DRC functions.
Fixes https://gitlab.com/kicad/code/kicad/issues/7972
5 years ago
Jeff Young
07aea4339d
Formatting.
5 years ago
jean-pierre charras
4a53917efa
wrml exporter: optimize circle to segment approximation.
5 years ago
Jon Evans
f1c599fa4d
Tweak PCB selection behavior to reduce unintuitive behavior
We were discarding shapes too aggressively for having a
larger area than a shape underneath.
Let's also try showing fewer disambiguation menus, in particular
always preferring items on the active layer when the candidates
include overlapping items of similar area on other layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7949
5 years ago
Jon Evans
6924b98bc3
Remove deprecated BRIGHT_BOX preview item
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
jean-pierre charras
6d5536707c
wrml exporter: remove all duplicate code with Pcbnew. Especially, converting layers to polygons exist in Pcbnew, so no need to rebuild item shapes in the exporter. Moreover, in exporter, rebuilding shapes was not up to date and did not include changes in Pcbnew.
5 years ago
jean-pierre charras
4073153e75
vrml exporter: fix incorrect export of zones on solder mask layers. minor changes in colors.
5 years ago
Jon Evans
7a8abcadd2
PCB_SHAPE: Use SHAPE_ARC as the effective shape of an arc
5 years ago
Jeff Young
6c3b02aabe
Cleanup (no functional changes).
5 years ago
jean-pierre charras
3fec3a3a15
Fix a minor Coverity warning
5 years ago
Jeff Young
90742bba9f
Adjust constraints after editing other points.
Fixes https://gitlab.com/kicad/code/kicad/issues/7103
5 years ago
Jeff Young
4034fcb7ac
Fix yet another edge case in B&W printing of holes.
Fixes https://gitlab.com/kicad/code/kicad/issues/7944
5 years ago
jean-pierre charras
af88b01068
export_vrml: Better export of pad shapes, both on copper and paste layers.
It removes duplicate code between Pcbnew and the vrml exporter.
Remove also an useless option (plain board) that exported just the board body.
5 years ago
jean-pierre charras
8d5161dae2
export_vrml: more code cleanup and export solder mask
5 years ago
Jonathan Haas
95051c4786
Also duplicate arcs in pcbnew
Fixes https://gitlab.com/kicad/code/kicad/issues/7943
5 years ago
Jean-Samuel Reynaud
e377f2667e
Adding COMMIT support before/after invocation of a python script
Allows undo/redo of ACTION_SCRIPT commands
5 years ago
jean-pierre charras
16ef1910ff
export_vrml: more code cleanup and fix incorrect shape of round chamfered pads
5 years ago
jean-pierre charras
074f0432f0
vrml exporter: more cleaning code and enhancements. Dialog exporter: Add option to use board center as coord origin.
5 years ago
jean-pierre charras
b050823c98
export_vrml.cpp: mainly clean code and add some fixes.
5 years ago
Jeff Young
36259b1f6b
Refresh lib trees after editing library tables.
Also make sure that we grab the library item descriptions from their
source rather than just the cached tree copy.
Fixes https://gitlab.com/kicad/code/kicad/issues/7875
5 years ago
Jeff Young
46d71f0d23
Go back to validate-on-OK, but stop doing design checks.
If we keep doing design validations at two different places, they can
only start to drift apart. Board Setup should validate for malformed
data ONLY; everything else is the business of DRC.
This also fixes a bug where implementation validations would not allow
OK in the dialog, but wouldn't put up a message to say why. We now use
the InfoBar impl from Jon's commit for that.
5 years ago
pgvoorhees
bb8d31cd06
Fix context item selection filter type omissions
Fixes #7839
5 years ago
Jeff Young
cad1cb0262
Improve naming.
5 years ago
Jeff Young
c7648b4dba
Formatting.
5 years ago
Jeff Young
2ad9da582a
Refresh geometry when clearance changes if clearance lines are shown.
Fixes https://gitlab.com/kicad/code/kicad/issues/7906
5 years ago
Mikolaj Wielgus
c3c3649211
Stop text from causing a shift during flip when >1 items are selected
1e1be730 fixed this only for one item.
Fixes https://gitlab.com/kicad/code/kicad/issues/7304
5 years ago
Jeff Young
b2ac9cc29f
Formatting & naming conventions.
5 years ago
Fabien-B
a086795ac9
Pcbnew: fix dimensions text rotation and position.
Issue #6940 is not addressed, as being able to
rotate a dimension with a group is preferred over
easily rotating the text.
Fixes https://gitlab.com/kicad/code/kicad/issues/3847
5 years ago
jean-pierre charras
cb451dc4b2
Pcbnew: Fix memory leaks and fix inefficient code.
5 years ago