kicad/include
John Beard 6b4b2d61f8 Common: do not conditionally define wxPoint/Size operator<<
Due to an interaction with old (<1.59) versions of Boost, the ostream
operator<< for wxPoint and wxSize is requried to use
BOOST_CHECK_EQUAL_COLLECTIONS (the print_log_value<T> function is not
used by this macro until 1.59).

Because these functions are available in Debug builds, unit tests that
use such functions will break when compiled as Release or
RelWithDebugInfo.

The change here is to not disable these functions in Release builds.

Also, the functions are moved to common.h, to go with other generic
WX "polyfill" functions. Although they might be commonly used by the
EDA_ITEM::Show functions, they are not specifically related to that
class.

Fixes: lp:1830612
* https://bugs.launchpad.net/kicad/+bug/1830612
2019-05-28 13:52:36 +01:00
..
core Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
gal Cairo GAL: fix incorrect arc position in mirror mode. 2019-05-08 14:24:26 +02:00
geometry Allow squared inflation and inflate Eagle Zones 2019-05-21 13:49:18 -07:00
kicad_curl Replace WIN32 preprocessor symbol by the official symbol _WIN32, used almost everywhere 2018-10-20 09:22:24 +02:00
legacy_gal Moving PageLayout editor to GAL canvas and modern toolset. 2019-05-24 19:49:09 +01:00
legacy_wx Remove more legacy editing code. 2019-05-27 18:47:20 +01:00
libeval Clean up units infrastructure after g_UserUnit removal. 2018-07-17 15:12:36 +01:00
math BOX2: added compare operators 2018-10-10 17:26:32 +02:00
plugins Remove some extra semicolons 2017-11-09 19:52:18 +01:00
preview_items Pcbnew: break out preview draw helpers 2019-05-14 13:29:45 +01:00
system Fix another compilation issue on PPC64 2019-02-27 11:23:23 -05:00
tool Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
ttl Remove some extra semicolons 2017-11-09 19:52:18 +01:00
view gtk3: Force GTK2-style input handling 2019-02-19 11:03:20 -08:00
widgets Remove more legacy editing code. 2019-05-27 18:47:20 +01:00
advanced_config.h eeschema: Move realtime connectivity to adv config 2019-04-12 08:37:44 -07:00
array_axis.h Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.h Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
base_screen.h Retire legacy block architecture. 2019-05-27 11:58:56 +01:00
base_struct.h Common: do not conditionally define wxPoint/Size operator<< 2019-05-28 13:52:36 +01:00
base_units.h Remove angle brackets from indeterminate string. 2019-04-01 13:23:37 +01:00
basic_gal.h fix misspelled 'allows to' -> 'allows one to' 2018-07-11 10:35:03 -04:00
bezier_curves.h DXF import: add import of DXF splines that are converted to Bezier curves. 2018-07-22 18:39:47 +02:00
bin_mod.h Fixed memory leaks 2018-12-20 10:05:58 +01:00
bitmap_base.h Common: declare COLOR4D inside KIGFX 2019-05-23 19:35:20 +01:00
bitmap_types.h Bitmaps: move bitmap defs to bitmaps library 2019-02-04 19:29:31 -08:00
bitmaps.h Bitmaps: move bitmap defs to bitmaps library 2019-02-04 19:29:31 -08:00
board_design_settings.h pcbnew: Add arc approximation setting to board 2019-05-24 21:21:06 -07:00
board_printout.h Removed a redundant parameter from BOARD_PRINTOUT constructor 2018-10-31 19:17:30 +01:00
build_version.h More missing source license fixes. 2014-10-22 11:51:34 -04:00
class_board_item.h Move remaining hard-coded segment counts 2019-05-16 08:49:55 -07:00
class_draw_panel_gal.h Fix incorrect (broken) canvas type saving in config. 2019-01-11 13:19:46 +01:00
collector.h Moving PageLayout editor to GAL canvas and modern toolset. 2019-05-24 19:49:09 +01:00
colors.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
colors_design_settings.h rename files 2018-01-31 09:24:00 +01:00
commit.h Don't set dirty bit when adding MARKERs. 2018-04-09 21:19:11 +01:00
common.h Common: do not conditionally define wxPoint/Size operator<< 2019-05-28 13:52:36 +01:00
config_map.h Fix a few doxygen warnings 2017-06-20 10:47:30 +02:00
config_params.h Fixes for importing board setup properties. 2019-04-01 13:23:37 +01:00
confirm.h Make ModEdit and LibEdit library tree actions more consistent. 2018-10-03 22:46:41 +01:00
convert_basic_shapes_to_polygon.h Moving further arc approximations down 2019-05-22 14:35:17 -07:00
convert_to_biu.h Switch zone fillets to absolute-error algorithm. 2018-03-23 12:46:17 +00:00
cursor_store.h Eeschema: construct simulator cursors on demand 2019-04-02 18:26:33 +01:00
dialog_configure_paths.h Centralise utilities for env variables. 2018-10-03 11:53:10 -04:00
dialog_edit_library_tables.h Add Manage Symbol and Footprint Library tables to project frame. 2018-07-19 21:46:41 +01:00
dialog_helpers.h Move symbol management to a standard Save As... model. 2018-07-25 14:41:20 +01:00
dialog_shim.h Dialog: Esc key closes a grid editor first. 2019-01-19 14:55:15 -05:00
dlist.h Refinement to commit #4993. 2014-07-14 16:43:21 +02:00
dpi_scaling.h Add configuration of Hi-DPI canvas scaling in OpenGL 2019-03-25 15:00:55 +00:00
draw_frame.h Remove more legacy editing code. 2019-05-27 18:47:20 +01:00
draw_graphic_text.h DrawGraphicText: remove a static variable, and replace it (when needed) by a new parameter in argument list. 2018-04-07 19:57:26 +02:00
drc_item.h Reimplement footprint checking on top of DRC architecture. 2019-04-08 13:26:17 +01:00
dsnlexer.h fix misspelled 'an other' -> 'another' 2018-04-08 13:24:37 -04:00
eagle_parser.h eagle: Handle DRC rule-based pad shapes 2019-02-04 07:06:49 +01:00
eda_base_frame.h Push help menu down into EDA_BASE_FRAME. 2019-05-18 13:14:08 +01:00
eda_dde.h Keep track of open sockets and dispose of them in d'tor. 2018-04-04 12:02:40 +01:00
eda_doc.h Move env var substitution into GetAssociatedDocument 2019-03-10 08:39:36 -07:00
eda_dockart.h Overhaul border drawing in all the Kicad frames. 2018-08-11 17:25:38 +01:00
eda_pattern_match.h Prevent implicit * from wildcard match in footprint 2018-05-01 16:49:20 -07:00
eda_rect.h Fix code after renaming files 2018-01-29 11:37:29 +01:00
eda_text.h Refresh shown_text cache when incrementing label name. 2019-05-15 17:50:52 +01:00
enabler.h Prevent issuing a print command before the previous one is finished 2018-04-23 11:25:28 +02:00
enum_vector.h eeschema: Iterate through plugins when determining file format. 2017-10-20 08:38:38 +02:00
env_paths.h Footprint Wizard now also handles custom Env paths 2018-04-06 14:51:09 +01:00
env_vars.h Add configuration of Hi-DPI canvas scaling in OpenGL 2019-03-25 15:00:55 +00: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
filename_resolver.h Fold 3D Search Paths dialog into Configure Paths. 2018-07-17 15:11:01 +01:00
filter_reader.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
footprint_filter.h Update footprint filter type-in to be implicit * 2018-05-08 10:44:14 -07:00
footprint_info.h Remove ki_mutex.h and associated includes 2019-05-03 17:13:20 -07:00
fp_lib_table.h Make ModEdit and LibEdit library tree actions more consistent. 2018-10-03 22:46:41 +01:00
frame_type.h Overhaul border drawing in all the Kicad frames. 2018-08-11 17:25:38 +01:00
gbr_metadata.h Drill files generation: add 3 structured comments in NC (Excellon) drill files and remove duplicate code. 2018-11-24 08:51:58 +01: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 Replace remaining Boost mutexs with std::mutex 2019-05-03 17:13:20 -07:00
gr_basic.h Retire legacy block architecture. 2019-05-27 11:58:56 +01:00
grid_tricks.h Drop cell editor when selecting column. 2019-05-11 15:38:49 +01: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
hotkey_store.h Check for conflicts when reseting/undoing hotkey changes 2018-09-28 08:28:22 -04:00
hotkeys_basic.h Fix duplicate to work like paste to keep pins from getting duplicated. 2019-05-27 11:58:56 +01:00
html_messagebox.h Release mouse before closing HTML_MESSAGE_BOX. 2018-05-21 13:18:41 +01: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 Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01: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
intrusive_list.h Moved INTRUSIVE_LIST to a separate header 2017-06-23 18:51:00 +02:00
ki_exception.h Add KI_PARAM_ERROR, similar to std::invalid_argument but using wxString instead of std::string to throw errors. 2018-06-05 13:29:51 +02:00
kicad_device_context.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kicad_string.h Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00
kiface_i.h Fixed memory leaks 2018-12-20 10:05:58 +01:00
kiface_ids.h Make sure Cvpcb doesn't use its own FP_LIB_TABLE. 2018-05-01 21:49:03 +01:00
kiway.h Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
kiway_express.h Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
kiway_mgr.h Minor coding style fixes in headers 2016-01-12 11:33:33 -05:00
kiway_player.h Not all SCH_DRAW_PANELs have a selection tool. 2019-05-23 00:27:53 +01:00
layers_id_colors_and_visibility.h Fix issue with LAYER ids and bitfields. 2019-05-24 21:23:26 +01:00
length.h.usuned Namespace KiGfx->KIGFX. 2013-10-14 16:13:35 +02:00
lib_id.h Fix LIB_ID illegal character tests. 2018-10-07 09:09:27 -04:00
lib_table_base.h Add try/catch block around writing a new library. 2019-04-18 22:00:32 +01:00
lib_table_grid.h fix a minor compil warning 2018-05-06 12:49:35 +02:00
lib_tree_item.h More performance enhancements. 2018-08-06 13:49:27 +01:00
lockfile.h Doxygen comment improvements. 2017-06-13 19:47:46 -04:00
macros.h Allow setting the kicad config dir 2019-04-08 12:33:49 -07:00
mail_type.h Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
make_unique.h Add C++14-style std::make_unique 'polyfill' for C++11 2017-01-23 11:41:00 +01:00
marker_base.h Homogenize hit testing and selection return types. 2019-05-05 17:14:30 +01:00
md5_hash.h Add MD5_HASH::Format for debug purposes. 2019-03-21 11:42:15 +01:00
menus_helpers.h SIM_PLOT_FRAME: cosmetic enhancement: add icons in main menu. 2019-04-14 15:31:46 +02: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 Implement undo/redo for origins in legacy 2018-01-27 19:51:44 -05:00
pad_shapes.h Pcbnew: add a new primitive pad shape: chamfered round rect pad. 2019-03-11 10:26:15 +01:00
page_info.h Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
painter.h Moving PageLayout editor to GAL canvas and modern toolset. 2019-05-24 19:49:09 +01:00
panel_hotkeys_editor.h Add read-only option for hotkey list, use for list dialog 2018-10-04 07:47:21 -04:00
pcb_base_frame.h Remove more legacy editing code. 2019-05-27 18:47:20 +01:00
pcb_display_options.h Push polar coords down into COMMON_TOOLS. 2019-05-18 00:21:49 +01:00
pcb_screen.h Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
pcbstruct.h Push polar coords down into COMMON_TOOLS. 2019-05-18 00:21:49 +01:00
pgm_base.h Eeschema: make menu file history working again. 2019-05-25 20:58:28 +02:00
plotter.h Eeschema: use worksheet color when plotting 2019-05-26 13:03:23 -04:00
printout.h Removed default line width setting from the printing dialog 2018-10-31 19:17:30 +01:00
profile.h PROF_COUNTER: add a helper method. 2019-03-14 09:11:34 +01:00
project.h Implement poor-man's RTTI for use over KiWAY. 2018-09-15 20:06:42 +01: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
refdes_utils.h Break out ref-des-centric functions to own header 2019-01-30 15:41:36 -08:00
reporter.h HTML_REPORT: RPT_ALL as sum of individual options 2018-11-23 20:31:27 -08:00
richio.h richio.h, class LINE_READER: prefix variable member names by "m_", like in other classes in Kicad. 2017-11-12 18:29:56 +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 Implement poor-man's RTTI for use over KiWAY. 2018-09-15 20:06:42 +01:00
status_popup.h Rework Eeschema find/replace for modern toolset. 2019-05-22 21:48:04 +01:00
streamwrapper.h Replace WIN32 preprocessor symbol by the official symbol _WIN32, used almost everywhere 2018-10-20 09:22:24 +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
text_utils.h Added files missing in 602ecf75 2017-12-07 18:14:19 +01:00
title_block.h QA: Add TITLE_BLOCK tests 2018-11-08 08:28:20 -05:00
trace_helpers.h Eeschema: fix broken symbol library links. 2019-04-30 13:05:27 -04:00
trigo.h Report actual intersection position for crossing tracks 2019-05-26 13:03:23 -04:00
undo_redo_container.h Retire legacy block architecture. 2019-05-27 11:58:56 +01:00
utf8.h change UTF8& operator+=( wchar_t ch ) to UTF8& operator+=( unsigned ch ), because swig does not like wchar_t. 2017-12-08 17:57:53 +01:00
validators.h Eeschema: fix corrupted schematic and symbol library files. 2019-05-10 08:21:37 -04:00
wildcards_and_files_ext.h Wildcards: unify handling of all files wildcards 2019-01-09 08:57:42 -05:00
ws_data_item.h Get rid of PageLayout globals so drawing the preview doesn't mess up the document. 2019-05-27 11:55:58 +01:00
ws_data_model.h Cut/copy/paste for PlEditor. 2019-05-27 11:58:55 +01:00
ws_draw_item.h Cut/copy/paste for PlEditor. 2019-05-27 11:58:55 +01:00
ws_painter.h Use consistent PageLayout data structure names. 2019-05-27 11:55:58 +01:00
ws_proxy_undo_item.h Cut/copy/paste for PlEditor. 2019-05-27 11:58:55 +01:00
ws_proxy_view_item.h Implement undo for Page Settings in PlEditor, Eeschema and PCBNew. 2019-05-27 11:58:55 +01:00
wxdataviewctrl_helpers.h Move wxDataViewCtrl manipulators out of dialog_choose_component.cpp 2017-03-30 21:47:14 -04:00
xnode.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00