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

45190 Commits

Author SHA1 Message Date
jean-pierre charras
ab85c41028 Demo update 2024-12-22 18:24:46 +01:00
Alex Shvartzkop
1b28ee51dc IPC-2581: Improve dialog layout; Limit precision to 4-10 digits.
To represent KiCad's internal units (1 nm), it's enough to have:
- 6 decimal digits in mm;
- 8 decimal digits in inches.

There's not much point in reducing the precision.
Up to 10 digits allowed just in case.
Also changes precision to 6 decimal digits by default.
2024-12-22 20:19:54 +03:00
Alex Shvartzkop
787d174bec IPC-2581: Fix scale when using Inches. 2024-12-22 20:19:54 +03:00
Jeff Young
9c57d6c84f Update pin table when model changes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19253
2024-12-22 13:24:43 +00:00
Jeff Young
278c1fee4d Improve comprehensibility of model pin mapping table.
Add quotes to symbol pin names and model pin names.
2024-12-22 13:24:43 +00:00
Alex Shvartzkop
1bae5997fe Disable horizontal scrolling in launcher panel, move paddings to scrollable area. 2024-12-22 16:05:11 +03:00
Alex Shvartzkop
7ef3c6d7df Increase default project manager width to fit more languages. 2024-12-22 16:05:11 +03:00
Alex Shvartzkop
27ee082ab2 Translate "Editors" tab in project manager frame. 2024-12-22 16:05:11 +03:00
Alex Shvartzkop
b539d2884d Internationalize jobs panel. 2024-12-22 16:05:11 +03:00
Jeff Young
3a1bc21f8f Attempt to fix <ESC> after double-click in Design Blocks panel.
(Doesn't reproduce on MacOS to start with, so this is a bit
of a shot in the dark.)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19353
2024-12-22 12:29:30 +00:00
Jeff Young
3c8848e642 Group library and item entries in context menu. 2024-12-22 12:29:30 +00:00
Jeff Young
03e2b60e13 Use STD_BITMAP_BUTTON for correct sizing.
Also provide button names for screen readers.

Also layout dialog to match Symbol Properties.
2024-12-22 12:29:30 +00:00
Graham Keeth
c587788430 include kicad_jobset files in project archives
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19350
2024-12-21 23:04:15 +00:00
Alex Shvartzkop
1ea3173175 Center the Project manager frame on screen at first launch. 2024-12-22 00:42:01 +03:00
Alex Shvartzkop
46850aad92 Switch Excellon Drill Units to Millimeters by default.
Having Gerber Plot outputs in mm and drill outputs in inches was
causing tiny misalignments. This change switches Excellon output
units to mm by default.
2024-12-22 00:29:09 +03:00
Marek Roszko
a47a186c42 Change output creation flow to open edit dialog before adding 2024-12-21 16:12:20 -05:00
Alex Shvartzkop
bfc505503b ODB++: fix scale when exporting in Inches.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19333
2024-12-21 22:52:00 +03:00
Marek Roszko
66b208d547 Don't open the same jobset file twice 2024-12-21 12:02:30 -05:00
Marek Roszko
d3eb8b677a Fix extension append check in JSON_SETTINGS::GetFullFilename
Doesn't make sense to return the filename if the filename is "json."
2024-12-21 12:02:30 -05: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
bc29c145af Simulation model lib is not sorted, but listbox is.
Don't attempt to use an index from one in the other.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19306
2024-12-21 14:27:52 +00:00
Wayne Stambaugh
aaf94ecbad Fix potential crash bug in SCH_PIN::compare(). 2024-12-21 08:12:34 -05:00
Wayne Stambaugh
cc4c623bf9 Improve initial size of launcher window.
To avoid clipping the launcher buttons, this size was determined by hand
tweaking on Linux so it may be less than optimal on other platforms.  This
only affects the very first launch of a new version.  Once the frame size
is saved in the configuration file, that is the new size until the user
changes it.
2024-12-21 08:01:18 -05:00
Jeff Young
5b03426e28 Update attributes across units.
It's possible you might want Exclude from Sim to be unit-specific,
but it's pretty hard to imagine how Exclude from Board, BOM,
or DNP could be unit-specific.  (Maybe use a pill cutter on the chip?)

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19029
2024-12-21 12:17:00 +00:00
Seth Hillbrand
5e7b44938f Speed up merge collinear segments routine
Recalculating the update on each change is expensive.  Instead, we can
check to see which tracks might be involved first and then just run the
expensive check on the potentials.  This also allows us to parallelize
the non-changing check

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19340
2024-12-20 23:16:47 -08:00
jean-pierre charras
2df83793e9 French translation update. 2024-12-21 07:56:36 +01:00
Marek Roszko
0396719308 PDF also isn't really text editable 2024-12-20 23:52:19 -05:00
Marek Roszko
8854ba6fcf Remove the edit file option for zip archives in the project tree 2024-12-20 23:46:02 -05:00
Marek Roszko
710ed82a3e Avoid assert with no jobs present 2024-12-20 22:41:12 -05:00
Marek Roszko
dcd80ee925 Pass pointer and not copy of struct to avoid job output crash 2024-12-20 22:41:12 -05:00
Wayne Stambaugh
c156bdd8af Tag stable version 9.0.0 release candidate 1. 2024-12-20 19:50:33 -05:00
Rob Gilton
89c0664217 kicad-cli: Register --include-excluded-from-bom argument
ea904c9f introduced a new cli argument to `kicad-cli sch export bom`,
but it did not actually register it with the argument parser.  Any
invocation of `kicad-cli sch export bom` currently results in this
error:

  Error: Unhandled exception class: St11logic_error  what: No such
