Seth Hillbrand
892e4536b0
Remove extraneous includes
3 years ago
Seth Hillbrand
e6ab9a88ce
Remove locks from settings
Settings should be initialized on start-up. This removes the option of
lazily loading the settings from file and instead requires all settings
needed to be loaded on KiFACE start before requesting data from the
settings object
3 years ago
Jeff Young
c682d11fa0
Trim VRML export layers to board outline.
Fixes https://gitlab.com/kicad/code/kicad/issues/14557
3 years ago
Jeff Young
2c34a08bf1
Ignore empty field-name-templates.
Fixes https://gitlab.com/kicad/code/kicad/issues/14552
3 years ago
Jeff Young
f72cc6dd51
Amend overly aggressive assert.
3 years ago
Jeff Young
2533141583
Revert "Update pybind11 to version 2.10.4" for now.
This reverts commits 9d077c9ba5 and
b4938f5198 .
They cause a crash-on-startup on Mac ARM machines, failing to get the
locale encoding (nl_langinfo(CODESET) failed).
3 years ago
jean-pierre charras
ba12f00c15
Pcbnew: re-add draw umbilical line for texts in footprints.
It was lost after removing FP_TEXT in code.
3 years ago
Ian McInerney
e9a93bc711
Try to get the coverity scan results back under the size limit
Apparently our Coverity Scan file we try to upload is too large for the
server to handle, so it isn't working. Try switching to a release build
with debug symbols to see if that reduces the size.
3 years ago
Jeff Young
7e5fedef6a
Markup fixes.
1) allow escape sequences inside markup sequences
2) keep overbar when inside nested markup
3) always place overbar at full height, not sub/superscript height
Fixes https://gitlab.com/kicad/code/kicad/issues/14553
Fixes https://gitlab.com/kicad/code/kicad/issues/13449
3 years ago
qu1ck
9b58f50c68
Add usable PCB_GROUP::GetItems() swig wrapper
3 years ago
Nimish Telang
51e55dd750
Convert sprintf to snprintf in most files
3 years ago
jean-pierre charras
d0676118c1
BOARD_NETLIST_UPDATER: better warning message (I hope...) in Report.
Fixes #14548
https://gitlab.com/kicad/code/kicad/issues/14548
3 years ago
Lucas Dumont
469fe76994
pcbnew: Fix crash with differential routing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14537
3 years ago
Marek Roszko
460b08c6ca
Nix a dialog in kicad_cli.cpp that shouldn't ever fire
3 years ago
Jeff Young
02c5a31b99
Fix close button on simulator frame.
Fixes https://gitlab.com/kicad/code/kicad/issues/14551
3 years ago
Alex
b4938f5198
Patch pybind11 version 2.10.4 for MSVC
Based on commits c483c582 and 8f1b2acd
3 years ago
Alex
9d077c9ba5
Update pybind11 to version 2.10.4
3 years ago
Jeff Young
86ca90aa2d
Fixes to allow copy/paste of pin data.
1) allow paste even if initial cell isn't writeable
2) allow paste to add rows if there's an addHandler defined
Fixes https://gitlab.com/kicad/code/kicad/issues/14508
3 years ago
Jeff Young
a540c01c61
Double double-add items to the view.
3 years ago
Jeff Young
c6d593a47b
Formatting.
3 years ago
Marek Roszko
d18102fff6
Add a hack to try and capture more crash data
3 years ago
Jeff Young
cc4a8dcc89
Small improvements to lifecycle safety.
Fixes https://gitlab.com/kicad/code/kicad/issues/14521
Fixes https://gitlab.com/kicad/code/kicad/issues/14315
3 years ago
Jeff Young
6fb8916798
The symbol viewer handles its own message panel.
3 years ago
jean-pierre charras
725c2fd661
footprint wizards: fix for my previous commit 50502c4
3 years ago
jean-pierre charras
50502c450f
footprint wizards: fixes and enhancements
3 years ago
Jeff Young
b76ef8c7e2
Multi-threading safety.
(Possible fix for KICAD-74.)
3 years ago
Jeff Young
2793bb1d68
Performance.
3 years ago
Jeff Young
26c14271f2
Formatting and warnings cleanup. (No functional changes.)
3 years ago
jean-pierre charras
7545097d7f
Fix a compil issue on msys2/gcc12.2, due to changes in commit dd1c58dc
3 years ago
Jeff Young
6f59740953
Tighten up the lifecycle management of VIEW_ITEMs in
general, and the SYMBOL_VIEWER_FRAME's m_previewItem in
particular.
(Attempted fix for Sentry KICAD-G1.)
3 years ago
Marek Roszko
dd1c58dcf5
Fix MSVC C4840 warning
va_start requires trivially copy able classes.
wxString is not trivial. The correct thing to do is to use wxChar*
3 years ago
Jeff Young
140f76b870
Export rectangular aperture GBR_SEGMENTS as polygons.
Fixes https://gitlab.com/kicad/code/kicad/issues/14136
3 years ago
Jeff Young
b74d964bff
Handle legacy libraries with escaped symbol names.
Fixes https://gitlab.com/kicad/code/kicad/issues/14057
3 years ago
Jeff Young
d4b4abd001
Apply symbol attributes from base symbol, not derived symbol.
Fixes https://gitlab.com/kicad/code/kicad/issues/13740
3 years ago
Marek Roszko
8fd4909f86
Init curl in InitPgm for thread safety
curl itself highly recommends not initializing curl from within a thread.
Due to the PCM, this can happen in a thread these days.
Pointed out by Érico Rolim in https://gitlab.com/kicad/code/kicad/-/merge_requests/855
3 years ago
Jeff Young
299c88cfec
Allow setting 0 to min width, min track width, min via annular width, etc.
Fixes https://gitlab.com/kicad/code/kicad/issues/13822
3 years ago
Jeff Young
2d15067453
ADDED allow update of teardrops before running DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/14264
3 years ago
Jeff Young
521aa5b5ae
Update DRC exclusions model to match terminology.
DRC exclusions were originally written following the C++
pragma model (ie: allow this violation here). However, the
"exclusion" terminology we used in the GUI suggests a model
model where the exclusions go away when the violation no
longer exists.
Fixes https://gitlab.com/kicad/code/kicad/issues/14351
3 years ago
jean-pierre charras
27ebba6b33
Python and footprint wizard: fix issues and update to be compatible
with recent changes in Kicad code.
3 years ago
Jeff Young
4a3f77cd9d
Clear board soldermask when undoing/redoing items that affect it.
Fixes https://gitlab.com/kicad/code/kicad/issues/13446
3 years ago
Jeff Young
d01c023d5a
Retire the lib-tree scoring algorithm.
It appears to cause more confusion than help.
Fixes https://gitlab.com/kicad/code/kicad/issues/13905
3 years ago
Jeff Young
d64cb7f81b
More uniform handling of power symbols and exclude-from-simulation.
3 years ago
Jeff Young
9f56b75f01
Clean up atrophied code.
3 years ago
Lucas Dumont
923f386f08
Dont' create new cell if editing one
Return key is used to change cell line. If cell was in edition, the edition is saved before changing line.
Before this change using return key in the last row, if edited, both saved the change and create new row.
After this change, it'll just save the just, and will need a second key press to create a new row.
3 years ago
Jeff Young
05185ec81a
Save library when it's selected in lib tree.
Fixes https://gitlab.com/kicad/code/kicad/issues/14220
3 years ago
Salvador E. Tropea
d5c0bf3d0e
Load the global fp-lib-table before running the Python DRC
Without this we get parity errors for all the KiCad footprints
(cherry picked from commit e5087ca3db )
3 years ago
jean-pierre charras
77fb7b1182
ERC: set default setting ERCE_SIMULATION_MODEL to ignore
Most of projects do not manage spice settings.
3 years ago
Jeff Young
4eb0ccffe5
Bring Sim Command dialog layout in line with Kicad std dialog layout.
3 years ago
Jeff Young
26609bbf05
Fix PNS_KICAD_IFACE_BASE::IsFlashedOnLayer() to be able to handle multi-layer queries.
3 years ago
Okan Demir
75267a7366
Fixes issues pointed in the reviews
Wraps string literals with 'wxS', form is generated by wxFormBuilder
3 years ago