kicad patches
Go to file
dwilches 1c19699a7c Fix Preferred Editor dialog (lp: 1558353)
The functions involved in the problem were PGM_BASE::GetEditorName and
EDA_BASE_FRAME::OnSelectPreferredEditor:

1) OnSelectPreferredEditor showed a dialog to allow the user selecting the
editor, but before that called GetEditorName to get the name of the current
editor (to show as a default in the choose file dialog).

2) The problem was when there was no editor, GetEditorName showed its own
dialog.

3) So the user was seeing first the dialog from (2) and then the dialog from
(1).

4) As GetEditorName is used in many other places the solution I did was to add
to it an optional parameter that tells it what to do if no editor is set. To
avoid modifying other code that relies on the current behaviour, this parameter
has a default value that causes to show the dialog. But now when
OnSelectPreferredEditor calls it, it passes the parameter that causes it to
return an empty string if no editor was set.

5) Also, I found a second bug while doing it which allowed in the first dialog
to select an unexistent file (the dialog was missing the wxFD_FILE_MUST_EXIST
flag).

6) Lastly, to avoid having duplicated code (the one that showed the same dialog
and that configured the wildcard was in two methods) I created a single
function that now both functions call: PGM_BASE::AskUserForPreferredEditor.
This way we also will have consistency in the behaviour of both dialogs and
there is a single place where it needs to be modified.
2016-03-17 16:59:35 -04:00
3d-viewer Fix 3d-viewer regressions introduced by touchpad-panning for non-touchpad-panning. 2016-02-26 17:19:22 -05:00
CMakeModules FindwxWidgets.cmake: Remove extra newline 2016-02-15 18:50:49 +01:00
Documentation Documentation: add missing dependency to compiling with msys2. 2016-03-11 08:20:31 -05:00
bitmap2component Executable icon resource build configuration fixes. 2016-01-28 11:53:24 -05:00
bitmaps_png Pcbnew, File menu: break Open (board) into 2 menu items: Open (only for Kicad board files) and Import (only for non Kicad board files) 2016-03-04 19:48:08 +01:00
common Fix Preferred Editor dialog (lp: 1558353) 2016-03-17 16:59:35 -04:00
cvpcb Move copy version information code to about dialog. 2016-03-11 11:40:24 -05:00
demos Fix Bug #1539889 (empty translated strings which create issues in translation tools) 2016-01-30 14:14:58 +01:00
eeschema Eeschema: fix a stupid bug which prevents the netlister to output the right pin electrical type in netlist. 2016-03-15 12:29:16 +01:00
gerbview Move copy version information code to about dialog. 2016-03-11 11:40:24 -05:00
helpers/tools_to_build_newstroke-font Developer credit and copyright updates. 2015-11-19 10:04:12 -05:00
include Fix Preferred Editor dialog (lp: 1558353) 2016-03-17 16:59:35 -04:00
kicad Move copy version information code to about dialog. 2016-03-11 11:40:24 -05:00
lib_dxf Fix a few coverity warnings. 2015-08-16 11:02:19 +02:00
new Move the non shared file class_sch_screen.h to eeschema folder. Code cleaning. Remove some wxCHECK_VERSION tests now useless. 2015-07-29 20:06:45 +02:00
packaging Removed outdated packagemaker information, the pmdoc is generated and does not belong in the kicad tree, it is also highly specific as seen due to the references to /Users/marco, this is not used in normal builds nor in the packaging for kicad osx nightlies 2015-10-31 02:08:31 +13:00
pagelayout_editor Move copy version information code to about dialog. 2016-03-11 11:40:24 -05:00
patches Add wxWidgets 3.0.2 (possibly earlier) patch to fix wxDataViewCtrl crash bug on OSX. 2015-06-15 16:15:34 -04:00
pcb_calculator Delete unused documentation 2016-02-12 15:48:24 -05:00
pcbnew PCB updater: spread footprints after updating netlist 2016-03-16 23:05:08 -04:00
polygon Polygon calculation (zones filling): use fast mode when possible (in fact most of time) and strictly simple polygon option only in critical cases (in fact in plot Gerber functions mainly). 2015-12-15 21:21:25 +01:00
potrace Update potrace library from 1.12 to 1.13, due to a bug fix in 1.13 2016-02-28 18:04:51 +01:00
qa CMake: remove OpenSSL download and build dependency code. 2015-12-03 10:59:02 -05:00
resources/linux/mime Add CvPcb footprint search and filter by name. 2016-02-24 17:30:35 +01:00
scripting Scripting: replace PyCrust shell with enhanced PyAlaMode shell. 2015-12-21 09:55:31 -05:00
scripts Removed the included GLM library, switched to the system one. 2015-12-08 10:56:53 +01:00
template Minor changes: modify a few messages in dialogs to allow a better or more easy translation of these messages (too short messages cannot be safely translated). 2015-05-22 13:00:43 +02:00
tools Minor CMake configuration file fixes. 2016-02-29 14:08:03 -05:00
utils Avoid comparing filepos with integers 2016-01-17 10:59:08 -05:00
.bzrignore Added files generated by pcb_calculator to .bzrignore. 2016-02-01 10:05:58 +01:00
.gitconfig Remove .gitignore file and add .gitconfig. (fixes previous fix for lp:1407338) 2015-01-06 16:46:04 -05:00
AUTHORS.txt Update credits in AUTHORS.txt and about dialog. 2015-11-29 14:02:42 -05:00
CHANGELOG.txt Eliminate many assumptions in Pcbnew's library manager, pertaining to locality of libraries and 2012-11-19 10:19:38 -06:00
CMakeLists.txt Minor CMake configuration file fixes. 2016-02-29 14:08:03 -05:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Documentation: add version 5 road map to developer documentation. 2016-02-03 19:12:24 -05:00
INSTALL.txt Update INSTALL.txt with current dependencies 2015-12-22 15:25:41 +01:00
README.txt Fix spelling errors in README.txt. 2015-12-20 16:37:58 -05:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
copyright.h Developer credit and copyright updates. 2015-11-19 10:04:12 -05:00
license_for_documentation.txt 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
rules 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
uncrustify.cfg Fix case statement indentation setting for uncrustify. 2015-01-08 09:02:27 -05:00

