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.
2 years ago
Jeff Young
2c34a08bf1
Ignore empty field-name-templates.
Fixes https://gitlab.com/kicad/code/kicad/issues/14552
3 years ago
Jeff Young
220c5a259b
Refresh schematic's copy of template fieldnames after preferences.
Fixes https://gitlab.com/kicad/code/kicad/issues/13203
3 years ago
Marek Roszko
d2c0f5fc2a
More wxSing
3 years ago
Jeff Young
c0872364d4
Get rid of bloated bitmap buttons on wxWidgets 3.2.
3 years ago
Jeff Young
1b3f03a800
Don't feed wxWidgets negative column widths.
3 years ago
Jeff Young
f179754118
Implement add-new-on-return for some of our grids.
Fixes https://gitlab.com/kicad/code/kicad/issues/12335
3 years ago
Jeff Young
9584849aba
Fix type which results in global fieldname templates being added to project.
4 years ago
Mike Williams
1090403ca2
Schematic Preferences: fix grid assert on negative width
4 years ago
jean-pierre charras
e00e9ff41f
PANEL_TEMPLATE_FIELDNAMES: fix incorrect management of boolean options
(it was impossible to disable them)
Fixes #10280
https://gitlab.com/kicad/code/kicad/issues/10280
4 years ago
Jeff Young
d28714167c
All the preferences, all the time.
Fixes https://gitlab.com/kicad/code/kicad/issues/7877
Fixes https://gitlab.com/kicad/code/kicad/issues/5153
4 years ago
Jeff Young
88fc6d25a7
Correctly handle deleting multiple selections in some grids.
Fixes https://gitlab.com/kicad/code/kicad/issues/9952
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Jeff Young
c536a4c4f2
Work around annoying wxWidgets assert.
4 years ago
Jeff Young
a06b95bb1f
Even out spacing around various panels.
4 years ago
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.
5 years ago
Michael Kavanagh
154e19b6e7
Icons: use common prefix for small 16x16
5 years ago
Jeff Young
a9271e43cc
Read global fieldNameTemplates for project but don't write them.
Writing responsibility goes to the preferences dialog handler.
Fixes https://gitlab.com/kicad/code/kicad/issues/6450
5 years ago
jean-pierre charras
bda275de46
more cleanup about removing useless include
5 years ago
Jeff Young
20211eed49
Unroll a level of prefs for fieldname templates.
It was playing havoc with the saving of project and global templates
without one overwriting the other.
Fixes https://gitlab.com/kicad/code/kicad/issues/5415
5 years ago
Jeff Young
3c3984a6fc
Generalize default footprint fields.
Fixes https://gitlab.com/kicad/code/kicad/issues/2289
6 years ago
jean-pierre charras
096564ec0c
Fix some typos and I18n issues
6 years ago
Jeff Young
591428b0d9
Remove some problematic global variables.
Fixes https://gitlab.com/kicad/code/kicad/issues/4121
6 years ago
Jeff Young
085d80e3f3
Remove duplicated settings from preferences.
These have now moved to project-specific settings.
6 years ago
Jeff Young
437f888c25
Schematic Setup dialog.
Includes:
- moving some of the project settings from the Preferences dialog
- ERC severites
- project-specific field-name templates
Fixes https://gitlab.com/kicad/code/kicad/issues/2145
6 years ago
jean-pierre charras
f1c1c5db3f
Fix a minor compil warning
7 years ago
Maciej Suminski
6d8ca311f8
Fix a crash after clicking 'delete' button with empty Template Field Names grid
7 years ago
Jeff Young
b90a261d5c
More safety fixes for uncommitted grid changes.
7 years ago
Jeff Young
e932eed738
Allow TemplateFieldNames to specify URL-behaviour.
Fixes: lp:1785879
* https://bugs.launchpad.net/kicad/+bug/1785879
7 years ago
Jeff Young
3e062867de
Move all the grid workarounds into our own WX_GRID class.
(cherry picked from commit 08b4463)
8 years ago
Jeff Young
7841f8a466
Unified preferences dialog framework.
(cherry picked from commit 8ee3e77)
8 years ago