959 Commits

Author SHA1 Message Date
Mike Williams
e11cf94a3e design blocks: add PCB design blocks behind advanced config
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2508
2025-03-20 15:13:52 -04:00
Seth Hillbrand
676dd4ceec Fix inheritance for git_common
Avoids repo type pointer issues when casting from void
2025-03-15 13:05:45 -07:00
Seth Hillbrand
2c52f98da4 Add ability for git to negotiate with agents
Updates the git connection dialog to reflect default agentic behavior,
followed by default keys and only then reverting to a custom selection
if the user desires

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20204
2025-03-14 17:01:03 -07:00
Seth Hillbrand
26c331a837 Adjust git handling
- Utilize scoped deletion for individual git_*_free() calls
- Protect against multiple usage when updating icons
- Reduce frequency of git update calls
2025-03-14 17:01:03 -07:00
Jeff Young
31b788c04f Add a bit of protection from integer overflows.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19660
2025-03-11 15:11:31 +00:00
Alex Shvartzkop
c4655da4e6 Don't translate wxFileDialog "All Files" filter.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20297
2025-03-10 16:05:56 +03:00
jean-pierre charras
925f2f9bc1 class TOOLBAR_ITEM_TYPE: replace GROUP by TB_GROUP (collision with a Windows header) 2025-03-02 14:49:03 +01:00
jean-pierre charras
2890500f4c PANEL_TOOLBAR_CUSTOMIZATION: fix sizer issues. 2025-03-02 12:53:59 +01:00
Jeff Young
f951497a4f Code brevity. 2025-03-01 21:58:31 +00:00
Ian McInerney
e202b00a74 Rework the toolbar settings storage and panel
This format is more extendable in the future, should separator and
spacer support be added to groups.

Also, this now has a working UI for modifying the toolbars.
2025-02-28 02:05:50 +00:00
Ian McInerney
18e5a16040 Improve the toolbar customization UI 2025-02-28 01:57:37 +00:00
Ian McInerney
85810510f4 Tweak toolbar settings a bit
* Manage the settings using the settings manager for better lifetimes
* Better architect the internals and JSON to make it easier to identify
  the various tool types
2025-02-28 01:57:37 +00:00
Ian McInerney
e53c155b8c Initial dialog work 2025-02-28 01:57:37 +00:00
Wayne Stambaugh
f538908f62 Fix git clone project dialog layout issues.
Use enable/disable instead of show/hide to prevent large areas of blank
space in the dialog.

Set the minimum dialog size after the initial launch to prevent controls
from being cut off when resizing dialog to less than the initial size.

Fix static and dialog title bar string capitalization.

Add colons (:) to the end of description static text controls as is done
elsewhere in KiCad.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20045
2025-02-26 14:04:50 -05:00
Jeff Young
79eeb1492c Improve grid settings layout. 2025-02-24 11:08:29 +00:00
Seth Hillbrand
03af293683 Unify embedded file writing
For unknown reasons, one method of writing was not working on Windows.
This is an attempt to write using the common wxFFileOutputStream to see
if that results in better output for Windows clients

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20006
2025-02-23 15:38:39 -08:00
Graham Keeth
ac9f41baaa Embedded files: standardize on "embedded reference" 2025-02-21 12:46:43 -05:00
jean-pierre charras
8a5b71a01b Print dlgs: add panel printer to select the current printer. Windows only
Other platforms show the available printers in print dialog.
2025-02-20 17:04:47 +01:00
Jeff Young
6b3d01ead9 Load actions from frame's actionmanager, not from singleton.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19989
2025-02-19 23:43:53 +00:00
Jon Evans
3bdf82aea7 Python: switch to arg arrays for launch
Fixes Python when there are spaces in interpreter path
2025-02-11 12:14:25 -05:00
Alex Shvartzkop
63e0e01ec9 Allow embedding multiple files at once. 2025-02-11 00:10:56 +03:00
Jon Evans
f59c5a9a26 Git: handle new-but-already-staged files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19893
2025-02-08 17:03:42 -05:00
jean-pierre charras
69c6412b43 Revert "fix commit 4ef2853a on non Windows platforms"
This reverts commit e587e5029c487e69222f6bf545a0ad0f07e0f210.

Revert "Print dlgs: add panel printer to select the current printer. Windows only"

