[Libreoffice-commits] .: basctl/source

2011-12-10 Thread Ivan Timofeev
 basctl/source/basicide/basicrenderable.cxx |4 ++--
 basctl/source/basicide/baside2.cxx |2 +-
 basctl/source/basicide/bastype2.cxx|2 +-
 basctl/source/basicide/localizationmgr.cxx |6 +++---
 basctl/source/basicide/moduldl2.cxx|2 +-
 basctl/source/basicide/scriptdocument.cxx  |6 +++---
 basctl/source/dlged/dlgedobj.cxx   |2 +-
 7 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 1688a9d9235dd2ee4f3b9497308efd41f7a3fb6f
Author: Olivier Hallot olivier.hal...@alta.org.br
Date:   Fri Dec 9 22:23:22 2011 -0200

Fix for fdo43460 Part II getLength to isEmpty

Part II
Module
basctl

diff --git a/basctl/source/basicide/basicrenderable.cxx 
b/basctl/source/basicide/basicrenderable.cxx
index 1da202f..d2de323 100644
--- a/basctl/source/basicide/basicrenderable.cxx
+++ b/basctl/source/basicide/basicrenderable.cxx
@@ -120,7 +120,7 @@ sal_Int32 SAL_CALL BasicRenderable::getRendererCount (
 if( nContent == 1 )
 {
 rtl::OUString aPageRange( getStringValue( PageRange ) );
-if( aPageRange.getLength() )
+if( !aPageRange.isEmpty() )
 {
 StringRangeEnumerator aRangeEnum( aPageRange, 0, nCount-1 
);
 sal_Int32 nSelCount = aRangeEnum.size();
@@ -179,7 +179,7 @@ void SAL_CALL BasicRenderable::render (
 if( nContent == 1 )
 {
 rtl::OUString aPageRange( getStringValue( PageRange ) );
-if( aPageRange.getLength() )
+if( !aPageRange.isEmpty() )
 {
 sal_Int32 nPageCount = mpWindow-countPages( pPrinter );
 StringRangeEnumerator aRangeEnum( aPageRange, 0, 
nPageCount-1 );
diff --git a/basctl/source/basicide/baside2.cxx 
b/basctl/source/basicide/baside2.cxx
index d1a1589..cf245ca 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -341,7 +341,7 @@ sal_Bool ModulWindow::BasicExecute()
 if ( !pMethod )
 {
 // If not in a method then prompt the user
-return ( BasicIDE::ChooseMacro( uno::Reference frame::XModel 
(), sal_False, rtl::OUString() ).getLength()  0 ) ? sal_True : sal_False;
+return ( !BasicIDE::ChooseMacro( uno::Reference frame::XModel 
(), sal_False, rtl::OUString() ).isEmpty() );
 }
 if ( pMethod )
 {
diff --git a/basctl/source/basicide/bastype2.cxx 
b/basctl/source/basicide/bastype2.cxx
index c3ce38a..abacd01 100644
--- a/basctl/source/basicide/bastype2.cxx
+++ b/basctl/source/basicide/bastype2.cxx
@@ -773,7 +773,7 @@ void BasicTreeListBox::GetRootEntryBitmaps( const 
ScriptDocument rDocument, Ima
 }
 }
 
-if ( sFactoryURL.getLength() )
+if ( !sFactoryURL.isEmpty() )
 {
 rImage = SvFileInformationManager::GetFileImage( INetURLObject( 
sFactoryURL ), sal_False );
 }
diff --git a/basctl/source/basicide/localizationmgr.cxx 
b/basctl/source/basicide/localizationmgr.cxx
index cf034d8..59f2316 100644
--- a/basctl/source/basicide/localizationmgr.cxx
+++ b/basctl/source/basicide/localizationmgr.cxx
@@ -185,7 +185,7 @@ void 
LocalizationMgr::implEnableDisableResourceForAllLibraryDialogs( HandleResou
 aPureIdStr += aDot;
 aPureIdStr += aDialogName;
 aPureIdStr += aDot;
-if( aCtrlName.getLength() )
+if( !aCtrlName.isEmpty() )
 {
 aPureIdStr += aCtrlName;
 aPureIdStr += aDot;
@@ -245,7 +245,7 @@ sal_Int32 
LocalizationMgr::implHandleControlResourceProperties
 // Replace string by id, add id+string to StringResource
 if( eMode == SET_IDS )
 {
-bool bEscAlreadyExisting = (aPropStr.getLength()  
aPropStr.getStr()[0] == '' );
+bool bEscAlreadyExisting = (!aPropStr.isEmpty()  
aPropStr.getStr()[0] == '' );
 if( bEscAlreadyExisting )
 continue;
 
@@ -435,7 +435,7 @@ sal_Int32 
LocalizationMgr::implHandleControlResourceProperties
 for ( i = 0; i  nPropStringCount; ++i )
 {
 ::rtl::OUString aPropStr = pPropStrings[i];
-bool bEscAlreadyExisting = (aPropStr.getLength() 
 aPropStr.getStr()[0] == '' );
+bool bEscAlreadyExisting = (!aPropStr.isEmpty()  
aPropStr.getStr()[0] == '' );
 if( bEscAlreadyExisting )
 {
 pIdStrings[i] = aPropStr;
diff --git a/basctl/source/basicide/moduldl2.cxx 
b/basctl/source/basicide/moduldl2.cxx
index ebc662c..c8960a4 100644
--- a/basctl/source/basicide/moduldl2.cxx
+++ b/basctl/source/basicide/moduldl2.cxx
@@ -1332,7 +1332,7 @@ void 

[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source

2011-12-10 Thread Eike Rathke
 sc/source/core/tool/interpr1.cxx |   41 +++
 1 file changed, 41 insertions(+)

New commits:
commit f7e552b202dc1d155f731e3da18737ea6c13e75f
Author: Eike Rathke er...@redhat.com
Date:   Sat Dec 10 20:29:06 2011 +0100

fixed fdo#43700 ROWS(), COLUMNS() and SHEETS() don't work with external 
references

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 862e92b..a76d2b6 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4174,6 +4174,20 @@ void ScInterpreter::ScColumns()
 }
 }
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - aRef.Ref1.nTab 
+ 1) *
+static_castsal_uLong(aRef.Ref2.nCol - aRef.Ref1.nCol + 
1);
+}
+break;
 default:
 PopError();
 SetError(errIllegalParameter);
@@ -4218,6 +4232,20 @@ void ScInterpreter::ScRows()
 }
 }
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - aRef.Ref1.nTab 
+ 1) *
+static_castsal_uLong(aRef.Ref2.nRow - aRef.Ref1.nRow + 
1);
+}
+break;
 default:
 PopError();
 SetError(errIllegalParameter);
@@ -4258,6 +4286,19 @@ void ScInterpreter::ScTables()
 PopError();
 nVal++;
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - 
aRef.Ref1.nTab + 1);
+}
+break;
 default:
 PopError();
 SetError( errIllegalParameter );
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sc/source

2011-12-10 Thread Eike Rathke
 sc/source/core/tool/interpr1.cxx |   41 +++
 1 file changed, 41 insertions(+)

New commits:
commit 53b3df94dbd44b220f6531fe1cf2c83f3b1849d0
Author: Eike Rathke er...@redhat.com
Date:   Sat Dec 10 20:29:06 2011 +0100

fixed fdo#43700 ROWS(), COLUMNS() and SHEETS() don't work with external 
references

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 862e92b..a76d2b6 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4174,6 +4174,20 @@ void ScInterpreter::ScColumns()
 }
 }
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - aRef.Ref1.nTab 
+ 1) *
+static_castsal_uLong(aRef.Ref2.nCol - aRef.Ref1.nCol + 
1);
+}
+break;
 default:
 PopError();
 SetError(errIllegalParameter);
@@ -4218,6 +4232,20 @@ void ScInterpreter::ScRows()
 }
 }
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - aRef.Ref1.nTab 
+ 1) *
+static_castsal_uLong(aRef.Ref2.nRow - aRef.Ref1.nRow + 
1);
+}
+break;
 default:
 PopError();
 SetError(errIllegalParameter);
@@ -4258,6 +4286,19 @@ void ScInterpreter::ScTables()
 PopError();
 nVal++;
 break;
+case svExternalSingleRef:
+PopError();
+nVal++;
+break;
+case svExternalDoubleRef:
+{
+sal_uInt16 nFileId;
+String aTabName;
+ScComplexRefData aRef;
+PopExternalDoubleRef( nFileId, aTabName, aRef);
+nVal += static_castsal_uLong(aRef.Ref2.nTab - 
aRef.Ref1.nTab + 1);
+}
+break;
 default:
 PopError();
 SetError( errIllegalParameter );
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - basctl/source

2011-12-10 Thread August Sodora
 basctl/source/basicide/basobj2.cxx|   12 ++--
 basctl/source/basicide/basobj3.cxx|8 
 basctl/source/basicide/bastypes.cxx   |4 +---
 basctl/source/basicide/scriptdocument.cxx |   20 ++--
 basctl/source/inc/basobj.hxx  |   12 ++--
 basctl/source/inc/bastypes.hxx|2 +-
 6 files changed, 28 insertions(+), 30 deletions(-)

New commits:
commit 90939a7b3d9d6511a4086deea6b7a11adf30df47
Author: August Sodora aug...@gmail.com
Date:   Sat Dec 10 03:01:35 2011 -0500

String-OUString

diff --git a/basctl/source/basicide/bastypes.cxx 
b/basctl/source/basicide/bastypes.cxx
index a68a0d8..c23b22f 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -58,7 +58,7 @@ const char* pRegName = BasicIDETabBar;
 TYPEINIT0( IDEBaseWindow )
 TYPEINIT1( SbxItem, SfxPoolItem );
 
-IDEBaseWindow::IDEBaseWindow( Window* pParent, const ScriptDocument 
rDocument, String aLibName, String aName )
+IDEBaseWindow::IDEBaseWindow( Window* pParent, const ScriptDocument 
rDocument, ::rtl::OUString aLibName, ::rtl::OUString aName )
 :Window( pParent, WinBits( WB_3DLOOK ) )
 ,m_aDocument( rDocument )
 ,m_aLibName( aLibName )
@@ -70,8 +70,6 @@ IDEBaseWindow::IDEBaseWindow( Window* pParent, const 
ScriptDocument rDocument,
 nStatus = 0;
 }
 
-
-
 IDEBaseWindow::~IDEBaseWindow()
 {
 DBG_DTOR( IDEBaseWindow, 0 );
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index e61f311..ac298cf 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -140,7 +140,7 @@ protected:
 
 public:
 TYPEINFO();
-IDEBaseWindow( Window* pParent, const ScriptDocument 
rDocument, String aLibName, String aName );
+IDEBaseWindow( Window* pParent, const ScriptDocument rDocument, 
::rtl::OUString aLibName, ::rtl::OUString aName );
 virtual ~IDEBaseWindow();
 
 voidInit();
commit 313deb9782819f68b69d25629aa79476ff98e90a
Author: August Sodora aug...@gmail.com
Date:   Sat Dec 10 02:59:29 2011 -0500

String-OUString

diff --git a/basctl/source/basicide/scriptdocument.cxx 
b/basctl/source/basicide/scriptdocument.cxx
index 2794520..e75affa 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -986,9 +986,9 @@ namespace basctl
 ::rtl::OUString aSearchURL1( RTL_CONSTASCII_USTRINGPARAM( 
share/basic ) );
 ::rtl::OUString aSearchURL2( RTL_CONSTASCII_USTRINGPARAM( 
share/uno_packages ) );
 ::rtl::OUString aSearchURL3( RTL_CONSTASCII_USTRINGPARAM( 
share/extensions ) );
-if( aCanonicalFileURL.indexOf( aSearchURL1 ) != -1 ||
-aCanonicalFileURL.indexOf( aSearchURL2 ) != -1 ||
-aCanonicalFileURL.indexOf( aSearchURL3 ) != -1 )
+if( aCanonicalFileURL.indexOf( aSearchURL1 ) = 0 ||
+aCanonicalFileURL.indexOf( aSearchURL2 ) = 0 ||
+aCanonicalFileURL.indexOf( aSearchURL3 ) = 0 )
 bIsShared = true;
 }
 }
