Wayne Stambaugh
53f5d616aa
Coverity issue fixes.
4 years ago
Jeff Young
0b48876ce5
Decouple left and right pane minimums for splitter window.
4 years ago
Roberto Fernandez Bautista
a79a221257
Array creator tool: Add option to assign unique reference designators
ADDED: Option to assign unique reference designators to footprints
created with the array tool [pcbnew]
CHANGED: Array creator dialog no longer displays pad numbering properties
when in the board editor. [pcbnew]
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2354
4 years ago
Mikolaj Wielgus
5f53019290
Substitute all wxHtmlWindow with HTML_WINDOW
Remove other places where <body> tag is used to override the default
black-on-white theme.
4 years ago
Seth Hillbrand
41e7284fdc
Speed up pcbnew loading/updating
Rather than detaching and re-attaching the layer panels with the
attendant overhead, we keep each panel intact and only update its
contents. Since the bindings are the same, this saves substantial time
on pcb loading as well as when closing the board setup dialog
4 years ago
Jeff Young
95f841a037
A more nuanced method of making Board & Schematic Setup read-only.
This one still allows you to scroll to see all contents.
Fixes https://gitlab.com/kicad/code/kicad/issues/9302
4 years ago
Seth Hillbrand
9a8d1246cc
We don't keep a CHANGELOG.TXT
Direct interested readers to AUTHORS.TXT instead.
4 years ago
Jeff Young
5f3c67bd2b
Fill in some missing GetMsgPanelItems and make some others consistent.
Also expunges a std::vector<MSG_PANEL_ITEM> cover type.
4 years ago
Jeff Young
c7f098ab25
Remove unused variable.
4 years ago
Seth Hillbrand
0f10748226
Disallow Ctrl-Tab and Ctrl-Shift-Tab as hotkeys
Fixes https://gitlab.com/kicad/code/kicad/issues/9010
4 years ago
Jeff Young
a5247471f7
Expunge a bunch more fixed font specs from wxFormBuilder files.
Also removes the -1 sizing of the status bar on GTK and MSW.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
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
4 years ago
Jeff Young
fbee62fc15
Tie font size scaling to when automatic icon scaling fails.
It appears that SetSymbolicSize() and ConvertDialogToPixes() fail
under the same circumstances.
4 years ago
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
4 years ago
Jeff Young
f013dbc7c4
More uniform handling of status fonts.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Jeff Young
e7debc495b
WIP
4 years ago
Jon Evans
c80efb0f98
Fix save/load of appearance panel width on show/hide
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8982
4 years ago
Wayne Stambaugh
b14b8b5fb1
Move headers from common folders to the appropriate include folders.
4 years ago
Wayne Stambaugh
8e1015fcc4
Remove all wxWidgets build dependencies from REPORTER object header.
4 years ago
Jeff Young
41619ebbe2
Decouple PROGRESS_REPORTER interface from implementations.
4 years ago
Jeff Young
c536a4c4f2
Work around annoying wxWidgets assert.
4 years ago
Jeff Young
a10f2b284c
Unify negative zero and percent handling in UNIT_BINDER.
Some values, such as solder mask margins, are usually negative and it
helps to display zero as "-0.0".
4 years ago
Jeff Young
c51b1dad72
Generalize infobar MESSAGE_TYPE handling and use for DRC errors.
Fixes https://gitlab.com/kicad/code/kicad/issues/8782
4 years ago
Jeff Young
f221220fe2
Rename layer ids file.
It hasn't had anything to do with colors or visibility for some time
now.
4 years ago
Ian McInerney
36d66085f5
Add a column showing 3D model file loading errors
This adds an icon to the left of the row with an error symbol if the
file can't be found or opened, and shows a tooltip over the icon with
and error string.
Fixes https://gitlab.com/kicad/code/kicad/issues/3815
4 years ago
Wayne Stambaugh
37b200cb3e
Pass wxString objects by reference instead of on the stack.
4 years ago
Wayne Stambaugh
78e5e98ea0
Pass VECTOR2I objects by reference instead of on the stack.
4 years ago
Wayne Stambaugh
89b1fdabe9
Pass COLOR4D object by reference instead of on the stack.
4 years ago
Wayne Stambaugh
bcd6bddfd4
Start expunging NULL.
Given that KiCad is a C++ project, we should really be using nullptr
instead of NULL.
4 years ago
Wayne Stambaugh
01515680b3
Code cleaning.
4 years ago
jean-pierre charras
fb246403d2
PROGRESS_REPORTER: avoid clipping the bottom of the dialog in some cases.
It occurred on Windows, when the message to display is too long and was
displayed using 2 lines.
Now the dialog is resize after changing the message.
Fixes #7953
https://gitlab.com/kicad/code/kicad/issues/7953
4 years ago
Marek Roszko
1fb42c5e43
Try and cleanup the input focus/key event a little
4 years ago
Marek Roszko
d2aeddc6cb
Add debouncing to the choose symbol dialog.
More potato pc friendly in theory.
4 years ago
Marek Roszko
3b33f94c56
Use a wxSearchCtrl instead of wxTextCtrl for the symbol chooser window
This just makes it prettier with the search icon and cancel
4 years ago
Jon Evans
e95323a37e
Revert "Remove unused variable."
It's only unused on Mac
This reverts commit d3fb22014f
.
4 years ago
Jeff Young
d3fb22014f
Remove unused variable.
4 years ago
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
david-beinder
da833ad7dd
Separate focus from hover state in BITMAP_BUTTON, trigger after mouse down+up
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8556
Adds AcceptDragInAsClick() to maintain support for use in toolbar palettes
4 years ago
Marek Roszko
803e2101de
Fix MSVC compile error
Templates and linkage, ugh
4 years ago
Jeff Young
44086ff2b2
Pull 3D preferences into KiCad preferences architecture.
Fixes https://gitlab.com/kicad/code/kicad/issues/5187
4 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
4 years ago
Marek Roszko
8f2819cfa4
Kill the last of wx/wx.h in headers
4 years ago
Marek Roszko
38e3b7eacd
We don't need eda_item in unit_binder.h
4 years ago
Wayne Stambaugh
7c14e4e967
Common widget header housekeeping.
4 years ago
Ian McInerney
3ab69939f9
Remove wx.h from many files
4 years ago
Marek Roszko
382dca4e6f
Fix uninitialized member warnings
Based on PVS Studio report
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
Marcus A. Romer
1632707d9b
Replace tabs with spaces
5 years ago