jean-pierre charras
45166bf5c3
Gerbview: fix broken behavior for deprecated command IPPOS and IPNEG
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21715
2025-09-11 14:30:50 +02:00
Jeff Young
8c3026cf1a
Naming conventions.
2025-08-25 12:13:38 +01:00
Seth Hillbrand
26f0c03e61
ADDED: support for 45 degree crosshairs
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6047
2025-08-23 06:20:00 -07:00
jean-pierre charras
6d576a11a8
Fix 2 compil warnings.
2025-08-16 17:19:26 +02:00
Jeff Young
d5f16adde1
ADDED: maintenance page to preferences.
2025-08-15 16:57:46 +01:00
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
2025-08-12 16:48:36 -07:00
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
2025-08-12 07:04:54 -07:00
Jeff Young
6947b3b233
Even more open-coded dialog state-saving cleanup.
2025-08-11 17:19:12 +01:00
Jeff Young
57f3f22aa4
nullptr safety
2025-08-03 12:51:34 +01:00
Jeff Young
65f4524164
Cleanup (KICAD-XZP).
2025-07-28 19:37:52 +01:00
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
2025-07-23 17:36:51 -07:00
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.
2025-07-17 11:00:14 +02:00
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
2025-07-15 15:24:11 +01:00
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
2025-07-14 15:30:42 -07:00
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.)
2025-07-02 23:10:10 -06:00
Jeff Young
238719184e
Prevent assert (and access violation) in wxWidgets.
...
(It directly dereferences the ArrayString with the
FilterIndex, without bounds checking it.)
2025-06-30 11:59:08 -06:00
Jeff Young
ca1db93013
Iterator safety.
2025-06-16 11:46:18 +01:00
Jeff Young
3bc4cbc596
Performance tweaks.
2025-06-14 20:25:59 +01:00
Jeff Young
18e107529a
Don't force callers of GetAppSettings to implement exception processing.
2025-06-14 20:25:59 +01:00
Jeff Young
5ed332771c
Don't overwrite return value.
2025-06-14 20:25:59 +01:00
Jeff Young
e4294aab85
Don't export negative layers to copper.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20949
2025-06-10 09:43:39 +01:00
Jeff Young
e045def6f7
Correct underline spacing in dialogs; flatten origins & axes.
2025-06-09 12:53:11 +01:00
Jeff Young
af1a246e12
Nullptr safety.
2025-06-06 18:28:39 +01:00
Jeff Young
d6857ddc56
Naming conventions.
2025-06-06 18:28:39 +01:00
Jeff Young
863d3c3603
Fix logic that's been broken for 11 years.
...
(And was doubly-broken when copper layers went to
even numbers only.)
2025-06-06 18:25:20 +01:00
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.
2025-06-01 19:38:24 +01:00
Jeff Young
e03cb736f2
Move board functions to BOARD_EDITOR_CONTROL.
2025-05-24 18:30:30 +01:00
Seth Hillbrand
b2cfcd567e
Prevent unneeded copy
2025-05-14 10:05:37 -07:00
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
2025-04-28 17:46:14 +02:00
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
2025-04-27 17:34:18 +01:00
jean-pierre charras
c7e4875505
Gerbview: fix a few issues when loading zip files
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20779
2025-04-26 10:37:23 +02:00
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
2025-04-15 20:57:23 +01:00
Mike Williams
40058ebe80
actions: move all basic selection operations to common actions
2025-04-02 12:02:01 -04:00
Jeff Young
4ae4f9ea87
Wait for wxWidgets to destroy window.
2025-03-31 15:14:59 +01:00
jean-pierre charras
7bd4fa3fa6
Fix a Coverity and a compil minor warning
2025-03-26 13:19:00 +01:00
Jeff Young
0a4533703c
Performance.
2025-03-24 10:28:41 +00:00
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
2025-03-20 11:27:53 +01:00
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.)
2025-03-07 13:01:00 +00:00
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
2025-03-02 11:34:30 +01:00
Jeff Young
f951497a4f
Code brevity.
2025-03-01 21:58:31 +00:00
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
2025-02-28 01:57:37 +00:00
Ian McInerney
548334b4e2
Load toolbar configuration from settings
2025-02-28 01:57:37 +00:00
Ian McInerney
fc6f3f2332
Formatting tweak
2025-02-28 01:57:37 +00:00
Ian McInerney
7ad1103f55
Move toolbars to a serializable storage format
2025-02-28 01:57:37 +00:00
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.
2025-02-28 01:57:37 +00:00
Jeff Young
6a3f52dbaf
Ignore negative layers when exporting Gerbers.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16871
2025-02-19 23:43:53 +00:00
Jeff Young
ec649593ae
Fix layout issues in print dialog controls.
2025-02-03 21:41:03 +00:00
Jeff Young
8874f137fa
Read hotkeys from disk after they change.
...
(Otherwise we'll write the old versions back out
when closing one app.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19612
2025-02-01 20:01:13 +00:00
jean-pierre charras
89e80586cd
Gerber export to pcb: handle rect aperture to draw lines on non copper layers
...
On copper layers, all lines are exported as tracks, so they always use a round
aperture.
Note also rect aperture to draw lines and arcs are deprecated since 2020
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19553
2025-01-09 11:02:15 +01:00
Seth Hillbrand
066380ffeb
Clean up a few gerbview export to pcbnew layers
...
There's a lot of hard coded stuff in gerbview. This removes a few
duplicated functions and gets the layer export back into working shape
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19552
2025-01-08 16:00:44 -08:00