7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-12 00:29:29 +00:00
Commit Graph

45718 Commits

Author SHA1 Message Date
Marek Roszko
1ebcd24944 Forward declarations are your friends
Why leak gl headers into most of kicad
2025-01-09 09:03:08 -08:00
Seth Hillbrand
09e30adbb1 Move GL_CONTEXT_MGR into PGM_BASE singleton
This is the second try at 5326c36a5f.  The difference here is that we
have moved GL_CONTEXT_MGR into kicommon first which will hopefully
address some of the Windows linkage issues

The GL context lock needs to be shared across kifaces.  Otherwise, we
can end up blocking the lock from one kiface.  Unfortunately, I can't
find the issue in GitLab right now for where the footprint viewer shows
a blank screen after opening too many contexts.  But that's what this
fixes.
2025-01-09 09:03:08 -08:00
Seth Hillbrand
d48c40ba26 Move GL_CONTEXT_MANAGER to kicommon 2025-01-09 09:03:08 -08:00
Seth Hillbrand
452e69de85 Move thread pool into true singleton
Thread pool needs to be stored in a single location for all of KiCad
otherwise each kiface will spin up its own pool of persistent threads
2025-01-09 09:03:08 -08:00
jean-pierre charras
6c0e5508a9 Pcbnew: ensure footprint courtyard caches are rebuilt after rotation or flip
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19561
2025-01-09 17:59:05 +01:00
Alex Shvartzkop
7677c71fdb Initialize some members in PCB_EDIT_FRAME. 2025-01-09 19:16:38 +05:00
Jon Evans
6858561731 Fixes for building against recent wxWidgets 3.3 2025-01-09 08:38:49 -05:00
Wayne Stambaugh
af540bbb9a Header folder housekeeping. 2025-01-09 07:44:11 -05:00
Jeff Young
1b5bdbbbf0 Improve rotated text in Eagle import.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18490
2025-01-09 11:43:19 +00:00
Jeff Young
fba91a2f6b De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
03c54018e6 De-clutter export pos file dialog. 2025-01-09 11:42:58 +00:00
Jeff Young
b0a8cb2678 De-clutter export ODBC dialog. 2025-01-09 11:42:58 +00:00
jean-pierre charras
89e80586cd Gerber export to pcb: handle rect aperture to draw lines on non copper layers
On copper layers, all lines are exported as tracks, so they always use a round
aperture.
Note also rect aperture to draw lines and arcs are deprecated since 2020

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19553
2025-01-09 11:02:15 +01:00
Seth Hillbrand
4a22570e87 Clean layer parsing
NameToLayer will automatically return -1 on unrecognized layer names.
We don't need to gate this on a version
2025-01-08 16:00:46 -08:00
Seth Hillbrand
066380ffeb Clean up a few gerbview export to pcbnew layers
There's a lot of hard coded stuff in gerbview.  This removes a few
duplicated functions and gets the layer export back into working shape

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19552
2025-01-08 16:00:44 -08:00
jean-pierre charras
162d87f271 Gerber export to pcb fixes: update to use recent changes in Pcbnew V9
Use new layers id, arcs in tracks, and some recent changes in Sexpr
2025-01-08 20:32:53 +01:00
Wayne Stambaugh
f74d97d2e1 Revert "Header folder housekeeping."
This reverts commit d1898aab47.
2025-01-08 12:27:15 -05:00
Seth Hillbrand
954e194f77 Add default paste special hotkey
Most applications will define paste special as Ctrl-Shift-V
2025-01-08 09:23:34 -08:00
Jon Evans
846f6127fd More fixes to autosaving migrated projects
- Disable jobsets memory when opening migrated project
- Add WasMigrated to project file

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19540
2025-01-08 12:09:47 -05:00
Wayne Stambaugh
d1898aab47 Header folder housekeeping. 2025-01-08 11:38:44 -05:00
Jeff Young
0d1fcd2c54 Cleanup. 2025-01-08 15:50:08 +00:00
Jeff Young
a797f4ce95 Remove fairy dust from copyfiles. 2025-01-08 15:39:47 +00:00
Jeff Young
5524ff3770 Formatting. 2025-01-08 15:39:47 +00:00
John Beard
c19a1718de PNS log viewer: fix loading via relative paths
This means you can run like this:

  ./qa/tools/pns/pns_debug_tool replay ../qa/data/pcbnew/pns_regressions/simple_shove1/pns.log
