Ian McInerney
288a94f5aa
pcb_calculator: Remove form builder main window
...
The form builder window only contained the notebook control, so it was
basically pointless. This removes the base frame and instead makes
PCB_CALCULATOR_FRAME inherit directly from KIWAY_PLAYER.
2021-10-08 18:28:10 +01:00
Ian McInerney
0a1a181798
pcb_calculator: Move calculator panels to a registration architecture
...
This simplifies operations that touch every panel and is a bit neater.
2021-10-08 18:13:41 +01:00
Roberto Fernandez Bautista
fb588da875
CADSTAR PCB: Fix loading of thermal relief gap in zones
...
We were loading as solid fill when the relief gap was exactly the
same as the minimum width.
Also we can do better than just load as solid fill when it is smaller:
we can instead just use the minimum width and at least it still will
have thermal reliefs.
2021-10-08 17:39:08 +01:00
Ian McInerney
c14bdf7fe0
pcb_calculator: Update panel images/text when system theme changes
2021-10-08 17:31:21 +01:00
Ian McInerney
1f4955a632
Reorganize the pcb_calculator directory to make it more logical
2021-10-08 15:44:44 +01:00
Ian McInerney
79a1eff988
pcb_calculaotr: Change attenuators to only have image name instead of the image
...
Otherwise regenerating the bitmap for light/dark changes would be more
difficult.
2021-10-08 15:28:09 +01:00
jean-pierre charras
4d6b1a4e36
pns_diff_pair_placer: fix empty message when a signal of a pair is not found.
...
Fixes #9334
https://gitlab.com/kicad/code/kicad/issues/9334
2021-10-08 14:57:01 +02:00
jean-pierre charras
e508e08ecf
Kicad manager: Fix some issues in DIALOG_TEMPLATE_SELECTOR. The fix is not perfect, but it works. Fixes #9329 https://gitlab.com/kicad/code/kicad/issues/9329
2021-10-08 13:15:11 +02:00
Marek Roszko
8c8d66a181
Add some wxLogTrace to the oce loader
2021-10-07 22:48:19 -04:00
Marek Roszko
4377f8019d
Add (optional) trace mask setting as advanced config option
...
Maximize laziness!
This does not affect the environment variable usage
2021-10-07 21:05:58 -04:00
Roberto Fernandez Bautista
cb47bf25c0
CADSTAR PCB: Actually load the original route code as a KiCad NETCLASS
...
We weren't actually loading it into the design settings even though
everything else was already being correctly loaded.
2021-10-07 22:13:06 +01:00
Wayne Stambaugh
034bc1e815
Fix ever shrinking window height for frame windows that are not maximized.
...
For some reason this does not affect the KiCad frame manager window so it
is an exception to prevent it from becoming an ever growing window height
issue.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8889
2021-10-07 16:58:54 -04:00
Mikolaj Wielgus
faad5ee1ce
Use system text and background colors in PCB calculator
...
wxHtmlWindow forces white background and black text. Force it back to
system settings.
2021-10-07 19:09:42 +00:00
Seth Hillbrand
f9c83dbc44
Fix footprint type memory
...
The flags don't map quite right, so we keep the memory of the drop-down
and translate to flags. This protects against flag values changing
2021-10-07 11:29:51 -07:00
Seth Hillbrand
51d3440c38
Use footprint type to inform new pad type
...
Makes usage cleaner. If the user specifies that they are creating an
SMD, they should get SMD pads by default so that they don't have to
change them later.
Fixes https://gitlab.com/kicad/code/kicad/issues/9333
2021-10-07 11:10:26 -07:00
Jeff Young
57c7d663b0
Fix bone-headed mistake when moving panel disabling.
2021-10-07 00:17:42 +01:00
Seth Hillbrand
ad85f8078a
Reverse escaping when transferring multi-line
...
We escape the strings coming out of the DIALOG_TEXT_PROPERTIES window,
so we need to unescape the ones coming in
Fixes https://gitlab.com/kicad/code/kicad/issues/9327
2021-10-06 13:25:03 -07:00
Seth Hillbrand
b5cd976845
Don't arbitrarily exclude components from BOM
...
We already exclude components based on the schematic property when
generating the XML. Don't make a hidden second pass in the python
netlist reader by default
Fixes https://gitlab.com/kicad/code/kicad/issues/9326
2021-10-06 12:58:05 -07:00
Mike Williams
27765cd584
TOOL_DISPATCHER: drag activation should always use screen coordinates
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9325
2021-10-06 19:05:18 +00:00
Seth Hillbrand
a8ec3b58ed
Use via's real drill value for hole size
...
If the via drill is "Default" be sure to get the default value rather
than the placeholder
Fixes https://gitlab.com/kicad/code/kicad/issues/9313
2021-10-06 11:00:58 -07:00
Seth Hillbrand
2c7da5e2bd
Handle deleting segment
...
Edited point needs to clear to allow us to use the click timer for
left-click after the drawing is deleted.
Fixes https://gitlab.com/kicad/code/kicad/issues/9320
2021-10-06 10:21:04 -07:00
Ian McInerney
eb5f5a71a5
Add www and more keywords to Linux appdata
...
Make the user-facing URLs have the www.kicad.org site, and add some more
keywords describing the software.
2021-10-06 14:12:28 +01:00
Ian McInerney
1caaa4231c
Use the www.kicad.org url for the linux appdata screenshots
...
The non-www https URL appears to redirect through a non-https URL before
reaching the www https URL, which triggers a warning in some appstream
validation tools. Instead, just go to the www https URL directly so
there are no redirects needed.
2021-10-06 14:00:49 +01:00
Jeff Young
1bb5fc3fd6
Work around EnsureVisible bug in wxWidgets during DRC cross-probe.
...
Also adds double-click-marker to open DRC dialog and select marker
in list.
Fixes https://gitlab.com/kicad/code/kicad/issues/7246
2021-10-06 11:17:03 +01:00
Jeff Young
95f841a037
A more nuanced method of making Board & Schematic Setup read-only.
...
This one still allows you to scroll to see all contents.
Fixes https://gitlab.com/kicad/code/kicad/issues/9302
2021-10-06 11:16:46 +01:00
Jeff Young
935a307674
Formatting and iterator safety.
2021-10-06 11:13:16 +01:00
Ian McInerney
5d5b09a555
Mark standalone linux launchers as not having appstream data
...
The X-AppStream-Ignore=true will signal to appstream generators that
these programs won't have their own appstream information, since we
provide these programs under the main KiCad appstream file.
2021-10-06 10:49:56 +01:00
Seth Hillbrand
bb5c58b3cf
Set default force cursor off in auto-lines
...
Leaving the forced position on results in the auto-line linking to a pin
for far longer than we intend if there are other hits in the area of the
cursor
Fixes https://gitlab.com/kicad/code/kicad/issues/9321
2021-10-05 20:28:05 -07:00
Seth Hillbrand
854472d550
Prevent automatic RTree recaching
...
Calling UpdateItem() may be performed by in a common loop, e.g. for(
SCH_ITEM* item : GetScreen()->Items() ) or similar. We cannot call
GetScreen()->Update( SCH_ITEM* ) in this routine as it will remove and
re-add the item to the RTree, invalidating iterators. If needed, the
items need to be cached to an external container before updating
Fixes https://gitlab.com/kicad/code/kicad/issues/9318
2021-10-05 20:13:15 -07:00
Seth Hillbrand
9a8d1246cc
We don't keep a CHANGELOG.TXT
...
Direct interested readers to AUTHORS.TXT instead.
2021-10-05 19:46:53 -07:00
Seth Hillbrand
9066165792
Fix compile error on Mac
2021-10-05 19:44:35 -07:00
Augusto Fraga Giachero
d39127bbcb
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 66.4% (4755 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2021-10-05 19:11:16 +02:00
boonchai k
a7c7ba3331
Translated using Weblate (Thai)
...
Currently translated at 94.8% (6793 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-10-05 19:11:16 +02:00
Eric
3669d25077
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 99.9% (7158 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-10-05 19:11:16 +02:00
ZbeeGin
cf5c7e225d
Translated using Weblate (Polish)
...
Currently translated at 100.0% (7159 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-10-05 19:11:16 +02:00
Ji Yoon Choi
db3d09b650
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7159 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-10-05 19:11:16 +02:00
Mark Hämmerling
06d660e838
Translated using Weblate (German)
...
Currently translated at 97.3% (6966 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-10-05 19:11:16 +02:00
Ji Yoon Choi
074c07aeef
Translated using Weblate (Korean)
...
Currently translated at 99.9% (7152 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-10-05 19:11:16 +02:00
Ji Yoon Choi
f60b28115e
Translated using Weblate (Korean)
...
Currently translated at 99.8% (7148 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-10-05 19:11:16 +02:00
Ji Yoon Choi
e9ad042282
Translated using Weblate (Korean)
...
Currently translated at 99.8% (7145 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-10-05 19:11:16 +02:00
Ji Yoon Choi
a176bc25d8
Translated using Weblate (Korean)
...
Currently translated at 99.7% (7144 of 7159 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-10-05 19:11:15 +02:00
Seth Hillbrand
548e5f49bd
Clean up unused variable usage
...
Unused variables in function calls can be commented out. Unused
return variables get a new routine `ignore_unused()` that silences the
warnings with zero overhead.
2021-10-05 10:00:30 -07:00
Seth Hillbrand
043c326278
Add Boonchai K as Thai translator
2021-10-05 10:00:30 -07:00
Ian McInerney
2a932c238d
Allow bitmap2component to open a file through linux launcher
2021-10-05 17:57:58 +01:00
jean-pierre charras
a74851bb5d
pcb_calculator rework: move transline panel to its own files panel_transline_xx
...
also a small code cleanup
2021-10-05 18:43:07 +02:00
jean-pierre charras
813fd8ee0a
try to fix a compil issue on Linux that does not happen on my computer, round 2.
2021-10-05 17:30:22 +02:00
jean-pierre charras
a04ae6f13e
try to fix a compil issue on Linux that does not happen on my computer.
2021-10-05 17:17:29 +02:00
jean-pierre charras
d161d7431e
pcb_calculator rework: move eseries panel to its own files panel_eserie_xx
2021-10-05 13:48:37 +02:00
jean-pierre charras
187c685c64
pcb_calculator rework: move board class panel to its own files panel_board_class_xx
2021-10-05 11:00:11 +02:00
jean-pierre charras
c7faeeabea
pcb_calculator rework: move electrical spacing panel to its own files panel_electrical_spacing_xx
2021-10-05 10:20:44 +02:00