Marek Roszko
4ac5404822
Move HTML_WINDOW to widgets folder, also fix some fbps that were wrongly not edited
...
Somebody manually edited at least 3 files fixed here....so the fbps were wrong
2023-09-11 19:10:16 -04:00
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
...
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
Marek Roszko
bd3aca2887
Cleanup the kiface dll export declaration slightly
...
Why in the bloody world would you pass in the return type as part of the macro for export/import preprocessing
2023-09-08 20:44:08 -04:00
Marek Roszko
7505fd0f37
Profile can live in core
2023-09-07 07:47:01 -04:00
Marek Roszko
e665cbac20
Delete line with weird comment because its weird
...
We should fix it for reals
2023-09-06 23:45:48 -04:00
Marek Roszko
e944a61830
Nothing but the pcb calc will use eseries for the forseeable future
2023-09-06 23:44:41 -04:00
Marek Roszko
87513b4a04
Change the sentry dsn to be build time defined
...
We ultimately don't want people running personal builds to turn on sentry and start sending us crash logs we can't decipher
2023-08-30 22:17:38 -04:00
Ian McInerney
a3a701a95e
Move preferences to an action instead of a wx event
2023-08-08 00:51:22 +01:00
aris-kimi
ce58208d77
Add missing licence lines in iec60664 and naming update
2023-07-23 14:12:03 +00:00
Marek Roszko
3233bbe0ba
Make exported date time strings use ISO8601 format
...
Also rename the function to be explicit on its result format
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15185
2023-07-14 23:24:12 -04:00
Jeff Young
e77ff7e4e8
Allow PCBCalculator to respond to both Quit and Close.
2023-06-28 15:00:26 +01:00
jean-pierre charras
8712dac1a2
Minot fix: Honor Ctrl+Q hotkey in pl_editor and pcb_calculator
2023-06-28 08:56:40 +02:00
Steve Bollinger
a318c57d77
Move E-series resistor selector table out of resistor value
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14627
2023-06-26 23:21:40 +00:00
Jeff Young
75e78f9088
Move bitmap2cmp and pcb_calculator to tool framework.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1939
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7561
2023-06-16 15:37:58 +01:00
Jeff Young
46564055f4
More protection around an exceedingly dangerous hack.
...
The API is needed for wxFormBuilder, and I couldn't figure out any
way around it, but we can at least reduce the risk of someone calling
it accidentally (again).
2023-06-14 12:52:49 +01:00
jean-pierre charras
f3eac6a12f
pcb_calculator, transmission lines: some fixes:
...
- ensure settings are correctly saved after change in dialog
- make reinit to defaults working
- cosmetic enhancement
2023-06-14 11:59:43 +02:00
Alex Shvartzkop
730cf80960
Fix paddings in PCB calculator UI on GTK.
...
Also fixes instances of wxEXPAND | wxALIGN_CENTER_*
2023-06-14 10:37:03 +03:00
Jeff Young
86210541fc
Clean up clearance page of calculator.
2023-06-10 11:15:03 +01:00
jean-pierre charras
8a1220128b
pcb_calculator: fix a message and Coverity warnings
2023-06-08 09:51:59 +02:00
jean-pierre charras
072bfe4bc6
pcb_calculator, panel iec60664: remove incorrect/useless tooltips.
2023-06-07 18:49:58 +02:00
jean-pierre charras
00317cf67a
pcb_calculator, panel iec60664: better look, better code and fix typos.
2023-06-07 18:21:09 +02:00
jean-pierre charras
47c0c7b3b7
pcb_calculator: add iec60664 electrical spacing panel.
...
From patches from by Fabien Corona and Aris_kimi
2023-06-07 12:01:30 +02:00
Alex
d945b76c65
Center calculator grid cells, sync font styles with fbp.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14743
2023-06-05 15:14:10 +03:00
jean-pierre charras
cd904dc2b9
pcb_calculator, panel_cable_size: commit missing changes.
2023-05-24 13:23:08 +02:00
jean-pierre charras
ed6a56cb57
pcb_calculator, panel_cable_size.*: enhancement: allow setting current density.
...
Fixes #14802
https://gitlab.com/kicad/code/kicad/-/issues/14802
2023-05-24 13:17:25 +02:00
jean-pierre charras
ef89495420
pcb_calculator, panel_cable_size.*: code cleanup. No actual change.
2023-05-24 10:25:52 +02:00
jean-pierre charras
edb9a19a65
pcb_calculator: add missing code to save Regulator Panel settings.
2023-04-24 09:11:03 +02:00
aris-kimi
0f5ee38ee2
Corrosion table update
2023-03-02 22:25:48 +00:00
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>
2023-02-22 23:18:36 +00:00
Ian McInerney
912f1d5cec
Modernize setting link map linker flags
2023-02-22 01:44:06 +00:00
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.
2023-02-22 01:44:06 +00:00
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
2023-02-12 16:30:37 -05:00
Jeff Young
f5f98f0174
Simplify code.
2023-01-28 10:42:24 +00:00
Jeff Young
7ca951c89a
Fix grammar error.
2023-01-28 10:42:24 +00:00
aris-kimi
d3e513a366
Add complementary color for the alternative polarity in Corrosion table
2023-01-23 11:36:06 +00:00
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