@@ -1315,7 +1315,7 @@ namespace basctl
 while ( !bValid )
 {
 aObjectName = aBaseName;
-aObjectName += String::CreateFromInt32( i );
+aObjectName += ::rtl::OUString::valueOf( i );
 
 if ( aUsedNamesCheck.find( aObjectName ) == aUsedNamesCheck.end() )
 bValid = sal_True;
@@ -1521,9 +1521,9 @@ namespace basctl
 {
 switch ( _eType )
 {
-case LIBRARY_TYPE_MODULE:   aTitle = String( IDEResId( 
RID_STR_USERMACROS ) ); break;
-case LIBRARY_TYPE_DIALOG:   aTitle = String( IDEResId( 
RID_STR_USERDIALOGS ) ); break;
-case LIBRARY_TYPE_ALL:  aTitle = String( IDEResId( 
RID_STR_USERMACROSDIALOGS ) ); break;
+case LIBRARY_TYPE_MODULE:   aTitle = ResId::toString( 
IDEResId( RID_STR_USERMACROS ) ); break;
+case LIBRARY_TYPE_DIALOG:   aTitle = ResId::toString( 
IDEResId( RID_STR_USERDIALOGS ) ); break;
+case LIBRARY_TYPE_ALL:  aTitle = ResId::toString( 
IDEResId( RID_STR_USERMACROSDIALOGS ) ); break;
 default:
 break;
 }
@@ -1532,9 +1532,9 @@ namespace basctl
 {
 switch ( _eType )
 {
-case LIBRARY_TYPE_MODULE:   aTitle = String( IDEResId( 
RID_STR_SHAREMACROS ) ); break;
-case LIBRARY_TYPE_DIALOG:   aTitle = String( IDEResId( 
RID_STR_SHAREDIALOGS ) ); break;
-case LIBRARY_TYPE_ALL:  aTitle = String( IDEResId( 
RID_STR_SHAREMACROSDIALOGS ) ); break;
+case LIBRARY_TYPE_MODULE:   aTitle = ResId::toString( 
IDEResId( RID_STR_SHAREMACROS ) ); break;
+case LIBRARY_TYPE_DIALOG:   aTitle = 

[Libreoffice-commits] .: 3 commits - basctl/source crashrep/source desktop/util desktop/win32 desktop/WinResTarget_sbase.mk desktop/WinResTarget_scalc.mk desktop/WinResTarget_sdraw.mk desktop/WinResTa

2011-12-10 Thread Andras Timar
 basctl/source/basicide/bastypes.cxx   |2 
 crashrep/source/win32/rcheader.txt|8 
 desktop/WinResTarget_sbase.mk |1 
 desktop/WinResTarget_scalc.mk |1 
 desktop/WinResTarget_sdraw.mk |2 
 desktop/WinResTarget_simpress.mk  |1 
 desktop/WinResTarget_smath.mk |1 
 desktop/WinResTarget_soffice.mk   |1 
 desktop/WinResTarget_sweb.mk  |1 
 desktop/WinResTarget_swriter.mk   |1 
 desktop/util/officeloader.rc  |   11 -
 desktop/win32/source/applauncher/launcher.rc  |7 
 instsetoo_native/util/openoffice.lst  |   10 -
 solenv/bin/modules/installer/windows/msiglobal.pm |   20 --
 solenv/inc/_tg_shl.mk |   10 +
 solenv/inc/minor.mk   |6 
 solenv/inc/shlinfo.rc |   13 -
 solenv/inc/tg_shl.mk  |1 
 solenv/inc/tg_wntx64.mk   |2 
 solenv/inc/verinfo.hrc|  201 --
 solenv/inc/version.hrc|   34 ---
 solenv/inc/version.lst|   34 ---
 solenv/makefile.mk|   13 -
 solenv/prj/d.lst  |1 
 24 files changed, 67 insertions(+), 315 deletions(-)

New commits:
commit 6a43a6c1fe56e5b63e5f330f87feada6479f8119
Author: Andras Timar ati...@suse.com
Date:   Sat Dec 10 22:10:35 2011 +0100

use PACKAGEVERSION as the base of MSI ProductVersion

Formerly PRODUCTVERSION was used but that did not contain
the microversion digit. It is better to have it in MSI
ProductVersion, because a higher build number of a lower
microversion looked newer from the MSI point of view, and
update failed.

MSI ProductVersion is now major.minor.micro.build, e.g.
3.6.1.1206 (build number is taken from minor.mk)

diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm 
b/solenv/bin/modules/installer/windows/msiglobal.pm
index a90698a..43e6ee3 100644
--- a/solenv/bin/modules/installer/windows/msiglobal.pm
+++ b/solenv/bin/modules/installer/windows/msiglobal.pm
@@ -1805,27 +1805,11 @@ sub set_msiproductversion
 {
 my ( $allvariables ) = @_;
 
-my $productversion = $allvariables-{'PRODUCTVERSION'};
-
-if (( $productversion =~ /^\s*\d+\s*$/ )  ( $productversion  255 )) { 
$productversion = $productversion%256; }
+my $productversion = $allvariables-{'PACKAGEVERSION'};
 
 if ( $productversion =~ /^\s*(\d+)\.(\d+)\.(\d+)\s*$/ )
 {
-$productversion = $1 . \. . $2 . $3 . \. . 
$installer::globals::buildid;
-}
-elsif  ( $productversion =~ /^\s*(\d+)\.(\d+)\s*$/ )
-{
-$productversion = $1 . \. . $2 . \. . $installer::globals::buildid;
-}
-else
-{
-my $productminor = 00;
-if (( $allvariables-{'PACKAGEVERSION'} )  ( 
$allvariables-{'PACKAGEVERSION'} ne  ))
-{
-if ( $allvariables-{'PACKAGEVERSION'} =~ 
/^\s*(\d+)\.(\d+)\.(\d+)\s*$/ ) { $productminor = $2; }
-}
-
-$productversion = $productversion . \. . $productminor . \. . 
$installer::globals::buildid;
+$productversion = $1 . \. . $2 . \. . $3 . \. . 
$installer::globals::buildid;
 }
 
 $installer::globals::msiproductversion = $productversion;
commit 3fbedc3e8f65c91999dcee42daa8312e387dcf40
Author: Andras Timar ati...@suse.com
Date:   Sat Dec 10 16:47:02 2011 +0100

enhance VersionInfo resource of Windows excutables

+ added ProductName (a required parameter), It is LibreOffice
+ CompanyName is configurable, it is $(OOO_VENDOR), that is set
  --with-vendor configure switch. If not set, then CompanyName is
  empty string which is fine, too.
+ Binary file version and FileVersion string show the same value,
  and version number is sane: main version + subversion + microversion
  + build number, such as 3.5.0.0
+ LegalCopyright text is the same as in the About box, year range
  can be set in minor.mk
- removed archaic and overcomplicated version number calculating macros
- removed version.lst, copied relevant content to minor.mk
- removed binary RCDATA resources, I don't think they were of any use

diff --git a/crashrep/source/win32/rcheader.txt 
b/crashrep/source/win32/rcheader.txt
index 0bf2cd4..02241d5 100755
--- a/crashrep/source/win32/rcheader.txt
+++ b/crashrep/source/win32/rcheader.txt
@@ -37,8 +37,6 @@
 #define IDC_STATIC (-1)
 #endif
 
-#define VER_FIRSTYEAR  2003
-
 #include version.hrc
 
 #ifdef FONTSIZE
@@ -54,8 +52,8 @@
 // ---
 
 VS_VERSION_INFO versioninfo
-   fileversionVERSION, SUBVERSION, VERVARIANT, VER_COUNT
-   productversion 

[Libreoffice-commits] .: configure.in fontconfig/fontconfig-2.8.0.patch fontconfig/makefile.mk fontconfig/prj freetype/freetype-2.4.8.patch freetype/makefile.mk freetype/prj ooo.lst.in vcl/prj

2011-12-10 Thread Tor Lillqvist
 configure.in  |6 +++
 fontconfig/fontconfig-2.8.0.patch |   49 ++
 fontconfig/makefile.mk|   61 ++
 fontconfig/prj/build.lst  |3 +
 fontconfig/prj/d.lst  |4 ++
 freetype/freetype-2.4.8.patch |   11 ++
 freetype/makefile.mk  |   59 
 freetype/prj/build.lst|3 +
 freetype/prj/d.lst|8 
 ooo.lst.in|3 +
 vcl/prj/build.lst |2 -
 11 files changed, 207 insertions(+), 2 deletions(-)

New commits:
commit 75aacd87bbbddb860efb57f046c84e4f107a8839
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 00:08:39 2011 +0200

Download and build FreeType and fontconfig for Android

It will probably be simplest to just use FreeType on Android,
too. (Android uses it itself, but doesn't provide its API publicly.)

Probably fontconfig, too, although there shouldn't be much
configuration per se that a LibreOffice-baed app would have to do at
run-time; it will have to bundle all fonts it is going to use anyway,
I think, so all font information is known a priori. But maybe in the
future there will be user-installable system fonts on Android, or
something.

diff --git a/configure.in b/configure.in
index 0228af5..71b644f 100644
--- a/configure.in
+++ b/configure.in
@@ -263,6 +263,10 @@ linux-androideabi*)
 AC_MSG_ERROR([You need to set the $var environment variable in a 
cross-compilation for Android. See README.cross for an example.])
 fi
 done
+
+BUILD_TYPE=$BUILD_TYPE FONTCONFIG FREETYPE
+FREETYPE_TARBALL=dbf2caca1d3afd410a29217a9809d397-freetype-2.4.8.tar.bz2
+FONTCONFIG_TARBALL=77e15a92006ddc2adbb06f840d591c0e-fontconfig-2.8.0.tar.gz
 ;;
 
 *)
@@ -282,6 +286,8 @@ AC_SUBST(OSVERSION)
 AC_SUBST(PTHREAD_CFLAGS)
 AC_SUBST(PTHREAD_LIBS)
 
+AC_SUBST(FREETYPE_TARBALL)
+AC_SUBST(FONTCONFIG_TARBALL)
 
 ###
 # Extensions switches --enable/--disable
diff --git a/fontconfig/fontconfig-2.8.0.patch 
b/fontconfig/fontconfig-2.8.0.patch
new file mode 100644
index 000..5b5cdce
--- /dev/null
+++ b/fontconfig/fontconfig-2.8.0.patch
@@ -0,0 +1,49 @@
+--- misc/build/fontconfig-2.8.0/config.sub
 misc/build/fontconfig-2.8.0/config.sub
+@@ -120,7 +120,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
++  nto-qnx* | linux-androideabi* | linux-gnu* | linux-dietlibc | linux-newlib* 
| linux-uclibc* | \
+   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | 
netbsd*-gnu* | \
+   storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+@@ -1272,7 +1272,7 @@
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+-| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
++| -udi* | -androideabi* | -eabi* | -lites* | -ieee* | -go32* | 
-aux* \
+ | -chorusos* | -chorusrdb* \
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+--- misc/build/fontconfig-2.8.0/configure
 misc/build/fontconfig-2.8.0/configure
+@@ -14073,7 +14073,7 @@
+   no)
+   ;;
+   *)
+-  EXPAT_LIBS=-L$expat_lib -lexpat
++  EXPAT_LIBS=-L$expat_lib -lexpat_xmlparse 
-lexpat_xmltok
+   ;;
+   esac
+ 
+--- misc/build/fontconfig-2.8.0/src/fcxml.c
 misc/build/fontconfig-2.8.0/src/fcxml.c
+@@ -1123,6 +1123,7 @@
+  * Have to swap the decimal point to match the current locale
+  * if that locale doesn't use 0x2e
+  */
++#ifndef __ANDROID__
+ if ((dot = strchr (s, 0x2e)) 
+   (locale_data = localeconv ()) 
+   (locale_data-decimal_point[0] != 0x2e ||
+@@ -1158,6 +1158,7 @@
+   }
+ }
+ else
++#endif
+   v = strtod (s, end);
+ return v;
+ }
diff --git a/fontconfig/makefile.mk b/fontconfig/makefile.mk
new file mode 100644
index 000..55c561a
--- /dev/null
+++ b/fontconfig/makefile.mk
@@ -0,0 +1,61 @@
+#*
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 

[Libreoffice-commits] .: 2 commits - freetype/prj vcl/Module_vcl.mk

2011-12-10 Thread Tor Lillqvist
 freetype/prj/d.lst |8 
 vcl/Module_vcl.mk  |6 ++
 2 files changed, 10 insertions(+), 4 deletions(-)

New commits:
commit 76a27791fc715e612242a7a60a449efc82d4c0f8
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 01:16:11 2011 +0200

Build Library_vclplug_svp for Android, too

diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index 0a91f87..47da575 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -79,4 +79,10 @@ $(eval $(call gb_Module_add_targets,vcl,\
 ))
 endif
 
+ifeq ($(GUIBASE),android)
+$(eval $(call gb_Module_add_targets,vcl,\
+Library_vclplug_svp \
+))
+endif
+
 # vim: set noet sw=4 ts=4:
commit 0f43b8d39ba44521ad0f9bc1c3a7eaeb3c9d6f5c
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 01:06:16 2011 +0200

Don't bother with a freetype2 subdirectory for headers after all

diff --git a/freetype/prj/d.lst b/freetype/prj/d.lst
index 17cc4f8..428e6a0 100644
--- a/freetype/prj/d.lst
+++ b/freetype/prj/d.lst
@@ -2,7 +2,7 @@
 
 ..\%__SRC%\misc\build\freetype*\builds\unix\freetype-config %_DEST%\bin
 
-mkdir: %_DEST%\inc\external\freetype2\freetype\config
-..\%__SRC%\misc\build\freetype*\include\ft2build.h 
%_DEST%\inc\external\freetype2
-..\%__SRC%\misc\build\freetype*\include\freetype\*.h 
%_DEST%\inc\external\freetype2\freetype
-..\%__SRC%\misc\build\freetype*\include\freetype\config\*.h 
%_DEST%\inc\external\freetype2\freetype\config
+mkdir: %_DEST%\inc\external\freetype\config
+..\%__SRC%\misc\build\freetype*\include\ft2build.h %_DEST%\inc\external
+..\%__SRC%\misc\build\freetype*\include\freetype\*.h 
%_DEST%\inc\external\freetype
+..\%__SRC%\misc\build\freetype*\include\freetype\config\*.h 
%_DEST%\inc\external\freetype\config
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: basic/source

2011-12-10 Thread August Sodora
 basic/source/inc/object.hxx |   99 
 1 file changed, 99 deletions(-)

New commits:
commit 1274558accebed03b2400b5a6da90ff4e2db55c7
Author: August Sodora aug...@gmail.com
Date:   Sat Dec 10 18:51:59 2011 -0500

Remove unused header

diff --git a/basic/source/inc/object.hxx b/basic/source/inc/object.hxx
deleted file mode 100644
index bf9440c..000
--- a/basic/source/inc/object.hxx
+++ /dev/null
@@ -1,99 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org.  If not, see
- * http://www.openoffice.org/license.html
- * for a copy of the LGPLv3 License.
- *
- /
-
-#ifndef _SAMPLE_OBJECT_HXX
-#define _SAMPLE_OBJECT_HXX
-
-#include basic/sbxfac.hxx
-#include basic/sbxvar.hxx
-#include basic/sbxobj.hxx
-
-// 1) Properties:
-//Name  R/O
-//Value a double-value, R/W
-// 2) Methods:
-//Display   display a text
-//Squareargument * argument
-//Event call of a Basic-program
-// 3) Sub-objects:
-//a collection named elements. The access is implemented as
-//property (for the whole object) and as method (for single
-//elements, is passed through).
-// This implementation is an example for a table controlled
-// version that can contain many elements.
-// The collection is located in COLLECTN.*, the collection's
-// objects in COLLELEM.*
-
-class SampleObject : public SbxObject
-{
-using SbxVariable::GetInfo;
-// Definition of a table entry. This is done here because
-// methods and properties can be declared private that way.
-#if defined ( ICC ) || defined ( C50 )
-public:
-#endif
-typedef void( SampleObject::*pMeth )
-( SbxVariable* pThis, SbxArray* pArgs, sal_Bool bWrite );
-#if defined ( ICC )
-private:
-#endif
-
-struct Methods {
-const char* pName;  // name of an entry
-SbxDataType eType;  // data type
-pMeth pFunc;
-short nArgs;// arguments and flags
-};
-static Methods aMethods[];  // method table
-
-// methods
-void Display( SbxVariable*, SbxArray*, sal_Bool );
-void Event( SbxVariable*, SbxArray*, sal_Bool );
-void Square( SbxVariable*, SbxArray*, sal_Bool );
-void Create( SbxVariable*, SbxArray*, sal_Bool );
-// fill infoblock
-SbxInfo* GetInfo( short nIdx );
-// Broadcaster Notification
-virtual void SFX_NOTIFY( SfxBroadcaster rBC, const TypeId rBCType,
- const SfxHint rHint, const TypeId rHintType );
-public:
-SampleObject( const String );
-
-virtual SbxVariable* Find( const String, SbxClassType );
-};
-
-
-class SampleObjectFac : public SbxFactory
-{
-public:
-virtual SbxObject* CreateObject( const String );
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: writerfilter/source

2011-12-10 Thread Miklos Vajna
 writerfilter/source/dmapper/DomainMapper.cxx |   13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

New commits:
commit dc78a1c44c478dc7abb25ff5cbbb7477348f0dd1
Author: Miklos Vajna vmik...@frugalware.org
Date:   Sun Dec 11 00:54:19 2011 +0100

dmapper: when parsing NS_ooxml::LN_CT_Spacing_lineRule, pTopContext may be 
nil

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index d2fc018..4bbba6d 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1020,8 +1020,14 @@ void DomainMapper::lcl_attribute(Id nName, Value  val)
 #define SINGLE_LINE_SPACING 240
 style::LineSpacing aSpacing;
 PropertyMapPtr pTopContext = m_pImpl-GetTopContext();
-PropertyMap::iterator aLineSpacingIter = 
pTopContext-find(PropertyDefinition( PROP_PARA_LINE_SPACING, true ) );
-if( aLineSpacingIter != pTopContext-end())
+bool bFound = false;
+PropertyMap::iterator aLineSpacingIter;
+if (pTopContext)
+{
+aLineSpacingIter = pTopContext-find(PropertyDefinition( 
PROP_PARA_LINE_SPACING, true ) );
+bFound = aLineSpacingIter != pTopContext-end();
+}
+if (bFound)
 {
 aLineSpacingIter-second = aSpacing;
 }
@@ -1053,7 +1059,8 @@ void DomainMapper::lcl_attribute(Id nName, Value  val)
 else // 
NS_ooxml::LN_Value_wordprocessingml_ST_LineSpacingRule_exact
 aSpacing.Mode = style::LineSpacingMode::FIX;
 }
-pTopContext-Insert(PROP_PARA_LINE_SPACING, true, uno::makeAny( 
aSpacing ));
+if (pTopContext)
+pTopContext-Insert(PROP_PARA_LINE_SPACING, true, 
uno::makeAny( aSpacing ));
 }
 break;
 case NS_ooxml::LN_CT_Ind_start:
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 4 commits - set_soenv.in solenv/bin solenv/inc

2011-12-10 Thread Tor Lillqvist
 set_soenv.in |   11 -
 solenv/bin/deliver.pl|1 
 solenv/bin/make_installer.pl |   11 -
 solenv/bin/modules/installer/control.pm  |  174 ---
 solenv/bin/modules/installer/followme.pm |1 
 solenv/bin/modules/installer/windows/property.pm |3 
 solenv/bin/modules/installer/worker.pm   |   40 -
 solenv/inc/_tg_shl.mk|   90 ---
 solenv/inc/installationtest.mk   |4 
 solenv/inc/settings.mk   |3 
 solenv/inc/target.mk |2 
 solenv/inc/tg_java.mk|2 
 solenv/inc/tg_shl.mk |9 -
 solenv/inc/wntmsc.mk |4 
 14 files changed, 13 insertions(+), 342 deletions(-)

New commits:
commit 803d1ee787c9742eedf14681cbf61a0ae42dcb29
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 03:37:02 2011 +0200

Drop Hamburg RE updatepack stuff that we have no clue about anyway

diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 4142561..2bfdac8 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -134,8 +134,6 @@ installer::parameter::control_required_parameter();
 if (!($installer::globals::languages_defined_in_productlist)) { 
installer::languages::analyze_languagelist(); }
 installer::parameter::outputparameter();
 
-installer::control::check_updatepack();
-
 $installer::globals::build = uc($installer::globals::build);# using 
SRC680 instead of src680
 
 ##
@@ -659,8 +657,7 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 $installer::globals::globalinfo_copied = 1;
 
 my $logminor = ;
-if ( $installer::globals::updatepack ) { $logminor = 
$installer::globals::lastminor; }
-else { $logminor = $installer::globals::minor; }
+$logminor = $installer::globals::minor;
 
 my $loglanguagestring = $$languagestringref;
 my $loglanguagestring_orig = $loglanguagestring;
@@ -690,12 +687,6 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 
 $installer::globals::exitlog = $loggingdir;
 
-##
-# Determining the ship location, if this is an update pack
-##
-
-if ( $installer::globals::updatepack ) { $shipinstalldir = 
installer::control::determine_ship_directory($languagestringref); }
-
 ###
 # Reading an existing msi database, to prepare update and patch
 ###
diff --git a/solenv/bin/modules/installer/control.pm 
b/solenv/bin/modules/installer/control.pm
index 72d76ef..b0824ef 100644
--- a/solenv/bin/modules/installer/control.pm
+++ b/solenv/bin/modules/installer/control.pm
@@ -390,180 +390,6 @@ sub check_logfile
 }
 
 #
