kicad/pcbnew/import_dxf
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
..
examples Fix to closing polylines in DXF imports. 2015-06-18 17:51:17 +02:00
dialog_dxf_import.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
dialog_dxf_import.h Better Dxf import dialog: 2017-11-05 15:20:34 +01:00
dialog_dxf_import_base.cpp Better Dxf import dialog: 2017-11-05 15:20:34 +01:00
dialog_dxf_import_base.fbp Better Dxf import dialog: 2017-11-05 15:20:34 +01:00
dialog_dxf_import_base.h Better Dxf import dialog: 2017-11-05 15:20:34 +01:00
dxf2brd_items.cpp Better Dxf import dialog: 2017-11-05 15:20:34 +01:00
dxf2brd_items.h Better Dxf import dialog: 2017-11-05 15:20:34 +01:00