mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Updated boost to version 1.34
Added boost::polygon (experimental) Added experimental zone fill calculations with boost::polygon Added patches from Yury Khalyavin
This commit is contained in:
parent
0191ee9a6e
commit
90621bef00
bitmap2component
demos/interf_u
eeschema
include/boost
assert.hppboost_version.txtcall_traits.hppchecked_delete.hppcompressed_pair.hpppreprocessor.hppscoped_array.hpputility.hpp
concept
concept_check.hppconfig.hppconfig
abi
abi_prefix.hppabi_suffix.hppauto_link.hppcompiler
borland.hppcodegear.hppcomeau.hppcommon_edg.hppcompaq_cxx.hppdigitalmars.hppgcc.hppgcc_xml.hppgreenhills.hpphp_acc.hppintel.hppkai.hppmetrowerks.hppmpw.hppnvcc.hpppgi.hppsgi_mipspro.hppsunpro_cc.hppvacpp.hppvisualc.hpp
no_tr1
platform
aix.hppamigaos.hppbeos.hppbsd.hppcygwin.hpphpux.hppirix.hpplinux.hppmacos.hppqnxnto.hppsolaris.hppsymbian.hppvxworks.hppwin32.hpp
posix_features.hpprequires_threads.hppselect_compiler_config.hppselect_platform_config.hppselect_stdlib_config.hppstdlib
suffix.hppuser.hppwarning_disable.hppdetail
algorithm.hppallocator_utilities.hppatomic_count.hppbinary_search.hppcall_traits.hppcatch_exceptions.hppcompressed_pair.hppcontainer_fwd.hppdynamic_bitset.hppendian.hpphas_default_constructor.hppidentifier.hppindirect_traits.hppinterlocked.hppis_function_ref_tester.hppis_incrementable.hppis_xxx.hppiterator.hpplcast_precision.hpplightweight_mutex.hpplightweight_test.hpplightweight_thread.hpplimits.hppnamed_template_params.hppno_exceptions_support.hppnone_t.hppnumeric_traits.hppob_call_traits.hppob_compressed_pair.hppquick_allocator.hppreference_content.hppscoped_enum_emulation.hppselect_type.hppsp_typeinfo.hpptemplated_streams.hpputf8_codecvt_facet.hppworkaround.hpp
foreach.hppimplicit_cast.hppiterator.hppiterator
counting_iterator.hpp
limits.hppdetail
any_conversion_eater.hppconfig_def.hppconfig_undef.hppenable_if.hppfacade_iterator_category.hppminimum_category.hpp
filter_iterator.hppindirect_iterator.hppinteroperable.hppis_lvalue_iterator.hppis_readable_iterator.hppiterator_adaptor.hppiterator_archetypes.hppiterator_categories.hppiterator_concepts.hppiterator_facade.hppiterator_traits.hppnew_iterator_tests.hpppermutation_iterator.hppreverse_iterator.hpptransform_iterator.hppzip_iterator.hppmpl
O1_size.hppO1_size_fwd.hppaccumulate.hppadvance.hppadvance_fwd.hppalias.hppalways.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hpparg_fwd.hpparithmetic.hppas_sequence.hppassert.hppat.hppat_fwd.hpplist_c.hpplogical.hpplong.hpplong_fwd.hpplower_bound.hppmap.hppset_c.hppshift_left.hppshift_right.hppsingle_view.hppsize.hppsize_fwd.hppsize_t.hppsize_t_fwd.hppsizeof.hppsort.hppstable_partition.hppstring.hppswitch.hpptag.hpptimes.hpptransform.hpptransform_view.hppunique.hppunpack_args.hppupper_bound.hppvalue_type.hppvalue_type_fwd.hppvector.hppvector_c.hppvoid.hppvoid_fwd.hppzip_view.hpp
next_prior.hppnoncopyable.hpppointee.hppaux_
O1_size_impl.hppadl_barrier.hppadvance_backward.hppadvance_forward.hppapply_1st.hpparg_typedef.hpparithmetic_op.hpparity.hpparity_spec.hppat_impl.hppback_impl.hppbasic_bind.hppbegin_end_impl.hppclear_impl.hppcommon_name_wknd.hppcomparison_op.hpp
back.hppback_fwd.hppback_inserter.hppbase.hppbegin.hppbegin_end.hppbegin_end_fwd.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitwise.hppbitxor.hppbool.hppbool_fwd.hppchar.hppchar_fwd.hppclear.hppclear_fwd.hppcomparison.hppcontains.hppcontains_fwd.hppcopy.hppcopy_if.hppcount.hppcount_fwd.hppcount_if.hppdeque.hppderef.hppdistance.hppdistance_fwd.hppdivides.hppempty.hppempty_base.hppempty_fwd.hppempty_sequence.hppend.hppequal.hppequal_to.hpperase.hpperase_fwd.hpperase_key.hpperase_key_fwd.hppeval_if.hppfilter_view.hppfind.hppfind_if.hppfold.hppfor_each.hppfront.hppfront_fwd.hppfront_inserter.hppgreater.hppgreater_equal.hpphas_key.hpphas_key_fwd.hpphas_xxx.hppidentity.hppif.hppindex_if.hppindex_of.hppinherit.hppinherit_linearly.hppinsert.hppinsert_fwd.hppinsert_range.hppinsert_range_fwd.hppinserter.hppint.hppint_fwd.hppintegral_c.hppintegral_c_fwd.hppintegral_c_tag.hppis_placeholder.hppis_sequence.hppiter_fold.hppiter_fold_if.hppiterator_category.hppiterator_range.hppiterator_tags.hppjoint_view.hppkey_type.hppkey_type_fwd.hpplambda.hpplambda_fwd.hppless.hppless_equal.hppconfig
adl.hpparrays.hppbcc.hppbind.hppcompiler.hppctps.hppdependent_nttp.hppdmc_ambiguous_ctps.hppdtp.hppeti.hppforwarding.hppgcc.hpphas_apply.hpphas_xxx.hppintegral.hppintel.hpplambda.hppmsvc.hppmsvc_typename.hppnttp.hppoperators.hppoverload_resolution.hpppp_counter.hpppreprocessor.hppstatic_constant.hppttp.hpptypeof.hppuse_preprocessed.hppworkaround.hpp
contains_impl.hppcount_args.hppcount_impl.hppempty_impl.hpperase_impl.hpperase_key_impl.hppfilter_iter.hppfind_if_pred.hppfold_impl.hppfold_impl_body.hppfold_op.hppfold_pred.hppfront_impl.hppfull_lambda.hpphas_apply.hpphas_begin.hpphas_key_impl.hpphas_rebind.hpphas_size.hpphas_tag.hpphas_type.hppinclude_preprocessed.hppinsert_impl.hppinsert_range_impl.hppinserter_algorithm.hppintegral_wrapper.hppis_msvc_eti_arg.hppiter_apply.hppiter_fold_if_impl.hppiter_fold_impl.hppiter_push_front.hppjoint_iter.hpplambda_arity_param.hpplambda_no_ctps.hpplambda_spec.hpplambda_support.hpplargest_int.hpplogical_op.hppmsvc_dtw.hppmsvc_eti_base.hppmsvc_is_class.hppmsvc_never_true.hppmsvc_type.hppna.hppna_assert.hppna_fwd.hppna_spec.hppnested_type_wknd.hppnttp_decl.hppnumeric_cast_utils.hppnumeric_op.hpporder_impl.hppoverload_names.hpppartition_op.hpppop_back_impl.hpppop_front_impl.hpppreprocessed
bcc
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
bcc551
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
bcc_pre590
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
dmc
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
gcc
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
msvc60
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
msvc70
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
mwcw
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
no_ctps
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
no_ttp
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
plain
advance_backward.hppadvance_forward.hppand.hppapply.hppapply_fwd.hppapply_wrap.hpparg.hppbasic_bind.hppbind.hppbind_fwd.hppbitand.hppbitor.hppbitxor.hppdeque.hppdivides.hppequal_to.hppfold_impl.hppfull_lambda.hppgreater.hppgreater_equal.hppinherit.hppiter_fold_if_impl.hppiter_fold_impl.hpplambda_no_ctps.hppless.hppless_equal.hpplist.hpplist_c.hppmap.hppminus.hppmodulus.hppnot_equal_to.hppor.hppplaceholders.hppplus.hppquote.hppreverse_fold_impl.hppreverse_iter_fold_impl.hppset.hppset_c.hppshift_left.hppshift_right.hpptemplate_arity.hpptimes.hppunpack_args.hppvector.hppvector_c.hpp
preprocessor
add.hppdef_params_tail.hppdefault_params.hppenum.hppext_params.hppfilter_params.hppis_seq.hppparams.hpppartial_spec_params.hpprange.hpprepeat.hppsub.hpptoken_equal.hpptuple.hpp
ptr_to_ref.hpppush_back_impl.hpppush_front_impl.hpprange_c
reverse_fold_impl.hppreverse_fold_impl_body.hppreverse_iter_fold_impl.hppsequence_wrapper.hppshift_op.hppsingle_element_iter.hppsize_impl.hppsort_impl.hppstatic_cast.hpptemplate_arity.hpptemplate_arity_fwd.hpptest.hpptest
traits_lambda_spec.hpptransform_iter.hpptype_wrapper.hppunwrap.hppvalue_wknd.hppyes_no.hpplimits
list.hpplist
aux_
O1_size.hppbegin_end.hppclear.hppempty.hppfront.hppinclude_preprocessed.hppitem.hppiterator.hppnumbered.hppnumbered_c.hpppop_front.hpp
list0.hpplist0_c.hpplist10.hpplist10_c.hpplist20.hpplist20_c.hpplist30.hpplist30_c.hpplist40.hpplist40_c.hpplist50.hpplist50_c.hpppreprocessed/plain
list10.hpplist10_c.hpplist20.hpplist20_c.hpplist30.hpplist30_c.hpplist40.hpplist40_c.hpplist50.hpplist50_c.hpp
push_back.hpppush_front.hppsize.hpptag.hppmap
aux_
at_impl.hppbegin_end_impl.hppclear_impl.hppcontains_impl.hppempty_impl.hpperase_impl.hpperase_key_impl.hpphas_key_impl.hppinclude_preprocessed.hppinsert_impl.hppitem.hppiterator.hppkey_type_impl.hppmap0.hppnumbered.hppsize_impl.hpptag.hppvalue_type_impl.hpp
map0.hppmap10.hppmap20.hppmap30.hppmap40.hppmap50.hpppreprocessed
no_ctps
plain
typeof_based
math
max.hppmax_element.hppmin.hppmin_element.hppmin_max.hppminus.hppmodulus.hppmultiplies.hppmultiset
negate.hppnext.hppnext_prior.hppnot.hppnot_equal_to.hppnumeric_cast.hppor.hpporder.hpporder_fwd.hpppair.hpppair_view.hpppartition.hppplaceholders.hppplus.hpppop_back.hpppop_back_fwd.hpppop_front.hpppop_front_fwd.hppprint.hppprior.hppprotect.hpppush_back.hpppush_back_fwd.hpppush_front.hpppush_front_fwd.hppquote.hpprange_c.hppremove.hppremove_if.hppreplace.hppreplace_if.hppreverse.hppreverse_fold.hppreverse_iter_fold.hppsame_as.hppsequence_tag.hppsequence_tag_fwd.hppset.hppset
aux_
at_impl.hppbegin_end_impl.hppclear_impl.hppempty_impl.hpperase_impl.hpperase_key_impl.hpphas_key_impl.hppinclude_preprocessed.hppinsert_impl.hppitem.hppiterator.hppkey_type_impl.hppnumbered.hppnumbered_c.hpp
set0.hppset0_c.hppset10.hppset10_c.hppset20.hppset20_c.hppset30.hppset30_c.hppset40.hppset40_c.hppset50.hppset50_c.hpppreprocessed/plain
set10.hppset10_c.hppset20.hppset20_c.hppset30.hppset30_c.hppset40.hppset40_c.hppset50.hppset50_c.hpp
set0.hppsize_impl.hpptag.hppvalue_type_impl.hppvector
aux_
O1_size.hppat.hppback.hppbegin_end.hppclear.hppempty.hppfront.hppinclude_preprocessed.hppitem.hppiterator.hppnumbered.hppnumbered_c.hpppop_back.hpppop_front.hpppush_back.hpppush_front.hppsize.hpptag.hppvector0.hpp
vector0.hppvector0_c.hppvector10.hppvector10_c.hppvector20.hppvector20_c.hppvector30.hppvector30_c.hppvector40.hppvector40_c.hppvector50.hppvector50_c.hpppreprocessed
no_ctps
vector10.hppvector10_c.hppvector20.hppvector20_c.hppvector30.hppvector30_c.hppvector40.hppvector40_c.hppvector50.hppvector50_c.hpp
plain
vector10.hppvector10_c.hppvector20.hppvector20_c.hppvector30.hppvector30_c.hppvector40.hppvector40_c.hppvector50.hppvector50_c.hpp
typeof_based
polygon
detail
boolean_op.hppboolean_op_45.hppiterator_compact_to_points.hppiterator_geometry_to_set.hppiterator_points_to_compact.hppmax_cover.hpppolygon_45_formation.hpppolygon_45_set_view.hpppolygon_45_touch.hpppolygon_90_set_view.hpppolygon_90_touch.hpppolygon_arbitrary_formation.hpppolygon_formation.hpppolygon_set_view.hppproperty_merge.hppproperty_merge_45.hpprectangle_formation.hppscan_arbitrary.hpptransform_detail.hpp
gmp_override.hppgtl_boost_unit_test.cppinterval_concept.hppinterval_data.hppinterval_traits.hppisotropy.hpppoint_3d_concept.hpppoint_3d_data.hpppoint_3d_traits.hpppoint_concept.hpppoint_data.hpppoint_traits.hpppolygon.hpppolygon_45_data.hpppolygon_45_set_concept.hpppolygon_45_set_data.hpppolygon_45_set_traits.hpppolygon_45_with_holes_data.hpppolygon_90_data.hpppolygon_90_set_concept.hpppolygon_90_set_data.hpppolygon_90_set_traits.hpppolygon_90_with_holes_data.hpppolygon_data.hpppolygon_set_concept.hpppolygon_set_data.hpppolygon_set_traits.hpppolygon_traits.hpppolygon_with_holes_data.hpprectangle_concept.hpprectangle_data.hpprectangle_traits.hpptransform.hpppreprocessor
arithmetic.hppiterate.hpplocal.hppself.hpplibrary.hpplimits.hpplist.hpp
arithmetic
array.hpparray
data.hppelem.hppinsert.hpppop_back.hpppop_front.hpppush_back.hpppush_front.hppremove.hppreplace.hppreverse.hppsize.hpp
assert_msg.hppcat.hppcomma.hppcomma_if.hppcomparison.hppcomparison
config
control.hppcontrol
debug.hppdebug
dec.hppdetail
empty.hppenum.hppenum_params.hppenum_params_with_a_default.hppenum_params_with_defaults.hppenum_shifted.hppenum_shifted_params.hppexpand.hppexpr_if.hppfacilities.hppfacilities
for.hppidentity.hppif.hppinc.hppiterate.hppiteration.hppiteration
detail
bounds
lower1.hpplower2.hpplower3.hpplower4.hpplower5.hppupper1.hppupper2.hppupper3.hppupper4.hppupper5.hpp
finish.hppiter
forward1.hppforward2.hppforward3.hppforward4.hppforward5.hppreverse1.hppreverse2.hppreverse3.hppreverse4.hppreverse5.hpp
local.hpprlocal.hppself.hppstart.hpplist
adt.hppappend.hppat.hppcat.hpp
logical.hppdetail
enum.hppfilter.hppfirst_n.hppfold_left.hppfold_right.hppfor_each.hppfor_each_i.hppfor_each_product.hpprest_n.hppreverse.hppsize.hppto_tuple.hpptransform.hpplogical
max.hppmin.hpppunctuation.hpppunctuation
repeat.hpprepeat_2nd.hpprepeat_3rd.hpprepeat_from_to.hpprepeat_from_to_2nd.hpprepeat_from_to_3rd.hpprepetition.hpprepetition
deduce_r.hppdeduce_z.hpp
selection.hppdetail
enum.hppenum_binary_params.hppenum_params.hppenum_params_with_a_default.hppenum_params_with_defaults.hppenum_shifted.hppenum_shifted_binary_params.hppenum_shifted_params.hppenum_trailing.hppenum_trailing_binary_params.hppenum_trailing_params.hppfor.hpprepeat.hpprepeat_from_to.hppselection
seq.hppseq
cat.hpp
slot.hppdetail
elem.hppenum.hppfilter.hppfirst_n.hppfold_left.hppfold_right.hppfor_each.hppfor_each_i.hppfor_each_product.hppinsert.hpppop_back.hpppop_front.hpppush_back.hpppush_front.hppremove.hppreplace.hpprest_n.hppreverse.hppseq.hppsize.hppsubseq.hppto_array.hppto_tuple.hpptransform.hppslot
stringize.hpptuple.hpptuple
while.hppwstringize.hppptr_container
clone_allocator.hpp
detail
associative_ptr_container.hppdefault_deleter.hppis_convertible.hppmap_iterator.hppmeta_functions.hppmove.hppreversible_ptr_container.hppscoped_deleter.hppserialize_ptr_map_adapter.hppserialize_reversible_cont.hppserialize_xml_names.hppstatic_move_ptr.hppthrow_exception.hppvoid_ptr_iterator.hpp
exception.hppindirect_fun.hppnullable.hppptr_array.hppptr_circular_buffer.hppptr_container.hppptr_deque.hppptr_inserter.hppptr_list.hppptr_map.hppptr_map_adapter.hppptr_sequence_adapter.hppptr_set.hppptr_set_adapter.hppptr_unordered_map.hppptr_unordered_set.hppptr_vector.hppserialize_ptr_array.hppserialize_ptr_circular_buffer.hppserialize_ptr_container.hppserialize_ptr_deque.hppserialize_ptr_list.hppserialize_ptr_map.hppserialize_ptr_set.hppserialize_ptr_unordered_map.hppserialize_ptr_unordered_set.hppserialize_ptr_vector.hpprange
adaptor
adjacent_filtered.hppargument_fwd.hppcopied.hppdefine_adaptor.hppfiltered.hppindexed.hppindirected.hppmap.hppreplaced.hppreplaced_if.hppreversed.hppsliced.hppstrided.hpptokenized.hpptransformed.hppuniqued.hpp
adaptors.hppalgorithm.hppalgorithm
adjacent_find.hppbinary_search.hppcopy.hppcopy_backward.hppcount.hppcount_if.hppequal.hppequal_range.hppfill.hppfill_n.hppfind.hppfind_end.hppfind_first_of.hppfind_if.hppfor_each.hppgenerate.hppheap_algorithm.hppinplace_merge.hpplexicographical_compare.hpplower_bound.hppmax_element.hppmerge.hppmin_element.hppmismatch.hppnth_element.hpppartial_sort.hpppartial_sort_copy.hpppartition.hpppermutation.hpprandom_shuffle.hppremove.hppremove_copy.hppremove_copy_if.hppremove_if.hppreplace.hppreplace_copy.hppreplace_copy_if.hppreplace_if.hppreverse.hppreverse_copy.hpprotate.hpprotate_copy.hppsearch.hppsearch_n.hppset_algorithm.hppsort.hppstable_partition.hppstable_sort.hppswap_ranges.hpptransform.hppunique.hppunique_copy.hppupper_bound.hpp
algorithm_ext.hppalgorithm_ext
copy_n.hpperase.hppfor_each.hppinsert.hppiota.hppis_sorted.hppoverwrite.hpppush_back.hpppush_front.hpp
as_array.hppas_literal.hppatl.hppbegin.hppcategory.hppcombine.hppconcepts.hppconfig.hppconst_iterator.hppconst_reverse_iterator.hppcounting_range.hppdetail
as_literal.hppbegin.hppcollection_traits.hppcollection_traits_detail.hppcommon.hppconst_iterator.hppdemote_iterator_traversal_tag.hppdetail_str.hppdifference_type.hppempty.hppend.hppextract_optional_type.hppimplementation_help.hppiterator.hppjoin_iterator.hppmicrosoft.hppmisc_concept.hpprange_return.hppremove_extent.hppsfinae.hppsize.hppsize_type.hppsizer.hppstr_types.hppvalue_type.hpp
difference_type.hppdistance.hppempty.hppend.hppfunctions.hppirange.hppistream_range.hppiterator.hppiterator_range.hppiterator_range_core.hppiterator_range_io.hppjoin.hppmetafunctions.hppmfc.hppmutable_iterator.hppnumeric.hpppointer.hpprbegin.hppreference.hpprend.hppresult_iterator.hppreverse_iterator.hppreverse_result_iterator.hppsize.hppsize_type.hppsub_range.hppvalue_type.hppvc6
smart_ptr
bad_weak_ptr.hpp
static_assert.hpptype.hppdetail
atomic_count.hppatomic_count_gcc.hppatomic_count_gcc_x86.hppatomic_count_pthreads.hppatomic_count_solaris.hppatomic_count_sync.hppatomic_count_win32.hpplightweight_mutex.hpplwm_nop.hpplwm_pthreads.hpplwm_win32_cs.hppoperator_bool.hppquick_allocator.hppshared_array_nmt.hppshared_count.hppshared_ptr_nmt.hppsp_convertible.hppsp_counted_base.hppsp_counted_base_acc_ia64.hppsp_counted_base_cw_ppc.hppsp_counted_base_cw_x86.hppsp_counted_base_gcc_ia64.hppsp_counted_base_gcc_mips.hppsp_counted_base_gcc_ppc.hppsp_counted_base_gcc_sparc.hppsp_counted_base_gcc_x86.hppsp_counted_base_nt.hppsp_counted_base_pt.hppsp_counted_base_solaris.hppsp_counted_base_spin.hppsp_counted_base_sync.hppsp_counted_base_w32.hppsp_counted_impl.hppsp_has_sync.hppspinlock.hppspinlock_gcc_arm.hppspinlock_nt.hppspinlock_pool.hppspinlock_pt.hppspinlock_sync.hppspinlock_w32.hppyield_k.hpp
enable_shared_from_this.hppenable_shared_from_this2.hppintrusive_ptr.hppmake_shared.hppscoped_array.hppscoped_ptr.hppshared_array.hppshared_ptr.hppweak_ptr.hpptype_traits
add_const.hppadd_cv.hppadd_pointer.hppadd_reference.hppadd_volatile.hppaligned_storage.hppalignment_of.hppalignment_traits.hpparithmetic_traits.hpparray_traits.hppbroken_compiler_spec.hppcomposite_traits.hppconfig.hppconversion_traits.hppcv_traits.hppdecay.hpp
detail
bool_trait_def.hppbool_trait_undef.hppcv_traits_impl.hppfalse_result.hppice_and.hppice_eq.hppice_not.hppice_or.hppis_function_ptr_helper.hppis_function_ptr_tester.hppis_mem_fun_pointer_impl.hppis_mem_fun_pointer_tester.hppsize_t_trait_def.hppsize_t_trait_undef.hpptemplate_arity_spec.hpptype_trait_def.hpptype_trait_undef.hppwrap.hppyes_no_type.hpp
extent.hppfloating_point_promotion.hppfunction_traits.hpphas_new_operator.hpphas_nothrow_assign.hpphas_nothrow_constructor.hpphas_nothrow_copy.hpphas_nothrow_destructor.hpphas_trivial_assign.hpphas_trivial_constructor.hpphas_trivial_copy.hpphas_trivial_destructor.hpphas_virtual_destructor.hppice.hppintegral_constant.hppintegral_promotion.hppintrinsics.hppis_abstract.hppis_arithmetic.hppis_array.hppis_base_and_derived.hppis_base_of.hppis_base_of_tr1.hppis_class.hppis_complex.hppis_compound.hppis_const.hppis_convertible.hppis_empty.hppis_enum.hppis_float.hppis_floating_point.hppis_function.hppis_fundamental.hppis_integral.hppis_member_function_pointer.hppis_member_object_pointer.hppis_member_pointer.hppis_object.hppis_pod.hppis_pointer.hppis_polymorphic.hppis_reference.hppis_same.hppis_scalar.hppis_signed.hppis_stateless.hppis_union.hppis_unsigned.hppis_virtual_base_of.hppis_void.hppis_volatile.hppmake_signed.hppmake_unsigned.hppmsvc
remove_all_extents.hppremove_bounds.hppremove_const.hppremove_cv.hppremove_extent.hppremove_pointer.hppremove_reference.hppremove_volatile.hpptypeof.hpp
object_traits.hpppromote.hpprank.hppreference_traits.hppremove_all_extents.hppremove_bounds.hppremove_const.hppremove_cv.hppremove_extent.hppremove_pointer.hppremove_reference.hppremove_volatile.hppsame_traits.hpptransform_traits.hpptransform_traits_spec.hpptype_with_alignment.hpptypeof
dmc
encode_decode.hppencode_decode_params.hppincr_registration_group.hppint_encoding.hppintegral_template_param.hppmessage.hppmodifiers.hppmsvc
native.hpppointers_data_members.hppregister_functions.hppregister_functions_iterate.hppregister_fundamental.hppregister_mem_functions.hppstd
bitset.hppcomplex.hppdeque.hppfstream.hppfunctional.hppiostream.hppistream.hppiterator.hpplist.hpplocale.hppmap.hppmemory.hppostream.hppqueue.hppset.hppsstream.hppstack.hppstreambuf.hppstring.hpputility.hppvalarray.hppvector.hpp
template_encoding.hpptemplate_template_param.hpptype_encoding.hpptype_template_param.hpptypeof.hpptypeof_impl.hppvector.hppvector100.hppvector150.hppvector200.hppvector50.hpputility
kicad
pcbnew
@ -88,12 +88,12 @@ BM2CMP_FRAME_BASE::BM2CMP_FRAME_BASE( wxWindow* parent, wxWindowID id, const wxS
|
||||
brightSizer->Add( m_buttonLoad, 0, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 5 );
|
||||
|
||||
m_buttonExportEeschema = new wxButton( this, wxID_ANY, _("Export to eeschema"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_buttonExportEeschema->SetToolTip( _("Create a lib file for Eeschema") );
|
||||
m_buttonExportEeschema->SetToolTip( _("Create a library file for Eeschema\nThis library contains only one component: logo") );
|
||||
|
||||
brightSizer->Add( m_buttonExportEeschema, 0, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 5 );
|
||||
|
||||
m_buttonExportPcbnew = new wxButton( this, wxID_ANY, _("Export to Pcbnew"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_buttonExportPcbnew->SetToolTip( _("Create a footprint file for PcbNew") );
|
||||
m_buttonExportPcbnew->SetToolTip( _("Create a footprint file for PcbNew\nThis footprint contains only one footprint: logo") );
|
||||
|
||||
brightSizer->Add( m_buttonExportPcbnew, 0, wxALL|wxEXPAND|wxALIGN_CENTER_HORIZONTAL, 5 );
|
||||
|
||||
@ -108,6 +108,8 @@ BM2CMP_FRAME_BASE::BM2CMP_FRAME_BASE( wxWindow* parent, wxWindowID id, const wxS
|
||||
brightSizer->Add( m_ThresholdText, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
m_sliderThreshold = new wxSlider( this, wxID_ANY, 25, 0, 50, wxDefaultPosition, wxDefaultSize, wxSL_AUTOTICKS|wxSL_HORIZONTAL|wxSL_TOP );
|
||||
m_sliderThreshold->SetToolTip( _("Adjust the level to convert the greysvale picture to the binary picture.") );
|
||||
|
||||
brightSizer->Add( m_sliderThreshold, 0, wxEXPAND|wxALIGN_CENTER_HORIZONTAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
||||
|
||||
bMainSizer->Add( brightSizer, 0, wxEXPAND, 5 );
|
||||
|
@ -851,7 +851,7 @@
|
||||
<property name="size"></property>
|
||||
<property name="style"></property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip">Create a lib file for Eeschema</property>
|
||||
<property name="tooltip">Create a library file for Eeschema
This library contains only one component: logo</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style"></property>
|
||||
@ -903,7 +903,7 @@
|
||||
<property name="size"></property>
|
||||
<property name="style"></property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip">Create a footprint file for PcbNew</property>
|
||||
<property name="tooltip">Create a footprint file for PcbNew
This footprint contains only one footprint: logo</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
<property name="window_style"></property>
|
||||
@ -1060,7 +1060,7 @@
|
||||
<property name="size"></property>
|
||||
<property name="style">wxSL_AUTOTICKS|wxSL_HORIZONTAL|wxSL_TOP</property>
|
||||
<property name="subclass"></property>
|
||||
<property name="tooltip"></property>
|
||||
<property name="tooltip">Adjust the level to convert the greysvale picture to the binary picture.</property>
|
||||
<property name="value">25</property>
|
||||
<property name="window_extra_style"></property>
|
||||
<property name="window_name"></property>
|
||||
|
@ -1,4 +1,4 @@
|
||||
update=05/07/2010 19:03:21
|
||||
update=22/07/2010 13:46:39
|
||||
version=1
|
||||
last_client=pcbnew
|
||||
[common]
|
||||
|
@ -106,6 +106,8 @@ static Ki_HotkeyInfo HkAddLabel( wxT( "add Label" ), HK_ADD_LABEL, 'L' );
|
||||
static Ki_HotkeyInfo HkBeginWire( wxT( "begin Wire" ), HK_BEGIN_WIRE, 'W' );
|
||||
static Ki_HotkeyInfo HkAddComponent( wxT( "Add Component" ),
|
||||
HK_ADD_NEW_COMPONENT, 'A' );
|
||||
static Ki_HotkeyInfo HkAddNoConn( wxT( "Add NoConnected Flag" ),
|
||||
HK_ADD_NOCONN_FLAG, 'Q' );
|
||||
static Ki_HotkeyInfo HkMirrorYComponent( wxT( "Mirror Y Component" ),
|
||||
HK_MIRROR_Y_COMPONENT, 'Y' );
|
||||
static Ki_HotkeyInfo HkMirrorXComponent( wxT( "Mirror X Component" ),
|
||||
@ -146,11 +148,11 @@ static Ki_HotkeyInfo HkFindNextDrcMarker( wxT( "Find next DRC marker" ), HK_FIND
|
||||
WXK_F5 + GR_KB_SHIFT );
|
||||
|
||||
// Special keys for library editor:
|
||||
static Ki_HotkeyInfo HkCreatePin( wxT( "Create Pin" ),
|
||||
HK_LIBEDIT_CREATE_PIN, 'P' );
|
||||
static Ki_HotkeyInfo HkInsertPin( wxT( "Repeat Pin" ), HK_REPEAT_LAST,
|
||||
WXK_INSERT );
|
||||
static Ki_HotkeyInfo HkMovePin( wxT( "Move Pin" ), HK_LIBEDIT_MOVE_GRAPHIC_ITEM, 'M' );
|
||||
static Ki_HotkeyInfo HkDeletePin( wxT( "Delete Pin" ), HK_DELETE_PIN,
|
||||
WXK_DELETE );
|
||||
|
||||
|
||||
// List of common hotkey descriptors
|
||||
@ -190,16 +192,18 @@ Ki_HotkeyInfo* s_Schematic_Hotkey_List[] =
|
||||
&HkEditComponentFootprint,
|
||||
&HkBeginWire,
|
||||
&HkAddLabel,
|
||||
&HkAddNoConn,
|
||||
NULL
|
||||
};
|
||||
|
||||
// List of hotkey descriptors for library editor
|
||||
Ki_HotkeyInfo* s_LibEdit_Hotkey_List[] =
|
||||
{
|
||||
&HkCreatePin,
|
||||
&HkInsertPin,
|
||||
&HkEdit,
|
||||
&HkMovePin,
|
||||
&HkDeletePin,
|
||||
&HkDelete,
|
||||
&HkRotate,
|
||||
&HkDrag,
|
||||
NULL
|
||||
@ -332,7 +336,7 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
if( !ItemInEdit && screen->m_BlockLocate.m_State == STATE_NO_BLOCK )
|
||||
{
|
||||
RefreshToolBar = LocateAndDeleteItem( this, DC );
|
||||
OnModify( );
|
||||
OnModify();
|
||||
GetScreen()->SetCurItem( NULL );
|
||||
TestDanglingEnds( GetScreen()->EEDrawList, DC );
|
||||
}
|
||||
@ -393,9 +397,10 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
SetToolID( ID_LABEL_BUTT, wxCURSOR_PENCIL, _( "Add Label" ) );
|
||||
OnLeftClick( DC, MousePos );
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case HK_BEGIN_WIRE:
|
||||
|
||||
/* An item is selected. If edited and not a wire, a new command is not
|
||||
* possible */
|
||||
if( !ItemInEdit && screen->m_BlockLocate.m_State == STATE_NO_BLOCK )
|
||||
@ -419,6 +424,16 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
}
|
||||
break;
|
||||
|
||||
case HK_ADD_NOCONN_FLAG: // Add a no connected flag
|
||||
if( !ItemInEdit )
|
||||
{
|
||||
if( m_ID_current_state != ID_NOCONN_BUTT )
|
||||
SetToolID( ID_NOCONN_BUTT, wxCURSOR_PENCIL,
|
||||
_( "Add a no connected flag" ) );
|
||||
OnLeftClick( DC, MousePos );
|
||||
}
|
||||
break;
|
||||
|
||||
case HK_ROTATE: // Component or other schematic item rotation
|
||||
|
||||
if( DrawStruct == NULL )
|
||||
@ -563,7 +578,7 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
|
||||
// Create the events for moving a component or other schematic item
|
||||
wxCommandEvent eventMoveOrDragComponent( wxEVT_COMMAND_TOOL_CLICKED,
|
||||
HK_Descr->m_IdMenuEvent );
|
||||
HK_Descr->m_IdMenuEvent );
|
||||
wxCommandEvent eventMoveItem( wxEVT_COMMAND_TOOL_CLICKED,
|
||||
ID_POPUP_SCH_MOVE_ITEM_REQUEST );
|
||||
wxCommandEvent eventMovePinsheet( wxEVT_COMMAND_TOOL_CLICKED,
|
||||
@ -584,7 +599,7 @@ void WinEDA_SchematicFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
case TYPE_SCH_GLOBALLABEL:
|
||||
case TYPE_SCH_HIERLABEL:
|
||||
wxPostEvent( this, eventMoveOrDragComponent );
|
||||
break;
|
||||
break;
|
||||
|
||||
case TYPE_SCH_TEXT:
|
||||
case DRAW_PART_TEXT_STRUCT_TYPE:
|
||||
@ -831,8 +846,16 @@ void WinEDA_LibeditFrame::OnHotKey( wxDC* DC, int hotkey,
|
||||
}
|
||||
break;
|
||||
|
||||
case HK_LIBEDIT_CREATE_PIN:
|
||||
{
|
||||
wxCommandEvent evt;
|
||||
evt.SetId( ID_LIBEDIT_PIN_BUTT );
|
||||
Process_Special_Functions( evt );
|
||||
break;
|
||||
}
|
||||
|
||||
case HK_DELETE_PIN:
|
||||
|
||||
case HK_DELETE:
|
||||
m_drawItem = LocateItemUsingCursor();
|
||||
|
||||
if( m_drawItem )
|
||||
|
@ -15,15 +15,14 @@ enum hotkey_id_commnand {
|
||||
HK_FIND_ITEM,
|
||||
HK_DELETE,
|
||||
HK_REPEAT_LAST,
|
||||
HK_EDIT_PIN,
|
||||
HK_LIBEDIT_MOVE_GRAPHIC_ITEM,
|
||||
HK_LIBEDIT_ROTATE_PIN,
|
||||
HK_DELETE_PIN,
|
||||
HK_LIBEDIT_MOVE_GRAPHIC_ITEM,
|
||||
HK_MOVEBLOCK_TO_DRAGBLOCK,
|
||||
HK_LIBEDIT_CREATE_PIN,
|
||||
HK_DELETE_PIN,
|
||||
HK_ROTATE,
|
||||
HK_EDIT,
|
||||
HK_EDIT_COMPONENT_VALUE,
|
||||
HK_EDIT_COMPONENT_FOOTPRINT,
|
||||
HK_EDIT,
|
||||
HK_EDIT_COMPONENT_VALUE,
|
||||
HK_EDIT_COMPONENT_FOOTPRINT,
|
||||
HK_MIRROR_X_COMPONENT,
|
||||
HK_MIRROR_Y_COMPONENT,
|
||||
HK_ORIENT_NORMAL_COMPONENT,
|
||||
@ -32,16 +31,20 @@ enum hotkey_id_commnand {
|
||||
HK_DRAG,
|
||||
HK_ADD_NEW_COMPONENT,
|
||||
HK_BEGIN_WIRE,
|
||||
HK_ADD_LABEL
|
||||
HK_ADD_LABEL,
|
||||
HK_ADD_NOCONN_FLAG
|
||||
};
|
||||
|
||||
// List of hotkey descriptors for eeschema
|
||||
extern struct Ki_HotkeyInfoSectionDescriptor s_Eeschema_Hokeys_Descr[];
|
||||
|
||||
// List of hotkey descriptors for the schematic editor only
|
||||
extern struct Ki_HotkeyInfoSectionDescriptor s_Schematic_Hokeys_Descr[];
|
||||
|
||||
// List of hotkey descriptors for the lib editor only
|
||||
extern struct Ki_HotkeyInfoSectionDescriptor s_Libedit_Hokeys_Descr[];
|
||||
|
||||
// List of hotkey descriptors for the lib browser only
|
||||
extern struct Ki_HotkeyInfoSectionDescriptor s_Viewlib_Hokeys_Descr[];
|
||||
|
||||
#endif // KOTKEYS_H
|
||||
#endif // KOTKEYS_H
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************/
|
||||
/* EESchema - libedit_onrightclick.cpp */
|
||||
/* EESchema - libedit_onrightclick.cpp */
|
||||
/****************************/
|
||||
|
||||
/* , In library editor, create the pop menu when clicking on mouse right button
|
||||
@ -85,21 +85,21 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
HK_LIBEDIT_MOVE_GRAPHIC_ITEM );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MOVE_ITEM_REQUEST,
|
||||
msg, move_arc_xpm );
|
||||
msg = AddHotkeyName( _( "Drag Arc Size" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg = AddHotkeyName( _( "Drag Arc Size" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_arc_xpm );
|
||||
}
|
||||
|
||||
msg = AddHotkeyName( _( "Edit Arc Options" ), s_Libedit_Hokeys_Descr,
|
||||
HK_EDIT );
|
||||
HK_EDIT );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_BODY_EDIT_ITEM,
|
||||
msg, options_arc_xpm );
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Arc " ), s_Libedit_Hokeys_Descr,
|
||||
HK_DELETE_PIN );
|
||||
HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_arc_xpm );
|
||||
}
|
||||
@ -115,22 +115,22 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
}
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Drag Circle Outline" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_rectangle_xpm );
|
||||
}
|
||||
{
|
||||
msg = AddHotkeyName( _( "Drag Circle Outline" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_rectangle_xpm );
|
||||
}
|
||||
|
||||
msg = AddHotkeyName( _( "Edit Circle Options" ), s_Libedit_Hokeys_Descr,
|
||||
HK_EDIT );
|
||||
HK_EDIT );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_BODY_EDIT_ITEM,
|
||||
msg, options_circle_xpm );
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Circle " ),
|
||||
s_Libedit_Hokeys_Descr, HK_DELETE_PIN );
|
||||
s_Libedit_Hokeys_Descr, HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_circle_xpm );
|
||||
}
|
||||
@ -146,22 +146,22 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
}
|
||||
|
||||
msg = AddHotkeyName( _( "Edit Rectangle Options" ), s_Libedit_Hokeys_Descr,
|
||||
HK_EDIT );
|
||||
HK_EDIT );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_BODY_EDIT_ITEM,
|
||||
msg, options_rectangle_xpm );
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Drag Rectangle Edge" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_rectangle_xpm );
|
||||
}
|
||||
{
|
||||
msg = AddHotkeyName( _( "Drag Rectangle Edge" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_rectangle_xpm );
|
||||
}
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Rectangle " ), s_Libedit_Hokeys_Descr,
|
||||
HK_DELETE_PIN );
|
||||
HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_rectangle_xpm );
|
||||
}
|
||||
@ -178,19 +178,19 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
}
|
||||
|
||||
msg = AddHotkeyName( _( "Edit Text " ), s_Libedit_Hokeys_Descr,
|
||||
HK_EDIT );
|
||||
HK_EDIT );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_BODY_EDIT_ITEM,
|
||||
msg, edit_text_xpm );
|
||||
|
||||
msg = AddHotkeyName( _( "Rotate Text " ), s_Libedit_Hokeys_Descr,
|
||||
HK_ROTATE );
|
||||
HK_ROTATE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_ROTATE_GRAPHIC_TEXT,
|
||||
msg, edit_text_xpm );
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Text " ), s_Libedit_Hokeys_Descr,
|
||||
HK_DELETE_PIN );
|
||||
HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_text_xpm );
|
||||
}
|
||||
@ -203,9 +203,9 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
HK_LIBEDIT_MOVE_GRAPHIC_ITEM );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MOVE_ITEM_REQUEST,
|
||||
msg, move_line_xpm );
|
||||
msg = AddHotkeyName( _( "Drag Edge Point" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg = AddHotkeyName( _( "Drag Edge Point" ), s_Libedit_Hokeys_Descr,
|
||||
HK_DRAG );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_MODIFY_ITEM,
|
||||
msg, move_line_xpm );
|
||||
}
|
||||
|
||||
@ -216,14 +216,14 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
}
|
||||
|
||||
msg = AddHotkeyName( _( "Edit Line Options" ), s_Libedit_Hokeys_Descr,
|
||||
HK_EDIT );
|
||||
HK_EDIT );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_BODY_EDIT_ITEM,
|
||||
msg, options_segment_xpm );
|
||||
|
||||
if( DrawEntry->m_Flags == 0 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Line " ), s_Libedit_Hokeys_Descr,
|
||||
HK_DELETE_PIN );
|
||||
HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_segment_xpm );
|
||||
}
|
||||
@ -232,7 +232,7 @@ bool WinEDA_LibeditFrame::OnRightClick( const wxPoint& MousePos,
|
||||
if( ( (LIB_POLYLINE*) DrawEntry )->GetCornerCount() > 2 )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Segment " ),
|
||||
s_Libedit_Hokeys_Descr, HK_DELETE_PIN );
|
||||
s_Libedit_Hokeys_Descr, HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu,
|
||||
ID_POPUP_LIBEDIT_DELETE_CURRENT_POLY_SEGMENT,
|
||||
msg, delete_segment_xpm );
|
||||
@ -296,7 +296,7 @@ void AddMenusForPin( wxMenu* PopMenu,
|
||||
if( not_in_move )
|
||||
{
|
||||
msg = AddHotkeyName( _( "Delete Pin " ), s_Libedit_Hokeys_Descr,
|
||||
HK_DELETE_PIN );
|
||||
HK_DELETE );
|
||||
ADD_MENUITEM( PopMenu, ID_POPUP_LIBEDIT_DELETE_ITEM,
|
||||
msg, delete_pin_xpm );
|
||||
}
|
||||
|
@ -24,9 +24,9 @@
|
||||
*/
|
||||
void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
{
|
||||
wxString text;
|
||||
wxMenuItem *item;
|
||||
wxMenuBar *menuBar = GetMenuBar();
|
||||
wxString text;
|
||||
wxMenuItem* item;
|
||||
wxMenuBar* menuBar = GetMenuBar();
|
||||
|
||||
/**
|
||||
* Destroy the existing menu bar so it can be rebuilt. This allows
|
||||
@ -44,14 +44,14 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
/* New */
|
||||
item = new wxMenuItem( filesMenu, ID_NEW_PROJECT, _( "&New\tCtrl+N" ),
|
||||
_( "New schematic project" ) );
|
||||
_( "New schematic project" ) );
|
||||
|
||||
item->SetBitmap( new_xpm );
|
||||
filesMenu->Append( item );
|
||||
|
||||
/* Open */
|
||||
/* Open */
|
||||
item = new wxMenuItem( filesMenu, ID_LOAD_PROJECT, _( "&Open\tCtrl+O" ),
|
||||
_( "Open an existing schematic project" ) );
|
||||
_( "Open an existing schematic project" ) );
|
||||
item->SetBitmap( open_xpm );
|
||||
filesMenu->Append( item );
|
||||
|
||||
@ -60,7 +60,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
wxGetApp().m_fileHistory.AddFilesToMenu( openRecentMenu );
|
||||
ADD_MENUITEM_WITH_HELP_AND_SUBMENU( filesMenu, openRecentMenu,
|
||||
-1, _( "Open &Recent" ),
|
||||
_("Open a recent opened schematic project" ),
|
||||
_( "Open a recent opened schematic project" ),
|
||||
open_project_xpm );
|
||||
|
||||
/* Separator */
|
||||
@ -69,20 +69,20 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
/* Save */
|
||||
/* Save Project */
|
||||
item = new wxMenuItem( filesMenu, ID_SAVE_PROJECT,
|
||||
_( "&Save Whole Schematic Project\tCtrl+S" ),
|
||||
_( "Save all sheets in the schematic project" ) );
|
||||
_( "&Save Whole Schematic Project\tCtrl+S" ),
|
||||
_( "Save all sheets in the schematic project" ) );
|
||||
item->SetBitmap( save_project_xpm );
|
||||
filesMenu->Append( item );
|
||||
|
||||
item = new wxMenuItem( filesMenu, ID_SAVE_ONE_SHEET, _( "Save &Current Sheet Only" ),
|
||||
_( "Save only current schematic sheet" ) );
|
||||
_( "Save only current schematic sheet" ) );
|
||||
item->SetBitmap( save_xpm );
|
||||
filesMenu->Append( item );
|
||||
|
||||
/* Save as... */
|
||||
item = new wxMenuItem( filesMenu, ID_SAVE_ONE_SHEET_AS,
|
||||
_( "Save Current Sheet &as" ),
|
||||
_( "Save current schematic sheet as..." ) );
|
||||
_( "Save Current Sheet &as" ),
|
||||
_( "Save current schematic sheet as..." ) );
|
||||
item->SetBitmap( save_as_xpm );
|
||||
filesMenu->Append( item );
|
||||
|
||||
@ -91,33 +91,33 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
/* Print */
|
||||
item = new wxMenuItem( filesMenu, wxID_PRINT, _( "P&rint" ),
|
||||
_( "Print schematic" ) );
|
||||
_( "Print schematic" ) );
|
||||
item->SetBitmap( print_button );
|
||||
filesMenu->Append( item );
|
||||
|
||||
/* Plot submenu */
|
||||
wxMenu* choice_plot_fmt = new wxMenu;
|
||||
item = new wxMenuItem( choice_plot_fmt, ID_GEN_PLOT_PS,
|
||||
_( "Plot PostScript" ),
|
||||
_( "Plot schematic sheet in PostScript format" ) );
|
||||
_( "Plot PostScript" ),
|
||||
_( "Plot schematic sheet in PostScript format" ) );
|
||||
item->SetBitmap( plot_PS_xpm );
|
||||
choice_plot_fmt->Append( item );
|
||||
|
||||
/* Plot HPGL */
|
||||
item = new wxMenuItem( choice_plot_fmt, ID_GEN_PLOT_HPGL, _( "Plot HPGL" ),
|
||||
_( "Plot schematic sheet in HPGL format" ) );
|
||||
_( "Plot schematic sheet in HPGL format" ) );
|
||||
item->SetBitmap( plot_HPG_xpm );
|
||||
choice_plot_fmt->Append( item );
|
||||
|
||||
/* Plot SVG */
|
||||
item = new wxMenuItem( choice_plot_fmt, ID_GEN_PLOT_SVG, _( "Plot SVG" ),
|
||||
_( "Plot schematic sheet in SVG format" ) );
|
||||
_( "Plot schematic sheet in SVG format" ) );
|
||||
item->SetBitmap( plot_xpm );
|
||||
choice_plot_fmt->Append( item );
|
||||
|
||||
/* Plot DXF */
|
||||
item = new wxMenuItem( choice_plot_fmt, ID_GEN_PLOT_DXF, _( "Plot DXF" ),
|
||||
_( "Plot schematic sheet in DXF format" ) );
|
||||
_( "Plot schematic sheet in DXF format" ) );
|
||||
item->SetBitmap( plot_xpm );
|
||||
choice_plot_fmt->Append( item );
|
||||
|
||||
@ -125,8 +125,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
#ifdef __WINDOWS__
|
||||
|
||||
item = new wxMenuItem( choice_plot_fmt, ID_GEN_COPY_SHEET_TO_CLIPBOARD,
|
||||
_( "Plot to Clipboard" ),
|
||||
_( "Export drawings to clipboard" ) );
|
||||
_( "Plot to Clipboard" ),
|
||||
_( "Export drawings to clipboard" ) );
|
||||
item->SetBitmap( copy_button );
|
||||
choice_plot_fmt->Append( item );
|
||||
|
||||
@ -134,7 +134,8 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
ADD_MENUITEM_WITH_HELP_AND_SUBMENU( filesMenu, choice_plot_fmt,
|
||||
ID_GEN_PLOT, _( "&Plot" ),
|
||||
_( "Plot schematic sheet in HPGL, PostScript or SVG format" ),
|
||||
_(
|
||||
"Plot schematic sheet in HPGL, PostScript or SVG format" ),
|
||||
plot_xpm );
|
||||
|
||||
/* Quit on all platforms except WXMAC */
|
||||
@ -142,20 +143,19 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
filesMenu->AppendSeparator();
|
||||
item = new wxMenuItem( filesMenu, wxID_EXIT, _( "&Quit" ),
|
||||
_( "Quit EESchema" ) );
|
||||
_( "Quit EESchema" ) );
|
||||
filesMenu->Append( item );
|
||||
|
||||
#endif /* !defined( __WXMAC__) */
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Edit menu
|
||||
*/
|
||||
wxMenu* editMenu = new wxMenu;
|
||||
|
||||
/* Undo */
|
||||
text = AddHotkeyName( _( "Undo" ), s_Schematic_Hokeys_Descr, HK_UNDO);
|
||||
text = AddHotkeyName( _( "Undo" ), s_Schematic_Hokeys_Descr, HK_UNDO );
|
||||
|
||||
item = new wxMenuItem( editMenu, wxID_UNDO, text,
|
||||
HELP_UNDO, wxITEM_NORMAL );
|
||||
@ -163,7 +163,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
editMenu->Append( item );
|
||||
|
||||
/* Redo */
|
||||
text = AddHotkeyName( _( "Redo" ), s_Schematic_Hokeys_Descr, HK_REDO);
|
||||
text = AddHotkeyName( _( "Redo" ), s_Schematic_Hokeys_Descr, HK_REDO );
|
||||
|
||||
item = new wxMenuItem( editMenu, wxID_REDO, text,
|
||||
HELP_REDO, wxITEM_NORMAL );
|
||||
@ -200,7 +200,6 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
editMenu->Append( item );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* View menu
|
||||
*/
|
||||
@ -218,7 +217,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
* for Zoom in and Zoom out sub menus
|
||||
*/
|
||||
/* Zoom in */
|
||||
text =_( "Zoom In" );
|
||||
text = _( "Zoom In" );
|
||||
item = new wxMenuItem( viewMenu, ID_ZOOM_IN, text, HELP_ZOOM_IN,
|
||||
wxITEM_NORMAL );
|
||||
item->SetBitmap( zoom_in_xpm );
|
||||
@ -252,7 +251,6 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
viewMenu->Append( item );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Place menu
|
||||
* TODO: Unify the ID names!
|
||||
@ -260,7 +258,9 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
wxMenu* placeMenu = new wxMenu;
|
||||
|
||||
/* Component */
|
||||
item = new wxMenuItem( placeMenu, ID_COMPONENT_BUTT, _( "&Component" ),
|
||||
text = AddHotkeyName( _( "&Component" ), s_Schematic_Hokeys_Descr,
|
||||
HK_ADD_NEW_COMPONENT );
|
||||
item = new wxMenuItem( placeMenu, ID_COMPONENT_BUTT, text,
|
||||
HELP_PLACE_COMPONENTS, wxITEM_NORMAL );
|
||||
item->SetBitmap( add_component_xpm );
|
||||
placeMenu->Append( item );
|
||||
@ -272,13 +272,15 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
placeMenu->Append( item );
|
||||
|
||||
/* Wire */
|
||||
item = new wxMenuItem( placeMenu, ID_WIRE_BUTT, _( "&Wire" ),
|
||||
text = AddHotkeyName( _( "&Wire" ), s_Schematic_Hokeys_Descr,
|
||||
HK_BEGIN_WIRE );
|
||||
item = new wxMenuItem( placeMenu, ID_WIRE_BUTT, text,
|
||||
HELP_PLACE_WIRE, wxITEM_NORMAL );
|
||||
item->SetBitmap( add_line_xpm );
|
||||
placeMenu->Append( item );
|
||||
|
||||
/* Bus */
|
||||
item = new wxMenuItem( placeMenu, ID_BUS_BUTT, _( "&Bus" ),
|
||||
item = new wxMenuItem( placeMenu, ID_BUS_BUTT, _( "&Bus" ),
|
||||
HELP_PLACE_BUS, wxITEM_NORMAL );
|
||||
item->SetBitmap( add_bus_xpm );
|
||||
placeMenu->Append( item );
|
||||
@ -298,20 +300,25 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
placeMenu->Append( item );
|
||||
|
||||
/* No connect flag */
|
||||
item = new wxMenuItem( placeMenu, ID_NOCONN_BUTT, _( "No connect flag" ),
|
||||
text = AddHotkeyName( _( "No connect flag" ), s_Schematic_Hokeys_Descr,
|
||||
HK_ADD_NOCONN_FLAG );
|
||||
item = new wxMenuItem( placeMenu, ID_NOCONN_BUTT, text,
|
||||
HELP_PLACE_NC_FLAG, wxITEM_NORMAL );
|
||||
item->SetBitmap( noconn_button );
|
||||
placeMenu->Append( item );
|
||||
|
||||
/* Net name */
|
||||
item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, _( "Label" ),
|
||||
text = AddHotkeyName( _( "Label" ), s_Schematic_Hokeys_Descr,
|
||||
HK_ADD_LABEL );
|
||||
item = new wxMenuItem( placeMenu, ID_LABEL_BUTT, text,
|
||||
HELP_PLACE_NETLABEL, wxITEM_NORMAL );
|
||||
item->SetBitmap( add_line_label_xpm );
|
||||
placeMenu->Append( item );
|
||||
|
||||
/* Global label */
|
||||
item = new wxMenuItem( placeMenu, ID_GLABEL_BUTT, _( "Global label" ),
|
||||
_( "Place a global label. Warning: all global labels with the same name are connected in whole hierarchy" ),
|
||||
_(
|
||||
"Place a global label. Warning: all global labels with the same name are connected in whole hierarchy" ),
|
||||
wxITEM_NORMAL );
|
||||
item->SetBitmap( add_glabel_xpm );
|
||||
placeMenu->Append( item );
|
||||
@ -371,7 +378,6 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
placeMenu->Append( item );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Preferences Menu
|
||||
*/
|
||||
@ -379,19 +385,19 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
/* Library */
|
||||
item = new wxMenuItem( configmenu, ID_CONFIG_REQ, _( "&Library" ),
|
||||
_( "Library preferences" ) );
|
||||
_( "Library preferences" ) );
|
||||
item->SetBitmap( library_xpm );
|
||||
configmenu->Append( item );
|
||||
|
||||
/* Colors */
|
||||
item = new wxMenuItem( configmenu, ID_COLORS_SETUP, _( "&Colors" ),
|
||||
_( "Color preferences" ) );
|
||||
_( "Color preferences" ) );
|
||||
item->SetBitmap( palette_xpm );
|
||||
configmenu->Append( item );
|
||||
|
||||
/* Options */
|
||||
item = new wxMenuItem( configmenu, ID_OPTIONS_SETUP, _( "&Options" ),
|
||||
_( "Eeschema general options and preferences" ) );
|
||||
_( "Eeschema general options and preferences" ) );
|
||||
item->SetBitmap( preference_xpm );
|
||||
configmenu->Append( item );
|
||||
|
||||
@ -406,24 +412,23 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
|
||||
/* Save preferences */
|
||||
item = new wxMenuItem( configmenu, ID_CONFIG_SAVE, _( "&Save preferences" ),
|
||||
_( "Save application preferences" ) );
|
||||
_( "Save application preferences" ) );
|
||||
item->SetBitmap( save_setup_xpm );
|
||||
configmenu->Append( item );
|
||||
|
||||
/* Read preferences */
|
||||
item = new wxMenuItem( configmenu, ID_CONFIG_READ, _( "&Read preferences" ),
|
||||
_( "Read application preferences" ) );
|
||||
_( "Read application preferences" ) );
|
||||
item->SetBitmap( read_setup_xpm );
|
||||
configmenu->Append( item );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Help Menu
|
||||
*/
|
||||
wxMenu* helpMenu = new wxMenu;
|
||||
item = new wxMenuItem( helpMenu, ID_GENERAL_HELP, _( "&Contents" ),
|
||||
_( "Open the eeschema manual" ) );
|
||||
_( "Open the eeschema manual" ) );
|
||||
item->SetBitmap( online_help_xpm );
|
||||
helpMenu->Append( item );
|
||||
|
||||
@ -431,7 +436,7 @@ void WinEDA_SchematicFrame::ReCreateMenuBar()
|
||||
#if !defined(__WXMAC__)
|
||||
|
||||
item = new wxMenuItem( helpMenu, ID_KICAD_ABOUT, _( "&About" ),
|
||||
_( "About eeschema schematic designer" ) );
|
||||
_( "About eeschema schematic designer" ) );
|
||||
item->SetBitmap( info_xpm );
|
||||
helpMenu->Append( item );
|
||||
|
||||
|
@ -1,50 +1,50 @@
|
||||
//
|
||||
// boost/assert.hpp - BOOST_ASSERT(expr)
|
||||
//
|
||||
// Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
|
||||
// Copyright (c) 2007 Peter Dimov
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Note: There are no include guards. This is intentional.
|
||||
//
|
||||
// See http://www.boost.org/libs/utility/assert.html for documentation.
|
||||
//
|
||||
|
||||
#undef BOOST_ASSERT
|
||||
|
||||
#if defined(BOOST_DISABLE_ASSERTS)
|
||||
|
||||
# define BOOST_ASSERT(expr) ((void)0)
|
||||
|
||||
#elif defined(BOOST_ENABLE_ASSERT_HANDLER)
|
||||
|
||||
#include <boost/current_function.hpp>
|
||||
|
||||
namespace boost
|
||||
{
|
||||
|
||||
void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#define BOOST_ASSERT(expr) ((expr)? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
|
||||
|
||||
#else
|
||||
# include <assert.h> // .h to support old libraries w/o <cassert> - effect is the same
|
||||
# define BOOST_ASSERT(expr) assert(expr)
|
||||
#endif
|
||||
|
||||
#undef BOOST_VERIFY
|
||||
|
||||
#if defined(BOOST_DISABLE_ASSERTS) || ( !defined(BOOST_ENABLE_ASSERT_HANDLER) && defined(NDEBUG) )
|
||||
|
||||
# define BOOST_VERIFY(expr) ((void)(expr))
|
||||
|
||||
#else
|
||||
|
||||
# define BOOST_VERIFY(expr) BOOST_ASSERT(expr)
|
||||
|
||||
#endif
|
||||
//
|
||||
// boost/assert.hpp - BOOST_ASSERT(expr)
|
||||
//
|
||||
// Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
|
||||
// Copyright (c) 2007 Peter Dimov
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// Note: There are no include guards. This is intentional.
|
||||
//
|
||||
// See http://www.boost.org/libs/utility/assert.html for documentation.
|
||||
//
|
||||
|
||||
#undef BOOST_ASSERT
|
||||
|
||||
#if defined(BOOST_DISABLE_ASSERTS)
|
||||
|
||||
# define BOOST_ASSERT(expr) ((void)0)
|
||||
|
||||
#elif defined(BOOST_ENABLE_ASSERT_HANDLER)
|
||||
|
||||
#include <boost/current_function.hpp>
|
||||
|
||||
namespace boost
|
||||
{
|
||||
|
||||
void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#define BOOST_ASSERT(expr) ((expr)? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))
|
||||
|
||||
#else
|
||||
# include <assert.h> // .h to support old libraries w/o <cassert> - effect is the same
|
||||
# define BOOST_ASSERT(expr) assert(expr)
|
||||
#endif
|
||||
|
||||
#undef BOOST_VERIFY
|
||||
|
||||
#if defined(BOOST_DISABLE_ASSERTS) || ( !defined(BOOST_ENABLE_ASSERT_HANDLER) && defined(NDEBUG) )
|
||||
|
||||
# define BOOST_VERIFY(expr) ((void)(expr))
|
||||
|
||||
#else
|
||||
|
||||
# define BOOST_VERIFY(expr) BOOST_ASSERT(expr)
|
||||
|
||||
#endif
|
||||
|
@ -1 +1 @@
|
||||
boost version: 1_40_0
|
||||
boost version: 1_43_0
|
||||
|
@ -1,24 +1,24 @@
|
||||
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
|
||||
// Use, modification and distribution are subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt).
|
||||
//
|
||||
// See http://www.boost.org/libs/utility for most recent version including documentation.
|
||||
|
||||
// See boost/detail/call_traits.hpp and boost/detail/ob_call_traits.hpp
|
||||
// for full copyright notices.
|
||||
|
||||
#ifndef BOOST_CALL_TRAITS_HPP
|
||||
#define BOOST_CALL_TRAITS_HPP
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#include <boost/config.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
#include <boost/detail/ob_call_traits.hpp>
|
||||
#else
|
||||
#include <boost/detail/call_traits.hpp>
|
||||
#endif
|
||||
|
||||
#endif // BOOST_CALL_TRAITS_HPP
|
||||
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
|
||||
// Use, modification and distribution are subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt).
|
||||
//
|
||||
// See http://www.boost.org/libs/utility for most recent version including documentation.
|
||||
|
||||
// See boost/detail/call_traits.hpp and boost/detail/ob_call_traits.hpp
|
||||
// for full copyright notices.
|
||||
|
||||
#ifndef BOOST_CALL_TRAITS_HPP
|
||||
#define BOOST_CALL_TRAITS_HPP
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#include <boost/config.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
#include <boost/detail/ob_call_traits.hpp>
|
||||
#else
|
||||
#include <boost/detail/call_traits.hpp>
|
||||
#endif
|
||||
|
||||
#endif // BOOST_CALL_TRAITS_HPP
|
||||
|
@ -1,69 +1,69 @@
|
||||
#ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
#define BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
|
||||
// MS compatible compilers support #pragma once
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
//
|
||||
// boost/checked_delete.hpp
|
||||
//
|
||||
// Copyright (c) 2002, 2003 Peter Dimov
|
||||
// Copyright (c) 2003 Daniel Frey
|
||||
// Copyright (c) 2003 Howard Hinnant
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/utility/checked_delete.html for documentation.
|
||||
//
|
||||
|
||||
namespace boost
|
||||
{
|
||||
|
||||
// verify that types are complete for increased safety
|
||||
|
||||
template<class T> inline void checked_delete(T * x)
|
||||
{
|
||||
// intentionally complex - simplification causes regressions
|
||||
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
|
||||
(void) sizeof(type_must_be_complete);
|
||||
delete x;
|
||||
}
|
||||
|
||||
template<class T> inline void checked_array_delete(T * x)
|
||||
{
|
||||
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
|
||||
(void) sizeof(type_must_be_complete);
|
||||
delete [] x;
|
||||
}
|
||||
|
||||
template<class T> struct checked_deleter
|
||||
{
|
||||
typedef void result_type;
|
||||
typedef T * argument_type;
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
// boost:: disables ADL
|
||||
boost::checked_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
template<class T> struct checked_array_deleter
|
||||
{
|
||||
typedef void result_type;
|
||||
typedef T * argument_type;
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
boost::checked_array_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // #ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
#ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
#define BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
|
||||
// MS compatible compilers support #pragma once
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
//
|
||||
// boost/checked_delete.hpp
|
||||
//
|
||||
// Copyright (c) 2002, 2003 Peter Dimov
|
||||
// Copyright (c) 2003 Daniel Frey
|
||||
// Copyright (c) 2003 Howard Hinnant
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
// See http://www.boost.org/libs/utility/checked_delete.html for documentation.
|
||||
//
|
||||
|
||||
namespace boost
|
||||
{
|
||||
|
||||
// verify that types are complete for increased safety
|
||||
|
||||
template<class T> inline void checked_delete(T * x)
|
||||
{
|
||||
// intentionally complex - simplification causes regressions
|
||||
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
|
||||
(void) sizeof(type_must_be_complete);
|
||||
delete x;
|
||||
}
|
||||
|
||||
template<class T> inline void checked_array_delete(T * x)
|
||||
{
|
||||
typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
|
||||
(void) sizeof(type_must_be_complete);
|
||||
delete [] x;
|
||||
}
|
||||
|
||||
template<class T> struct checked_deleter
|
||||
{
|
||||
typedef void result_type;
|
||||
typedef T * argument_type;
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
// boost:: disables ADL
|
||||
boost::checked_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
template<class T> struct checked_array_deleter
|
||||
{
|
||||
typedef void result_type;
|
||||
typedef T * argument_type;
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
boost::checked_array_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace boost
|
||||
|
||||
#endif // #ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
|
||||
|
@ -1,24 +1,24 @@
|
||||
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
|
||||
// Use, modification and distribution are subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt).
|
||||
//
|
||||
// See http://www.boost.org/libs/utility for most recent version including documentation.
|
||||
|
||||
// See boost/detail/compressed_pair.hpp and boost/detail/ob_compressed_pair.hpp
|
||||
// for full copyright notices.
|
||||
|
||||
#ifndef BOOST_COMPRESSED_PAIR_HPP
|
||||
#define BOOST_COMPRESSED_PAIR_HPP
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#include <boost/config.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
#include <boost/detail/ob_compressed_pair.hpp>
|
||||
#else
|
||||
#include <boost/detail/compressed_pair.hpp>
|
||||
#endif
|
||||
|
||||
#endif // BOOST_COMPRESSED_PAIR_HPP
|
||||
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
|
||||
// Use, modification and distribution are subject to the Boost Software License,
|
||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt).
|
||||
//
|
||||
// See http://www.boost.org/libs/utility for most recent version including documentation.
|
||||
|
||||
// See boost/detail/compressed_pair.hpp and boost/detail/ob_compressed_pair.hpp
|
||||
// for full copyright notices.
|
||||
|
||||
#ifndef BOOST_COMPRESSED_PAIR_HPP
|
||||
#define BOOST_COMPRESSED_PAIR_HPP
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#include <boost/config.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
#include <boost/detail/ob_compressed_pair.hpp>
|
||||
#else
|
||||
#include <boost/detail/compressed_pair.hpp>
|
||||
#endif
|
||||
|
||||
#endif // BOOST_COMPRESSED_PAIR_HPP
|
||||
|
46
include/boost/concept/assert.hpp
Normal file
46
include/boost/concept/assert.hpp
Normal file
@ -0,0 +1,46 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_ASSERT_DWA2006430_HPP
|
||||
# define BOOST_CONCEPT_ASSERT_DWA2006430_HPP
|
||||
|
||||
# include <boost/config.hpp>
|
||||
# include <boost/detail/workaround.hpp>
|
||||
|
||||
// The old protocol used a constraints() member function in concept
|
||||
// checking classes. If the compiler supports SFINAE, we can detect
|
||||
// that function and seamlessly support the old concept checking
|
||||
// classes. In this release, backward compatibility with the old
|
||||
// concept checking classes is enabled by default, where available.
|
||||
// The old protocol is deprecated, though, and backward compatibility
|
||||
// will no longer be the default in the next release.
|
||||
|
||||
# if !defined(BOOST_NO_OLD_CONCEPT_SUPPORT) \
|
||||
&& !defined(BOOST_NO_SFINAE) \
|
||||
\
|
||||
&& !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) \
|
||||
&& !(BOOST_WORKAROUND(__GNUC__, == 2))
|
||||
|
||||
// Note: gcc-2.96 through 3.3.x have some SFINAE, but no ability to
|
||||
// check for the presence of particularmember functions.
|
||||
|
||||
# define BOOST_OLD_CONCEPT_SUPPORT
|
||||
|
||||
# endif
|
||||
|
||||
# ifdef BOOST_MSVC
|
||||
# include <boost/concept/detail/msvc.hpp>
|
||||
# elif BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||
# include <boost/concept/detail/borland.hpp>
|
||||
# else
|
||||
# include <boost/concept/detail/general.hpp>
|
||||
# endif
|
||||
|
||||
// Usage, in class or function context:
|
||||
//
|
||||
// BOOST_CONCEPT_ASSERT((UnaryFunctionConcept<F,bool,int>));
|
||||
//
|
||||
# define BOOST_CONCEPT_ASSERT(ModelInParens) \
|
||||
BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens)
|
||||
|
||||
#endif // BOOST_CONCEPT_ASSERT_DWA2006430_HPP
|
29
include/boost/concept/detail/borland.hpp
Normal file
29
include/boost/concept/detail/borland.hpp
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_DETAIL_BORLAND_DWA2006429_HPP
|
||||
# define BOOST_CONCEPT_DETAIL_BORLAND_DWA2006429_HPP
|
||||
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
|
||||
namespace boost { namespace concept {
|
||||
|
||||
template <class ModelFnPtr>
|
||||
struct require;
|
||||
|
||||
template <class Model>
|
||||
struct require<void(*)(Model)>
|
||||
{
|
||||
enum { instantiate = sizeof((((Model*)0)->~Model()), 3) };
|
||||
};
|
||||
|
||||
# define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \
|
||||
enum \
|
||||
{ \
|
||||
BOOST_PP_CAT(boost_concept_check,__LINE__) = \
|
||||
boost::concept::require<ModelFnPtr>::instantiate \
|
||||
}
|
||||
|
||||
}} // namespace boost::concept
|
||||
|
||||
#endif // BOOST_CONCEPT_DETAIL_BORLAND_DWA2006429_HPP
|
51
include/boost/concept/detail/concept_def.hpp
Normal file
51
include/boost/concept/detail/concept_def.hpp
Normal file
@ -0,0 +1,51 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_DETAIL_CONCEPT_DEF_DWA200651_HPP
|
||||
# define BOOST_CONCEPT_DETAIL_CONCEPT_DEF_DWA200651_HPP
|
||||
# include <boost/preprocessor/seq/for_each_i.hpp>
|
||||
# include <boost/preprocessor/seq/enum.hpp>
|
||||
# include <boost/preprocessor/comma_if.hpp>
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
#endif // BOOST_CONCEPT_DETAIL_CONCEPT_DEF_DWA200651_HPP
|
||||
|
||||
// BOOST_concept(SomeName, (p1)(p2)...(pN))
|
||||
//
|
||||
// Expands to "template <class p1, class p2, ...class pN> struct SomeName"
|
||||
//
|
||||
// Also defines an equivalent SomeNameConcept for backward compatibility.
|
||||
// Maybe in the next release we can kill off the "Concept" suffix for good.
|
||||
#if BOOST_WORKAROUND(__GNUC__, <= 3)
|
||||
# define BOOST_concept(name, params) \
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct name; /* forward declaration */ \
|
||||
\
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct BOOST_PP_CAT(name,Concept) \
|
||||
: name< BOOST_PP_SEQ_ENUM(params) > \
|
||||
{ \
|
||||
/* at least 2.96 and 3.4.3 both need this */ \
|
||||
BOOST_PP_CAT(name,Concept)(); \
|
||||
}; \
|
||||
\
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct name
|
||||
#else
|
||||
# define BOOST_concept(name, params) \
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct name; /* forward declaration */ \
|
||||
\
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct BOOST_PP_CAT(name,Concept) \
|
||||
: name< BOOST_PP_SEQ_ENUM(params) > \
|
||||
{ \
|
||||
}; \
|
||||
\
|
||||
template < BOOST_PP_SEQ_FOR_EACH_I(BOOST_CONCEPT_typename,~,params) > \
|
||||
struct name
|
||||
#endif
|
||||
|
||||
// Helper for BOOST_concept, above.
|
||||
# define BOOST_CONCEPT_typename(r, ignored, index, t) \
|
||||
BOOST_PP_COMMA_IF(index) typename t
|
||||
|
5
include/boost/concept/detail/concept_undef.hpp
Normal file
5
include/boost/concept/detail/concept_undef.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
# undef BOOST_concept_typename
|
||||
# undef BOOST_concept
|
66
include/boost/concept/detail/general.hpp
Normal file
66
include/boost/concept/detail/general.hpp
Normal file
@ -0,0 +1,66 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP
|
||||
# define BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP
|
||||
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
# include <boost/concept/detail/has_constraints.hpp>
|
||||
# include <boost/mpl/if.hpp>
|
||||
# endif
|
||||
|
||||
// This implementation works on Comeau and GCC, all the way back to
|
||||
// 2.95
|
||||
namespace boost { namespace concept {
|
||||
|
||||
template <class ModelFn>
|
||||
struct requirement_;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
template <void(*)()> struct instantiate {};
|
||||
}
|
||||
|
||||
template <class Model>
|
||||
struct requirement
|
||||
{
|
||||
static void failed() { ((Model*)0)->~Model(); }
|
||||
};
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
|
||||
template <class Model>
|
||||
struct constraint
|
||||
{
|
||||
static void failed() { ((Model*)0)->constraints(); }
|
||||
};
|
||||
|
||||
template <class Model>
|
||||
struct requirement_<void(*)(Model)>
|
||||
: mpl::if_<
|
||||
concept::not_satisfied<Model>
|
||||
, constraint<Model>
|
||||
, requirement<Model>
|
||||
>::type
|
||||
{};
|
||||
|
||||
# else
|
||||
|
||||
// For GCC-2.x, these can't have exactly the same name
|
||||
template <class Model>
|
||||
struct requirement_<void(*)(Model)>
|
||||
: requirement<Model>
|
||||
{};
|
||||
|
||||
# endif
|
||||
|
||||
# define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \
|
||||
typedef ::boost::concept::detail::instantiate< \
|
||||
&::boost::concept::requirement_<ModelFnPtr>::failed> \
|
||||
BOOST_PP_CAT(boost_concept_check,__LINE__)
|
||||
|
||||
}}
|
||||
|
||||
#endif // BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP
|
48
include/boost/concept/detail/has_constraints.hpp
Normal file
48
include/boost/concept/detail/has_constraints.hpp
Normal file
@ -0,0 +1,48 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_DETAIL_HAS_CONSTRAINTS_DWA2006429_HPP
|
||||
# define BOOST_CONCEPT_DETAIL_HAS_CONSTRAINTS_DWA2006429_HPP
|
||||
|
||||
# include <boost/mpl/bool.hpp>
|
||||
# include <boost/detail/workaround.hpp>
|
||||
namespace boost { namespace concept {
|
||||
|
||||
namespace detail
|
||||
{
|
||||
|
||||
// Here we implement the metafunction that detects whether a
|
||||
// constraints metafunction exists
|
||||
typedef char yes;
|
||||
typedef char (&no)[2];
|
||||
|
||||
template <class Model, void (Model::*)()>
|
||||
struct wrap_constraints {};
|
||||
|
||||
#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) || defined(__CUDACC__)
|
||||
// Work around the following bogus error in Sun Studio 11, by
|
||||
// turning off the has_constraints function entirely:
|
||||
// Error: complex expression not allowed in dependent template
|
||||
// argument expression
|
||||
inline no has_constraints_(...);
|
||||
#else
|
||||
template <class Model>
|
||||
inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0);
|
||||
inline no has_constraints_(...);
|
||||
#endif
|
||||
}
|
||||
|
||||
// This would be called "detail::has_constraints," but it has a strong
|
||||
// tendency to show up in error messages.
|
||||
template <class Model>
|
||||
struct not_satisfied
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool
|
||||
, value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) );
|
||||
typedef mpl::bool_<value> type;
|
||||
};
|
||||
|
||||
}} // namespace boost::concept::detail
|
||||
|
||||
#endif // BOOST_CONCEPT_DETAIL_HAS_CONSTRAINTS_DWA2006429_HPP
|
92
include/boost/concept/detail/msvc.hpp
Normal file
92
include/boost/concept/detail/msvc.hpp
Normal file
@ -0,0 +1,92 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP
|
||||
# define BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP
|
||||
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
# include <boost/concept/detail/has_constraints.hpp>
|
||||
# include <boost/mpl/if.hpp>
|
||||
# endif
|
||||
|
||||
|
||||
namespace boost { namespace concept {
|
||||
|
||||
template <class Model>
|
||||
struct check
|
||||
{
|
||||
virtual void failed(Model* x)
|
||||
{
|
||||
x->~Model();
|
||||
}
|
||||
};
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
|
||||
namespace detail
|
||||
{
|
||||
// No need for a virtual function here, since evaluating
|
||||
// not_satisfied below will have already instantiated the
|
||||
// constraints() member.
|
||||
struct constraint {};
|
||||
}
|
||||
|
||||
template <class Model>
|
||||
struct require
|
||||
: mpl::if_c<
|
||||
not_satisfied<Model>::value
|
||||
, detail::constraint
|
||||
, check<Model>
|
||||
>::type
|
||||
{};
|
||||
|
||||
# else
|
||||
|
||||
template <class Model>
|
||||
struct require
|
||||
: check<Model>
|
||||
{};
|
||||
|
||||
# endif
|
||||
|
||||
# if BOOST_WORKAROUND(BOOST_MSVC, == 1310)
|
||||
|
||||
//
|
||||
// The iterator library sees some really strange errors unless we
|
||||
// do things this way.
|
||||
//
|
||||
template <class Model>
|
||||
struct require<void(*)(Model)>
|
||||
{
|
||||
virtual void failed(Model*)
|
||||
{
|
||||
require<Model>();
|
||||
}
|
||||
};
|
||||
|
||||
# define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \
|
||||
enum \
|
||||
{ \
|
||||
BOOST_PP_CAT(boost_concept_check,__LINE__) = \
|
||||
sizeof(::boost::concept::require<ModelFnPtr>) \
|
||||
}
|
||||
|
||||
# else // Not vc-7.1
|
||||
|
||||
template <class Model>
|
||||
require<Model>
|
||||
require_(void(*)(Model));
|
||||
|
||||
# define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \
|
||||
enum \
|
||||
{ \
|
||||
BOOST_PP_CAT(boost_concept_check,__LINE__) = \
|
||||
sizeof(::boost::concept::require_((ModelFnPtr)0)) \
|
||||
}
|
||||
|
||||
# endif
|
||||
}}
|
||||
|
||||
#endif // BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP
|
78
include/boost/concept/requires.hpp
Normal file
78
include/boost/concept/requires.hpp
Normal file
@ -0,0 +1,78 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_REQUIRES_DWA2006430_HPP
|
||||
# define BOOST_CONCEPT_REQUIRES_DWA2006430_HPP
|
||||
|
||||
# include <boost/config.hpp>
|
||||
# include <boost/parameter/aux_/parenthesized_type.hpp>
|
||||
# include <boost/concept/assert.hpp>
|
||||
# include <boost/preprocessor/seq/for_each.hpp>
|
||||
|
||||
namespace boost {
|
||||
|
||||
// Template for use in handwritten assertions
|
||||
template <class Model, class More>
|
||||
struct requires_ : More
|
||||
{
|
||||
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
typedef typename More::type type;
|
||||
# endif
|
||||
BOOST_CONCEPT_ASSERT((Model));
|
||||
};
|
||||
|
||||
// Template for use by macros, where models must be wrapped in parens.
|
||||
// This isn't in namespace detail to keep extra cruft out of resulting
|
||||
// error messages.
|
||||
template <class ModelFn>
|
||||
struct _requires_
|
||||
{
|
||||
enum { value = 0 };
|
||||
BOOST_CONCEPT_ASSERT_FN(ModelFn);
|
||||
};
|
||||
|
||||
template <int check, class Result>
|
||||
struct Requires_ : ::boost::parameter::aux::unaryfunptr_arg_type<Result>
|
||||
{
|
||||
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
typedef typename ::boost::parameter::aux::unaryfunptr_arg_type<Result>::type type;
|
||||
# endif
|
||||
};
|
||||
|
||||
# if BOOST_WORKAROUND(BOOST_INTEL_WIN, BOOST_TESTED_AT(1010))
|
||||
# define BOOST_CONCEPT_REQUIRES_(r,data,t) | (::boost::_requires_<void(*)t>::value)
|
||||
# else
|
||||
# define BOOST_CONCEPT_REQUIRES_(r,data,t) + (::boost::_requires_<void(*)t>::value)
|
||||
# endif
|
||||
|
||||
#if defined(NDEBUG) || BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
|
||||
# define BOOST_CONCEPT_REQUIRES(models, result) \
|
||||
typename ::boost::parameter::aux::unaryfunptr_arg_type<void(*)result>::type
|
||||
|
||||
#elif BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||
|
||||
// Same thing as below without the initial typename
|
||||
# define BOOST_CONCEPT_REQUIRES(models, result) \
|
||||
::boost::Requires_< \
|
||||
(0 BOOST_PP_SEQ_FOR_EACH(BOOST_CONCEPT_REQUIRES_, ~, models)), \
|
||||
::boost::parameter::aux::unaryfunptr_arg_type<void(*)result> \
|
||||
>::type
|
||||
|
||||
#else
|
||||
|
||||
// This just ICEs on MSVC6 :(
|
||||
# define BOOST_CONCEPT_REQUIRES(models, result) \
|
||||
typename ::boost::Requires_< \
|
||||
(0 BOOST_PP_SEQ_FOR_EACH(BOOST_CONCEPT_REQUIRES_, ~, models)), \
|
||||
void(*)result \
|
||||
>::type
|
||||
|
||||
#endif
|
||||
|
||||
// C++0x proposed syntax changed. This supports an older usage
|
||||
#define BOOST_CONCEPT_WHERE(models,result) BOOST_CONCEPT_REQUIRES(models,result)
|
||||
|
||||
} // namespace boost::concept_check
|
||||
|
||||
#endif // BOOST_CONCEPT_REQUIRES_DWA2006430_HPP
|
43
include/boost/concept/usage.hpp
Normal file
43
include/boost/concept/usage.hpp
Normal file
@ -0,0 +1,43 @@
|
||||
// Copyright David Abrahams 2006. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#ifndef BOOST_CONCEPT_USAGE_DWA2006919_HPP
|
||||
# define BOOST_CONCEPT_USAGE_DWA2006919_HPP
|
||||
|
||||
# include <boost/concept/assert.hpp>
|
||||
# include <boost/detail/workaround.hpp>
|
||||
|
||||
namespace boost { namespace concept {
|
||||
|
||||
# if BOOST_WORKAROUND(__GNUC__, == 2)
|
||||
|
||||
# define BOOST_CONCEPT_USAGE(model) ~model()
|
||||
|
||||
# else
|
||||
|
||||
template <class Model>
|
||||
struct usage_requirements
|
||||
{
|
||||
~usage_requirements() { ((Model*)0)->~Model(); }
|
||||
};
|
||||
|
||||
# if BOOST_WORKAROUND(__GNUC__, <= 3)
|
||||
|
||||
# define BOOST_CONCEPT_USAGE(model) \
|
||||
model(); /* at least 2.96 and 3.4.3 both need this :( */ \
|
||||
BOOST_CONCEPT_ASSERT((boost::concept::usage_requirements<model>)); \
|
||||
~model()
|
||||
|
||||
# else
|
||||
|
||||
# define BOOST_CONCEPT_USAGE(model) \
|
||||
BOOST_CONCEPT_ASSERT((boost::concept::usage_requirements<model>)); \
|
||||
~model()
|
||||
|
||||
# endif
|
||||
|
||||
# endif
|
||||
|
||||
}} // namespace boost::concept
|
||||
|
||||
#endif // BOOST_CONCEPT_USAGE_DWA2006919_HPP
|
1007
include/boost/concept_check.hpp
Normal file
1007
include/boost/concept_check.hpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,70 +1,70 @@
|
||||
// Boost config.hpp configuration header file ------------------------------//
|
||||
|
||||
// (C) Copyright John Maddock 2002.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See http://www.boost.org/libs/config for most recent version.
|
||||
|
||||
// Boost config.hpp policy and rationale documentation has been moved to
|
||||
// http://www.boost.org/libs/config
|
||||
//
|
||||
// CAUTION: This file is intended to be completely stable -
|
||||
// DO NOT MODIFY THIS FILE!
|
||||
//
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#define BOOST_CONFIG_HPP
|
||||
|
||||
// if we don't have a user config, then use the default location:
|
||||
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
|
||||
# define BOOST_USER_CONFIG <boost/config/user.hpp>
|
||||
#endif
|
||||
// include it first:
|
||||
#ifdef BOOST_USER_CONFIG
|
||||
# include BOOST_USER_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a compiler config set, try and find one:
|
||||
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_compiler_config.hpp>
|
||||
#endif
|
||||
// if we have a compiler config, include it now:
|
||||
#ifdef BOOST_COMPILER_CONFIG
|
||||
# include BOOST_COMPILER_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a std library config set, try and find one:
|
||||
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_stdlib_config.hpp>
|
||||
#endif
|
||||
// if we have a std library config, include it now:
|
||||
#ifdef BOOST_STDLIB_CONFIG
|
||||
# include BOOST_STDLIB_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a platform config set, try and find one:
|
||||
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_platform_config.hpp>
|
||||
#endif
|
||||
// if we have a platform config, include it now:
|
||||
#ifdef BOOST_PLATFORM_CONFIG
|
||||
# include BOOST_PLATFORM_CONFIG
|
||||
#endif
|
||||
|
||||
// get config suffix code:
|
||||
#include <boost/config/suffix.hpp>
|
||||
|
||||
#endif // BOOST_CONFIG_HPP
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Boost config.hpp configuration header file ------------------------------//
|
||||
|
||||
// (C) Copyright John Maddock 2002.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See http://www.boost.org/libs/config for most recent version.
|
||||
|
||||
// Boost config.hpp policy and rationale documentation has been moved to
|
||||
// http://www.boost.org/libs/config
|
||||
//
|
||||
// CAUTION: This file is intended to be completely stable -
|
||||
// DO NOT MODIFY THIS FILE!
|
||||
//
|
||||
|
||||
#ifndef BOOST_CONFIG_HPP
|
||||
#define BOOST_CONFIG_HPP
|
||||
|
||||
// if we don't have a user config, then use the default location:
|
||||
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
|
||||
# define BOOST_USER_CONFIG <boost/config/user.hpp>
|
||||
#endif
|
||||
// include it first:
|
||||
#ifdef BOOST_USER_CONFIG
|
||||
# include BOOST_USER_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a compiler config set, try and find one:
|
||||
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_compiler_config.hpp>
|
||||
#endif
|
||||
// if we have a compiler config, include it now:
|
||||
#ifdef BOOST_COMPILER_CONFIG
|
||||
# include BOOST_COMPILER_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a std library config set, try and find one:
|
||||
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_stdlib_config.hpp>
|
||||
#endif
|
||||
// if we have a std library config, include it now:
|
||||
#ifdef BOOST_STDLIB_CONFIG
|
||||
# include BOOST_STDLIB_CONFIG
|
||||
#endif
|
||||
|
||||
// if we don't have a platform config set, try and find one:
|
||||
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
|
||||
# include <boost/config/select_platform_config.hpp>
|
||||
#endif
|
||||
// if we have a platform config, include it now:
|
||||
#ifdef BOOST_PLATFORM_CONFIG
|
||||
# include BOOST_PLATFORM_CONFIG
|
||||
#endif
|
||||
|
||||
// get config suffix code:
|
||||
#include <boost/config/suffix.hpp>
|
||||
|
||||
#endif // BOOST_CONFIG_HPP
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// (C) Copyright John Maddock 2003.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// for C++ Builder the following options effect the ABI:
|
||||
//
|
||||
// -b (on or off - effect emum sizes)
|
||||
// -Vx (on or off - empty members)
|
||||
// -Ve (on or off - empty base classes)
|
||||
// -aX (alignment - 5 options).
|
||||
// -pX (Calling convention - 4 options)
|
||||
// -VmX (member pointer size and layout - 5 options)
|
||||
// -VC (on or off, changes name mangling)
|
||||
// -Vl (on or off, changes struct layout).
|
||||
|
||||
// In addition the following warnings are sufficiently annoying (and
|
||||
// unfixable) to have them turned off by default:
|
||||
//
|
||||
// 8027 - functions containing [for|while] loops are not expanded inline
|
||||
// 8026 - functions taking class by value arguments are not expanded inline
|
||||
|
||||
#pragma nopushoptwarn
|
||||
# pragma option push -Vx -Ve -a8 -b -pc -Vmv -VC- -Vl- -w-8027 -w-8026
|
||||
|
||||
|
||||
|
||||
// (C) Copyright John Maddock 2003.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// for C++ Builder the following options effect the ABI:
|
||||
//
|
||||
// -b (on or off - effect emum sizes)
|
||||
// -Vx (on or off - empty members)
|
||||
// -Ve (on or off - empty base classes)
|
||||
// -aX (alignment - 5 options).
|
||||
// -pX (Calling convention - 4 options)
|
||||
// -VmX (member pointer size and layout - 5 options)
|
||||
// -VC (on or off, changes name mangling)
|
||||
// -Vl (on or off, changes struct layout).
|
||||
|
||||
// In addition the following warnings are sufficiently annoying (and
|
||||
// unfixable) to have them turned off by default:
|
||||
//
|
||||
// 8027 - functions containing [for|while] loops are not expanded inline
|
||||
// 8026 - functions taking class by value arguments are not expanded inline
|
||||
|
||||
#pragma nopushoptwarn
|
||||
# pragma option push -Vx -Ve -a8 -b -pc -Vmv -VC- -Vl- -w-8027 -w-8026
|
||||
|
||||
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
// (C) Copyright John Maddock 2003.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# pragma option pop
|
||||
#pragma nopushoptwarn
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// (C) Copyright John Maddock 2003.
|
||||
// Use, modification and distribution are subject to the
|
||||
// Boost Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
# pragma option pop
|
||||
#pragma nopushoptwarn
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user