-# Determining the ship installation directory
-#
-
-sub determine_ship_directory
-{
-my ($languagesref) = @_;
-
-if (!( $ENV{'SHIPDRIVE'} )) { installer::exiter::exit_program(ERROR: 
SHIPDRIVE must be set for updater!, determine_ship_directory); }
-
-my $shipdrive = $ENV{'SHIPDRIVE'};
-
-my $languagestring = $$languagesref;
-
-if (length($languagestring)  $installer::globals::max_lang_length )
-{
-my $number_of_languages = 
installer::systemactions::get_number_of_langs($languagestring);
-chomp(my $shorter = `echo $languagestring | md5sum | sed -e s/ 
.*//g`);
-my $id = substr($shorter, 0, 8); # taking only the first 8 digits
-$languagestring = lang_ . $number_of_languages . _id_ . $id;
-}
-
-my $productstring = $installer::globals::product;
-my $productsubdir = ;
-
-if ( $productstring =~ /^\s*(.+?)\_\_(.+?)\s*$/ )
-{
-$productstring = $1;
-$productsubdir = $2;
-}
-
-if ( $installer::globals::languagepack ) { $productstring = $productstring 
. _languagepack; }
-if ( $installer::globals::helppack ) { $productstring = $productstring . 
_helppack; }
-if ( $installer::globals::patch ) { $productstring = $productstring . 
_patch; }
-
-my $destdir = $shipdrive . $installer::globals::separator . 
$installer::globals::compiler .
-$installer::globals::productextension . 
$installer::globals::separator .
-$productstring . $installer::globals::separator;
-
-if ( $productsubdir ) { $destdir = $destdir . $productsubdir . 
$installer::globals::separator; }
-
-$destdir = $destdir . $installer::globals::installertypedir . 
$installer::globals::separator .
-

[Libreoffice-commits] .: configure.in

2011-12-10 Thread Tor Lillqvist
 configure.in |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 78ceb50f27a7e148088411e7c2b0bcc67749b2f4
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 03:42:07 2011 +0200

Fix typo

diff --git a/configure.in b/configure.in
index c91c2b1..951ab60 100644
--- a/configure.in
+++ b/configure.in
@@ -1922,11 +1922,11 @@ if test $enable_ccache = yes -o \( $enable_ccache 
=  -a $enable_icecrea
 fi
 fi
 else
-AC_MSG_NOTICE([Automatic ccache detection ingored: CXX is 
pre-defined])
+AC_MSG_NOTICE([Automatic ccache detection ignored: CXX is 
pre-defined])
 CCACHE=
 fi
 else
-AC_MSG_NOTICE([Automatic ccache detection ingored: CC is pre-defined])
+AC_MSG_NOTICE([Automatic ccache detection ignored: CC is pre-defined])
 CCACHE=
 fi
 else
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: solenv/bin

2011-12-10 Thread Tor Lillqvist
 solenv/bin/make_installer.pl |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e07efd070d22cc7c540ffda55043ab7277d46a3e
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sun Dec 11 03:49:42 2011 +0200

Add comment about OxygenOffice's use of XPD

diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 2bfdac8..9dfe9b5 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -476,6 +476,8 @@ installer::logger::print_message( ... analyzing scpactions 
... \n );
 my $scpactionsinproductarrayref = 
installer::setupscript::get_all_items_from_script($setupscriptref, ScpAction);
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . productscpactions1.log, 
$scpactionsinproductarrayref); }
 
+# Note: Don't clean away XPD installer stuff before verified whether
+# OxygenOffice still uses it or not, see insesetoo_native/util/openoffice.lst
 if (( ! $allvariableshashref-{'XPDINSTALLER'} ) || ( ! 
$installer::globals::isxpdplatform ))
 {
 $scpactionsinproductarrayref = 
installer::scriptitems::remove_Xpdonly_Items($scpactionsinproductarrayref);
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: configure.in

2011-12-10 Thread Lionel Elie Mamane
 configure.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 76fac398dd71364302a261a18d8015fd250543cd
Author: Korrawit Pruegsanusak detective.conan.1...@gmail.com
Date:   Sat Dec 3 22:13:29 2011 +0700

--with-theme is without trailing s

Signed-off-by: Lionel Elie Mamane lio...@mamane.lu

diff --git a/configure.in b/configure.in
index 951ab60..26e2fd8 100644
--- a/configure.in
+++ b/configure.in
@@ -8039,7 +8039,7 @@ WITH_THEMES=
 for theme in $with_theme; do
 case $theme in
 default|crystal|hicontrast|oxygen|tango) : ;;
-*) AC_MSG_ERROR([Unknown value for --with-themes: $theme]) ;;
+*) AC_MSG_ERROR([Unknown value for --with-theme: $theme]) ;;
 esac
 WITH_THEMES=$WITH_THEMES $theme
 SCPDEFS=$SCPDEFS -DTHEME_`echo $theme|tr '[[:lower:]]' '[[:upper:]]'`
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice] [PATCH]cosmetic around SDK and python

2011-12-10 Thread Laurent Godard
Hi all

Here is a cosmetic patch around python and sdk
also added a readme on ToolPanel example

Laurent
From 051740c220b4d97897aa8da7ba6f5da325d409ee Mon Sep 17 00:00:00 2001
From: Laurent Godard lgodard.li...@laposte.net
Date: Thu, 8 Dec 2011 17:24:33 +0100
Subject: [PATCH] minor around python and SDK

- add Python as available language desc. in SDK homepage
- add a readme file to toolpanel example
---
 odk/examples/examples.html   |4 ++--
 odk/examples/python/toolpanel/readme |   13 +
 odk/index.html   |6 +++---
 3 files changed, 18 insertions(+), 5 deletions(-)
 create mode 100644 odk/examples/python/toolpanel/readme

diff --git a/odk/examples/examples.html b/odk/examples/examples.html
index 0c9c6b1..9ced1e1 100644
--- a/odk/examples/examples.html
+++ b/odk/examples/examples.html
@@ -38,7 +38,7 @@
 		  tr 
   td colspan=3 
 pThe SDK provides a rich set of examples in different programming 
-			languages (Java, C++, OpenOffice.org %PRODUCT_RELEASE% Basic, OLE) to illustrate the use 
+			languages (Java, Python, C++, OpenOffice.org %PRODUCT_RELEASE% Basic, OLE) to illustrate the use 
 			of the API and demonstrate how to benefit from the included word 
 			processor, spreadsheet, presentation software, graphics program and 
 			database of OpenOffice.org %PRODUCT_RELEASE%.br
@@ -399,7 +399,7 @@
 		  /tr
 		  tr
 		  td class=cell20a href=python/toolpanel/title=link to the source directory of the ToolPanel python axampleToolPanelPoc/a/td
-		  td class=cell80This extension illustrates how to create a ToolPanel in Calc./td
+		  td class=cell80This proof of concept extension illustrates how to create a ToolPanel in Calc./td
 		  /tr		  
 		  tbody
 		  /table
diff --git a/odk/examples/python/toolpanel/readme b/odk/examples/python/toolpanel/readme
new file mode 100644
index 000..1139438
--- /dev/null
+++ b/odk/examples/python/toolpanel/readme
@@ -0,0 +1,13 @@
+
+This extension is a Proof of concept on implementing Toolpanel in Python
+
+- make will create the oxt
+- provided sdk environnement is set 
+- alternatively zip the files and name it toolpanel.oxt
+- install it
+- activate Task Panes in menu (check View  Task Pane menu)
+- enjoy !
+
+The events of the controls (Click me button) in the task pane are handled by basic macro code to illustrate that Toolpanel definition and events codes are indepedant. One could use any language to react on events
+
+Then focus only on .py and xml files for the toolpanel activation analysis
diff --git a/odk/index.html b/odk/index.html
index 2a9c57e..f1baa8a 100644
--- a/odk/index.html
+++ b/odk/index.html
@@ -47,9 +47,9 @@
 			  with new functions./p
 pThe SDK provides the basic building blocks for external developers 
 			  to develop components in any language for which a binding exists. 
-			  Currently, there are language bindings for LibreOffice %PRODUCT_RELEASE% Basic, Java, 
+			  Currently, there are language bindings for LibreOffice %PRODUCT_RELEASE% Basic, Java, Python, 
 			  and different C++ compilers on different platforms, for LibreOffice %PRODUCT_RELEASE%,
-			  thus covering the two most commonly used programming languages. There 
+			  thus covering the most commonly used programming languages. There 
 			  will be no limit for office automation in heterogeneous environments.
 			  Currently supported platforms of the SDK are Linux, Solaris (sparc, 
 			  x86), and Windows./p
@@ -125,7 +125,7 @@
 td class=content4img src=docs/images/arrow-1.gif/td
 td colspan=2a href=examples/examples.html title=link to the examples overview pageExamples/a/td
 td class=content70A collection of examples in different 
-programming languages (Java, C++, Basic, OLE, CLI)./td
+programming languages (Java, Python, C++, Basic, OLE, CLI)./td
   /tr
   tr valign=middle 
 tdimg class=nothing10 src=docs/images/nada.gif/td
-- 
1.7.1

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


[Libreoffice] update [PATCH]cosmetic around SDK and python

2011-12-10 Thread Laurent Godard
Hi again

sorry for the multiple submission
I just realized that the index.html examples age still referenced OOo

here is the updated patch

laurent
From fe27f33008eaf9789a6e113c7685abd6842b38ad Mon Sep 17 00:00:00 2001
From: Laurent Godard lgodard.li...@laposte.net
Date: Thu, 8 Dec 2011 17:24:33 +0100
Subject: [PATCH] minor around python and SDK

- add Python as available language desc. in SDK homepage
- replace OpenOffice.org with LibreOffice in examples index file
- add a readme file to toolpanel example
---
 odk/examples/examples.html   |   42 +-
 odk/examples/python/toolpanel/readme |   13 ++
 odk/index.html   |6 ++--
 3 files changed, 37 insertions(+), 24 deletions(-)
 create mode 100644 odk/examples/python/toolpanel/readme

diff --git a/odk/examples/examples.html b/odk/examples/examples.html
index 0c9c6b1..6e9d21f 100644
--- a/odk/examples/examples.html
+++ b/odk/examples/examples.html
@@ -38,10 +38,10 @@
 		  tr 
   td colspan=3 
 pThe SDK provides a rich set of examples in different programming 
-			languages (Java, C++, OpenOffice.org %PRODUCT_RELEASE% Basic, OLE) to illustrate the use 
+			languages (Java, Python, C++, LibreOffice %PRODUCT_RELEASE% Basic, OLE) to illustrate the use 
 			of the API and demonstrate how to benefit from the included word 
 			processor, spreadsheet, presentation software, graphics program and 
-			database of OpenOffice.org %PRODUCT_RELEASE%.br
+			database of LibreOffice %PRODUCT_RELEASE%.br
 Some fo the examples need a running office instance listening on a 
 			port. If this is necessary you will get further information in the 
 			makefiles./p
@@ -88,9 +88,9 @@
 /tr
 tr valign=top
   td class=content3img src=../docs/images/arrow-1.gif/td
-  tda href=#Basic_examples title=link to the OpenOffice.org %PRODUCT_RELEASE% Basic examples sectionOpenOffice.org %PRODUCT_RELEASE% Basic examples/a/td
+  tda href=#Basic_examples title=link to the LibreOffice %PRODUCT_RELEASE% Basic examples sectionLibreOffice %PRODUCT_RELEASE% Basic examples/a/td
   td class=content75Small set of examples which shows the use of 
-			  the API from OpenOffice.org %PRODUCT_RELEASE% Basic./td
+			  the API from LibeOffice %PRODUCT_RELEASE% Basic./td
 /tr
 tr valign=top
   td class=content3img src=../docs/images/arrow-1.gif/td
@@ -195,7 +195,7 @@
 		  tr
 		  td class=cell20a href=java/Text/ title=link to the source directory of the Java Text examplesWriterSelector/a/td
 		  td class=cell80This class gives you information on the selected 
-		  objects (text range, text frame, or graphics) at an OpenOffice.org 
+		  objects (text range, text frame, or graphics) at a LibreOffice 
 		  Server./td
 		  /tr		  
 		  tbody
@@ -219,7 +219,7 @@
 		  /tr		  
 		  tr
 		  td class=cell20a href=java/Spreadsheet/ title=link to the source directory of the Java Spreadsheet examplesChartTypeChange/a/td
-		  td class=cell80This class loads an OpenOffice.org %PRODUCT_RELEASE% Calc document and 
+		  td class=cell80This class loads a LibreOffice %PRODUCT_RELEASE% Calc document and 
 		  changes the type of the embedded chart./td
 		  /tr		  
 		  tr
@@ -303,7 +303,7 @@
 		  td class=cell20a href=http://wiki.services.openoffice.org/wiki/Object_Inspector; title=link to the Object Inspector project page in the wikiObject Inspector/a/td
 		  td class=cell80The Object Inspector is primarily an auxiliary tool 
 		  for the developer, which can present information about an object of the 
-		  OpenOffice.org %PRODUCT_RELEASE% API at run-time. Depending on the object to be inspected, 
+		  LibreOffice %PRODUCT_RELEASE% API at run-time. Depending on the object to be inspected, 
 		  appropriate methods, interfaces, services, and attributes can be displayed
 		  to the developer. The methods, interfaces, services and attributes are 
 		  represented in a predictable tree. If the attributes contained in an 
@@ -399,7 +399,7 @@
 		  /tr
 		  tr
 		  td class=cell20a href=python/toolpanel/title=link to the source directory of the ToolPanel python axampleToolPanelPoc/a/td
-		  td class=cell80This extension illustrates how to create a ToolPanel in Calc./td
+		  td class=cell80This proof of concept extension illustrates how to create a ToolPanel in Calc./td
 		  /tr		  
 		  tbody
 		  /table
@@ -519,7 +519,7 @@
   td 
   table class=table3
 		  tr 
-			td colspan=2 class=head1a name=Basic_examplesOpenOffice.org %PRODUCT_RELEASE% Basic examples/td
+			td colspan=2 class=head1a name=Basic_examplesLibreOffice %PRODUCT_RELEASE% Basic examples/td
 			td align=right
 		  a href=#examples title=link to the examples overviewimg class=navigate src=../docs/images/nav_up.png/a
 		  a href=../index.html title=link to the SDK start pageimg class=navigate src=../docs/images/nav_home.png/a
@@ -527,8 +527,8 @@
 

[Libreoffice] OT Re: [Libreoffice-qa] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Rainer Bielefeld

Thorsten Behrens schrieb:


Hi Thorsten,

is there a way to remove fdo37195 from 
http://dev-builds.libreoffice.org/daily/
It only has been created for 1 particular test I had to do some times 
ago and never will be used again.


Best regards

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


Re: [Libreoffice] [PATCH] Fix for fdo43460, Part II, getLength to isEmpty

2011-12-10 Thread Ivan Timofeev

Hi Olivier,

10.12.2011 04:29, Olivier Hallot пишет:

Please find attached a partial fix for Easy Hack FDO43460,

Part II
Module basctl


very nice, pushed now:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=1688a9d9235dd2ee4f3b9497308efd41f7a3fb6f
Thanks!

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


Re: [Libreoffice] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Rainer Bielefeld

Petr Mladek schrieb:


could you please do some testing with the last daily builds from the
libreoffice-3-5 branch? See below where to get them.


Hi,

I have been testing for some hours doing my normal daily work without 
bigger bad surprises. So it seems we are on a good way for Beta 1, 
https://bugs.freedesktop.org/buglist.cgi?chfieldto=Nowchfield=[Bug%20creation]query_format=advancedchfieldfrom=-8dversion=LibO%20Masterversion=LibO%203.5.0%20Beta0product=LibreOffice 
does not show any debacle :-)


Blocker fix for Bug 43614 has already been integrated, I believe it 
would be good for our reputation at least to do a serious attempt to fix 
Bug 43422 for Beta 1. Is it realistic to try that until Monday, do a 
final quick test and branch on Tuesday?


All the best

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


Re: [Libreoffice] stubify ...

2011-12-10 Thread Jonathan Aquilina

On 09/12/2011 22:46, Michael Meeks wrote:

So,

I have an horrendous hack that -just-might- solve our CentOS 4 build
problems around dependencies. It is (essentially) the output of
'bin/stubify.pl' (just pushed to master) run on a more modern machine.



Michael,

The question becomes is it worth hacking to get LO to work on centos 4, 
if I am not mistaken its almost at the end of live. If i remember right 
end of january or februrary its slated to be archived from what i saw on 
the update mailing list. Please confirm though i could be totally wrong

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


Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-10 Thread Alexander Thurgood
Le 09/12/11 23:10, Thorsten Behrens a écrit :

Hi Thorsten,




 And with attached patch, also a plain --enable-ext-postgresql-sdbc
 builds - Norbert, want to double-check  commit?
 

So I built yesterday using :

--with-ext-postgresql-sdbc
--with-system-postgresql

and I get a connector OXT that contains the following :

ns1:~ alex$ ls -an /Users/Shared/postgresql-sdbc
total 2184
drwx--   9 501  20  306 10 déc 10:53 .
drwxrwxrwt+ 17 00   578 10 déc 10:53 ..
drwxr-xr-x   3 501  20  102 10 déc 10:53 META-INF
drwxr-xr-x   3 501  20  102 10 déc 10:53 description
-rw-r--r--   1 501  20  791  9 déc 12:31 description.xml
-rwxr-xr-x   1 501  20  1037244  9 déc 15:26 postgresql-sdbc-impl.uno.dylib
-rwxr-xr-x   1 501  2059948  9 déc 12:31 postgresql-sdbc.uno.dylib
-rw-r--r--   1 501  20   29  9 déc 12:31 postgresql-sdbc.unorc
-rw-r--r--   1 501  20 4866  9 déc 12:31 postgresql.xcu

