[Libreoffice-commits] core.git: sfx2/source

2013-06-01 Thread Markus Mohrhard
 sfx2/source/sidebar/Deck.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 727e63452dc4de88d5dc62d5b1da6da0647564ba
Author: Markus Mohrhard 
Date:   Sun Jun 2 06:57:28 2013 +0200

fix Werror tinderbox problem

diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx
index 52969b2..82713a7 100644
--- a/sfx2/source/sidebar/Deck.cxx
+++ b/sfx2/source/sidebar/Deck.cxx
@@ -55,8 +55,8 @@ Deck::Deck (
   maIcon(),
   msIconURL(rDeckDescriptor.msIconURL),
   msHighContrastIconURL(rDeckDescriptor.msHighContrastIconURL),
-  maPanels(),
   mnMinimalWidth(0),
+  maPanels(),
   mpTitleBar(new DeckTitleBar(rDeckDescriptor.msTitle, this, 
rCloserAction)),
   mpScrollClipWindow(new Window(this)),
   mpScrollContainer(new ScrollContainerWindow(mpScrollClipWindow.get())),
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sc/source

2013-06-01 Thread Markus Mohrhard
 sc/source/ui/view/output2.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 916afbea4f20a72e7c3defee17676d8ec23841c1
Author: Markus Mohrhard 
Date:   Sun Jun 2 03:40:40 2013 +0200

another merge error

diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index b572cb9..356d981 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1673,7 +1673,7 @@ void ScOutputData::DrawStrings( sal_Bool bPixelToLogic )
 
 bool bBreak = ( aVars.GetLineBreak() || aVars.GetHorJust() 
== SVX_HOR_JUSTIFY_BLOCK );
 // #i111387# #o11817313# disable automatic line breaks 
only for "General" number format
-if (bBreak && bCellIsValue && 
(aVars.GetResultValueFormat(aCell) % SV_COUNTRY_LANGUAGE_OFFSET) == 0)
+if (bBreak && bCellIsValue && 
(aVars.GetResultValueFormat() % SV_COUNTRY_LANGUAGE_OFFSET) == 0)
 bBreak = false;
 
 bool bRepeat = aVars.IsRepeat() && !bBreak;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] fdo#39468 Comment translation GER-ENG in sw/source/ui/uno

2013-06-01 Thread Matthias Freund (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/4129

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/4129/1

fdo#39468 Comment translation GER-ENG in sw/source/ui/uno

Cleanups and translations.

Change-Id: Ia5ef91c120354ed868a69c3dbfc9cebe0fd61bab
---
M sw/source/ui/uno/swdet2.cxx
M sw/source/ui/uno/unoatxt.cxx
M sw/source/ui/uno/unomailmerge.cxx
M sw/source/ui/uno/unomod.cxx
4 files changed, 11 insertions(+), 49 deletions(-)



diff --git a/sw/source/ui/uno/swdet2.cxx b/sw/source/ui/uno/swdet2.cxx
index ebe5aeb..ecd96a3 100644
--- a/sw/source/ui/uno/swdet2.cxx
+++ b/sw/source/ui/uno/swdet2.cxx
@@ -43,8 +43,6 @@
 return SvtModuleOptions().IsWriter();
 }
 
-//-
-
 sal_uLong SwFilterDetect::DetectFilter( SfxMedium& rMedium, const SfxFilter** 
ppFilter )
 {
 sal_uLong nRet = ERRCODE_NONE;
diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx
index d495848..3a180d6 100644
--- a/sw/source/ui/uno/unoatxt.cxx
+++ b/sw/source/ui/uno/unoatxt.cxx
@@ -112,7 +112,7 @@
 
 sal_Bool SwXAutoTextContainer::hasElements(void) throw( uno::RuntimeException )
 {
-//zumindest Standard sollte es immer geben!
+// At least standard should always exists!
 return sal_True;
 }
 
@@ -142,15 +142,13 @@
 
 for ( sal_uInt16 i = 0; i < nCount; i++ )
 {
-// Die Namen werden ohne Pfad-Extension weitergegeben
+// The names will be passed without a path extension.
 String sGroupName(pGlossaries->GetGroupName(i));
 pArr[i] = sGroupName.GetToken(0, GLOS_DELIM);
 }
 return aGroupNames;
 }
