kicad/kicad
Wayne Stambaugh 5678a166ee Fix template path bugs.
Remove KICAD_PTEMPLATE environment variable as it's purpose was not
clear and was often poorly defined as the path to the KiCad installed
templates.

Add a new KICAD_TEMPLATE_DIR environment variable which clearly should
be the path of the KiCad installed templates.  Make this environment
variable available in the user settings in case the default is wrong
which has been the case in some instances.  Use the standard search
stack to set the default system template path which has a much greater
chance of being correct.

Add a new KICAD_USER_TEMPLATE_DIR environment variable which clearly
should be the path of the user defined templates.  Users most likely
were not even aware of the old default user path unless they read the
fine manual.

Set template path search stack priority as follows:

* KICAD_USER_TEMPLATE_DIR
* KICAD_TEMPLATE_DIR
* Search stack template paths

Reverse template selection dialog and project path dialog for improved
user experience.

Fixes lp:1543443

https://bugs.launchpad.net/kicad/+bug/1543443
2018-05-20 18:56:11 -04:00
..
dialogs Standardize colons in kicad template dialog 2018-04-23 13:15:02 -07:00
CMakeLists.txt Rename files 2018-02-07 14:16:05 +01:00
Info.plist Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name 2015-10-30 08:43:04 +13:00
commandframe.cpp Add separators to kicad window. 2018-03-15 19:14:49 +00:00
file_pro.icns Rework on icons, and more OS X updates 2010-05-09 04:04:44 +02:00
files-io.cpp Rebuild project tree when unarchiving into project dir. 2018-02-16 16:01:32 +01:00
import_project.cpp Refactor Eagle project import to use Kiway::ExpressMail() 2018-03-04 16:45:42 +01:00
kicad.cpp Fix template path bugs. 2018-05-20 18:56:11 -04:00
kicad.h Fix code after renaming files 2018-01-29 16:40:22 +01:00
kicad.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
kicad.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
kicad_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
logokicad.png Dutch language update, kicad splash making to work 2008-08-20 22:44:37 +00:00
mainframe.cpp At very first launch, old settings/config does not exist 2018-05-01 09:19:27 -04:00
menubar.cpp Use Ctrl+F1 to display hotkey list also in Gerbview and Kicad manager 2018-04-14 17:12:28 +02:00
pgm_kicad.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
preferences.cpp Correct multiple UI spelling errors 2016-05-02 10:01:43 -04:00
prjconfig.cpp Fix template path bugs. 2018-05-20 18:56:11 -04:00
project_template.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
project_template.h Prevent KiCad from overwriting existing files with template files. 2017-08-31 11:15:20 -04:00
tree_project_frame.cpp Use "..." uniformly in menus. 2018-02-10 17:32:28 -05:00
tree_project_frame.h Kicad: clean up include files. 2016-02-24 16:36:52 -05:00
treeproject_item.cpp Rename files 2018-02-07 14:16:05 +01:00
treeproject_item.h Rename files 2018-02-07 14:16:05 +01:00
treeprojectfiles.cpp Rename files 2018-02-07 14:16:05 +01:00
treeprojectfiles.h Rename files 2018-02-07 14:16:05 +01:00