At least we have the postgresql-sdbc-impl.uno.dylib there.

If I install this connector.oxt on another machine with MacOSX and a
running pg instance, when I try to connect I get the following error :

A driver is not registered for the URL
sdbc:posgresql:dbhost=localhost dbname=demo


Which means that my connector can not be put on the Extensions site for
all to use.

Does your patch fix this problem of portability, i.e. from build machine
to user machine ?

I'm sorry for being dim, but I don't understand the implications of
static/dynamic linking at build time, so I'm just trying to suss out the
implications for me as the provider of the db connector extensions.


Alex




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


Re: [Libreoffice] [PUSHED][PATCH] Fix for fdo43460, Part II, getLength to isEmpty

2011-12-10 Thread Ivan Timofeev

...and I forgot to change the subject :)

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


Re: [Libreoffice] OT Re: [Libreoffice-qa] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Thorsten Behrens
Rainer Bielefeld wrote:
 is there a way to remove fdo37195 from
 http://dev-builds.libreoffice.org/daily/
 It only has been created for 1 particular test I had to do some
 times ago and never will be used again.
 
Removed, thanks for noticing.

-- Thorsten


pgpS4mGGHGM8P.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Korrawit Pruegsanusak
Hello Pedro, all,

This maybe a bit off topic, but IMHO we have some general cases, for example:
* the bug is explicitly fixed in next 3.4/3.5 release, but not in
reporter's version
* the bug disappeared in next 3.4/3.5 release, without explicit fix
* the bug that isn't fixed yet since 3.3 release, and is also in 3.4/3.5 release
* the bug has been set version incorrectly
* the bug has insufficient information to triage/reproduce, and/or
inactive reporters threshold for inactivity needed
* etc (if any)

So, what should we do to each group of bugs? Anyway, I'm not sure
whether there are how many bugs in each group, or even there is any
bug in some group. Maybe we need separate discussion?

Currently 3.3.x bugs that aren't fixed yet is ~1500 [1], assuming
reporters selected correct version.
And all bugs (whether or not they're fixed) with regression keywords
in 3.4.x is ~140 [2]

[1] 
https://bugs.freedesktop.org/buglist.cgi?list_id=24340query_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=NEEDINFObug_status=PLEASETESTversion=LibO%203.3.0%20Beta2version=LibO%203.3.0%20Beta3version=LibO%203.3.0%20RC1version=LibO%203.3.0%20RC2version=LibO%203.3.0%20RC3version=LibO%203.3.0%20RC4version=LibO%203.3.0%20releaseversion=LibO%203.3.1%20RC1version=LibO%203.3.1%20releaseversion=LibO%203.3.2%20RC1version=LibO%203.3.2%20RC2version=LibO%203.3.2%20releaseversion=LibO%203.3.3%20releaseversion=LibO%203.3.4%20releaseproduct=LibreOffice
[2] 
https://bugs.freedesktop.org/buglist.cgi?keywords=regression%2C%20keywords_type=allwordslist_id=24332query_format=advancedversion=LibO%203.4.0%20Beta1version=LibO%203.4.0%20Beta2version=LibO%203.4.0%20Beta3version=LibO%203.4.0%20Beta4version=LibO%203.4.0%20Beta5version=LibO%203.4.0%20RC1version=LibO%203.4.0%20releaseversion=LibO%203.4.1%20RC1version=LibO%203.4.1%20RC2version=LibO%203.4.1%20releaseversion=LibO%203.4%20Dailyversion=LibO%203.4.2%20RC1version=LibO%203.4.2%20RC2version=LibO%203.4.2%20releaseversion=LibO%203.4.3%20RC1version=LibO%203.4.3%20releaseversion=LibO%203.4.4%20RC1version=LibO%203.4.4%20releaseproduct=LibreOffice

Best Regards,
-- 
Korrawit Pruegsanusak
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Pedro Lino
Hi Korrawit, all

 So, what should we do to each group of bugs? Anyway, I'm not sure
 whether there are how many bugs in each group, or even there is any
 bug in some group. Maybe we need separate discussion?

This isn't simply a matter of checking and reporting bugs. It involves
the Quality of a product this Community claims to be Enterprise ready.
IMO there can be NO regressions.

I think this is way over our (QA) heads given the sheer amount of
unfixed bugs. It doesn't seem realistic the release date of January 11
especially because this is the Christmas season and most people here
are volunteers.

The TDF BoD and the Devs need to make a decision about how to handle this.

--
Pedro

http://lists.freedesktop.org/archives/libreoffice-qa/2011-December/000623.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] minor idl fixes

2011-12-10 Thread Tomas Hlavaty
Hi Michael,

   Nice work - thanks :-) It'd be great if you could give an explicit
 licensing statement for your contributions; something like:

   All my contributions to LibreOffice are licensed under
the MPL/LGPLv3+ dual license

   or somesuch :-) then we can add you to:

   http://wiki.documentfoundation.org/Development/Developers

   Which helps smooth the flow. Anyhow - great to have you contributing

I would be happy with LGPLv3+ but I haven't found much on why was MPL
added and/or preffered for new contributions.  Could you please point me
to some discussions so I can make up my mind on this matter?

 is there any particular piece you'd like to work on ? or annoying bug
 you'd like to fix ? :-)

There seems to be agreement that the RDB type database should go away.
There are several LO projects that would be affected by this and they
seem rather complex with dependencies.  Also, for example the conversion
from uno idl to java and cli goes directly to the binary format (class
file, assembly) and it's hard to see what they actually generate.

As a proof of concept, I have created a unoidl2 project:

   git clone http://logand.com/git/unoidl2.git

Note that it doesn't work yet but already has the parsing part in place,
i.e. can generate ast and has an incomplete unoidl2java generation.

The idea is that there would be a collection of small programs that
would convert uno idl files to different languages, e.g. unoidl2java,
unoidl2cs, unoidl2vala, unoidl2xml, unoidl2py etc.  These programs
should be as simple as possible with no dependencies so that anybody can
write a new uno idl converter for his programming language easily.

This would allow us to get rid of the RDB files (although I need to
familiarise myself with current use-cases to understand the impact of
such change, e.g. merging in custom plugins).

LO projects like registry, rdbmaker, regview, regmerge, idl, idlc,
climaker, javamaker, codemaker would be deprecated.

It would also work with text files only (and the results could be
commited into the repository for easier inspection of changes).
Conversion to java class files and .NET assemblies would be delegated to
dedicated compilers (javac, csc).

The other affected LO projects would likely be:

- binaryurp
- bridges
- cli_ure
- cppu
- cppuhelper
- javaunohelper
- pyuno (native?)
- ridljar
- scripting
- unodevtools
- unoil

although there is little information on what some projects are supposed
to do and how people use them.

Do we have a better documentation on type mappings then for example
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Type_Mappings?

It might be interesting to generate vapi file for vala programming
language, for example.  Are there any examples of connection to
libreoffice from plain C?

Thank you,

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


Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call

2011-12-10 Thread Fridrich Strba

On 10/12/11 11:05, Alexander Thurgood wrote:

So I built yesterday using :

--with-ext-postgresql-sdbc
--with-system-postgresql


Would you mind to try --without-system-postgresql (and fix eventual 
breakage). That might actually help making a nice extension that would 
run on a system that does not have pgsql installed.


Cheers

F.

--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH] Fix for fdo43460, Part III, getLength to isEmpty

2011-12-10 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please find attached a partial fix for Easy Hack FDO43460,

Part III
Module basic
- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO44ozAAoJEJp3R7nH3vLx9LcIAI+IKfeKE6Zj5KLp6GJ/VMsi
2/kG7ZknW/pl7GBxFJzePLH5A4tE/2ot07ZxIa686J9cu8/BnhLZIPBwXdgF0W4g
hm4Km7QDcNshB/GkN2gUq+AUfPleblC0yXyZzHOqGJmzipOvR2zL511FX7j3u+X7
gE1RuSPe5oKNW6MQEPmg4ekdSjQItSJXujTFc4oH28WgH4F6g22WA3I1bksGr/dD
SbzP+yEBcT3I47bOD2lm+b61m31a2Ba+0va5SXXqYnFFgSI7HxmPUq/B6KKMtqMz
0RxwC0UQs7perH+rAXktefueUCwOKWYUpOqSEoa9FCQfwa15n34h3CREVzBhohU=
=CVuS
-END PGP SIGNATURE-
From 668d82a2ee7a6582a4e6bc63151c5b6f6d3bee06 Mon Sep 17 00:00:00 2001
From: Olivier Hallot olivier.hal...@alta.org.br
Date: Sat, 10 Dec 2011 13:35:14 -0200
Subject: [PATCH] [PATCH] Fix for fdo43460 Part III getLength to isEmpty

Part III
Module
basic
---
 basic/source/basmgr/vbahelper.cxx |4 ++--
 basic/source/classes/image.cxx|2 +-
 basic/source/classes/sbunoobj.cxx |   24 
 basic/source/runtime/iosys.cxx|2 +-
 basic/source/runtime/methods.cxx  |   10 +-
 basic/source/runtime/methods1.cxx |6 +++---
 basic/source/runtime/step2.cxx|4 ++--
 basic/source/sbx/sbxobj.cxx   |4 ++--
 basic/source/sbx/sbxstr.cxx   |2 +-
 basic/source/uno/namecont.cxx |   18 +-
 basic/source/uno/scriptcont.cxx   |   10 +-
 11 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx
index 352aae1..f581a90 100644
--- a/basic/source/basmgr/vbahelper.cxx
+++ b/basic/source/basmgr/vbahelper.cxx
@@ -223,7 +223,7 @@ void enableContainerWindowsOfAllDocuments( const uno::Reference frame::XModel 
 
 void registerCurrentDirectory( const uno::Reference frame::XModel  rxModel, const ::rtl::OUString rPath )
 {
-if( rPath.getLength()  0 )
+if( !rPath.isEmpty() )
 {
 CurrDirPool rPool = StaticCurrDirPool::get();
 ::osl::MutexGuard aGuard( rPool.maMutex );
@@ -231,7 +231,7 @@ void registerCurrentDirectory( const uno::Reference frame::XModel  rxModel, c
 {
 uno::Reference frame::XModuleManager  xModuleManager( lclCreateModuleManager(), uno::UNO_SET_THROW );
 ::rtl::OUString aIdentifier = xModuleManager-identify( rxModel );
-if( aIdentifier.getLength()  0 )
+if( !aIdentifier.isEmpty() )
 rPool.maCurrDirs[ aIdentifier ] = rPath;
 }
 catch(const uno::Exception )
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx
index a1d7332..2e24903 100644
--- a/basic/source/classes/image.cxx
+++ b/basic/source/classes/image.cxx
@@ -287,7 +287,7 @@ sal_Bool SbiImage::Save( SvStream r, sal_uInt32 nVer )
 SbiCloseRecord( r, nPos );
 }
 // Source?
-if( aOUSource.getLength()  SbiGood( r ) )
+if( !aOUSource.isEmpty()  SbiGood( r ) )
 {
 nPos = SbiOpenRecord( r, B_SOURCE, 1 );
 String aTmp;
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 5f979e8..605de05 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -128,7 +128,7 @@ bool SbUnoObject::getDefaultPropName( SbUnoObject* pUnoObj, ::rtl::OUString sDf
 if ( xDefaultProp.is() )
 {
 sDfltProp = xDefaultProp-getDefaultPropertyName();
-if ( sDfltProp.getLength() )
+if ( !sDfltProp.isEmpty() )
 result = true;
 }
 return result;
@@ -344,7 +344,7 @@ void implAppendExceptionMsg( ::rtl::OUStringBuffer _inout_rBuffer, const Except
 lcl_indent( _inout_rBuffer, _nLevel );
 _inout_rBuffer.appendAscii( Type:  );
 
-if ( _rExceptionType.getLength() == 0 )
+if ( _rExceptionType.isEmpty() )
 _inout_rBuffer.appendAscii( Unknown );
 else
 _inout_rBuffer.append( _rExceptionType );
@@ -1572,7 +1572,7 @@ void processAutomationParams( SbxArray* pParams, Sequence Any  args, bool bOL
 bBlockConversionToSmallestType );
 
 ::rtl::OUString aParamName = pNames[iSbx];
-if( aParamName.getLength() )
+if( !aParamName.isEmpty() )
 {
 oleautomation::NamedArgument aNamedArgument;
 aNamedArgument.Name = aParamName;
@@ -1687,7 +1687,7 @@ rtl::OUString Impl_GetInterfaceInfo( const Reference XInterface  x, const Ref
 if( pUnoObj )
 {
 aName = pUnoObj-GetClassName();
-if( !aName.getLength() )
+if( aName.isEmpty() )
 {
 Any aToInspectObj = pUnoObj-getUnoAny();
 TypeClass eType = aToInspectObj.getValueType().getTypeClass();
@@ -1708,7 +1708,7 @@ rtl::OUString 

Re: [Libreoffice] build error

2011-12-10 Thread Winfried Donkers
Looks like a symbol conflict between your internal cairo library and
the system gtk+ library. Curious that it happens with the cppunit test
of course. Essentially I would remove *cairo* from the solver (or run
deliver -delete inside cairo/) and re-configure and build with
--with-system-cairo.

That helped, build goes ok now :) Thank you very much!

Running soffice.bin or swriter, however, does give a problem. The application 
crashes (aborts without save) with the following error in the console:
soffice.bin: symbol lookup errror: 
/.../core/solver/unxlngi6.pro/installation/opt/program/libsvtlo.so: undefined 
sysmbol: _ZN8MsLangId33getReplacementForObsoleteLanguageEt
Any suggestions to get rid of this?

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


Re: [Libreoffice] [PUSHED][PATCH] Fix for fdo43460, Part III, getLength to isEmpty

2011-12-10 Thread Ivan Timofeev

10.12.2011 20:34, Olivier Hallot пишет:

Please find attached a partial fix for Easy Hack FDO43460,

Part III
Module basic


Pushed, thank you! :)

May I suggest you to remove unnecessary parentheses in addition? i.e

sal_Bool bOldPassword = ( !OldPassword.isEmpty() );

can be

sal_Bool bOldPassword = !OldPassword.isEmpty();

and thus more readable (at least to me) :)

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


[Libreoffice] [PATCH 1/4] fdo38832 Replace ImplAccelTable with std::map

2011-12-10 Thread Marcel Metz
Hello lo-devs,

This patch series replaces some DECLARE_TABLE macros with
the std::map equivalent.

regards

Marcel

---
 vcl/source/window/accel.cxx |   20 
 1 files changed, 12 insertions(+), 8 deletions(-)


diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index f45b145..e755d48 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -27,18 +27,18 @@
  /
 
 
-#include tools/table.hxx
 #include tools/debug.hxx
 #include tools/rc.h
 
 #include vcl/svapp.hxx
 #include accel.h
 #include vcl/accel.hxx
+#include map
 #include vector
 
 // ===
 
-DECLARE_TABLE( ImplAccelTable, ImplAccelEntry* )
+typedef ::std::map sal_uLong, ImplAccelEntry*  ImplAccelMap;
 typedef ::std::vector ImplAccelEntry*  ImplAccelList;
 
 #define ACCELENTRY_NOTFOUND ((sal_uInt16)0x)
@@ -48,8 +48,8 @@ typedef ::std::vector ImplAccelEntry*  ImplAccelList;
 class ImplAccelData
 {
 public:
-ImplAccelTable  maKeyTable; // for keycodes, generated with a code
-ImplAccelList   maIdList;   // Id-List
+ImplAccelMap  maKeyMap; // for keycodes, generated with a code
+ImplAccelList maIdList; // Id-List
 };
 
 // ===
@@ -179,7 +179,11 @@ void Accelerator::ImplInit()
 
 ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode rKeyCode ) const
 {
-return mpData-maKeyTable.Get( rKeyCode.GetFullKeyCode() );
+ImplAccelMap::iterator it = mpData-maKeyMap.find( rKeyCode.GetFullKeyCode() );
+if( it != mpData-maKeyMap.end() )
+return it-second;
+else
+return NULL;
 }
 
 // ---
@@ -200,7 +204,7 @@ void Accelerator::ImplCopyData( ImplAccelData rAccelData )
 else
 pEntry-mpAutoAccel = NULL;
 
-mpData-maKeyTable.Insert( (sal_uLong)pEntry-maKeyCode.GetFullKeyCode(), pEntry );
+mpData-maKeyMap.insert( std::make_pair( pEntry-maKeyCode.GetFullKeyCode(), pEntry ) );
 mpData-maIdList.push_back( pEntry );
 }
 }
@@ -267,7 +271,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode rKeyCode,
 OSL_FAIL( Accelerator::InsertItem(): KeyCode with KeyCode 0 not allowed );
 delete pEntry;
 }
-else if ( !mpData-maKeyTable.Insert( nCode, pEntry ) )
+else if ( mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second )
 {
 OSL_TRACE( Accelerator::InsertItem(): KeyCode (Key: %lx) already exists, nCode );
 delete pEntry;
@@ -470,7 +474,7 @@ Accelerator Accelerator::operator=( const Accelerator rAccel )
 
 // delete and copy tables
 ImplDeleteData();
-mpData-maKeyTable.Clear();
+mpData-maKeyMap.clear();
 ImplCopyData( *((ImplAccelData*)(rAccel.mpData)) );
 
 return *this;

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


[Libreoffice] [PATCH 2/4] Replace Table with std::map

2011-12-10 Thread Marcel Metz
---
 cui/source/dialogs/pastedlg.cxx |   20 
 cui/source/inc/pastedlg.hxx |4 ++--
 2 files changed, 14 insertions(+), 10 deletions(-)


diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 47fdf2f..656a813 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -112,11 +112,10 @@ void SvPasteObjectDialog::SetDefault()
 
 SvPasteObjectDialog::~SvPasteObjectDialog()
 {
-void * pStr = aSupplementTable.First();
-while( pStr )
+::std::map SotFormatStringId, String* ::iterator it;
+for(it = aSupplementMap.begin(); it != aSupplementMap.end(); ++it)
 {
-delete (String *)pStr;
-pStr = aSupplementTable.Next();
+delete it-second;
 }
 }
 
@@ -126,7 +125,7 @@ SvPasteObjectDialog::~SvPasteObjectDialog()
 void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const String rFormatName )
 {
 String * pStr = new String( rFormatName );
-if( !aSupplementTable.Insert( nFormat, pStr ) )
+if( !aSupplementMap.insert( ::std::make_pair( nFormat, pStr ) ).second )
 delete pStr;
 }
 
@@ -156,20 +155,25 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper,
 ::com::sun::star::datatransfer::DataFlavor aFlavor( *aIter );
 SotFormatStringId nFormat = (*aIter++).mnSotId;
 
-String* pName = (String*) aSupplementTable.Get( nFormat );
+String* pName = NULL;
 String aName;
+::std::map SotFormatStringId, String* ::iterator itName;
+itName = aSupplementMap.find( nFormat );
 
 // if there is an Embed Source or and Embedded Object on the
 // Clipboard we read the Description and the Source of this object
 // from an accompanied Object Descriptor format on the clipboard
 // Remember: these formats mostly appear together on the clipboard
-if ( !pName )
+if ( itName == aSupplementMap.end() )
 {
 SvPasteObjectHelper::GetEmbeddedName(rHelper,aName,aSourceName,nFormat);
 if ( aName.Len() )
 pName = aName;
 }
-
+else
+{
+pName = itName-second;
+}
 
 if( pName )
 {
diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx
index 93c6ff4..ddf4ccb 100644
--- a/cui/source/inc/pastedlg.hxx
+++ b/cui/source/inc/pastedlg.hxx
@@ -29,7 +29,7 @@
 #ifndef _PASTEDLG_HXX
 #define _PASTEDLG_HXX
 
-#include tools/table.hxx
+#include map
 #include sot/formats.hxx
 #include tools/globname.hxx
 #include svtools/transfer.hxx
@@ -60,7 +60,7 @@ class SvPasteObjectDialog : public ModalDialog
 OKButton aOKButton1;
 CancelButton aCancelButton1;
 HelpButton aHelpButton1;
-Table   aSupplementTable;
+::std::map SotFormatStringId, String*  aSupplementMap;
 SvGlobalNameaObjClassName;
 String  aObjName;
 sal_uInt16  nAspect;

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


[Libreoffice] [PATCH 3/4] Replace _SvxForbiddenCharacterTable_Impl with std::map

2011-12-10 Thread Marcel Metz
---
 cui/source/options/optasian.cxx |   73
+++
 1 files changed, 36 insertions(+), 37 deletions(-)


diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 5cafe5d..326f4dc 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -26,13 +26,13 @@
  *
  /
 
+#include map
 #include optasian.hxx
 #include editeng/langitem.hxx
 #include editeng/unolingu.hxx
 #include optasian.hrc
 #include dialmgr.hxx
 #include cuires.hrc
-#include tools/table.hxx
 #include tools/shl.hxx
 #include svl/asiancfg.hxx
 #include com/sun/star/lang/Locale.hpp
@@ -59,77 +59,76 @@ const sal_Char cCharacterCompressionType[] = CharacterCompressionType;
 
 struct SvxForbiddenChars_Impl
 {
+~SvxForbiddenChars_Impl();
+
 sal_BoolbRemoved;
 ForbiddenCharacters*pCharacters;
 };
 
-DECLARE_TABLE( _SvxForbiddenCharacterTable_Impl, SvxForbiddenChars_Impl* )
-
-class SvxForbiddenCharacterTable_Impl : public _SvxForbiddenCharacterTable_Impl
+SvxForbiddenChars_Impl::~SvxForbiddenChars_Impl()
 {
-public:
-SvxForbiddenCharacterTable_Impl()
-: _SvxForbiddenCharacterTable_Impl( 4, 4 )
-{}
-~SvxForbiddenCharacterTable_Impl();
-};
+delete this-pCharacters;
+}
+
+typedef ::std::map LanguageType, SvxForbiddenChars_Impl*  SvxForbiddenCharacterMap_Impl;
 
 struct SvxAsianLayoutPage_Impl
 {
 SvxAsianConfig  aConfig;
 SvxAsianLayoutPage_Impl() {}
 
+~SvxAsianLayoutPage_Impl();
+
 Reference XForbiddenCharactersxForbidden;
 Reference XPropertySetxPrSet;
 Reference XPropertySetInfoxPrSetInfo;
-SvxForbiddenCharacterTable_Impl aChangedLanguagesTbl;
+SvxForbiddenCharacterMap_Impl   aChangedLanguagesMap;
 
 sal_BoolhasForbiddenCharacters(LanguageType eLang);
 SvxForbiddenChars_Impl* getForbiddenCharacters(LanguageType eLang);
 voidaddForbiddenCharacters(LanguageType eLang, ForbiddenCharacters* pForbidden);
 };
 
-SvxForbiddenCharacterTable_Impl::~SvxForbiddenCharacterTable_Impl()
+SvxAsianLayoutPage_Impl::~SvxAsianLayoutPage_Impl()
 {
-for( SvxForbiddenChars_Impl*  pDel = First(); pDel; pDel = Next() )
+SvxForbiddenCharacterMap_Impl::iterator it;
+for( it = aChangedLanguagesMap.begin(); it != aChangedLanguagesMap.end(); ++it )
 {
-delete pDel-pCharacters;
-delete pDel;
+delete it-second;
 }
 }
 
 sal_BoolSvxAsianLayoutPage_Impl::hasForbiddenCharacters(LanguageType eLang)
 {
-return 0 != aChangedLanguagesTbl.Get(eLang);
+return aChangedLanguagesMap.count( eLang );
 }
 
 SvxForbiddenChars_Impl* SvxAsianLayoutPage_Impl::getForbiddenCharacters(LanguageType eLang)
 {
-SvxForbiddenChars_Impl* pImp = aChangedLanguagesTbl.Get(eLang);
-DBG_ASSERT(pImp, language not available);
-if(pImp)
-return pImp;
+SvxForbiddenCharacterMap_Impl::iterator it = aChangedLanguagesMap.find( eLang );
+DBG_ASSERT( ( it == aChangedLanguagesMap.end() ), language not available);
+if( it != aChangedLanguagesMap.end() )
+return it-second;
 return 0;
 }
 
 void SvxAsianLayoutPage_Impl::addForbiddenCharacters(
 LanguageType eLang, ForbiddenCharacters* pForbidden)
 {
-SvxForbiddenChars_Impl* pOld = aChangedLanguagesTbl.Get(eLang);
-if( !pOld )
+SvxForbiddenCharacterMap_Impl::iterator itOld = aChangedLanguagesMap.find( eLang );
+if( itOld == aChangedLanguagesMap.end() )
 {
-pOld = new SvxForbiddenChars_Impl;
-pOld-bRemoved = 0 == pForbidden;
-pOld-pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0;
-aChangedLanguagesTbl.Insert( eLang, pOld );
+SvxForbiddenChars_Impl* pChar = new SvxForbiddenChars_Impl;
+pChar-bRemoved = 0 == pForbidden;
+pChar-pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0;
+aChangedLanguagesMap.insert( ::std::make_pair( eLang, pChar ) );
 }
 else
 {
-pOld-bRemoved = 0 == pForbidden;
-delete pOld-pCharacters;
-pOld-pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0;
+itOld-second-bRemoved = 0 == pForbidden;
+delete itOld-second-pCharacters;
+itOld-second-pCharacters = pForbidden ? new ForbiddenCharacters(*pForbidden) : 0;
 }
-
 }
 
 static LanguageType eLastUsedLanguageTypeForForbiddenCharacters = USHRT_MAX;
@@ -209,16 +208,16 @@ sal_Bool SvxAsianLayoutPage::FillItemSet( SfxItemSet )
 {
 try
 {
-for( SvxForbiddenChars_Impl*  pElem = pImpl-aChangedLanguagesTbl.First();
-pElem; pElem = pImpl-aChangedLanguagesTbl.Next() )
+SvxForbiddenCharacterMap_Impl::iterator itElem;
+for( itElem = pImpl-aChangedLanguagesMap.begin();
+itElem != pImpl-aChangedLanguagesMap.end(); 

[Libreoffice] [PATCH 4/4] Replace Table with std::map

2011-12-10 Thread Marcel Metz
---
 svl/source/misc/inettype.cxx |   38 ++
 1 files changed, 22 insertions(+), 16 deletions(-)


diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx
index 1cba9dc..b043f06 100644
--- a/svl/source/misc/inettype.cxx
+++ b/svl/source/misc/inettype.cxx
@@ -85,8 +85,9 @@ class Registration
 {
 typedef boost::ptr_mapUniString, TypeNameMapEntry  TypeNameMap;
 typedef boost::ptr_mapUniString, ExtensionMapEntry ExtensionMap;
+typedef std::mapINetContentType, TypeIDMapEntry*   TypeIDMap;
 
-Table m_aTypeIDMap; // map TypeID to TypeName, Presentation
+TypeIDMapm_aTypeIDMap;// map ContentType to TypeID
 TypeNameMap  m_aTypeNameMap;  // map TypeName to TypeID, Extension
 ExtensionMap m_aExtensionMap; // map Extension to TypeID
 sal_uInt32 m_nNextDynamicID;
@@ -127,8 +128,13 @@ namespace
 // static
 inline TypeIDMapEntry * Registration::getEntry(INetContentType eTypeID)
 {
-return static_cast TypeIDMapEntry * (theRegistration::get().
-m_aTypeIDMap.Get(eTypeID));
+Registration rRegistration = theRegistration::get();
+
+TypeIDMap::iterator it = rRegistration.m_aTypeIDMap.find( eTypeID );
+if( it != rRegistration.m_aTypeIDMap.end() )
+return it-second;
+else
+return NULL;
 }
 
 //
@@ -526,10 +532,8 @@ MediaTypeEntry const aStaticPresentationMap[]
 //
 Registration::~Registration()
 {
-{for (sal_uLong i = 0; i  m_aTypeIDMap.Count(); ++i)
-delete static_cast TypeIDMapEntry * (m_aTypeIDMap.GetObject(i));
-}
-m_aTypeIDMap.Clear();
+for ( TypeIDMap::iterator it = m_aTypeIDMap.begin(); it != m_aTypeIDMap.end(); ++it )
+delete it-second;
 }
 
 //
@@ -571,7 +575,7 @@ INetContentType Registration::RegisterContentType(UniString const  rTypeName,
 pTypeIDMapEntry-m_aPresentation = rPresentation;
 if (pSystemFileType)
 pTypeIDMapEntry-m_aSystemFileType = *pSystemFileType;
-rRegistration.m_aTypeIDMap.Insert(eTypeID, pTypeIDMapEntry);
+rRegistration.m_aTypeIDMap.insert( ::std::make_pair( eTypeID, pTypeIDMapEntry ) );
 
 std::auto_ptrTypeNameMapEntry pTypeNameMapEntry(new TypeNameMapEntry());
 if (pExtension)
@@ -609,10 +613,11 @@ UniString Registration::GetContentType(INetContentType eTypeID)
 {
 Registration rRegistration = theRegistration::get();
 
-TypeIDMapEntry * pEntry
-= static_cast TypeIDMapEntry * (rRegistration.
-  m_aTypeIDMap.Get(eTypeID));
-return pEntry ? pEntry-m_aTypeName : UniString();
+TypeIDMap::iterator pEntry = rRegistration.m_aTypeIDMap.find( eTypeID );
+if( pEntry != rRegistration.m_aTypeIDMap.end() )
+return pEntry-second-m_aTypeName;
+else
+return  UniString();
 }
 
 //
@@ -621,10 +626,11 @@ UniString Registration::GetPresentation(INetContentType eTypeID)
 {
 Registration rRegistration = theRegistration::get();
 
-TypeIDMapEntry * pEntry
-= static_cast TypeIDMapEntry * (rRegistration.
-  m_aTypeIDMap.Get(eTypeID));
-return pEntry ? pEntry-m_aPresentation : UniString();
+TypeIDMap::iterator pEntry = rRegistration.m_aTypeIDMap.find( eTypeID );
+if( pEntry != rRegistration.m_aTypeIDMap.end() )
+return pEntry-second-m_aPresentation;
+else
+return  UniString();
 }
 
 //

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


Re: [Libreoffice] [PATCH] Fix for fdo43460, Part II, getLength to isEmpty

2011-12-10 Thread Thomas Arnhold

Hi Oliver,

nice! I had introduced this method, but this move was still on todo. 
Thanks for doing this :)


Thomas

On 12/10/2011 01:29 AM, Olivier Hallot wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please find attached a partial fix for Easy Hack FDO43460,

Part II
Module basctl
- --
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO4qf6AAoJEJp3R7nH3vLxDf4H/iBCn2M/oc14esTdjPdlAphq
TDX7am464b4Wsk9W21nvEZw0HYYzOPbsuU8ubteG0MiCMEI1GCAV4vW9PqHuglZY
SBrfeGzlNuMwIw6xibS0LZiOFbRBI4b8PL61wovFOiHrYfKkjbvkRxtT1tj1jOeC
duHFZncd/gD7pL8yG4J8I654O+S6JTWQMXl793Okrcs8bysN2IQTT+7t8lTBjPcv
wNJSVMArTNpbu4qYbAPcoSrRjfv4ILL0JILuExa1lpq2QFinX8wGHCvNxiGRSfqC
sqq90OmECjEBbfEM+PcviO/EukjiH14wWXBcwuImUFpDhS+7DOLaMNlhnx8gMSM=
=eSsc
-END PGP SIGNATURE-



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


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


Re: [Libreoffice] [Libreoffice-qa] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Cor Nouws

Cor Nouws wrote (09-12-11 22:44)


Linux (still not uploaded):


will have to wait for those though ;-)


Was able to install today on Ubuntu 32 bits and did some simple things 
(among which 2400+ record mail merge - which goes finefast).
Saw some things that are not ok, but not yet items that are so serious, 
that it should hold us back from using this build for beta1.

Will try some more testing later/tomorrow.

Cheers,

--
 - Cor
 - http://nl.libreoffice.org

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



[Libreoffice] [PATCH] Fix for fdo43460, Part IV, getLength to isEmpty

2011-12-10 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please find attached a partial fix for Easy Hack FDO43460

Part IV
Module
basic (small cosmetic fix per demand of Ivan Timofeev)
binaryurp
bridges

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO47UrAAoJEJp3R7nH3vLxExQH/0aSskWwVdhFGzBrcerpF4yB
R8w/UaH0GpHydBh9uIlUJKvJ42NQLNIxxOmhP2W7HirPO0QOhGGy1AipJUUrTotA
xFs3PilC2Wo2uQDSmnmyG/dhLEHVGXMWcYoCa4L7bzlq8GP6/VaZHBARc65erjc2
qsaQ3Tbv8rL+OkCuDhuMFX/fY0a0vKD5IPh8MwQm7EiejqPyuvN12NHcfnZ8ZlH/
gbxDblZO69ChKb5PZpty5kwJzKPjjaIMnmCQdI5CWbcXp0efZVqgewZf3G2UCQgA
mwJ5MxJrzU7nVcZAfpDHVQUEZIJ3eDpLsJBgvqJe8ysqyhqz8NZuzUrYdVrIpw4=
=aALZ
-END PGP SIGNATURE-
From 68c4ac7291664b6e9a6162b31bc7d8ea4213745c Mon Sep 17 00:00:00 2001
From: Olivier Hallot olivier.hal...@alta.org.br
Date: Sat, 10 Dec 2011 17:29:21 -0200
Subject: [PATCH] Fix for fdo43460 Part IV getLength to isEmpty

Part IV
Module
basic (small fix per demand from Ivan Timofeev)
binaryurp
bridges
---
 basic/source/uno/scriptcont.cxx |4 ++--
 binaryurp/source/bridge.cxx |8 
 binaryurp/source/bridgefactory.cxx  |4 ++--
 binaryurp/source/reader.cxx |4 ++--
 binaryurp/source/unmarshal.cxx  |4 ++--
 binaryurp/source/writer.cxx |2 +-
 bridges/source/cpp_uno/shared/vtablefactory.cxx |4 ++--
 bridges/source/jni_uno/jni_data.cxx |2 +-
 8 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index c6fbc5d..9dd01a1 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -473,8 +473,8 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString
 if( OldPassword == NewPassword )
 return;
 
-sal_Bool bOldPassword = ( !OldPassword.isEmpty() );
-sal_Bool bNewPassword = ( !NewPassword.isEmpty() );
+sal_Bool bOldPassword = !OldPassword.isEmpty();
+sal_Bool bNewPassword = !NewPassword.isEmpty();
 sal_Bool bStorage = mxStorage.is()  !pImplLib-mbLink;
 
 if( pImplLib-mbReadOnly || (bOldPassword  !pImplLib-mbPasswordProtected) )
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index b491a2a..389284d 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -345,7 +345,7 @@ css::uno::UnoInterfaceReference Bridge::registerIncomingInterface(
 rtl::OUString const  oid, css::uno::TypeDescription const  type)
 {
 assert(type.is());
-if (oid.getLength() == 0) {
+if (oid.isEmpty()) {
 return css::uno::UnoInterfaceReference();
 }
 css::uno::UnoInterfaceReference obj(findStub(oid, type));
@@ -427,7 +427,7 @@ rtl::OUString Bridge::registerOutgoingInterface(
 css::uno::UnoInterfaceReference Bridge::findStub(
 rtl::OUString const  oid, css::uno::TypeDescription const  type)
 {
-assert(oid.getLength() != 0  type.is());
+assert(!oid.isEmpty()  type.is());
 osl::MutexGuard g(mutex_);
 Stubs::iterator i(stubs_.find(oid));
 if (i != stubs_.end()) {
@@ -449,7 +449,7 @@ css::uno::UnoInterfaceReference Bridge::findStub(
 void Bridge::releaseStub(
 rtl::OUString const  oid, css::uno::TypeDescription const  type)
 {
-assert(oid.getLength() != 0  type.is());
+assert(!oid.isEmpty()  type.is());
 css::uno::UnoInterfaceReference obj;
 bool unused;
 {
@@ -814,7 +814,7 @@ Bridge::~Bridge() {
 css::uno::Reference css::uno::XInterface  Bridge::getInstance(
 rtl::OUString const  sInstanceName) throw (css::uno::RuntimeException)
 {
-if (sInstanceName.getLength() == 0) {
+if (sInstanceName.isEmpty()) {
 throw css::uno::RuntimeException(
 rtl::OUString(
 RTL_CONSTASCII_USTRINGPARAM(
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 5c91055..0edbaa0 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -80,7 +80,7 @@ void BridgeFactory::removeBridge(
 assert(bridge.is());
 rtl::OUString n(bridge-getName());
 osl::MutexGuard g(*this);
-if (n.getLength() == 0) {
+if (n.isEmpty()) {
 BridgeList::iterator i(
 std::find(unnamed_.begin(), unnamed_.end(), bridge));
 if (i != unnamed_.end()) {
@@ -154,7 +154,7 @@ css::uno::Reference css::bridge::XBridge  BridgeFactory::createBridge(
 static_cast cppu::OWeakObject * (this), -1);
 }
 b.set(new Bridge(this, sName, aConnection, anInstanceProvider));
-if (sName.getLength() == 0) {
+if (sName.isEmpty()) {
 unnamed_.push_back(
 css::uno::Reference 

Re: [Libreoffice] [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Cor Nouws

Hi Pedro, *,

Pedro Lino wrote (10-12-11 12:46)


So, what should we do to each group of bugs? Anyway, I'm not sure
whether there are how many bugs in each group, or even there is any
bug in some group. Maybe we need separate discussion?


It is already for some time now, that there is need for more bug 
handling in BugZilla. Only that can lead to specific qualification and 
discussion.



This isn't simply a matter of checking and reporting bugs. It involves
the Quality of a product this Community claims to be Enterprise ready.
IMO there can be NO regressions.


Does not sound like a real life scenario, IMO. Some regressions will 
slip in now and then.



I think this is way over our (QA) heads given the sheer amount of
unfixed bugs.


There is the mechanism that gives all of us the possibility to propose 
the serious problems as most annoying. Which has been used continuously 
over the past year, and with success in the sense that bugs, also nasty 
old ones, have been fixed.


Nevertheless, I agree with the meaning of this topic:
When 3.4.5 has been released, it will take some time and a few (2, 3 ?) 
releases in the 3.5-branch to be on approximately the same level as 3.4.4/5.
So that *might* lead to a situation where again several months waiting 
is necessary to be able to profit from improvements after 3.3.x ... And 
the potential risk of this is serious, so we may not think too light 
about this.
The 'simple' solution is: make sure that the problems that are so 
serious, that you will not be able to use 3.4.x, despite the many 
improvements (also bugwise) in that branch, are well described and 
nominated 3.4-most annoying.


Does that make sense?


It doesn't seem realistic the release date of January 11  especially because
this is the Christmas season and most people here are volunteers.


Indeed, something to take into account.

Cheers,

--
 - Cor
 - http://nl.libreoffice.org

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


[Libreoffice] [PATCH] Remove unused macro in tools/rtti.hxx

2011-12-10 Thread Rafael Dominguez

From b052d080fd068f7ba1ba71a086ed0dcbc24299ef Mon Sep 17 00:00:00 2001
From: Rafael Dominguez venccsra...@gmail.com
Date: Sat, 10 Dec 2011 14:42:29 -0430
Subject: [PATCH 2/3] Remove unused macros.

---
 tools/inc/tools/rtti.hxx |9 -
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/tools/inc/tools/rtti.hxx b/tools/inc/tools/rtti.hxx
index 34f14c5..7f279f1 100644
--- a/tools/inc/tools/rtti.hxx
+++ b/tools/inc/tools/rtti.hxx
@@ -63,7 +63,6 @@ typedef void* (*TypeId)();
 
 //-
 
-#define TYPEINIT_AUTOFACTORY(sType) TYPEINIT_FACTORY(sType, new sType)
 #define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0)
 
 #define SUPERTYPE(sSuper) \
@@ -107,8 +106,6 @@ typedef void* (*TypeId)();
 SUPERTYPE(sSuper2); \
 SUPERTYPE(sSuper3); \
 TYPEINIT_END(sType)
-#define TYPEINIT3_AUTOFACTORY(sType, sSuper1, sSuper2, sSuper3) \
-TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, new sType)
 #define TYPEINIT3(sType, sSuper1, sSuper2, sSuper3) \
 TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, 0)
 
@@ -120,12 +117,6 @@ typedef void* (*TypeId)();
 //-
 // On-Demand-faehige persistent-TypeId Version
 
-#define TYPEINFO_ID(id) \
-static  TypeId StaticType() { return (TypeId) ( id | 0xF00L ); } \
-static  sal_Bool   IsOf( TypeId aSameOrSuperType ); \
-virtual TypeId Type() const; \
-virtual sal_Bool   IsA( TypeId aSameOrSuperType ) const
-
 #define TYPEINIT_ID(sType) \
 TypeId sType::Type() const { return StaticType(); } \
 sal_Bool   sType::IsOf( TypeId aSameOrSuperType ) \
-- 
1.7.3.4

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


Re: [Libreoffice] Writing a book w/F16?

2011-12-10 Thread NOSpaze
On Sat, 2011-12-10 at 10:17 -0700, Craig White wrote:
 On Sat, 2011-12-10 at 13:57 +0100, NOSpaze wrote:
  On Sat, 2011-12-10 at 20:50 +0800, Ed Greshko wrote:
   On 12/10/2011 08:34 PM, Craig White wrote:
is there any doubt who this NOSpaze is?
   
   Rodolfo Alcazar Portillo 
   
   Why do you ask?
  
  Yea thats me, why do you ask? are you my neighbor?
 
 I was wrong... in that case, I will answer.
 
 sgml has long been used for professional publishing ( see adobe
 framemaker).
 
 The idea is that you can use fast/simple editors such as vi or emacs and
 put in your own markup tags and save the processing (ie, generate
 toc/footnotes/end notes/appendix/etc.) for later.

Thanks for the suggestion. I'll read how to do a TOC, footnotes and
commenting/tagging paragraps, summarizing in vim. If you can suggest any
link, TIA. your own markup tags... I wouldn't use sgml/xml, but i'll
wait for any links on how to apply them effectively.

 WYSIWYG is an obstacle to writing but is in fact an artifact of
 publishing and in that case, you can merely concentrate on writing and
 leave all of the stylizing until the writing is finished.

WYSIWYG is an obstacle to writing? Damn! I knew it! Tell it to the
LibreOffice team. They need to know it.

 Seemed to me to be a more than adequate suggestion that you mocked.

I do really appreciate your help, just it sounded illogic. Sorry for
making fun. I live it.

:)
-- 
NOSpaze nosp...@gmail.com

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


[Libreoffice] Check This Out

2011-12-10 Thread diplomaxpress
Friend was viewing Elizabeth's Fiber and Yarn and thought you would be 
interested in this page:

Elizabeth's Fiber and Yarn
http://www.fiber2yarn.com/catalog.php?item=1678

Friend also included this message:
^
Ignore that other stuff.  Instead...

Buy fake/novelty university diplomas and degrees online.

We design our Degree or Diploma Certificates and Transcripts to look 99.99% 
identical to world famous originals including identical security grade 
transcript paper, identical water markings, raised-ink crests, embossed seals, 
correct card stock weight (60-100lb depending upon institution specifications). 
Most post-secondary institutions available.

Click on this link:  http://rurls.ru/33g
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] stubify ...

2011-12-10 Thread Michael Meeks

On Sat, 2011-12-10 at 09:32 +0100, Jonathan Aquilina wrote:
 The question becomes is it worth hacking to get LO to work on centos 4, 
 if I am not mistaken its almost at the end of live. If i remember right 
 end of january or februrary its slated to be archived from what i saw on 
 the update mailing list. Please confirm though i could be totally wrong

We have to build on the oldest platform we support, in order to have
any chance on running on all newer ones. We researched updating our
baseline and came to the conclusion: not yet.

HTH,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [Libreoffice] End of the line for 3.3 family and regressions

2011-12-10 Thread Michael Meeks
Hi Pedro,

On Fri, 2011-12-09 at 20:34 +, Pedro Lino wrote:
 E.g. A bug fix such as this
 https://bugs.freedesktop.org/show_bug.cgi?id=42958
 needs to be cherry picked to the 3.4 branch

Seems that Eike picked this to -3-4 shortly after you mentioned it ;-)
of course, if there are more annoying, but trivial / obvious fixes we
need to get into 3.4.5 it'd be great to know ASAP - the freeze for 3.4.5
RC1 is early next week, and I'd really like not to see ~anything much go
in after RC1.

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[Libreoffice] [PUSHED] Fix for fdo43460, Part I, getLength to isEmpty

2011-12-10 Thread Michael Meeks

On Fri, 2011-12-09 at 19:07 +0100, Stephan Bergmann wrote:
 This and a few more that follow invert the logic -- !sText.getLength() 
 = sText.getLength() == 0 = sText.isEmpty().  I'll fix those and push 
 later today.

Found pushed; thanks Stephan  Olivier,

Regards,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [Libreoffice] End of the line for 3.3 family and regressions

2011-12-10 Thread Pedro Lino
Hi Michael

        Seems that Eike picked this to -3-4 shortly after you mentioned it ;-)
 of course, if there are more annoying, but trivial / obvious fixes we
 need to get into 3.4.5 it'd be great to know ASAP - the freeze for 3.4.5
 RC1 is early next week, and I'd really like not to see ~anything much go
 in after RC1.

That was just an example.

I think you missed this discussion.Please read it here
http://lists.freedesktop.org/archives/libreoffice-qa/2011-December/000623.html

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


Re: [Libreoffice] Adding a Predictive Typing feature.

2011-12-10 Thread Andrew Douglas Pitonyak

On 12/09/2011 01:04 AM, Jean-Baptiste Faure wrote:

Hi,

Le 09/12/2011 06:26, Shoubhik Bose a écrit :

Hello,


what is the difference with
auto-completion : Tools  AutoCorrectoptions ...  Word completion Tab ?

The suggestions are based only on what has been typed in the document
before.

I am afraid you do not answer my question about the *difference* with
the same function (auto-complete) already implemented in LibreOffice. Is
it the dictionnary which is used ?

Best regards
JBF


I also thought that this was already implemented.

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php

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


[Libreoffice] Does merge modules necessary only for msi installer?

2011-12-10 Thread Korrawit Pruegsanusak
Hello Andras, all,

I was wondering whether merge modules you've introduced [1] is
necessary for only msi installer creation?
If yes, IMHO maybe we need more specific check in post_download.in, to
check for --with-package-format configure option, instead of currently
   if test $COM = MSC; [2]
Is this possible? I found that package format is saved in PKGFORMAT
[3]. But how to get this variable to post_download.in?

[1] 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b667ca53f4cfff9ac5c8f124b1cd1756bc0af948
[2] http://opengrok.libreoffice.org/xref/core/post_download.in#49
[3] http://opengrok.libreoffice.org/xref/core/configure.in#4523

Best Regards,
-- 
Korrawit Pruegsanusak
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Does merge modules necessary only for msi installer?

2011-12-10 Thread Fridrich Strba

On 11/12/11 06:32, Korrawit Pruegsanusak wrote:

I was wondering whether merge modules you've introduced [1] is
necessary for only msi installer creation?
If yes, IMHO maybe we need more specific check in post_download.in, to
check for --with-package-format configure option, instead of currently
if test $COM = MSC; [2]


No, not needed to check anything. If you have a compiler, you have them. 
They are part of the compiler installation.


Cheers

Fridrich

--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Fridrich Strba

On 10/12/11 07:34, Petr Mladek wrote:

The 64-bit build for few localizations is being uploaded at
http://dev-builds.libreoffice.org/daily/Linux_x86_64_Release_Configuration/libreoffice-3-5/

It is built the same way like the 32-bit build, see above. We started
the regular tinderbox again.

Please, do not get confused that the two Linux builds has the version
beta0 in the name a no time, ... They were uploaded manually. The builds
produced by tinderbox will have the right names for dailies again.


I have produced the release like Windows build too. It is currently 
landing at 
http://dev-builds.libreoffice.org/daily/Windows_Release_Configuration/libreoffice-3-5/
It is a result of a checkout from Friday night and it should contain the 
new postgresql connector. Would be thus nice to test whether it works. 
In case you have a pgsql server to connect to.


Some packaging issues with our libreoffice-3-5 branch:
1) Although we produce a LibreOffice_Dev target, the resulting download 
packages/msi installer don't have the Dev in its name.
2) I produced an SDK installer (not uploaded though) and it has no 
mention of SDK in the name either. That is the reason I did not upload 
it because it would just confuse people.


Cheers

F.
--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] LibO daily builds on Fedora 16: oxygen GTK undefined cairo symbol

2011-12-10 Thread Lionel Elie Mamane
Hi,

I asked a bug reporter to retest with a daily, but he/she reports that
the daily doesn't run on Fedora 16; see attachment. Anybody has some
advice for him/her?

Thanks in advance,

-- 
Lionel
---BeginMessage---
https://bugs.freedesktop.org/show_bug.cgi?id=34432

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 CC||sasha.libreoff...@gmail.com

--- Comment #7 from sasha.libreoff...@gmail.com 2011-12-10 01:08:18 PST ---
(In reply to comment #6)
 I fixed a few ODBC-64bits problem in the past months and days. Could you 
 please
 test again with a daily build? Thanks a lot. Daily builds are at
 http://dev-builds.libreoffice.org/daily/

I have installed file
master~2011-12-08_16.45.19_LibO_3.5.0beta0_Linux_x86-64_install-rpm_en-US.tar.gz
on Fedora 16 64-bit with last updates
But LibO exits almost immediately and writes this in console:

create vcl plugin instance with gtk version 2 24 7
Screen
Resolution/Size   96*96 1280*1024 17,0
BlackWhite   0 16777215
RGB   0xff 0xff00 0xff
Visual24-bit TrueColor ID=0x21
/opt/lodev3.5/program/soffice.bin: symbol lookup error:
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so: undefined symbol:
cairo_surface_create_for_rectangle
Exited with code '127'

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

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


Re: [Libreoffice] LibO daily builds on Fedora 16: oxygen GTK undefined cairo symbol

2011-12-10 Thread Jean-Baptiste Faure
Hi,

Le 11/12/2011 08:13, Lionel Elie Mamane a écrit :
 Hi,
 
 I asked a bug reporter to retest with a daily, but he/she reports that
 the daily doesn't run on Fedora 16; see attachment. Anybody has some
 advice for him/her?

First of all, he/she should try with a clean profile (rename
~/.libreoffice to force LibO to create a new one)

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PARTIAL-PUSHED] [PATCH] configure.in examples: options shouldn't have quote

2011-12-10 Thread Lionel Elie Mamane
On Sun, Dec 11, 2011 at 11:47:02AM +0700, Korrawit Pruegsanusak wrote:

 I've attached two cosmetic patches of configure.in.  First patch
 fixes an example in AS_HELP_STRING. The configure options shouldn't
 be passed with quotation marks, as described in commit message.

Well, IMHO the example is correct _with_ quotation marks, else the
shell will cut it into several arguments.

For example:

 ./autogen.sh --with-theme=oxygen tango

gives:

$ ./autogen.sh --with-theme=oxygen tango
running ./configure with '--with-theme=oxygen' 'tango'
configure: WARNING: you should use --build, --host, --target

*
*   Running LibreOffice build configuration.
*


checking build system type... Invalid configuration `tango': machine `tango' 
not recognized
configure: error: /bin/bash ./config.sub tango failed
Error running configure at ./autogen.sh line 157.


On which platform have you encountered the it breaks with quotation
marks, but works without quotation marks behaviour you mention?

 Second patch is just a trivial change: --with-theme is without s.

Yes, applied this one. Thanks!

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


[Libreoffice] [PUSHED] update [PATCH]cosmetic around SDK and python

2011-12-10 Thread Lionel Elie Mamane
On Sat, Dec 10, 2011 at 10:22:28AM +0100, Laurent Godard wrote:

 I just realized that the index.html examples age still referenced
 OOo

Pushed. Thanks.

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


Re: [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Korrawit Pruegsanusak
Hello Pedro, all,

This maybe a bit off topic, but IMHO we have some general cases, for example:
* the bug is explicitly fixed in next 3.4/3.5 release, but not in
reporter's version
* the bug disappeared in next 3.4/3.5 release, without explicit fix
* the bug that isn't fixed yet since 3.3 release, and is also in 3.4/3.5 release
* the bug has been set version incorrectly
* the bug has insufficient information to triage/reproduce, and/or
inactive reporters threshold for inactivity needed
* etc (if any)

So, what should we do to each group of bugs? Anyway, I'm not sure
whether there are how many bugs in each group, or even there is any
bug in some group. Maybe we need separate discussion?

Currently 3.3.x bugs that aren't fixed yet is ~1500 [1], assuming
reporters selected correct version.
And all bugs (whether or not they're fixed) with regression keywords
in 3.4.x is ~140 [2]

[1] 
https://bugs.freedesktop.org/buglist.cgi?list_id=24340query_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=NEEDINFObug_status=PLEASETESTversion=LibO%203.3.0%20Beta2version=LibO%203.3.0%20Beta3version=LibO%203.3.0%20RC1version=LibO%203.3.0%20RC2version=LibO%203.3.0%20RC3version=LibO%203.3.0%20RC4version=LibO%203.3.0%20releaseversion=LibO%203.3.1%20RC1version=LibO%203.3.1%20releaseversion=LibO%203.3.2%20RC1version=LibO%203.3.2%20RC2version=LibO%203.3.2%20releaseversion=LibO%203.3.3%20releaseversion=LibO%203.3.4%20releaseproduct=LibreOffice
[2] 
https://bugs.freedesktop.org/buglist.cgi?keywords=regression%2C%20keywords_type=allwordslist_id=24332query_format=advancedversion=LibO%203.4.0%20Beta1version=LibO%203.4.0%20Beta2version=LibO%203.4.0%20Beta3version=LibO%203.4.0%20Beta4version=LibO%203.4.0%20Beta5version=LibO%203.4.0%20RC1version=LibO%203.4.0%20releaseversion=LibO%203.4.1%20RC1version=LibO%203.4.1%20RC2version=LibO%203.4.1%20releaseversion=LibO%203.4%20Dailyversion=LibO%203.4.2%20RC1version=LibO%203.4.2%20RC2version=LibO%203.4.2%20releaseversion=LibO%203.4.3%20RC1version=LibO%203.4.3%20releaseversion=LibO%203.4.4%20RC1version=LibO%203.4.4%20releaseproduct=LibreOffice

Best Regards,
-- 
Korrawit Pruegsanusak
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Rainer Bielefeld

Pedro Lino schrieb:


Looking at the Release Plan chart


Pedro Lino schrieb:

Hi,

I am just preparing some information concerning such regression problems 
we will discuss during next TSC call on Thursday before I publish it.


The current results are completely in accordance with Pedro's arguments 
and show that currently we have a much worse situation concerning 
unfixed regression bugs than we had for 3.4.0


CU

Rainer
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] [Libreoffice] Call for LO-3.5.0-beta1 pre-tag testing

2011-12-10 Thread Cor Nouws

Cor Nouws wrote (09-12-11 22:44)


Linux (still not uploaded):


will have to wait for those though ;-)


Was able to install today on Ubuntu 32 bits and did some simple things 
(among which 2400+ record mail merge - which goes finefast).
Saw some things that are not ok, but not yet items that are so serious, 
that it should hold us back from using this build for beta1.

Will try some more testing later/tomorrow.

Cheers,

--
 - Cor
 - http://nl.libreoffice.org

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-10 Thread Cor Nouws

Hi Pedro, *,

Pedro Lino wrote (10-12-11 12:46)


So, what should we do to each group of bugs? Anyway, I'm not sure
whether there are how many bugs in each group, or even there is any
bug in some group. Maybe we need separate discussion?


It is already for some time now, that there is need for more bug 
handling in BugZilla. Only that can lead to specific qualification and 
discussion.



This isn't simply a matter of checking and reporting bugs. It involves
the Quality of a product this Community claims to be Enterprise ready.
IMO there can be NO regressions.


Does not sound like a real life scenario, IMO. Some regressions will 
slip in now and then.



I think this is way over our (QA) heads given the sheer amount of
unfixed bugs.


There is the mechanism that gives all of us the possibility to propose 
the serious problems as most annoying. Which has been used continuously 
over the past year, and with success in the sense that bugs, also nasty 
old ones, have been fixed.


Nevertheless, I agree with the meaning of this topic:
When 3.4.5 has been released, it will take some time and a few (2, 3 ?) 
releases in the 3.5-branch to be on approximately the same level as 3.4.4/5.
So that *might* lead to a situation where again several months waiting 
is necessary to be able to profit from improvements after 3.3.x ... And 
the potential risk of this is serious, so we may not think too light 
about this.
The 'simple' solution is: make sure that the problems that are so 
serious, that you will not be able to use 3.4.x, despite the many 
improvements (also bugwise) in that branch, are well described and 
nominated 3.4-most annoying.


Does that make sense?


It doesn't seem realistic the release date of January 11  especially because
this is the Christmas season and most people here are volunteers.


Indeed, something to take into account.

Cheers,

--
 - Cor
 - http://nl.libreoffice.org

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] [Libreoffice] End of the line for 3.3 family and regressions

2011-12-10 Thread Michael Meeks
Hi Pedro,

On Fri, 2011-12-09 at 20:34 +, Pedro Lino wrote:
 E.g. A bug fix such as this
 https://bugs.freedesktop.org/show_bug.cgi?id=42958
 needs to be cherry picked to the 3.4 branch

Seems that Eike picked this to -3-4 shortly after you mentioned it ;-)
of course, if there are more annoying, but trivial / obvious fixes we
need to get into 3.4.5 it'd be great to know ASAP - the freeze for 3.4.5
RC1 is early next week, and I'd really like not to see ~anything much go
in after RC1.

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] [Libreoffice] End of the line for 3.3 family and regressions

2011-12-10 Thread Pedro Lino
Hi Michael

        Seems that Eike picked this to -3-4 shortly after you mentioned it ;-)
 of course, if there are more annoying, but trivial / obvious fixes we
 need to get into 3.4.5 it'd be great to know ASAP - the freeze for 3.4.5
 RC1 is early next week, and I'd really like not to see ~anything much go
 in after RC1.

That was just an example.

I think you missed this discussion.Please read it here
http://lists.freedesktop.org/archives/libreoffice-qa/2011-December/000623.html

--
Pedro
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


[Libreoffice-bugs] [Bug 34432] firebird ODBC: LibO hangs on 64 bits

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34432

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 CC||sasha.libreoff...@gmail.com

--- Comment #7 from sasha.libreoff...@gmail.com 2011-12-10 01:08:18 PST ---
(In reply to comment #6)
 I fixed a few ODBC-64bits problem in the past months and days. Could you 
 please
 test again with a daily build? Thanks a lot. Daily builds are at
 http://dev-builds.libreoffice.org/daily/

I have installed file
master~2011-12-08_16.45.19_LibO_3.5.0beta0_Linux_x86-64_install-rpm_en-US.tar.gz
on Fedora 16 64-bit with last updates
But LibO exits almost immediately and writes this in console:

create vcl plugin instance with gtk version 2 24 7
Screen
Resolution/Size   96*96 1280*1024 17,0
BlackWhite   0 16777215
RGB   0xff 0xff00 0xff
Visual24-bit TrueColor ID=0x21
/opt/lodev3.5/program/soffice.bin: symbol lookup error:
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so: undefined symbol:
cairo_surface_create_for_rectangle
Exited with code '127'

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43684] New: SLIDESHOW: Animation 'Start on Click' not respected.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43684

 Bug #: 43684
   Summary: SLIDESHOW: Animation 'Start on Click' not respected.
Classification: Unclassified
   Product: LibreOffice
   Version: LibO Master
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Keywords: regression
  Severity: normal
  Priority: medium
 Component: Presentation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de


Created attachment 54281
  -- https://bugs.freedesktop.org/attachment.cgi?id=54281
Sample document

Steps to reproduce:
1. Open and start attached presentation fosdem_2011.
2. Clikc until Slide 8 with blue heading Hard to look into the future.
   Expected: only paragraph Hard to look into the future. shown, 
 However, I'd like to definitely see will appear after next click
   Actual: complete slide shown immediately

I am absolutely sure that I already saw that behavior, but I can't find a
report for that.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43684] SLIDESHOW: Animation 'Start on Click' not respected.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43684

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 OS/Version|All |Windows (All)
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:25:04 PST ---
Only observed with WIN, but pretty sure that all OS are affected

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42225] SLIDESHOW: Custom animations will not show

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42225

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 OS/Version|All |Linux (All)
 CC||LibreOffice@bielefeldundbus
   ||s.de
Summary|SLIDESHOW: Custom   |SLIDESHOW: Custom
   |animations won't show   |animations will not show

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:28:21 PST ---
@j.joscha.fin...@gmail.com 
Please attach a sample document and detailed info concerning your OS version!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 38043] Custom animations UI in Impress is incredibly obtuse

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38043

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   Severity|normal  |enhancement
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:29:08 PST ---
@brenb...@yahoo.com
I believe you simply did it wrong?!
You can select multiple objects and apply the same animation for all of them,
afterwards, you only will have to modify the Start option.

Please attach a simple sample document demonstrating your problem

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43664] FILESAVE Cannot export to pdf from writer

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43664

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:49:06 PST ---
NOT reproducible with Server Installation of  LibreOffice 3.5.0 - WIN7 Home
Premium (64bit) English UI [Build ID: 35c8573-95bcc5e-4c1bcb] Win-x86@6-fast 
pull time 2011-12-09 12:44:50 
I believe this one is a DUP of Bug 43485 - FILESAVE: brings up unexpected
file has been changed message showing an other aspect of that problem.

@Nikos:
It would be great if you could do some testing with build from

Windows:
http://dev-builds.libreoffice.org/daily/Win-x86@6-fast/libreoffice-3-5/current/

MAC:
http://dev-builds.libreoffice.org/daily/MacOSX-Intel@3-OSX_10.6.0-gcc_4.0.1/libreoffice-3-5/current/

Linux:
http://dev-builds.libreoffice.org/daily/Linux-x86_10-Release_Configuration/libreoffice-3-5/current/
http://dev-builds.libreoffice.org/daily/Linux-x86_64_11-Release_Configuration/libreoffice-3-5/current/

*** This bug has been marked as a duplicate of bug 43485 ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43485] FILESAVE: brings up unexpected file has been changed message

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43485

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 CC||gdna7...@hotmail.com

--- Comment #4 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:49:06 PST ---
*** Bug 43664 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 36677] Uninstall Problems with MSI on Windows 7 64bit

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36677

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 CC||scottmitchellsanders@gmail.
   ||com

--- Comment #9 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 01:53:10 PST ---
*** Bug 43640 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43685] New: FILEOPEN: Unable to open some spreadsheets using --calc option

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43685

 Bug #: 43685
   Summary: FILEOPEN: Unable to open some spreadsheets using
--calc option
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.4 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: clan...@googlemail.com


Created attachment 54282
  -- https://bugs.freedesktop.org/attachment.cgi?id=54282
Spreadsheet showing the problem, generated by above procedure.

Problem description: 

Steps to reproduce:
1. Open LibreOffice Calc
2. Enter some text in first cell
3. Save the file as test.ods (filename not significant)
4. Select Tools  Macros  Organize Macros  LibreOffice Basic
5. Click Organiser
6. Select test.ods
7. Click New
8. Change name to ThisWorkbook and click OK (the name is significant)
9. Click Close and Close again
10. Save the document
11. Close the document
12. In a terminal in the appropriate directory attempt to open the file using
the command:
libreoffice --calc test.ods

Current behavior:
The error

Entity: line 1: parser error : Start tag expected, '' not found
PK
^

is seen in the terminal and the spreadsheet opens empty.

Expected behavior:

The spreadsheet should open.

Note that if the command
libreoffice test.ods
is used then it opens correctly

Platform:
Ubuntu 11.10 up to date.  LibreOffice installed from ubuntu repository.

Related Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/899190

I believe this is a regression introduced around two months ago as a
spreadsheet that I have started failing around that time.
It seems that the name of the module (ThisWorkbook) is significant.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43460] Replace rtl::OUString getLength()==0 with isEmpty() etc.

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43460

--- Comment #7 from Olivier Hallot olivier.hal...@documentfoundation.org 
2011-12-10 02:06:38 PST ---
Module basctl

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1688a9d9235dd2ee4f3b9497308efd41f7a3fb6f

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 41689] PRINTING Brochures does not respect page range selection

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41689

--- Comment #1 from li...@edevans.uklinux.net 2011-12-10 02:23:35 PST ---
I also find this.  Simpler test case:

Printing 4 page (8 sides, 2 sheets) brochure.  

Choose sheet 1 out of 2 (bottom left of window) 

Expect: print one side of first sheet

Result: prints both sheets instead of just 1.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43691] New: Different interpretation of empty space () in case of formulas sum(A1; C1) and A1+B1+C1

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43691

 Bug #: 43691
   Summary: Different interpretation of empty space () in case
of formulas sum(A1;C1) and A1+B1+C1
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.0 Beta0
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: andis.lazd...@gmail.com


Created attachment 54289
  -- https://bugs.freedesktop.org/attachment.cgi?id=54289
Excample of error

In file in attachment those two formulas
=IF(A1+B1+C1+D1+E1=0;;A1+B1+C1+D1+E1) and =IF(SUM(A1:E1)=0;;SUM(A1:E1))
provides different results. The first ends with error value if at least one
cell in the list contains value of empty space (). Formula with sum() works
fine. First formula works fine if the cells in the list do not contain any
values at all.

This bug do not affect 3.3.4; however, as far as I can remember it affected at
least some versions of 3.4 branch.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43691] Different interpretation of empty space () in case of formulas sum(A1; C1) and A1+B1+C1

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43691

andis.lazd...@gmail.com changed:

   What|Removed |Added

  Attachment #54289|Excample of error   |Example of error
description||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43690] UI Cancel button on Export as pdf dialog on Writter have bad behavior

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43690

Arnaud Versini arnaud.vers...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 AssignedTo|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |
 Ever Confirmed|0   |1

--- Comment #1 from Arnaud Versini arnaud.vers...@gmail.com 2011-12-10 
06:03:23 PST ---
Good news, not present in 3.5, seems to be linked to this commit also :

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d846ebeb55b1e295fb53f473f0fb2b88712e001

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43692] New: FORMATTING text:use-soft-page-breaks not honoured

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43692

 Bug #: 43692
   Summary: FORMATTING text:use-soft-page-breaks not honoured
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.4 release
  Platform: Other
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: jos...@hotmail.com


The value of the text:use-soft-page-breaks attribute of the office:text tag is
ignored (in FODT files, at any rate).

Even if it was set to false before loading the document in Writer, it is
always reset to true and text:soft-page-break tags are, as a result,
scattered throughout the document.

The effect is easily reproduceable by saving a document as FODT, manually
changing the value of the text:use-soft-page-breaks attribute, reloading the
document and saving it again. The attribute's value will now be true.

Its value also isn't configurable from Writer, at least not anyway that I was
able to find. Does that warant another ticket? Probably.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] New: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

 Bug #: 43693
   Summary: reproducable crash using target value search
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: blocker
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: kbwer...@gmx.de


Created attachment 54291
  -- https://bugs.freedesktop.org/attachment.cgi?id=54291
simple spreedsheat

Giving the task foran target value search 
with formula cell $K$248 to get a target value of zero
with changeable cell $H$5

leads reproducable to a blocking crash of libre office calc 3.4.4
(OOO340m1 (Build 402)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

Klaus Werner kbwer...@gmx.de changed:

   What|Removed |Added

   Priority|medium  |high
Version|unspecified |LibO 3.4.4 release

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

--- Comment #1 from Klaus Werner kbwer...@gmx.de 2011-12-10 06:51:24 PST ---
Comment on attachment 54291
  -- https://bugs.freedesktop.org/attachment.cgi?id=54291
simple spreedsheat

Libre Office 3.4.4 (Build 402) crashes using
target value search on cell $K$248 aimed value of zero
with changeable cell $h$5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43695] New: VIEWING for particular picture configuration broken

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43695

 Bug #: 43695
   Summary: VIEWING for particular picture configuration broken
Classification: Unclassified
   Product: LibreOffice
   Version: LibO Master
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Keywords: regression
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de


Created attachment 54293
  -- https://bugs.freedesktop.org/attachment.cgi?id=54293
Test kit

Steps how to reprocuce with Server Installation of  LibreOffice 3.5.0 - WIN7
Home Premium (64bit) English UI [Build ID: 35c8573-95bcc5e-4c1bcb]
Win-x86@6-fast  pull time 2011-12-09 12:44:50:

0. downloae / unpack attached test kit, 
1. open included sample0.odt with 3.5
2. Expected: Both logo pictures shuold be in a horizontal line (more or less)
   Actual: Bielefeld  Buß below Kundenlogo

Please compare views in Screenshots in document.

May be I used a bug in OOo 1.1 until LibO 3.4 to show the logos as I wanted?
There is a simple workaround, when I modify wrap of Kundenlogo to Through
the old look will be restored. But I have hundreds of these documents ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43696] New: SLIDESHOW: Incorrect SVG rendering

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43696

 Bug #: 43696
   Summary: SLIDESHOW: Incorrect SVG rendering
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.3.4 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Presentation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: lu...@krecan.net