-/*---
-findet Gruppennamen mit und ohne Pfadindex
-  ---*/
+// Finds group names with or without path index.
 sal_Bool SwXAutoTextContainer::hasByName(const OUString& Name)
 throw( uno::RuntimeException )
 {
@@ -199,7 +197,7 @@
 
 uno::Reference< text::XAutoTextGroup > xGroup = 
pGlossaries->GetAutoTextGroup( sGroup, true );
 OSL_ENSURE( xGroup.is(), "SwXAutoTextContainer::insertNewByName: no UNO 
object created? How this?" );
-// we just inserted the group into the glossaries, so why doesn't it 
exist?
+// We just inserted the group into the glossaries, so why doesn't it 
exist?
 
 return xGroup;
 }
@@ -208,7 +206,7 @@
 throw( container::NoSuchElementException, uno::RuntimeException )
 {
 SolarMutexGuard aGuard;
-//zunaechst den Namen mit Pfad-Extension finden
+// At first find the name with path extension
 String sGroupName = pGlossaries->GetCompleteGroupName( aGroupName );
 if(!sGroupName.Len())
 throw container::NoSuchElementException();
@@ -403,7 +401,7 @@
 
 SwDoc* pGDoc = pGlosGroup->GetDoc();
 
-// Bis es eine Option dafuer gibt, base util::URL loeschen
+// Until there is an option for that, delete base util::URL
 if(rCfg.IsSaveRelFile())
 {
 INetURLObject aTemp(pGlosGroup->GetFileName());
@@ -1126,8 +1124,5 @@
 delete pBlocks;
 }
 }
-
-
-
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/uno/unomailmerge.cxx 
b/sw/source/ui/uno/unomailmerge.cxx
index 2f3e4ec..fecb485 100644
--- a/sw/source/ui/uno/unomailmerge.cxx
+++ b/sw/source/ui/uno/unomailmerge.cxx
@@ -70,7 +70,6 @@
 
 #include 
 
-
 #define SN_MAIL_MERGE   "com.sun.star.text.MailMerge"
 #define SN_DATA_ACCESS_DESCRIPTOR   "com.sun.star.sdb.DataAccessDescriptor"
 
@@ -82,19 +81,13 @@
 using namespace ::com::sun::star::text;
 using namespace SWUnoHelper;
 
-
-
 typedef ::utl::SharedUNOComponent< XInterface > SharedComponent;
-
-
 
 osl::Mutex &GetMailMergeMutex()
 {
 static osl::Mutex   aMutex;
 return aMutex;
 }
-
-
 
 enum CloseResult
 {
@@ -135,8 +128,6 @@
 }
 return eResult;
 }
-
-
 
 static bool LoadFromURL_impl(
 Reference< frame::XModel > &rxModel,
@@ -192,7 +183,6 @@
 return bRes;
 }
 
-//==
 namespace
 {
 class DelayedFileDeletion : public ::cppu::WeakImplHelper1< 
util::XCloseListener >
@@ -227,7 +217,6 @@
 DelayedFileDeletion& operator=( const DelayedFileDeletion& );   // 
never implemented
 };
 
-//--
 DelayedFileDeletion::DelayedFileDeletion( const Reference< XModel >& 
_rxModel, const String& _rTemporaryFile )
 :
 m_xDocument( _rxModel, UNO_QUERY )
@@ -254,7 +243,6 @@
 osl_atomic_decrement( &m_refCount );
 }
 
-//---

[SOLVED] Re: clang scan-build error boost_date_time

2013-06-01 Thread julien2412
I just added --with-system-boost=no
Sorry for the noise

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/clang-scan-build-error-boost-date-time-tp4059087p4059102.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 60270] LibreOffice 4.1 most annoying bugs

2013-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60270

Jean-Baptiste Faure  changed:

   What|Removed |Added

 Depends on||65050

--- Comment #26 from Jean-Baptiste Faure  ---
I nominate bug 65050 : automatic non-breaking space before specific punctuation
marks in French texts broken. Regression.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: 2 commits - vcl/source

2013-06-01 Thread Takeshi Abe
 vcl/source/filter/jpeg/JpegReader.cxx |   10 -
 vcl/source/filter/jpeg/JpegReader.hxx |4 +--
 vcl/source/filter/jpeg/JpegWriter.cxx |2 -
 vcl/source/filter/jpeg/JpegWriter.hxx |2 -
 vcl/source/filter/sgfbram.cxx |   36 +-
 vcl/source/filter/sgfbram.hxx |4 +--
 vcl/source/filter/sgffilt.hxx |6 ++---
 vcl/source/filter/sgvmain.cxx |   26 
 vcl/source/filter/sgvtext.cxx |2 -
 9 files changed, 45 insertions(+), 47 deletions(-)

New commits:
commit 222ba4f059b64c6a3711e6782280936e5799858f
Author: Takeshi Abe 
Date:   Sat Jun 1 23:06:19 2013 +0900

Drop useless forward declaration

Change-Id: I23154b592ffb624fd9fa5a091472a52e02ffbc4b

diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index e4a5f44..f611371 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -183,8 +183,6 @@ extern SgfFontLst* pSgfFonts;
 
