solenv/gbuild/extensions/post_BuildplTargets.mk | 16 ++++++ unusedcode.easy | 56 ------------------------ 2 files changed, 15 insertions(+), 57 deletions(-)
New commits: commit 832cd0cfb7a66ed19033e793de37a312af8c0c20 Author: Caolán McNamara <[email protected]> Date: Mon Jan 23 13:36:30 2012 +0000 filter out confusing unused code from external libraries for unusedcode.easy diff --git a/solenv/gbuild/extensions/post_BuildplTargets.mk b/solenv/gbuild/extensions/post_BuildplTargets.mk index 2f05f76..ee500a8 100644 --- a/solenv/gbuild/extensions/post_BuildplTargets.mk +++ b/solenv/gbuild/extensions/post_BuildplTargets.mk @@ -142,7 +142,21 @@ findunusedcode: #because non-c++ symbols could be dlsymed lets make a list of class level #unused methods which don't require much effort to determine if they need #to be just removed, or put behind appropiate platform or debug level ifdefs - @grep ::.*\( unusedcode.all | grep -v ^cppu:: > unusedcode.easy +# +#filter out cppu:: because there's a concern they might be required for the +#extensions abi +# +#filter out boost:: and Icc*:: because there are external libraries we +#build but don't include into our install sets +# +#filter out Atom*:: from libcmis, because its too painful to customize +#it to only build the methods we directly call + @grep ::.*\( unusedcode.all \ + | grep -v ^cppu:: \ + | grep -v ^boost:: \ + | grep -v ^CIcc \ + | grep -v ^CAtom \ + > unusedcode.easy subsequentcheck: dev-install diff --git a/unusedcode.easy b/unusedcode.easy index e06db0c..506807c 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,52 +1,7 @@ -AtomDocument::AtomDocument(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) -AtomFolder::AtomFolder(AtomPubSession*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) -AtomPubSession::getCollectionUrl(Collection::Type) ByteString::Assign(char const*, unsigned short) ByteString::Assign(char) ByteString::ByteString(char const*, unsigned short) ByteString::SetToken(unsigned short, char, ByteString const&, unsigned short) -CIccCLUT::Interp3dTetra(float*, float const*) -CIccCLUT::Iterate(IIccCLUTExec*) -CIccFormulaCurveSegment::SetFunction(unsigned short, unsigned char, float*) -CIccIO::ReadLine(void*, int) -CIccInfo::GetSpotShapeName(icSpotShape) -CIccMBB::Init(unsigned char, unsigned char) -CIccMBB::NewCLUT(unsigned char*, unsigned char) -CIccMBB::NewCLUT(unsigned char, unsigned char) -CIccMemIO::Alloc(unsigned int, bool) -CIccMpeCLUT::SetCLUT(CIccCLUT*) -CIccMpeCreator::DoGetElementSigName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, icElemTypeSignature) -CIccMpeCurveSet::SetCurve(int, CIccCurveSetCurve*) -CIccProfile::DeleteTag(unsigned int) -CIccProfile::Detach() -CIccProfile::GetSpaceSamples() const -CIccProfileIdDesc::CIccProfileIdDesc(CIccProfile&) -CIccProfileIdDesc::CIccProfileIdDesc(icProfileID, CIccTagMultiLocalizedUnicode) -CIccSegmentedCurve::Insert(CIccCurveSegment*) -CIccTagCurve::SetGamma(float) -CIccTagFixedNum<int, (icTagTypeSignature)1936077618>::GetSize() const -CIccTagFixedNum<unsigned int, (icTagTypeSignature)1969632050>::GetSize() const -CIccTagMultiLocalizedUnicode::SetText(unsigned short const*, unsigned short, unsigned short) -CIccTagMultiProcessElement::GetElement(int) -CIccTagNamedColor2::FindColor(char const*) -CIccTagNamedColor2::FindDeviceColor(float*) -CIccTagNamedColor2::FindPCSColor(float*, float) -CIccTagNamedColor2::FindRootColor(char const*) -CIccTagNamedColor2::GetColorName(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int) -CIccTagNamedColor2::Lab4ToLab2(float*, float const*) -CIccTagNamedColor2::NegClip(float) -CIccTagNum<unsigned char, (icTagTypeSignature)1969827896>::GetSize() const -CIccTagNum<unsigned int, (icTagTypeSignature)1969828658>::GetSize() const -CIccTagNum<unsigned long, (icTagTypeSignature)1969829428>::GetSize() const -CIccTagNum<unsigned short, (icTagTypeSignature)1969828150>::GetSize() const -CIccTagProfileSequenceId::AddProfileDescription(CIccProfileIdDesc const&) -CIccTagProfileSequenceId::GetFirst() -CIccTagProfileSequenceId::GetLast() -CIccTagProfileSequenceId::ParseMem(unsigned char*, unsigned int) -CIccTagResponseCurveSet16::GetFirstCurves() -CIccTagResponseCurveSet16::GetNextCurves() -CIccTagResponseCurveSet16::NewResponseCurves(icMeasurementUnitSig) -CIccTagResponseCurveSet16::SetNumChannels(unsigned short) CalendarWrapper::setFirstDayOfWeek(short) CalendarWrapper::setMinimumNumberOfDaysForFirstWeek(short) CertificateContainer::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) @@ -1327,17 +1282,6 @@ binfilter::_ZSortFlys::Remove(binfilter::_ZSortFly const&, unsigned short) binfilter::_ZSortFlys_SAR::Replace(binfilter::_ZSortFly const&, unsigned short) binfilter::_ZSortFlys_SAR::Replace(binfilter::_ZSortFly const*, unsigned short, unsigned short) binfilter::_ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::_ZSortFly const&, void*), void*) -boost::date_time::nth_as_str(int) -boost::gregorian::create_facet_def(char) -boost::gregorian::create_facet_def(wchar_t) -boost::gregorian::generate_locale(std::locale&, char) -boost::gregorian::generate_locale(std::locale&, wchar_t) -boost::gregorian::greg_month::get_month_map_ptr() -boost::gregorian::greg_weekday::as_long_string() const -boost::gregorian::greg_weekday::as_long_wstring() const -boost::gregorian::greg_weekday::as_short_string() const -boost::gregorian::greg_weekday::as_short_wstring() const -boost::gregorian::special_value_from_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) cairocanvas::CanvasHelper::flush() const cairocanvas::CanvasHelper::getPalette() cairocanvas::SpriteDeviceHelper::getSurface()
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
