kicad/gerbview
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 Fix useless trailing and leading spaces in a few messages. Fix also capitalization in a few menus. 2017-10-02 09:25:48 +02:00
gerber_test_files Add a gerber test file 2017-10-23 09:20:10 +02:00
tools refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
CMakeLists.txt GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +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
block.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_DCodeSelectionbox.cpp Gerbview: better management of d_codes list in toolbars. 2016-08-17 10:19:10 +02:00
class_DCodeSelectionbox.h Gerbview: better management of d_codes list in toolbars. 2016-08-17 10:19:10 +02:00
class_X2_gerber_attributes.cpp Fix typo and and comment 2017-09-29 07:58:15 +02:00
class_X2_gerber_attributes.h Fix typo and and comment 2017-09-29 07:58:15 +02:00
class_am_param.cpp Coverity fixes 2017-11-01 10:24:26 +01:00
class_am_param.h Gerbview: evaluate Aperture Macro Parameters using precedence rules for the arithmetic expressions found in AM. 2017-04-10 18:44:32 +02:00
class_aperture_macro.cpp Gerbview: avoid a crash with malformed Gerber files. 2017-10-24 18:09:33 +02:00
class_aperture_macro.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_excellon.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
class_gbr_display_options.h Gerbview: fix an issue in legacy mode (locate items was not working) 2017-10-23 11:32:05 +02:00
class_gbr_layer_box_selector.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gbr_layer_box_selector.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_gbr_layout.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gbr_layout.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gbr_screen.cpp Code cleanup: Remove outdated decimils to/from iu defines and conversion functions (decimils are no more in use since a long time). 2016-06-05 13:49:25 +02:00
class_gbr_screen.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
class_gerber_draw_item.cpp Gerbview: fix an issue in legacy mode (locate items was not working) 2017-10-23 11:32:05 +02:00
class_gerber_draw_item.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
class_gerber_file_image.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
class_gerber_file_image.h gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
class_gerber_file_image_list.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gerber_file_image_list.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gerbview_layer_widget.cpp Fix a typo 2017-11-09 19:52:17 +01:00
class_gerbview_layer_widget.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
clear_gbr_drawlayers.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
controle.cpp hotkey management: enhancements in code to know if a hotkey was handled by an event or not. 2017-10-06 09:23:13 +02:00
dcode.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
dcode.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
draw_gerber_screen.cpp Code formatting 2017-09-25 13:35:02 +02:00
evaluate.cpp Gerbview: evaluate Aperture Macro Parameters using precedence rules for the arithmetic expressions found in AM. 2017-04-10 18:44:32 +02:00
events_called_functions.cpp Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME 2017-09-25 13:39:32 +02:00
excellon_read_drill_file.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
export_to_pcbnew.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
files.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
gerber_collectors.cpp GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerber_collectors.h GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerbview.cpp Fp editor and board editor have now a separate color setup. 2017-09-11 18:51:48 +02:00
gerbview.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
gerbview.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
gerbview.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
gerbview_config.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
gerbview_doc.icns Update OS X icns icons 2010-05-13 21:03:12 +02:00
gerbview_draw_panel_gal.cpp refactoring: forgot to add VIEW/VIEW_CONTROLS initialization in gerber, causig a crash. Fixing. 2017-11-05 22:09:56 +01:00
gerbview_draw_panel_gal.h GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerbview_frame.cpp Minor tweaks to GerbView for performance 2017-09-25 13:39:38 +02:00
gerbview_frame.h Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME 2017-09-25 13:39:32 +02:00
gerbview_id.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
gerbview_painter.cpp Fix a few coverity warnings. very minor other changes. 2017-11-02 18:18:57 +01:00
gerbview_painter.h GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
hotkeys.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
hotkeys.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
job_file_reader.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
locate.cpp Gerbview: fix an issue in legacy mode (locate items was not working) 2017-10-23 11:32:05 +02:00
menubar.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
onleftclick.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
onrightclick.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
printout_control.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
readgerb.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
rs274_read_XY_and_IJ_coordinates.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
rs274d.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
rs274x.cpp Gerbview: avoid a crash with malformed Gerber files. 2017-10-24 18:09:33 +02:00
select_layers_to_pcb.cpp Gerbview: minor code cleanup. 2016-06-18 11:37:36 +02:00
select_layers_to_pcb.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
toolbars_gerber.cpp Gerbview: fix zoom to selection tool duplication. 2017-10-30 09:05:35 +01:00