[Libreoffice-commits] .: sc/qa
sc/qa/unit/filters-test.cxx |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit eda3e5dcb63e6bce71df2c1c941eacd7f0c79191 Author: François Tigeot ftig...@wolfpond.org Date: Fri Nov 25 09:41:25 2011 +0100 Disable password test on DragonFly diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 587b71e..7fb1d5e 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -200,7 +200,8 @@ public: CPPUNIT_TEST(testBugFixesXLS); CPPUNIT_TEST(testBugFixesXLSX); //disable testPassword on MacOSX due to problems with libsqlite3 -#if !defined(MACOSX) +//also crashes on DragonFly due to problems with nss/nspr headers +#if !defined(MACOSX) !defined(DRAGONFLY) CPPUNIT_TEST(testPassword); #endif ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: oox/inc
oox/inc/oox/mathml/importutils.hxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit f87ea359f45a8d8edbf029a5268b40fab3d1fa6c Author: LuboÅ¡ LuÅák l.lu...@suse.cz Date: Thu Nov 24 20:54:37 2011 +0100 fix compile diff --git a/oox/inc/oox/mathml/importutils.hxx b/oox/inc/oox/mathml/importutils.hxx index d5d2540..ad6ad6b 100644 --- a/oox/inc/oox/mathml/importutils.hxx +++ b/oox/inc/oox/mathml/importutils.hxx @@ -29,8 +29,8 @@ #define _STARMATHIMPORTUTILS_HXX #include com/sun/star/xml/sax/XFastAttributeList.hpp +#include oox/token/tokens.hxx #include map -#include oox/helper/attributelist.hxx #include vector #include oox/dllapi.h ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: unusedcode.easy
unusedcode.easy | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) New commits: commit 997da2415f7bf5bdaac9a69672e9fc46914c06e3 Author: Caolán McNamara caol...@redhat.com Date: Fri Nov 25 08:50:20 2011 + update list diff --git a/unusedcode.easy b/unusedcode.easy index 98cc325..af938e0 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -4,6 +4,7 @@ AtomDocument::AtomDocument(AtomPubSession*, std::basic_stringchar, std::char_tr AtomFolder::AtomFolder(AtomPubSession*, std::basic_stringchar, std::char_traitschar, std::allocatorchar ) AtomPubSession::getCollectionUrl(Collection::Type) AtomPubSession::~AtomPubSession() +BitmapWriteAccess::DrawPolygon(Polygon const) BufferNode::childAt(int) const ByteString::Assign(char const*, unsigned short) ByteString::Assign(char) @@ -535,7 +536,6 @@ SfxShell::RemoveItem(unsigned short) SfxSlotPool::NextInterface() SfxStyleSheet::SfxStyleSheet() SfxTabDialog::GetApplyHandler() const -SfxTabPage::SfxTabPage(Window*, long, SfxItemSet const) SfxThesSubMenuControl::RegisterControl(unsigned short, SfxModule*) SfxToDoStack_Implarr_::Contains(SfxToDo_Impl const) const SfxToDoStack_Implarr_::Insert(unsigned short, SfxToDo_Impl const, unsigned short) @@ -885,6 +885,7 @@ SvxUnoTextBase::InsertField(SvxFieldItem const) SvxUnoTextBase::SvxUnoTextBase(SvxEditSource const*, SvxItemPropertySet const*) SvxUnoTextContent::SvxUnoTextContent() SvxZoomStatusBarControl::GetDefItemWidth(StatusBar const) +SwAttrIter::Dump(SvStream) const SwBlinkList::Insert(SwBlinkList const*, unsigned short, unsigned short) SwBlinkList::Insert(SwBlinkPortion* const, unsigned short) SwBlinkList::Insert(SwBlinkPortion* const*, unsigned short) @@ -939,6 +940,7 @@ SwLRects::Insert(SwLRects const*, unsigned short, unsigned short, unsigned short SwLRects::Replace(SwLineRect const, unsigned short) SwLRects::Replace(SwLineRect const*, unsigned short, unsigned short) SwLRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwLineRect const, void*), void*) +SwLineLayout::DebugPortions(SvStream, String const, unsigned short) SwMailMergeChildWindow::GetChildWindowId() SwModify::GetClientCount() const SwOutlineNodes::Insert(SwNode* const, unsigned short) @@ -952,6 +954,8 @@ SwPosFlyFrms::Insert(SwPosFlyFrm* const*, unsigned short) SwPosFlyFrms::Insert(SwPosFlyFrms const*, unsigned short, unsigned short) SwPosFlyFrms::Remove(SwPosFlyFrm* const, unsigned short) SwPosFlyFrms::Remove(unsigned short, unsigned short) +SwProtocol::GetVar(unsigned short, long) +SwProtocol::SnapShot(SwFrm const*, unsigned long) SwRects::Replace(SwRect const, unsigned short) SwRects::Replace(SwRect const*, unsigned short, unsigned short) SwRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwRect const, void*), void*) @@ -983,6 +987,17 @@ SwTabFrm::GetLeaf(MakePageType, unsigned char) SwTableSortBoxes::DeleteAndDestroy(unsigned short, unsigned short) SwTableSortBoxes::Insert(SwTableBox* const, unsigned short) SwTableSortBoxes::Insert(SwTableBox* const*, unsigned short) +SwTxtFly::ShowContour(OutputDevice*) +SwTxtSizeInfo::IsOptCalm() const +SwTxtSizeInfo::IsOptLow() const +SwTxtSizeInfo::IsOptTest1() const +SwTxtSizeInfo::IsOptTest2() const +SwTxtSizeInfo::IsOptTest3() const +SwTxtSizeInfo::IsOptTest4() const +SwTxtSizeInfo::IsOptTest5() const +SwTxtSizeInfo::IsOptTest6() const +SwTxtSizeInfo::IsOptTest7() const +SwTxtSizeInfo::IsOptTest8() const SwVbaColumn::calculateAbsoluteColumnWidth(int, com::sun::star::uno::Sequencecom::sun::star::text::TableColumnSeparator const, double*) SwVbaColumn::calculateRelativeColumnWidth(double const*, double*, int) SwVbaStyle::getOOoStyleTypeFromMSWord(int) @@ -1039,6 +1054,7 @@ TaskStatusFieldItem::TaskStatusFieldItem() TempFile::IsValid() const TextObj::TextObj(TextObj) TextObj::Write(SvStream*) +ToolBox::GetToolbarLayoutMode() TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const, com::sun::star::uno::Referencecom::sun::star::uno::XInterface) UCBStorage::IsStorageFile(String const) UCBStream::UCBStream(com::sun::star::uno::Referencecom::sun::star::io::XOutputStream) @@ -2020,6 +2036,7 @@ oox::dump::TextStreamObjectBase::construct(oox::dump::InputObjectBase const, un oox::dump::XmlStreamObject::XmlStreamObject(oox::dump::OutputObjectBase const, oox::dump::BinaryInputStreamRef const) oox::dump::biff::BiffObjectBase::dumpRowRange(oox::dump::String const, bool) oox::dump::biff::FormulaObject::dumpCellFormula(oox::dump::String const, unsigned short) +oox::formulaimport::XmlStream::AttributeList::hasAttribute(int) const oox::ole::VbaHelper::getBasicScriptUrl(rtl::OUString const, rtl::OUString const, rtl::OUString const) oox::ole::VbaProject::hasDialog(rtl::OUString const) const oox::ole::VbaProject::hasModule(rtl::OUString const) const @@ -2230,6 +2247,7 @@ svxform::SvLBoxEntrySortedArray::Insert(SvLBoxEntry* const, unsigned short)
[Libreoffice-commits] .: Branch 'libreoffice-3-4' - setup_native/source
setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx | 205 +- setup_native/source/win32/customactions/shellextensions/makefile.mk |3 2 files changed, 27 insertions(+), 181 deletions(-) New commits: commit 2408d229104c3e198ce79e72bb89ce360575aa36 Author: Andras Timar ati...@suse.com Date: Thu Nov 24 23:10:30 2011 +0100 change logic of IsOfficeRunning custom action fdo#36677 instead of trying to rename a file or folder in Program Files directory - which is write protected anyway normally - installer checks the process list, if there is a process called soffice.bin. Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx b/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx index 0cf8458..3432ddd 100644 --- a/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx +++ b/setup_native/source/win32/customactions/shellextensions/checkrunningoffice.cxx @@ -53,6 +53,10 @@ #include stdio.h #include sal/macros.h +// works with Windows XP as well as with Windows 7 +#define PSAPI_VERSION 1 +#include psapi.h + #include systools/win32/uwinapi.h #include ../tools/seterror.hxx @@ -93,201 +97,42 @@ static std::_tstring GetMsiProperty( MSIHANDLE handle, const std::_tstring sPro return result; } -static inline bool IsSetMsiProperty(MSIHANDLE handle, const std::_tstring sProperty) -{ -std::_tstring value = GetMsiProperty(handle, sProperty); -return (value.length() 0); -} - -static inline void UnsetMsiProperty(MSIHANDLE handle, const std::_tstring sProperty) +extern C UINT __stdcall IsOfficeRunning( MSIHANDLE handle ) { -MsiSetProperty(handle, sProperty.c_str(), NULL); -} +std::_tstring sOfficeInstallPath = GetMsiProperty(handle, TEXT(INSTALLLOCATION)); +// Property empty - no office installed +if ( sOfficeInstallPath.length() == 0 ) +return ERROR_SUCCESS; -static inline void SetMsiProperty(MSIHANDLE handle, const std::_tstring sProperty) -{ -MsiSetProperty(handle, sProperty.c_str(), TEXT(1)); -} +DWORD aProcesses[1024], cbNeeded, cProcesses; /* 1024 processses ought to be enough for anybody */ -static BOOL MoveFileEx9x( LPCSTR lpExistingFileNameA, LPCSTR lpNewFileNameA, DWORD dwFlags ) -{ -BOOL fSuccess = FALSE; // assume failure +if ( !EnumProcesses( aProcesses, sizeof(aProcesses), cbNeeded ) ) +return ERROR_INSTALL_FAILURE; -// Windows 9x has a special mechanism to move files after reboot +cProcesses = cbNeeded / sizeof(DWORD); -if ( dwFlags MOVEFILE_DELAY_UNTIL_REBOOT ) +// Check if there is soffice.bin among the processes +for ( unsigned int i = 0; i cProcesses; i++ ) { -CHAR szExistingFileNameA[MAX_PATH]; -CHAR szNewFileNameA[MAX_PATH] = NUL; - -// Path names in WININIT.INI must be in short path name form - -if ( -GetShortPathNameA( lpExistingFileNameA, szExistingFileNameA, MAX_PATH ) -(!lpNewFileNameA || GetShortPathNameA( lpNewFileNameA, szNewFileNameA, MAX_PATH )) -) +if( aProcesses[i] != 0 ) { -CHAR szBuffer[32767];// The buffer size must not exceed 32K -DWORD dwBufLen = GetPrivateProfileSectionA( RENAME_SECTION, szBuffer, SAL_N_ELEMENTS(szBuffer), WININIT_FILENAME ); - -CHAR szRename[MAX_PATH]; // This is enough for at most to times 67 chracters -strcpy( szRename, szNewFileNameA ); -strcat( szRename, = ); -strcat( szRename, szExistingFileNameA ); -size_t lnRename = strlen(szRename); - -if ( dwBufLen + lnRename + 2 = SAL_N_ELEMENTS(szBuffer) ) +TCHAR szProcessName[MAX_PATH] = TEXT(unknown); +HANDLE hProcess = OpenProcess( PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, aProcesses[i] ); +if (NULL != hProcess ) { -CopyMemory( szBuffer[dwBufLen], szRename, lnRename ); -szBuffer[dwBufLen + lnRename ] = 0; -szBuffer[dwBufLen + lnRename + 1 ] = 0; - -fSuccess = WritePrivateProfileSectionA( RENAME_SECTION, szBuffer, WININIT_FILENAME ); +HMODULE hMod; +if ( EnumProcessModules( hProcess, hMod, sizeof(hMod), cbNeeded) ) +GetModuleBaseName( hProcess, hMod, szProcessName, sizeof(szProcessName)/sizeof(TCHAR) ); } -else -SetLastError( ERROR_BUFFER_OVERFLOW ); -} -} -else -{ - -fSuccess = MoveFileA( lpExistingFileNameA, lpNewFileNameA ); - -if ( !fSuccess GetLastError() != ERROR_ACCESS_DENIED -0 != (dwFlags (MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) ) -{ -
[Libreoffice-commits] .: Branch 'libreoffice-3-4' - scp2/source
scp2/source/ooo/common_brand.scp |6 ++ 1 file changed, 6 insertions(+) New commits: commit 5a5fd169cb471192cc9d1602b1bd88107af9280b Author: Andras Timar ati...@suse.com Date: Wed Nov 23 13:40:17 2011 +0100 create this dir so uninstall can remove it Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp index 2557f0d..19f560f 100644 --- a/scp2/source/ooo/common_brand.scp +++ b/scp2/source/ooo/common_brand.scp @@ -413,6 +413,12 @@ Directory gid_Brand_Dir_Share_Uno_Packages_Cache Styles = (CREATE); End +Directory gid_Brand_Dir_Share_Uno_Packages_Cache_Uno_Packages +ParentID = gid_Brand_Dir_Share_Uno_Packages_Cache; +DosName = uno_packages; +Styles = (CREATE); +End + Directory gid_Brand_Dir_Share_Registry ParentID = gid_Brand_Dir_Share; DosName = registry; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: writerfilter/source
writerfilter/source/rtftok/rtfcontrolwords.cxx |1 + 1 file changed, 1 insertion(+) New commits: commit 52e6bfeb324574f2330d191c208860ddc2d532e0 Author: Cédric Bosdonnat cedric.bosdonnat@free.fr Date: Fri Nov 25 10:02:02 2011 +0100 RTF import: fixed the missing paragraph breaks from fdo#43206. \\\n is used as an equivalent to \par even though I couldn't find it in the specs. diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx index 3b82e80..3dd2672 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.cxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx @@ -38,6 +38,7 @@ RTFSymbol aRTFControlWords[] = { {*, CONTROL_SYMBOL, RTF_IGNORE}, {:, CONTROL_SYMBOL, RTF_SUBENTRY}, {\\, CONTROL_SYMBOL, RTF_BACKSLASH}, +{\n, CONTROL_SYMBOL, RTF_PAR}, {_, CONTROL_SYMBOL, RTF_NOBRKHYPH}, {{, CONTROL_SYMBOL, RTF_LBRACE}, {|, CONTROL_SYMBOL, RTF_FORMULA}, ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: oox/Package_inc.mk
oox/Package_inc.mk |1 - 1 file changed, 1 deletion(-) New commits: commit 59210463cce786edafeb09edfdaf147b7278b289 Author: Stephan Bergmann sberg...@redhat.com Date: Fri Nov 25 09:12:52 2011 +0100 no need to export oox/helper/attributelist.hxx any longer diff --git a/oox/Package_inc.mk b/oox/Package_inc.mk index 5564eab..ac2ad7d 100644 --- a/oox/Package_inc.mk +++ b/oox/Package_inc.mk @@ -41,7 +41,6 @@ $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/drawingml.hxx,oox/expor $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/shapes.hxx,oox/export/shapes.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/utils.hxx,oox/export/utils.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/export/vmlexport.hxx,oox/export/vmlexport.hxx)) -$(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/attributelist.hxx,oox/helper/attributelist.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/binarystreambase.hxx,oox/helper/binarystreambase.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/containerhelper.hxx,oox/helper/containerhelper.hxx)) $(eval $(call gb_Package_add_file,oox_inc,inc/oox/helper/graphichelper.hxx,oox/helper/graphichelper.hxx)) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: tools/inc
tools/inc/tools/debug.hxx | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) New commits: commit 360043b30ebe21a6a02b5cdfe0b4bd12ab22 Author: Stephan Bergmann sberg...@redhat.com Date: Fri Nov 25 10:51:13 2011 +0100 demoted plentiful DBG_WARNING etc. to SAL_INFO diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx index ecbfa3b..4fde7b5 100644 --- a/tools/inc/tools/debug.hxx +++ b/tools/inc/tools/debug.hxx @@ -46,7 +46,7 @@ have been used for true assertions as well as for logged warnings, they map to SAL_WARN instead of standard assert. The warning and error macros (DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING5, DBG_WARNINGFILE, -DBG_ERRORFILE) all map to SAL_WARN, too. +DBG_ERRORFILE) all map to SAL_INFO. */ // @@ -480,23 +480,23 @@ public: #endif #define DBG_WARNING( aWarning ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aWarning) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aWarning) #define DBG_WARNING1( aWarning, x1 ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aWarning, x1) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aWarning, x1) #define DBG_WARNING2( aWarning, x1, x2 ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aWarning, x1, x2) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aWarning, x1, x2) #define DBG_WARNING3( aWarning, x1, x2, x3 ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aWarning, x1, x2, x3) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aWarning, x1, x2, x3) #define DBG_WARNING4( aWarning, x1, x2, x3, x4 ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aWarning, x1, x2, x3, x4) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aWarning, x1, x2, x3, x4) #define DBG_WARNING5( aWarning, x1, x2, x3, x4, x5 ) \ -SAL_DETAIL_WARN_IF_FORMAT( \ +SAL_DETAIL_INFO_IF_FORMAT( \ true, legacy.tools, aWarning, x1, x2, x3, x4, x5) -#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_WARN_IF_FORMAT( \ +#define DBG_WARNINGFILE( aWarning ) SAL_DETAIL_INFO_IF_FORMAT( \ true, legacy.tools, aWarning, __FILE__, __LINE__) #define DBG_ERRORFILE( aError ) \ -SAL_DETAIL_WARN_IF_FORMAT(true, legacy.tools, aError, __FILE__, __LINE__) +SAL_DETAIL_INFO_IF_FORMAT(true, legacy.tools, aError, __FILE__, __LINE__) #define DBG_TESTSOLARMUTEX()\ do \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: tools/bootstrp tools/inc tools/source
tools/bootstrp/prj.cxx | 28 +- tools/inc/bootstrp/prj.hxx |2 tools/source/fsys/wldcrd.cxx | 12 ++-- tools/source/inet/inetmime.cxx | 106 - 4 files changed, 63 insertions(+), 85 deletions(-) New commits: commit 6312367fb80f0cce15c576981b342ed57baf2b95 Author: Caolán McNamara caol...@redhat.com Date: Fri Nov 25 09:20:04 2011 + ByteString-rtl::OString diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx index a3caf23..ef362a0 100644 --- a/tools/bootstrp/prj.cxx +++ b/tools/bootstrp/prj.cxx @@ -28,21 +28,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include precompiled_tools.hxx -#include stdlib.h -#include stdio.h -#include osl/mutex.hxx - -#include tools/stream.hxx -#include comphelper/string.hxx #include bootstrp/prj.hxx - -#if defined(WNT) -#define LIST_DELIMETER ';' -#define PATH_DELIMETER '\\' -#elif defined UNX -#define LIST_DELIMETER ':' -#define PATH_DELIMETER '/' -#endif +#include comphelper/string.hxx SimpleConfig::SimpleConfig(const String rSimpleConfigFileName) { @@ -56,21 +43,14 @@ SimpleConfig::~SimpleConfig() rtl::OString SimpleConfig::getNext() { -if (aStringBuffer == ) +if (aStringBuffer.isEmpty()) while ((aStringBuffer = GetNextLine()) == \t) ; //solange bis != \t -if ( aStringBuffer == ) +if (aStringBuffer.isEmpty()) return rtl::OString(); rtl::OString aString = comphelper::string::getToken(aStringBuffer, 0, '\t'); -#ifdef _MSC_VER -#pragma warning (push) -#pragma warning (disable:4244) -#endif -aStringBuffer.Erase(0, aString.getLength()+1); -#ifdef _MSC_VER -#pragma warning (pop) -#endif +aStringBuffer = aStringBuffer.copy(aString.getLength()+1); aStringBuffer = comphelper::string::stripStart(aStringBuffer, '\t'); diff --git a/tools/inc/bootstrp/prj.hxx b/tools/inc/bootstrp/prj.hxx index 62d9727..f416053 100644 --- a/tools/inc/bootstrp/prj.hxx +++ b/tools/inc/bootstrp/prj.hxx @@ -43,7 +43,7 @@ class SimpleConfig { SvFileStream aFileStream; -ByteString aStringBuffer; +rtl::OString aStringBuffer; rtl::OString GetNextLine(); public: diff --git a/tools/source/fsys/wldcrd.cxx b/tools/source/fsys/wldcrd.cxx index 9071924..c1acd61 100644 --- a/tools/source/fsys/wldcrd.cxx +++ b/tools/source/fsys/wldcrd.cxx @@ -112,24 +112,24 @@ sal_uInt16 WildCard::ImpMatch( const char *pWild, const char *pStr ) const sal_Bool WildCard::Matches( const String rString ) const { -ByteString aTmpWild = aWildString; +rtl::OString aTmpWild = aWildString; rtl::OString aString(rtl::OUStringToOString(rString, osl_getThreadTextEncoding())); -sal_uInt16 nSepPos; +sal_Int32 nSepPos; if ( cSepSymbol != '\0' ) { -while ( (nSepPos = aTmpWild.Search( cSepSymbol )) != STRING_NOTFOUND ) +while ( (nSepPos = aTmpWild.indexOf(cSepSymbol)) != -1 ) { // alle getrennten WildCard's pruefen -if ( ImpMatch( aTmpWild.Copy( 0, nSepPos ).GetBuffer(), aString.getStr() ) ) +if ( ImpMatch( aTmpWild.copy( 0, nSepPos ).getStr(), aString.getStr() ) ) return sal_True; -aTmpWild.Erase( 0, nSepPos + 1 ); // Trennsymbol entfernen +aTmpWild = aTmpWild.copy(nSepPos + 1); // Trennsymbol entfernen } // und noch den hinter dem letzen Trennsymbol bzw. den einzigen } -if ( ImpMatch( aTmpWild.GetBuffer(), aString.getStr() ) ) +if ( ImpMatch( aTmpWild.getStr(), aString.getStr() ) ) return sal_True; else return sal_False; diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index e6b8db1..6034f3b 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -117,25 +117,25 @@ namespace unnamed_tools_inetmime { struct Parameter { Parameter * m_pNext; -ByteString m_aAttribute; -ByteString m_aCharset; -ByteString m_aLanguage; -ByteString m_aValue; +rtl::OString m_aAttribute; +rtl::OString m_aCharset; +rtl::OString m_aLanguage; +rtl::OString m_aValue; sal_uInt32 m_nSection; bool m_bExtended; -inline Parameter(Parameter * pTheNext, ByteString const rTheAttribute, - ByteString const rTheCharset, - ByteString const rTheLanguage, - ByteString const rTheValue, sal_uInt32 nTheSection, +inline Parameter(Parameter * pTheNext, const rtl::OString rTheAttribute, + const rtl::OString rTheCharset, + const rtl::OString rTheLanguage, + const rtl::OString rTheValue, sal_uInt32 nTheSection, bool bTheExtended); }; inline Parameter::Parameter(Parameter * pTheNext, -ByteString const rTheAttribute, -ByteString const rTheCharset, -
[Libreoffice-commits] .: jvmfwk/distributions
jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml |4 1 file changed, 4 insertions(+) New commits: commit f95052c29b076995a54b1d3f7c0becf35ebcd23f Author: Stephan Bergmann sberg...@redhat.com Date: Fri Nov 25 11:01:18 2011 +0100 duplicate add Oracle Java 1.7.0 recognition from javavendors_linux - wnt diff --git a/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml b/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml index a72216d..5c92b7a 100644 --- a/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml +++ b/jvmfwk/distributions/OpenOfficeorg/javavendors_wnt.xml @@ -9,6 +9,9 @@ vendor name=Sun Microsystems Inc. minVersion1.5.0/minVersion /vendor + vendor name=Oracle Corporation +minVersion1.7.0/minVersion + /vendor vendor name=IBM Corporation minVersion1.5.0/minVersion /vendor @@ -16,6 +19,7 @@ plugins library vendor=Sun Microsystems Inc.vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dll/library + library vendor=Oracle Corporationvnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dll/library library vendor=IBM Corporationvnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/sunjavaplugin.dll/library /plugins /javaSelection ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: oox/source
oox/source/helper/graphichelper.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 65be3e7908f21355fc8cc443192338d1cc8a8d61 Author: Cédric Bosdonnat cedric.bosdonnat@free.fr Date: Fri Nov 25 11:16:29 2011 +0100 Docx crasher: there may be no External Header for pictures. diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx index fd3046e..6ddb986 100644 --- a/oox/source/helper/graphichelper.cxx +++ b/oox/source/helper/graphichelper.cxx @@ -257,7 +257,7 @@ Reference XGraphic GraphicHelper::importGraphic( const Reference XInputStrea aArgs[ 0 ].Name = CREATE_OUSTRING( InputStream ); aArgs[ 0 ].Value = rxInStrm; -if ( pExtHeader-mapMode 0 ) +if ( pExtHeader pExtHeader-mapMode 0 ) { aArgs.realloc( aArgs.getLength() + 1 ); Sequence PropertyValue aFilterData( 3 ); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: automation/source basctl/source basic/inc basic/source UnoControls/source
UnoControls/source/base/basecontainercontrol.cxx |4 ++-- automation/source/simplecm/simplecm.cxx | 14 +++--- automation/source/testtool/cmdstrm.cxx |4 ++-- basctl/source/basicide/basidesh.cxx |3 +-- basctl/source/basicide/tbxctl.cxx|4 ++-- basctl/source/inc/svheader.hxx |2 +- basic/inc/basic/testtool.hxx |2 +- basic/source/app/textedit.cxx|4 ++-- basic/source/classes/sbunoobj.cxx|2 +- basic/source/comp/symtbl.cxx |2 +- basic/source/runtime/props.cxx |2 +- 11 files changed, 21 insertions(+), 22 deletions(-) New commits: commit 5c76e221fec40db02d2c6de5204e0d43dc5420fd Author: mikew mi...@whiteley.org Date: Thu Nov 24 23:56:22 2011 -0800 Some German to English comment translations. diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index 469146b..af1d349 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -208,8 +208,8 @@ Reference XControlModel SAL_CALL BaseContainerControl::getModel() throw( Runt void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException ) { -// Zuerst der Welt mitteilen, da� der Container wegfliegt. Dieses ist um einiges -// schneller wenn die Welt sowohl an den Controls als auch am Container horcht +// Tell everything that this container is now gone. +// It's faster if you listen to both the control and the container. // Ready for multithreading MutexGuard aGuard( m_aMutex ); diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx index b5087f2..ba9b799 100644 --- a/automation/source/simplecm/simplecm.cxx +++ b/automation/source/simplecm/simplecm.cxx @@ -376,7 +376,7 @@ ByteString CommunicationManager::GetMyName( CM_NameType ) void CommunicationManager::CallConnectionOpened( CommunicationLink* pCL ) { -pCL-StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden +pCL-StartCallback(); // This should already have been called. pCL-aStart = DateTime(); pCL-aLastAccess = pCL-aStart; bIsCommunicationRunning = sal_True; @@ -385,7 +385,7 @@ void CommunicationManager::CallConnectionOpened( CommunicationLink* pCL ) xLastNewLink = pCL; INFO_MSG( CByteString(C+:).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), -CByteString(Verbindung aufgebaut: ).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), +CByteString(Connection established: ).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), CM_OPEN, pCL ); ConnectionOpened( pCL ); pCL-FinishCallback(); @@ -393,11 +393,11 @@ void CommunicationManager::CallConnectionOpened( CommunicationLink* pCL ) void CommunicationManager::CallConnectionClosed( CommunicationLink* pCL ) { -pCL-StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden +pCL-StartCallback(); // This should already have been called. pCL-aLastAccess = DateTime(); INFO_MSG( CByteString(C-:).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), -CByteString(Verbindung abgebrochen: ).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), +CByteString(Connection broken: ).Append( pCL-GetCommunicationPartner( CM_FQDN ) ), CM_CLOSE, pCL ); ConnectionClosed( pCL ); @@ -410,9 +410,9 @@ void CommunicationManager::CallConnectionClosed( CommunicationLink* pCL ) void CommunicationManager::CallDataReceived( CommunicationLink* pCL ) { -pCL-StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden +pCL-StartCallback(); // Should have already been called pCL-aLastAccess = DateTime(); -CommunicationLinkRef rHold(pCL);// H�lt den Zeiger bis zum Ende des calls +CommunicationLinkRef rHold(pCL);// Keep the pointer for a bit. // should be impossible but happens for mysterious reasons if ( !pCL-pServiceData ) @@ -494,7 +494,7 @@ void CommunicationManager::CallDataReceived( CommunicationLink* pCL ) void CommunicationManager::CallInfoMsg( InfoString aMsg ) { -// Hier wird es wohl kein Housekeeping geben +// Probably no housekeeping here. InfoMsg( aMsg ); } diff --git a/automation/source/testtool/cmdstrm.cxx b/automation/source/testtool/cmdstrm.cxx index 023fc4c..6aba838 100644 --- a/automation/source/testtool/cmdstrm.cxx +++ b/automation/source/testtool/cmdstrm.cxx @@ -372,8 +372,8 @@ void CmdStream::GenCmdSlot( sal_uInt16 nNr, SbxArray* rPar ) break; } -/// #59513# nicht mehr ben�tigt ( siehe oben ) -// rPar-Get( 2*n-1 )-SetUserData(nUserData); // Und wieder zur�cksetzen, so da� auch alles sauber ist. +/// #59513# //don't need this anymore (see
[Libreoffice-commits] .: tail_build/Makefile
tail_build/Makefile |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) New commits: commit 538b1071531e895a55e2d6799806c3036f9ada49 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 13:02:36 2011 +0100 copy Makefile to everywhere was a bit too much of a shotgun approach diff --git a/tail_build/Makefile b/tail_build/Makefile index f9ac01e..625b0cb 100644 --- a/tail_build/Makefile +++ b/tail_build/Makefile @@ -30,10 +30,9 @@ ifeq ($(strip $(SOLARENV)),) include $(dir $(realpath $(firstword $(MAKEFILE_LIST/../solenv/gbuild/source_and_rerun.mk else -gb_PARTIALBUILD := T include $(SOLARENV)/gbuild/gbuild.mk -$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST/Module*.mk))) +$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/Module_tail_build.mk)) endif # vim: set noet sw=4 ts=4: ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: oox/source
oox/source/mathml/importutils.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 15da1a153e85da6e8b3d33bb2ed10328bdfb9286 Author: Jan Holesovsky ke...@suse.cz Date: Fri Nov 25 13:18:03 2011 +0100 Fix build on Windows. diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx index 8037e2b..c6bf80c 100644 --- a/oox/source/mathml/importutils.cxx +++ b/oox/source/mathml/importutils.cxx @@ -107,7 +107,7 @@ XmlStream::Tag::Tag( int t, const uno::Reference xml::sax::XFastAttributeList } -XmlStream::XmlStream::Tag::operator bool() const +XmlStream::Tag::operator bool() const { return token != XML_TOKEN_INVALID; } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: setup_native/source
setup_native/source/win32/customactions/shellextensions/makefile.mk |3 +++ 1 file changed, 3 insertions(+) New commits: commit b0c3f12261538e3b89079e3b87bb8f8f0d39e5a0 Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Fri Nov 25 13:49:20 2011 +0100 Fix linking of the new custom action diff --git a/setup_native/source/win32/customactions/shellextensions/makefile.mk b/setup_native/source/win32/customactions/shellextensions/makefile.mk index e0950d9..b6961cf 100644 --- a/setup_native/source/win32/customactions/shellextensions/makefile.mk +++ b/setup_native/source/win32/customactions/shellextensions/makefile.mk @@ -75,6 +75,9 @@ STDSHL += \ STDSHL+= \ $(KERNEL32LIB)\ -lmsvcrt +.ELSE +STDSHL+=\ +psapi.lib .ENDIF SHL1OBJS = $(SLOFILES) \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sw/source
sw/source/core/doc/docdraw.cxx | 80 - sw/source/core/doc/docedt.cxx | 347 +++-- 2 files changed, 204 insertions(+), 223 deletions(-) New commits: commit 5aff8df5308d3db93dfb539fb0710e51309207d2 Author: Philipp Weissenbacher p.weissenbac...@gmail.com Date: Fri Nov 25 00:45:15 2011 +0100 Translate German comments and translate some english comments spelling errors diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx index f3b02b4..afc66fe 100644 --- a/sw/source/core/doc/docdraw.cxx +++ b/sw/source/core/doc/docdraw.cxx @@ -53,12 +53,12 @@ #include doc.hxx #include IDocumentUndoRedo.hxx #include docsh.hxx -#include rootfrm.hxx //Damit der RootDtor gerufen wird. +#include rootfrm.hxx // So that the RootDtor is called. #include poolfmt.hxx -#include viewsh.hxx // fuer MakeDrawView +#include viewsh.hxx // for MakeDrawView #include drawdoc.hxx #include UndoDraw.hxx -#include swundo.hxx // fuer die UndoIds +#include swundo.hxx // for the UndoIds #include dcontact.hxx #include dview.hxx #include mvsave.hxx @@ -219,7 +219,7 @@ SwDrawContact* SwDoc::GroupSelection( SdrView rDrawView ) SwDrawContact* pNewContact = 0; if( bNoGroup ) { -//Ankerattribut aufheben. +// Revoke anchor attribute. SwDrawContact *pMyContact = (SwDrawContact*)GetUserCall(pObj); const SwFmtAnchor aAnch( pMyContact-GetFmt()-GetAnchor() ); @@ -234,7 +234,7 @@ SwDrawContact* SwDoc::GroupSelection( SdrView rDrawView ) static_castSwAnchoredDrawObject*(pMyContact-GetAnchoredObj( pObj )); bGroupMembersNotPositioned = pAnchoredDrawObj-NotYetPositioned(); } -//ContactObjekte und Formate vernichten. +// Destroy ContactObjects and formats. for( sal_uInt16 i = 0; i rMrkList.GetMarkCount(); ++i ) { pObj = rMrkList.GetMark( i )-GetMarkedSdrObj(); @@ -249,7 +249,7 @@ SwDrawContact* SwDoc::GroupSelection( SdrView rDrawView ) #endif pFmt = (SwDrawFrmFmt*)pContact-GetFmt(); -//loescht sich selbst! +// Deletes itself! pContact-Changed(*pObj, SDRUSERCALL_DELETE, pObj-GetLastBoundRect() ); pObj-SetUserCall( 0 ); @@ -458,13 +458,13 @@ sal_Bool SwDoc::DeleteSelection( SwDrawView rDrawView ) ? 0 : new SwUndoDrawDelete( (sal_uInt16)rMrkList.GetMarkCount() ); -//ContactObjekte vernichten, Formate sicherstellen. +// Destroy ContactObjects, save formats. for( i = 0; i rMrkList.GetMarkCount(); ++i ) { const SdrMark rMark = *rMrkList.GetMark( i ); pObj = rMark.GetMarkedSdrObj(); SwDrawContact *pContact = (SwDrawContact*)pObj-GetUserCall(); -if( pContact ) // natuerlich nicht bei gruppierten Objekten +if( pContact ) // of course not for grouped objects { SwDrawFrmFmt *pFmt = (SwDrawFrmFmt*)pContact-GetFmt(); // before delete of selection is performed, marked @@ -475,7 +475,7 @@ sal_Bool SwDoc::DeleteSelection( SwDrawView rDrawView ) { OSL_FAIL( SwDrawVirtObj is still marked for delete. application will crash! ); } -//loescht sich selbst! +// Deletes itself! pContact-Changed(*pObj, SDRUSERCALL_DELETE, pObj-GetLastBoundRect() ); pObj-SetUserCall( 0 ); @@ -518,14 +518,14 @@ _ZSortFly::_ZSortFly( const SwFrmFmt* pFrmFmt, const SwFmtAnchor* pFlyAn, { if( pFmt-getIDocumentLayoutAccess()-GetCurrentViewShell() ) //swmod 071107//swmod 071225 { -// Schauen, ob es ein SdrObject dafuer gibt +// See if there is an SdrObject for it SwFlyFrm* pFly = SwIteratorSwFlyFrm,SwFmt::FirstElement( *pFrmFmt ); if( pFly ) nOrdNum = pFly-GetVirtDrawObj()-GetOrdNum(); } else { -// Schauen, ob es ein SdrObject dafuer gibt +// See if there is an SdrObject for it SwFlyDrawContact* pContact = SwIteratorSwFlyDrawContact,SwFmt::FirstElement( *pFrmFmt ); if( pContact ) nOrdNum = pContact-GetMaster()-GetOrdNum(); @@ -533,7 +533,7 @@ _ZSortFly::_ZSortFly( const SwFrmFmt* pFrmFmt, const SwFmtAnchor* pFlyAn, } else if( RES_DRAWFRMFMT == pFmt-Which() ) { -// Schauen, ob es ein SdrObject dafuer gibt +// See if there is an SdrObject for it SwDrawContact* pContact = SwIteratorSwDrawContact,SwFmt::FirstElement( *pFrmFmt ); if( pContact )
[Libreoffice-commits] .: sal/inc sal/osl
sal/inc/osl/endian.h | 21 - sal/osl/unx/system.h | 16 2 files changed, 37 deletions(-) New commits: commit 3a1441c0d3107c69fd80492fa7e182d4f8c02d3d Author: François Tigeot ftig...@wolfpond.org Date: Fri Nov 25 10:38:14 2011 +0100 PDP_ENDIAN and variants are unused. Remove their use from the code. diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h index 7069c3b..dace25b 100644 --- a/sal/inc/osl/endian.h +++ b/sal/inc/osl/endian.h @@ -61,8 +61,6 @@ extern C { # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif __BYTE_ORDER == __PDP_ENDIAN -# define _PDP_ENDIAN # endif #endif @@ -76,8 +74,6 @@ extern C { # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif __BYTE_ORDER == __PDP_ENDIAN -# define _PDP_ENDIAN # endif #endif @@ -85,13 +81,8 @@ extern C { # include machine/endian.h # if BYTE_ORDER == LITTLE_ENDIAN # undef _BIG_ENDIAN -# undef _PDP_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN # undef _LITTLE_ENDIAN -# undef _PDP_ENDIAN -# elif BYTE_ORDER == PDP_ENDIAN -# undef _LITTLE_ENDIAN -# undef _BIG_ENDIAN # endif #endif @@ -103,8 +94,6 @@ extern C { # define _LITTLE_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN # define _BIG_ENDIAN -# elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN # endif #endif #endif @@ -119,8 +108,6 @@ extern C { # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN # endif #endif @@ -138,10 +125,6 @@ extern C { # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# ifndef _PDP_ENDIAN -# define _PDP_ENDIAN -# endif # endif #endif @@ -155,10 +138,6 @@ extern C { # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# ifndef _PDP_ENDIAN -# define _PDP_ENDIAN -# endif # endif #endif diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index c8f4871..71b9b31 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -89,8 +89,6 @@ # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif __BYTE_ORDER == __PDP_ENDIAN -# define _PDP_ENDIAN # endif # define IORESOURCE_TRANSFER_BSD # define IOCHANNEL_TRANSFER_BSD_RENO @@ -142,8 +140,6 @@ # define _LITTLE_ENDIAN_OO # elif BYTE_ORDER == BIG_ENDIAN # define _BIG_ENDIAN_OO -# elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN_OO # endif # define IORESOURCE_TRANSFER_BSD # define IOCHANNEL_TRANSFER_BSD_RENO @@ -179,8 +175,6 @@ # define _LITTLE_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN # define _BIG_ENDIAN -# elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN # endif #endif # define NO_PTHREAD_RTL @@ -248,8 +242,6 @@ # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN # endif # define SLEEP_TIMESPEC(timespec)nsleep(timespec, 0) # define LIBPATH LIBPATH @@ -301,10 +293,6 @@ # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# ifndef _PDP_ENDIAN -# define _PDP_ENDIAN -# endif # endif # define IOCHANNEL_TRANSFER_BSD_RENO # define NO_PTHREAD_RTL @@ -341,10 +329,6 @@ int macxp_resolveAlias(char *path, int buflen); # ifndef _BIG_ENDIAN # define _BIG_ENDIAN # endif -# elif BYTE_ORDER == PDP_ENDIAN -# ifndef _PDP_ENDIAN -# define _PDP_ENDIAN -# endif # endif # define IOCHANNEL_TRANSFER_BSD_RENO # define NO_PTHREAD_RTL ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: rsc/source
rsc/source/rscpp/cpp5.c |8 rsc/source/rscpp/cppdef.h | 11 --- 2 files changed, 19 deletions(-) New commits: commit a5cabdbc747bfd13216bf45f50ec36ad28cfed53 Author: François Tigeot ftig...@wolfpond.org Date: Fri Nov 25 14:42:10 2011 +0100 BIG_ENDIAN was never set Remove its conditional code diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c index 4eb3183..24b13b9 100644 --- a/rsc/source/rscpp/cpp5.c +++ b/rsc/source/rscpp/cpp5.c @@ -750,19 +750,11 @@ evalchar(int skip) * We warn on multi-byte constants and try to hack * (big|little)endian machines. */ -#if BIG_ENDIAN -count = 0; -#endif while ((c = get()) != '\'' c != EOF_CHAR c != '\n') { if (!skip) ciwarn(multi-byte constant '%c' isn't portable, c); -#if BIG_ENDIAN -count += BITS_CHAR; -value += (c count); -#else value = BITS_CHAR; value += c; -#endif } instring = FALSE; return (value); diff --git a/rsc/source/rscpp/cppdef.h b/rsc/source/rscpp/cppdef.h index 2490f1d..29b5d92 100644 --- a/rsc/source/rscpp/cppdef.h +++ b/rsc/source/rscpp/cppdef.h @@ -220,17 +220,6 @@ #endif /* - * BIG_ENDIAN is set TRUE on machines (such as the IBM 360 series) - * where 'ab' stores 'a' in the high-bits and 'b' in the low-bits. - * It is set FALSE on machines (such as the PDP-11 and Vax-11) - * where 'ab' stores 'a' in the low-bits and 'b' in the high-bits. - * (Or is it the other way around?) -- Warning: BIG_ENDIAN code is untested. - */ -#ifndef BIG_ENDIAN -#define BIG_ENDIAN FALSE -#endif - -/* * COMMENT_INVISIBLE may be defined to allow old-style comment * processing, whereby the comment becomes a zero-length token * delimiter. This permitted tokens to be concatenated in macro ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 3 commits - Makefile.in solenv/gbuild unotest/source
Makefile.in |7 ++ solenv/gbuild/JunitTest.mk| 14 +++-- solenv/gbuild/Module.mk | 10 +++ solenv/gbuild/gbuild.mk |4 + solenv/gbuild/platform/unxgcc.mk | 26 +- unotest/source/java/org/openoffice/test/OfficeConnection.java |6 -- 6 files changed, 53 insertions(+), 14 deletions(-) New commits: commit bb149de2b4d3458c0db1958edbbb75e79a8a53c4 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 15:14:09 2011 +0100 some hints cleanup diff --git a/Makefile.in b/Makefile.in index 9f58d33..443305b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -46,13 +46,18 @@ dev-install: build printf \ '\nDeveloper installation finished, you can now execute:\n\n' \ \ -if test `uname -s` = Darwin; then \ +if test `uname -s` = Linux; then \ +printf 'make debugrun\n'; \ +elif test `uname -s` = Darwin; then \ printf 'open %s/install/LibreOffice.app\n' @abs_builddir@; \ else \ printf 'cd %s/install/program\n. ./ooenv\n./soffice.bin\n' \ @abs_builddir@; \ fi +debugrun : dev-install + @. ./Env.Host.sh $$GNUMAKE -f $$SRC_ROOT/GNUmakefile.mk debugrun + check : allcheck @true diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk index 33d068c..ab0d67f 100644 --- a/solenv/gbuild/JunitTest.mk +++ b/solenv/gbuild/JunitTest.mk @@ -58,9 +58,15 @@ $(call gb_JunitTest_get_target,%) : -e 'at java.lang.reflect.' \ -e 'at sun.reflect.' $@.log \ echo see full error log at $@.log \ -echo to rerun just this failed test without all others, run either: \ -echo cd \$$MODULE make $@ \ -echo make -f $(SRCDIR)/GNUmakefile.mk $@ false)) \ +echo to rerun just this failed test without all others, run: \ +echo echo make $@ echo \ +echo add \-f $(SRCDIR)/GNUmakefile.mk\ if you are not in the module dir \ +echo Or to do interactive debugging, run two shells with (Linux only): \ +echo \ +echo make debugrun \ +echo make gb_JunitTest_DEBUGRUN=T $@ \ +echo \ +false)) \ rm -rf $(call gb_JunitTest_get_userdir,$*)) $(CLEAN_CMD) commit a65b46b71d0f95119b343f4e931a318703889b08 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 14:38:18 2011 +0100 remove debugcommand -- debugrun is superceding it diff --git a/unotest/source/java/org/openoffice/test/OfficeConnection.java b/unotest/source/java/org/openoffice/test/OfficeConnection.java index 8f99076..ae2cae0 100644 --- a/unotest/source/java/org/openoffice/test/OfficeConnection.java +++ b/unotest/source/java/org/openoffice/test/OfficeConnection.java @@ -105,12 +105,6 @@ public final class OfficeConnection { assertNull(waitForProcess(process, 1000)); // 1 sec } } -try { -ProcessBuilder debugbp = new ProcessBuilder( -Argument.get(debugcommand).split( )); -debugbp.start(); -Thread.sleep(1000); -} catch(Exception e) {} } /** Shut down the OOo instance. commit b684a5bb0374719976accaa9cedca44fa3d821ad Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 14:36:18 2011 +0100 create debugrun target, adjust JunitTests to them diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk index 3003c9d..33d068c 100644 --- a/solenv/gbuild/JunitTest.mk +++ b/solenv/gbuild/JunitTest.mk @@ -50,8 +50,6 @@ $(call gb_JunitTest_get_target,%) : mkdir -p $(call gb_JunitTest_get_userdir,$*) \ ($(gb_JunitTest_JAVACOMMAND) \ -cp $(CLASSPATH) \ -$(if $(strip $(gb_JunitTest_DEBUGCOMMAND)),\ - '-Dorg.openoffice.test.arg.debugcommand=$(gb_JunitTest_DEBUGCOMMAND)') \ $(DEFS) \ org.junit.runner.JUnitCore \ $(CLASSES) 21 $@.log || \ diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk index 82da041..582d960 100644 --- a/solenv/gbuild/Module.mk +++ b/solenv/gbuild/Module.mk @@ -112,6 +112,10 @@ check : unitcheck $(call gb_Output_announce_title,all tests checked.) $(call gb_Output_announce_bell) +debugrun : build + $(call gb_Module_DEBUGRUNCOMMAND) + + ifeq ($(strip $(gb_PARTIALBUILD)),) check : subsequentcheck @@ -149,6 +153,10 @@ endif endef +# Dont recurse in subdirs for help an debugrun + +ifeq ($(filter help debugrun,$(MAKECMDGOALS)),) + define
[Libreoffice-commits] .: Makefile.in
Makefile.in |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) New commits: commit 19b5d81f92363f1448dcf41930d973b8b04db11b Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 15:24:49 2011 +0100 move workaround for old build system to other workarounds diff --git a/Makefile.in b/Makefile.in index 443305b..82dca9a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,7 +55,7 @@ dev-install: build @abs_builddir@; \ fi -debugrun : dev-install +debugrun: @. ./Env.Host.sh $$GNUMAKE -f $$SRC_ROOT/GNUmakefile.mk debugrun check : allcheck @@ -173,3 +173,4 @@ findunusedcode: unitcheck: build subsequentcheck: dev-install allcheck : dev-install +debugrun : dev-install ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: vcl/source
vcl/source/window/toolbox.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 93a5933060f61a5fb585148e4125a8ab22305259 Author: Noel Power noel.po...@novell.com Date: Fri Nov 25 14:25:46 2011 + really limit special layout to single line non-floating toolbars diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 1016301..3531ea1 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -2721,7 +2721,7 @@ void ToolBox::ImplFormat( sal_Bool bResize ) if ( mbHorz ) { it-maCalcRect.Left() = nX; -if ( meLayoutMode == TBX_LAYOUT_TOP mnLines ) +if ( meLayoutMode == TBX_LAYOUT_TOP mnLines == 1 ) it-maCalcRect.Top() = nY/2; else it-maCalcRect.Top() = nY+(nLineSize-aCurrentItemSize.Height())/2; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 3 commits - scp2/source solenv/inc
scp2/source/ooo/module_helppack.ulf | 180 scp2/source/ooo/module_langpack.ulf | 180 solenv/inc/langlist.mk | 24 ++-- 3 files changed, 12 insertions(+), 372 deletions(-) New commits: commit 6cf8f6e737fdb35fa56713117baa617c02ed4dab Author: Lior Kaplan kaplanl...@gmail.com Date: Fri Nov 25 17:13:53 2011 +0200 Clean help pack list based on the current files in the translation repository (translations/source/) diff --git a/scp2/source/ooo/module_helppack.ulf b/scp2/source/ooo/module_helppack.ulf index 4737584..18ac86e 100644 --- a/scp2/source/ooo/module_helppack.ulf +++ b/scp2/source/ooo/module_helppack.ulf @@ -193,36 +193,18 @@ en-US = Punjabi [STR_DESC_MODULE_HELPPACK_PA_IN] en-US = Installs Punjabi help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_GU_IN] -en-US = Gujarati - -[STR_DESC_MODULE_HELPPACK_GU_IN] -en-US = Installs Gujarati help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_TA] en-US = Tamil [STR_DESC_MODULE_HELPPACK_TA] en-US = Installs Tamil help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_TA_IN] -en-US = Tamil - -[STR_DESC_MODULE_HELPPACK_TA_IN] -en-US = Installs Tamil help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_HI] en-US = Hindi [STR_DESC_MODULE_HELPPACK_HI] en-US = Installs Hindi help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_HI_IN] -en-US = Hindi - -[STR_DESC_MODULE_HELPPACK_HI_IN] -en-US = Installs Hindi help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_ST] en-US = Southern Sotho (Sutu) @@ -253,12 +235,6 @@ en-US = Afrikaans [STR_DESC_MODULE_HELPPACK_AF] en-US = Installs Afrikaans help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_SW] -en-US = Swahili - -[STR_DESC_MODULE_HELPPACK_SW] -en-US = Installs Swahili help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_SW_TZ] en-US = Swahili @@ -283,42 +259,18 @@ en-US = Bengali [STR_DESC_MODULE_HELPPACK_BN] en-US = Installs Bengali help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_BN_BD] -en-US = Bengali (Bangladesh) - -[STR_DESC_MODULE_HELPPACK_BN_BD] -en-US = Installs Bengali (Bangladesh) help in %PRODUCTNAME %PRODUCTVERSION - -[STR_NAME_MODULE_HELPPACK_BN_IN] -en-US = Bengali (India) - -[STR_DESC_MODULE_HELPPACK_BN_IN] -en-US = Installs Bengali (India) help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_OR] en-US = Oriya [STR_DESC_MODULE_HELPPACK_OR] en-US = Installs Oriya help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_OR_IN] -en-US = Oriya - -[STR_DESC_MODULE_HELPPACK_OR_IN] -en-US = Installs Oriya help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_MR] en-US = Marathi [STR_DESC_MODULE_HELPPACK_MR] en-US = Installs Marathi help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_MR_IN] -en-US = Marathi - -[STR_DESC_MODULE_HELPPACK_MR_IN] -en-US = Installs Marathi help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_NE] en-US = Nepali @@ -331,12 +283,6 @@ en-US = Arabic [STR_DESC_MODULE_HELPPACK_AR] en-US = Installs Arabic help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_AR_SA] -en-US = Arabic - -[STR_DESC_MODULE_HELPPACK_AR_SA] -en-US = Installs Arabic help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_CA] en-US = Catalan @@ -385,12 +331,6 @@ en-US = Norwegian (Nynorsk) [STR_DESC_MODULE_HELPPACK_NN] en-US = Installs Norwegian (Nynorsk) help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_RM] -en-US = Rhaeto-Romance - -[STR_DESC_MODULE_HELPPACK_RM] -en-US = Installs Rhaeto-Romance help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_RO] en-US = Romanian @@ -403,12 +343,6 @@ en-US = Albanian [STR_DESC_MODULE_HELPPACK_SQ] en-US = Installs Albanian help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_UR] -en-US = Urdu - -[STR_DESC_MODULE_HELPPACK_UR] -en-US = Installs Urdu help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_ID] en-US = Indonesian @@ -445,12 +379,6 @@ en-US = Lithuanian [STR_DESC_MODULE_HELPPACK_LT] en-US = Installs Lithuanian help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_HY] -en-US = Armenian - -[STR_DESC_MODULE_HELPPACK_HY] -en-US = Installs Armenian help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_EU] en-US = Basque @@ -463,12 +391,6 @@ en-US = Macedonian [STR_DESC_MODULE_HELPPACK_MK] en-US = Installs Macedonian help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_MT] -en-US = Maltese - -[STR_DESC_MODULE_HELPPACK_MT] -en-US = Installs Maltese help in %PRODUCTNAME %PRODUCTVERSION - [STR_NAME_MODULE_HELPPACK_CY] en-US = Welsh @@ -481,12 +403,6 @@ en-US = Galician [STR_DESC_MODULE_HELPPACK_GL] en-US = Installs Galician help in %PRODUCTNAME %PRODUCTVERSION -[STR_NAME_MODULE_HELPPACK_SH_YU] -en-US = Serbian (Latin)
[Libreoffice-commits] .: sdext/source
sdext/source/pdfimport/test/export.map |2 sdext/source/pdfimport/test/makefile.mk | 28 +-- sdext/source/pdfimport/test/tests.cxx | 80 3 files changed, 25 insertions(+), 85 deletions(-) New commits: commit b0e1f784080a0f78689b8166f296069c7c2fb8ad Author: Thorsten Behrens tbehr...@suse.com Date: Fri Nov 25 16:43:02 2011 +0100 First cut at making pdfimport unit tests work again. diff --git a/sdext/source/pdfimport/test/export.map b/sdext/source/pdfimport/test/export.map index 7321bbc..3308588 100755 --- a/sdext/source/pdfimport/test/export.map +++ b/sdext/source/pdfimport/test/export.map @@ -27,7 +27,7 @@ UDK_3_0_0 { global: -registerAllTestFunction; +cppunitTestPlugIn; local: *; diff --git a/sdext/source/pdfimport/test/makefile.mk b/sdext/source/pdfimport/test/makefile.mk index b6f60d5..fdc3966 100755 --- a/sdext/source/pdfimport/test/makefile.mk +++ b/sdext/source/pdfimport/test/makefile.mk @@ -70,6 +70,8 @@ SHL1STDLIBS=\ $(CPPUNITLIB) \ $(ZLIB3RDLIB) \ $(CPPULIB) \ +$(UNOTESTLIB) \ +$(TESTLIB) \ $(SALLIB) @@ -135,27 +137,5 @@ APP2STDLIBS=\ # --- Targets -- - .INCLUDE : target.mk - .INCLUDE : _cppunit.mk - -# --- Fake uno bootstrap copy testfile - - $(BIN)$/pdfi_unittest_test.pdf : testinput.pdf - rm -f $@ - $(GNUCOPY) testinput.pdf $@ - - $(BIN)$/pdfi_unittest_test.ini : makefile.mk - rm -f $@ - @echo UNO_SERVICES= $@ - @echo UNO_TYPES=$(UNOUCRRDB:s/\/\\/) $@ - -# --- Enable testshl2 execution in normal build - - $(MISC)$/pdfi_unittest_succeeded : $(SHL1TARGETN) $(BIN)$/pdfi_unittest_test.pdf $(BIN)$/pdfi_unittest_test.ini - rm -f $(BIN)$/pdfi_unittest_draw.xml - rm -f $(BIN)$/pdfi_unittest_writer.xml - @echo -- - @echo - start unit test on library $(SHL1TARGETN) - @echo -- - testshl2 -forward $(BIN)$/ $(SHL1TARGETN) - $(TOUCH) $@ +.INCLUDE : target.mk +.INCLUDE : _cppunit.mk diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx index 145f938..cffb336 100644 --- a/sdext/source/pdfimport/test/tests.cxx +++ b/sdext/source/pdfimport/test/tests.cxx @@ -29,6 +29,9 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include precompiled_sdext.hxx +#include sal/config.h +#include sal/precppunit.hxx + #define BASEGFX_STATICLIBRARY #ifdef SYSTEM_ZLIB @@ -47,12 +50,17 @@ #include rtl/math.hxx #include osl/file.hxx #include osl/process.h -#include testshl/simpleheader.hxx #include cppuhelper/compbase1.hxx #include cppuhelper/bootstrap.hxx #include cppuhelper/basemutex.hxx #include comphelper/sequence.hxx +#include comphelper/processfactory.hxx +#include cppunit/TestAssert.h +#include cppunit/TestFixture.h +#include cppunit/extensions/HelperMacros.h +#include cppunit/plugin/TestPlugIn.h +#include test/bootstrapfixture.hxx #include com/sun/star/rendering/XCanvas.hpp #include com/sun/star/rendering/XColorSpace.hpp @@ -471,58 +479,17 @@ namespace bool m_bDashedLineSeen; }; -class PDFITest : public CppUnit::TestFixture +class PDFITest : public test::BootstrapFixture { -uno::Referenceuno::XComponentContext mxCtx; -rtl::OUString msBaseDir; -bool mbUnoInitialized; - public: -PDFITest() : mxCtx(),msBaseDir(),mbUnoInitialized(false) -{} - -void setUp() -{ -if( !mbUnoInitialized ) -{ -const char* pArgs( getForwardString() ); -CPPUNIT_ASSERT_MESSAGE(Test file parameter, pArgs); - -msBaseDir = rtl::OUString::createFromAscii(pArgs); - -// bootstrap UNO -try -{ -::rtl::OUString aIniUrl; -CPPUNIT_ASSERT_MESSAGE( -Converting ini file to URL, -osl_getFileURLFromSystemPath( - (msBaseDir+rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pdfi_unittest_test.ini))).pData, -aIniUrl.pData ) == osl_File_E_None ); - -mxCtx = ::cppu::defaultBootstrap_InitialComponentContext(aIniUrl); -CPPUNIT_ASSERT_MESSAGE(Getting component context, mxCtx.is()); -} -catch( uno::Exception ) -{ -CPPUNIT_ASSERT_MESSAGE(Bootstrapping UNO, false); -} - -mbUnoInitialized = true; -} -} -void tearDown()
[Libreoffice-commits] .: 3 commits - Makefile.in solenv/gbuild
Makefile.in | 12 ++-- solenv/gbuild/platform/unxgcc.mk |2 +- 2 files changed, 7 insertions(+), 7 deletions(-) New commits: commit f8b7720ca56e16d718593da8fc394dd91362fbf1 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 16:44:45 2011 +0100 dev-install seems to poison the env diff --git a/Makefile.in b/Makefile.in index 78608d7..86acb64 100644 --- a/Makefile.in +++ b/Makefile.in @@ -173,4 +173,4 @@ findunusedcode: unitcheck: build subsequentcheck: dev-install allcheck : dev-install -debugrun : dev-install +#debugrun : dev-install # disabled for now, this dep seems to poison the debugrun !? commit c036777b4930e5c4ab34f035b8de749a7f80e42a Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 16:41:28 2011 +0100 gbuild need no env anymore diff --git a/Makefile.in b/Makefile.in index 82dca9a..78608d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,16 +56,16 @@ dev-install: build fi debugrun: - @. ./Env.Host.sh $$GNUMAKE -f $$SRC_ROOT/GNUmakefile.mk debugrun + @ @GNUMAKE@ -f $(dir $(realpath $(firstword $(MAKEFILE_LIST/GNUmakefile.mk debugrun check : allcheck @true %check: - @. ./Env.Host.sh $$GNUMAKE -f $$SRC_ROOT/GNUmakefile.mk -r \ - $(if @VERBOSE@,,-s) --jobs=$(if \ - $(CHECK_PARALLELISM),$(CHECK_PARALLELISM),@GMAKE_PARALLELISM@) \ - $(patsubst allcheck,check,$@) + @ @GNUMAKE@ -f $(dir $(realpath $(firstword $)MAKEFILE_LIST/GNUmakefile.mk -r \ + $(if @VERBOSE@,,-s) --jobs=$(if \ + $(CHECK_PARALLELISM),$(CHECK_PARALLELISM),@GMAKE_PARALLELISM@) \ + $(patsubst allcheck,check,$@) cross-build-toolset: @. ./Env.Build.sh \ commit faa11fecdbca8cdba62a6cc5610c311fcbe0e607 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Fri Nov 25 16:40:02 2011 +0100 fix default junit soffice path diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index d34d4a1..9d07c9f 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -383,7 +383,7 @@ else ifneq ($(gb_JunitTest_DEBUGRUN),) gb_JunitTest_SOFFICEARG:=connect:pipe,name=$(USER) else -gb_JunitTest_SOFFICEARG:=$(OUTDIR)/installation/opt/program/soffice +gb_JunitTest_SOFFICEARG:=path:$(OUTDIR)/installation/opt/program/soffice endif endif ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 2 commits - connectivity/source solenv/gbuild solenv/inc
connectivity/source/inc/hsqldb/HStorageAccess.hxx |8 solenv/gbuild/platform/ANDROID_ARM_GCC.mk | 11 +++ solenv/inc/unxandr.mk | 10 +- 3 files changed, 24 insertions(+), 5 deletions(-) New commits: commit 1171165b587480d9dde9c378b2998f3c26b83220 Author: Tor Lillqvist tlillqv...@suse.com Date: Fri Nov 25 17:53:51 2011 +0200 Fix Android compilation: 'NULL' was not declared in this scope diff --git a/connectivity/source/inc/hsqldb/HStorageAccess.hxx b/connectivity/source/inc/hsqldb/HStorageAccess.hxx index 079d8c7..dc9151d 100644 --- a/connectivity/source/inc/hsqldb/HStorageAccess.hxx +++ b/connectivity/source/inc/hsqldb/HStorageAccess.hxx @@ -36,10 +36,10 @@ namespace connectivity { namespace hsqldb class DataLogFile; } } -jint read_from_storage_stream( JNIEnv * env, jobject obj_this, jstring name, jstring key, ::connectivity::hsqldb::DataLogFile* logger = NULL ); -jint read_from_storage_stream_into_buffer( JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len, ::connectivity::hsqldb::DataLogFile* logger = NULL ); -void write_to_storage_stream_from_buffer( JNIEnv* env, jobject obj_this, jstring name, jstring key, jbyteArray buffer, jint off, jint len, ::connectivity::hsqldb::DataLogFile* logger = NULL ); -void write_to_storage_stream( JNIEnv* env, jobject obj_this, jstring name, jstring key, jint v, ::connectivity::hsqldb::DataLogFile* logger = NULL ); +jint read_from_storage_stream( JNIEnv * env, jobject obj_this, jstring name, jstring key, ::connectivity::hsqldb::DataLogFile* logger = 0 ); +jint read_from_storage_stream_into_buffer( JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len, ::connectivity::hsqldb::DataLogFile* logger = 0 ); +void write_to_storage_stream_from_buffer( JNIEnv* env, jobject obj_this, jstring name, jstring key, jbyteArray buffer, jint off, jint len, ::connectivity::hsqldb::DataLogFile* logger = 0 ); +void write_to_storage_stream( JNIEnv* env, jobject obj_this, jstring name, jstring key, jint v, ::connectivity::hsqldb::DataLogFile* logger = 0 ); #endif // CONNECTIVITY_HSQLDB_STORAGEACCESS_HXX commit ea19e7243b3a4bd49cbad0cf03a5e9f50b2e3148 Author: Tor Lillqvist tlillqv...@suse.com Date: Fri Nov 25 14:06:28 2011 +0200 No DT_RPATH or DT_RUNPATH support in the Bionic dynamic linker diff --git a/solenv/gbuild/platform/ANDROID_ARM_GCC.mk b/solenv/gbuild/platform/ANDROID_ARM_GCC.mk index cbcd3e6..53e571c 100644 --- a/solenv/gbuild/platform/ANDROID_ARM_GCC.mk +++ b/solenv/gbuild/platform/ANDROID_ARM_GCC.mk @@ -78,4 +78,15 @@ gb_Library_FILENAMES := \ $(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(gb_Library_UNOVERPRE)$(lib)$(gb_Library_PLAINEXT)) \ +# No DT_RPATH or DT_RUNPATH support in the Bionic dynamic linker so +# don't bother generating such. + +define gb_Library_get_rpath +endef + +define gb_Executable_get_rpath +endef + +gb_LinkTarget_LDFLAGS := $(subst -Wl$(COMMA)-rpath-link$(COMMA)$(SYSBASE)/lib:$(SYSBASE)/usr/lib,,$(gb_LinkTarget_LDFLAGS)) + # vim: set noet sw=4: diff --git a/solenv/inc/unxandr.mk b/solenv/inc/unxandr.mk index 49b481a..9d172df 100644 --- a/solenv/inc/unxandr.mk +++ b/solenv/inc/unxandr.mk @@ -52,5 +52,13 @@ STDSHLCUIMT+=-llog -landroid -lgnustl_shared # All shared libraries we build must start with lib because # otherwise the Android package installer will not unpack them from -# the .apk into the app's lib directory +# the .apk into the app's lib directory. ENFORCEDSHLPREFIX=lib + +# No DT_RPATH or DT_RUNPATH support in the Bionic dynamic linker so +# don't bother generating such. + +LINKFLAGSRUNPATH_URELIB= +LINKFLAGSRUNPATH_UREBIN= +LINKFLAGSRUNPATH_OOO= +LINKFLAGSRUNPATH_SDK= ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: scp2/source
scp2/source/ooo/module_ooo.scp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 1221e6a9e44f080b8e5fc5d3fdf3a708b6e382ab Author: Petr Mladek pmla...@suse.cz Date: Fri Nov 25 17:55:04 2011 +0100 correctly install Latvian dictionary the typo caused that the Latvian dictionary was included into core01 package and broke langpacks diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp index 196c1c2..8afa37d 100644 --- a/scp2/source/ooo/module_ooo.scp +++ b/scp2/source/ooo/module_ooo.scp @@ -300,7 +300,7 @@ End Module gid_Module_Root_Extension_Dictionary_Lv MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_LV ); -Files = (gid_File_Extension_Dictionary_Lt); +Files = (gid_File_Extension_Dictionary_Lv); InstallOrder = 2000; Sortkey = 635; Spellcheckerlanguage = lv; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] Changes to 'feature/nlpflatten'
New branch 'feature/nlpflatten' available with the following commits: commit f2f3ac84d49bdaf8fe3c1c6036cb477ffd4f16f0 Author: Michael Meeks michael.me...@suse.com Date: Fri Nov 25 14:48:18 2011 + nlpsolver: migrate the build to use native gnumake build Remove dmake, build.pl and ant build cruft. Update extension description, cleanup file locations etc. commit e4b8dd5bd72f285d50088085628997a0d93a3de6 Author: Michael Meeks michael.me...@suse.com Date: Fri Nov 25 12:44:22 2011 + move translation files into the correct place commit 6e5b10b17fbcbb4db76bcb1db5177fb3ab0cf46e Author: Michael Meeks michael.me...@suse.com Date: Fri Nov 25 12:41:39 2011 + Flatten un-maintained ex. Sun/Oracle nlpsolver extension into the repo This should make it easier to hack, and also to separate out the tangled in third party EvolutionarySolver as/when we can. ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 2 commits - i18npool/source
i18npool/source/localedata/data/pt_PT.xml | 49 +- 1 file changed, 28 insertions(+), 21 deletions(-) New commits: commit 0e0b3dfc9a13794b2f0137676ccfe0fe608f2864 Author: Eike Rathke er...@redhat.com Date: Fri Nov 25 17:27:19 2011 +0100 added [pt-PT] legacyOnly currency to cope with change from Esc. to $ diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index 1fbacd9..2d0f18d 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -34,7 +34,7 @@ TimePMPM/TimePM MeasurementSystemMetric/MeasurementSystem /LC_CTYPE -LC_FORMAT replaceFrom=[CURRENCY] replaceTo=[$Esc.-816] +LC_FORMAT replaceFrom=[CURRENCY] replaceTo=[$$-816] FormatElement msgid=DateFormatskey1 default=true type=short usage=DATE formatindex=18 FormatCodeDD-MM-/FormatCode DefaultName/DefaultName @@ -337,6 +337,13 @@ /Calendar /LC_CALENDAR LC_CURRENCY +Currency default=false usedInCompatibleFormatCodes=false legacyOnly=true +CurrencyIDPTE/CurrencyID +CurrencySymbolEsc./CurrencySymbol +BankSymbolPTE/BankSymbol +CurrencyNameEscudo/CurrencyName +DecimalPlaces2/DecimalPlaces +/Currency Currency default=false usedInCompatibleFormatCodes=true CurrencyIDPTE/CurrencyID CurrencySymbol$/CurrencySymbol commit 06b6e220b5e9250c688daaea4a7eb2ae64f1863c Author: Sérgio Marques smarque...@gmail.com Date: Fri Nov 25 17:23:25 2011 +0100 updated Portuguese [pt-PT] locale data diff --git a/i18npool/source/localedata/data/pt_PT.xml b/i18npool/source/localedata/data/pt_PT.xml index df6ce1d..1fbacd9 100644 --- a/i18npool/source/localedata/data/pt_PT.xml +++ b/i18npool/source/localedata/data/pt_PT.xml @@ -156,7 +156,7 @@ DefaultName/DefaultName /FormatElement FormatElement msgid=FixedFormatskey1 default=true type=medium usage=FIXED_NUMBER formatindex=0 -FormatCodeEstandar/FormatCode +FormatCodeGeral/FormatCode DefaultName/DefaultName /FormatElement FormatElement msgid=FixedFormatskey2 default=true type=short usage=FIXED_NUMBER formatindex=1 @@ -222,38 +222,38 @@ DaysOfWeek Day DayIDsun/DayID -DefaultAbbrvNameDom/DefaultAbbrvName -DefaultFullNameDomingo/DefaultFullName +DefaultAbbrvNamedom/DefaultAbbrvName +DefaultFullNamedomingo/DefaultFullName /Day Day DayIDmon/DayID -DefaultAbbrvNameSeg/DefaultAbbrvName -DefaultFullNameSegunda-feira/DefaultFullName +DefaultAbbrvNameseg/DefaultAbbrvName +DefaultFullNamesegunda-feira/DefaultFullName /Day Day DayIDtue/DayID -DefaultAbbrvNameTer/DefaultAbbrvName -DefaultFullNameTerça-feira/DefaultFullName +DefaultAbbrvNameter/DefaultAbbrvName +DefaultFullNameterça-feira/DefaultFullName /Day Day DayIDwed/DayID -DefaultAbbrvNameQua/DefaultAbbrvName -DefaultFullNameQuarta-feira/DefaultFullName +DefaultAbbrvNamequa/DefaultAbbrvName +DefaultFullNamequarta-feira/DefaultFullName /Day Day DayIDthu/DayID -DefaultAbbrvNameQui/DefaultAbbrvName -DefaultFullNameQuinta-feira/DefaultFullName +DefaultAbbrvNamequi/DefaultAbbrvName +DefaultFullNamequinta-feira/DefaultFullName /Day Day DayIDfri/DayID -DefaultAbbrvNameSex/DefaultAbbrvName -DefaultFullNameSexta-feira/DefaultFullName +DefaultAbbrvNamesex/DefaultAbbrvName +DefaultFullNamesexta-feira/DefaultFullName /Day Day DayIDsat/DayID -DefaultAbbrvNameSáb/DefaultAbbrvName -DefaultFullNameSábado/DefaultFullName +DefaultAbbrvNamesáb/DefaultAbbrvName +DefaultFullNamesábado/DefaultFullName /Day /DaysOfWeek MonthsOfYear @@ -321,13 +321,13 @@ Eras Era EraIDbc/EraID -DefaultAbbrvNamea.c./DefaultAbbrvName -DefaultFullNamea.c./DefaultFullName +DefaultAbbrvNameaC/DefaultAbbrvName +DefaultFullNameaC/DefaultFullName /Era Era EraIDad/EraID -DefaultAbbrvNamed.c./DefaultAbbrvName -DefaultFullNamed.c./DefaultFullName +DefaultAbbrvNamedC/DefaultAbbrvName +DefaultFullNamedC/DefaultFullName /Era /Eras StartDayOfWeek @@ -339,7 +339,7 @@ LC_CURRENCY Currency default=false usedInCompatibleFormatCodes=true CurrencyIDPTE/CurrencyID -CurrencySymbolEsc./CurrencySymbol +CurrencySymbol$/CurrencySymbol BankSymbolPTE/BankSymbol CurrencyNameEscudo/CurrencyName DecimalPlaces2/DecimalPlaces ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: solenv/gbuild
solenv/gbuild/JunitTest.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 58932ca2426320df5c7d7ec97cf2ad65f6539b22 Author: Stephan Bergmann sberg...@redhat.com Date: Fri Nov 25 19:07:19 2011 +0100 fix stderr piping diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk index ab0d67f..b6ce903 100644 --- a/solenv/gbuild/JunitTest.mk +++ b/solenv/gbuild/JunitTest.mk @@ -52,7 +52,7 @@ $(call gb_JunitTest_get_target,%) : -cp $(CLASSPATH) \ $(DEFS) \ org.junit.runner.JUnitCore \ -$(CLASSES) 21 $@.log || \ +$(CLASSES) $@.log 21 || \ (grep -v -e 'at org.junit.' \ -e 'at com.sun.star.lib.uno.' \ -e 'at java.lang.reflect.' \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: i18npool/source
i18npool/source/localedata/LocaleNode.cxx | 44 +++--- i18npool/source/localedata/LocaleNode.hxx |3 ++ i18npool/source/localedata/data/ga_IE.xml |4 +- i18npool/source/localedata/data/my_MM.xml |7 i18npool/source/localedata/data/wa_BE.xml |2 - 5 files changed, 53 insertions(+), 7 deletions(-) New commits: commit 4e34d8fd5b64a18dd17faf4ed4d603648bab8311 Author: Eike Rathke er...@redhat.com Date: Fri Nov 25 19:37:35 2011 +0100 added check if locale data's usedInCompatibleFormatCodes currency is really used there and fixed the cases discovered by the check ... diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 8d7d1a3..88c26b5 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -337,6 +337,12 @@ void LocaleNode::incErrorStr( const char* pStr, const ::rtl::OUString rVal ) co fprintf( stderr, prepareErrorFormat( pStr, : %s), OSTR( rVal)); } +void LocaleNode::incErrorStrStr( const char* pStr, const ::rtl::OUString rVal1, const ::rtl::OUString rVal2 ) const +{ +++nError; +fprintf( stderr, prepareErrorFormat( pStr, : %s %s), OSTR( rVal1), OSTR( rVal2)); +} + void LCInfoNode::generateCode (const OFileWriter of) const { @@ -590,13 +596,17 @@ void LCCTYPENode::generateCode (const OFileWriter of) const } +static OUString sTheCompatibleCurrency; + sal_Int16 LCFormatNode::mnSection = 0; sal_Int16 LCFormatNode::mnFormats = 0; void LCFormatNode::generateCode (const OFileWriter of) const { OUString str; -if (mnSection = 2) +if (mnSection == 0) +sTheCompatibleCurrency = OUString(); +else if (mnSection = 2) incError(more than 2 LC_FORMAT sections); OUString strFrom( getAttr().getValueByName(replaceFrom)); of.writeParameter(replaceFrom, strFrom, mnSection); @@ -607,6 +617,13 @@ void LCFormatNode::generateCode (const OFileWriter of) const if (str.endsWithIgnoreAsciiCaseAsciiL( -], 6)) incErrorStr(replaceTo=\%s\ needs to be adapted to the real LangID value., str); of.writeParameter(replaceTo, str, mnSection); +// Remember the currency symbol if present. +if (str.indexOfAsciiL( [$, 2) == 0) +{ +sal_Int32 nHyphen = str.indexOf( '-'); +if (nHyphen = 3) +sTheCompatibleCurrency = str.copy( 2, nHyphen - 2); +} ::rtl::OUString useLocale = getAttr().getValueByName(ref); if (useLocale.getLength() 0) { switch (mnSection) @@ -710,14 +727,27 @@ void LCFormatNode::generateCode (const OFileWriter of) const } } break; -// Currency formats should be something like [C]###0;-[C]###0 -// and not parenthesized [C]###0;([C]###0) if not en_US. +case cssi::NumberFormatIndex::CURRENCY_1000DEC2 : +// Remember the currency symbol if present. +{ +sal_Int32 nStart; +if (sTheCompatibleCurrency.isEmpty() +((nStart = n-getValue().indexOfAsciiL( [$, 2)) = 0)) +{ +OUString aCode( n-getValue()); +sal_Int32 nHyphen = aCode.indexOf( '-', nStart); +if (nHyphen = nStart + 3) +sTheCompatibleCurrency = aCode.copy( nStart + 2, nHyphen - nStart - 2); +} +} +// fallthru case cssi::NumberFormatIndex::CURRENCY_1000INT : case cssi::NumberFormatIndex::CURRENCY_1000INT_RED : -case cssi::NumberFormatIndex::CURRENCY_1000DEC2 : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_RED : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_CCC : case cssi::NumberFormatIndex::CURRENCY_1000DEC2_DASHED : +// Currency formats should be something like [C]###0;-[C]###0 +// and not parenthesized [C]###0;([C]###0) if not en_US. if (strcmp( of.getLocale(), en_US) != 0) { OUString aCode( n-getValue()); @@ -1549,6 +1579,12 @@ void LCCurrencyNode :: generateCode (const OFileWriter of) const incError( CurrencyID is not ISO 4217); str = currencyNode - findNode (CurrencySymbol) - getValue(); of.writeParameter(currencySymbol, str, nbOfCurrencies); +// Check if this currency really is the one used in number format +// codes. In case of ref=... mechanisms it may be that TheCurrency +// couldn't had been determined from the current locale (i.e. is +// empty), silently assume the referred locale has things right. +if (bCompatible
[Libreoffice-commits] .: 2 commits - reportdesign/inc reportdesign/source tools/source
reportdesign/inc/RptObject.hxx |4 ++ reportdesign/source/core/sdr/RptObject.cxx | 58 ++--- tools/source/stream/strmunx.cxx|2 - tools/source/stream/strmwnt.cxx|6 +-- 4 files changed, 45 insertions(+), 25 deletions(-) New commits: commit 9eac8b2d2d5b77e1aa537a8e3756ffbbb10d7e0e Author: Caolán McNamara caol...@redhat.com Date: Fri Nov 25 20:16:36 2011 + Resolves: fdo#39950 fix dnd crash from default assignment operators diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 056a06c..4084a47 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -224,6 +224,8 @@ public: virtual OOle2Obj* Clone() const; virtual void initializeOle(); +OOle2Obj operator=(const OOle2Obj rObj); + void initializeChart( const ::com::sun::star::uno::Reference ::com::sun::star::frame::XModel _xModel); }; @@ -275,6 +277,8 @@ public: virtual sal_uInt32 GetObjInventor() const; virtual OUnoObject* Clone() const; +OUnoObject operator=(const OUnoObject rObj); + private: voidimpl_setReportComponent_nothrow(); voidimpl_initializeModel_nothrow(); diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index 09bf340..b50945a 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -941,18 +941,24 @@ uno::Reference uno::XInterface OUnoObject::getUnoShape() { return OObjectBase::getUnoShapeOf( *this ); } -// - + +OUnoObject OUnoObject::operator=(const OUnoObject rObj) +{ +if( this == rObj ) +return *this; +SdrUnoObj::operator=(rObj); + +ReferenceXPropertySet xSource(const_castOUnoObject(rObj).getUnoShape(), uno::UNO_QUERY); +ReferenceXPropertySet xDest(getUnoShape(), uno::UNO_QUERY); +if ( xSource.is() xDest.is() ) +comphelper::copyProperties(xSource.get(), xDest.get()); + +return *this; +} + OUnoObject* OUnoObject::Clone() const { -OUnoObject* pClone = CloneHelper OUnoObject (); -if ( pClone ) -{ -ReferenceXPropertySet xSource(const_castOUnoObject*(this)-getUnoShape(),uno::UNO_QUERY); -ReferenceXPropertySet xDest(pClone-getUnoShape(),uno::UNO_QUERY); -if ( xSource.is() xDest.is() ) -comphelper::copyProperties(xSource.get(),xDest.get()); -} -return pClone; +return CloneHelper OUnoObject (); } // // OOle2Obj @@ -1154,22 +1160,32 @@ uno::Reference chart2::data::XDatabaseDataProvider lcl_getDataProvider(const } return xSource; } -// - -// Clone() soll eine komplette Kopie des Objektes erzeugen. -OOle2Obj* OOle2Obj::Clone() const + +OOle2Obj OOle2Obj::operator=(const OOle2Obj rObj) { -OOle2Obj* pObj = CloneHelper OOle2Obj (); -OReportModel* pRptModel = static_castOReportModel*(GetModel()); -svt::EmbeddedObjectRef::TryRunningState( pObj-GetObjRef() ); - pObj-impl_createDataProvider_nothrow(pRptModel-getReportDefinition().get()); +if( this == rObj ) +return *this; +SdrOle2Obj::operator=(rObj); -uno::Reference chart2::data::XDatabaseDataProvider xSource( lcl_getDataProvider(GetObjRef()) ); -uno::Reference chart2::data::XDatabaseDataProvider xDest( lcl_getDataProvider(pObj-GetObjRef()) ); +OReportModel* pRptModel = static_castOReportModel*(rObj.GetModel()); +svt::EmbeddedObjectRef::TryRunningState( GetObjRef() ); +impl_createDataProvider_nothrow(pRptModel-getReportDefinition().get()); + +uno::Reference chart2::data::XDatabaseDataProvider xSource( lcl_getDataProvider(rObj.GetObjRef()) ); +uno::Reference chart2::data::XDatabaseDataProvider xDest( lcl_getDataProvider(GetObjRef()) ); if ( xSource.is() xDest.is() ) comphelper::copyProperties(xSource.get(),xDest.get()); -pObj-initializeChart(pRptModel-getReportDefinition().get()); -return pObj; +initializeChart(pRptModel-getReportDefinition().get()); + +return *this; +} + +// - +// Clone() soll eine komplette Kopie des Objektes erzeugen. +OOle2Obj* OOle2Obj::Clone() const +{ +return CloneHelper OOle2Obj (); } // - void OOle2Obj::impl_createDataProvider_nothrow(const uno::Reference frame::XModel _xModel) commit cbb2b42f113e29609161d8bdbeb667a2164a4d1a Author: Caolán McNamara caol...@redhat.com Date: Fri Nov 25 16:30:15 2011 + ByteString-rtl::OString diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 2dfe2bb..ad245a7 100644 ---
[Libreoffice-commits] .: automation/source basic/inc basic/source
automation/source/app/testbasi.cxx |2 +- automation/source/app/testbasi.hxx |2 +- basic/inc/basic/mybasic.hxx|2 +- basic/source/app/mybasic.cxx |4 ++-- basic/source/app/textedit.cxx | 28 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) New commits: commit 7e9eda006be9a1af14a8e8a6cb4a20cf2171de13 Author: mikew mi...@whiteley.org Date: Fri Nov 25 10:22:17 2011 -0800 Fixed spelling: Spechial - Special diff --git a/automation/source/app/testbasi.cxx b/automation/source/app/testbasi.cxx index 87ecf3e..c7a28d6 100644 --- a/automation/source/app/testbasi.cxx +++ b/automation/source/app/testbasi.cxx @@ -114,7 +114,7 @@ sal_Bool TTBasic::Compile( SbModule* p ) return MyBasic::Compile( p ); } -const String TTBasic::GetSpechialErrorText() +const String TTBasic::GetSpecialErrorText() { String nErrorText; if ( pTestObject IS_ERROR() GetErrorCode() == GET_ERROR()-nError ) diff --git a/automation/source/app/testbasi.hxx b/automation/source/app/testbasi.hxx index c21f2d5..4f90d07 100644 --- a/automation/source/app/testbasi.hxx +++ b/automation/source/app/testbasi.hxx @@ -55,7 +55,7 @@ public: void LoadIniFile(); SbTextType GetSymbolType( const String Symbol, sal_Bool bWasTTControl ); -virtual const String GetSpechialErrorText(); +virtual const String GetSpecialErrorText(); virtual void ReportRuntimeError( AppBasEd *pEditWin ); virtual void DebugFindNoErrors( sal_Bool bDebugFindNoErrors ); }; diff --git a/basic/inc/basic/mybasic.hxx b/basic/inc/basic/mybasic.hxx index ad7df51..aae5fd7 100644 --- a/basic/inc/basic/mybasic.hxx +++ b/basic/inc/basic/mybasic.hxx @@ -89,7 +89,7 @@ public: // Determines the extended symbol type for syntax highlighting virtual SbTextType GetSymbolType( const String Symbol, sal_Bool bWasTTControl ); -virtual const String GetSpechialErrorText(); +virtual const String GetSpecialErrorText(); virtual void ReportRuntimeError( AppBasEd *pEditWin ); virtual void DebugFindNoErrors( sal_Bool bDebugFindNoErrors ); diff --git a/basic/source/app/mybasic.cxx b/basic/source/app/mybasic.cxx index 61a2c81..b3f6409 100644 --- a/basic/source/app/mybasic.cxx +++ b/basic/source/app/mybasic.cxx @@ -222,7 +222,7 @@ sal_Bool MyBasic::ErrorHdl() void MyBasic::ReportRuntimeError( AppBasEd *pEditWin ) { String nErrorText; -nErrorText = GetSpechialErrorText(); +nErrorText = GetSpecialErrorText(); if ( pEditWin ) // just in case the focus is not right pEditWin-ToTop(); @@ -237,7 +237,7 @@ void MyBasic::DebugFindNoErrors( sal_Bool bDebugFindNoErrors ) (void) bDebugFindNoErrors; /* avoid warning about unused parameter */ } -const String MyBasic::GetSpechialErrorText() +const String MyBasic::GetSpecialErrorText() { return GetErrorText(); } diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx index 2cfed14..23205c5 100644 --- a/basic/source/app/textedit.cxx +++ b/basic/source/app/textedit.cxx @@ -148,44 +148,44 @@ void TextEditImp::Notify( SfxBroadcaster rBC, const SfxHint rHint ) } } -#define TEXTATTR_SPECHIAL 55 -class TextAttribSpechial : public TextAttrib +#define TEXTATTR_SPECIAL 55 +class TextAttribSpecial : public TextAttrib { private: FontWeight maFontWeight; public: -TextAttribSpechial( const FontWeight rFontWeight ); -TextAttribSpechial( const TextAttribSpechial rAttr ); -~TextAttribSpechial() {;} +TextAttribSpecial( const FontWeight rFontWeight ); +TextAttribSpecial( const TextAttribSpecial rAttr ); +~TextAttribSpecial() {;} virtual voidSetFont( Font rFont ) const; virtual TextAttrib* Clone() const; virtual int operator==( const TextAttrib rAttr ) const; }; -TextAttribSpechial::TextAttribSpechial( const FontWeight rFontWeight ) -: TextAttrib( TEXTATTR_SPECHIAL ), maFontWeight( rFontWeight ) +TextAttribSpecial::TextAttribSpecial( const FontWeight rFontWeight ) +: TextAttrib( TEXTATTR_SPECIAL ), maFontWeight( rFontWeight ) {} -TextAttribSpechial::TextAttribSpechial( const TextAttribSpechial rAttr ) +TextAttribSpecial::TextAttribSpecial( const TextAttribSpecial rAttr ) : TextAttrib( rAttr ), maFontWeight( rAttr.maFontWeight ) {} -void TextAttribSpechial::SetFont( Font rFont ) const +void TextAttribSpecial::SetFont( Font rFont ) const { rFont.SetWeight( maFontWeight ); } -TextAttrib* TextAttribSpechial::Clone() const +TextAttrib* TextAttribSpecial::Clone() const { -return new TextAttribSpechial( *this ); +return new TextAttribSpecial( *this ); } -int TextAttribSpechial::operator==( const TextAttrib rAttr ) const +int TextAttribSpecial::operator==( const TextAttrib rAttr ) const { return ( ( TextAttrib::operator==(rAttr ) ) -( maFontWeight == ((const TextAttribSpechial)rAttr).maFontWeight ) ); +( maFontWeight
[Libreoffice-commits] .: 4 commits - jvmfwk/plugins jvmfwk/prj postprocess/prj sal/inc shell/source tail_build/prj
jvmfwk/plugins/sunmajor/pluginlib/makefile.mk |2 +- jvmfwk/prj/d.lst |1 + postprocess/prj/build.lst |2 +- sal/inc/sal/main.h|7 --- shell/source/backends/desktopbe/makefile.mk |2 +- shell/source/backends/localebe/makefile.mk|2 +- shell/source/cmdmail/makefile.mk |5 + shell/source/unix/exec/makefile.mk|5 + shell/source/unix/misc/makefile.mk|5 + shell/source/unix/sysshell/makefile.mk|5 + tail_build/prj/build.lst |2 +- 11 files changed, 26 insertions(+), 12 deletions(-) New commits: commit 591191038e9d3847b258ab467182497e736d2cfb Author: Tor Lillqvist tlillqv...@suse.com Date: Fri Nov 25 23:58:22 2011 +0200 Use ENFORCEDSHLPREFIX for Android diff --git a/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk b/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk index 27dc8da..78f1457 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk +++ b/jvmfwk/plugins/sunmajor/pluginlib/makefile.mk @@ -60,7 +60,7 @@ LIB1OBJFILES= $(SLOFILES) LIB1TARGET=$(SLB)$/$(UNOCOMPONENT1).lib -SHL1TARGET=$(UNOCOMPONENT1) +SHL1TARGET=$(ENFORCEDSHLPREFIX)$(UNOCOMPONENT1) SHL1STDLIBS= \ diff --git a/jvmfwk/prj/d.lst b/jvmfwk/prj/d.lst index 09bc295..e8753d1 100644 --- a/jvmfwk/prj/d.lst +++ b/jvmfwk/prj/d.lst @@ -6,6 +6,7 @@ mkdir: %_DEST%\inc\jvmfwk ..\%__SRC%\bin\jvmfwk*.dll %_DEST%\bin\* ..\%__SRC%\bin\sunjavap*.dll %_DEST%\bin\* ..\%__SRC%\lib\sunjavaplugin*.so %_DEST%\lib\* +..\%__SRC%\lib\libsunjavaplugin*.so %_DEST%\lib\* ..\%__SRC%\lib\sunjavaplugin*.dylib %_DEST%\lib\* ..\%__SRC%\class\JREProperties.class %_DEST%\bin\JREProperties.class ..\%__SRC%\class\JREProperties.class %_DEST%\lib\JREProperties.class commit ce5f65f335096a8e2200a47cee19c36ca1507e41 Author: Tor Lillqvist tlillqv...@suse.com Date: Fri Nov 25 23:55:29 2011 +0200 Build fpicker for DESKTOP only diff --git a/postprocess/prj/build.lst b/postprocess/prj/build.lst index eb6513d..b8eb41e 100644 --- a/postprocess/prj/build.lst +++ b/postprocess/prj/build.lst @@ -1,4 +1,4 @@ -po postprocess :: accessibility BINFILTER:binfilter configmgr CRASHREP:crashrep CT2N:ct2n dtrans embeddedobj embedserv EPM:epm DESKTOP:extensions extras fpicker HELP:helpcontent2 io LIBRSVG:librsvg lingucomponent ODK:odk officecfg psprint_config remotebridges scaddins scp2 DESKTOP:setup_native sysui testtools ucb UnoControls ure wizards MORE_FONTS:more_fonts DICTIONARIES:dictionaries PYUNO:pyuno readlicense_oo DESKTOP:unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder LANGUAGETOOL:languagetool SDEXT:sdext MYSQLC:mysqlc NLPSOLVER:nlpsolver STLPORT:stlport LIBXSLT:libxslt tail_build NULL +po postprocess :: accessibility BINFILTER:binfilter configmgr CRASHREP:crashrep CT2N:ct2n dtrans embeddedobj embedserv EPM:epm DESKTOP:extensions extras DESKTOP:fpicker HELP:helpcontent2 io LIBRSVG:librsvg lingucomponent ODK:odk officecfg psprint_config remotebridges scaddins scp2 DESKTOP:setup_native sysui testtools ucb UnoControls ure wizards MORE_FONTS:more_fonts DICTIONARIES:dictionaries PYUNO:pyuno readlicense_oo DESKTOP:unodevtools JFREEREPORT:jfreereport REPORTBUILDER:reportbuilder LANGUAGETOOL:languagetool SDEXT:sdext MYSQLC:mysqlc NLPSOLVER:nlpsolver STLPORT:stlport LIBXSLT:libxslt tail_build NULL po postprocess usr1- all po_mkout NULL po postprocess\checkxmlnmake - all po_checkxml NULL po postprocess\packconfig nmake - all po_packconfig po_checkxml NULL diff --git a/tail_build/prj/build.lst b/tail_build/prj/build.lst index 2235197..72e90b4 100644 --- a/tail_build/prj/build.lst +++ b/tail_build/prj/build.lst @@ -1,2 +1,2 @@ -tb tail_build : APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost DESKTOP:l10ntools LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf avmedia basegfx basic bridges canvas comphelper configmgr connectivity cppcanvas cppu cppuhelper fpicker javaunohelper jurt jvmaccess offapi officecfg oovbaapi qadevOOo DESKTOP:rdbmaker readlicense_oo rhino ridljar sal sax sfx2 solenv soltools sot stoc svtools svx sysui test toolkit tools ucbhelper udkapi unoil unotools ure vcl xmlhelp xmloff xmlscript xsltml NULL +tb tail_build : APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost DESKTOP:l10ntools LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SAXON:saxon
[Libreoffice-commits] .: scp2/source setup_native/source
scp2/source/ooo/common_brand.scp| 20 + scp2/source/ooo/file_ooo.scp| 36 + scp2/source/ooo/module_ooo.scp | 48 +++- scp2/source/ooo/module_ooo.ulf | 24 ++ setup_native/source/packinfo/packinfo_office.txt| 64 setup_native/source/packinfo/spellchecker_selection.txt |4 + 6 files changed, 194 insertions(+), 2 deletions(-) New commits: commit 2e366cbdedd542e2324684f4b8b2517dbfcd7f59 Author: Andras Timar ati...@suse.com Date: Fri Nov 25 23:24:18 2011 +0100 add Belarusian, Greek, Scottish Gaelic, and Telugu dictionaries diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp index 791eb6d..203f148 100644 --- a/scp2/source/ooo/common_brand.scp +++ b/scp2/source/ooo/common_brand.scp @@ -202,6 +202,11 @@ Directory gid_Brand_Dir_Share_Extensions_Dict_Ar DosName = dict-ar; End +Directory gid_Brand_Dir_Share_Extensions_Dict_Be +ParentID = gid_Brand_Dir_Share_Extensions; +DosName = dict-be; +End + Directory gid_Brand_Dir_Share_Extensions_Dict_Bg ParentID = gid_Brand_Dir_Share_Extensions; DosName = dict-bg; @@ -242,6 +247,11 @@ Directory gid_Brand_Dir_Share_Extensions_Dict_En DosName = dict-en; End +Directory gid_Brand_Dir_Share_Extensions_Dict_El +ParentID = gid_Brand_Dir_Share_Extensions; +DosName = dict-el; +End + Directory gid_Brand_Dir_Share_Extensions_Dict_Es ParentID = gid_Brand_Dir_Share_Extensions; DosName = dict-es; @@ -257,6 +267,11 @@ Directory gid_Brand_Dir_Share_Extensions_Dict_Fr DosName = dict-fr; End +Directory gid_Brand_Dir_Share_Extensions_Dict_Gd +ParentID = gid_Brand_Dir_Share_Extensions; +DosName = dict-gd; +End + Directory gid_Brand_Dir_Share_Extensions_Dict_Gl ParentID = gid_Brand_Dir_Share_Extensions; DosName = dict-gl; @@ -377,6 +392,11 @@ Directory gid_Brand_Dir_Share_Extensions_Dict_Sw DosName = dict-sw; End +Directory gid_Brand_Dir_Share_Extensions_Dict_Te +ParentID = gid_Brand_Dir_Share_Extensions; +DosName = dict-te; +End + Directory gid_Brand_Dir_Share_Extensions_Dict_Th ParentID = gid_Brand_Dir_Share_Extensions; DosName = dict-th; diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp index b53c69d..adce11d 100644 --- a/scp2/source/ooo/file_ooo.scp +++ b/scp2/source/ooo/file_ooo.scp @@ -1304,6 +1304,15 @@ End #endif #ifndef WITHOUT_MYSPELL_DICTS +File gid_File_Extension_Dictionary_Be + Dir = gid_Brand_Dir_Share_Extensions_Dict_Be; + Name = dict-be.oxt; + Styles = (PACKED, FORCELANGUAGEPACK, ARCHIVE); + UnixRights = 444; +End +#endif + +#ifndef WITHOUT_MYSPELL_DICTS File gid_File_Extension_Dictionary_Bg Dir = gid_Brand_Dir_Share_Extensions_Dict_Bg; Name = dict-bg.oxt; @@ -1376,6 +1385,15 @@ End #endif #ifndef WITHOUT_MYSPELL_DICTS +File gid_File_Extension_Dictionary_El + Dir = gid_Brand_Dir_Share_Extensions_Dict_El; + Name = dict-el.oxt; + Styles = (PACKED, FORCELANGUAGEPACK, ARCHIVE); + UnixRights = 444; +End +#endif + +#ifndef WITHOUT_MYSPELL_DICTS File gid_File_Extension_Dictionary_Es Dir = gid_Brand_Dir_Share_Extensions_Dict_Es; Name = dict-es.oxt; @@ -1403,6 +1421,15 @@ End #endif #ifndef WITHOUT_MYSPELL_DICTS +File gid_File_Extension_Dictionary_Gd + Dir = gid_Brand_Dir_Share_Extensions_Dict_Gd; + Name = dict-gd.oxt; + Styles = (PACKED, FORCELANGUAGEPACK, ARCHIVE); + UnixRights = 444; +End +#endif + +#ifndef WITHOUT_MYSPELL_DICTS File gid_File_Extension_Dictionary_Gl Dir = gid_Brand_Dir_Share_Extensions_Dict_Gl; Name = dict-gl.oxt; @@ -1619,6 +1646,15 @@ End #endif #ifndef WITHOUT_MYSPELL_DICTS +File gid_File_Extension_Dictionary_Te + Dir = gid_Brand_Dir_Share_Extensions_Dict_Te; + Name = dict-te.oxt; + Styles = (PACKED, FORCELANGUAGEPACK, ARCHIVE); + UnixRights = 444; +End +#endif + +#ifndef WITHOUT_MYSPELL_DICTS File gid_File_Extension_Dictionary_Th Dir = gid_Brand_Dir_Share_Extensions_Dict_Th; Name = dict-th.oxt; diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp index 8afa37d..473a026 100644 --- a/scp2/source/ooo/module_ooo.scp +++ b/scp2/source/ooo/module_ooo.scp @@ -78,11 +78,22 @@ Module gid_Module_Root_Extension_Dictionary_Ar Styles = (); End +Module gid_Module_Root_Extension_Dictionary_Be +MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_BE ); +Files = (gid_File_Extension_Dictionary_Be); +InstallOrder = 2000; +Sortkey = 512; +Spellcheckerlanguage = be; +PackageInfo = packinfo_office.txt; +ParentID = gid_Module_Dictionaries; +Styles = (); +End + Module gid_Module_Root_Extension_Dictionary_Bg MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_BG ); Files = (gid_File_Extension_Dictionary_Bg); InstallOrder =
[Libreoffice-commits] .: 5 commits - cpputools/source jvmaccess/source jvmaccess/util README.cross solenv/gbuild
README.cross |4 ++-- cpputools/source/registercomponent/makefile.mk |5 + cpputools/source/regsingleton/makefile.mk |5 + cpputools/source/unoexe/makefile.mk|4 jvmaccess/source/makefile.mk |5 + jvmaccess/util/makefile.mk |5 + solenv/gbuild/Package.mk |2 +- 7 files changed, 27 insertions(+), 3 deletions(-) New commits: commit 0b4a9bd2b49da8441d873a52ae5ec2c86937c839 Author: Tor Lillqvist t...@iki.fi Date: Sat Nov 26 00:32:31 2011 +0200 Compile as Objective-C++ for iOS thanks to current sal/main.h idea diff --git a/cpputools/source/unoexe/makefile.mk b/cpputools/source/unoexe/makefile.mk index 5869f18..e4317b0 100755 --- a/cpputools/source/unoexe/makefile.mk +++ b/cpputools/source/unoexe/makefile.mk @@ -72,6 +72,10 @@ APP1TARGET=$(TARGET) APP1OBJS=$(DEPOBJFILES) APP1RPATH=UREBIN +.IF $(OS) == IOS +CFLAGSCXX += $(OBJCXXFLAGS) +.ENDIF + # Include all relevant (see ure/source/README) dynamic libraries, so that C++ # UNO components running in the uno executable have a defined environment # (stlport, unxlngi6 libstdc++.so.6, and wntmsci10 uwinapi.dll are already commit 649f45fdcd0bb01e087bfd1ab1056b9b02c7b7af Author: Tor Lillqvist t...@iki.fi Date: Sat Nov 26 00:30:40 2011 +0200 No sense building these for iOS diff --git a/cpputools/source/registercomponent/makefile.mk b/cpputools/source/registercomponent/makefile.mk index 6808e0b..536d864 100644 --- a/cpputools/source/registercomponent/makefile.mk +++ b/cpputools/source/registercomponent/makefile.mk @@ -35,6 +35,11 @@ ENABLE_EXCEPTIONS=TRUE # --- Settings - .INCLUDE : settings.mk +.IF $(OS) == IOS +ALL: +@echo Nothing done for $(OS) +.ENDIF + UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb diff --git a/cpputools/source/regsingleton/makefile.mk b/cpputools/source/regsingleton/makefile.mk index e90b0c8..9d8812c 100644 --- a/cpputools/source/regsingleton/makefile.mk +++ b/cpputools/source/regsingleton/makefile.mk @@ -35,6 +35,11 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk +.IF $(OS) == IOS +ALL: +@echo Nothing done for $(OS) +.ENDIF + UNOUCRDEP=$(SOLARBINDIR)$/udkapi.rdb UNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb commit 177fd47a8c77848c00632398ec233464cb8575e2 Author: Tor Lillqvist t...@iki.fi Date: Sat Nov 26 00:28:49 2011 +0200 Don't bother building anything here for iOS diff --git a/jvmaccess/source/makefile.mk b/jvmaccess/source/makefile.mk index 44e0313..8c19c93 100644 --- a/jvmaccess/source/makefile.mk +++ b/jvmaccess/source/makefile.mk @@ -33,6 +33,11 @@ ENABLE_EXCEPTIONS = TRUE .INCLUDE: settings.mk +.IF $(OS) == IOS +ALL: +@echo Nothing done for $(OS) +.ENDIF + SLOFILES = \ $(SLO)$/classpath.obj \ $(SLO)$/unovirtualmachine.obj \ diff --git a/jvmaccess/util/makefile.mk b/jvmaccess/util/makefile.mk index 1d6106f..9553973 100644 --- a/jvmaccess/util/makefile.mk +++ b/jvmaccess/util/makefile.mk @@ -37,6 +37,11 @@ UNIXVERSIONNAMES = UDK .INCLUDE: settings.mk +.IF $(OS) == IOS +ALL: +@echo Nothing done for $(OS) +.ENDIF + .IF $(UNIXVERSIONNAMES) == SHL1TARGET = $(TARGET)$(UDK_MAJOR)$(COMID) .ELSE # UNIXVERSIONNAMES commit a5cdc4cbc70f479f0c06ec6f36d6a9139484bb34 Author: Tor Lillqvist t...@iki.fi Date: Fri Nov 25 18:04:19 2011 +0200 xargs on MacOSX seems a bit broken, work around that diff --git a/solenv/gbuild/Package.mk b/solenv/gbuild/Package.mk index 7420757..0179dd1 100644 --- a/solenv/gbuild/Package.mk +++ b/solenv/gbuild/Package.mk @@ -45,7 +45,7 @@ endef $(call gb_Package_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),PKG,2) RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,$(FILES)) \ -cat $${RESPONSEFILE} | xargs rm -f \ +cat $${RESPONSEFILE} | xargs $(if $(filter MACOSX,$(OS_FOR_BUILD)),-n 1000) rm -f \ rm -f $${RESPONSEFILE} $(call gb_Package_get_preparation_target,%) : commit fad4076a20242c94f9887984e431118a8e6aec89 Author: Tor Lillqvist t...@iki.fi Date: Fri Nov 25 15:18:19 2011 +0200 Use the 5.0 SDK for the iOS simulator example diff --git a/README.cross b/README.cross index 6918ec6..204b86d 100644 --- a/README.cross +++ b/README.cross @@ -291,8 +291,8 @@ CXX_FOR_BUILD=ccache /Xcode3/usr/bin/g++-4.0 -mmacosx-version-min=10.4 --without-myspell-dicts And here for the iOS simulator: -CXX=ccache /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++ -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -CC=ccache /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk +CXX=ccache /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++
[Libreoffice-commits] .: solenv/gbuild
solenv/gbuild/platform/unxgcc.mk |9 - 1 file changed, 4 insertions(+), 5 deletions(-) New commits: commit 3d37661a095c8d0a2a4376a859fa73c99a45ca56 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Sat Nov 26 01:54:14 2011 +0100 dont attach, start own instance as otherwise it might be blocked via/proc/sys/kernel/yama/ptrace_scope diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index 9d07c9f..c5c0324 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -401,11 +401,10 @@ endef define gb_Module_DEBUGRUNCOMMAND OFFICESCRIPT=`mktemp` \ -echo . $(OUTDIR)/installation/opt/program/ooenv $${OFFICESCRIPT} \ -echo $(OUTDIR)/installation/opt/program/soffice.bin --norestore --nologo \--accept=pipe,name=$(USER);urp;\ -env:UserInstallation=file://$(OUTDIR)/installation/ $${OFFICESCRIPT} \ -echo OFFICEPID=\$$! $${OFFICESCRIPT} \ -echo echo \office started as \$${OFFICEPID}\ $${OFFICESCRIPT} \ -echo gdb -ex \at \$${OFFICEPID}\ -ex \c\ $${OFFICESCRIPT} \ +printf . $(OUTDIR)/installation/opt/program/ooenv\\n $${OFFICESCRIPT} \ +printf gdb $(OUTDIR)/installation/opt/program/soffice.bin $${OFFICESCRIPT} \ +printf -ex \set args --norestore --nologo \\\--accept=pipe,name=$(USER);urp;\\\ -env:UserInstallation=file://$(OUTDIR)/installation/\ $${OFFICESCRIPT} \ +printf -ex \r\\\n $${OFFICESCRIPT} \ $(SHELL) $${OFFICESCRIPT} \ rm $${OFFICESCRIPT} endef ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sw/source
sw/source/ui/inc/tmplctrl.hxx |1 - sw/source/ui/uno/swdetect.hxx |1 - sw/source/ui/uno/unodoc.cxx|1 - sw/source/ui/vba/vbasystem.cxx |3 +-- 4 files changed, 1 insertion(+), 5 deletions(-) New commits: commit 7d20dff1031b3c5325c09c541183131bdc15db57 Author: August Sodora aug...@gmail.com Date: Thu Nov 24 02:40:12 2011 -0500 Remove unnecessary tools/string includes diff --git a/sw/source/ui/inc/tmplctrl.hxx b/sw/source/ui/inc/tmplctrl.hxx index f0579d0..cc48a14 100644 --- a/sw/source/ui/inc/tmplctrl.hxx +++ b/sw/source/ui/inc/tmplctrl.hxx @@ -30,7 +30,6 @@ // include --- #include sfx2/stbitem.hxx -#include tools/string.hxx // class BookmarkToolBoxControl --- class SwTemplateControl : public SfxStatusBarControl diff --git a/sw/source/ui/uno/swdetect.hxx b/sw/source/ui/uno/swdetect.hxx index 124a443..1c72939 100644 --- a/sw/source/ui/uno/swdetect.hxx +++ b/sw/source/ui/uno/swdetect.hxx @@ -39,7 +39,6 @@ #include com/sun/star/lang/XSingleServiceFactory.hpp #include cppuhelper/factory.hxx #include tools/link.hxx -#include tools/string.hxx class SfxMedium; diff --git a/sw/source/ui/uno/unodoc.cxx b/sw/source/ui/uno/unodoc.cxx index e85dfea..1b2d1fa 100644 --- a/sw/source/ui/uno/unodoc.cxx +++ b/sw/source/ui/uno/unodoc.cxx @@ -30,7 +30,6 @@ #include precompiled_sw.hxx // System - Includes - -#include tools/string.hxx #include sfx2/docfac.hxx #include sfx2/sfxmodelfactory.hxx #include swdll.hxx diff --git a/sw/source/ui/vba/vbasystem.cxx b/sw/source/ui/vba/vbasystem.cxx index 4b5b5a6..d8be0e2 100644 --- a/sw/source/ui/vba/vbasystem.cxx +++ b/sw/source/ui/vba/vbasystem.cxx @@ -26,11 +26,10 @@ * / #include vbasystem.hxx -#include vbahelper/vbahelper.hxx + #include ooo/vba/word/WdCursorType.hpp #include tools/diagnose_ex.h #include tools/config.hxx -#include tools/string.hxx #include osl/file.hxx #include tools/urlobj.hxx ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: basic/source
basic/source/comp/symtbl.cxx |2 +- basic/source/inc/symtbl.hxx |4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) New commits: commit 0e8fd29c3139284fda47d6ea25b5661955ef Author: August Sodora aug...@gmail.com Date: Sat Nov 26 00:06:05 2011 -0500 Change boost::ptr_vector to std::vector diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index c81a1f3..1aaeca4 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -75,7 +75,7 @@ short SbiStringPool::Add( const rtl::OUString rVal, sal_Bool bNoCase ) return i+1; } -aData.push_back(new rtl::OUString(rVal)); +aData.push_back(rVal); return (short) ++n; } diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index 33da527..efdc704 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -29,8 +29,6 @@ #ifndef _SYMTBL_HXX #define _SYMTBL_HXX -#include boost/ptr_container/ptr_vector.hpp - class SbiConstDef; class SbiParser; class SbiProcDef; @@ -44,7 +42,7 @@ enum SbiSymScope { SbLOCAL, SbPARAM, SbPUBLIC, SbGLOBAL, SbRTL }; class SbiStringPool { const rtl::OUString aEmpty; -boost::ptr_vectorrtl::OUString aData; +std::vectorrtl::OUString aData; SbiParser* pParser; public: SbiStringPool( SbiParser* ); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: basic/source
basic/source/inc/symtbl.hxx | 54 ++-- 1 file changed, 27 insertions(+), 27 deletions(-) New commits: commit 2de121e58879d511376dd725aa41e2f842f30c43 Author: August Sodora aug...@gmail.com Date: Sat Nov 26 00:16:58 2011 -0500 sal_Bool-bool diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index efdc704..310a238 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -111,16 +111,16 @@ protected: sal_uInt16 nProcId; sal_uInt16 nPos; sal_uInt32 nChain; -sal_Bool bNew : 1;// sal_True: Dim As New... -sal_Bool bChained : 1;// sal_True: symbol is defined in code -sal_Bool bByVal : 1;// sal_True: ByVal-parameter -sal_Bool bOpt : 1;// sal_True: optional parameter -sal_Bool bStatic : 1;// sal_True: STATIC variable -sal_Bool bAs : 1;// sal_True: data type defined per AS XXX -sal_Bool bGlobal : 1;// sal_True: global variable -sal_Bool bParamArray : 1; // sal_True: ParamArray parameter -sal_Bool bWithEvents : 1; // sal_True: Declared WithEvents -sal_Bool bWithBrackets : 1; // sal_True: Followed by () +bool bNew : 1;// true: Dim As New... +bool bChained : 1;// true: symbol is defined in code +bool bByVal : 1;// true: ByVal-parameter +bool bOpt : 1;// true: optional parameter +bool bStatic : 1;// true: STATIC variable +bool bAs : 1;// true: data type defined per AS XXX +bool bGlobal : 1;// true: global variable +bool bParamArray : 1; // true: ParamArray parameter +bool bWithEvents : 1; // true: Declared WithEvents +bool bWithBrackets : 1; // true: Followed by () sal_uInt16 nDefaultId; // Symbol number of default value short nFixedStringLength; // String length in: Dim foo As String*Length public: @@ -143,28 +143,28 @@ public: short GetLen() const { return nLen; } void SetDims( short n ) { nDims = n; } short GetDims() const { return nDims; } -sal_Bool IsDefined() const{ return bChained; } -void SetOptional(){ bOpt = sal_True; } -void SetParamArray() { bParamArray = sal_True; } -void SetWithEvents() { bWithEvents = sal_True; } -void SetWithBrackets(){ bWithBrackets = sal_True; } -void SetByVal( sal_Bool bByVal_ = sal_True ) +bool IsDefined() const{ return bChained; } +void SetOptional(){ bOpt = true; } +void SetParamArray() { bParamArray = true; } +void SetWithEvents() { bWithEvents = true; } +void SetWithBrackets(){ bWithBrackets = true; } +void SetByVal( bool bByVal_ = true ) { bByVal = bByVal_; } -void SetStatic( sal_Bool bAsStatic = sal_True ) { bStatic = bAsStatic; } +void SetStatic( bool bAsStatic = true ) { bStatic = bAsStatic; } void SetNew() { bNew = sal_True; } void SetDefinedAs() { bAs = sal_True; } -void SetGlobal(sal_Bool b){ bGlobal = b; } +void SetGlobal(bool b){ bGlobal = b; } void SetDefaultId( sal_uInt16 n ) { nDefaultId = n; } sal_uInt16 GetDefaultId( void ) { return nDefaultId; } -sal_Bool IsOptional() const{ return bOpt; } -sal_Bool IsParamArray() const{ return bParamArray; } -sal_Bool IsWithEvents() const{ return bWithEvents; } -sal_Bool IsWithBrackets() const{ return bWithBrackets; } -sal_Bool IsByVal() const { return bByVal;} -sal_Bool IsStatic() const { return bStatic; } -sal_Bool IsNew() const{ return bNew; } -sal_Bool IsDefinedAs() const { return bAs;} -sal_Bool IsGlobal() const { return bGlobal; } +bool IsOptional() const{ return bOpt; } +bool IsParamArray() const{ return bParamArray; } +bool IsWithEvents() const{ return bWithEvents; } +bool IsWithBrackets() const{ return bWithBrackets; } +bool IsByVal() const { return bByVal;} +bool IsStatic() const { return bStatic; } +bool IsNew() const{ return bNew; } +bool IsDefinedAs() const { return bAs;} +bool IsGlobal() const { return bGlobal; } short GetFixedStringLength( void ) const { return nFixedStringLength; } void SetFixedStringLength( short n ) { nFixedStringLength = n; } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org