Problem description: 

Steps to reproduce:
1. Download SVG image http://openclipart.org/people/dchest/MoonBook.svg
2. Insert - Picture

Current behavior:
Broken picture

Expected behavior:
Nice picture

Platform (if different from the browser): 

Browser: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101
Firefox/8.0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] SOLVER: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||LibreOffice@bielefeldundbus
   ||s.de
 Ever Confirmed|0   |1
Summary|reproducable crash using|SOLVER: reproducable crash
   |target value search   |using target value search

--- Comment #2 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 09:04:31 PST ---
NOT reproducible with reporter's sample and LibreOffice 3.4.4  - WIN7 Home
Premium (64bit) English UI [Build ID: OOO340m1 (Build:402)] using SCO
Evolutionary Aslorithm, DEPS and Linear for details see attached screenshots.
May be I'm doing a little detail different to reporter?

Might be related to Bug 43388 Crash (Runtime error) when using SCO (or DEPS)
Evolutionary Algorithm Solver

@reporter:
please:
- Attach screenshots with comments if you believe that that might explain the 
  problem better than a text comment. Best way is to insert your screenshots
  into a DRAW document and to add comments that explain what you want to show
- Contribute a step by step instruction containing every key press and every 
  mouse click how to reproduce your problem (and if possible how to created a 
  sample document from the scratch)
