kicad/eeschema
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 GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
netlist_exporters Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
plugins Fix bom2grouped_scv BOM template 2017-08-25 17:06:32 +02:00
qa 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
sim GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
widgets Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
CMakeLists.txt Final symbol library table changes before merge. 2017-11-09 18:50:21 -05: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
annotate.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
autoplace_fields.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
backanno.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
block.cpp Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
block_libedit.cpp Fix a compil warning and a wxASSERT in netlist dialog and component_tree.cpp 2017-07-08 15:58:22 +02:00
bom_table_column.cpp Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bom_table_column.h Component table improvements 2017-05-08 12:43:20 +02:00
bom_table_model.cpp Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bom_table_model.h Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bus-wire-junction.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
busentry.cpp Eeschema: remove unused headers, unused variables, redundant casts, and minor boolean tweaks. 2015-11-03 14:44:05 -05:00
class_drc_erc_item.cpp fix Bug #152546 (Netlist not respecting case sensitivity for labels): the label matching is now case sensitive. To avoid issues with previous eeschema versions, add in ERC a dectection for "similar" labels (labels which differ only by a case sensitivity) 2015-12-20 13:40:17 +01:00
class_libentry.cpp Fix more bugs in the schematic symbol rescuer. 2017-11-09 21:24:43 -05:00
class_libentry.h Minor trace logging improvements. 2017-09-21 08:58:41 -04:00
class_library.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
class_library.h Enable symbol library table remapping. 2017-11-09 18:50:17 -05:00
class_netlist_object.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_netlist_object.h Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_sch_screen.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
cmp_library.keywords 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_library_lexer.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_tree_model.cpp Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model.h Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model_adapter.cpp Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model_adapter.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
component_references_lister.cpp Change the way power symbols are annotated before creating a netlist or running ERC. 2017-07-21 18:41:04 +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
cross-probing.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
dialog_erc_listbox.h Fix a few doxygen warnings 2017-06-21 10:01:39 +02:00
edit_bitmap.cpp Eeschema: add saving schematic files to schematic plugin. 2016-07-11 15:48:46 -04:00
edit_component_in_schematic.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
edit_label.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
eeredraw.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
eeschema.cpp Slightly modify keywords used to store color config of Eeschema and Pcbnew, to avoid this config destroyed each time a stable version is run. 2017-08-27 09:06:26 +02:00
eeschema.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
eeschema.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
eeschema_config.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
eeschema_config.h Pull existing settings into Doxygen module 2016-05-12 15:45:47 -04:00
eeschema_doc.icns Updates for OS X 2010-05-16 20:18:38 +02:00
eeschema_id.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
erc.cpp Eeschema: SCH_SHEET_LIST improvements. 2016-03-06 16:22:01 -05:00
erc.h fix Bug #152546 (Netlist not respecting case sensitivity for labels): the label matching is now case sensitive. To avoid issues with previous eeschema versions, add in ERC a dectection for "similar" labels (labels which differ only by a case sensitivity) 2015-12-20 13:40:17 +01:00
events_called_functions_for_edit.cpp Eeschema: Fix a (minor but annoying) bug detected by coverity which prevent Eeschema to draw components in "fast mode" (i;e. without pin texts) when they are moved, due to a draw parameter which was incorrectly used. 2015-02-28 17:56:09 +01:00
files-io.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
find.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
general.h Clear symbol library list from project file after remapping. 2017-11-09 18:50:23 -05:00
generate_alias_info.cpp Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
generate_alias_info.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
getpart.cpp Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
help_common_strings.h general UI fix. Fixed a lot of icons and a lot of menu. 2017-06-02 11:51:11 +02:00
hierarch.cpp Schematic hierarchy selection dialog fixes. 2017-09-20 08:45:30 -04:00
highlight_connection.cpp Add connection highlight to eeschema, step 2: Fixes, refinements, add hot key, cleanup code. 2016-11-16 13:09:34 +01:00
hotkeys.cpp Add delete block hotkey to schematic editor. 2017-08-29 15:16:56 -04:00
hotkeys.h Disabled the automatic schematic-cross probing due to performance reasons. Added sheet-context menu entry for the cross-probing instead. 2017-09-18 11:16:18 +02:00
invoke_sch_dialog.h Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
lib_arc.cpp Eeschema Eagle Import: Improve arc parsing to replicate eagle filled arcs. 2017-10-20 08:38:39 +02:00
lib_arc.h Eeschema Eagle Import: Improve arc parsing to replicate eagle filled arcs. 2017-10-20 08:38:39 +02:00
lib_bezier.cpp Fix a compil warning and a wxASSERT in COLOR4D_PICKER_DLG_BASE 2017-08-28 17:40:26 +02:00
lib_bezier.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_circle.cpp Eeschema: Add collision-based selection code to circles and text 2017-10-10 20:54:31 +02:00
lib_circle.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_collectors.cpp Turned LIB_ITEMS_CONTAINER into a template 2017-09-20 08:39:14 +02:00
lib_collectors.h Turned LIB_ITEMS_CONTAINER into a template 2017-09-20 08:39:14 +02:00
lib_draw_item.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_draw_item.h Refactored LIB_PART data storage 2017-08-16 16:05:22 +02:00
lib_export.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
lib_field.cpp Eeschema: Add collision-based selection code to circles and text 2017-10-10 20:54:31 +02:00
lib_field.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_pin.cpp Eeschema Eagle Import: Set Pinshape. - modifies lin_pin.cpp function InternalPinDecoSize to default back to number text size if pin name text is set to zero. 2017-10-20 08:38:42 +02:00
lib_pin.h Eeschema Eagle Import: Fix power symbol import. - Set pins to power in to match current power supply symbols. - Change IsPowerConnection() to match POWER_IN pins from power symbols as well. 2017-10-20 08:38:39 +02:00
lib_polyline.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
lib_polyline.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_rectangle.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
lib_rectangle.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_text.cpp Eeschema: Add collision-based selection code to circles and text 2017-10-10 20:54:31 +02:00
lib_text.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
libarch.cpp Symbol library archive bug fixes. 2017-11-09 18:50:22 -05:00
libedit.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
libedit_onleftclick.cpp Eeschema: handle disambiguation cancel in library editor right-click 2017-09-02 14:52:18 -04:00
libedit_onrightclick.cpp Changed all Rotate 90 deg CW with Rotate Clockwise. Changed all Rotate 90 deg CCW with Rotate Counterclockwise 2017-07-21 10:28:44 -04:00
libedit_plot_component.cpp Move LIB_PART::Draw drawing options into a struct 2017-02-19 13:40:26 -05:00
libedit_undo_redo.cpp Fixed a memleak in libedit undo buffer, minor code cleanup 2017-11-08 17:32:59 +01:00
libeditframe.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
libeditframe.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
libfield.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
load_one_schematic_file.cpp Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
menubar.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
menubar_libedit.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
netform.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
netlist.cpp Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
onleftclick.cpp Fixed a memory leak in Spice probe 2017-10-29 00:54:22 +02:00
onrightclick.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
operations_on_items_lists.cpp Removed unused EDA_ITEM::m_Image field. 2016-09-12 11:50:06 +02:00
pin_number.cpp Compress consecutive numbers in pin summary. 2016-01-13 14:18:05 -05:00
pin_number.h Add pin number summary 2016-01-13 14:17:54 -05:00
pin_shape.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
pin_shape.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.cpp Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pinedit.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
plot_schematic_DXF.cpp Split IO_ERROR out of richio.* and store Problem() and Where() separately 2016-09-20 11:56:18 -04:00
plot_schematic_HPGL.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
plot_schematic_PDF.cpp eeschema: set title of plotted pdf to sheet title 2017-01-20 17:11:12 -05:00
plot_schematic_PS.cpp Split IO_ERROR out of richio.* and store Problem() and Where() separately 2016-09-20 11:56:18 -04:00
plot_schematic_SVG.cpp Split IO_ERROR out of richio.* and store Problem() and Where() separately 2016-09-20 11:56:18 -04:00
project_rescue.cpp Fix more bugs in the schematic symbol rescuer. 2017-11-09 21:24:43 -05:00
project_rescue.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
protos.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
sch_base_frame.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
sch_base_frame.h Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
sch_bitmap.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_bitmap.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_bus_entry.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_bus_entry.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_collectors.cpp Correctly filter copyable objects for copy hotkey (Fixes lp:1571316) 2017-02-14 09:48:28 -05:00
sch_collectors.h Pcbnew: delete objects from removed layers. 2017-09-28 13:01:09 -04:00
sch_component.cpp Symbol library archive bug fixes. 2017-11-09 18:50:22 -05:00
sch_component.h Enable symbol library table remapping. 2017-11-09 18:50:17 -05:00
sch_eagle_plugin.cpp Fix build error caused by rebasing against commit 5eb56dd8. 2017-11-09 18:50:21 -05:00
sch_eagle_plugin.h Update Eagle plugin to use symbol library table. 2017-11-09 18:50:21 -05:00
sch_field.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
sch_field.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_io_mgr.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
sch_io_mgr.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
sch_item_struct.cpp Remove some dead code 2017-11-09 19:52:17 +01:00
sch_item_struct.h Remove some dead code 2017-11-09 19:52:17 +01:00
sch_junction.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_junction.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_legacy_plugin.cpp Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
sch_legacy_plugin.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_line.cpp Eeschema Eagle Import: Code clean-up and formatting 2017-10-20 09:34:32 +02:00
sch_line.h Eeschema Eagle Import: Load labels as global or local depending on if the net is shared accross multiple eagle sheets. Test created kicad labels to check if they are on a wire, otherwise movethem to the nearest wire start, midpoint or end. 2017-10-20 08:38:38 +02:00
sch_marker.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_marker.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_no_connect.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_no_connect.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_plugin.cpp Fixed 2 warnings in eeschema/sch_plugin.cpp 2017-11-10 00:33:26 +01:00
sch_reference_list.h Change the way power symbols are annotated before creating a netlist or running ERC. 2017-07-21 18:41:04 +02:00
sch_screen.cpp Eeschema: Draw junctions last 2017-11-11 13:41:52 -05:00
sch_sheet.cpp Disable drawing schematic sheet bounding box. 2017-08-24 08:22:03 -04:00
sch_sheet.h Fix schematic sheet resizing bug. 2017-08-23 13:19:31 -04:00
sch_sheet_path.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_sheet_path.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_sheet_pin.cpp Better fix for schematic sheet re-sizing bug. 2017-08-23 18:33:27 -04:00
sch_text.cpp general UI fix. Fixed a lot of icons and a lot of menu. 2017-06-02 11:51:11 +02:00
sch_text.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_validators.cpp Remove leading/trailing white space error message from field validator. 2017-07-13 13:45:25 -04:00
sch_validators.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
schedit.cpp Eeschema: fix an issue: doc never displayed if a non English language is used due to a bad way to retrieve the DATASHEET field. 2017-10-24 09:47:23 +02:00
schematic_undo_redo.cpp Eeschema: fix crash when undo called during item edit. 2017-09-21 12:37:52 -04:00
schframe.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
schframe.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
selpart.cpp Update Eagle plugin to use symbol library table. 2017-11-09 18:50:21 -05:00
sheet.cpp Pcbnew: fix issues with 360 deg angle arcs. 2017-10-23 15:35:03 +02:00
sheetlab.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
symbdraw.cpp Refactored LIB_PART data storage 2017-08-16 16:05:22 +02:00
symbedit.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
symbol_lib_table.cpp SYMBOL_LIB_TABLE: replaced wxASSERTs with wxCHECKs 2017-11-12 01:10:11 +01:00
symbol_lib_table.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
template_fieldnames.cpp Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
template_fieldnames.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
template_fieldnames.keywords *.lst -> *.keywords, rename input filenames to CMake script TokenList2DsnLexer.cmake 2010-06-18 11:12:15 -05:00
tool_lib.cpp Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
tool_sch.cpp Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
tool_viewlib.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
transform.cpp Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp Convert symbol library viewer over to symbol library table. 2017-11-09 18:50:17 -05:00
viewlib_frame.h Convert symbol library viewer over to symbol library table. 2017-11-09 18:50:17 -05:00
viewlibs.cpp Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00