Re: [Kicad-developers] [PATCH] lib-cache-rescue default button in dialog
Le 03/05/2015 19:45, Chris Pavlina a écrit : Here's a patch that sets the 'OK' button as default in the rescue dialog. -- Chris Committed. Thanks. -- Jean-Pierre CHARRAS ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] [PATCH] lib-cache-rescue coding style fixes
Le 03/05/2015 19:45, Chris Pavlina a écrit : Here's a patch that fixes a few minor coding style issues with lib-cache-rescue. -- Chris Committed. Thanks. -- Jean-Pierre CHARRAS ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] [PATCH] lib-cache-rescue: remove summary dialog, correct minor bug
I've got two changes here - they're a bit inadvertently intertwined, so I left them as one patch, otherwise one would depend on the other anyway. Let me know if you want me to discard half. 1. Remove the summary dialog from lib-cache-rescue. I originally created it so the user would know what the new names of the components were; I compensated by changing the main dialog to display the suffix that will be added to the parts. 2. Minor bugfix: If no parts are rescued, an empty rescue library shouldn't be written. -- Chris diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index 995bb7d..ca2c69e 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -65,8 +65,6 @@ set( EESCHEMA_DLGS dialogs/dialog_print_using_printer.cpp dialogs/dialog_rescue_each.cpp dialogs/dialog_rescue_each_base.cpp -dialogs/dialog_rescue_summary.cpp -dialogs/dialog_rescue_summary_base.cpp dialogs/dialog_sch_edit_sheet_pin.cpp dialogs/dialog_sch_edit_sheet_pin_base.cpp dialogs/dialog_sch_sheet_props.cpp diff --git a/eeschema/dialogs/dialog_rescue_each.cpp b/eeschema/dialogs/dialog_rescue_each.cpp index 58d1c30..8b896f4 100644 --- a/eeschema/dialogs/dialog_rescue_each.cpp +++ b/eeschema/dialogs/dialog_rescue_each.cpp @@ -87,6 +87,20 @@ DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH( SCH_EDIT_FRAME* aParent, std::vectorRES { m_Config = Kiface().KifaceSettings(); m_stdButtonsOK-SetDefault(); + +// Set the info message, customized to include the proper suffix. +wxString info_message; +info_message.Printf( +_( This project uses symbols that no longer match the ones in the system libraries.\n + Using this tool, you can rescue these cached symbols into a new library.\n + \n + Choose \Rescue\ for any parts you would like to save from this project's cache,\n + or press \Cancel\ to allow the symbols to be updated to the new versions.\n + \n + All rescued components will be renamed with a new suffix of \-RESCUE-%s\\n + to avoid naming conflicts. ), +Prj().GetProjectName() ); +m_lblInfo-SetLabel( info_message ); } diff --git a/eeschema/dialogs/dialog_rescue_each_base.cpp b/eeschema/dialogs/dialog_rescue_each_base.cpp index bad4ea9..2e7549d 100644 --- a/eeschema/dialogs/dialog_rescue_each_base.cpp +++ b/eeschema/dialogs/dialog_rescue_each_base.cpp @@ -1,5 +1,5 @@ /// -// C++ code generated with wxFormBuilder (version Jun 5 2014) +// C++ code generated with wxFormBuilder (version Mar 13 2015) // http://www.wxformbuilder.org/ // // PLEASE DO NOT EDIT THIS FILE! @@ -16,7 +16,7 @@ DIALOG_RESCUE_EACH_BASE::DIALOG_RESCUE_EACH_BASE( wxWindow* parent, wxWindowID i wxBoxSizer* bSizerMain; bSizerMain = new wxBoxSizer( wxVERTICAL ); - m_lblInfo = new wxStaticText( this, wxID_ANY, _(This project uses symbols that no longer match the symbols in the system libraries.\nUsing this tool, you can rescue these cached symbols into a new library.\n\nChoose \Rescue\ for any parts you would like to save from this project's cache, or press Cancel to allow the symbols to be updated to the new versions.), wxDefaultPosition, wxDefaultSize, 0 ); + m_lblInfo = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_lblInfo-Wrap( 500 ); bSizerMain-Add( m_lblInfo, 0, wxALL|wxEXPAND, 5 ); diff --git a/eeschema/dialogs/dialog_rescue_each_base.fbp b/eeschema/dialogs/dialog_rescue_each_base.fbp index 3df33bb..dee774b 100644 --- a/eeschema/dialogs/dialog_rescue_each_base.fbp +++ b/eeschema/dialogs/dialog_rescue_each_base.fbp @@ -125,7 +125,7 @@ property name=gripper0/property property name=hidden0/property property name=idwxID_ANY/property -property name=labelThis project uses symbols that no longer match the symbols in the system libraries.#x0A;Using this tool, you can rescue these cached symbols into a new library.#x0A;#x0A;Choose quot;Rescuequot; for any parts you would like to save from this projectapos;s cache, or press Cancel to allow the symbols to be updated to the new versions./property +property name=label/property property name=max_size/property property name=maximize_button0/property property name=maximum_size/property diff --git a/eeschema/dialogs/dialog_rescue_each_base.h b/eeschema/dialogs/dialog_rescue_each_base.h index 267541a..e6490c3 100644 --- a/eeschema/dialogs/dialog_rescue_each_base.h +++ b/eeschema/dialogs/dialog_rescue_each_base.h @@ -1,5 +1,5 @@ /// -// C++ code generated with wxFormBuilder (version Jun 5 2014) +// C++ code generated with wxFormBuilder (version Mar 13 2015) //
[Kicad-developers] Latest trackpad tests on OSX nightly r5640
Application: kicad Version: (2015-05-03 BZR 5640)-product Release build wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++ ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8) Platform: Mac OS X (Darwin 14.3.0 x86_64), 64 bit, Little endian, wxMac Boost version: 1.54.0 USE_WX_GRAPHICS_CONTEXT=OFF USE_WX_OVERLAY=ON KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_WXPYTHON=ON USE_FP_LIB_TABLE=HARD_CODED_ON BUILD_GITHUB_PLUGIN=ON In the limited testing that I am doing, there appears to be no change from the last test. I was unable to crash the Cairo view of pcbnew. The only changes I can recommend are: Reduce the sensitivity of the two finger zoom action on both eeschema and pcbnew When two finger SHIFT and CMD panning of pcbnew using OpenGL and Cairo, stop the panning when the edge of the paper comes into the viewing window. This works fine using the Default view. Put a check mark to the left of the menu entries to indicate which view is active as in: View- \f1 \uc0\u10004 \u65039--- This is a checkmark in the Mac Textedit rtf document - codes might be useful. \f0 Switch Canvas to Default Switch Canvas o OpenGL Switch Canvas to Cairo ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Latest trackpad tests on OSX nightly r5631
Hi Bob, On 05/01/2015 12:17 AM, Bob Gustafson wrote: [..] In pcbnew using OpenGL and Cairo - panning is not limited by paper edge. Is panning limited by the paper size in the legacy canvas in OS X builds? I can only compare them under Linux: - in the legacy canvas the coordinates are updated in approximate range (-925.25; 1370.75) for X axis and (-968.75; 1283.75) for Y axis - in OpenGL canvas approximate ranges are: (-1743.1; 1743.90) for X axis and (-1478.00; 1476.40) for Y axis Is there a more significant discrepancy with OS X? I see there are differences in ranges, but should we treat them as bugs? Is more free space undesirable? Regards, Orson signature.asc Description: OpenPGP digital signature ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] GAL canvas questions and help.
As we approach the stable release I'm taking inventory to see what needs to be completed before that happens. I have a some questions about the GAL canvas and am looking for some help to resolve a few minor issues. * Is the documentation complete for the match pair/route length router? I didn't see it in the asciidoc repo. * I was looking at the push shove router documentation and it's still documented separately from the Pcbnew documentation. Can someone merge the ps router documentation as a separate section or in the Routing section of the Pcbnew documentation? This should be part of the Pcbnew documentation. New users are unlikely to be aware that the ps router documentation is separate from the Pcbnew docs. * Having the Route menu in Pcbnew always enabled is likely to confuse new users who don't understand that the ps and matched pair routing are not available in the default canvas. Can someone please either disable the Route menu entry or redraw the menu without the Route entry when the legacy canvas is enabled? Thanks, Wayne ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
I wonder why the fold on the paper is in the opposite direction of the other ones, that was there previously. I do not imoly weatjer this is good or bad, I just want to know if there was any thoughts about this. I dont think the old icon with the book for the lib editor is that bad, because I am used to the various books for the symbol editor. But those are also ised for the fp editor. On the other hand the new one is alsp pretty nice. Den 04/05/2015 20.42 skrev Fabrizio Tappero fabrizio.tapp...@gmail.com: Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [image: Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
Hi Mario, totally agree with you. I will definetly consider your feedback. It is not easy to find well suited icons for all kicad tools but we are getting there. I particularly like the idea of a transistor half drawn for the lib component editor for the cvpcb... well not easy to draw something that implies a half done layout thanks Fabrizio -- Fabrizio Tappero On Mon, May 4, 2015 at 9:46 PM, Mário Luzeiro mrluze...@ua.pt wrote: Hi Fabrizio, Personally I feel confused with the icons on kicad. I will try to explain in words what my mind think while looking for the icons while is trying to decide the desired functionality and I will some ideas and suggestions: The pencil makes me confuse, so all first functionalities are for editing. Maybe if you could use different tools (tool as a figurative meaning), for example in PCB edition (pcbnew) use a cross and hilight the PCB track that is being edited. Maybe with some more work, an icon that show more tracks and footprints. So removing the pencil seems good idea to me. But now in the schematic library editor you have also a transistor (as in the schematic editor), so in my mind I think yeah, I want to place transistors and the two icons show transistors. which one to choose? Maybe for the library editor, try represent a transistor being drawn? Well.. thats my mind point of view :) Regards, Mario Luzeiro From: Kicad-developers [kicad-developers-bounces+mrluzeiro= ua...@lists.launchpad.net] on behalf of Nick Østergaard [oe.n...@gmail.com ] Sent: 04 May 2015 20:47 To: Fabrizio Tappero Cc: KiCad Developers Subject: Re: [Kicad-developers] kicad main icons - minor improvements I wonder why the fold on the paper is in the opposite direction of the other ones, that was there previously. I do not imoly weatjer this is good or bad, I just want to know if there was any thoughts about this. I dont think the old icon with the book for the lib editor is that bad, because I am used to the various books for the symbol editor. But those are also ised for the fp editor. On the other hand the new one is alsp pretty nice. Den 04/05/2015 20.42 skrev Fabrizio Tappero fabrizio.tapp...@gmail.com mailto:fabrizio.tapp...@gmail.com: Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.netmailto: kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
understood Chris, they do look all similar cheers Fabrizio -- Fabrizio Tappero On Mon, May 4, 2015 at 10:07 PM, Chris Pavlina pavlina.ch...@gmail.com wrote: People recognize icons quickly by their silhouettes. This is already pretty hard with the existing KiCad icon set, and you're making it harder, by making so many icons into a symbol on top of paper. I agree that the icons need work, but we've got to keep good UI design practices in mind while doing it. Can you do them in a way that makes them *more* individually distinctive? -- Chris On Mon, May 04, 2015 at 08:42:05PM +0200, Fabrizio Tappero wrote: Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [image: Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
Hi Nick, the paper fold was an unlucky attempt to differentiate between tools. top right for the lib de and lib footprint editor and bottom right for the other main kicad programs. All in all is not a really lucky implementation. I will make the same fold for all. The book is not bad but a little hard drown for the main large icons set (48px) but good for the small 26px icons. thanks for comments fab. -- Fabrizio Tappero On Mon, May 4, 2015 at 8:47 PM, Nick Østergaard oe.n...@gmail.com wrote: I wonder why the fold on the paper is in the opposite direction of the other ones, that was there previously. I do not imoly weatjer this is good or bad, I just want to know if there was any thoughts about this. I dont think the old icon with the book for the lib editor is that bad, because I am used to the various books for the symbol editor. But those are also ised for the fp editor. On the other hand the new one is alsp pretty nice. Den 04/05/2015 20.42 skrev Fabrizio Tappero fabrizio.tapp...@gmail.com : Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [image: Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
agreed, I did not make two of the four icons, that is why there is no consistency. Once again. having the same pen on all 4 icons is heavily repetitive. thanks for your opinion Fabrizio -- Fabrizio Tappero On Mon, May 4, 2015 at 10:29 PM, Jean-Paul Louis lou...@yahoo.com wrote: Fabrizio, The pen in the two icons you redesigned is too big. It should be the same size as the one in the other icons (consistency). Otherwise, I'm fine with them. Just my $0.02, Jean-Paul AC9GH On May 4, 2015, at 2:42 PM, Fabrizio Tappero fabrizio.tapp...@gmail.com wrote: footprint ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] kicad pdf documentation gets open in Gimp
Hello, In my Linux Mint (as I supspect in many Debian distros) any pdf (via double click) gets open with the default Document Viewer, as it should. but kicad insist with Gimp. this is a very old issue and despite the possibility of choosing a pdf reader inside kicad, it seems strange to me that in 2015 there is still no way to tell linux not to read a pdf with gimp. Does anybody know how to work around this proble? Thanks Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
Fabrizio, The pen in the two icons you redesigned is too big. It should be the same size as the one in the other icons (consistency). Otherwise, I’m fine with them. Just my $0.02, Jean-Paul AC9GH On May 4, 2015, at 2:42 PM, Fabrizio Tappero fabrizio.tapp...@gmail.com wrote: footprint ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
Hi Fabrizio, Personally I feel confused with the icons on kicad. I will try to explain in words what my mind think while looking for the icons while is trying to decide the desired functionality and I will some ideas and suggestions: The pencil makes me confuse, so all first functionalities are for editing. Maybe if you could use different tools (tool as a figurative meaning), for example in PCB edition (pcbnew) use a cross and hilight the PCB track that is being edited. Maybe with some more work, an icon that show more tracks and footprints. So removing the pencil seems good idea to me. But now in the schematic library editor you have also a transistor (as in the schematic editor), so in my mind I think yeah, I want to place transistors and the two icons show transistors. which one to choose? Maybe for the library editor, try represent a transistor being drawn? Well.. thats my mind point of view :) Regards, Mario Luzeiro From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua...@lists.launchpad.net] on behalf of Nick Østergaard [oe.n...@gmail.com] Sent: 04 May 2015 20:47 To: Fabrizio Tappero Cc: KiCad Developers Subject: Re: [Kicad-developers] kicad main icons - minor improvements I wonder why the fold on the paper is in the opposite direction of the other ones, that was there previously. I do not imoly weatjer this is good or bad, I just want to know if there was any thoughts about this. I dont think the old icon with the book for the lib editor is that bad, because I am used to the various books for the symbol editor. But those are also ised for the fp editor. On the other hand the new one is alsp pretty nice. Den 04/05/2015 20.42 skrev Fabrizio Tappero fabrizio.tapp...@gmail.commailto:fabrizio.tapp...@gmail.com: Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.netmailto:kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] kicad main icons - minor improvements
People recognize icons quickly by their silhouettes. This is already pretty hard with the existing KiCad icon set, and you're making it harder, by making so many icons into a symbol on top of paper. I agree that the icons need work, but we've got to keep good UI design practices in mind while doing it. Can you do them in a way that makes them *more* individually distinctive? -- Chris On Mon, May 04, 2015 at 08:42:05PM +0200, Fabrizio Tappero wrote: Hello, I am working on some styling improvements of the main kicad icons. The two lib component editor and lib footprint editor really need some work, I think. This is some intermediate result: [image: Inline image 2] Any feedback would be great. I think that the pen (that suggest the editing) is actually quite redundant. I attach the svg file just in case somebody (Konstantin?) feels like contributing. Regards Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp