aris-kimi
0f5ee38ee2
Corrosion table update
3 years ago
aris-kimi
22bca5c2a0
Disable link maps by default and fix compile issue with lld linker
The link maps were actually disabled by default before
912f1d5cec , and required KICAD_MAKE_LINK_MAPS
to be provided to enable them. So switch back to disabling them by
default.
Also, The lld linker is unable to accept a single dash cref option, while
ld and gold can. Instead, use the double dash version that is supported
by all three.
xref: https://github.com/llvm/llvm-project/issues/60932
Co-authored-by: aris-kimi <aris_kimi@hotmail.com>
Co-authored-by: Ian McInerney <ian.s.mcinerney@ieee.org>
3 years ago
Ian McInerney
912f1d5cec
Modernize setting link map linker flags
3 years ago
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
3 years ago
Marek Roszko
4665823089
Turn on and fix MSVC compliance mode issues
We want /permissive- to enable debug performance improvements in MSVC 17.5+.
This flag is also default under C++20 so we'll have to deal with these compile issues anyway at some point in the future.
In particular, MSVC becomes pedantic about ternary types.
See https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170#ambiguous-conditional-operator-arguments
MSFT cites https://cplusplus.github.io/CWG/issues/1805.html
3 years ago
Jeff Young
f5f98f0174
Simplify code.
3 years ago
Jeff Young
7ca951c89a
Fix grammar error.
3 years ago
aris-kimi
d3e513a366
Add complementary color for the alternative polarity in Corrosion table
3 years ago
Jeff Young
3af9c658e6
Don't specify fonts in wxFormBuilder. It only leads to pain.
Fixes https://gitlab.com/kicad/code/kicad/issues/13547
3 years ago
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.
3 years ago
Marek Roszko
8ab9934143
Use our own cmake module path variable to avoid conflicting with the main ones listy functional
3 years ago
Jeff Young
5e0064c21e
More layout optimizations for PCB Calculator.
3 years ago
Jeff Young
6fc662c254
More class : filename consistency.
3 years ago
Jeff Young
5ce75eeb3a
Fix more collapsing text controls on Mac.
3 years ago
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).
3 years ago
jean-pierre charras
8c324f1fc8
Fix a missing include.
Fixes #13216
https://gitlab.com/kicad/code/kicad/issues/13216
3 years ago
Alexander Dewing
02325130fa
Initial arm64 work
4 years ago
Simon Richter
4f1c2573f1
PCB Calculator cleanups
3 years ago
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
3 years ago
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
3 years ago
jean-pierre charras
1d87ed6454
pcb_calculator, PANEL_ATTENUATORS: minor fix: disable R3 settings when not in use.
3 years ago
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
3 years ago
Marek Roszko
d6f8ca9a2e
Patch out the install for argparse
3 years ago
Mark Roszko
fb8a4c10f7
Shove kicad2step into pcbnew itself with a new cli
3 years ago
jean-pierre charras
6f7730a34f
pcb_calculator, panel_corrosion.cpp: fix typos and clean code.
Make material names translatable.
3 years ago
aris-kimi
788ecd91cd
Corrosion table update
3 years ago
aris-kimi
71c1bc4c1d
Some minor fixes
3 years ago
Fabien Corona
c6090a44d6
PCB calculator: add galvanic corrosion chart
4 years ago
Alex
dc07ab9df1
Replace PROF_COUNTER with PROF_TIMER in some conditional places.
3 years ago
jean-pierre charras
b6663a1c41
minor fixes.
3 years ago
aris-kimi
6b2427f858
Calculator Tools: minor fix
Remove wxEXPAND from Board Classes panel table
3 years ago
aris-kimi
026cca1768
Calculator tools: Normalize regulator naming
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12333
3 years ago
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.
3 years ago
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
3 years ago
aris-kimi
759069f487
Fix unit conversion
ohm/1000feet
3 years ago
aris-kimi
086ebe0f1d
Add conductor material selection to cable calculator
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12082
3 years ago
jean-pierre charras
4d48376eae
Fix some warnings detected by PVS-STUDIO (not used vars)
3 years ago
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.
3 years ago
jean-pierre charras
493b42588a
Pcb_calculator, PANEL_CABLE_SIZE: fix some issues created by non initialized vars.
3 years ago
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`
3 years ago
jean-pierre charras
fed2049df5
pcb_calculator: fix a cosmetic issue in PANEL_WAVELENGTH.
Fixes #12020
https://gitlab.com/kicad/code/kicad/issues/12020
3 years ago
Marek Roszko
33c89667fe
Emplace the cable size list
3 years ago
Seth Hillbrand
56895db84c
Fix missing overrides
3 years ago
Marek Roszko
1e4d0aa1c0
Add missing header for MSVC due to 81108ed106
3 years ago
Fabien Corona
81108ed106
ADDED: pcb_calculator: wavelength panel
3 years ago
Ian McInerney
b51d8c9825
Introduce new CMake variable to store kiface install location
3 years ago
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.
3 years ago
Seth Hillbrand
d34e896708
Fix missing overrides
3 years ago
Fabien Corona
33d3618738
ADDED: PCB calculator fusing current
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9297
3 years ago
Fabien Corona
69f25f35a8
ADDED: pcb_calculator cable size
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9298
3 years ago