Seth Hillbrand
61ab7cc915
ADDED: AUI Memory
Using the new wx3.3 routines to serialize the state of our AUI elements,
we store them using JSON in the preferences for each window
I have left the SavePerspective in place for now to see how legacy
(mostly *nix) builds handle this and provide a smooth transition to 3.3
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2381
2 weeks ago
Seth Hillbrand
0785e7525b
Auto-update flyout icons when changed
Provides an update action to refresh the icon display when the user
changes the angle mode using a hotkey. Also unifies the angle modes
between schematic, pcb and library editors
2 weeks ago
Mark Roszko
1e9025a4dc
Move to a fixed enum for page sizes as well as well as holding a list of types accessible in a vector.
Drops some hardcoded size names in places among other bits.
Woooo committed pushed at 36000 feet.
3 weeks ago
jean-pierre charras
45166bf5c3
Gerbview: fix broken behavior for deprecated command IPPOS and IPNEG
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21715
3 weeks ago
Jeff Young
8c3026cf1a
Naming conventions.
1 month ago
Seth Hillbrand
26f0c03e61
ADDED: support for 45 degree crosshairs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6047
1 month ago
jean-pierre charras
6d576a11a8
Fix 2 compil warnings.
2 months ago
Jeff Young
d5f16adde1
ADDED: maintenance page to preferences.
2 months ago
Seth Hillbrand
188ffda029
Add a 90°-only mode for polygon creation
Sometimes, you don't want those 45° corners in your nice, clean zones.
This adds an additional mode that can be selected, cycling through
free-angle, 45° angle and 90° angle constraints
2 months ago
Seth Hillbrand
0a5de5010f
ADDED: Spacemouse support for Linux
Uses libspnav to handle spacemouse data. Overlays on existing
spacemouse framework to handle view activation
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16133
9 months ago
Jeff Young
6947b3b233
Even more open-coded dialog state-saving cleanup.
2 months ago
Jeff Young
57f3f22aa4
nullptr safety
2 months ago
Jeff Young
65f4524164
Cleanup (KICAD-XZP).
2 months ago
Seth Hillbrand
094870e7a4
String fixes
- Clarify wording in a couple places
- Fix missing 'not' and remove non-standard dashes
- Standardize on single-quote for strings in strings
2 months ago
jean-pierre charras
e6c36703d0
Gerbview: code cleaning: update a .fbp dialog to use our usual .fbp settings
It does not really change the actual code.
3 months ago
Jeff Young
6541202d42
Repair COMMON_TOOLS to know about frame-specific WINDOW_SETTINGS
Remove the older architectures for ensuring non-empty
grids and zooms
Move new architecture to PARAM_LIST::Load,
and add zoom support
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21318
3 months ago
Seth Hillbrand
6cd076eed4
Blast quite a bit of LOCALE_IO into the sun
After forcing the locale-specific read/writes out of our IO, we can
remove the global LOCALE_IO calls in many places.
Still to do: exporters, pcm, specctra, settings, drawing sheets,
plotters
3 months ago
Jeff Young
21b294e204
Don't specify number of rows, wxWidgets will figure it out (KICAD-7HS)
(and likes to assert if you don't let it.)
3 months ago
Jeff Young
238719184e
Prevent assert (and access violation) in wxWidgets.
(It directly dereferences the ArrayString with the
FilterIndex, without bounds checking it.)
3 months ago
Jeff Young
ca1db93013
Iterator safety.
4 months ago
Jeff Young
3bc4cbc596
Performance tweaks.
4 months ago
Jeff Young
18e107529a
Don't force callers of GetAppSettings to implement exception processing.
4 months ago
Jeff Young
5ed332771c
Don't overwrite return value.
4 months ago
Jeff Young
e4294aab85
Don't export negative layers to copper.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20949
4 months ago
Jeff Young
e045def6f7
Correct underline spacing in dialogs; flatten origins & axes.
4 months ago
Jeff Young
af1a246e12
Nullptr safety.
4 months ago
Jeff Young
d6857ddc56
Naming conventions.
4 months ago
Jeff Young
863d3c3603
Fix logic that's been broken for 11 years.
(And was doubly-broken when copper layers went to
even numbers only.)
4 months ago
Jeff Young
06dcb64ad8
Harden progress reporter API against misuse.
Also, titles are nouns, not verbs. (Messages
*inside* reporters are verbs.)
Also implements progress reporter for Altium
schematic import.
4 months ago
Jeff Young
e03cb736f2
Move board functions to BOARD_EDITOR_CONTROL.
4 months ago
Seth Hillbrand
b2cfcd567e
Prevent unneeded copy
5 months ago
jean-pierre charras
d5cf541974
Gerbview: fix a maximum number (50) of Error messages in report list.
Having a lot of errors can happen when trying to open a non gerber files
(this is easy when loading a zip archive).
With a *lot* of errors (if a large .step file is found) Gerbview can hang.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20799
5 months ago
Jeff Young
2b33a03954
Make Edit Text & Graphics dialogs more similar.
Also a bunch of cleanup for dialog heading
format and info sizes.
Also fixups for consistency of syntax help
(should be a link, not a button)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20790
5 months ago
jean-pierre charras
c7e4875505
Gerbview: fix a few issues when loading zip files
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20779
5 months ago
JamesJCode
a5be581b1b
Add char_traits<T> specialisations for wxUniChar and NANODBC_SQLCHAR
when building on Apple with Clang >= 17.
These specialisations are not strictly required by the C++ standard,
and have been removed from LLVM.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20631
6 months ago
Mike Williams
40058ebe80
actions: move all basic selection operations to common actions
6 months ago
Jeff Young
4ae4f9ea87
Wait for wxWidgets to destroy window.
6 months ago
jean-pierre charras
7bd4fa3fa6
Fix a Coverity and a compil minor warning
6 months ago
Jeff Young
0a4533703c
Performance.
7 months ago
Brendan Hickey
33a8cd942f
Increase GerbView max DCode Id to 2^31-1
I (charrasjp) fixed the compil issues of the Brendan Hickey's initial work and some other minor issues.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20323
7 months ago
Jeff Young
877c6bce89
Printing is not zoom-specific.
(Some of these items don't currently get printed, but
there's no sense in leaving a latent bug around in case
we ever change our minds.)
7 months ago
jean-pierre charras
eaa1e6d594
Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
7 months ago
Jeff Young
f951497a4f
Code brevity.
7 months ago
Ian McInerney
85810510f4
Tweak toolbar settings a bit
* Manage the settings using the settings manager for better lifetimes
* Better architect the internals and JSON to make it easier to identify
the various tool types
7 months ago
Ian McInerney
548334b4e2
Load toolbar configuration from settings
7 months ago
Ian McInerney
fc6f3f2332
Formatting tweak
8 months ago
Ian McInerney
7ad1103f55
Move toolbars to a serializable storage format
8 months ago
Ian McInerney
c24dbc17bf
Move toolbar setup flags into the action definition
This makes them centrally defined, and removes the need to specify them
when creating the toolbar.
8 months ago
Jeff Young
6a3f52dbaf
Ignore negative layers when exporting Gerbers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16871
8 months ago
Jeff Young
ec649593ae
Fix layout issues in print dialog controls.
8 months ago