kicad/include
Seth Hillbrand 7c9340f855 Fix swap interval checking
Checking for the existence of the call only validated that our header
defined the value, not that the video card/driver supported the call.
We query the extensions string directly to check for support.  This
should fix both the X11 and virtualization issues (potentially other
crashes with older video cards as well)

Fixes https://gitlab.com/kicad/code/kicad/issues/8944
2022-01-06 10:53:13 -08:00
..
bitmaps We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
core Add missing types to IsInstantiableType() switch 2021-12-01 00:47:22 +01:00
dialogs Add hot-updating of units in common wxGrids. 2021-12-23 17:01:34 +00:00
drawing_sheet Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
gal Gerbview: Fix diff mode issues with OpenGL transparency 2022-01-02 18:18:00 -05:00
kicad_curl Code cleaning. 2021-09-07 15:18:42 -04:00
libeval Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
libeval_compiler libeval_compiler: thou shalt not return pointers to std::vector members! (fixes an use-after-free crash in complex rule evaluation invoked by the router) 2021-10-29 16:48:36 +02:00
plotters Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
plugins Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
preview_items Connect ruler tool with axes preferences 2021-11-23 12:52:21 -08:00
project Update kicad_prl file when doing a SaveAs. 2021-11-09 17:25:18 +00:00
settings Another round of beautification changes for PCM. 2021-11-14 13:11:19 +00:00
tool Regularize the promotion of pads to footprints in non-free-pad mode. 2021-12-08 13:08:54 +00:00
view Add profile counters for PCB mouse and paint events 2021-12-05 15:16:08 -05:00
widgets Correct cursor for search control buttons. 2021-11-18 18:25:14 +00:00
advanced_config.h Remove manual canvas scale from GTK 2021-12-09 18:36:44 -05:00
array_axis.h Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.h Coverity issue fix. 2021-10-29 10:43:40 -04:00
asset_archive.h Get rid of anonymous struct typedefs 2021-07-01 18:28:41 -04:00
base64.h Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.h Remove unused m_crossHairPosition 2021-06-15 21:25:27 -04:00
base_units.h Move inline function declaration to allow removing include 2021-06-01 19:03:22 -04:00
basic_gal.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
bin_mod.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap_base.h Pass COLOR4D object by reference instead of on the stack. 2021-07-26 13:28:56 -04:00
bitmap_store.h Add support mode for dark mode to SCINTILLA_TRICKS. 2021-09-14 00:18:50 +01:00
bitmaps.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
board_design_settings.h PCB Editor: changes to track width overrides starting track width 2021-12-15 23:32:48 +00:00
board_item.h Teach router about different keepout rules. 2021-11-27 00:55:04 +00:00
board_printout.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
build_version.h Avoid calling deprecated wxPlatformInfo::GetArchName() in more than one place. 2021-11-13 09:52:08 +01:00
class_draw_panel_gal.h Add profile counters for PCB mouse and paint events 2021-12-05 15:16:08 -05:00
collector.h Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
commit.h Suppress leaking eda_item so much via undo_redo_container.h 2021-06-08 19:12:30 -04:00
common.h Use individual parameter version of wxExecute. 2021-09-26 15:03:06 +01:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Header clean up round 1. 2020-12-18 09:04:26 -05:00
confirm.h Overhaul file locking system. 2021-08-31 15:04:31 +01:00
convert_to_biu.h Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
dialog_shim.h Add unsaved-changes indication to Symbol Properties. 2021-10-25 12:35:04 +01:00
dsnlexer.h pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.h Silence IsWritable warning message 2021-11-16 21:02:32 -05:00
eda_dde.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_doc.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
eda_draw_frame.h Add status bar message for constraint mode. 2021-10-24 14:04:12 +01:00
eda_item.h Update EDA_ITEM::HitTest docstring 2021-12-06 01:16:17 +01:00
eda_item_flags.h Add missing cstdint include 2021-06-08 19:51:35 -04:00
eda_list_dialog.h Freshen microwave polygon dialog and remove a bunch of dead code. 2021-08-03 01:11:11 +01:00
eda_pattern_match.h Fix shadow variable defn. 2021-12-02 11:40:31 +00:00
eda_rect.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
eda_shape.h Patch up arc hit-testing and printing for 6.0 2021-10-30 15:10:07 +01:00
eda_text.h Improve text hittesting in schematics. 2021-11-01 21:13:12 +00:00
eda_units.h Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
enum_vector.h Comment-only changes 2020-01-10 16:43:01 -08:00
env_paths.h Normalize drawing sheet path to env vars & prj, not just prj. 2021-10-02 23:39:45 +01:00
env_vars.h Namespace the env_vars.h functions 2021-06-27 00:38:19 -04:00
executable_names.h Move executable name constants to own file 2017-03-23 09:23:45 -04:00
filehistory.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
filename_resolver.h Fully resolve path list for Kicad2Step. 2021-08-14 11:21:25 +01:00
filter_reader.h Cleanup wx includes in the filter reader 2021-06-04 01:26:58 +01:00
footprint_editor_settings.h Add missing view controls for FP Editor Appearance Manager. 2021-10-31 16:33:03 +00:00
footprint_filter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
footprint_info.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
fp_lib_table.h Fp editor: do not change item UUIDs when loading a footprint from library. 2021-03-30 12:58:22 +02:00
frame_type.h Working python window 2021-06-01 20:18:24 +00:00
gbr_metadata.h Header clean up round 2. 2020-12-19 13:55:28 -05:00
gbr_netlist_metadata.h Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
gestfich.h Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
gl_context_mgr.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
gl_utils.h Fix swap interval checking 2022-01-06 10:53:13 -08:00
gr_basic.h Cleanup dead code. 2021-11-17 12:49:53 +00:00
gr_text.h Pass VECTOR2I objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
grid_tricks.h Fix event id intersections when toggling some columns via popup. 2021-12-13 00:35:44 +03:00
hash_eda.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
hashtables.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
hotkey_store.h Add Quit and Close to the HotKeys list. 2021-05-11 23:25:13 +01:00
hotkeys_basic.h Expunge EDA_FILE_SELECTOR. 2021-07-28 14:12:51 -04:00
html_window.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00: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 Add swedish as option for translators 2021-11-08 11:41:14 -08:00
ignore.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07: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
inspectable.h Coverity issue fixes. 2021-06-30 18:08:49 -04:00
intrusive_list.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
ki_exception.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
kiface_base.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
kiface_ids.h Centralizing SCRIPTING class 2021-06-01 20:18:24 +00:00
kiid.h Don't generate duplicate IDs in line/wire/bus tool. 2021-11-24 13:20:44 +00:00
kiway.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_express.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.h KIWAY_HOLDER doesnt need wx/frame.h 2021-06-03 18:59:11 -04:00
kiway_mgr.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.h KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
launch_ext.h Fix opening files with spaces on Linux 2021-11-07 14:31:14 +00:00
layer_ids.h Draw dangling symbols on a separate layer. 2021-12-06 18:50:50 +00:00
lib_id.h Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table_base.h Fix source comment/doc typos (follow-up) 2021-07-13 10:48:17 +00:00
lib_table_grid.h Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
lib_tree_item.h Evict some more eda_item.h includes 2021-06-08 19:12:29 -04:00
lib_tree_model.h Fix lib tree searches to handle searching on library names. 2021-12-14 15:18:48 +00:00
lib_tree_model_adapter.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
locale_io.h Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
logging.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
macros.h Overhaul arc internal model to not over-specify information. 2021-10-15 12:45:43 +01:00
macros_swig.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
mail_type.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
marker_base.h Scale markers somewhat proportionally to zoom. 2021-12-23 17:01:01 +00:00
menus_helpers.h Remove transitive inclusion of bitmaps.h 2021-03-07 16:08:57 -05:00
multivector.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
netclass.h Return new string to avoid losing the reference 2021-08-22 16:56:41 -07: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 Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_transforms.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
origin_viewitem.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
outline_mode.h python wrap: fix undefined FILLED/SKETCH constants in pcbnew.py 2020-10-21 13:23:06 +02:00
pad_shapes.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
page_info.h Don't restrict page sizes unnecessarily. 2021-07-29 16:47:45 +01:00
painter.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
panel_hotkeys_editor.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
panel_text_variables.h Variable substitution framework. 2020-03-30 14:15:59 +01:00
paths.h fixe paths 2021-12-02 20:23:00 +00:00
pcb_base_frame.h Update call signature for SwitchLayer 2021-12-09 10:14:11 -08:00
pcb_display_options.h Impleent persistence for no-connect pad setting. 2021-09-01 00:00:12 +01:00
pcb_group.h Lock/unlock group members when locking/unlocking group. 2021-09-27 11:29:52 +01:00
pcb_screen.h Header clean up round 3. 2020-12-19 18:29:10 -05:00
pgm_base.h Prevent dereferencing frame on exit 2021-11-15 10:07:28 -08:00
printout.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
profile.h Add legacy CTOR for PROF_COUNTER 2021-12-15 12:52:08 -08:00
progress_reporter.h Decouple PROGRESS_REPORTER interface from implementations. 2021-08-14 21:05:49 +01:00
project.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
properties.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
property.h common: add PROPERTY::IsValueDefined() 2021-05-03 23:45:54 +02:00
property_mgr.h Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
ptree.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
rc_item.h Work around EnsureVisible bug in wxWidgets during DRC cross-probe. 2021-10-06 11:17:03 +01:00
refdes_utils.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
render_settings.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.h Remove all wxWidgets build dependencies from REPORTER object header. 2021-08-16 07:49:39 -04:00
richio.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
scintilla_tricks.h Dark theme support for SPICE model editor 2021-12-03 03:41:32 +01:00
scoped_set_reset.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
search_stack.h Fix broken search stack behavior. 2021-11-13 07:52:25 -05:00
status_popup.h Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
streamwrapper.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
string_utils.h Exclude formatting chars from text width approximation. 2021-09-04 22:09:32 +01:00
sync_queue.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
systemdirsappend.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
template_fieldnames.h We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
textentry_tricks.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
title_block.h Fix issue with predefined variable texts ${COMMENT0} to ${COMMENT9} 2021-02-21 18:29:14 +01:00
trace_helpers.h Fix compile error with UTF8 unicode wxWidgets build 2022-01-05 19:45:27 +00:00
undo_redo_container.h Fix compil warnings (UNDO_REDO::GROUP renamed to UNDO_REDO::REGROUP to fix 2021-08-28 11:44:01 +02:00
utf8.h Start expunging NULL. 2021-07-15 15:44:45 -04:00
validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
wildcards_and_files_ext.h Make it easier to open legacy files. 2021-11-19 13:36:14 +00:00
wx_filename.h Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
wxstream_helper.h Use heap instead of stack for CopyStreamData 2021-11-10 22:05:44 -05:00
xnode.h Header clean up round 4. 2020-12-21 10:18:10 -05:00
zoom_defines.h Increase maximum zoom for pcbnew and gerbview 2021-06-11 14:26:38 -07:00