This reverts commit 4ef2853ae51afa028350c0c42ee01286837e5178.
2025-02-06 14:27:30 +01:00
jean-pierre charras
e587e5029c fix commit 4ef2853a on non Windows platforms 2025-02-06 13:33:06 +01:00
jean-pierre charras
4ef2853ae5 Print dlgs: add panel printer to select the current printer. Windows only
Other platforms natively show the available printers.
2025-02-06 12:29:18 +01:00
Jeff Young
ec649593ae Fix layout issues in print dialog controls. 2025-02-03 21:41:03 +00:00
jean-pierre charras
91d5238f4c DIALOG_XXX_JOB_XXX: fix min size and other minor fix.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19811
2025-02-01 10:44:25 +01:00
Mark Roszko
88a404580a Fix DPI scaling on Configure Paths 2025-01-31 11:10:39 -05:00
Mark Roszko
4037894b99 Complete the hi-dpi fixes, woops 2025-01-31 08:32:13 -05:00
Mark Roszko
062a813139 Make EDA_LIST_DIALOG more hi-dpi friendly 2025-01-31 08:15:07 -05:00
Seth Hillbrand
0d86b88008 Unify embedded files handling btw editors
Each editor needs the embedded files tab in the
schematic/pcb/symbol/footprint settings.  But the footprint may add an
embedded file from the 3d models tab and symbols/footprints may add
embedded files from the grid.  This should be immediately visible in the
embedded files tab.  Additionally, removing the reference to an embedded
file in the grid or 3d models now removes the embedded file as well.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18934
2025-01-28 12:22:39 -08:00
JamesJCode
38054953d1 Set read-only color swatches on first use 2025-01-24 01:11:08 +00:00
John Beard
6423571349 Account for origin transforms in WX_PT_ENTRY_DIALOG
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19673
2025-01-19 00:08:20 +08:00
Seth Hillbrand
3a5eeef9df Auto update list of fonts when embedding files
Get the list of currently used fonts to populate the list of embedded
files when the user checks the "embed fonts" checkbox
2025-01-16 18:07:07 -08:00
Jeff Young
fdb460441f Give EDA_LIST_DIALOG a larger size for longer lists. 2025-01-16 13:12:25 +00:00
Jeff Young
b6d03255f0 Don't report filepath messages for jobs.
(They'll just point to temp files anyway.)

Also moves schematic netlist fetching to
MAIL_SCH_GET_NETLIST.
Eeschema's generateSchematicNetlist() hasn't
worked in some time.

Also suppresses parity error counts when parity
not run due to failure to find or load schematic.

Also writes out ERC/DRC reports even when they're
set to fail the job.

Also improves adding/removing netlist exporters to
select an appropriate tab in the dialog (either
the newly-created one or the one preceeding the
deleted one).
2025-01-16 13:12:25 +00:00
Marek Roszko
5c3004b96e Avoid altering the configured output path during run in case of empty paths 2025-01-14 20:44:51 -05:00
Wayne Stambaugh
5c8f4697ca Common folder housekeeping part 1. 2025-01-12 12:06:45 -05:00
Seth Hillbrand
7516e3a190 Update docs link
Instead of the hard-coded docs website, we use the redirect container to
keep the links valid and do forward-planning (e.g. 9.99)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19570
2025-01-10 15:19:21 -08:00
Jeff Young
102997d6d8 Slightly less busy layout for embedded files. 2025-01-07 18:04:21 +00:00
Wayne Stambaugh
3755b77b92 Dialog string capitalization and layout fixes. 2025-01-06 14:01:00 -05:00
Ian McInerney
1dfb7ecbd2 Unify terminology for items to be anchor instead of origin
The "anchor" is the point on items that are their local (0,0), and
origin is on the coordinate system.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19290
2025-01-06 16:59:57 +00:00
Wayne Stambaugh
2cac5d29a1 Setup and settings panels layout improvements. 2025-01-05 16:42:53 -05:00
Wayne Stambaugh
34fcda224c Minor dialog layout improvements. 2025-01-04 12:34:32 -05:00
Jon Evans
1a1120435f Rework how Python processes are launched
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19465
2025-01-03 17:21:03 -05:00
Jeff Young
beda29856d Hide DesignBlock Migrate Libraries button (for now).
There aren't (yet) any legacy libraries to migrate.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19360
2025-01-03 21:28:19 +00: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
Jeff Young
a3c29a1343 Allow resizing of Output Properties dialog.
Also fixes a bug where the GenDrill dialog returned a fixed
result.
2025-01-01 20:10:07 +00:00
Jon Evans
9086c5694b Fix layout issue in plugin settings page 2025-01-01 10:54:59 -05:00
Marek Roszko
9fb8de959c Fix windows builds broken by 8aa0b3e16cd8f18db404e3909624c0ff09670a95 2024-12-31 15:41:05 -05:00