- add information 
  -- What algorithm you use
  -- concerning your PC (video card, ...)
  -- concerning your OS (Version, Distribution, Language)
  -- concerning your LibO localization (UI language)
  –- Libo settings that might be related to your problems 
(video hardware acceleration ...)
  -- how you launch LibO and how you opened the sample document
  –- If you can contribute an OOo Issue that might be useful
  -- everything else crossing your mind

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43659] : no suitable windowing system found, exiting

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43659

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 09:05:52 PST ---
Clone of 43651 - : no suitable windowing system found, exiting

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43652] : no suitable windowing system found, exiting

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43652

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 09:06:23 PST ---
Clone of 43651 - : no suitable windowing system found, exiting

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] SOLVER: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

--- Comment #3 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 09:12:40 PST ---
Created attachment 54295
  -- https://bugs.freedesktop.org/attachment.cgi?id=54295
Screenshot

Showing my results

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42990] EDITING Spreadsheet: Different handling of Text Cells in Calculations with SUM or addition of multiple cells

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42990

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   Severity|normal  |enhancement
 AssignedTo|libreoffice-b...@lists.free |comme...@traduction.biz
   |desktop.org |
 CC||kohei.yosh...@gmail.com
Summary|EDITING: Inconsistencies in |EDITING Spreadsheet:
   |Calculations; No error for  |Different handling of Text
   |SUM function as it skips|Cells in Calculations with
   |text fields.|SUM or addition of multiple
   ||cells
  Component|Spreadsheet |Documentation

