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
4 years ago
Jeff Young
a1dfc36233
More error message regularization.
4 years ago
Jeff Young
1722bc03b0
Consistent terminology and punctuation.
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
Marek Roszko
0bc0f2265e
dialog_board_statistics.h shouldn't leak confirm.h
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
jean-pierre charras
0427bda768
Remove useless wx/wx.h include, that create sometimes compil warnings on msys.
wx/wx.h includes all wxWidgets .h files, and sometimes creates collision
names in #define between kicad and windows headers
Moreover, blindly including a lot of useless files is compil time consuming
5 years ago
Marek Roszko
03cf2b517f
Enum class PAD_ATTR_T
Renamed such that python stays the same
5 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
9106cc19bf
Yet another tranche of module -> footprint.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago
Jeff Young
f5443de7f9
D_PAD -> PAD.
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
5 years ago
Seth Hillbrand
4085757aeb
Remove beginning/ending spaces in translations
Adding space padding makes translations more difficult by increasing
string counts
5 years ago
Ian McInerney
5828416960
Simplify area printing in the board statistics dialog
Store the board area in IU, and then convert it to the user
units on display using the common unit printing functions.
5 years ago
Ian McInerney
ad29a2f3b4
Update more places to properly display mils
5 years ago
Seth Hillbrand
bf3cb0b1d0
Standardize pad type enums
5 years ago
Jeff Young
e7db43285f
ADDED new footprint fabrication attributes.
This commit also adds mapping of the new symbol properties
"exclude from BOM" and "exclude from board" to be correctly
handled in Update Board from Schematic.
Fixes https://gitlab.com/kicad/code/kicad/issues/2399
Fixes https://gitlab.com/kicad/code/kicad/issues/4643
Fixes https://gitlab.com/kicad/code/kicad/issues/2233
5 years ago
Mark Roszko
19ceb11ae7
Change more enums over to scoped enums
6 years ago
Mark Roszko
11ff16be4e
Switch to scoped enums
6 years ago
Seth Hillbrand
c6f5df134c
Minor speed cleanup
This adjusts iterators to use const reference when only used for
copy. It also ensures pre-allocation of vectors when size is known
ahead of time.
6 years ago
jean-pierre charras
f333d1b974
fix typo creating compil issue
6 years ago
jean-pierre charras
de2818c113
Fix a few I18n minor issues.
6 years ago
Ian McInerney
9f0c131ba4
Fix build error in DIALOG_BOARD_STATISTICS
When passing the functions into the wxEventHandler setup functions
they must be fully qualified with the class name.
6 years ago
Mikołaj Wielgus
4b92c516e1
Pcbnew: Add drill holes table to board statistics
NEW: Add drill holes table to board statistics as a separate tab in the board
statistics dialog. Print the drill holes table in the generated statistics file.
NEW: Make the generated statistics file Markdown compatible.
6 years ago
Seth Hillbrand
7c37641d83
pcbnew: Partial board stats cleanup
Fixes ordering issue and int/double conversion in board area
Moves via casting to internal dyn_cast
6 years ago
Seth Hillbrand
2518a2cc81
pcbnew:Initialize board statistics
Uninitialized values can cause odd output values. Also adjust absolute
calc to utilize floating point returns.
Fixes: lp:1838325
* https://bugs.launchpad.net/kicad/+bug/1838325
6 years ago
Jeff Young
fb21077d3a
Fix some alignment issues in dialog and formatting issues in code.
Fixes: lp:1840775
* https://bugs.launchpad.net/kicad/+bug/1840775
6 years ago
jean-pierre charras
7bfbcef942
Make some strings more easily translatable
DIALOG_BOARD_STATISTICS: fix some minor issues.
6 years ago
jean-pierre charras
10fcd8eaef
DIALOG_BOARD_STATISTICS_BASE: fix minor wxWidgets alerts.
6 years ago
Alexander
a6b2a44fd6
DIALOG_BOARD_STATISTICS modifications and fixes - added vias information to dialog - added "save txt report" feature - some code cleanup and readability fixes - fixed issue with dialog moving when checkbox clicked - now dialog saves checkboxes state
6 years ago
jean-pierre charras
346495ae31
Fix errors in DIALOG_BOARD_STATISTICS.
(some values were not in the right column or row)
6 years ago
jean-pierre charras
88801f46d9
Fix issues in DIALOG_BOARD_STATISTICS:
- make it wxWidgets 3.1 compatible.
- internationalize.
- fix minor wxwidgets alert.
- remove settings for fg/bg color: the result is unpredictable:
was black texts on black background on my computer.
6 years ago
Jeff Young
ab7cf4a2b0
A bit of visual cleanup for the new Board Statistics dialog.
6 years ago
Alexander
bb290abe91
added board statistics dialog, which shows info for production and assembly
6 years ago