Commit Graph

24379 Commits

Author SHA1 Message Date
jean-pierre charras e4b60b03d1 fp editor: fix incorrect initialization of arc center when edited by the
graphic item properties dialog.
The arc center (in local coordinates) was initialized before the actual
value was calculated.
Fixes #6772
https://gitlab.com/kicad/code/kicad/issues/6772
2020-12-17 16:32:10 +01:00
Jeff Young 11117a2d9a Fix invalid access into empty string. 2020-12-17 14:18:27 +00:00
Jeff Young a6085fa88d Consistency for gerbview toolbar icons and some other icon tweaks. 2020-12-17 14:02:23 +00:00
Wayne Stambaugh 08cf9a1e20 Move headers from common folders to appropriate include folders round 1. 2020-12-17 08:12:18 -05:00
Jeff Young 211866d602 Minor icon adjustments. 2020-12-17 11:40:07 +00:00
jean-pierre charras dcbe2413cc Pcbnew: fix incorrect displayed value in polar coordinates.
Fixes #6771
https://gitlab.com/kicad/code/kicad/issues/6771
2020-12-17 11:21:24 +01:00
jean-pierre charras b425889a1a fp editor: fix incorrect parent for a error message box
Fixes #6773
https://gitlab.com/kicad/code/kicad/issues/6773
2020-12-17 10:47:39 +01:00
Jon Evans 3d68aa4b86 Make sure footprint editor uses the right config object
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6115
2020-12-16 22:07:35 -05:00
Jon Evans 87b25936a0 Don't hide zone virtual layers in footprint editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6642
2020-12-16 21:47:31 -05:00
Jeff Young f6ad031056 A pagelayout editor icon that matches the visual frequency better. 2020-12-17 02:31:53 +00:00
Jeff Young 6931b64ed8 Adjustments to app icons.
Remove "Ki"s.
Remove magnifying glass from GerbView.
Downsize ModEdit slightly.
2020-12-17 02:31:53 +00:00
Jon Evans a484d10470 Ensure schematic autosave works if sheet path is invalid 2020-12-16 21:17:48 -05:00
Jon Evans a7ea63e610 Hack around broken column sizing in wxGTK 3.0 for hotkey editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6767
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6396
2020-12-16 20:51:18 -05:00
Seth Hillbrand ec3e0946a0 Fix slider color in GerbView options 2020-12-16 16:58:00 -08:00
Seth Hillbrand 96aed059e9 Adjust Toggle lock icon grey 2020-12-16 16:58:00 -08:00
Seth Hillbrand ea7a5b1655 Use flip board icon for GerbView Mirror Image 2020-12-16 16:58:00 -08:00
Ian McInerney fc20eaa083 Fix some compiler and Coverity warnings 2020-12-17 00:30:22 +00:00
Ian McInerney 048900dda7 Fixup the 3d Viewer code after the last fixup 2020-12-17 00:30:22 +00:00
Jeff Young b9b4618c8e Take a stab at fixing the GTK severity heading clipping issue.
Fixes https://gitlab.com/kicad/code/kicad/issues/6766
2020-12-17 00:24:02 +00:00
Jeff Young 0a8acb384d Icon adjustments: translucent magnifying glasses. 2020-12-17 00:10:00 +00:00
Jeff Young df0030bbd3 Icon adjustments.
Use slightly lighter grey when used en-mass.
Fix stroke joints in gears.
Reduce gear isolation width slightly.
Adjust PCBNew for more even spacing.
2020-12-17 00:10:00 +00:00
Marek Roszko a3c4730a3f Add missing return removed in 978935d 2020-12-16 19:03:27 -05:00
Seth Hillbrand 0c3c3ca85d Make pcbnew polygon tool less regular 2020-12-16 14:31:32 -08:00
Seth Hillbrand e9c6cd8041 Unify/update 3d icon 2020-12-16 14:16:38 -08:00
Wayne Stambaugh f8efe4a65a 3D viewer code cleaning round 5. 2020-12-16 17:11:05 -05:00
Jeff Young 1ca75c8fda Fix from code review for https://gitlab.com/kicad/code/kicad/-/merge_requests/562.
Fixes https://gitlab.com/kicad/code/kicad/issues/6747
2020-12-16 22:02:19 +00:00
Jeff Young 06cda7592a One more time with the footprint browser icon. 2020-12-16 21:38:52 +00:00
Seth Hillbrand 8f086b7bc8 Update simulator icons 2020-12-16 10:40:00 -08:00
Wayne Stambaugh 978935d749 3D viewer code cleaning round 4. 2020-12-16 13:19:28 -05:00
Konstantin Baranovskiy 08730cf952 pcbnew: search hits counting fix
Fixes #6747
2020-12-16 18:02:24 +00:00
Jeff Young 5761666ad6 Don't let the flattened symbol go out of scope before we're done with it.
Fixes https://gitlab.com/kicad/code/kicad/issues/6760
2020-12-16 17:59:20 +00:00
Jeff Young 625e239abf Make footprint browser icon match footprint editor a bit better. 2020-12-16 16:56:39 +00:00
Jeff Young acfbcb4beb Make distinction between PCBNew-wide tools and Board-specific tools.
The old names were really hard to keep straight (even for me, who named
many of them).
2020-12-16 13:32:46 +00:00
Ben Dooks 651e7f664d Fix type-cast in page_layout_reader.cpp
The wksFile.Read() call returns a size_t which is then compared
with a int. Make the filelen variable a size_t to make sure it is
of the correct width.

