Mike Williams
2eec2489ea
design blocks: move globals behind accessor functions
Prepare for lazy loading
1 year ago
Mike Williams
b2dda11fae
design blocks: move table manager to common dialogs
Also add to schematic editor preferences.
1 year ago
Mike Williams
0a5de3510d
design blocks: use correct global library path in dialog
1 year ago
Seth Hillbrand
b175c0fc39
Handle field types missing
If we do not have both a device and type for the sim model, return none
because we cannot parse it. This is handled by the calling routines.
Otherwise, we would return raw spice type erroneously.
(cherry picked from commit 76e50881fb
)
1 year ago
Seth Hillbrand
f3b51b8fbf
Fix layer display in stackup dialog panel
The layers need to iterate using the copper iterator, not incrementing
integers
1 year ago
Jeff Young
6ff79ae78a
Fix typo.
1 year ago
Jan Wichmann
59575c19d8
CHANGED: pcbnew - Enable grid override by default.
As is the case with eeschema. So that the feature is easier to use.
1 year ago
jean-pierre charras
a4e6c2cfe7
PCB_DRAW_PANEL_GAL: Use TARGET_OVERLAY for LAYER_CONFLICTS_SHADOW.
This is a better option than TARGET_NON_CACHED, and giving better look.
1 year ago
jean-pierre charras
f0b92b0c5d
PCB_EDIT_FRAME::HardRedraw(): also refresh message panel and ratsnest.
1 year ago
jean-pierre charras
f2c8ef9f93
Fix a compil warning (shadowed var)
1 year ago
jean-pierre charras
c8b113870a
Pcbnew: Preferences/Fp editor/Default values: allow to remove defaut text items.
These texts/fields are not mandatory, so allow remove them from default texts list.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18663
1 year ago
Marek Roszko
b2f07a9947
Split DIALOG_EXPORT_NETLIST to have a header
1 year ago
John Beard
f47d9edf2e
KIID: add test that the hashes do change
1 year ago
John Beard
9a3ebfba40
KIID: Use Boost uuids own hash function (fix Boost 1.86)
Not only is this simpler, but it should be compatible
with all Boost versions (the cast is a problem in 1.86)
and it was also 'improved' in 1.86 for better mixing.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18651
1 year ago
Marek Roszko
aceca713d8
Fix kicommon exports
1 year ago
Marek Roszko
00f2e56e51
IO_BASE must be dllexport/dllimport specified as a base class
1 year ago
Marek Roszko
bca77cf54b
split legacy DIALOG_BOM to have a header
1 year ago
Marek Roszko
fd09ad2a75
Split header for DIALOG_EXPORT_IDF3
1 year ago
Marek Roszko
f1fdb5a1d5
Split off header for DIALOG_EXPORT_VRML and rename it from DIALOG_EXPORT_3DFILE
1 year ago
Marek Roszko
b8a967441c
Split DIALOG_EXPORT_STEP's class def to a header
1 year ago
Marek Roszko
fa8d6b7ff2
Split out DIALOG_EXPORT_SVG to a header
1 year ago
Marek Roszko
b84ea68086
Split out DIALOG_GEN_FOOTPRINT_POSITION to its own header for re-use
1 year ago
Jeff Young
ed268c5701
Report implicit rule minimums as being from the board setup.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18642
1 year ago
Alex Shvartzkop
e0291133f2
Import POURED items as zone fills from EasyEDA/LCEDA Pro v2.2+ PCBs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18664
(cherry picked from commit 6b199c52a1
)
1 year ago
Seth Hillbrand
5e0abadb23
Reorganize layer numbering
F_Cu = 0
B_Cu = 2
Remaining internal copper layers are even and incrementing
Non-copper layers are odd and incrementing.
This means that we can no longer do things like:
for( PCB_LAYER_ID layer = F_Cu; layer <= B_Cu; ++layer)
Instead, we have the class LAYER_RANGE:
for( PCB_LAYER_ID layer : LAYER_RANGE( F_Cu, B_Cu) )
Similarly, gt/lt tests should not refer to the integer value of the
layer. We have functions such as IsCopperLayer to test whether a layer
is copper or not.
When using the connectivity RTree, the third dimension is layer, so we
provide B_Cu with the special INT_MAX value, ensuring that elements
between F_Cu and B_Cu will be identified. There is a new, special
function GetBoardLayer() for interfacing with CN_ITEMS
Similarly, PNS layers remain unchanged and sequential. A set of
interface functions is provided to map PNS layers to Board layers and
back. This allows the PNS_LAYER_RANGE to function as expected
1 year ago
Seth Hillbrand
b99a43bec2
Make 3d raytracing a bit more pleasing to watch
The circle out render is a bit tedious
1 year ago
Seth Hillbrand
be2a52dd2b
Avoid GL ctx deadlock
Allow non-drawing routines to access error messages without dealocking
the load
1 year ago
John Beard
304d9e0006
Pcbnew: Fix aligned dimension flipping
https://gitlab.com/kicad/code/kicad/-/issues/16317
1 year ago
John Beard
9fac24fa0f
Pcbnew: set mirrored when creating on back layer
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/18643
1 year ago
John Beard
45bc23a8a5
Pcbnew: keep dimension text aligned when dragging points
This is quite fiddly to do in a way that doesn't have wierd
effects, and is shared between ALIGNED and ORTHOGONAL dimensions,
so break it out to a little helper class that handles the
stored state and fiddling with the geometry.
1 year ago
John Beard
78cb6c1189
SEG: Correct sign in LineDistance
1 year ago
John Beard
537613df22
Pcbnew: Allow lambdas with capture to be used for a selection filter
Using a function pointer limits to only lambdas without captures.
1 year ago
Seth Hillbrand
d4d39d3c8b
Expunge some boost libs from 3d cache
Boost keeps changing their interface and we don't need to use that SHA
routine anyway. This replaces it with the murmur3 hash that should be
faster and is kept in-tree
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18653
1 year ago
Seth Hillbrand
538b055c98
Remove ambiguity in MM3_HASH ctor
1 year ago
Seth Hillbrand
5ba50c26a9
Update embedded files hash to use Murmur3
SHA256 is fine for one-offs but for large libraries where we might be
running the hash on hundreds of files, the speed difference is
appreciable. We don't require crytographic hashing, just a check that
the original file hasn't been corrupted so Murmur3 satisfies our basic
requirement.
1 year ago
Seth Hillbrand
89849ccff1
Catch JSON errors when migrating
Any parsing of the json files can throw, so be sure we are catching the
errors and not crashing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18655
1 year ago
Seth Hillbrand
3cb9dcb52b
Update translations
1 year ago
Hanna Breisand
f7a758b825
Translated using Weblate (Swedish)
Currently translated at 99.8% (9511 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
1 year ago
김랑기
d683da536b
Translated using Weblate (Korean)
Currently translated at 99.9% (9520 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
1 year ago
Hanna Breisand
d8cae0e3f1
Translated using Weblate (Swedish)
Currently translated at 99.8% (9511 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
1 year ago
Wellington Terumi Uemura
84596a09e0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9524 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
1 year ago
Allan Nordhøy
cd37cfa289
Translated using Weblate (Norwegian Bokmål)
Currently translated at 44.8% (4271 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
1 year ago
Hanna Breisand
7d935e8d21
Translated using Weblate (Swedish)
Currently translated at 99.8% (9506 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
1 year ago
Julio Dias
2a1a40266b
Translated using Weblate (Portuguese)
Currently translated at 93.5% (8913 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt/
1 year ago
김랑기
02f409fa3d
Translated using Weblate (Korean)
Currently translated at 99.9% (9519 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
1 year ago
Hanna Breisand
52fcfef058
Translated using Weblate (Swedish)
Currently translated at 99.6% (9495 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
1 year ago
김랑기
63d5603bd5
Translated using Weblate (Korean)
Currently translated at 96.3% (9179 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
1 year ago
Tokita, Hiroshi
a83bf65177
Translated using Weblate (Japanese)
Currently translated at 93.0% (8861 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
1 year ago
Toni Laiho
d0944a9a8c
Translated using Weblate (Finnish)
Currently translated at 99.9% (9520 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
1 year ago
Wellington Terumi Uemura
729879acfa
Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.7% (9402 of 9524 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
1 year ago