/
 
 
-sal_Bool CheckTextOutl(ObjAreaType& F, ObjLineType& L);
-
 sal_Bool CheckTextOutl(ObjAreaType& F, ObjLineType& L)
 {
 return (F.FIntens!=L.LIntens) ||
commit 1f041a767d6701e7e173010a802578d7941705df
Author: Takeshi Abe 
Date:   Sat Jun 1 23:04:55 2013 +0900

sal_Bool to bool

Change-Id: Ic4407aa95193f6ed1f3f854f3fa9fb50131e7511

diff --git a/vcl/source/filter/jpeg/JpegReader.cxx 
b/vcl/source/filter/jpeg/JpegReader.cxx
index c139471..8b87aa6 100644
--- a/vcl/source/filter/jpeg/JpegReader.cxx
+++ b/vcl/source/filter/jpeg/JpegReader.cxx
@@ -186,7 +186,7 @@ extern "C" void jpeg_svstream_src (j_decompress_ptr cinfo, 
void* input)
 source->pub.next_input_byte = NULL; /* until buffer loaded */
 }
 
-JPEGReader::JPEGReader( SvStream& rStream, void* /*pCallData*/, sal_Bool 
bSetLogSize ) :
+JPEGReader::JPEGReader( SvStream& rStream, void* /*pCallData*/, bool 
bSetLogSize ) :
 mrStream ( rStream ),
 mpAcc( NULL ),
 mpAcc1   ( NULL ),
@@ -222,7 +222,7 @@ void* JPEGReader::CreateBitmap( void* _pParam )
 return NULL;
 
 SizeaSize( pParam->nWidth, pParam->nHeight );
-sal_BoolbGray = pParam->bGray != 0;
+boolbGray = pParam->bGray != 0;
 
 void* pBmpBuf = NULL;
 
@@ -419,7 +419,7 @@ ReadState JPEGReader::Read( Graphic& rGraphic )
 longnEndPosition;
 longnLines;
 ReadState   eReadState;
-sal_BoolbRet = sal_False;
+boolbRet = false;
 sal_uInt8   cDummy;
 
 // TODO: is it possible to get rid of this seek to the end?
@@ -469,11 +469,11 @@ ReadState JPEGReader::Read( Graphic& rGraphic )
 rGraphic = maBmp;
 }
 
-bRet = sal_True;
+bRet = true;
 }
 else if( mrStream.GetError() == ERRCODE_IO_PENDING )
 {
-bRet = sal_True;
+bRet = true;
 }
 
 // Set status ( Pending has priority )
diff --git a/vcl/source/filter/jpeg/JpegReader.hxx 
b/vcl/source/filter/jpeg/JpegReader.hxx
index 792792f..f9c004a 100644
--- a/vcl/source/filter/jpeg/JpegReader.hxx
+++ b/vcl/source/filter/jpeg/JpegReader.hxx
@@ -44,13 +44,13 @@ class JPEGReader : public GraphicReader
 longmnLastPos;
 longmnFormerPos;
 longmnLastLines;
-sal_BoolmbSetLogSize;
+boolmbSetLogSize;
 
 Graphic CreateIntermediateGraphic( const Bitmap& rBitmap, long nLines );
 voidFillBitmap();
 
 public:
-JPEGReader( SvStream& rStream, void* pCallData, sal_Bool 
bSetLogSize );
+JPEGReader( SvStream& rStream, void* pCallData, bool bSetLogSize );
 virtual ~JPEGReader();
 
 ReadState   Read( Graphic& rGraphic );
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx 
b/vcl/source/filter/jpeg/JpegWriter.cxx
index 0b87ad6..102eb4d 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -227,7 +227,7 @@ sal_Bool JPEGWriter::Write( const Graphic& rGraphic )
 if ( !mbGreys )  // bitmap was not explicitly converted into greyscale,
 {// check if source is greyscale only
 
-sal_Bool bIsGrey = sal_True;
+bool bIsGrey = true;
 
 long nWidth = mpReadAccess->Width();
 for ( long nY = 0; bIsGrey && ( nY < mpReadAccess->Height() ); nY++ )
diff --git a/vcl/source/filter/jpeg/JpegWriter.hxx 
b/vcl/source/filter/jpeg/JpegWriter.hxx
index 439f547..4c762a2 100644
--- a/vcl/source/filter/jpeg/JpegWriter.hxx
+++ b/vcl/source/filter/jpeg/JpegWriter.hxx
@@ -32,7 +32,7 @@ class JPEGWriter
 Bitmap  maBitmap;
 BitmapReadAccess*   mpReadAccess;
 sal_uInt8*  mpBuffer;
-sal_BoolmbNative;
+boolmbNative;
 sal_BoolmbGreys;
 sal_Int32   mnQuality;
 sal_Int32   maChromaSubsampling;
diff --git a

License Statement

2013-06-01 Thread Ricardo Botto
I declare that all of my past & future contributions to LibreOffice
may be licensed under
the MPL/LGPLv3+ dual license.

Thanks.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - ucb/source

2013-06-01 Thread Ariel Constenla-Haile
 ucb/source/ucp/ftp/ftpcfunc.cxx  |   14 +++--
 ucb/source/ucp/ftp/ftpcfunc.hxx  |2 
 ucb/source/ucp/ftp/ftpinpstr.cxx |   92 +--
 ucb/source/ucp/ftp/ftpinpstr.hxx |   29 
 ucb/source/ucp/ftp/ftpurl.cxx|   26 ++-
 ucb/source/ucp/ftp/ftpurl.hxx|4 -
 6 files changed, 70 insertions(+), 97 deletions(-)

New commits:
commit c4ef17d5e2844ca8d2459a3bfa1f91d99ac297f2
Author: Ariel Constenla-Haile 
Date:   Sat Jun 1 17:16:49 2013 +

i122273 - Avoid using tmpfile()

diff --git a/ucb/source/ucp/ftp/ftpcfunc.cxx b/ucb/source/ucp/ftp/ftpcfunc.cxx
index 7146308..f6adc8b 100644
--- a/ucb/source/ucp/ftp/ftpcfunc.cxx
+++ b/ucb/source/ucp/ftp/ftpcfunc.cxx
@@ -33,7 +33,7 @@
 
 #include "ftpcontentidentifier.hxx"
 #include "ftpinpstr.hxx"
-#include 
+#include 
 
 using namespace ftp;
 using namespace com::sun::star::uno;
@@ -42,11 +42,15 @@ extern "C" {
 
 int file_write(void *buffer,size_t size,size_t nmemb,void *stream)
 {
-FILE* file =
-reinterpret_cast(stream);
-if(!file)
+oslFileHandle aFile = reinterpret_cast< oslFileHandle >( stream );
+if( !aFile )
 return 0;
-return fwrite(buffer,size,nmemb,file);
+
+sal_uInt64 nWritten = 0;
+sal_uInt64 nToWrite( size * nmemb );
+osl_writeFile( aFile, buffer, nToWrite, &nWritten );
+
+return nWritten != nToWrite ? 0 : nmemb;
 }
 
 }
diff --git a/ucb/source/ucp/ftp/ftpcfunc.hxx b/ucb/source/ucp/ftp/ftpcfunc.hxx
index 8da6a93..2b31710 100644
--- a/ucb/source/ucp/ftp/ftpcfunc.hxx
+++ b/ucb/source/ucp/ftp/ftpcfunc.hxx
@@ -48,7 +48,7 @@ extern "C" {
 
 /** callback for curl_easy_perform(),
  *  forwarding the written content to the stream.
- *  stream has to be of type 'FTPStreamContainer'.
+ *  stream has to be of type oslFileHandle.
  */
 
 
diff --git a/ucb/source/ucp/ftp/ftpinpstr.cxx b/ucb/source/ucp/ftp/ftpinpstr.cxx
index d44bc0b..be88f35 100644
--- a/ucb/source/ucp/ftp/ftpinpstr.cxx
+++ b/ucb/source/ucp/ftp/ftpinpstr.cxx
@@ -37,7 +37,6 @@
 #include 
 #define STD_ALGORITHM
 #endif
-#include 
 
 using namespace ftp;
 using namespace com::sun::star::uno;
@@ -45,53 +44,29 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::io;
 
 
-FTPInputStream::FTPInputStream(FILE* tmpfl)
-: m_tmpfl(tmpfl ? tmpfl : tmpfile())
+FTPInputStream::FTPInputStream( oslFileHandle tmpfl )
+: m_tmpfl(tmpfl)
+, m_nLength( 0 )
 {
-fseek(m_tmpfl,0,SEEK_END);
-//  fpos_t pos;
-//  fgetpos(m_tmpfl,&pos);
-long pos = ftell(m_tmpfl);
-rewind(m_tmpfl);
-m_nLength = sal_Int64(pos);
+if ( !m_tmpfl )
+osl_createTempFile( NULL, &m_tmpfl, NULL );
+OSL_ENSURE( m_tmpfl, "input stream without tempfile!" );
+
+if ( osl_setFilePos( m_tmpfl, osl_Pos_End, 0 ) == osl_File_E_None )
+{
+sal_uInt64 nFileSize = 0;
+if ( osl_getFilePos( m_tmpfl, &nFileSize ) == osl_File_E_None )
+m_nLength = nFileSize;
+osl_setFilePos( m_tmpfl, osl_Pos_Absolut, 0 );
+}
 }
 
-
-
 FTPInputStream::~FTPInputStream()
 {
 if ( 0 != m_tmpfl)
-fclose(m_tmpfl);
-}
-
-
-Any SAL_CALL FTPInputStream::queryInterface(
-const Type& rType
-)
-throw(
-RuntimeException
-)
-{
-Any aRet = ::cppu::queryInterface(rType,
-  SAL_STATIC_CAST( XInputStream*,this ),
-  SAL_STATIC_CAST( XSeekable*,this ) );
-
-return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
+osl_closeFile(m_tmpfl);
 }
 
-
-
-void SAL_CALL FTPInputStream::acquire( void ) throw() {
-OWeakObject::acquire();
-}
-
-
-
-void SAL_CALL FTPInputStream::release( void ) throw() {
-OWeakObject::release();
-}
-
-
 sal_Int32 SAL_CALL FTPInputStream::readBytes(Sequence< sal_Int8 >& aData,
  sal_Int32 nBytesToRead)
 throw(NotConnectedException,
@@ -101,23 +76,22 @@ sal_Int32 SAL_CALL FTPInputStream::readBytes(Sequence< 
sal_Int8 >& aData,
 {
 osl::MutexGuard aGuard(m_aMutex);
 
-if(0 <= nBytesToRead && aData.getLength() < nBytesToRead)
-aData.realloc(nBytesToRead);
+sal_uInt64 nBeforePos( 0 );
+sal_uInt64 nBytesRequested( nBytesToRead );
+sal_uInt64 nBytesRead( 0 );
 
-// fpos_t bpos,epos;
+osl_getFilePos( m_tmpfl, &nBeforePos );
 
-// fgetpos(m_tmpfl,&bpos);
-// fread(aData.getArray(),nBytesToRead,1,m_tmpfl);
-// fgetpos(m_tmpfl,&epos);
-long bpos,epos;
+if ( 0 == ( nBytesRequested = std::min< sal_uInt64 >( m_nLength - 
nBeforePos, nBytesRequested ) ) )
+return 0;
 
-bpos = ftell(m_tmpfl);
-if (fread(aData.getArray(),nBytesToRead,1,m_tmpfl) != 1)
-throw IOException();
+if ( 0 <= nBytesToRead && aData.getLength() < nBytesToRead )
+aData.realloc( nBytesToRead );
 
-epos = ftell(m_tmpfl);
+if ( osl_readFile( m_tm

clang scan-build error boost_date_time

2013-06-01 Thread julien2412
Hello,

I wanted to give a try to Clang code
https://wiki.documentfoundation.org/Development/Clang_Code_Analysis but now
am stuck to the step "Run ./configure.sh" because of this error:
configure: error: Could not link against boost_date_time !

I noticed that when I installed libmdds-dev, it uninstalled Boost 1.49 and
installed Boost 1.53. I don't know if it could be linked.

Googling about this didn't help me.

Any idea?

Julien
 



--
View this message in context: 
http://nabble.documentfoundation.org/clang-scan-build-error-boost-date-time-tp4059087.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: configure.ac

2013-06-01 Thread Rene Engelhard
 configure.ac |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5f8e6fe42405299e2fa1961ccdedf1bfe409eab8
Author: Rene Engelhard 
Date:   Sat Jun 1 19:45:12 2013 +0200

actually add else clause lause for harfbuzz < 0.9.18...

Change-Id: I5d37c0e535fc80ca3ab0337a815bc9e978ffaa76

diff --git a/configure.ac b/configure.ac
index 8f95d0a..54ef307 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8388,6 +8388,8 @@ if test "$_os" != "WINNT" -a "$_os" != "Darwin"; then
 if test "$with_system_harfbuzz" = "yes"; then
if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz; then
libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz-icu >= 
0.9.18])
+   else
+   libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz >= 
0.9.10])
 fi
 else
libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz >= 0.9.10])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: configure.ac

2013-06-01 Thread Rene
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2fde609c2813046cdd22f341bce9af802cadf251
Author: Rene 
Date:   Sat Jun 1 19:24:10 2013 +0200

pkg-config -> $PKG_CONFIG

Change-Id: I55032e7debd8317bc49759d926e58e40ff69ee6b

diff --git a/configure.ac b/configure.ac
index d018068..8f95d0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8386,7 +8386,7 @@ if test "$_os" != "WINNT" -a "$_os" != "Darwin"; then
 AC_MSG_RESULT([yes])
 ENABLE_HARFBUZZ="TRUE"
 if test "$with_system_harfbuzz" = "yes"; then
-   if pkg-config --atleast-version 0.9.18 harfbuzz; then
+   if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz; then
libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz-icu >= 
0.9.18])
 fi
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: configure.ac