2025-01-08 22:14:36 +08:00
John Beard
ce140faf2d CI: let KICAD_RUN_FROM_BUILD_DIR work from archived CI build environments 2025-01-08 21:58:55 +08:00
Jon Evans
7ce0f55305 Don't auto-save local settings when migrating
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19540
2025-01-08 08:43:28 -05:00
John Beard
302ceeb14e Clang format: remove BreakConstructorInitializersBeforeComma
This was gone by Clang 5, which was released in 2017,
and we already set BreakConstructorInitializers.
2025-01-08 20:23:31 +08:00
John Beard
d0d4c4065b Make run from build dir work for debug executables
When using KICAD_RUN_FROM_BUILD_DIR, at least on Linux, not all
executables can assume executable/.. is the build directory - instead
iterate upwards until a CMakeCache.txt file in encountered.

Without this, for example, the PNS log viewer complains about missing
JSON schema files.
2025-01-08 20:23:31 +08:00
John Beard
51606e80d5 Scripting: a little bit more detail when failing to get wxPython version info
Print:

* the returned wx version string
* the Python sys version string, which can be a good pointer if the
  wrong interpreter has been picked up by the PyBind11 Cmake
* Exception output if any
2025-01-08 20:23:31 +08:00
Alex Shvartzkop
4ab9badcf2 Update translations 2025-01-08 14:32:32 +03:00
Wellington Terumi Uemura
4092865146
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (9997 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2025-01-08 12:30:29 +01:00
co8 j
d8aef48dd6
Translated using Weblate (Japanese)
Currently translated at 98.5% (9852 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-01-08 12:30:29 +01:00
CloverGit
40fe300144
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9951 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:29 +01:00
CloverGit
af0b257682
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9951 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:29 +01:00
CloverGit
704c7b2f67
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9950 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:29 +01:00
CloverGit
e3ef1d4292
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9950 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
CloverGit
3e23f4ede7
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9950 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
CloverGit
b87fcd7ed9
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9950 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
CloverGit
55467d6af9
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9950 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
CloverGit
73d9804f4c
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.5% (9948 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
Pferd O
296654e258
Translated using Weblate (German)
Currently translated at 100.0% (9997 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-01-08 12:30:28 +01:00
CloverGit
2cb0e35105
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.3% (9832 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
Rigo Ligo
5e7947b0ce
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.3% (9832 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2025-01-08 12:30:28 +01:00
2tama3
a16333960c
Translated using Weblate (Japanese)
Currently translated at 98.4% (9841 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-01-08 12:30:28 +01:00
Pferd O
e187b783a8
Translated using Weblate (German)
Currently translated at 99.9% (9994 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-01-08 12:30:28 +01:00
தமிழ்நேரம்
49b117b1a5
Translated using Weblate (Tamil)
Currently translated at 98.9% (9889 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ta/
2025-01-08 12:30:28 +01:00
ZbeeGin
cb5436fb71
Translated using Weblate (Polish)
Currently translated at 98.9% (9893 of 9997 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-01-08 12:30:28 +01:00
Alex Shvartzkop
d3f53db3eb EAGLE import: allow more lines before <eagle> tag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19528

(cherry picked from commit 603a500bc0)
2025-01-08 16:24:54 +05:00
Alex Shvartzkop
883b615fef Cancel "Fetching repository" job properly when PCM is opened. 2025-01-08 15:29:27 +05:00
Jon Evans
8df29a78e1 Use named render layers in local settings 2025-01-08 00:15:56 -05:00