jean-pierre charras
7309f7049f
Fix a collision name (ERROR, replaced by TS_ERROR) in a header on Windows/msys2
5 months ago
JamesJCode
aac9731852
Refactor PCB calcs to common library, and add coupled stripline
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16863
6 months ago
JamesJCode
2483ab4d7a
Add calculation of unit propagation delay to PCB calculator
6 months ago
jean-pierre charras
fc9795e95d
pcb_calculator, STRIPLINE: fix incorrect formula for conductor loss.
8 months ago
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
9 months ago
Marek Roszko
71383c9c73
Fix warnings about sprintf use.
2 years ago
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.
2 years ago
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
2 years ago
Simon Richter
4f1c2573f1
PCB Calculator cleanups
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
Seth Hillbrand
428970eb13
PCB_Calculator: Fix coupled microstrip diff Z
bffff6c1bf
was well-meaning but mistook Zodd for Zsingle. 2*Zodd is the
appropriate value for differential impedance
4 years ago
J RB
f3ca0f16e6
updated Z0 to accepted value, update ZTEM10 <-> a calc/synth as per #9146
4 years ago
jean-pierre charras
4fe9f01eb0
Update a few demos
4 years ago
jean-pierre charras
0f93999e14
fix a very minor issue in units.h but it does not change anything in current code
(this code is not in use currently)
Fixes #9492
https://gitlab.com/kicad/code/kicad/issues/9492
4 years ago
Ian McInerney
708050aa55
pcb_calculator: Some code cleaning
4 years ago
JonRB
bffff6c1bf
update PCB calculator Zdiff calc. Associated with #9077
adding new messages to the array
increasing the message count
add function and variable declaration
adding main functions
update UI layout to reflect changes
4 years ago
luz paz
5f1e9bc8a7
Fix typos in source code
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
jean-pierre charras
49de9e405e
Fix duplicate variables in a class and its parent.
4 years ago
Ian McInerney
e5446f8d7d
Remove wx/wx.h include from some pcb calculator headers
4 years ago
Marek Roszko
cfdd105cdd
Some more cleaning in pcb calculator
5 years ago
Marek Roszko
2ade8031dc
Clean up pcb_calculator includes a bit and rename files
5 years ago
Ian McInerney
b7e7cf9212
Some code cleanup
5 years ago
Ian McInerney
c40470ed0b
Initialize more variables
5 years ago
jean-pierre charras
23a5b0ca5f
fix a few compil warnings and a Coverity warning.
5 years ago
jean-pierre charras
8005de27c0
Fix a compil warning and 2 Coverity warnings.
5 years ago
Fabien Corona
8de6aa161f
pcb_calculator : do not overwrite input parameters
Split the computing / displaying code into different functions
Add coloured warnings when a value is not finite / illogical .
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1849
5 years ago
Michael Kavanagh
daa41c663b
Pcb calculator: remove unused variable
Fixes https://gitlab.com/kicad/code/kicad/issues/3907
6 years ago
Seth Hillbrand
4d2e953f42
Cleanup: Replace C-only deprecated headers
This replaces headers deprecated by C++14 with their equivalent
replacement
6 years ago
Jeff Young
a25368cc6b
Improve spelling.
The groundwork here is thanks to kunda1.
Fixes: lp:1831510
* https://bugs.launchpad.net/kicad/+bug/1831510
6 years ago
jean-pierre charras
51a128e323
pcb_calculator: code rework: rename "tand" member to "m_tand" and m_name to m_Name
7 years ago
jean-pierre charras
da0f956ca5
pcb_calculator: code rework: rename "murC" member by "m_murC"
7 years ago
jean-pierre charras
77477e4f10
pcb_calculator: code rework: rename "sigma" member by "m_sigma", and "skindepth" by "m_skindepth"
7 years ago
jean-pierre charras
884dc1c3e8
pcb_calculator: code rework: rename "f" member by "m_freq"
7 years ago
jean-pierre charras
92632a7a13
pcb_calculator/transline/microstrip.cpp: remove useless local var, shadowing a member var.
9 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
https://launchpad.net/~dmitrodem-gmail
cef8b388a5
Fix pcb_calculator bug: fails to synthesize microstrip line, due to a not removed change which should have been removed after a test.
9 years ago
jean-pierre charras
37deba60c3
Fix shadowed vars (in microstrip.cpp) and deprecated compil warnings.
9 years ago
Simon Richter
96ec9db5d6
Add missing C++ stdlib headers
The GCC standard library headers often include other headers, which makes
some code compile that forgets to include several headers.
9 years ago
jean-pierre charras
fde2cfee27
Minor changes: remove a few local shadowed local variables detected using " -Wshadow" gcc compil option ( No bug, just a better code readability ) and fix minor coding style issues.
10 years ago
jean-pierre charras
f0e2628e40
Very minor changes: remove a few local shadowed variables (mainly local variables having the same name in the same function) detected using " -Wshadow" gcc compil option ( No bug, just a better code readability )
10 years ago
jean-pierre charras
f16e083ecf
Fix minor bug #1429990 (3D viewer shows hidden footprint graphic texts ). Fix minor coverity warnings (not initialized members and dead code)
11 years ago
jean-pierre charras
a550ff84db
Fix some coverity and cppcheck warnings (most are very minor issues: not initialized members and initialized but not used variables)
11 years ago
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
Some other very minor fixes.
11 years ago
jean-pierre charras
d04ab1fe75
Pl_Editor: fix minor issues in multi-lines texts
Others: fix very minor issues.
12 years ago
Felix Morgner
24f95c66db
resaved some files as UTF-8 to silence clangs warnings about illegal character encodings.
13 years ago
Wayne Stambaugh
4d465ec8a0
Configuration and compile documentation improvements.
* Improve the stable and testing build version option logic.
* Use CMake FindPythonInterp to configure the Python interpreter.
* Use Python interpreter to determine the system Python module install
path if not already defined on the command line.
* Add header symbol checks for asinh(), acosh(), and atanh().
* Add test source to check for isinf() which can be defined as a C++template.
* Replace conditional compile on windows systems for aXXXh() with CMake
configuration tests.
* A few minor MSVC compile fixes.
* Fix incorrect python environment string in fixswigimports.py
* Create a separate document for KiCad CMake build options.
* Create a separate how to compile KiCad on Windows document.
13 years ago
jean-pierre charras
fb193c1232
pcb_calculator: fix compil issue about isinf.
13 years ago
Dick Hollenbeck
210a7036db
switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
13 years ago
Dick Hollenbeck
b8a0ab4c52
switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths
14 years ago