argument: --include-excluded-from-bom

This patch adds the registration.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19335
2024-12-21 00:48:43 +00:00
Marek Roszko
b01892943b Fix setting up the ouput type handler instance 2024-12-20 19:36:32 -05:00
Marek Roszko
22d13546fb Some DisplayError -> DisplayErrorMessage 2024-12-20 19:28:30 -05:00
Marek Roszko
4771e573ef Unhide jobsets 2024-12-20 18:49:41 -05:00
Marek Roszko
028afca538 Ensure output path for job output cannot be empty 2024-12-20 18:49:07 -05:00
Jeff Young
a048acf9db Don't assume all things with mask layers are in a footprint.
In particular, tracks can now have mask layers.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18878
2024-12-20 22:21:54 +00:00
Jon Evans
d83e6326a5 API: Normalize paths to Python interpreter 2024-12-20 17:16:05 -05:00
Jon Evans
3ebe124ae7 API: Add a mechanism to recreate Python environments 2024-12-20 17:07:09 -05:00
Jon Evans
83984dd207 API: pip should prefer binary wheels when available 2024-12-20 16:43:32 -05:00
Wayne Stambaugh
425958d754 Add simple timer profiling to DRC engine.
Remove the PROFILE definitions from the incremental connectivity
profiling so a special build isn't required.  If the starting and
stopping the profile timer is excessive, we can add this back.

(cherry picked from commit 8a09e5f3c3)
2024-12-20 15:57:41 -05:00
Alex Shvartzkop
418c8592aa Allow to control via hole cutting in board body/copper.
- "Fill all vias" option disables the cut in copper layers which is
  important to speed up EM simulations.
- "Cut vias in board body" enables cutting even if copper layer export
  is disabled, which is useful if you're using vias as mounting holes.

Related: https://gitlab.com/kicad/code/kicad/-/issues/18735
2024-12-20 23:28:46 +03:00
Seth Hillbrand
6d99f62c96 Prevent events from firing in the main window during load
Closing the source window while another wx loop is running can lead to
async events being processed, leaving the current stack out of scope

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19341
2024-12-20 11:32:26 -08:00
Seth Hillbrand
2fb8340466 Added Eric's correct name to devs
Move Thomas to former dev status
2024-12-20 10:50:10 -08:00
Jeff Young
756f0c5027 Fix parsing of Altium overbar notation.
Use the AltiumPinNamesToKiCad() algorithm for all conversions,
but don't do any conversions on plain text (RECORD=4).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19080
2024-12-20 18:32:08 +00:00
Wayne Stambaugh
a37d2372cf Fix a wxRecursionGuard crash when library symbol is missing.
The various wxCHECKs in the SCH_PIN object where being raised inside
the SCH_SYMBOL object which would also raise it's own wxCHECK that
would cause a recursion guard failure and segfault.  The offending
wxCHECKs were replaced with null pointer checks.  Missing library
symbol links will be shown with the missing library symbol.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17146

Manually cherry picked from cf71e5707e
2024-12-20 11:51:42 -05:00
Wayne Stambaugh
424438ace1 Convert remaining schematic undo/redo calls to commit system.
The schematic commit system currently does not handle renaming symbols
in the symbol library editor or page settings in the schematic editor.
The schematic commit system will have to be modified to support the two
remaining direct calls to the undo/redo code.
2024-12-20 09:54:24 -05:00
Jon Evans
eed7222bc3 Fix misplaced continue statement 2024-12-20 09:11:00 -05:00
JamesJCode
3a7aa7b660 Ensure deterministic ordering in cadstar netlist exporter
Also re-enable checking of exporter in qa_cli
2024-12-20 11:50:23 +00:00
Jeff Young
a3f69046ba Fix double-click in footprint chooser.
Also fixes the assert when closing the chooser after the 3D
view was shown.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18107
2024-12-20 11:25:31 +00:00