Commit Graph

24560 Commits

Author SHA1 Message Date
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
Jeff Young 10e68daa37 Fix some bugs in Change Symbol and Update Symbols.
In particular, there was a typo that kept library values from being
updated, and there was missing logic to fetch the various field names
from the library parts (and the change-to part).

Also implements some performance gains by desisting from copying
LIB_FIELDs around every time we want to look at them.

Fixes https://gitlab.com/kicad/code/kicad/issues/6733

Fixes https://gitlab.com/kicad/code/kicad/issues/6749
2020-12-15 16:12:17 +00:00
Jeff Young ffdc46d313 A couple more CLang-Format fixes.
These are probably default values for the base style, but this makes
it more explicit what our coding style is.
2020-12-15 16:12:16 +00:00
jean-pierre charras 00255f2a9c Fix a compil warning. 2020-12-15 16:20:58 +01:00
jean-pierre charras 5e394836d2 Fix a wxWidgets alert.
Fixes #6743
https://gitlab.com/kicad/code/kicad/issues/6743
2020-12-15 15:46:52 +01:00
Jeff Young 9f5b12c7f7 Fix multiple errors in clang_format, in both syntax and intent. 2020-12-15 12:55:33 +00:00
Jon Evans 9de5cd3b5c New take on some file management icons 2020-12-14 22:24:53 -05:00
Jon Evans dc98b69915 A new take on zone icons 2020-12-14 21:54:13 -05:00
Michael Kavanagh 2f49623579 Tweaks to Pcbnew RHS draw toolbar icons
- Improve contrast of ratsnest icons by removing blue
- Track icon: make blue as it is a board feature
- Muwave icon: remove handles, make serpentine blue, thicken and pixel align
- New, simplified zone and rule area icons
- Simplify draw tools by removing edit handles/guidelines - improves contrast
- Reorder draw tools in toolbar/menubar to make a little more sense
- Rotate measurement icon (ruler) to match bottom left -> top right
2020-12-15 02:25:22 +00:00
Michael Kavanagh 3976e44770 Icons: more eradication of light grey 2020-12-15 02:24:36 +00:00
Michael Kavanagh db933018ec Icons: use dark grey to improve contrast 2020-12-15 02:24:36 +00:00
Franck Jullien 70cbf59846 eeschema/intersheet: don't list own page 2020-12-15 01:06:00 +00:00
Seth Hillbrand dad2e317e9 Modify edit text & graphics to use pencil 2020-12-14 17:03:35 -08:00
Seth Hillbrand 68d17f5284 Make erc_green Green again 2020-12-14 16:52:54 -08:00
Seth Hillbrand 1d0567c304 Add pencil to libedit small icon
Also gives white stand-off to modedit's badge
2020-12-14 16:46:57 -08:00
Seth Hillbrand 6d3e9948b2 Thicken libedit lines 2020-12-14 16:22:44 -08:00
Jeff Young 2142ad20b1 Draw FPText umbilical lines in themeable colour.
Fixes https://gitlab.com/kicad/code/kicad/issues/6664
2020-12-15 00:15:03 +00:00
Jeff Young 4faa4931ae Fix missing gerber icon.
Fixes https://gitlab.com/kicad/code/kicad/issues/6727
2020-12-15 00:15:03 +00:00
Seth Hillbrand 4ba9f85e14 Icons update
- Change all board icons to the new green/green
- Sync the update actions to move data between programs
- Outline some badges for visibility
- Change gerber job file badge to list from gear
2020-12-14 15:23:53 -08:00
Jeff Young 22a6b36257 Don't allow dbl-click to leak through to other tools.
This only applies if the tool doesn't handle properties (which also
handles double-click events).

Fixes https://gitlab.com/kicad/code/kicad/issues/6735
2020-12-14 22:15:43 +00:00