Seth Hillbrand
e346139301
Add more parent safety checks
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21317
2025-08-23 14:14:05 -07:00
Seth Hillbrand
aa4bba3c94
Resistor calculator should minimize parts
...
If we can get a equivalent value match using the same parts, prefer
that.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7100
2025-08-10 21:09:43 -07:00
Seth Hillbrand
6cd076eed4
Blast quite a bit of LOCALE_IO into the sun
...
After forcing the locale-specific read/writes out of our IO, we can
remove the global LOCALE_IO calls in many places.
Still to do: exporters, pcm, specctra, settings, drawing sheets,
plotters
2025-07-14 15:30:42 -07:00
Alex Shvartzkop
84fd260fc0
Restore .h files generated from .md
...
Weblate translations don't work if these files are missing.
2025-06-30 07:05:22 +03:00
Tomasz Wlostowski
0256ccb6a6
router: TOPOLOGY::SimplifyLine() should not try to merge segments of differing widths
...
Note to self: likely a regression after adding aAllowSegmentSizeMismatch parameter (default = true) to AssembleLine(). We need to improve the simplification algorithm to take differing widths into account.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21078
2025-06-22 00:26:33 +02:00
David Rees
fce444a227
calc/galvanic: Improved list of electrochemical materials and added dynamic text contrast
...
- Added additional materials to the galvanic table
- Improved with ITU-R BT.709 dynamic text contrast calculation for better readability
- Improved inline comments and electrochemical annotations
2025-06-04 20:50:26 +10:00
jean-pierre charras
7309f7049f
Fix a collision name (ERROR, replaced by TS_ERROR) in a header on Windows/msys2
2025-04-26 10:33:02 +02:00
JamesJCode
aac9731852
Refactor PCB calcs to common library, and add coupled stripline
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16863
2025-04-25 23:27:52 +01:00
JamesJCode
bd1f6e505c
PCB Calcs: Reset default units along with values
2025-04-21 21:28:00 +01:00
JamesJCode
2483ab4d7a
Add calculation of unit propagation delay to PCB calculator
2025-04-20 13:04:04 +01:00
Fabien Corona
81428e14a6
iec60664-1 : preferred values
2025-03-01 08:27:42 +01:00
jean-pierre charras
fc9795e95d
pcb_calculator, STRIPLINE: fix incorrect formula for conductor loss.
2025-02-22 17:02:09 +01:00
Ian McInerney
e240d57e28
pcb calculator: Cleanup remanents of the tool framework on close
2025-02-10 14:46:40 +00:00
Seth Hillbrand
f38e661a02
Revert "Move GL Context into Singleton class"
...
This reverts commit 5326c36a5ff8a3a465d386cc31172aa90847a9e9.
2025-01-03 21:22:37 -08:00
Seth Hillbrand
5326c36a5f
Move GL Context into Singleton class
...
The GL context lock needs to be shared across kifaces. Otherwise, we
can end up blocking the lock from one kiface. Unfortunately, I can't
find the issue in GitLab right now for where the footprint viewer shows
a blank screen after opening too many contexts. But that's what this
fixes.
2025-01-03 17:26:23 -08:00
Ian McInerney
ce5f3f642e
Use existing string for ohm-meter units
2025-01-02 23:51:38 +00:00
Andrea Greco
49b949cec7
Transmission Line: Add measure unit to Rho constant
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19312
2025-01-02 22:44:15 +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
Seth Hillbrand
936f8cf8ec
Update compiled header with trace/track fixes
2024-12-19 16:41:09 -08:00
Seth Hillbrand
527e2e8027
Unify Trace/Track usage
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19329
2024-12-19 15:55:26 -08:00
Jan Wichmann
09389a437f
Correct error in the tolerance calculation for 3 terminal type voltage regulators
...
Use Iadj max value for calculating max error
2024-10-18 19:34:47 +00:00
Fabien Corona
350352332e
resistance calculator: don't copy function in addSolution() arguments
2024-10-17 12:45:24 +02:00
Fabien Corona
f6af29ea89
calculator: don't copy resistance alias name
2024-10-17 12:45:24 +02:00
Fabien Corona
4c57d748ab
calculator: avoid copy of cable names
2024-10-17 12:45:24 +02:00
Jan Wichmann
8507ffa338
pcb_calculator: Shows the first page at the first start.
2024-06-24 19:39:40 +00:00
Marek Roszko
aaf776db9e
Point BEGIN_EVENT_TABLE at the correct base class, fix current lang indication
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17825
2024-04-30 22:47:53 -04:00
Marek Roszko
2a3b597ab9
Strip out no longer needed links on the top executables
...
Not needed due to kicommon
2024-04-14 07:52:02 -04:00
Ian McInerney
c7d280dfa1
Always use black text in PCB calculator E-series table
...
The white text in dark mode is too washed out on the cell colors to be
visible. Since we already purposely subdue the colors in dark mode, the
easiest fix is to just always use black text.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17033
2024-04-01 22:00:10 +01:00
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2024-03-20 23:29:42 -04:00
Jan Wichmann
66d8f5cae4
pcb_calculator: Feature Calculation of voltage regulator with tolerances
2024-03-20 12:59:36 +00:00
Seth Hillbrand
cd548e392a
Add document type icons
...
Update Macos script to use doctype icons for icns builds
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14754
2024-02-09 15:55:57 -08:00
Wayne Stambaugh
92c2ddf77a
Do not parent dialogs to non top level windows in panels or widgets.
2024-02-03 10:40:28 -05:00
Jeff Young
7cc663ad77
Schematic parity checking for CLI DRC.
2024-02-02 23:05:37 +00:00
Wayne Stambaugh
2b1bf369f2
Do not parent file or directory dialogs to panels.
...
Parenting dialogs to child windows of top level windows is most likely
not defined behavior. It's also likely that this behavior varies across
platforms so it' best not to risk doing it. wxWidgets does not check if
the dialog parent is actually a top level window. There may be other
places we are doing this with our message dialogs so we should do an
audit.
2024-02-02 09:20:36 -05:00
Marek Roszko
b4bfdf95d3
Explicitly add 48, 128, 256 to icon bundles for each app
2024-01-16 17:21:44 -05:00
Ian McInerney
6c9e716573
More spelling and grammar fixes
2024-01-10 16:42:47 +00:00
Ian McInerney
e7746d3bc8
Fix spelling mistakes
2024-01-10 16:17:07 +00:00
Jeff Young
3fd81fe7c0
Only generate event on setting current value.
...
(And do it last.)
2024-01-04 14:35:08 +00:00
Jeff Young
559bef0ea6
Switch default thicknesses to um.
...
Also fix a bug where resetting the values doesn't work if
the thickness units were changed because it tries to keep
the old width values which are then re-scaled to the reset
thickness units. Probably better to just reset the widths
too, as it's potentially less confusing.
2024-01-04 14:35:08 +00:00
Marek Roszko
71383c9c73
Fix warnings about sprintf use.
2023-12-17 20:56:15 -05:00
Wayne Stambaugh
8687d5092f
String and dialog layout fixes.
2023-12-13 11:49:34 -05:00
jean-pierre charras
b3893aed3d
pcb_calculator: use usual (not scientific) notation when numbers are not very small.
...
Values >= 0.001 are more readable than values >= 1e-3
2023-11-05 07:28:20 +01:00
jean-pierre charras
909619c8cc
pcb_calculator, MICROSTRIP::calcSynthesize(): fix incorrect init of a variable
...
It was initialized before other calculations, thus using a bad value.
2023-11-01 15:41:01 +01:00
Jon Evans
eb5b3db063
Add bitmap bundle support to BITMAP_SCALE
...
Change a bunch of buttons and toolbars to use it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
2023-10-22 14:02:06 -04:00
jean-pierre charras
79fb832b9e
pcb_calculator, PANEL_GALVANIC_CORROSION: store selection in config.
...
Other minor cosmetic enhancement.
2023-10-21 20:42:35 +02:00
Marek Roszko
bee6e6be01
AddMenuLanguageList should live in EDA_BASE_FRAME, its only user
2023-10-16 19:49:52 -04:00
jean-pierre charras
f41734aa48
pcb_calculator/transline/stripline: add missing conv from log to db.
...
Fixes #15873
https://gitlab.com/kicad/code/kicad/-/issues/15873
2023-10-16 10:31:32 +02:00
Bartek Wacławik
ac9a863496
Implement new resistor substitution algorithm
...
Significantly improves performance of the tool. Also corrects an mistake in the formula for computing relative errors
2023-09-22 21:43:09 +00:00
Jon Evans
d371bb06ae
New macOS installation scripts
...
Replaces BundleUtilities that got broken by recent updates
and is basically unmaintained by cmake.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15376
2023-09-19 17:23:30 -04:00
Alex Shvartzkop
1decd31baf
Vertically center wxGrid cells by default.
2023-09-18 17:15:34 +03:00