Commit Graph

27340 Commits

Author SHA1 Message Date
Jeff Young b36e1c741d Fix insidious bug which resets layer of SOLID when marking collision.
It's supposed to be setting the layer of the collsion display object,
not the host object, but there's a typo.

Fixes https://gitlab.com/kicad/code/kicad/issues/7712
2021-02-25 23:39:48 +00:00
Jeff Young 75032f3acd Use the more-constrained layer when running rules.
Fixes https://gitlab.com/kicad/code/kicad/issues/7639
2021-02-25 22:58:07 +00:00
Seth Hillbrand 54539d2cd7 Calculate timestamp the same way both times
Timestamps were checked using a different routine than they were
generated with, leading to the cache always being out of date.

This uses the same routine for both.  While it iterates over the
directory twice during the initial load, this will never be dominant

Fixes https://gitlab.com/kicad/code/kicad/issues/7711
2021-02-25 14:36:49 -08:00
Seth Hillbrand 0dca0e752b Reduce the number of built-up calls to DisplayFootprint
When updating the libtree, we modify the tree multiple times to avoid
crashes on Linux.  These generated events that buffered while the widget
was frozen and resulted in redrawing the same footprint 4-10x.

This reduces the buffering by discarding events that are generated
during the freeze and only redrawing when there is a new footprint to
draw
2021-02-25 12:13:42 -08:00
Seth Hillbrand ac8fa140b7 Update Translations 2021-02-25 09:53:47 -08:00
kai chiao chuang 2c0c247743 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.3% (6765 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-02-25 18:53:04 +01:00
ZbeeGin d6339a1a26 Translated using Weblate (Polish)
Currently translated at 100.0% (6809 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-02-25 18:53:04 +01:00
Arend-Jan van Hilten b6e8aaa742 Translated using Weblate (Dutch)
Currently translated at 92.6% (6311 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nl/
2021-02-25 18:53:04 +01:00
Tokita, Hiroshi 05e26bd186 Translated using Weblate (Japanese)
Currently translated at 99.3% (6762 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2021-02-25 18:53:04 +01:00
fresh 1852a85378 Translated using Weblate (Greek)
Currently translated at 96.3% (6563 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:04 +01:00
Jonathan Haas af7f1d4078 Translated using Weblate (German)
Currently translated at 100.0% (6809 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-02-25 18:53:04 +01:00
aris-kimi 975613a044 Translated using Weblate (Greek)
Currently translated at 96.2% (6557 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:03 +01:00
aris-kimi bd22b12d35 Translated using Weblate (Greek)
Currently translated at 96.3% (6558 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:03 +01:00
fresh c26bc1fd69 Translated using Weblate (Greek)
Currently translated at 96.3% (6558 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:03 +01:00
fresh 5752470293 Translated using Weblate (Greek)
Currently translated at 95.5% (6507 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:02 +01:00
aris-kimi 13ae07d33a Translated using Weblate (Greek)
Currently translated at 95.5% (6507 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:02 +01:00
fresh 61c5169e0e Translated using Weblate (Greek)
Currently translated at 95.2% (6488 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:02 +01:00
aris-kimi b1410f9dd9 Translated using Weblate (Greek)
Currently translated at 95.2% (6488 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:02 +01:00
fresh 60172e2296 Translated using Weblate (Greek)
Currently translated at 95.2% (6487 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:02 +01:00
aris-kimi 4c4b08d876 Translated using Weblate (Greek)
Currently translated at 95.2% (6487 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:01 +01:00
fresh 10c8b77e7e Translated using Weblate (Greek)
Currently translated at 95.2% (6484 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:01 +01:00
aris-kimi 27941110a6 Translated using Weblate (Greek)
Currently translated at 95.2% (6484 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:01 +01:00
Konstantin Baranovskiy 708848b1aa Translated using Weblate (Russian)
Currently translated at 100.0% (6809 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2021-02-25 18:53:01 +01:00
Tokita, Hiroshi b750e87b4d Translated using Weblate (Japanese)
Currently translated at 98.8% (6734 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2021-02-25 18:53:01 +01:00
Jonathan Haas 1282f66383 Translated using Weblate (German)
Currently translated at 99.9% (6808 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-02-25 18:53:01 +01:00
fresh 3c266dd8d8 Translated using Weblate (Greek)
Currently translated at 94.3% (6423 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-02-25 18:53:01 +01:00
Jonathan Haas 089a3da40d Translated using Weblate (German)
Currently translated at 99.2% (6757 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-02-25 18:53:01 +01:00
taotieren 738ca38183 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.3% (6764 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-02-25 18:53:01 +01:00
Eric 1838a97c25 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.9% (6808 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-02-25 18:53:01 +01:00
Konstantin Baranovskiy d10dd75bab Translated using Weblate (Russian)
Currently translated at 100.0% (6809 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2021-02-25 18:53:01 +01:00
ZbeeGin 97af5a3943 Translated using Weblate (Polish)
Currently translated at 99.5% (6778 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-02-25 18:53:01 +01:00
Jonathan Haas 91a1c0e0a2 Translated using Weblate (German)
Currently translated at 99.1% (6749 of 6809 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-02-25 18:53:00 +01:00
Seth Hillbrand b823c49a95 Handle polygons in step export
Fixes https://gitlab.com/kicad/code/kicad/issues/7707
2021-02-25 09:50:01 -08:00
Wayne Stambaugh b4741c97b6 Attempt to fix Coverity issue 316502.
This changes the third party project importer to fail if either the
schematic or board files cannot be copied to the project folder.
2021-02-25 12:24:57 -05:00
Tomasz Wlostowski 87ea540953 Fix whitespace errors 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 04d058d60a qa: don't enable the P&S hacktool build by default 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski c79610e132 router: post-rebase fixes 2021-02-25 17:18:23 +01:00
Marek Roszko 6948cdd8ef router: Fix return type within pointInside2 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 9bdfc13155 router: improve locality of post-shove optimization
Fixes: #4359
2021-02-25 17:18:23 +01:00
Tomasz Wlostowski e1d4bb777c router: use new LINE::Walkaround in the walkaround algo 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 045d02f818 router: add strict/loose area restriction constraint. WIP 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 24574aa2f5 router: first insert intersections, then build graph in Walkaround() 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 61e75a838b router: replace large stack variables with std::array 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski f7f5e67f56 geometry: SHAPE_LINE_CHAIN::Simplify() now correctly simplifies last 3 colinear vertices 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 028f209126 router: more robust LINE::Walkaround() implementation 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski e9c55cd0e3 router: if the drag anchor is not reachable by the mouse, use the closest point on dragged trace for optimizer restriction
Fixes: #4056
2021-02-25 17:18:23 +01:00
Tomasz Wlostowski a141ed3444 router: feed view size change events to the router engine 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 12dfb541fc router: expose current view area to the router algorithms so that the optimizer could know not to mess with traces/vias not currently visible to the user (wip) 2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 6936b98469 qa: router debug/hack tool.
Adds Tom's internal P&S debugging tool. This is a work in progress and the code is quite messy for the moment, but I can't keep it in private branches forever and waste time rebasing it.

Note: experimental and *very unclean* code. Use at your own risk.
2021-02-25 17:18:23 +01:00
Tomasz Wlostowski 2831c7d24c router: fix compile error in DRAGGER 2021-02-25 17:18:23 +01:00