commit 48874a7f1946dd96573527cc93e08361a63b6686 Author: Jeff Young Date: Thu Feb 20 21:29:03 2020 +0000 Fix mis-match between color defaults in old and new systems. commit e59a3d981e780435f7da1e71c538818718b8d67c Author: Jon Evans Date: Sun Jan 12 20:44:19 2020 -0500 Implement a new settings framework across all of KiCad CHANGED: Settings are now stored in versioned sub-directories ADDED: First-run dialog for migrating settings from a previous version CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files CHANGED: Color settings are now all stored in a separate settings file CHANGED: The symbol editor and footprint editor now have their own settings files CHANGED: Color settings are no longer exposed through BOARD object CHANGED: Page layout editor now uses Eeschema's color scheme Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE. Existing settings will be migrated from the wxConfig format on first run of each application. Per-application settings are now stored in one class for each application. commit 4f8293938417583165b1bf9cb030a667af922170 Author: Ian McInerney Date: Sun Feb 2 15:25:39 2020 +0000 Fix layout in color dialog on GTK Don't initially set the minimum widget size, and instead let it be computed at launch. Fixes https://gitlab.com/kicad/code/kicad/issues/2617 commit c5a9479953aa4189f5d81b841d79c2347ddb4e57 Author: Ian McInerney Date: Wed Jan 22 22:48:20 2020 +0000 Only get 3D viewer colors when launched from the PCb editor When launched from CVPCB or the footprint editor/viewer the stackup isn't user-editable, so it just gives its default colors. commit 183bbf6914a1bad96798e42feb957dc224ecd342 Author: Fabien Corona Date: Wed Jan 22 22:38:30 2020 +0000 3d-viewer : synchronise colours with board stackup. ADDED: 3d-viewer can now look up colours defined in board properties Fixes https://gitlab.com/kicad/code/kicad/issues/2261 commit 820690d024224514f42137a0215dfee1ffdf9ab1 Author: Fabien Corona Date: Sat Jan 4 20:59:49 2020 +0000 pcbnew : fix selection color for the 'hole' part of NPTHs The inner circles of NPTHs now change color when selected Fixes #1860 commit c5df98a170ad02f1cb3afe2a73cbea225d929762 Author: Jeff Young Date: Wed Dec 11 20:49:58 2019 +0000 Clean up spacing in Eeschema Display Options. Also adds a note for editing highlight color. commit 04edc6ceffdc3deca6e1c9ed420842b48027ac8c Author: Fabien Corona Date: Sat Nov 9 16:45:51 2019 +0100 High contrast color for holes in microvias and buried bias In high contrast mode, the holes of buried vias and microvias were no darkened when not on the active layer. In high contrast mode, the outer circle of buried vias and microvias were alway darkened. In high contrast mode, when the selected layer is non visible through-vias are now darkend. Fixes: lp:1844982 * https://bugs.launchpad.net/kicad/+bug/1844982 commit fa14d5b9fa80dd493f65b8661aa238d64e698384 Author: Jonatan Liljedahl Date: Thu Nov 7 23:18:26 2019 +0100 Eeschema: simulator: more trace colors, smarter color allocation NEW: The simulator plot now avoids colors already in use, if possible. The palette is replaced with a larger one with less saturated colors. Fixes: lp:1851372 * https://bugs.launchpad.net/kicad/+bug/1851372 commit 7a1ced78836684e54dac57819bfe416f00efabe7 Author: Seth Hillbrand Date: Wed Sep 4 16:24:03 2019 -0700 eeschema: Set GTK highlight default to a visible color This keeps the lighter highlight for MAC defaults commit 94022116a2bf4776b6c015cf0c4617939535b96d Author: jean-pierre charras Date: Fri Aug 30 16:13:50 2019 +0200 Pcb calculator: very minor fix: do not force a color in a wxHtmlWindow (use defaults) commit 83f147c41431517fec3d1de8659aa6c23572a07e Author: Jeff Young Date: Tue Aug 27 20:35:37 2019 +0100 Lighten highlight colour so text is easier to read. commit 548dbb7c29513280ddde81262a5039376ac9f5d0 Author: Seth Hillbrand Date: Mon Aug 26 21:43:59 2019 -0700 eeschema: Add highlight color to configurable list The highlight color chosen from the system highlight doesn't always show against the schematic sheet background color. Allowing the user to customize with their KiCad theme makes it configurable on par with other colors. This is stop-gap until we get full color schemes from lp:1678345 commit 1bbd944277581bed2e882f0abc700735d3eb0e44 Author: Ian McInerney Date: Wed Aug 21 22:57:53 2019 +0200 pcbnew: Add ability to reset layer/item colors to defaults commit 53989e3bdc88d096ba43d21acfea357f57322bb6 Author: Seth Hillbrand Date: Tue Aug 20 06:45:57 2019 -0700 SVG: Correct plot fills for arcs/polylines When plotting in Eeschema, various elements may be filled with either the foreground or background colors. The fill mode is rather unique, requiring un-stroked pie wedges for arcs and both closed and open filled polylines. Fixes: lp:1840769 * https://bugs.launchpad.net/kicad/+bug/1840769 (cherry picked from commit 213547f545f8d3914f811454c2158720b0671ebc) commit cd4983f09286ea6093743594558d731667db433f Author: Jeff Young Date: Wed Jul 31 22:52:22 2019 -0600 Switch selection color to platform selection color. commit 88801f46d92f46a337c66d77027a1f185472e243 Author: jean-pierre charras Date: Sun Jul 21 12:01:36 2019 +0200 Fix issues in DIALOG_BOARD_STATISTICS: - make it wxWidgets 3.1 compatible. - internationalize. - fix minor wxwidgets alert. - remove settings for fg/bg color: the result is unpredictable: was black texts on black background on my computer. commit f4c1730b7c707a1e57d553363798645e1b159c3b Author: jean-pierre charras Date: Thu Jul 18 14:54:52 2019 +0200 Pcbnew, footprint tree selector: make the selected items readable. Previously, the background was highlighted, but not the text. On Windows, the text was unreadable, until it was selected. Now the foreground color is also set to the text selected color. Similar to fix 34e00bdb6d, but for the fp editor. commit 34e00bdb6df82d30a5739e2462c593d2778f8461 Author: jean-pierre charras Date: Tue Jul 2 19:05:29 2019 +0200 Eeschema, symbol tree selector: make the selected lib and symbol readable. Previously, the background was highlighted, but not the text. On Windows, the text was unreadable, until it was selected. Now the foreground color is also set to the text selected color. commit 109c21aad4d872a16594b8b10d80ca46e3dfadf8 Author: Jeff Young Date: Tue Jul 2 14:51:48 2019 +0100 Add line styles and line color to global Edit Text and Graphics Properties. Fixes: lp:1801150 * https://bugs.launchpad.net/kicad/+bug/1801150 commit c1eee56785aeb8ba0293e71b97a173f449a85df3 Author: jean-pierre charras Date: Sun Jun 23 13:20:22 2019 +0200 Prepare changes to support a better board stack management in .gbrjob file. In .gbrjob file, one can specify the thickness and color of some layers. Currently, there is no way to enter these parameters. This commit prepare a better support of .gbrjob files. commit 66e87956563a8863736ad6cfc0f29aacb60e02de Author: Seth Hillbrand Date: Sun Jun 16 13:27:58 2019 -0700 Plotting: Handle mask transparency This handles images with transparent colors by mapping the transparent color to white. This only works when plotted into the background. (cherry picked from commit b32439a69433f50f93b489050854b438a24c1a1a) commit 4a52062a54193461075b0fb6223cd499152464ea Author: Seth Hillbrand Date: Sun Jun 9 08:13:50 2019 -0700 GAL: Make high-contrast meld into background This mixes the de-emphasized layers into the background color rather than merely a black color. This also keeps some of the original layer color. Fixes: lp:1831316 * https://bugs.launchpad.net/kicad/+bug/1831316 commit 27a5ed1a9f0f22eef3fa4418c0056f6a6cc0228f Author: Jon Evans Date: Wed Jun 5 22:43:41 2019 -0400 Mathplot: properly set foreground color when saving screenshots Fixes: lp:1810914 * https://bugs.launchpad.net/kicad/+bug/1810914 commit 638ac3838c499d1c4d1780e21233a327047fd147 Author: Jon Evans Date: Sun May 26 20:20:18 2019 -0400 PcbNew: Fix layer alpha overrides being overwritten by color changes Fixes: lp:1827518 * https://bugs.launchpad.net/kicad/+bug/1827518 (cherry picked from commit cb3edf260773a5a26b8553ced826a49d09b7b921) commit d2a2dea9c40b50f6bc5f5a8430b73936fe32c32c Author: Jon Evans Date: Sun May 26 14:25:21 2019 -0400 Eeschema: fix worksheet and background color for printing Fixes: lp:1820611 * https://bugs.launchpad.net/kicad/+bug/1820611 (cherry picked from commit 720b26d11e4431978e9070b98d0198679a2ccb3b) commit b40289c1bd3eda7fe322003fcb8e7ef1fd904aeb Author: Jon Evans Date: Sun May 26 12:20:54 2019 -0400 Eeschema: use worksheet color when plotting Fixes: lp:1825568 * https://bugs.launchpad.net/kicad/+bug/1825568 (cherry picked from commit e35be13b23cb2c04b1dc7bf25511b4d91e87b85e) commit 71f188f3de4c67c9f2c07d48a8278b6cff18fac7 Author: Jeff Young Date: Fri May 24 14:37:55 2019 +0100 Hook up import-page-layout and change-background-color actions. commit 07b82d19e3387a899008440aef99cb2efb5479ee Author: Michael Kavanagh Date: Tue May 21 15:20:26 2019 +0100 Allow setting cursor and aux items colour in footprint editor Fixes: lp:1829850 * https://bugs.launchpad.net/kicad/+bug/1829850 commit de055031a3407c643216451df1a80621099e083f Author: John Beard Date: Fri May 17 19:37:05 2019 +0100 Correct Slovenian flag The symbol was wrong (copied from Slovakian flag) and the blue colour was not the same as the flag on Wikipedia (which does admittedly seem contentious, but they seem to have reached some kind of consensus). commit 1ccef6dc802dc999b98660c68d840a96b4dbf618 Author: Michael Kavanagh Date: Fri Apr 5 14:27:15 2019 +0100 Invert maximum and minimum endpoints on color picker sliders Put the maximum values at the "top" of the sliders. Fixes: lp:1823196 * https://bugs.launchpad.net/kicad/+bug/1823196 commit 5eee88b78af02cf9ccee7ad70e12d02dca4d14e4 Author: jean-pierre charras Date: Thu Mar 7 21:09:03 2019 +0100 Pcbnew, Draw zones in GAL mode: fix missing initialization of line color. It is noticeable only in printing mode. Fixes: lp:1818971 https://bugs.launchpad.net/kicad/+bug/1818971 commit 235f2c7b391ee2a735051777499a069020224ec2 Author: Seth Hillbrand Date: Wed Feb 20 06:28:08 2019 -0800 cairo: Fix dotted grid color Fixes: lp:1816774 * https://bugs.launchpad.net/kicad/+bug/1816774 commit 2151e195c7c8177ad6d5839c50ba16a0a0630e9e Author: Tomasz Włostowski Date: Tue Feb 19 01:24:26 2019 +0100 gal: cairo: don't forget about the color when drawing grid points... commit 7b3ef1b7ed9ecf86a731b9655280f74a1cd37967 Author: Seth Hillbrand Date: Mon Feb 11 19:55:03 2019 -0800 colors: Add HSL conversion and tune colors When adding colors to length tuner, we depend on the window background color, which can be set by the user, resulting in an unreadable text. This uses the HSL conversion to detect which shade it should use for the coloring. Also adds test cases for round-trip HSL and HSV conversion Fixes: lp:1814530 * https://bugs.launchpad.net/kicad/+bug/1814530 commit 5da4e186644bfeb5d129de47bb77e8a6f05f6ddc Author: Seth Hillbrand Date: Thu Feb 7 21:26:27 2019 -0800 bitmaps: Handle mask colors Some transparent bitmaps use masking colors to show the binary opaque/transparent. Fixes: lp:1814893 * https://bugs.launchpad.net/kicad/+bug/1814893 commit 4cd41e3941445fe32a61c54b60f2b979cff0a391 Author: jean-pierre charras Date: Fri Jan 25 20:18:22 2019 +0100 Eeschema: avoid using a incorrect background color the first time a SCH_DRAW_PANEL is displayed When starting Eeschema, or a frame/dialog using a SCH_DRAW_PANEL, the bg color was initialized too late, thus creating a flicker or an annoying draw artifact (in SYMBOL_PREVIEW_WIDGET for instance) if a Paint event is fired before the right bg color is initialized. Initializing the bg color earlier fix this issue. Fixes: lp:1797203 https://bugs.launchpad.net/kicad/+bug/1797203 commit 9ef3997e1e63287a81c2a11803e46b8d73361c72 Author: Seth Hillbrand Date: Wed Dec 12 23:17:51 2018 -0700 status_popup: Allow VECTOR2I input Convenience overload for VECTOR2I input to the popup placement. Also adjust the default foreground color to use system coloring commit e50d9df76a17f731fb806b7c3ead18dd6857f024 Author: jean-pierre charras Date: Sun Dec 9 17:59:00 2018 +0100 Eeschema: fix incorrect parsing of line color (r v b values). Only the R and V were read, the parsing was stopping before reading the B value. commit 18dc618a13ed0877e571d61ab00eb666382dc53a Author: Jeff Young Date: Mon Nov 19 20:29:28 2018 +0000 Set color before drawing dangling symbols. Fixes: lp:1804003 * https://bugs.launchpad.net/kicad/+bug/1804003 commit f1f4473d8bde2809d4735311346ef7b4a5c09f7d Author: Wayne Stambaugh Date: Fri Nov 9 08:32:13 2018 -0500 Footprint editor: add save view to PNG file. Factor out save current canvas view to image file code from symbol editor code so it can be used anywhere. Add ability to save to any image format supported by wxBitmapType. See https://docs.wxwidgets.org/3.0/gdicmn_8h.html#a90a1eb6d85b5044a99b706fd979f27f5. Currently only PNG output is implemented. Please note that there is a minor bug that appears to be due to the scroll bars which causes unfilled areas on the right and bottom edges of the image. This always existed in the save symbol editor view image but it was not as noticeable because by default the background color is white. It is very noticeable in the footprint editor with a black background. The usual smattering of coding policy and comment fixes. Fixes lp:1802127 https://bugs.launchpad.net/kicad/+bug/1802127 commit 5e44686711e9714777c9eddfb94ea0ad0db61897 Author: jean-pierre charras Date: Fri Nov 2 09:23:16 2018 +0100 Eeschema, symbol editor: re-enable PNG export and fix a minor issue in SVG export (was in B&W mode instead of color). Add a comment in plotter.h to avoid other errors when selecting plotting mode B&W or color Fixes: lp:1801058 https://bugs.launchpad.net/kicad/+bug/1801058 commit 347e21daaa780d7af7c7c6ceb32bcc0d3596a428 Author: Maciej Suminski Date: Fri Sep 28 13:15:17 2018 +0200 Handle printout settings: line width, color/mono, mirror commit 4f11dc54fa448104562d679d2f2f53fbb1cc2a3e Author: Jeff Young Date: Fri Oct 26 22:53:09 2018 +0100 Draw selected child items in brightened colors. Fixes: lp:1800114 * https://bugs.launchpad.net/kicad/+bug/1800114 commit baa4019448d2e62d12ff45ffb5bde834287e4e50 Author: Jeff Young Date: Thu Oct 18 13:25:46 2018 +0100 Draw pin previews with the correct schematic background color. Fixes: lp:1798447 * https://bugs.launchpad.net/kicad/+bug/1798447 commit 650478f7577ee6effd93c49bb63077c24e3744ca Author: jean-pierre charras Date: Sat Oct 13 16:12:22 2018 +0200 Eeschema, highlight connection: show selected junctions and labels in highlight color Previously, only wires were shown in highlight color. commit 7df4ddc74d4fc89384c6d0b2383d22fa48971de9 Author: jean-pierre charras Date: Fri Oct 12 21:02:11 2018 +0200 Use our DIALOG_COLOR_PICKER in 3D viewer to set a color. the wxWidgets color picker is not the best for the 3D viewer that does not use transparency color. commit 06e63c30732712baed69dbbfc8d25683c01754c6 Author: Jeff Young Date: Wed Sep 19 21:33:48 2018 +0100 Add control over worksheet colour in eeschema. commit 9dfcc839a4fe5cf129eb843f0bed2410b8895332 Author: Jeff Young Date: Tue Sep 18 00:19:58 2018 +0100 Fix color issues with cursor and sheet pins. commit 929786ce50fb06fa7e639bbae5d97dae31f910de Author: Jeff Young Date: Sun Sep 16 14:07:20 2018 +0100 Fixes to grid color and some more CLangTidy fixes. commit f1346030d7bcc42550e4a57a259c868d694072d2 Author: jean-pierre charras Date: Fri Sep 7 09:15:22 2018 +0200 sch_painter.cpp: fix a few incorrect color selections Fix also dangling symbol thickness of bus entries commit 4fe58922aa6d162c5ae9b43c5cfb7523b01a9b42 Author: Jeff Young Date: Thu Sep 6 23:18:48 2018 +0100 Draw lines in wire, bus, or graphic color. commit 58100b62e6ea7e9a1a1337be57ea887ec5dbcdca Author: Jeff Young Date: Tue Sep 4 17:14:24 2018 +0100 Legacy colors are not stored under a "4D" name. commit d8b9899516fef82e8c0bed8d2a8e72e2ed771059 Author: Tomasz Wlostowski Date: Tue Aug 14 20:52:27 2018 +0200 eeschema-gal: configurable worksheet & grid colors commit f714d2fa64bfea617e055c7efca8892df789c25c Author: Seth Hillbrand Date: Wed Oct 3 05:57:02 2018 -0700 pcbnew: draw polygon and element previews on layer This ensures that when starting to draw a zone or graphic element, the preview is drawn in the same color/on the same layer as the element that will be created. Previously, beginning a graphic polygon while a copper layer was active would result in the preview being drawn in the color of the active copper layer. commit e485cee384bd7afff6a2d558ab74dc442bfcd57f Author: Jeff Young Date: Tue Sep 18 19:13:01 2018 +0100 Honour ModEdit layer colors in browser and previews. Fixes: lp:1793141 * https://bugs.launchpad.net/kicad/+bug/1793141 commit 271fb7fed470337b6b6d11eec4062914cc3b2c0a Author: jean-pierre charras Date: Fri Sep 14 13:25:41 2018 +0200 Make the color picker dialog translatable Fixes: lp:1792556 https://bugs.launchpad.net/kicad/+bug/1792556 commit 270f81f03d36c44c1e15d6e9f0ddb2402d5d340f Author: Jeff Young Date: Sat Sep 1 00:18:47 2018 +0100 Make fill colour terminology more consistent. Fixes: lp:1789855 * https://bugs.launchpad.net/kicad/+bug/1789855 commit c5781105eeb79ed13da3b088b369e7f1c7b98759 Author: Jeff Young Date: Thu Aug 16 01:02:26 2018 +0100 Fix layout and grouping issues in color picker. commit 009044bd6ba1289ad339e481a3c143ef842ad1fd Author: jean-pierre charras Date: Sat Aug 11 13:16:41 2018 +0200 FOOTPRINT_EDIT_FRAME: fix incorrect layer manager initialization depending on canvas type. Especially, the color selector is not the same when selecting GAL or Legacy canvas. Due to this incorrect init, the color selector type was incorrect. commit f3983cc47f0d61971dd156dfa2bdb52fd7d5049b Author: Martin Aberg Date: Sun May 20 21:43:15 2018 +0200 eeschema: fixed typo Brighened -> Brightened This affects a color string in the eeschema config file. commit fb21069c5ac53c686598a754ef65ef013abe760d Author: Jeff Young Date: Sat Jun 30 21:22:01 2018 +0100 Refresh layer selection dialogs. Use platform-native widgets to show selection and draw layer colours over the PCB background colour. (cherry picked from commit 4f95f7f) commit cae249bbb84cebc6b165e399e1da45052fbdd1f6 Author: Jeff Young Date: Wed May 30 16:21:14 2018 +0100 UNIT_BINDERize and simplify Layers Setup dialog. The colours don't add much in the way of comprehension and they do add visual complexity. Same for the labels at the top of the layers list box. Also improved the grouping to make the presets aciton more clear. (cherry picked from commit 1a03e13) commit a7b3fac7b5ce3119e53b50d97df60cdc94805475 Author: Jeff Young Date: Sun Jun 3 18:05:42 2018 +0100 Remove colours from message text items. Fixes: lp:1674015 * https://bugs.launchpad.net/kicad/+bug/1674015 (cherry picked from commit 125d5b7)