diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-21 18:34:50 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-21 18:34:50 +0200 |
commit | 7c5d68ae42b4144a9b844b50f9889be9fbb07e2a (patch) | |
tree | 33140be679fda504bc0dad7804866ea59006acba | |
parent | 0443d1c2d189004cbd93fee3b5be1206311b4975 (diff) | |
parent | 04f358b2cc68d6a164c5273e88fe82440389758c (diff) |
Merge branch 'master' into feature/gnumake4
-rw-r--r-- | mysqlc/prj/build.lst | 2 | ||||
-rw-r--r-- | mysqlc/source/exports.dxp | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | mysqlc/source/makefile.mk | 4 | ||||
-rw-r--r-- | mysqlc/source/mysqlc.map | 1 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_services.cxx | 11 | ||||
-rw-r--r-- | reportbuilder/util/makefile.mk | 4 | ||||
-rw-r--r-- | sdext/prj/build.lst | 2 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizeruno.cxx | 8 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 8 | ||||
-rw-r--r-- | sdext/source/pdfimport/services.cxx | 6 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 9 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterComponent.cxx | 12 | ||||
-rw-r--r-- | sdext/source/presenter/makefile.mk | 7 | ||||
-rw-r--r-- | swext/prj/build.lst | 2 |
15 files changed, 26 insertions, 55 deletions
diff --git a/mysqlc/prj/build.lst b/mysqlc/prj/build.lst index 636c487..3cbb4e6 100644 --- a/mysqlc/prj/build.lst +++ b/mysqlc/prj/build.lst @@ -1,3 +1,3 @@ -mc mysqlc : solenv MYSQLCPPCONN:mysqlcppconn offuh cppu soltools cppuhelper readlicense_oo NULL +mc mysqlc : solenv MYSQLCPPCONN:mysqlcppconn offapi cppu soltools cppuhelper readlicense_oo NULL ch mysqlc usr1 - all mc_mkout NULL mc mysqlc\source nmake - all mc_source NULL diff --git a/mysqlc/source/exports.dxp b/mysqlc/source/exports.dxp index 9630d7e..51703a0 100644 --- a/mysqlc/source/exports.dxp +++ b/mysqlc/source/exports.dxp @@ -1,3 +1,2 @@ -component_getImplementationEnvironment component_writeInfo component_getFactory diff --git a/mysqlc/source/makefile.mk b/mysqlc/source/makefile.mk index 8ffa8e1..9af646c 100755..100644 --- a/mysqlc/source/makefile.mk +++ b/mysqlc/source/makefile.mk @@ -45,11 +45,7 @@ EXTERNAL_WARNINGS_NOT_ERRORS = TRUE #---- extension version EXTENSION_VERSION_BASE=$(MYSQLC_VERSION_MAJOR).$(MYSQLC_VERSION_MINOR).$(MYSQLC_VERSION_MICRO) -.IF ( "$(CWS_WORK_STAMP)" == "" ) || ( "$(UPDATER)" == "YES" ) EXTENSION_VERSION=$(EXTENSION_VERSION_BASE) -.ELSE - EXTENSION_VERSION=$(EXTENSION_VERSION_BASE).cws.$(CWS_WORK_STAMP) -.ENDIF #---- extension title package name .IF "$(MYSQLC_STATUS)" == "final" diff --git a/mysqlc/source/mysqlc.map b/mysqlc/source/mysqlc.map index f4ed78b..7c6d93f 100644 --- a/mysqlc/source/mysqlc.map +++ b/mysqlc/source/mysqlc.map @@ -1,6 +1,5 @@ UDK_3_0_0 { global: - component_getImplementationEnvironment; component_writeInfo; component_getFactory; local: diff --git a/mysqlc/source/mysqlc_services.cxx b/mysqlc/source/mysqlc_services.cxx index 962dee1..1633dfe 100644 --- a/mysqlc/source/mysqlc_services.cxx +++ b/mysqlc/source/mysqlc_services.cxx @@ -110,17 +110,6 @@ struct ProviderRequest /* }}} */ -/* {{{ component_getImplementationEnvironment -I- */ -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /* ppEnv */ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} -/* }}} */ - - /* {{{ component_writeInfo -I- */ extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(void * /* pServiceManager */, void * pRegistryKey) { diff --git a/reportbuilder/util/makefile.mk b/reportbuilder/util/makefile.mk index 21e30f4..d78cfa6 100644 --- a/reportbuilder/util/makefile.mk +++ b/reportbuilder/util/makefile.mk @@ -30,11 +30,7 @@ PRJNAME=reportbuilder TARGET=rpt EXTENSION_VERSION_BASE=1.2.1 -.IF "$(CWS_WORK_STAMP)" == "" EXTENSION_VERSION=$(EXTENSION_VERSION_BASE) -.ELSE - EXTENSION_VERSION=$(EXTENSION_VERSION_BASE).cws.$(CWS_WORK_STAMP) -.ENDIF # --- Settings ---------------------------------- .INCLUDE : makefile.pmk diff --git a/sdext/prj/build.lst b/sdext/prj/build.lst index 5c621d5..4c1be7a 100644 --- a/sdext/prj/build.lst +++ b/sdext/prj/build.lst @@ -1,4 +1,4 @@ -dx sdext : TRANSLATIONS:translations offuh comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg XPDF:xpdf LIBXSLT:libxslt xmlhelp NULL +dx sdext : TRANSLATIONS:translations offapi comphelper unotools readlicense_oo cppu tools cppuhelper sal javaunohelper officecfg XPDF:xpdf LIBXSLT:libxslt xmlhelp NULL dx sdext usr1 - all sdext_mkout NULL dx sdext\prj get - all sdext_prj NULL dx sdext\source\minimizer nmake - all sdext_minimizer sdext_minimizer_rdoooe sdext_minimizer_rdooo sdext_inc NULL diff --git a/sdext/source/minimizer/pppoptimizeruno.cxx b/sdext/source/minimizer/pppoptimizeruno.cxx index 6ee571b..b131f15 100644 --- a/sdext/source/minimizer/pppoptimizeruno.cxx +++ b/sdext/source/minimizer/pppoptimizeruno.cxx @@ -44,14 +44,6 @@ using namespace ::com::sun::star::registry; extern "C" { - SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) - { - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; - } - - // ------------------------------------------------------------------------- - sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey ) { if (pRegistryKey) diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 6b11fc7..3a6611a 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -477,7 +477,7 @@ bool PDFContainer::emitSubElements( EmitContext& rWriteContext ) const if( rWriteContext.m_bDecrypt ) { const PDFName* pName = dynamic_cast<PDFName*>(m_aSubElements[i]); - if( pName && pName->m_aName.equals( rtl::OString("Encrypt") ) ) + if (pName && pName->m_aName.equalsL(RTL_CONSTASCII_STRINGPARAM("Encrypt"))) { i++; continue; @@ -714,7 +714,7 @@ bool PDFObject::getDeflatedStream( char** ppStream, unsigned int* pBytes, const } // is the (first) filter FlateDecode ? - if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) + if (pFilter && pFilter->m_aName.equalsL(RTL_CONSTASCII_STRINGPARAM("FlateDecode"))) { bIsDeflated = true; } @@ -869,7 +869,7 @@ bool PDFObject::emit( EmitContext& rWriteContext ) const if( it != pClone->m_pStream->m_pDict->m_aMap.end() ) { PDFName* pFilter = dynamic_cast<PDFName*>(it->second); - if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) + if (pFilter && pFilter->m_aName.equalsL(RTL_CONSTASCII_STRINGPARAM("FlateDecode"))) pClone->m_pStream->m_pDict->eraseValue( "Filter" ); else { @@ -877,7 +877,7 @@ bool PDFObject::emit( EmitContext& rWriteContext ) const if( pArray && ! pArray->m_aSubElements.empty() ) { pFilter = dynamic_cast<PDFName*>(pArray->m_aSubElements.front()); - if( pFilter && pFilter->m_aName.equals( "FlateDecode" ) ) + if (pFilter && pFilter->m_aName.equalsL(RTL_CONSTASCII_STRINGPARAM("FlateDecode"))) { delete pFilter; pArray->m_aSubElements.erase( pArray->m_aSubElements.begin() ); diff --git a/sdext/source/pdfimport/services.cxx b/sdext/source/pdfimport/services.cxx index 37f90c9..59721ce 100644 --- a/sdext/source/pdfimport/services.cxx +++ b/sdext/source/pdfimport/services.cxx @@ -83,12 +83,6 @@ namespace } } -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - namespace { typedef Reference< XInterface > (SAL_CALL * ComponentFactory)( const Reference< XComponentContext >& ); diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index f7741b4..5022dd5 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -489,7 +489,11 @@ void PDFOutDev::endPage() printf("endPage\n"); } +#if POPPLER_CHECK_VERSION(0, 17, 0) +void PDFOutDev::processLink(AnnotLink *link, Catalog *catalog) +#else void PDFOutDev::processLink(Link* link, Catalog*) +#endif { assert(link); diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 3ac0f49..0fd43c5 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -65,7 +65,10 @@ class GfxPath; class GfxFont; class PDFDoc; #ifndef SYSTEM_POPPLER +#define POPPLER_CHECK_VERSION(major,minor,micro) (0) typedef GString GooString; +#else +#include <glib/poppler-features.h> #endif namespace pdfi @@ -193,9 +196,13 @@ namespace pdfi // Convert between device and user coordinates. // virtual void cvtDevToUser(double dx, double dy, double *ux, double *uy); // virtual void cvtUserToDev(double ux, double uy, int *dx, int *dy); - + + #if POPPLER_CHECK_VERSION(0, 17, 0) + virtual void processLink(AnnotLink *link, Catalog *catalog); + #else //----- link borders virtual void processLink(Link *link, Catalog *catalog); + #endif //----- save/restore graphics state virtual void saveState(GfxState *state); diff --git a/sdext/source/presenter/PresenterComponent.cxx b/sdext/source/presenter/PresenterComponent.cxx index f2a78c5..a4ecf64 100644 --- a/sdext/source/presenter/PresenterComponent.cxx +++ b/sdext/source/presenter/PresenterComponent.cxx @@ -119,18 +119,6 @@ extern "C" return g_moduleCount.canUnload( &g_moduleCount , pTime ); } - - - - SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) - { - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; - } - - - - sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void * pRegistryKey ) { diff --git a/sdext/source/presenter/makefile.mk b/sdext/source/presenter/makefile.mk index 3c93866..1a3c052 100644 --- a/sdext/source/presenter/makefile.mk +++ b/sdext/source/presenter/makefile.mk @@ -370,6 +370,13 @@ $(DESCRIPTION) $(PHONYDESC) : $$(@:f) @echo LAST_WITH_LANG=$(WITH_LANG) > $(ZIP1DIR)_lang_track.mk $(TYPE) description.xml | sed s/UPDATED_PLATFORM/$(PLATFORMID)/ > $@ +ALLTAR: $(MISC)/../bin/presenter-screen.oxt +# hotfix to missing localizations +.IF "$(WITH_LANG)"!="" + $(COPY) $(ZIP1DIR)_in/merge/org/openoffice/Office/extension/PresenterScreen.xcu $(ZIP1DIR)/registry/data/org/openoffice/Office/extension/ + cd $(ZIP1DIR);zip -r -u ../../bin/presenter-screen.oxt registry/data/org/openoffice/Office/extension/PresenterScreen.xcu +.ENDIF + .ELSE ivo: $(ECHO) diff --git a/swext/prj/build.lst b/swext/prj/build.lst index 34e56e5..0bac744 100644 --- a/swext/prj/build.lst +++ b/swext/prj/build.lst @@ -1,4 +1,4 @@ -swext swext : officecfg TRANSLATIONS:translations l10ntools javaunohelper ridljar unoil jurt APACHE_COMMONS:apache-commons readlicense_oo xsltml xmlhelp NULL +swext swext : officecfg TRANSLATIONS:translations DESKTOP:l10ntools javaunohelper ridljar unoil jurt APACHE_COMMONS:apache-commons readlicense_oo xsltml xmlhelp NULL swext swext usr1 - all swext_mkout NULL swext swext\mediawiki\help nmake - all swext_mwhelp NULL swext swext\mediawiki\src\registry\schema\org\openoffice\Office\Custom nmake - all swext_mwschema NULL |