Fixes the following warning:

kicad/common/page_layout/page_layout_reader.cpp: In member function ‘void WS_DATA_MODEL::SetPageLayout(const wxString&, bool)’:
kicad/common/page_layout/page_layout_reader.cpp:853:41: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  853 |     if( wksFile.Read( buffer, filelen ) != filelen )
2020-12-16 10:59:26 +00:00
Jon Evans 6b2be25086 Update python scripting icon 2020-12-15 22:54:55 -05:00
Jon Evans 13efef0c44 Top toolbar icon tweaks 2020-12-15 20:38:57 -05:00
Marek Roszko af17b6c709 Disable the wxFileSystemWatcher on Windows and network paths
SAMBA sends invalid change event IDs and wxWidgets crashes on rather than ignores the invalid IDs.
This punishes Windows Server users but its not easy to discern SAMBA from it.

Fix #5740
2020-12-15 19:36:12 -05:00
Marek Roszko 33dbc8ccd1 Add IsNetworkPath to kiplatform 2020-12-15 19:28:58 -05:00
Marek Roszko 7e2883df50 Remove clang-format 11+ option 2020-12-15 19:09:46 -05:00
Seth Hillbrand a1c867bf9f Fix gbr_select_mode2 icon 2020-12-15 15:18:07 -08:00
Seth Hillbrand b7875e4d41 Setup file_* icons
Don't use the same "post_*" icon in the treeview.  The badge gives an
action that doesn't apply in the treeview.

Also renames different file blobs to the "file_*" prefix.
2020-12-15 14:48:09 -08:00
Jeff Young 5f9ed2583c Don't put up double lock confirmation dialogs.
Also removes EditToolSelectionFilter which was misused in more places
than it was used correctly.  The original point of the client filter
was to move the logic to the point of use, which the
EditToolSelectionFilter sort of obviated anyway.

Fixes https://gitlab.com/kicad/code/kicad/issues/6751
2020-12-15 22:34:24 +00:00
Seth Hillbrand d05df4a9d4 Buffer bitmap buttons in pinmap for Mac
Mac bitmap buttons are not properly handled in wxWidgets, so the size of
the bitmap needs more buffer space to the button edge or the image will
clip
2020-12-15 12:47:03 -08:00
Seth Hillbrand dd3323a86d Update multiple icons
- Standardize/pixel align op-amp for libedit/component icons
- Add "new" sparkle badge for creating new footprints/symbols
- Move background contrast grey to lighter version to stand out from
  blue
2020-12-15 12:30:35 -08:00
Seth Hillbrand 871075571b Unify cvpcb icons 2020-12-15 10:37:13 -08:00
Seth Hillbrand a7c9be4e2e Add chain badge 2020-12-15 10:36:59 -08:00
Seth Hillbrand 9eb50bb9b0 Make libedit icon as blue to match modedit 2020-12-15 10:07:22 -08:00
Seth Hillbrand c04287e068 Align text in logo 2020-12-15 10:07:22 -08:00
Jeff Young 92db1d35e1 Formatting. 2020-12-15 17:11:14 +00:00
Jeff Young 4cc43b3bd3 Don't print sheet backgrounds when printing in black & white.
Fixes https://gitlab.com/kicad/code/kicad/issues/6746
2020-12-15 17:11:09 +00:00