kicad/include
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
..
core Use std::remove_pointer instead of own implementation (NFC) 2017-11-09 19:52:18 +01:00
gal 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
geometry Fix a few minor coverity warnings (not initialized members) 2017-11-11 07:25:00 +01:00
kicad_curl Remove useless includes and more fixes to avoid including curl.h in files, when not mandatory. 2017-09-05 08:07:31 +02:00
math box2: Remove wrong use of typename keyword 2017-11-05 23:03:52 +01:00
plugins Remove some extra semicolons 2017-11-09 19:52:18 +01:00
preview_items Multiple improvements concerning colors, configuration handling and legacy features in pcbnew: 2017-08-04 16:06:57 +02:00
system Remove some extra semicolons 2017-11-09 19:52:18 +01:00
tool Remove some extra semicolons 2017-11-09 19:52:18 +01:00
ttl Remove some extra semicolons 2017-11-09 19:52:18 +01:00
view refactoring: derive PCB-specific PCB_VIEW from VIEW with the intention of moving PCB_EDIT_FRAME entries used by the tools (e.g. GetActiveLayer) there 2017-11-03 20:02:06 +01:00
widgets pcbnew: enable net selection combobox in Track/Via properties dialog 2017-07-27 16:21:54 +02:00
base_struct.h Minor trace logging improvements. 2017-09-21 08:58:41 -04:00
base_units.h Move some unit related util function to base_units.h 2017-03-23 12:47:05 -04:00
basic_gal.h Prevent unnecessary compilation due to changes in plot_common.h. 2017-04-18 11:14:59 -04:00
bezier_curves.h Fix Coverity warnings 2017-05-30 09:07:18 +02:00
bin_mod.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
bitmap_types.h Move bitmaps.h out of base_struct.h 2017-02-21 09:50:15 -05:00
bitmaps.h cleanup: replace CLASS_MIRE with CLASS_PCB_TARGET for naming clarity 2017-11-03 20:02:06 +01:00
block_commande.h Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
build_version.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
class_base_screen.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
class_bitmap_base.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_board_design_settings.h refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS 2017-11-03 20:02:06 +01:00
class_board_item.h refactoring: split BOARD_ITEM::SwapData to use polymorphic per-item methods 2017-11-03 20:02:06 +01:00
class_collector.h Pcbnew: delete objects from removed layers. 2017-09-28 13:01:09 -04:00
class_colors_design_settings.h refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS 2017-11-03 20:02:06 +01:00
class_draw_panel_gal.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
class_drawpanel.h Make EDA_DRAW_FRAME::SetToolID and mouse cursor shape setting working in GAL canvases, and uses same mouse cursor shapes in legacy and gal canvases. 2017-06-12 15:16:09 +02:00
class_drc_item.h Fix uninitialized member in DRC_ITEM constructor. 2014-08-16 14:12:11 -04:00
class_eda_rect.h Code formatting fixes 2017-05-10 11:40:49 +02:00
class_layer_box_selector.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_marker_base.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_page_info.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
class_pcb_screen.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
class_title_block.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
class_undoredo_container.h Unified undo buffer handling code for PCB & module editor. 2016-09-12 11:50:06 +02:00
class_worksheet_dataitem.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
colors.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
commit.h Added COMMIT::GetStatus() and minor refactor 2017-07-19 10:46:10 +02:00
common.h refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS 2017-11-03 20:02:06 +01:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
confirm.h Improved various error messages 2017-07-25 07:37:14 -04:00
convert_basic_shapes_to_polygon.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
convert_to_biu.h convert_to_biu: Changed defines & functions to constexpr 2016-12-12 16:45:52 +01:00
dialog_env_var_config.h ENV_VAR config dialog enhancements. 2017-10-26 11:47:57 +02:00
dialog_get_component.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_helpers.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_hotkeys_editor.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
dialog_shim.h MACOS Setfocus and CancelButtonIssue moved into dialog_shim. 2017-01-29 23:51:35 +01:00
dlist.h Refinement to commit #4993. 2014-07-14 16:43:21 +02:00
draw_frame.h 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
drawtxt.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
dsnlexer.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
eagle_parser.h 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
eda_dde.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
eda_doc.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
eda_pattern_match.h Add relational operators to component search 2017-03-27 21:26:49 -04:00
eda_text.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
enum_vector.h eeschema: Iterate through plugins when determining file format. 2017-10-20 08:38:38 +02:00
executable_names.h Move executable name constants to own file 2017-03-23 09:23:45 -04:00
fctsys.h removed wx carbon include in fctsys as it is unnecessary 2015-12-12 23:03:35 +13:00
filter_reader.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
footprint_filter.h Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
footprint_info.h Fix SYNC_QUEUE build issue on Boost < 1.56 2017-03-24 10:09:08 -04:00
fp_lib_table.h Eagle Project Import: Code cleanup and documentation. 2017-10-20 08:58:40 +02:00
frame_type.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
gbr_netlist_metadata.h Pcbnew: fix minor issue in %TO.C advanced attribute, and avoid creating an unused D10 tool in Gerber files. 2017-07-02 16:41:31 +02:00
gestfich.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
gl_context_mgr.h Reverted 6912 with minor changes (LockCtx requires to specify canvas that locks a context). 2016-06-13 16:43:33 +02:00
gr_basic.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
grid_tricks.h *) Factor out Cut, Copy, and Paste for wxGrid into class common/GRID_TRICKS. 2013-10-23 13:56:03 -05:00
hash_eda.h Hash functions for BOARD_ITEMs 2017-10-24 23:10:40 +02:00
hashtables.h Pcbnew: major swig fix. 2016-07-18 13:23:09 -04:00
hotkeys_basic.h PL Editor UI Improvements: Menubar, toolbar and hotkeys 2017-08-29 11:52:34 -04:00
html_messagebox.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
i18n_utility.h Try to fix a compil issue on OSX (no viable conversion from 'const wxString' to 'const wxChar *', in colors.cpp) 2016-05-17 09:10:15 +02:00
id.h Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
import_export.h Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific. 2016-03-01 16:55:44 +01:00
incremental_text_ctrl.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
intrusive_list.h Moved INTRUSIVE_LIST to a separate header 2017-06-23 18:51:00 +02:00
ki_exception.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
ki_mutex.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
kicad_device_context.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kicad_string.h Display more information in component selector 2017-02-07 15:01:20 -05:00
kiface_i.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
kiface_ids.h Add footprint select dropdown to component chooser, serious refactoring 2017-03-24 09:20:27 -04:00
kiway.h Make show/hide icons in menus a run time option, instead of compil option. 2017-03-02 15:45:54 +01:00
kiway_express.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
kiway_mgr.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kiway_player.h Eeschema Eagle Import: Code clean-up and formatting 2017-10-20 09:34:32 +02:00
layers_id_colors_and_visibility.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
length.h.usuned Namespace KiGfx->KIGFX. 2013-10-14 16:13:35 +02:00
lib_id.h Rewrite class UTF8 to contain rather than extend std::string storage. 2017-07-26 08:30:12 -04:00
lib_table_base.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
lib_table_grid.h Make FP_TBL_MODEL reusable. 2017-03-30 18:36:37 -04:00
lockfile.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
lru_cache.h 3D Viewer: complete refactor of the 3D viewer. 2016-07-19 13:35:25 -04:00
macros.h EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
mail_type.h Remove excessive schematic symbol library re-linking. 2017-03-04 16:02:33 -05:00
make_unique.h Add C++14-style std::make_unique 'polyfill' for C++11 2017-01-23 11:41:00 +01:00
menus_helpers.h Make show/hide icons in menus a run time option, instead of compil option. 2017-03-02 15:45:54 +01:00
msgpanel.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
multivector.h fix a segfault in library editor when importing symbols. 2017-10-12 10:38:48 +02:00
newstroke_font.h Fix incorrect (too small) bounding box EDA_TEXT, noticeable when chars like j or { are used in zone fill functions. 2016-03-11 13:08:34 +01:00
observable.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
origin_viewitem.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
pad_shapes.h Add support for custom pad shape. Full support in DRC and PnS. 2017-09-19 09:02:53 +02:00
painter.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
pcb_display_options.h refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS 2017-11-03 20:02:06 +01:00
pcbstruct.h pcbnew legacy: remove option to hide via drill 2016-05-10 16:47:37 -04:00
pgm_base.h Icons options menu: code rework 2017-03-03 14:18:25 +01:00
plot_auxiliary_data.h Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled 2017-08-30 11:04:33 +02:00
plot_common.h Make texts search-able in PDF files (using invisible texts behind stroked texts) 2017-08-15 15:53:00 +02:00
profile.h New connectivity algorithm. 2017-06-23 11:12:36 +02:00
project.h Minor symbol library table edit dialog fix. 2017-11-11 10:33:06 -05:00
properties.h Store information about buffering & caching in properties 2017-02-28 15:18:58 +01:00
ptree.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
reporter.h Fix a few doxygen warnings 2017-06-16 09:18:31 +02:00
richio.h Fix a corner case in richio.cpp that creates a memory allocation overrun (allocate more space). 2017-11-08 13:11:51 +01:00
scoped_set_reset.h Add context menu to GAL DRAWING_TOOL, including the zone menu 2017-01-11 10:41:08 +01:00
search_stack.h Fix windows help path bug. (fixes lp:1313412) 2015-09-20 14:23:17 -04:00
streamwrapper.h Fix a few doxygen warnings and add a few comments. 2017-07-04 11:08:27 +02:00
sync_queue.h Fix SYNC_QUEUE build issue on Boost < 1.56 2017-03-24 10:09:08 -04:00
systemdirsappend.h Move SystemDirsAppend to own header 2017-03-23 09:23:45 -04:00
trigo.h Pcbnew: fix issues with 360 deg angle arcs. 2017-10-23 15:35:03 +02:00
unit_format.h Moved FMT_UI & FMT_ANGLE macros to a separate header 2017-10-20 09:34:32 +02:00
utf8.h Rewrite class UTF8 to contain rather than extend std::string storage. 2017-07-26 08:30:12 -04:00
validators.h Envrionment variable dialog improvments. 2015-08-16 20:30:29 -04:00
wildcards_and_files_ext.h GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
worksheet.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
worksheet_shape_builder.h Pcbnew: fix issues with 360 deg angle arcs. 2017-10-23 15:35:03 +02:00
worksheet_viewitem.h Code formatting 2016-12-12 16:45:52 +01:00
wxBasePcbFrame.h refactoring: renamed pcbstruct.h to pcb_display_options.h, DISPLAY_OPTIONS->PCB_DISPLAY_OPTIONS 2017-11-03 20:02:06 +01:00
wx_status_popup.h Code formatting. 2015-02-18 17:53:46 +01:00
wx_unit_binder.h Change track width setting to dropbox 2017-08-25 16:46:49 +02:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
wxstruct.h Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
xnode.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00