Marek Roszko
fe54a2ec0f
Append python Scripts directory to PATH env on windows
2025-06-05 23:12:32 -04:00
Seth Hillbrand
b401505259
Fix previous commit
2025-03-07 08:42:35 -08:00
Seth Hillbrand
1157b5b0b3
Add missing arch directory to appimage plugin
2025-03-07 08:42:12 -08:00
Seth Hillbrand
ff6eb9c091
Apparently, despite documentation, this was missing
...
Only APPDIR is set. We also set some APPRUN_* variables that we could
use if this ends up being too similar to other elements
2025-03-05 15:35:31 -08:00
Seth Hillbrand
2afa67f946
Allow AppImages to pick out different location
...
Don't assume that libraries are located in the CMAKE lib install
directory as AppImage will relocate them based on the mount point
2025-03-03 12:34:31 -08:00
Wayne Stambaugh
f161d94521
Common folder housekeeping part 2.
2025-01-14 15:25:05 -05:00
Marek Roszko
db56d51838
Fix output paths for jobs again
2025-01-11 19:05:45 -05: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
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
Marek Roszko
fdfeda7b72
Ensure mkdir with bom export job
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19520
2025-01-08 00:07:26 -05:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Mike Williams
2c99bc6c6d
new feature: Schematic Design Blocks
...
Added to advanced config, default to off.
EnableDesignBlocks=1 in kicad_advanced to test
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2263
2024-09-05 08:35:49 -04:00
Alex Shvartzkop
cf7ad330e9
Fix some platform ifdef checks.
2024-06-01 06:49:11 +03:00
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2024-04-02 19:51:16 -04:00
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
...
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
2024-04-02 19:34:36 -04:00
Mojca Miklavec
01cb1543bb
Change the platform detection order
...
Make sure that windows-specific getWindowsKiCadRoot() is only called on Windows
2024-03-11 15:43:33 +00:00
Jon Evans
9b54537e38
Add environment variable for configuring stock data home
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15687
2024-03-05 23:18:06 -05:00
Jon Evans
4622738c93
Deconflict instance-checker dir with 7.0
2024-02-07 18:35:10 -05:00
Jon Evans
874be359e0
Use a more specific path for instance checker
2024-02-06 21:33:44 -05:00
Marek Roszko
fc62d36441
Add share/locale to catalog paths on windows
2024-01-15 22:08:17 -05:00
Marek Roszko
5bc78f7d9f
Remove the user 3d path creation
2024-01-13 19:35:55 -05:00
Seth Hillbrand
9ccf9ce0b4
Forgot to commit the last file
2023-12-21 09:54:34 -08:00
Jon Evans
0422d2e70f
macOS: flatten symlinks from paths in GetExecutablePath
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14430
2023-11-15 09:25:49 -05:00
Jeff Young
04214983cf
Repair standalone application 3D plugin path resolution.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15322
2023-09-25 18:03:27 +01:00
Marek Roszko
e3285c234a
Move executable path to PATHS to avoid a circular dependency
2023-09-23 20:21:37 -04:00
Marek Roszko
121ea99824
Move the settings path to PATHS to allow shifting other classes into kicommon
2023-09-23 20:06:58 -04:00
Marek Roszko
208d146a03
Force fontconfig to look at the correct path for fonts.conf on windows
2023-08-26 13:53:43 -04:00
3GO
206f66aee2
Make user cache path adjustable by env var.
2023-06-22 13:35:48 +00:00
Marek Roszko
087550ebd3
Get 3d plugins working for running from build dir
2022-09-08 21:49:10 -04:00
Marek Roszko
7473528cf4
Ensure user paths are created early
...
Fix #11962
2022-07-05 20:47:53 -04:00
Johannes Maibaum
edc7261099
Fix stock templates path for flatpak
...
Commit ad251b7b broke the template path
lookup for flatpak via `PATHS::GetStockTemplatesPath()`. Fix this by
using `::GetStockEDALibraryPath()` in all EDA Library related path
lookup functions.
`GetStockEDALibraryPath()` effectively does the same as
`GetStockDataPath()`, but it takes care to check the
`KICAD_LIBRARY_DATA` build config, which is being used by flatpak to
point to the flatpak EDA Library extensions in
`/app/extensions/Library/`.
Closes #11174
2022-03-25 08:15:59 +01:00
Marek Roszko
6420bd777f
Sprinkle some wxT
2022-02-21 18:49:36 -05:00
Marek Roszko
0b46c75197
Simplify locale data path setting...
2022-02-21 13:08:29 -05:00
Marek Roszko
ad251b7b8c
Simplify KICAD6_TEMPLATE_DIR default
...
The search_stack method is bugland
Fix https://gitlab.com/kicad/code/kicad/-/issues/10119
2022-02-21 12:22:23 -05:00
Seth Hillbrand
098e8f7d9b
Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option"
...
This reverts commit ea9f960cc15d9383ac88bd7fa499f28ebda096b3.
Reverted for updates as this currently breaks kicad-mac-builder
2022-01-31 15:57:56 -08:00
Davide Gerhard
ea9f960cc1
cmake: adding KICAD_MACOSX_APP_BUNDLE option
...
ADDED: with cmake KICAD_MACOSX_APP_BUNDLE option the user can disable
the macOS app bundle creation when compiling on macOS. This permit to
use/install KiCad like any other *nix platform (/usr/bin, /usr/share,
ecc.). By default, cmake build the app bundle.
2022-01-28 15:49:37 -08:00
Franck Bourdonnec
d877f04198
fixe paths
2021-12-02 20:23:00 +00:00
Jon Evans
31f41610f6
Move macOS data path inside the app bundle
2021-11-15 18:56:35 -05:00
qu1ck
4be115ca55
Add KICAD6_3RD_PARTY env variable
2021-08-27 21:11:47 +00:00
Jon Evans
37fd7c785e
Make macOS path determination tolerant of bundle renaming
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8922
2021-08-13 17:00:45 -04:00
Marek Roszko
8921eef0be
Add a "Open Demos Project" shortcut to the kicad launcher
...
Small UX improvement for the new user....
2021-07-25 21:58:57 -04:00
Marek Roszko
c72914c43c
Use Normalize instead of MakeAbsolute
...
Ugh doing this while headhurts much
2021-06-21 18:07:23 -04:00
Marek Roszko
5184908dd1
Fix accidental oversight for linux run from build dir paths
2021-06-21 18:05:38 -04:00
Marek Roszko
aadb62bd42
Avoid generating paths on windows with ".." in them
...
This causes wxwidgets to failover to legacy windows dialogs as windows doesn't know how to handle them being passed to dialogs.
2021-06-21 18:03:55 -04:00
Jon Evans
f00cee438f
Fix running from build dir on MacOS after recent build system changes
2021-04-28 23:21:19 -04:00
Marcus A. Romer
c5e77e9739
Respect KICAD_DOCS when searching for help files
...
On Linux, the documentation and help files are potentially installed to
a non-standard location (i.e., outside of /usr/share/doc/kicad/). This
can be the case when, e.g., multiple versions of KiCad are installed in
parallel. Making KICAD_DOCS available at run-time is the only viable
solution to allow the applications to find the help files in this case.
Fixes https://gitlab.com/kicad/code/kicad/issues/7874
2021-04-21 19:19:25 +00:00
Johannes Maibaum
39c1387b5b
Allow to relocate EDA libraries out of KICAD_DATA
...
Introduce a new advanced config variable `KICAD_LIBRARY_DATA` which can
be used to move templates, symbols, footprints, and 3dmodels out of
`KICAD_DATA`. If not defined, everything is kept as before.
To facilitate this, PATHS::GetStockEDALibraryPath() is added. This
allows to differentiate code paths looking for EDA library data vs. code
paths looking for plugins, demos, and the like.
Thanks to Aimylios for the hints and suggestions with regards to the
stock EDA library data path handling on Windows and MacOS.
2021-04-14 01:51:22 +00:00
Jon Evans
5ae54c1610
Fix Windows stock BOM plugins dir
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8147
2021-04-08 22:16:20 -04:00
Jon Evans
c1573744be
Lock project files when opening; open locked projects read-only
...
Also clean up an include-what-you-use problem
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8037
2021-04-02 19:29:56 -04:00
Jon Evans
7a4f5be37e
Add back Mac special-case to GetStockPlugins3DPath
...
3D plugins are not like other plugins
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7750
2021-03-29 17:07:37 -04:00