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
jean-pierre charras
0e801c9be9
fix missing line breaks in .md file
2021-12-31 10:38:50 +01:00
jean-pierre charras
96c3ce14e4
Fix not displayed html char (&sdot replaced by ·) (perhaps Windows specific)
...
Fixes #10152
https://gitlab.com/kicad/code/kicad/issues/10152
2021-12-29 08:52:56 +01:00
Marek Roszko
3f711b8958
Add win32 VERSION_INFO resource blocks for the DLLs
2021-12-28 23:54:27 -05:00
Jeff Young
c3552a940a
Make sure standard OK/Cancel buttons respond to current language.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
2021-12-24 18:13:11 +00:00
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
2021-11-07 17:07:50 -08:00
jean-pierre charras
e558f2cabd
Fix typo
2021-11-04 18:20:30 +01:00
J RB
f3ca0f16e6
updated Z0 to accepted value, update ZTEM10 <-> a calc/synth as per #9146
2021-11-03 21:03:28 +00:00
jean-pierre charras
4fe9f01eb0
Update a few demos
2021-11-01 18:36:53 +01:00
Mikolaj Wielgus
a3707ad365
Minor editorial changes to PCB calculator, part 2
...
Don't use substripts in HTML if there is just a number in the
subscript: "R1", not "R<sub>1</sub>", except for characteristic
impedance. And of course still use "Z<sub>in</sub>", not "Zin".
This is also consistent with the images.
2021-11-01 00:09:46 +00:00
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
2021-10-30 10:06:28 +02:00
jean-pierre charras
908e892ab8
Fix issues in translatable strings in .md files:
...
- replace "⋅" not displayed on Windows (for some reason) by "·"
- replace the double space at end of lines by the tag <br>
A translatable string cannot ends by 2 spaces, because they are not really visible
2021-10-23 17:52:58 +02:00
Mikolaj Wielgus
2fa9aefde2
Minor editorial changes in PCB calculator, part 1
2021-10-23 13:56:07 +00:00
jean-pierre charras
62ddc269ca
update eserie_help.md (source of eserie_help.h) from changes in eserie_help.h
2021-10-23 15:00:16 +02:00
Jeff Young
febfe39cc4
Improve e-series help text.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9349
2021-10-22 22:47:12 +01:00
jean-pierre charras
84e83fc743
pcb_calculator, eserie rework and add E24 serie.
...
Numerous enhancements in code.
2021-10-15 11:16:27 +02:00
Ian McInerney
8a11e89d0f
Fix the type-based pcb_calculator GetCalculator implementation
...
ix the problem with the original template-based implementation to limit
the amount of things that could be forgotten by new panel creators
(since we can't just have a static fail method warning about things
beinf forgotten).
This reverts commit a92516bcd2
.
2021-10-12 13:37:11 +01:00
Ian McInerney
708050aa55
pcb_calculator: Some code cleaning
2021-10-10 16:26:23 +01:00
Ian McInerney
bd0fb5ca89
pcb_calculator: Update bitmaps on color code panel when theme changes
...
They aren't actually different between light and dark currently, but
this brings it inline with all other bitmaps.
2021-10-10 16:26:23 +01:00
jean-pierre charras
a92516bcd2
Pcb_calculator: fix not working GetCalculator() template.
...
Use now wxWidgets functions to find a calculator panel.
Fixes #9358
https://gitlab.com/kicad/code/kicad/issues/9358
2021-10-10 14:16:11 +02:00
jean-pierre charras
2662433374
Pcb calculator panels: ensure sizer are correctly updated.
...
On wxWidgets 3.0, SetSizeHints must be called once the panel is fully populated.
On wxWidgets 3.1.5, SetSizeHints is not mandatory but can be called to ensure
right sizes once the panel is fully populated.
2021-10-09 09:07:18 +02:00
Ian McInerney
288a94f5aa
pcb_calculator: Remove form builder main window
...
The form builder window only contained the notebook control, so it was
basically pointless. This removes the base frame and instead makes
PCB_CALCULATOR_FRAME inherit directly from KIWAY_PLAYER.
2021-10-08 18:28:10 +01:00
Ian McInerney
0a1a181798
pcb_calculator: Move calculator panels to a registration architecture
...
This simplifies operations that touch every panel and is a bit neater.
2021-10-08 18:13:41 +01:00
Ian McInerney
c14bdf7fe0
pcb_calculator: Update panel images/text when system theme changes
2021-10-08 17:31:21 +01:00
Ian McInerney
1f4955a632
Reorganize the pcb_calculator directory to make it more logical
2021-10-08 15:44:44 +01:00
Ian McInerney
79a1eff988
pcb_calculaotr: Change attenuators to only have image name instead of the image
...
Otherwise regenerating the bitmap for light/dark changes would be more
difficult.
2021-10-08 15:28:09 +01:00
Mikolaj Wielgus
faad5ee1ce
Use system text and background colors in PCB calculator
...
wxHtmlWindow forces white background and black text. Force it back to
system settings.
2021-10-07 19:09:42 +00:00
jean-pierre charras
a74851bb5d
pcb_calculator rework: move transline panel to its own files panel_transline_xx
...
also a small code cleanup
2021-10-05 18:43:07 +02:00
jean-pierre charras
813fd8ee0a
try to fix a compil issue on Linux that does not happen on my computer, round 2.
2021-10-05 17:30:22 +02:00
jean-pierre charras
a04ae6f13e
try to fix a compil issue on Linux that does not happen on my computer.
2021-10-05 17:17:29 +02:00
jean-pierre charras
d161d7431e
pcb_calculator rework: move eseries panel to its own files panel_eserie_xx
2021-10-05 13:48:37 +02:00
jean-pierre charras
187c685c64
pcb_calculator rework: move board class panel to its own files panel_board_class_xx
2021-10-05 11:00:11 +02:00
jean-pierre charras
c7faeeabea
pcb_calculator rework: move electrical spacing panel to its own files panel_electrical_spacing_xx
2021-10-05 10:20:44 +02:00
jean-pierre charras
f446d23deb
pcb_calculator rework: move track width panel to its own files panel_track_width_xx
2021-10-05 08:41:22 +02:00
jean-pierre charras
3ac0b46798
pcb_calculator rework: move via size panel to its own files panel_via_size_xx
2021-10-04 16:32:38 +02:00
jean-pierre charras
5b5e9102bb
pcb_calculator rework: move color code panel to its own files panel_color_code_xx
2021-10-04 15:02:57 +02:00
jean-pierre charras
78ddb1408f
pcb_calculator/eserie.*: fix some coding style issues.
...
No actual code change (I hope...)
2021-10-04 13:09:28 +02:00
jean-pierre charras
21d3662ed3
pcb_calculator rework: move attenuators panel to its own files panel_attenuators_xx
2021-10-04 10:25:33 +02:00
jean-pierre charras
0f48522342
pcb_calculator rework: move regulator panel to its own files panel_regulator_xx
...
also rename regulators_funct.cpp to panel_regulator.cpp
2021-10-03 18:09:20 +02:00
Jeff Young
2479e1d7b1
Improve common settings property grouping.
...
Also moves apply-icon-scaling-to-fonts to its own checkbox. (We used
to try to infer when to do it, but that turns out to be a rathole.)
2021-09-16 18:31:44 +01:00
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
2021-09-14 23:45:14 +01:00
jean-pierre charras
b38592b1f6
pcb_calculator: minor enhancement: show formula used to calculate Zdiff
2021-09-12 17:07:23 +02:00
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
2021-09-12 13:08:41 +00:00
Jeff Young
9c78e4cf54
Mac needs different font size handling than MSW & GTK.
...
Mac already uses diverse font sizes (for instance, smaller fonts for
radio button groups), and the anti-aliasing is a lot better. The
other platforms need a more limited range of sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
2021-09-11 23:40:31 +01:00
Jeff Young
fbee62fc15
Tie font size scaling to when automatic icon scaling fails.
...
It appears that SetSymbolicSize() and ConvertDialogToPixes() fail
under the same circumstances.
2021-09-11 15:29:51 +01:00
Jeff Young
7a822b55aa
Another round of changes to attempt to fix the GTK font size issue.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
2021-09-10 15:59:50 +01:00
Seth Hillbrand
bc0302fafe
Replace RefDesCmp with better StrNumCmp
2021-09-01 11:48:01 -07:00
Seth Hillbrand
4cd9278041
Remove most wxFilepicker wildcards from translations
...
This prevents translation errors from preventing user actions such as
opening the correct file
2021-08-20 12:56:47 -07:00
jean-pierre charras
60c65c2a1d
Avoid loading python stuff when starting applications that do not use it.
...
It is useless, and debug is slightly easier (less constraints) at least on msys2
2021-08-17 19:48:55 +02:00
Jeff Young
95b87ba29a
Freshen microwave polygon dialog and remove a bunch of dead code.
2021-08-03 01:11:11 +01:00
Seth Hillbrand
6cd4d68d57
Add drop shadows to MacOS icons
...
Apple UI guidelines ask for small drop shadows on the icons. We add
these using ImageMagick when resizing
2021-07-30 20:55:34 -07:00
Seth Hillbrand
e7d8b1a975
Resize MacOS icons and script their creation
...
Creates a script that will fomat the MacOS icons at 80% of the total
size in line with Apple's guidelines.
Script requires Inkscape 1.0 and png2icns (available on Linux boxen)
Fixes https://gitlab.com/kicad/code/kicad/issues/7977
2021-07-30 20:28:14 -07:00
Seth Hillbrand
ad8acd328c
Expunge some remaining references to kicad-pcb
2021-07-30 20:27:45 -07:00
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
...
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
2021-07-29 16:03:25 +01:00
Wayne Stambaugh
37b200cb3e
Pass wxString objects by reference instead of on the stack.
2021-07-27 08:41:27 -04:00
Jeff Young
3c1af1af74
Update selected tool string when language changes.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/8813
2021-07-23 20:16:53 +01:00
Wayne Stambaugh
1a301d8eea
Stop using wxDialog::EndModal() from inside dialogs.
...
Calling wxDialog::EndModal() directly from inside the dialog is a
potential bug if the dialog is shown in the modeless or window modal
(quasi-modal). Use the internal button events where possible and
check for the appropriate mode before calling the correct end dialog
function.
2021-07-21 17:38:14 -04:00
Wayne Stambaugh
4c457b5ed3
More NULL expunging.
2021-07-18 14:31:55 -04:00
Marek Roszko
c794a6ce7a
Add pdb install option for msvc
2021-07-14 23:42:45 -04:00
luz paz
0446d35f0d
Fix source comment/doc typos (follow-up)
...
Found via `codespell -q 3 -S *.po,./thirdparty -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,dout,einstance,modul,ot,overide,serie,te,,tesselate,tesselator,tht`
2021-07-13 10:48:17 +00:00
Jeff Young
0c2ac9a711
Move GUI font code to common.
...
This also allows the Mac fixes for font facenames to be more
compartmentalized.
Fixes https://gitlab.com/kicad/code/kicad/issues/8657
2021-06-29 18:27:58 +01:00
Jeff Young
a1dfc36233
More error message regularization.
2021-06-29 01:08:26 +01:00
luz paz
5f1e9bc8a7
Fix typos in source code
2021-06-10 01:24:15 +00:00
luz paz
f968fc8719
Fix source comment / documentation typos
2021-06-09 19:32:58 +00:00
jean-pierre charras
49de9e405e
Fix duplicate variables in a class and its parent.
2021-06-09 19:03:44 +02:00
jean-pierre charras
5cce3f6e18
Fix a few Coverity warnings (not initialized vars) and a minor compil warning
2021-06-09 19:03:44 +02:00
Marek Roszko
20134e4a1b
Evict some more eda_item.h includes
2021-06-08 19:12:29 -04:00
Wayne Stambaugh
6b5d512b9f
More header clean up.
2021-06-08 15:39:47 -04:00
Marek Roszko
551ddee29e
Kick wx.h out of pcb_calculator src
2021-06-07 18:38:51 -04:00
Jon Evans
c9a660a80c
Rework JSON integration to speed up build
2021-06-05 17:08:38 -04:00
Ian McInerney
e5446f8d7d
Remove wx/wx.h include from some pcb calculator headers
2021-06-03 01:39:08 +01:00
Marek Roszko
a7d1ef9927
Fix some more uninitialized warnings
...
From PVS Studio
2021-05-30 20:05:37 -04:00
jean-pierre charras
8513ca974c
Pcb_calculator: track width tool: make resistivity value read only.
...
The formula used to calculate the track width is valid only for copper tracks.
So the resistivity value displayed in the panel is only for info, and cannot
be modified.
2021-05-13 10:35:23 +02:00
jean-pierre charras
fe5c2d30a3
PCB_CALCULATOR_FRAME_BASE: fix wxWidgets minor alerts.
...
Fixes #8374
https://gitlab.com/kicad/code/kicad/issues/8374
2021-05-06 08:58:26 +02:00
Jon Evans
b986797469
Move pcb calculator to new bitmap system
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8324
2021-05-03 22:28:25 -04:00
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
2021-03-20 12:09:18 -04:00
Jon Evans
18037e2f65
Rework bitmap system to load from archived PNGs
...
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.
Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz
The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.
Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.
Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
2021-03-11 08:37:35 -05:00
jean-pierre charras
2d609a795d
PCB_CALCULATOR_FRAME: fix missing calls to Layout() after widgets modifications.
...
Fixes #7858
https://gitlab.com/kicad/code/kicad/issues/7858
2021-03-10 14:07:57 +01:00
Marek Roszko
3d4ac9af03
Relocate win32 resource files to the central folder for further consolidation
2021-03-09 21:48:14 -05:00
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
2021-03-08 12:49:48 -08:00
Marek Roszko
8831c5567c
Add win32 version manifest block
2021-03-04 00:34:48 -05:00
jean-pierre charras
11bc23fab2
pcb_calculator: fix locale fp separator and incorrect coding of utf8 strings.
2021-02-27 16:52:14 +01:00
Jeff Young
34d3218f73
Translation cleanup.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/6078
2021-02-21 23:13:13 +00:00
jean-pierre charras
9b25e50f3d
pcb_calculateur: fix incorrect floating point separator when resetting to default.
...
Fixes #7622
https://gitlab.com/kicad/code/kicad/issues/7622
2021-02-20 17:09:15 +01:00
jean-pierre charras
41061b5cb1
pcb_calculateur: fix truncation of row labels of wxGrid
...
this column had a fixed width, that does not work for translated texts
or large fonts.
Fixes #7607
https://gitlab.com/kicad/code/kicad/issues/7607
2021-02-20 16:22:55 +01:00
Jeff Young
e822977367
Cleanup.
2021-02-17 14:08:53 +00:00
Jeff Young
29a1ded508
Fix degree symbol.
...
And then go on and do a boatload more fixes for correct units usage.
2021-02-15 18:37:10 +00:00
jean-pierre charras
443b85739c
typo
2021-02-15 07:53:01 +01:00
Jeff Young
5afc56e285
Because we (evidently) didn't have enough display hacks....
...
Also adds back menubar, which appears to be required for cmd-Q on Mac.
2021-02-14 12:15:26 +00:00
Jeff Young
cb7add9280
Fix a few minor things in PCB Calc, and update units to SI.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/7525
Fixes https://gitlab.com/kicad/code/kicad/issues/3435
2021-02-14 12:15:26 +00:00
Jeff Young
25f621e880
Fix a lot of GUI guideline issues in PCB Calculator.
...
Colons, capitalization, spacing, etc.
Also fixes another bitmap refresh bug on OSX.
2021-02-13 16:48:47 +00:00
Jeff Young
3f9841355d
SVG-based regulator and attenuator bitmaps.
2021-02-13 16:48:47 +00:00
Jeff Young
2773bcf35b
Use new SVG bitmaps for PCB Calculator.
...
They have transparent backgrouds so don't need the whiting out. They
also suffer from pixellation a lot less.
Fixes https://gitlab.com/kicad/code/kicad/issues/7491
2021-02-12 22:08:19 +00:00
Jeff Young
be6683b8b7
Fix cross-platform issue.
2021-02-12 15:56:01 +00:00
jean-pierre charras
6b6d689232
French translation update.
2021-02-12 16:34:46 +01:00
Jeff Young
55020ce2c7
Some more pcb calculator refresh hacks.
...
Also adjusts the spacing and decimal point in the E-series page.
Fixes https://gitlab.com/kicad/code/kicad/issues/5634
2021-02-12 13:53:29 +00:00
Jeff Young
9094ba8033
A veritable cornucopia of wxWidgets hacks for pcb calculator.
...
Most of these are display hacks because (at least on OSX) assigning
bitmaps or doing a layout before the controls are visible tends to
not work. There are also some layout cleanups and some layout hacks
(horizontal radio button groups, for instance, lay out on top of each
other on OSX).
Fixes https://gitlab.com/kicad/code/kicad/issues/7491
2021-02-12 13:53:29 +00:00
Ian McInerney
beb50c529e
Reorganize the CMake folder to separate build and configure steps
...
The BuildSteps folder now contains the CMake scripts that are
called during the build process as individual stages, while
the root CMakeModules directory contains the CMake files used
during the configuration phase.
2021-01-28 00:24:22 +00:00
Jonathan Haas
a8907f3591
E-Series calculator: Make strings translatable
2021-01-27 16:33:48 +00:00
Seth Hillbrand
321c9f81af
Remove Benchmarking output and clarify exclusion
...
By default, the e series calculator does not return the input value.
This would be counter-productive b/c if you are looking for a new value,
we assume that is because you do not already have the existing value to
hand.
2021-01-24 11:43:57 -08:00
Dominik Wernberger
ac94d72d2d
Add more const specifiers
2021-01-12 20:51:31 +00:00
Michael Kavanagh
a4ab596b8d
Icons: use standard arrows in PCB Calculator
2021-01-04 17:41:09 +00:00
Seth Hillbrand
61ac9c8d90
Add multiple size icons for programs
...
In theory, the WM should now choose the closest size icon for its
purpose, making it easier to distinguish in space-constrained settings
Fixes https://gitlab.com/kicad/code/kicad/issues/6798
2020-12-22 15:37:26 -08:00
Seth Hillbrand
54ca087999
Update icon resource sets
...
Updates the .icns, .ico and .png files used by various distros to show
KiCad and KiCad files.
2020-12-22 15:16:33 -08:00
Jeff Young
a207bd97bb
Naming conventions.
2020-11-17 16:05:49 +00:00
Wayne Stambaugh
c7926db553
More minor dialog layout improvements.
2020-11-16 07:29:07 -05:00
jean-pierre charras
f9a19f1d13
Language selection: do not disallow switching to English language when the
...
English dictionnary is missing. It is not mandatory because all messages are
in English, just restricted to ASCII7 chars
Fixes #6261
https://gitlab.com/kicad/code/kicad/issues/6261
2020-11-03 11:47:28 +01:00
Seth Hillbrand
63bd2b2b16
Fix markdown code for pcb calculator
...
Avoid '%' in translated strings and simplify the language used in
eserie_help
2020-11-02 20:04:31 -08:00
Ian McInerney
31e626f279
Cleanup creation of all our smart pointers
2020-10-26 23:52:44 +00:00
Marek Roszko
1d559108c8
Move LOCALE_IO out of common.h
2020-10-23 21:49:42 -04:00
Wayne Stambaugh
d8ffea881e
Improve dialog static sizer box consistency.
...
Remove colons from the end of static sizer box labels from a few dialogs so
they are consistent with all dialogs.
2020-10-22 22:00:04 -04:00
Seth Hillbrand
848c82f4a5
Also correct kHz
2020-10-20 12:29:53 -07:00
Seth Hillbrand
27b7138fb6
Standardize to SI prefix on kOhm
2020-10-20 12:28:45 -07:00
Seth Hillbrand
e0b439492f
Unify temporary string -> dummy
2020-10-20 12:26:33 -07:00
Marek Roszko
b2e9f6987d
Split base_struct into eda_item and eda_rect
2020-10-13 21:24:50 -04:00
Marek Roszko
cfdd105cdd
Some more cleaning in pcb calculator
2020-10-12 22:01:44 -04:00
Marek Roszko
3a88992f8e
Split out the regulator dialog into unique file and fix filenames
2020-10-12 22:01:43 -04:00
Marek Roszko
2ade8031dc
Clean up pcb_calculator includes a bit and rename files
2020-10-12 22:01:43 -04:00
Mark Roszko
a8bd0a9b84
Handle Windows manifests ourselves and add dpi awareness option
2020-10-10 19:08:23 +00:00
Jeff Young
0bc7bbbadb
Report silk/edge collisions.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/5854
Fixes https://gitlab.com/kicad/code/kicad/issues/4892
2020-10-06 14:21:18 +01:00
jean-pierre charras
13304d0870
more cleanup about removing useless include
2020-10-02 13:40:00 +02:00
Ian McInerney
b7e7cf9212
Some code cleanup
2020-09-22 12:29:55 +01:00
Ian McInerney
c40470ed0b
Initialize more variables
2020-09-22 12:29:13 +01:00
Seth Hillbrand
3eb7dc6eef
Limit displayed error percentage
...
When calculating E series resistors, display error percentage down to
0.01% but rather than showing 0.00% error for smaller values, we now
show the error is "<0.01%" until it is exact.
Fixes https://gitlab.com/kicad/code/kicad/issues/5731
2020-09-21 06:20:32 -07:00
Roberto Fernandez Bautista
8b82852054
Hide header inside #ifdef statement
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5645
2020-09-15 21:30:50 +00:00
Janvi
1b56e2e95d
ADDED: E-Series Resistor Calculator
...
Fixes https://gitlab.com/kicad/code/kicad/issues/2155
2020-09-15 14:03:07 +00:00
jean-pierre charras
dfe3270142
Pcb_calculator: fix config read/write issue in non English language.
...
Some translated strings were used as keyword if json file.
this is incorrect. Now translatable names and keywords are separate strings.
(Although they are the same in English)
Fixes #5244
https://gitlab.com/kicad/code/kicad/issues/5244
2020-08-24 13:37:40 +02:00
jean-pierre charras
e3d9d5fa88
Pcb_calculator: add missing code to store its full config.
2020-08-24 12:40:38 +02:00
jean-pierre charras
c80d029681
json_settings.cpp: add more log traces on errors, when trying to save a json config.
...
pcb_calculator: fix a minor cosmetic issue: disabled wxStaticTexts are not very readable
on wxWidgets 3.1.4, so do not use disabled wxStaticTexts.
2020-08-23 15:01:52 +02:00
jean-pierre charras
23a5b0ca5f
fix a few compil warnings and a Coverity warning.
2020-08-10 18:32:44 +02:00
jean-pierre charras
61ada3a602
Remove translation markers from strings that cannot be translated.
2020-08-08 07:47:58 +02:00
jean-pierre charras
8005de27c0
Fix a compil warning and 2 Coverity warnings.
2020-08-07 13:13:25 +02:00
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
2020-08-07 00:09:33 +00:00
Ian McInerney
acc3217a95
Renormalize line endings and enforce normalization for all contributors
2020-08-03 23:15:10 +01:00
Fabien Corona
edba020f44
Pcb calculator: Create new SVG pictures for the panels
2020-07-31 21:31:36 +00:00
jean-pierre charras
65550e6a6e
Fix a link issue (symbol not found) on Windows.
2020-06-21 10:32:42 +02:00
Jeff Young
ad12c42e8b
Push grid settings dialogs down into common.
...
This also gives support for fast grid switching and a user grid
to eeschema.
Fixes https://gitlab.com/kicad/code/kicad/issues/2200
2020-06-14 19:26:37 +01:00
Jeff Young
fc44506fe1
Give up on enforcing non-defined-internal-units.
...
It results in trade-offs in packaging and/or conidtional compilation
which are worse than the disease.
2020-06-13 22:44:16 +01:00
jean-pierre charras
6e47f147aa
A few Coverity fixes.
2020-03-30 09:50:26 +02:00
Jeff Young
d69ebfae49
Push tool framework base down into TOOL_HOLDER.
...
This allows us to use it outside of EDA_BASE_FRAMEs (in this case, in
PANEL_PREVIEW_3D.)
2020-03-24 19:00:25 +00:00
Michael Kavanagh
daa41c663b
Pcb calculator: remove unused variable
...
Fixes https://gitlab.com/kicad/code/kicad/issues/3907
2020-03-01 12:01:03 +00:00
Jon Evans
e59a3d981e
Implement a new settings framework across all of KiCad
...
CHANGED: Settings are now stored in versioned sub-directories
ADDED: First-run dialog for migrating settings from a previous version
CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files
CHANGED: Color settings are now all stored in a separate settings file
CHANGED: The symbol editor and footprint editor now have their own settings files
CHANGED: Color settings are no longer exposed through BOARD object
CHANGED: Page layout editor now uses Eeschema's color scheme
Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE.
Existing settings will be migrated from the wxConfig format on first run of each application.
Per-application settings are now stored in one class for each application.
2020-02-19 23:44:56 -05:00
jean-pierre charras
5d5363396c
Add automatically generated files needed for translations.
...
These help files are created from the .md source files and contain I18n strings,
but do not exist if kicad is not built from sources.
However they are needed by translators.
2020-01-29 18:47:06 +01:00
Ian McInerney
06c979dfaa
Convert all CMake paths to absolute instead of relative
...
It is cleaner and safer to handle the include and source paths
as absolute from the source directory instead of relative to every
path.
2020-01-22 23:27:20 +00:00
Seth Hillbrand
7c28c3838a
Comment-only changes
...
Makes class comments conform to coding standards
2020-01-10 16:43:01 -08:00