1047 Commits

Author SHA1 Message Date
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
Jeff Young
8aa0b3e16c Convert output dialog to checkbox list.
Also cleans up the RC options dialog.
2024-12-31 17:13:29 +00:00
Ian McInerney
7f8b88221d Initialize variables 2024-12-31 00:18:10 +00:00
Marek Roszko
a2b6f63801 Fix output paths in drc/erc jobs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19355
2024-12-28 07:48:44 -05:00
Marek Roszko
9dd0d67845 Add a job config dialog for ERC/DRC
Also make the default names for drc/erc unique with a suffix break.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19355
2024-12-27 11:35:09 -05:00
JamesJCode
3dd048b287 Move the embedded files grid to use GRID_TRICKS 2024-12-26 18:23:47 +00:00
JamesJCode
6a9e195d19 Enable Copy Embedded File Reference context menu on macOS
Using wxID_COPY checks under the hood whether the item
should be enabled or not; we need to use a custom ID
to avoid this behavior.
2024-12-26 14:08:27 +00:00
Wayne Stambaugh
ca1f51e706 Make settings migration dialog re-sizable.
Also try to improve the initial layout size after changes have been made
to controls outside the base dialog Curt.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19347
2024-12-21 11:55:04 -05:00
Jeff Young
0b98706876 Cleanup. 2024-12-18 12:03:29 +00:00
Jeff Young
753d385473 Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
jean-pierre charras
d6df4dc341 EDA_VIEW_SWITCHER: very minor fix: select by default the first in list
This is also the lasted selected option, so no change by default
2024-11-30 19:24:24 +01:00
Lucas Dumont
bb9a329ee4 Avoid wxWidgets alert when removing bottom to top
Fix assert ./src/generic/grid.cpp(5216): assert "idx >= 0 && idx < m_numRows" failed in GetRowPos(): invalid row index happening when selecting >= 3 row starting from the bottom last row. Even if not all row are selected.

This happen because wxGrid::DeleteRows will try to update the selected row between each call.
2024-10-24 23:11:26 +00:00
JamesJCode
5ac8797475 Fix clang / mac build warnings 2024-10-18 22:07:17 +01:00