Seth Hillbrand
2e2849a5c9
One follow-on to fix additional windows paths
We need to set the format earlier and handle internal filenames
Fixes https://gitlab.com/kicad/code/kicad/issues/20161
(cherry picked from commit 89b92fe3f5 )
2 months ago
Seth Hillbrand
4ae76d56c6
Update Altium subfolder import
Altium projects save relative sub folder paths in the windows path
format. To import these correctly, we need to turn off the escape
character handling in wx's config file processing otherwise
SUBFOLDER\PROJECT.SchDoc ends up looking like SUBFOLDERROJECT.SchDoc
Fixes https://gitlab.com/kicad/code/kicad/issues/20161
2 months ago
Wayne Stambaugh
33ead34ea5
Work in progress variant code commit.
Please do not attempt to use this yet as it is a work in progress. Given
large number of merge conflicts, I pushed this partial commit to save time
rebasing.
All of the user interface is hidden behind the "EnableVariantUI" advanced
configuration flag until variants are ready.
2 months ago
Jeff Young
730e5dab66
Move WX_GRID_AUTOSIZER into WX_GRID and use in more places.
Also fixes some bugs around skipping of events.
Also fixes some bugs around hidden columns.
2 months ago
Jeff Young
8454df8a9c
Silence wx assert about 0 IDs not working on Mac.
2 months ago
Seth Hillbrand
d5e03741b7
When using git, show all files
Git tracks the status of files in the repository, so we shouldn't hide
the non-root schematics
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21583
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21583
2 months ago
Marek Roszko
ad7bdf5b87
ADDED: 3D PDF Export
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/4439
3 months ago
Jeff Young
425b77b34c
wxString::both goes with Strip(), not Trim().
But Strip() is deprecated, so we shouldn't use it
(or wxString::leading/trailing/both) at all.
3 months ago
Jeff Young
87739c8ac7
wxStringTokenizer usage cleanup.
1) Always be explicit about what the delimiters are
2) If space is a delimiter, we probably want to skip
empty fields (wxTOKEN_STRTOK)
3) If space is not a delimiter, we often need to
trim the resultant tokens
4) Be more lenient about \t\r\n (and when they are
included, include them in the same order)
3 months ago
Seth Hillbrand
4aa3576a4c
Fix build warnings
Use detach_task since we don't need the return values
3 months ago
Jan Wichmann
36e38cd60a
ADDED: Sort the templates alphabetically, leaving the default template at the top.
3 months ago
Seth Hillbrand
fcf40deae2
Scale down icons that are too big
In template view, if the icon is too big, try to fit to our size
3 months ago
Seth Hillbrand
6e2b20ed0e
Update BS Threadpool to 5.0
3 months ago
Seth Hillbrand
aac15f4596
Encapsulate libgit commands into single backend
Sets stage for allowing alternate backends for version control
3 months ago
Jeff Young
dedc10a163
The Include "Exclude from BOM" setting is for editing, not exporting.
There's no reason to put items marked "Exclude
from BOM" into the BOM.
3 months ago
Jeff Young
330361d0cb
Fix typo.
3 months ago
Seth Hillbrand
09c40a0e0f
Make KiCad default template the default
Should clear up new project questions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21651
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21675
3 months ago
Jeff Young
0b102fc085
Use WX_GRID::ClearRows() to avoid assertions.
Fixes KICAD-VM1.
3 months ago
Seth Hillbrand
9342aea7fa
Move new project to templates
If the baseline default project doesn't exist on disk, create it and use
that as an empty project. Allows the designer to modify the default new
project used or select from existing templates
3 months ago
Seth Hillbrand
d4b08f0a8a
When unarchiving a project, open it also
Just a little convenience for getting projects open
3 months ago
Jeff Young
98b63389c1
Give Mac dock icon menu a kick.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17596
3 months ago
Jeff Young
ce140d8dfc
Formatting.
3 months ago
Seth Hillbrand
82c61efcbd
Revert "When re-launching on MacOS, create a new instance"
Needs to launch without jumping back in and allow switching
This reverts commit 1885f4bdee .
3 months ago
Adrián García
5fb55ccb30
jobsets: fix Replace button to overwrite existing files ( #19900 )
3 months ago
Seth Hillbrand
1885f4bdee
When re-launching on MacOS, create a new instance
Allows people to run multiple copies of KiCad. Only launches new copies
if the TLW is already shown. Otherwise, sticks with the default MacOS
behavior of raising the running window
3 months ago
Seth Hillbrand
f5904cf2ac
Prevent main KiCad window from expanding based on DPI events
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21602
3 months ago
Adam Wysocki
814f78f2b2
ADDED: Add pcb/sch upgrade cli command
3 months ago
Mark Roszko
9bc463606a
More redundant LOCALE_IO
3 months ago
Seth Hillbrand
9dc76f658d
Help is always valid
Return 0 and no error, just help when the --help flag is present
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21538
3 months ago
dsa-t
01991fed53
Prevent jobs from affecting each other via reporters when running jobsets from CLI.
(cherry picked from commit 44a3bb9274 )
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
3 months ago
dsa-t
03fa5fdebc
Record execute command job input and error streams in the log.
Also print the resolved command.
(cherry picked from commit 91e5e81bb4 )
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
3 months ago
Jeff Young
e841ca1906
Add spacing for Mac file dialog custom controls.
3 months ago
dsa-t
df86056f99
Wrap command text control in execute command job dialog.
(cherry picked from commit eb4f9fa093 )
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
4 months ago
Seth Hillbrand
2ded7b87af
Ensure archives without ext are given .zip
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21423
4 months ago
Seth Hillbrand
17d9ff4fe7
Add the ability to edit advanced config
If you set the env var KICAD_EDIT_ADVANCED_CFG=1, you get a new menu
option in the KiCad project window's Edit menu. Lets you modify the
settings for advanced config graphically without having to
remember/lookup the magic incantation
4 months ago
Jeff Young
33c73d7db4
Fix crashes when settings manager doesn't exist yet.
4 months ago
Jeff Young
833a5ee3ab
Yet even more open-coded dialog state-saving cleanup.
4 months ago
Seth Hillbrand
1b0ed24558
Minor cleanup logic
4 months ago
Seth Hillbrand
ac7ae87495
Parse gitignore when building new project from template
Avoids cloning the .git subdirectory and will also avoid any files
listed as ignored in the .gitignore file. It will copy both gitignore
and gitattributes into the new project
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16507
4 months ago
Jeff Young
cf5c00bcf2
Make more use of shared dialogs.
4 months ago
jean-pierre charras
33826b4af3
DIALOG_TEMPLATE_SELECTOR: fix minor issues Windows specific.
- deselect the string showing the folder path (selected at opening the dlg)
- replace a linear-gradient HTML data not handled by wx webview library
standard build version on MSYS2 (MSYS2 specific)
4 months ago
jean-pierre charras
9c051a8138
DIALOG_TEMPLATE_SELECTOR: fix a panel min size.
A min size panel was already set, but for some reason did not work.
Setting the min size of the sizer containing this panel works better.
4 months ago
Seth Hillbrand
762aa66d62
Try again to fix template assert
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21438
4 months ago
Seth Hillbrand
8f34543569
Make sure there is a valid parent
I _thought_ Detaching removed the parent but turns out not. Set the
panel to temporary, known-good parent and reparent later after adding
the new page
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21438
4 months ago
Jeff Young
2e629ca55c
ADDED: follow-pcb and follow-plot-settings to render job settings.
Also added Follow-board-stackup-colors to both
render job settings and render CLI arguments
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21341
4 months ago
Seth Hillbrand
416e54f0d5
Update template selector to modern webview
Allow more attractive templates. Start of building singular
template+new project layout
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15987
4 months ago
Seth Hillbrand
9ea088f83f
Add git shutdown command
Will allow interrupting long commands during the update message
4 months ago
Seth Hillbrand
c9e9a4e073
Allow git init to succeed without remote
4 months ago
Jeff Young
d91cce930f
Don't allow default copy c'tor to copy arrays of pointers.
Fixes KICAD-SJ2.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21408
4 months ago
Jeff Young
6c6c02a329
Don't assume a tree root.
Fixes KICAD-Y72.
4 months ago