Seth Hillbrand
abd0388794
Remove trailing zeros from all values
...
If we are showing a value to the end user, we should avoid unneeded
precision
2024-04-18 18:21:13 -07:00
Seth Hillbrand
d8b6e28890
Excise the remaining unused ifdef EESCHEMA
...
Common units are now shared between programs, so we need a different way
other than compile definitions to choose how many digits to display.
2024-04-18 18:21:13 -07:00
Alex Shvartzkop
cd2925d3d7
ADDED: Fuse Shapes option for STEP/BREP/GLTF export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17777
2024-04-19 03:43:26 +03:00
Seth Hillbrand
2ca8abd7f1
Add locale information to the Version Info
2024-04-18 12:41:31 -07:00
Seth Hillbrand
d2701323a8
Don't sort on lost references
...
The arraystring reference is lost when we don't keep the wxFileName
variable in scope.
This also adds removing invalid paths and checking for correct version
before sorting
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17749
2024-04-17 11:35:50 -07:00
Wayne Stambaugh
d79619edd1
Minor net navigator improvements.
...
Ignore bus member connection subgraphs. They do not have a valid net
name nor do they contain schematic items. This prevents empty nodes
from being added to the tree. They can be reintroduced in the future
if someone wants to pursue it.
Freeze the wxTreeCtrl while populating it and thaw when done to prevent
any unnecessary repainting.
Add profiling to test how long it takes to rebuild the net navigator.
The recently added populate the navigator with all nets when no net
is highlighted has exposed some potential performances issues with some
versions of wxWidgets on certain platforms. Namely wxWidgets 3.2.4 on
Linux GTK.
Fix an issue where a sheet name change would not update the highlighted
net navigator resulting in a stale human readable sheet path.
Prevent the highlighted net navigator from being rebuilt twice when
loading a schematic. SCH_EDIT_FRAME::RefreshNetNavigator() was being
called from both SCH_EDIT_FRAME::UpdateHierarchyNavigator() and
SCH_EDIT_FRAME::RecalculateConnectivity().
Add a new trace helper "KICAD_UI_PROFILE" to show trace output when
profiling user interface performance. It's used in the net navigator
profiling mentioned above.
Reuse PROF_TIMER::Show() to generate string for PROF_TIMER::to_string().
2024-04-17 14:31:50 -04:00
Alex Shvartzkop
d98d7f9017
ADDED: Support 3D shape export in BREP format.
...
BREP doesn't support colors or label names,
but is much faster to write/read compared to STEP.
2024-04-17 17:31:10 +03:00
Jeff Young
d761b4f22f
RIP LIB_TEXTBOX and LIB_SHAPE.
2024-04-16 16:31:16 +01:00
Jeff Young
3efe504dcc
Collapse LIB_TEXT into SCH_TEXT.
2024-04-16 16:31:16 +01:00
aris-kimi
66bb49e2da
Silence some GCC warnings
2024-04-16 11:11:50 +00:00
Mike Williams
ea904c9fb1
Symbol Fields Table: configurable excluded from BOM filtering
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/17747
2024-04-15 13:08:04 -04: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
Alex Shvartzkop
ab531a33d9
Tweak GRID_CELL_STC_EDITOR offset on GTK.
2024-04-14 01:19:55 +03:00
Alex Shvartzkop
affcfed677
Fix some warnings.
2024-04-14 01:19:39 +03:00
Alex Shvartzkop
76b7cdd128
Improve grid cell editors appearance.
2024-04-13 23:26:01 +03:00
Marek Roszko
d7685a40ee
More lambda updates to explicit capture
2024-04-13 15:09:34 -04:00
Marek Roszko
c1afade6f9
Silence the assert in NUMERIC_EVALUATOR on windows due to unicode
...
The reality is we parsing potentially unicode strings, char by char with the ascii functions like isdigit.
It's kind of broken already but at least I can make the assert go away lol
2024-04-13 15:05:09 -04:00
Jon Evans
02ec894b83
Remove LIB types from API for now
...
All with the possible exception of LIB_SYMBOL are going away
2024-04-13 15:03:34 -04:00
Jeff Young
d77eae3e7e
Collapse LIB_FIELD into SCH_FIELD.
2024-04-13 15:42:13 +01:00
Marek Roszko
aa8f449d48
Remove extraneous struct keyword
2024-04-13 09:56:25 -04:00
Marek Roszko
0ce227fa92
Can't use forward declare with std::vector
...
Not allowed per C++ standard
See https://github.com/llvm/llvm-project/issues/57700
2024-04-13 08:22:20 -04:00
Marek Roszko
89dd8e1166
Move the PARAM_LIST<> specializations for BOM to bom_settings
2024-04-13 07:59:25 -04:00
Marek Roszko
b2115445cc
Make screenCenter a VECTOR2D for now to silence c++ 20 build error
2024-04-12 21:55:19 -04:00
Alex Shvartzkop
1516aaf163
Improve custom grid cell editors' margins on MSW.
2024-04-13 03:54:04 +03:00
Alex Shvartzkop
aa51cc5167
Remove macOS size tweak in custom grid cell editors.
...
Since the text field now has the no-border flag, it shouldn't be needed.
2024-04-13 03:54:04 +03:00
Marek Roszko
953c285ff0
fmt::format wants an actual constexpr format string under c++20
2024-04-12 20:04:52 -04:00
Marek Roszko
9e3865ed01
Remove wchar mixed into ostream output
2024-04-12 20:00:38 -04:00
Marek Roszko
d8343a97dd
explicit wx_str comparison
2024-04-12 19:59:43 -04:00
Marek Roszko
4a3018615b
Be explicit with lazy_ctor captures
2024-04-12 19:56:02 -04:00
Marek Roszko
24a790a7dc
Don't compare against the wrong type
...
Technically this is still wrong because of doubles..
2024-04-12 19:53:26 -04:00
Marek Roszko
5087c076c1
Lambda capture this for a callafter
2024-04-12 19:52:42 -04:00
Alex Shvartzkop
49dcd5f4fc
Fix default cell alignment and FBP file for Configure Paths dialog.
2024-04-11 00:48:48 +03:00
Alex Shvartzkop
5d22c1adee
Make grid cell editors with extra button consistent with normal text cell editors.
2024-04-11 00:47:27 +03:00
Jeff Young
5abc7145da
Fold LIB_ITEM into SCH_ITEM.
2024-04-08 10:24:50 +01:00
Jon Evans
7baccba01c
Coverity fixes
2024-04-05 08:16:29 -04:00
Jon Evans
aff2d5c0d3
Factor out SHAPE_LINE_CHAIN utilities
2024-04-04 18:55:58 -04:00
Jeff Young
92910d5d0f
Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL.
2024-04-04 13:18:55 +01:00
Jeff Young
bf2b3b0b0f
Deconflict some LIB_TREE_ITEM APIs so they can remain non-const.
...
(The non-const is required by FOOTPRINT_INFO, which must load
footrpints to get some of the data.)
2024-04-04 13:18:55 +01:00
Jon Evans
9c113b25a4
Allow turning the API server on/off at runtime
2024-04-03 22:04:11 -04:00
Marek Roszko
e0b913cc65
Get rid of code path that has been unreachable for many years
2024-04-03 19:54:07 -04:00
Jon Evans
75b61956e9
Fix Windows name collision
2024-04-02 20:06:36 -04:00
Jon Evans
1dbe78c68b
Add QA tests and expand serialization for API
2024-04-02 19:51:18 -04:00
Jon Evans
6bd02cae6d
Refactor; add user control over API server
2024-04-02 19:51:18 -04:00
Jon Evans
a3b6ab48a4
Add a new plugin system for the new API
2024-04-02 19:51:16 -04:00
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
...
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
2024-04-02 19:34:36 -04:00
Jon Evans
77eaa75db1
Show all library children if library name matches search
...
(cherry picked from commit a042d1aab4
)
2024-04-02 22:51:41 +00:00
Alex Shvartzkop
b905b4eac8
Improve moving, rendering and plotting of very small angle arcs.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17110
2024-04-03 00:40:18 +03:00
Seth Hillbrand
d82e8ee41a
Map nets in pasted data
...
Add missing nets to the existing board and use any existing nets of the
same name.
Adds option to clear all nets in Paste Special
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17626
2024-04-01 16:56:44 -07:00
Ian McInerney
9456f35491
Properly cleanup git repos and memory on project/frame deletion
...
* Ensure the git backend is deleted when the project tree is deleted.
* Unload the git repo for a project when the project is unloaded from
the tree.
2024-04-01 21:59:50 +01:00
Ian McInerney
921358b096
Make instance checker path globally writable
...
On Linux, this directory is shared between users, so a multi-user
machine needs to let the other users have access to the directory to
create their own lockfiles.
2024-04-01 21:59:46 +01:00