2013-06-01 Thread Rene Engelhard
 configure.ac |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 9d8ee40688902c70112d8ea9d716d10897118682
Author: Rene Engelhard 
Date:   Sat Jun 1 19:13:00 2013 +0200

fix build with system-harfbuzz >= 0.9.18

.. as it split out the icu libs and thus we need to use harfbuzz-icu
for pkg-config to get the needed -lharfbuzz-icu

Change-Id: Ia4e1774ecdddec87876adf5bc5a93bed86c25046

diff --git a/configure.ac b/configure.ac
index af3100c..d018068 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8385,7 +8385,13 @@ AC_MSG_CHECKING([whether to enable HarfBuzz support])
 if test "$_os" != "WINNT" -a "$_os" != "Darwin"; then
 AC_MSG_RESULT([yes])
 ENABLE_HARFBUZZ="TRUE"
-libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz >= 0.9.10])
+if test "$with_system_harfbuzz" = "yes"; then
+   if pkg-config --atleast-version 0.9.18 harfbuzz; then
+   libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz-icu >= 
0.9.18])
+fi
+else
+   libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz >= 0.9.10])
+fi
 else
 AC_MSG_RESULT([no])
 fi
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Extending / Chaining Spell Checker

2013-06-01 Thread Guenter Bartsch
(hopefully final) update, for now: using LinguServiceManager I've
implemented a fallback mode which no longer uses hardcoded
hunspell/myspell but instead looks for any other spell checker plugin
in the list of service implementations:

# 
http://www.openoffice.org/api/docs/common/ref/com/sun/star/linguistic2/XSpellChecker.html
# XSpellChecker
def spell(self, aWord, aLocale, aProperties ):

try:
#print ("Speller: spell aWord: %s, aLocale:
%s, aProperties: %s" % (repr(aWord), repr(aLocale),
repr(aProperties)))

if not self.fallback_sc:

# look for another spellchecker in the
list of spell check service implementations
# that we could ask for proposals

ls =
self.service_manager.createInstance("com.sun.star.linguistic2.LinguServiceManager")

print ("Speller: lingu service manager
= %s" % repr(ls))

available = ls.getAvailableServices
('com.sun.star.linguistic2.SpellChecker', aLocale)

print ("Speller: spell services: %s" %
repr(available))

for speller in available:

if speller == self.ImplementationName:
continue

self.fallback_sc =
self.service_manager.createInstance (speller)
if self.fallback_sc:
print ("Speller: found
other spell checker: %s" % speller)
break

#self.fallback_sc =
self.service_manager.createInstance
("org.openoffice.lingu.MySpellSpellChecker")


if self.fallback_sc:
return self.fallback_sc.spell (aWord,
aLocale, aProperties)

except:
print ("Speller: spell EXCEPTION CAUGHT %s" %
repr(sys.exc_info()) )


return None

would still be interested if there is a cleaner way to achieve this.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: sw/source

2013-06-01 Thread Sophie Gautier
 sw/source/ui/app/app.src |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1cf6f36306eb4d11279118c547e87a2c4b2551d4
Author: Sophie Gautier 
Date:   Sat Jun 1 18:01:07 2013 +0300

Fix typo: connections -> connection

Change-Id: Ica73de8975de0c3565e3eaad82e6dbb677bec33d

diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src
index 8dbc309..134da77 100644
--- a/sw/source/ui/app/app.src
+++ b/sw/source/ui/app/app.src
@@ -541,7 +541,7 @@ ModalDialog DLG_MERGE_SOURCE_UNAVAILABLE
 Pos = MAP_APPFONT ( 12 , 6 ) ;
 Size = MAP_APPFONT ( 178 , 40 ) ;
 WordBreak = TRUE;
-Text [ en-US ] = "The data source '%1' was not found. Thus the 
connection to the data source could not be established.\n\nPlease check the 
connections settings.";
+Text [ en-US ] = "The data source '%1' was not found. Thus the 
connection to the data source could not be established.\n\nPlease check the 
connection settings.";
 };
 OKButton PB_MERGE_OK
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


fdo#64897

2013-06-01 Thread Christina Roßmanith

Hi,

commit abb6f47bd3941ec63a41a9b9fa4c7de620b5177d causes the crash when 
saving as ppt (see bug description). I'm having a look at it but I'm not 
sure if I can figure out what is going wrong.


Christina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Master build failure on OSX 10.8 with 10.6 SDK in libwpftdrawlo

2013-06-01 Thread Alex Thurgood

Le 30/05/2013 18:03, Stephan Bergmann a écrit :

Hi Stephan,



So the relevant libs appear to be built just as archives in your case,
too.  But since the -Wl,-fatal_warnings got meanwhile removed again
anyway with

"Seems that -Wl,-fatal_warnings causes more trouble than it's worth,"
lets write this off as no-clue-but-probably-harmless.


Yep, thanks, now builds again for me with that fix. Thanks.

Alex


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Developing without IDE

2013-06-01 Thread Guillermo Molleda Jimena

Thanks you.

$ export 
GLADE_CATALOG_SEARCH_PATH=/home/myuser/Downloads/libreoffice/libreoffice/install/share/glade

$ glade

In glade open last file and it is ok.



El 30/05/13 16:33, Miklos Vajna escribió:

On Thu, May 30, 2013 at 10:37:52AM +0200, Guillermo Molleda 
Jimena  wrote:
   

I have already downloaded the source code, and search with
gnome-search-tool, I found sd / uiconfig / simpress / ui /
definecustomslideshow.ui but the add button and editing in gedit
glade that I have not loaded libreoffice catalogs.
 

At the end of make dev-install, you get:


If you want to edit the .ui files with glade first execute:
export GLADE_CATALOG_SEARCH_PATH=/path/to/master/install/share/glade


Did you do that before starting glade?
   


--
Usa el esperanto para acelerar el aprendizaje de idiomas, ganarás años como 
demuestran los estudios científicos realizados 
(http://es.wikipedia.org/wiki/Valor_proped%C3%A9utico_del_esperanto). Puede 
leer más sobre el idioma en http://personal.us.es/gmolleda/lingvoj.html, 
http://www.2-2.se/es/ y http://esperantofre.com/edu/iloj01h.htm#celo.

El inglés, francés, alemán o chino mandarín son muy ineficientes para su 
aprendizaje como segundo idioma (mejor tercero) y fuente de grandes movimientos 
de divisas de países pobres hacia los más ricos. Igual que aprendes a escribir 
primero trazos y no directamente las letras, es mejor para el cerebro aprender 
primero una lengua regular y planificada.

*
  Guillermo Molleda Jimena

Departamento de Economía Financiera y
  Dirección de Operaciones
   Facultad de Turismo y Finanzas
   Universidad de Sevilla

   Avda. San Francisco Javier s/n
   41018 Sevilla
Tfno: 954 55 16 55 Fax: 954 55 75 70
E-mail: gmoll...@us.es http://personal.us.es/gmolleda
*





smime.p7s
Description: S/MIME Cryptographic Signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Daily Builds - Broken Tinderbox perhaps?

2013-06-01 Thread Christian Lohmaier
Hi Joel, *,

On Sat, Jun 1, 2013 at 1:48 AM, Joel Madero  wrote:
>
> http://dev-builds.libreoffice.org/daily/libreoffice-4-1/Linux-x86_64@31-Release-Configuration-RHEL5-Baseline/2013-05-30_22.35.19/
>
> Couple issues that I can see:
>
> 1. The file names are insane (4.1 and 4.0.4 in name)

This apparently was fixed - see
http://dev-builds.libreoffice.org/daily/libreoffice-4-1/Linux-x86_64@31-Release-Configuration-RHEL5-Baseline/current/

> 2. They appear to be debian packages inside of RHEL folder

That is expected - builds are done using epm and the respective rpm
and debian packaging tools. LO is compiled once and then the resulting
files are put into rpm and deb. No need to compile twice or on
different machines.

Important thing is that it is RHEL-5 baseline builds, i.e. a rather
old distro (old glibc) and thus the builds should work on every
current distro.

> 3. After downloading, the folder structure is also weird

weird is not a valid description :-) - but I remember there was an
additional directory also on Mac, maybe fixed already, maybe not.

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PUSHED] fdo#60924 autoinstall - gbuild/scp2: add math module

