kicad/kicad
Wayne Stambaugh 652b969193 GTK+ file dialog wildcard improvements.
The GTK+ file dialog is case sensitive however it does support regular
expressions.  Most of the file dialog wildcards are lower case so only
files with the lower case extensions will show up in the file dialog.
This code adds a method to convert file extensions of any case to the
appropriate (sch -> [sS][cC][hH]) regular expression on GTK+ builds so
all file extension case combinations will show up in the file dialog.

A note to developers: make sure to add a file extension when setting
when setting the default file argument.  If you do don't set an
extension, the GTK+ file dialog will happily append the regular
expression as the file extension which is surely not what you want.

There are still a few known places (mostly gerbview) where there are
some complex wildcard code that has not been converted.

Fixes lp:1720542

https://bugs.launchpad.net/kicad/+bug/1720542
2017-11-11 19:32:26 -05:00
..
dialogs Improve template selector for macOS 2017-09-18 16:40:50 +02:00
CMakeLists.txt Kicad: Add Project import function. -- add menu entry -- add ImportFile kiway function -- expose functions for creating/reading netlist -- add example eagle boad file as well 2017-10-20 08:38:42 +02: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
class_treeproject_item.cpp Move executable name constants to own file 2017-03-23 09:23:45 -04:00
class_treeproject_item.h Kicad: clean up include files. 2016-02-24 16:36:52 -05:00
class_treeprojectfiles.cpp general UI fix. Fixed a lot of icons and a lot of menu. 2017-06-02 11:51:11 +02:00
class_treeprojectfiles.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
commandframe.cpp Fixed button sizing for launcher panel 2017-06-05 09:29:45 -04:00
file_pro.icns Rework on icons, and more OS X updates 2010-05-09 04:04:44 +02:00
files-io.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
import_project.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
kicad.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
kicad.h Eeschema Eagle Import: Code clean-up and formatting 2017-10-20 09:34:32 +02:00
kicad.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
kicad.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
kicad_doc.icns Rework on icons, and more OS X updates 2010-05-09 04:04:44 +02:00
logokicad.png Dutch language update, kicad splash making to work 2008-08-20 22:44:37 +00:00
mainframe.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
menubar.cpp Kicad: Add Project import function. -- add menu entry -- add ImportFile kiway function -- expose functions for creating/reading netlist -- add example eagle boad file as well 2017-10-20 08:38:42 +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 GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
project_template.cpp Prevent KiCad from overwriting existing files with template files. 2017-08-31 11:15:20 -04: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 GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
tree_project_frame.h Kicad: clean up include files. 2016-02-24 16:36:52 -05:00