--- Comment #9 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 09:22:08 PST ---
@Kohei, David
Can you please try to get Help and Documentation more instructive concerning
intentions of the observed behavior?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43422] Spell check: Crash Runtime Error with AutoSpellcheck

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43422

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #6 from Julien Nabet serval2...@yahoo.fr 2011-12-10 09:24:27 UTC 
---
Could anybody attach a backtrace with symbol or some error messages ?
I don't reproduce this problem on Debian testing but since it's a Windows only
bug...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43697] New: Extension Manageer: Could not create Java implementation loader

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43697

 Bug #: 43697
   Summary: Extension Manageer: Could not create Java
implementation loader
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4 Daily
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Extensions
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: alectayl...@gmail.com


Created attachment 54297
  -- https://bugs.freedesktop.org/attachment.cgi?id=54297
Error

I was getting problems with Zotero, so I uninstalled it completely from
LibreOffice Writer.

I then added it back in manually (by extracting the xpi).

When I add it in, I get the attached error.

How can I get this to work?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43654] Logs out when this file is opened

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43654

Jean-Baptiste Faure jbf.fa...@orange.fr changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
 CC||jbf.fa...@orange.fr

--- Comment #1 from Jean-Baptiste Faure jbf.fa...@orange.fr 2011-12-10 
10:10:17 PST ---
I do not reproduce with libreoffice-3-5 branch (LibreOffice 3.5.0 
Version ID : 8c76391-7f15fca-1f1fd1a-ca8e46d-5bcbce4) under Ubuntu 10.04 x86_64
with FR langpack.
nor with master (LibreOffice 3.5.0 Version ID :
dc61ebd-b204871-9317aa0-4c1bcb5-02ece8a)
nor with LibreOffice 3.4.4 with FR langpack.
nor with LibreOffice 3.3.2 from Ubuntu PPA for Ubuntu 10.04.

Attached the pdf exported by (next) LO 3.5.0.

Please, could be possible you try the current release (LO 3.4.4) ?

Best regards. JBF

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 40688] Datapilot Filter function do not work if page field is selected

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40688

--- Comment #1 from andis.lazd...@gmail.com 2011-12-10 10:31:23 PST ---
This bug is solved in 3.5 beta (Ubuntu 11.10)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43699] New: Extract, copy or export Chart data tables from Charts in Writer documents

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43699

 Bug #: 43699
   Summary: Extract, copy or export Chart data tables from Charts
in Writer documents
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: All
OS/Version: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Chart
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: andis.lazd...@gmail.com


It would be very, very great improvement to the Chart component, if it would be
possible to extract somehow Chart data tables to use them separately as tables,
like to add data, to do some calculations etc. Alternative option is to use
separate spreadsheets to store charts, but it is not at all a good and
efficient way to work.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43700] ROWS() and COLUMNS() don't work with external references

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43700

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|libreoffice-b...@lists.free |er...@redhat.com
   |desktop.org |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43701] New: [Task] VIEWING: Unify icon behavior for active functions

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43701

 Bug #: 43701
   Summary: [Task] VIEWING: Unify icon behavior for active
functions
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: UI
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de


This is the Meta issue to track Bugs concerning problems continuing
incosnistence in Icon behavior indicating whether a function is active or
inactive.

If you find a Bug  please add the Bug ID as dependent Bug here to the Meta Bug
in field Depends on. Additionally please leave a comment here containing the
bug Subject line.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 34413] Menu entry Hyperlink bar not checked if activated

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34413

Bug 34413 depends on bug 31471, which changed state.

Bug 31471 Summary: EasyHacks: iDRAW-UI: context menu for grid shows opposite of 
current behaviour
https://bugs.freedesktop.org/show_bug.cgi?id=31471

   What|Old Value   |New Value

 Resolution|WORKSFORME  |
 Status|RESOLVED|REOPENED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 41264] FORMATTING UI : no check marks in Line Spacing and ALignment popup menu

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41264

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 AssignedTo|libreoffice-b...@lists.free |timofeev@gmail.com
   |desktop.org |
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-12-10 11:09:18 PST ---
Still with Server Installation of  LibreOffice 3.5.0 - WIN7 Home Premium
(64bit) English UI [Build ID: 35c8573-95bcc5e-4c1bcb] Win-x86@6-fast  pull time
2011-12-09 12:44:50 

@Ivan:
Please feel free to reassign (or reset Assignee to default) if it’s not your
area or if provided information is not sufficient. Please set Status to
ASSIGNED if you accept this Bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 40607] Previously-saved LibreOffice document lost by power outage (became 0 bytes long) - LibreOffice should call fsync

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40607

Christopher M. Penalver christopher.penal...@gmx.com changed:

   What|Removed |Added

   Severity|normal  |critical

--- Comment #5 from Christopher M. Penalver christopher.penal...@gmx.com 
2011-12-10 11:12:05 PST ---
Severity  Critical since this scenario causes data loss.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43702] New: libreoffice 3.5 writer crashes when directly spellchecking and writing user defined directory

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43702

 Bug #: 43702
   Summary: libreoffice 3.5 writer crashes when directly
spellchecking and writing user defined directory
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.0 Beta0
  Platform: x86 (IA32)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: blocker
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: e...@arcor.de


tested on beta0 3.5 2011-12-09 12-44-50 an previous versions.

open a new writer file.
write jhgkjhgk or someone unknown word.
it becomes red underlined cause the word is unknown.
click at this word, right-click to enter the word to your user-defined
dictionary.
in this moment lo 3.5 crashes.

wonderful: recovering is working even with big documents!

tested on windows 7 64. Language is german, tested with the english version,
perhaps it somewhat depends on the correct setting of language?
no problems when serching the document with the v-button, the misspelled word
is found an it can be correctly written to the dictionary.


no problems with lo 3.4.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] SOLVER: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

--- Comment #4 from Klaus Werner kbwer...@gmx.de 2011-12-10 11:13:36 PST ---
Created attachment 54305
  -- https://bugs.freedesktop.org/attachment.cgi?id=54305
Zielwertsuche

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] SOLVER: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

--- Comment #5 from Klaus Werner kbwer...@gmx.de 2011-12-10 11:20:01 PST ---
Comment on attachment 54305
  -- https://bugs.freedesktop.org/attachment.cgi?id=54305
Zielwertsuche

Lade ich die Tabelle in Excel erhalte ich 
problemlos als Zielwert 3,73922738630465%

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43693] SOLVER: reproducable crash using target value search

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43693

--- Comment #6 from Klaus Werner kbwer...@gmx.de 2011-12-10 12:25:59 PST ---
Created attachment 54306
  -- https://bugs.freedesktop.org/attachment.cgi?id=54306
Screenshoot

Ändere ich die Bedingungen für Solve minimal ab
(in $K$247 den Wert 260 erzielen bei änderbarem $H$5)

zeigt der Solver nach ca 30 Sekunden den Lösungswert 260,
rechnet aber weiter bis nach 3 Minuten das Programm nicht mehr ansprechbar ist.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43703] New: EDITING: Graphing boost::numeric::boundsdouble::highest() causes a crash!

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43703

 Bug #: 43703
   Summary: EDITING: Graphing
boost::numeric::boundsdouble::highest() causes a
crash!
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.4 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: lednakas...@yahoo.com


Problem description: 

Steps to reproduce:
1. Paste range with document with the boost::numeric::boundsdouble::lowest();
and boost::numeric::boundsdouble::highest();

For ease of debugging: here is the csv I used:
0
-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0
 
1 0.0 
2 0.0 
3 0.0 
4 0.0 
5 0.0 
6 0.0 
7 0.0 
8 0.0 
9 0.0 
10 0.0 
11 0.0 
12 0.0 
13 0.0 
14 0.0 
15 0.0 
16 0.0 
17 0.0 
18 0.0 
19 0.0 
20 0.0 
21 0.0 
22 0.0 
23 0.0 
24 0.0 
25 0.0 
26 0.0 
27 0.0 
28 0.0 
29 0.0 
30 0.0 
31 0.0 
32 0.0 
33 0.0 
34 0.0 
35 0.0 
36 0.0 
37 0.0 
38 0.0 
39 0.0 
40 6035331.6326602436602 
41 6035331.6326602436602 
42 0.0 
43 0.0 
44 0.0 
45 0.0 
46 0.0 
47 0.0 
48 2640877.185341625 
49 2640877.185341625 
50 0.0 
51 0.0 
52 0.0 
53 0.0 
54 0.0 
55 0.0 
56 0.0 
57 0.0 
58 0.0 
59 0.0 
60 0.0 
61 0.0 
62 0.0 
63 0.0 
64 0.0 
65 0.0 
66 0.0 
67 0.0 
68 0.0 
69 0.0 
70 0.0 
71 0.0 
72 0.0 
73 0.0 
74 0.0 
75 0.0 
76 0.0 
77 0.0 
78 6166489.7122050132602 
79 6166489.7122050132602 
80 0.0 
81 0.0 
82 0.0 
83 0.0 
84 0.0 
85 0.0 
86 0.0 
87 0.0 
88 0.0 
89 0.0 
90 0.0 
91 0.0 
92 0.0 
93 0.0 
94 0.0 
95 0.0 
96 0.0 
97 0.0 
98 0.0 
99 0.0 
100 0.0 
101 0.0 
102 0.0 
103 0.0 
104 0.0 
105 0.0 
106 0.0 
107 0.0 
108 0.0 
109 0.0 
110 0.0 
111 0.0 
112 0.0 
113 0.0 
114 4775836.4885553633794 
115 4775836.4885553633794 
116 0.0 
117 0.0 
118 0.0 
119 1581721.2089172124397 
120 1581721.2089172124397 
121 0.0 
122 0.0 
123 0.0 
124 0.0 
125 0.0 
126 3011429.7150874072686 
127 3011429.7150874072686 
128 0.0 
129 0.0 
130 0.0 
131 3975370.7837205422111 
132 3975370.7837205422111 
133 0.0 
134 0.0 
135 5709737.4193177400157 
136 5709737.4193177400157 
137 0.0 
138 0.0 
139 0.0 
140 0.0 
141 0.0 
142 0.0 
143 0.0 
144 0.0 
145 0.0 
146 0.0 
147 0.0 
148 0.0 
149 0.0 
150 0.0 
151 0.0 
152 0.0 
153 0.0 
154 0.0 
155 0.0 
156 0.0 
157 0.0 
158 0.0 
159 0.0 
160 0.0 
161 5852615.3022071262822 
162 5852615.3022071262822 
163 0.0 
164 0.0 
165 0.0 
166 0.0 
167 0.0 
168 0.0 
169 0.0 
170 0.0 
171 0.0 
172 0.0 
173 0.0 
174 0.0 
175 0.0 
176 0.0 
177 0.0 
178 0.0 
179 7460111.9955185158178 
180 7460111.9955185158178 
181 0.0 
182 0.0 
183 

[Libreoffice-bugs] [Bug 40607] Previously-saved LibreOffice document lost by power outage (became 0 bytes long) - LibreOffice should call fsync

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40607

--- Comment #6 from Tor Lillqvist tlillqv...@suse.com 2011-12-10 13:53:51 PST 
---
Why do you think an example using Java, on Android even (comment #3) has
relevance for LibreOffice? Just asking in case you think LibreOffice is written
in Java...

Also a disk crash causes data loss. If you are working on important documents,
without doing backups to another device (preferrably a removable or remote
one), they can't be that important after all.

Is LibreOffice the new dog that eats homework?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 40607] Previously-saved LibreOffice document lost by power outage (became 0 bytes long) - LibreOffice should call fsync

2011-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40607

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

 CC||michael.me...@novell.com

--- Comment #7 from Michael Meeks michael.me...@novell.com 2011-12-10 
14:01:56 UTC ---
This is a tricky area. It is fine to ask people to call fsync like drunken
sailors on ext4 or btrfs - the costs are low; however for ext3 systems an
'fsync' can take many seconds to complete (if one has not been run recently)
during which the entire system is un-responsive to I/O and the user feels like
everything has crashed/locked. There is a monster kernel I/O bug about this
IIRC that never goes anywhere.

So - it is a nuanced issue. We should look at what sequence we are using to
re-write that file.

IIRC, if we use an atomic 'rename' then we should be guarenteed to get either
the old or the new file, and not a zero length one; so prolly we should do
that. Though of course this interacts nastily with the tangled locking code (no
doubt).

Anyhow, I'm sympathetic to the idea of an fsync; except for the still rather
widely deployed ext3 world where it is a potential LibreOffice wedges my
machine when I save problem that is a royal PITA. Of course, for ourselves, we
could do the 'fsync' aynchronously; with some horrible 'fsync thread', but ...
it's all rather a mess.

We'd need to see if 'rename' will work at all with the locking semantics, and
whatever odd-ball remote file-systems we're supposed to work with.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   >