2013-06-01 Thread Fridrich Strba (via Code Review)
Hi,

Thank you for your patch!  It has been merged to LibreOffice.

If you are interested in details, please visit

https://gerrit.libreoffice.org/4065

Approvals:
  LibreOffice gerrit bot: Verified
  Fridrich Strba: Verified; Looks good to me, approved


-- 
To view, visit https://gerrit.libreoffice.org/4065
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I466dd68069576d57740ef34b8f6fcd8f9025c5c8
Gerrit-PatchSet: 3
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza 
Gerrit-Reviewer: David Tardon 
Gerrit-Reviewer: Fridrich Strba 
Gerrit-Reviewer: LibreOffice gerrit bot 
Gerrit-Reviewer: Marcos Souza 

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Repository.mk scp2/AutoInstallLibs_math.mk scp2/InstallModule_math.mk scp2/Module_scp2.mk scp2/source solenv/gbuild

2013-06-01 Thread Marcos Paulo de Souza
 Repository.mk|7 +--
 scp2/AutoInstallLibs_math.mk |   12 
 scp2/InstallModule_math.mk   |2 ++
 scp2/Module_scp2.mk  |1 +
 scp2/source/math/file_math.scp   |4 
 scp2/source/math/module_math.scp |5 -
 solenv/gbuild/Helper.mk  |2 +-
 7 files changed, 25 insertions(+), 8 deletions(-)

New commits:
commit 8a58bc2535cf0c8459d861d29b342ef39f7f833c
Author: Marcos Paulo de Souza 
Date:   Mon May 27 19:13:14 2013 -0300

fdo#60924 autoinstall - gbuild/scp2: add math module

Change-Id: I466dd68069576d57740ef34b8f6fcd8f9025c5c8
Reviewed-on: https://gerrit.libreoffice.org/4065
Tested-by: LibreOffice gerrit bot 
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/Repository.mk b/Repository.mk
index 723d7a3..2b4a3de 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -252,6 +252,11 @@ $(eval $(call 
gb_Helper_register_libraries_for_install,OOOLIBS,KDE, \
 $(if $(ENABLE_KDE4),kde4be1) \
 ))
 
