Seth Hillbrand
f38e661a02
Revert "Move GL Context into Singleton class"
...
This reverts commit 5326c36a5ff8a3a465d386cc31172aa90847a9e9.
2025-01-03 21:22:37 -08:00
Seth Hillbrand
5326c36a5f
Move GL Context into Singleton class
...
The GL context lock needs to be shared across kifaces. Otherwise, we
can end up blocking the lock from one kiface. Unfortunately, I can't
find the issue in GitLab right now for where the footprint viewer shows
a blank screen after opening too many contexts. But that's what this
fixes.
2025-01-03 17:26:23 -08:00
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
...
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
jean-pierre charras
59f6ffc05d
pagelayout_editor: Avoid multiple or useless calls to OnAcceptPrms()
...
These useless calls, have a cost in calculation time.
2024-12-23 11:08:02 +01:00
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
...
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
Jeff Young
0bcf6000a4
Formatting.
2024-12-08 21:46:54 +00:00
Seth Hillbrand
d7137c4a05
Cleanup VIEW class
...
Ununsed m_dynamic class variable
2024-11-21 18:59:48 -08:00
jean-pierre charras
b60acbb635
pagelayout_editor: lock panel update during widgets rebuild.
...
The rebuild is much faster.
2024-10-17 12:48:21 +02:00
John Beard
c799966774
Handle pasting of image data from the clipboard
...
Also move some clipboard functions out of TOOL_MANAGER,
as they had no dependency on that class, and are just free
functions around wxTheClipboard.
2024-10-13 20:47:45 +08:00
Mike Williams
bfae4a99a4
editors: block paste while in tool in schematic/sym/page layout
...
PCB and footprint editors were already blocking this. Otherwise we would
get weird issues when pasting while drawing things like sheets or
textboxes that aren't selected while drawing.
2024-10-07 10:50:49 -04:00
Jon Evans
a007cc438f
Update {fmt} to 11.0.2
2024-09-21 17:44:10 -04:00
Kamil Galik
2068ed31a4
ADDED: 3D Mouse support in Gerber Viewer and Drawing Sheet Editor
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13306
2024-09-21 08:22:19 +00:00
Seth Hillbrand
c736904e39
Use arrow not pencil when selecting image
...
The arrow cursor makes better syntactic sense for placing existing items
rather than drawing as is the case for other tools
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17588
2024-09-13 16:52:18 -07:00
Jeff Young
b549c4feec
Drawing sheet can't share glyph cache entries with editors.
...
(They use different internal units.)
Also fixes a fialure of CAIRO_GAL to reset the fill
and stroke after drawing outline glyphs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18579
2024-08-22 12:23:21 -06:00
Jeff Young
535aca7a8d
Remove redundant tooltips.
...
Also fixes grammar and capitalisation in a few tooltips.
Also standardises some terminology, such as
"Add" vs "Draw"/"Place" and "Assignment" vs "Association".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17694
2024-08-18 17:18:07 -06:00
jean-pierre charras
bcdd4ffea4
pagelayout_editor, properties_frame.cpp: add missing event.Skip()
...
wxFocusEvent code **must** skip the event after processing it.
2024-08-16 13:14:08 +02:00
Jeff Young
781cb0fb8e
Get rid of Drawing Sheet Editor's Apply buttons.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18367
2024-08-15 22:12:11 -06:00
Tomasz Wlostowski
9963b9dd9f
TOOL_INTERACTIVE: only create the context menu when we are running in GUI mode
...
TOOL_MENU::m_menu was unconditionally created by the TOOL_INTERACTIVE constructor, resulting in crashes if
we wanted to run the TOOLs in headless mode, e.g. in unit tests. This commits makes
the creation of the menu object dependent on Pgm::IsGui().
2024-08-13 22:50:26 +02:00
Jeff Young
f6c723ba37
Text is a single-click-place.
...
Also, don't run normal undo code when in the middle of
placing an item.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18366
2024-07-24 13:51:09 +01:00
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
...
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
2024-07-15 16:06:55 -07:00
Jeff Young
080cbbe0dd
Error reporting for drawing sheet loading.
2024-06-24 20:22:29 +01:00
Alex Shvartzkop
07470efc0b
Autosize bitmap buttons in wxFB.
2024-05-27 00:12:55 +03:00
Alex Shvartzkop
16e3692e71
Build time optimizations.
2024-04-27 23:49:13 +03:00
Marek Roszko
2a3b597ab9
Strip out no longer needed links on the top executables
...
Not needed due to kicommon
2024-04-14 07:52:02 -04:00
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2024-03-20 23:29:42 -04:00
jean-pierre charras
9de9f921bc
PROPERTIES_FRAME: fixes a focus issue (perhaps Windows specific).
2024-03-06 13:06:22 +01:00
Jeff Young
539bd62a7b
Cancel autocomplete when STC loses focus.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17124
2024-02-26 22:29:29 +00:00
Jeff Young
d23ee7db3d
Improve SNR.
2024-02-26 22:29:29 +00:00
Jeff Young
e7abeb3c38
Cleanup.
2024-02-24 20:05:51 +00:00
Jeff Young
ca3cd706e5
Show friendly name in toolbar button tooltips.
...
(Don't require the same text to be put into the tooltip.
It's error-prone and also disallows us from having a separate
tooltip for toolbar buttons.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17009
(cherry picked from commit f4a085575ae24fd01e9fbaa106555fe34d39ba85)
2024-02-23 16:53:33 +01:00
Jeff Young
9ff66d0e71
Don't capture references to local variables for CallAfter.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16934
(cherry picked from commit 9d40374baff216b5dbe18438d2948bc3915ebf0a)
2024-02-23 16:53:30 +01:00
Seth Hillbrand
cd548e392a
Add document type icons
...
Update Macos script to use doctype icons for icns builds
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14754
2024-02-09 15:55:57 -08:00
Jeff Young
bce372c8a3
Don't clear the undo/redo list when we're just trimming it.
...
We only allow a certain number of commands on the lists
and trim them when they overflow. PCB_BASE_EDIT_FRAME and
PL_EDITOR_FRAME implemented this correctly; SCH_EDIT_FRAME
and SYMBOL_EDIT_FRAME did not.
2024-02-07 14:52:10 +00:00
Wayne Stambaugh
92c2ddf77a
Do not parent dialogs to non top level windows in panels or widgets.
2024-02-03 10:40:28 -05:00
Jeff Young
7cc663ad77
Schematic parity checking for CLI DRC.
2024-02-02 23:05:37 +00:00
Marek Roszko
ef3e305db4
Min width of pl_editor properties should be FromDIPed
2024-01-17 22:53:26 -05:00
Marek Roszko
b4bfdf95d3
Explicitly add 48, 128, 256 to icon bundles for each app
2024-01-16 17:21:44 -05:00
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2023-12-27 21:10:01 -05:00
Wayne Stambaugh
8687d5092f
String and dialog layout fixes.
2023-12-13 11:49:34 -05:00
Wayne Stambaugh
9d6e9b14eb
Fix action tool friendly name string capitalization.
2023-12-13 08:15:19 -05:00
Ian McInerney
dd933b7d0e
Update CERN copyrights
2023-11-08 21:34:14 +00:00
Jeff Young
db46b6f925
Show selection before opening menu.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15922
2023-11-03 12:36:30 +00:00
Jeff Young
72c44d7fa3
SaveAs must actually change the name of the document.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14281
2023-10-28 22:09:29 +01:00
Ian McInerney
171458a27b
Introduce action friendly names
...
Friendly names can be used to display action information that is clearer
in non-hierarchical contexts (e.g. not in menus).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8075
2023-10-27 23:58:29 +01:00
Jeff Young
435e3fab8d
Support text variables in STEP export filename.
...
Also fixes some other file browser titles to match Kicad's overall style.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15927
2023-10-23 18:01:47 +01:00
Jon Evans
eb5b3db063
Add bitmap bundle support to BITMAP_SCALE
...
Change a bunch of buttons and toolbars to use it
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
2023-10-22 14:02:06 -04:00
Marek Roszko
bee6e6be01
AddMenuLanguageList should live in EDA_BASE_FRAME, its only user
2023-10-16 19:49:52 -04:00
Jeff Young
8c017be24a
Clearer naming.
2023-10-10 15:43:45 +01:00
Jeff Young
d6a862cafe
It's "internal units", not "user interface".
2023-09-30 22:54:45 +01:00
Marek Roszko
37e8a008ab
Remove obsolete config_params.h includes
2023-09-25 20:40:29 -04:00