README.txt

KiCad README
============
For specific documentation like Compiling, GUI translation, Old changelogs see the
Documentation subfolder.

Files
-----
AUTHORS.txt         - The authors, contributors, document writers and translators list
CHANGELOG.txt       - This years changelog (see for previous years Documentation/changelogs)
CMakeList.txt       - CMAKE build tool script
COPYRIGHT.txt       - A copy of the GNU General Public License Version 2
CTestConfig.cmake   - Support for CTest and CDash testing tools
Doxyfile            - Doxygen config file for Kicad
INSTALL.txt         - The release (binary) installation instructions
TODO.txt            - Todo list
uncrustify.cfg      - Uncrustify config file for uncrustify sources formatting tool

Subdirectories
--------------
3d-viewer      - Sourcecode of 3D viewer
bitmaps        - Menu and program icons
bitmap2component - Sourcecode of a small application to create a footprint or a component from a B&W bitmap
                    this component or footprint has just graphic items that show the bitmap
CMakeModules   - Modules for the CMAKE build tool
common         - Sourcecode of the common library (common functions shared across whole suite)
cvpcb          - Sourcecode of CvPCB, tool to link components with footprints sourcecode
demos          - Some demo examples
Documentation  - Compiling documentation. Translating the GUI, old changelogs etcetera.
eeschema       - Sourcecode of the schematic editor
gerbview       - Sourcecode of the gerber viewer
helpers        - Helper tools and utilities for development
include        - Interfaces to the common library
internat       - Internationalisation files
kicad          - Sourcecode of the project manager
packaging      - Files for packaging on Windows and Mac OSX
pcbnew         - Sourcecode of the printed circuit board editor
polygon        - Sourcecode of the polygon library
resources      - Resources for installation, freedesktop mime-types for linux
scripts        - Helper scripts. For building, sourcecode packaging.
template       - Project template(s)