+$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,MATH, \
+sm \
+smd \
+))
+
 $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,OOO, \
avmedia \
$(if $(DISABLE_SCRIPTING),,basctl) \
@@ -419,8 +424,6 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
 scfilt \
 scui \
 simplecm \
-sm \
-smd \
 solver \
 spa \
 spell \
diff --git a/scp2/AutoInstallLibs_math.mk b/scp2/AutoInstallLibs_math.mk
new file mode 100644
index 000..a7ceda8
--- /dev/null
+++ b/scp2/AutoInstallLibs_math.mk
@@ -0,0 +1,12 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call 
gb_AutoInstallLibs_AutoInstallLibs,math,MATH,LIBO_LIB_FILE,auto_Math_Lib))
+
+# vim: set noet sw=4 ts=4:
diff --git a/scp2/InstallModule_math.mk b/scp2/InstallModule_math.mk
index 57f5c2d..e25c25e 100644
--- a/scp2/InstallModule_math.mk
+++ b/scp2/InstallModule_math.mk
@@ -9,6 +9,8 @@
 
 $(eval $(call gb_InstallModule_InstallModule,scp2/math))
 
+$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/math,math))
+
 $(eval $(call gb_InstallModule_add_templates,scp2/math,\
 scp2/source/templates/module_langpack_math \
 ))
diff --git a/scp2/Module_scp2.mk b/scp2/Module_scp2.mk
index f34449f..3178920 100644
--- a/scp2/Module_scp2.mk
+++ b/scp2/Module_scp2.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_Module_add_targets,scp2,\
AutoInstallLibs_tde \
AutoInstallLibs_gnome \
AutoInstallLibs_kde \
+   AutoInstallLibs_math \
AutoInstallLibs_ooo \
AutoInstallLibs_ure \
AutoInstallLibs_writer \
diff --git a/scp2/source/math/file_math.scp b/scp2/source/math/file_math.scp
index 0c016ee..d9ccc96 100644
--- a/scp2/source/math/file_math.scp
+++ b/scp2/source/math/file_math.scp
@@ -27,10 +27,6 @@
 
 #include "macros.inc"
 
-STD_LIB_FILE( gid_File_Lib_Sm , sm)
-
-STD_LIB_FILE( gid_File_Lib_Smd , smd)
-
 STD_RES_FILE( gid_File_Res_Sm, sm )
 
 File gid_File_Share_Registry_Math_Xcd
diff --git a/scp2/source/math/module_math.scp b/scp2/source/math/module_math.scp
index f222441..1626623 100644
--- a/scp2/source/math/module_math.scp
+++ b/scp2/source/math/module_math.scp
@@ -27,6 +27,8 @@
 
 #include "macros.inc"
 
+#include "AutoInstallLibs/math"
+
 Module gid_Module_Prg_Math
 MOD_NAME_DESC ( MODULE_PRG_MATH );
 ParentID = gid_Module_Prg;
@@ -42,7 +44,8 @@ Module gid_Module_Prg_Math_Bin
 Minimal = YES;
 Default = YES;
 Styles = (HIDDEN_ROOT);
-Files = 
(gid_File_Lib_Sm,gid_File_Lib_Smd,gid_File_Extra_Urlmore_Math,gid_File_Extra_Urlnew_Math,gid_File_Extra_Urltasks_Math,
+Files = (auto_Math_Lib_ALL
+   
gid_File_Extra_Urlmore_Math,gid_File_Extra_Urlnew_Math,gid_File_Extra_Urltasks_Math,
 gid_File_Share_Registry_Math_Xcd,
 gid_File_Tmp_Userinstall_Math_Inf);
 End
diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk
index 1a1befc..f60ac36 100644
--- a/solenv/gbuild/Helper.mk
+++ b/solenv/gbuild/Helper.mk
@@ -118,7 +118,7 @@ endef
 define gb_Helper_init_registries
 gb_Executable_VALIDGROUPS := UREBIN SDK OOO NONE
 gb_Library_VALIDGROUPS := OOOLIBS PLAINLIBS_NONE PLAINLIBS_URE PLAINLIBS_OOO 
RTVERLIBS UNOLIBS_URE UNOVERLIBS EXTENSIONLIBS
-gb_Library_VALIDINSTALLMODULES := ONLINEUPDATE GRAPHICFILTER GNOME TDE KDE OOO 
URE WRITER
+gb_Library_VALIDINSTALLMODULES := ONLINEUPDATE GRAPHICFILTER GNOME TDE KDE 
MATH OOO URE WRITER
 gb_StaticLibrary_VALIDGROUPS := PLAINLIBS
 gb_Jar_VALIDGROUPS := URE OOO OXT NONE
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits