Commit Graph

369 Commits

Author SHA1 Message Date
Jeff Young 3af9c658e6 Don't specify fonts in wxFormBuilder. It only leads to pain.
Fixes https://gitlab.com/kicad/code/kicad/issues/13547
2023-01-18 12:28:07 +00:00
Wayne Stambaugh f28ea5e784 Remove standard dialog button static line separators.
For the sake of consistency across all dialogs and window that behave
like dialogs, remove the static line that separates the main part of
the dialog from the standard buttons.  This only applies to windows
that have the standard button on the bottom of the frame.

This covers the 3D viewer, CvPcb, common, GerbView and KiCad dialogs.
2023-01-08 13:15:33 -05:00
Marek Roszko 8ab9934143 Use our own cmake module path variable to avoid conflicting with the main ones listy functional 2023-01-03 19:18:16 -05:00
Jeff Young 5e0064c21e More layout optimizations for PCB Calculator. 2022-12-29 18:09:40 +00:00
Jeff Young 6fc662c254 More class : filename consistency. 2022-12-29 18:05:57 +00:00
Jeff Young 5ce75eeb3a Fix more collapsing text controls on Mac. 2022-12-29 18:05:57 +00:00
Jeff Young c0e0cbceb0 Move eseries helper class to common.
Also improves some terminology for english-speakers.

Also substitues [] vector access (which creates empty elements) over
at() (which throws if the item is not found).
2022-12-29 18:05:57 +00:00
jean-pierre charras 8c324f1fc8 Fix a missing include.
Fixes #13216
https://gitlab.com/kicad/code/kicad/issues/13216
2022-12-20 12:46:19 +01:00
Alexander Dewing 02325130fa Initial arm64 work 2022-12-09 23:48:31 +00:00
Simon Richter 4f1c2573f1 PCB Calculator cleanups 2022-12-09 00:51:24 +00:00
jean-pierre charras 9501f4303d Rename CreateWindow to CreateKiWindow to avoid a collision name with a windows header
No code change, but it fix an issue specific to msys2 that bother me when
trying to fix issues with wx 3.0.x version
2022-11-08 12:31:07 +01:00
Huanyin Liu c64b4b8179 Update the formulas for Tee and Pi Attenuators
This makes clear that we are utilizing the voltage attenuation formula while keeping the correct formulation as it is implemented in the code

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12659
2022-10-19 15:49:09 +00:00
jean-pierre charras 1d87ed6454 pcb_calculator, PANEL_ATTENUATORS: minor fix: disable R3 settings when not in use. 2022-10-17 07:32:30 +02:00
jean-pierre charras ecd7eca63a splitter_formula.md: replace double spaces at eol (not very visible) by <br>
It should avoid issues in translated strings.
Fixes #12656
https://gitlab.com/kicad/code/kicad/issues/12656
2022-10-15 09:28:13 +02:00
Marek Roszko d6f8ca9a2e Patch out the install for argparse 2022-10-12 23:17:05 -04:00
Mark Roszko fb8a4c10f7 Shove kicad2step into pcbnew itself with a new cli 2022-10-04 01:53:37 +00:00
jean-pierre charras 6f7730a34f pcb_calculator, panel_corrosion.cpp: fix typos and clean code.
Make material names translatable.
2022-10-03 20:17:32 +02:00
aris-kimi 788ecd91cd Corrosion table update 2022-10-03 18:03:03 +00:00
aris-kimi 71c1bc4c1d Some minor fixes 2022-09-27 21:21:04 +00:00
Fabien Corona c6090a44d6 PCB calculator: add galvanic corrosion chart 2022-09-27 21:21:04 +00:00
Alex dc07ab9df1 Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
jean-pierre charras b6663a1c41 minor fixes. 2022-09-21 15:49:50 +02:00
aris-kimi 6b2427f858 Calculator Tools: minor fix
Remove wxEXPAND from Board Classes panel table
2022-09-13 22:05:32 +03:00
aris-kimi 026cca1768 Calculator tools: Normalize regulator naming
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12333
2022-09-08 16:17:32 +00:00
jean-pierre charras d4feb59ed9 OPENGL_GAL, draw bitmap: Rebuild the bitmap cache if the bitmap itself was rotated.
Fixes #12378
https://gitlab.com/kicad/code/kicad/issues/12378
Fix also a Coverity warning.
2022-09-08 12:00:43 +02:00
aris-kimi ed47c47ec2 Add more unit selectors, temperature and material coefficient
to Calculator Tools/ Cable size

Fix some previous leftovers from 086ebe0f1d

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12129
2022-09-07 23:16:57 +00:00
aris-kimi 759069f487 Fix unit conversion
ohm/1000feet
2022-07-27 15:11:33 +00:00
aris-kimi 086ebe0f1d Add conductor material selection to cable calculator
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12082
2022-07-27 15:11:33 +00:00
jean-pierre charras 4d48376eae Fix some warnings detected by PVS-STUDIO (not used vars) 2022-07-26 16:00:14 +02:00
jean-pierre charras d4ed387eb1 Pcb_calculator, PANEL_CABLE_SIZE: fix 2 incorrect displayed values.
Voltage drop and Dissipated power units are mV and mW, but the displayed
values were Volt and Watt.
2022-07-25 09:54:54 +02:00
jean-pierre charras 493b42588a Pcb_calculator, PANEL_CABLE_SIZE: fix some issues created by non initialized vars. 2022-07-25 08:58:31 +02:00
luz paz 79fa911e0e Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-21 16:31:41 +00:00
jean-pierre charras fed2049df5 pcb_calculator: fix a cosmetic issue in PANEL_WAVELENGTH.
Fixes #12020
https://gitlab.com/kicad/code/kicad/issues/12020
2022-07-20 08:43:06 +02:00
Marek Roszko 33c89667fe Emplace the cable size list 2022-07-16 15:26:58 -04:00
Seth Hillbrand 56895db84c Fix missing overrides 2022-07-06 16:05:32 -07:00
Marek Roszko 1e4d0aa1c0 Add missing header for MSVC due to 81108ed106 2022-07-06 18:04:43 -04:00
Fabien Corona 81108ed106 ADDED: pcb_calculator: wavelength panel 2022-07-06 18:28:59 +00:00
Ian McInerney b51d8c9825 Introduce new CMake variable to store kiface install location 2022-06-22 23:40:25 +01:00
jean-pierre charras ef2d0c6438 pcb_calculator/calculator_panels/panel_cable_size: avoid a too large size.
Replace a wxGridSizer by a wxFlexGridSize to avoid too large column sizes
when not needed.
2022-06-22 21:03:07 +02:00
Seth Hillbrand d34e896708 Fix missing overrides 2022-06-21 16:43:15 -07:00
Fabien Corona 33d3618738 ADDED: PCB calculator fusing current
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9297
2022-06-21 23:34:36 +00:00
Fabien Corona 69f25f35a8 ADDED: pcb_calculator cable size
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9298
2022-06-16 22:04:45 +00:00
jean-pierre charras 285d1f4fae pcb_calculator: change a string to facilitate a translation. 2022-06-03 18:48:01 +02:00
Marek Roszko 1bf361e216 Rename the pcb calculator window to match the title in kicad launcher 2022-05-07 15:36:49 -04:00
jean-pierre charras ca8b96f247 pcb_calculator: expand treebook at start to show the full list of pages. 2022-03-20 10:00:34 +01:00
Marek Roszko b69f179560 Just spell out Transmission Lines fully in the calculator 2022-02-20 21:31:54 -05:00
Seth Hillbrand 098e8f7d9b Revert "cmake: adding KICAD_MACOSX_APP_BUNDLE option"
This reverts commit ea9f960cc1.

Reverted for updates as this currently breaks kicad-mac-builder
2022-01-31 15:57:56 -08:00
Davide Gerhard ea9f960cc1 cmake: adding KICAD_MACOSX_APP_BUNDLE option
ADDED: with cmake KICAD_MACOSX_APP_BUNDLE option the user can disable
the macOS app bundle creation when compiling on macOS. This permit to
use/install KiCad like any other *nix platform (/usr/bin, /usr/share,
ecc.). By default, cmake build the app bundle.
2022-01-28 15:49:37 -08:00
Fabien Corona 8282130bbe PCB_calculator: use treebook 2022-01-27 20:54:57 +00:00
Jeff Young e21fa31f64 Rip out rest of macHack architecture. 2022-01-03 22:09:56 +00:00