[Libreoffice-commits] .: 2 commits - sal/inc sc/source

2012-02-03 Thread David Tardon
 sal/inc/sal/log-areas.dox|4 
 sc/source/ui/view/output.cxx |2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 064990eb8849a8c1eda8960fafb31f28ac114a5e
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 3 10:01:35 2012 +0100

add sc.ui log area

diff --git a/sal/inc/sal/log-areas.dox b/sal/inc/sal/log-areas.dox
index 074f1b2..1af17a3 100644
--- a/sal/inc/sal/log-areas.dox
+++ b/sal/inc/sal/log-areas.dox
@@ -13,6 +13,10 @@ a new area, use it and add it to the list in the proper 
section with an explanat
 This list should give you an overview of which areas to enable when debugging
 certain functionality.
 
+@section Calc
+
+@li sc.ui - Calc's UI
+
 @section oox
 
 @li oox.xmlstream - XmlStream class
commit 96ea52dbd1ca409625cd0378a18f6bf13a7da86b
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 3 09:59:18 2012 +0100

fix build breaker with --enable-debug

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index cfa44de..b80bfdc 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -149,7 +149,7 @@ void ScActionColorChanger::Update( const ScChangeAction 
rAction )
 if (it == rUsers.end())
 {
 // empty string is possible if a name wasn't found while 
saving a 5.0 file
-OSL_ENSURE( aLastUserName.Len() == 0, Author not found );
+SAL_INFO_IF( aLastUserName.isEmpty(), sc.ui, Author not 
found );
 nLastUserIndex = 0;
 }
 else
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: postgresql/makefile.mk postgresql/postgresql-9.1.1-configure.patch

2012-02-03 Thread Stephan Bergmann
 postgresql/makefile.mk  |8 
 postgresql/postgresql-9.1.1-configure.patch |  362 
 2 files changed, 369 insertions(+), 1 deletion(-)

New commits:
commit c16027de8423cdb6b33ce5f5f9e13fdc25b9dbeb
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 3 10:55:28 2012 +0100

Fix order in which postgresql searches for libs

...so that it does not miss any required libs due to picking up others first
that indirectly provide the required symbols; that would break our
libpq-flags.mk which should contain all the required libs when linking in 
the
static libpq.a.

diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 0c2e3be..44b7e6f 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -41,7 +41,13 @@ TARFILE_MD5=061a9f17323117c9358ed60f33ecff78
 PATCH_FILES=\
postgresql-moz-ldap.patch \
$(TARFILE_NAME)-libreoffice.patch \
-   $(TARFILE_NAME)-autoreconf.patch
+   $(TARFILE_NAME)-autoreconf.patch \
+postgresql-9.1.1-configure.patch
+# postgresql-9.1.1-configure.patch: move check for with_krb5 before 
with_gssapi,
+#  so that LIBS does not already contain -lgssapi_krb5 (which links against
+#  -lkrb5) when looking for symbols from -lkrb5, and within with_krb5, move
+#  com_err before krb5, so that looking with symbol com_err does not 
erroneously
+#  pick -lkrb5 (which links against -lcom_err) instead of -lcom_err
 
 .IF $(SYSTEM_POSTGRESQL) == YES
 @all:
diff --git a/postgresql/postgresql-9.1.1-configure.patch 
b/postgresql/postgresql-9.1.1-configure.patch
new file mode 100644
index 000..6fcec5a
--- /dev/null
+++ b/postgresql/postgresql-9.1.1-configure.patch
@@ -0,0 +1,362 @@
+--- misc/postgresql-9.1.1/configure2012-02-03 10:19:18.695680048 +0100
 misc/build/postgresql-9.1.1/configure  2012-02-03 10:17:27.545617462 
+0100
+@@ -8572,11 +8572,11 @@
+ *** Not using spinlocks will cause poor performance. 2;}
+ fi
+ 
+-if test $with_gssapi = yes ; then
++if test $with_krb5 = yes ; then
+   if test $PORTNAME != win32; then
+-{ $as_echo $as_me:$LINENO: checking for library containing 
gss_init_sec_context 5
+-$as_echo_n checking for library containing gss_init_sec_context...  6; }
+-if test ${ac_cv_search_gss_init_sec_context+set} = set; then
++ { $as_echo $as_me:$LINENO: checking for library containing com_err 5
++$as_echo_n checking for library containing com_err...  6; }
++if test ${ac_cv_search_com_err+set} = set; then
+   $as_echo_n (cached)  6
+ else
+   ac_func_search_save_LIBS=$LIBS
+@@ -8593,16 +8593,16 @@
+ #ifdef __cplusplus
+ extern C
+ #endif
+-char gss_init_sec_context ();
++char com_err ();
+ int
+ main ()
+ {
+-return gss_init_sec_context ();
++return com_err ();
+   ;
+   return 0;
+ }
+ _ACEOF
+-for ac_lib in '' gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
++for ac_lib in '' com_err 'com_err -lssl -lcrypto' krb5 'krb5 -lcrypto -ldes 
-lasn1 -lroken'; do
+   if test -z $ac_lib; then
+ ac_res=none required
+   else
+@@ -8630,7 +8630,7 @@
+test $cross_compiling = yes ||
+$as_test_x conftest$ac_exeext
+}; then
+-  ac_cv_search_gss_init_sec_context=$ac_res
++  ac_cv_search_com_err=$ac_res
+ else
+   $as_echo $as_me: failed program was: 5
+ sed 's/^/| /' conftest.$ac_ext 5
+@@ -8641,40 +8641,33 @@
+ rm -rf conftest.dSYM
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+   conftest$ac_exeext
+-  if test ${ac_cv_search_gss_init_sec_context+set} = set; then
++  if test ${ac_cv_search_com_err+set} = set; then
+   break
+ fi
+ done
+-if test ${ac_cv_search_gss_init_sec_context+set} = set; then
++if test ${ac_cv_search_com_err+set} = set; then
+   :
+ else
+-  ac_cv_search_gss_init_sec_context=no
++  ac_cv_search_com_err=no
+ fi
+ rm conftest.$ac_ext
+ LIBS=$ac_func_search_save_LIBS
+ fi
+-{ $as_echo $as_me:$LINENO: result: $ac_cv_search_gss_init_sec_context 5
+-$as_echo $ac_cv_search_gss_init_sec_context 6; }
+-ac_res=$ac_cv_search_gss_init_sec_context
++{ $as_echo $as_me:$LINENO: result: $ac_cv_search_com_err 5
++$as_echo $ac_cv_search_com_err 6; }
++ac_res=$ac_cv_search_com_err
+ if test $ac_res != no; then
+   test $ac_res = none required || LIBS=$ac_res $LIBS
+ 
+ else
+-  { { $as_echo $as_me:$LINENO: error: could not find function 
'gss_init_sec_context' required for GSSAPI 5
+-$as_echo $as_me: error: could not find function 'gss_init_sec_context' 
required for GSSAPI 2;}
++  { { $as_echo $as_me:$LINENO: error: could not find function 'com_err' 
required for Kerberos 5 5
++$as_echo $as_me: error: could not find function 'com_err' required for 
Kerberos 5 2;}
+{ (exit 1); exit 1; }; }
+ fi
+ 
+-  else
+-LIBS=$LIBS -lgssapi32
+-  fi
+-fi
+-
+-if test $with_krb5 = yes ; then
+-  if test $PORTNAME != win32; then
+- { $as_echo $as_me:$LINENO: checking for library containing com_err 5
+-$as_echo_n checking for library containing com_err...  6; }
+-if test ${ac_cv_search_com_err+set} = set; 

[Libreoffice-commits] .: configure.in

2012-02-03 Thread Jani Monoses
 configure.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3aabdb9a12b550c0c3a537adf4517d5676dec69
Author: Jani Monoses j...@ubuntu.com
Date:   Fri Feb 3 11:58:25 2012 +0200

Fix typo in configure message

diff --git a/configure.in b/configure.in
index 6009518..ce50406 100644
--- a/configure.in
+++ b/configure.in
@@ -4951,7 +4951,7 @@ linux-gnu*)
 JAVA_TOOLKIT=server
 ;;
 *)
-AC_MSG_ERROR([No JAVALIB defintion host_cpu $host_cpu for host_os 
$host_os])
+AC_MSG_ERROR([No JAVALIB definition host_cpu $host_cpu for host_os 
$host_os])
 ;;
 esac
 ;;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: configure.in

2012-02-03 Thread Jani Monoses
 configure.in |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 40991706e4343789015432331d5be93fd7abe373
Author: Jani Monoses j...@ubuntu.com
Date:   Fri Feb 3 12:09:02 2012 +0200

Fix configure step on various arm linux targets.

Use arm* wildcard to match armel|armv7l|arm etc.

diff --git a/configure.in b/configure.in
index ce50406..d9979e2 100644
--- a/configure.in
+++ b/configure.in
@@ -2732,7 +2732,7 @@ linux-gnu*)
 CPUNAME=AXP
 OUTPATH=unxlngaxp
 ;;
-armel)
+arm*)
 CPU=R
 CPUNAME=ARM
 OUTPATH=unxlngr
@@ -4872,7 +4872,7 @@ linux-gnu*)
 JAVA_ARCH=alpha
 JAVA_TOOLKIT=server
 ;;
-arm)
+arm*)
 JAVA_ARCH=arm
 JAVA_TOOLKIT=server
 ;;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sc/source

2012-02-03 Thread Stephan Bergmann
 sc/source/ui/docshell/docsh3.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1085f3ee2f67e955a05efdc7a4a8feb8f6d718d9
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 3 11:18:41 2012 +0100

Missing String - OUString

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 349a7a8..f5692ef 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -955,7 +955,7 @@ void ScDocShell::MergeDocument( ScDocument rOtherDoc, bool 
bShared, bool bCheck
 //! ??? Loesch-Aktion rueckgaengig machen ???
 //! ??? Aktion irgendwo anders speichern  ???
 #if OSL_DEBUG_LEVEL  0
-String aValue;
+rtl::OUString aValue;
 if ( eSourceType == SC_CAT_CONTENT )
 ((const 
ScChangeActionContent*)pSourceAction)-GetNewString( aValue );
 rtl::OStringBuffer aError(rtl::OUStringToOString(aValue,
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - README.cross

2012-02-03 Thread Tor Lillqvist
 README.cross |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e8555dce94c12307f2aeff9fb1543749b97cf41c
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 12:22:43 2012 +0200

Add --with-android-sdk and --with-ant-home to the Android from Linux sample

diff --git a/README.cross b/README.cross
index f3c62b2..3c9b4f7 100644
--- a/README.cross
+++ b/README.cross
@@ -339,6 +339,8 @@ And here is an autogen.lastrun for Android when 
cross-compiling from Linux:
 CC_FOR_BUILD=ccache gcc
 CXX_FOR_BUILD=ccache g++
 --with-android-ndk=/home/tml/android-ndk-r7
+--with-android-sdk=/home/tml/android-sdk-linux_x86
+--with-ant-home=/opt/apache-ant-1.8.2
 --build=x86_64-unknown-linux-gnu
 --disable-zenity
 --with-distro=LibreOfficeAndroid
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: oox/source

2012-02-03 Thread Muthu Subramanian
 oox/source/drawingml/textparagraphpropertiescontext.cxx |7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit a71c878cd0b443a0d8473d8e4eb43d66f37ce2c0
Author: Muthu Subramanian sumu...@suse.com
Date:   Fri Feb 3 16:20:34 2012 +0530

n#744509: Alignment of text is wrong.

According to section 21.1.2.2.7 [pPr], If this [algn]
attribute is omitted, then a value of left is implied.

diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx 
b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index 9d06ae1..d3c91cd 100644
--- a/oox/source/drawingml/textparagraphpropertiescontext.cxx
+++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx
@@ -64,12 +64,7 @@ 
TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler
 PropertyMap rPropertyMap( 
mrTextParagraphProperties.getTextParagraphPropertyMap() );
 
 // ST_TextAlignType
-if ( xAttribs-hasAttribute( XML_algn ) )
-{
-sal_Int32 nAlign = xAttribs-getOptionalValueToken( XML_algn, XML_l );
-rPropertyMap[ PROP_ParaAdjust ] = GetParaAdjust( nAlign );
-}
-//  OSL_TRACE( OOX: para adjust %d, GetParaAdjust( nAlign ));
+rPropertyMap[ PROP_ParaAdjust ] = GetParaAdjust( 
xAttribs-getOptionalValueToken( XML_algn, XML_l ) );
 // TODO see to do the same with RubyAdjust
 
 // ST_Coordinate32
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - 3 commits - android/Bootstrap android/qa configure.in

2012-02-03 Thread Tor Lillqvist
 android/Bootstrap/local.properties.in |2 ++
 android/qa/desktop/Makefile   |7 ---
 android/qa/sc/Makefile|6 +++---
 configure.in  |3 ++-
 4 files changed, 11 insertions(+), 7 deletions(-)

New commits:
commit 10d74d9afe286aeb9a19a9943dbeaa17a499e202
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 12:47:05 2012 +0200

Need also android/Bootstrap/local.properties

diff --git a/android/Bootstrap/local.properties.in 
b/android/Bootstrap/local.properties.in
new file mode 100644
index 000..27c8eb5
--- /dev/null
+++ b/android/Bootstrap/local.properties.in
@@ -0,0 +1,2 @@
+# Location of the SDK. This is only used by Ant.
+sdk.dir=@ANDROID_SDK_HOME@
diff --git a/configure.in b/configure.in
index 9a348e3..3e6ba1c 100644
--- a/configure.in
+++ b/configure.in
@@ -2960,6 +2960,7 @@ if test $cross_compiling = yes; then
 tar cf - \
 bin/repo-list.in \
 build_env.in \
+android/Bootstrap/local.properties.in \
 android/qa/sc/local.properties.in \
 android/qa/desktop/local.properties.in \
 config.guess \
@@ -10486,7 +10487,7 @@ else
 echo  set_soenv.last
 fi
 
-AC_CONFIG_FILES([config_host.mk ooo.lst set_soenv bin/repo-list build_env 
android/qa/sc/local.properties android/qa/desktop/local.properties])
+AC_CONFIG_FILES([config_host.mk ooo.lst set_soenv bin/repo-list build_env 
android/Bootstrap/local.properties android/qa/sc/local.properties 
android/qa/desktop/local.properties])
 AC_OUTPUT
 
 # touch the config timestamp file set_soenv.stamp
commit b2aafed24427b8a803892020b5a260404ade0074
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 12:46:19 2012 +0200

Use $ANT

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index d5e93be..ec568b6 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -235,11 +235,11 @@ copy-stuff: buildrcs
 
 
 build-ant: copy-stuff
-   unset JAVA_HOME  ant debug
+   unset JAVA_HOME  $ANT debug
 
 install: copy-stuff
adb shell rm -r $(APP_DATA_PATH)
-   unset JAVA_HOME  ant debug install
+   unset JAVA_HOME  $ANT debug install
@echo
@echo 'Run it with make run'
@echo
@@ -260,6 +260,6 @@ stop-start-cycle:
adb shell stop  adb shell start  sleep 10
 
 clean:
-   ant clean
+   $ANT clean
rm -rf assets $(SODEST) $(OBJLOCAL)
 
diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile
index 84341ab..ad07d28 100644
--- a/android/qa/sc/Makefile
+++ b/android/qa/sc/Makefile
@@ -165,10 +165,10 @@ copy-stuff:
 
 
 build-ant: copy-stuff
-   unset JAVA_HOME  ant debug
+   unset JAVA_HOME  $ANT debug
 
 install: copy-stuff
-   unset JAVA_HOME  ant debug install
+   unset JAVA_HOME  $ANT debug install
@echo
@echo 'Run it with make run'
@echo
@@ -199,6 +199,6 @@ redirect-stdio:
adb shell stop  adb shell setprop log.redirect-stdio true  adb 
shell start
 
 clean:
-   ant clean
+   $ANT clean
rm -rf assets $(SODEST) $(OBJLOCAL)
 
commit 0bed666e281467c4ddd956e95ae1dbe65a60c238
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 12:44:46 2012 +0200

Need liblnglo too

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index 553aefe..d5e93be 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -136,6 +136,7 @@ copy-stuff: buildrcs
  icuuclo \
  jvmaccessgcc3 \
  jvmfwk \
+ lnglo \
  localebe1.uno \
  localedata_en \
  localedata_es \
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - configure.in postgresql/makefile.mk postgresql/postgresql-9.1.1-autoreconf.patch postgresql/postgresql-9.1.1-configure.patch postgresql/postgresql-libs-leak.patch

2012-02-03 Thread Lionel Elie Mamane
 configure.in |8 
 postgresql/makefile.mk   |9 
 postgresql/postgresql-9.1.1-autoreconf.patch |  326 
 postgresql/postgresql-9.1.1-configure.patch  |  362 ---
 postgresql/postgresql-libs-leak.patch|   39 ++
 5 files changed, 369 insertions(+), 375 deletions(-)

New commits:
commit 3364fcc5a550fae001b24f4303a978662bb7c70f
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Fri Feb 3 11:57:55 2012 +0100

enable Kerberos by default on DragonFly, too

diff --git a/configure.in b/configure.in
index 640a47b..6c255bb 100644
--- a/configure.in
+++ b/configure.in
@@ -6159,7 +6159,7 @@ if test x$enable_postgresql_sdbc != xno; then
 AC_MSG_ERROR([Refusing to enable MIT Kerberos 5 or GSSAPI on 
Microsoft Windows.])
 fi
 ;;
-Linux|GNU|*BSD)
+Linux|GNU|*BSD|DragonFly)
 if test $with_krb5 != no; then
 WITH_KRB5=YES
 AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
commit d8b5d223877ea743f35424582284c15444e78a15
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Fri Feb 3 11:56:48 2012 +0100

redo c16027de8423cdb6b33ce5f5f9e13fdc25b9dbeb cleaner

Also align our configure.in to the changes
Change source file (configure.in), not only generated file (configure)

diff --git a/configure.in b/configure.in
index d9979e2..640a47b 100644
--- a/configure.in
+++ b/configure.in
@@ -6143,7 +6143,7 @@ if test x$enable_postgresql_sdbc != xno; then
 # MacOS X has system MIT Kerberos 5 since 10.4
 if test $with_krb5 != no; then
 WITH_KRB5=YES
-AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' 
com_err 'com_err -lssl -lcrypto'], [],
+AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
 [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
 [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
@@ -6162,7 +6162,7 @@ if test x$enable_postgresql_sdbc != xno; then
 Linux|GNU|*BSD)
 if test $with_krb5 != no; then
 WITH_KRB5=YES
-AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' 
com_err 'com_err -lssl -lcrypto'], [],
+AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
 [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
 [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
@@ -6176,7 +6176,7 @@ if test x$enable_postgresql_sdbc != xno; then
 *)
 if test $with_krb5 = yes; then
 WITH_KRB5=YES
-AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' 
com_err 'com_err -lssl -lcrypto'], [],
+AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
 [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
 [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk
index 44b7e6f..2d814bd 100644
--- a/postgresql/makefile.mk
+++ b/postgresql/makefile.mk
@@ -40,14 +40,9 @@ TARFILE_NAME=postgresql-9.1.1
 TARFILE_MD5=061a9f17323117c9358ed60f33ecff78
 PATCH_FILES=\
postgresql-moz-ldap.patch \
+   postgresql-libs-leak.patch \
$(TARFILE_NAME)-libreoffice.patch \
-   $(TARFILE_NAME)-autoreconf.patch \
-postgresql-9.1.1-configure.patch
-# postgresql-9.1.1-configure.patch: move check for with_krb5 before 
with_gssapi,
-#  so that LIBS does not already contain -lgssapi_krb5 (which links against
-#  -lkrb5) when looking for symbols from -lkrb5, and within with_krb5, move
-#  com_err before krb5, so that looking with symbol com_err does not 
erroneously
-#  pick -lkrb5 (which links against -lcom_err) instead of -lcom_err
+   $(TARFILE_NAME)-autoreconf.patch
 
 .IF $(SYSTEM_POSTGRESQL) == YES
 @all:
diff --git a/postgresql/postgresql-9.1.1-autoreconf.patch 
b/postgresql/postgresql-9.1.1-autoreconf.patch
index 24e294a..ce91c51 100644
--- a/postgresql/postgresql-9.1.1-autoreconf.patch
+++ b/postgresql/postgresql-9.1.1-autoreconf.patch
@@ -1,6 +1,6 @@
 diff --recursive -u misc/build/postgresql-9.1.1/configure 
misc/build/postgresql-9.1.1.patched/configure
 --- misc/build/postgresql-9.1.1/configure  2011-09-22 23:57:57.0 
+0200
-+++ 

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

2012-02-03 Thread Michael Stahl
 editeng/source/items/borderline.cxx |   16 
 1 file changed, 16 insertions(+)

New commits:
commit e44b64d297293b83459fddda968923750e2f6a5b
Author: Eike Rathke er...@redhat.com
Date:   Thu Feb 2 19:11:37 2012 +0100

resolved fdo#42784 BorderLine with only InnerWidth set does not work
(cherry picked from commit 971f826a96f0938bfcfd8dfe26edd50d8e031bb4)

Signed-off-by: Michael Stahl mst...@redhat.com

diff --git a/editeng/source/items/borderline.cxx 
b/editeng/source/items/borderline.cxx
index 61cecce..d15f53c 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -300,6 +300,22 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle 
nStyle, sal_uInt16 nOut, sa
 else
 {
 SetStyle( nStyle );
+if (nOut == 0  nIn  0)
+{
+// If only inner width is given swap inner and outer widths for
+// single line styles, otherwise GuessWidth() marks this as invalid
+// and returns a 0 width.
+switch (nStyle)
+{
+case SOLID:
+case DOTTED:
+case DASHED:
+::std::swap( nOut, nIn);
+break;
+default:
+;   // nothing
+}
+}
 m_nWidth = m_aWidthImpl.GuessWidth( nOut, nIn, nDist );
 }
 }
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - android/qa

2012-02-03 Thread Tor Lillqvist
 android/qa/desktop/Makefile |6 +++---
 android/qa/sc/Makefile  |6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit db1ade41bf6c878753801ed241d6bd1d94466e12
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 13:11:03 2012 +0200

Fix braino

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index ec568b6..3d11362 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -235,11 +235,11 @@ copy-stuff: buildrcs
 
 
 build-ant: copy-stuff
-   unset JAVA_HOME  $ANT debug
+   unset JAVA_HOME  $(ANT) debug
 
 install: copy-stuff
adb shell rm -r $(APP_DATA_PATH)
-   unset JAVA_HOME  $ANT debug install
+   unset JAVA_HOME  $(ANT) debug install
@echo
@echo 'Run it with make run'
@echo
@@ -260,6 +260,6 @@ stop-start-cycle:
adb shell stop  adb shell start  sleep 10
 
 clean:
-   $ANT clean
+   $(ANT) clean
rm -rf assets $(SODEST) $(OBJLOCAL)
 
diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile
index ad07d28..59ad5fb 100644
--- a/android/qa/sc/Makefile
+++ b/android/qa/sc/Makefile
@@ -165,10 +165,10 @@ copy-stuff:
 
 
 build-ant: copy-stuff
-   unset JAVA_HOME  $ANT debug
+   unset JAVA_HOME  $(ANT) debug
 
 install: copy-stuff
-   unset JAVA_HOME  $ANT debug install
+   unset JAVA_HOME  $(ANT) debug install
@echo
@echo 'Run it with make run'
@echo
@@ -199,6 +199,6 @@ redirect-stdio:
adb shell stop  adb shell setprop log.redirect-stdio true  adb 
shell start
 
 clean:
-   $ANT clean
+   $(ANT) clean
rm -rf assets $(SODEST) $(OBJLOCAL)
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-4' - editeng/source

2012-02-03 Thread Michael Stahl
 editeng/source/items/borderline.cxx |   16 
 1 file changed, 16 insertions(+)

New commits:
commit 4b410ce0e8d70f57e341ca513118ec67f69dd25e
Author: Eike Rathke er...@redhat.com
Date:   Thu Feb 2 19:11:37 2012 +0100

resolved fdo#42784 BorderLine with only InnerWidth set does not work

(cherry picked from commit 971f826a96f0938bfcfd8dfe26edd50d8e031bb4)

Signed-off-by: Michael Stahl mst...@redhat.com

diff --git a/editeng/source/items/borderline.cxx 
b/editeng/source/items/borderline.cxx
index 88adf29..b6f8e47 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -302,6 +302,22 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle 
nStyle, sal_uInt16 nOut, sa
 else
 {
 SetStyle( nStyle );
+if (nOut == 0  nIn  0)
+{
+// If only inner width is given swap inner and outer widths for
+// single line styles, otherwise GuessWidth() marks this as invalid
+// and returns a 0 width.
+switch (nStyle)
+{
+case SOLID:
+case DOTTED:
+case DASHED:
+::std::swap( nOut, nIn);
+break;
+default:
+;   // nothing
+}
+}
 m_nWidth = m_aWidthImpl.GuessWidth( nOut, nIn, nDist );
 }
 }
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - editeng/source

2012-02-03 Thread Michael Stahl
 editeng/source/editeng/edtspell.cxx |   65 
 1 file changed, 37 insertions(+), 28 deletions(-)

New commits:
commit 874f2e53b24ad24d4e99f0df54ba6539d1958371
Author: Michael Stahl mst...@redhat.com
Date:   Fri Feb 3 14:19:47 2012 +0100

WrongList::TextInserted: fix STL crash

vector iterators and insert don't mix well
(regression from dfbf0cabfa8310502e19642d56c746cc0d454d27)

diff --git a/editeng/source/editeng/edtspell.cxx 
b/editeng/source/editeng/edtspell.cxx
index f13fb1a..eda0d61 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -242,48 +242,51 @@ void WrongList::TextInserted( sal_uInt16 nPos, sal_uInt16 
nNew, sal_Bool bPosIsS
 nInvalidEnd = nPos+nNew;
 }
 
-for (WrongList::iterator i = begin(); i != end(); ++i)
+for (WrongList::size_type i = 0; i  size(); ++i)
 {
+WrongRange  rWrong = (*this)[i]; // why does this thing derive vector?
 sal_Bool bRefIsValid = sal_True;
-if (i-nEnd = nPos)
+if (rWrong.nEnd = nPos)
 {
 // Move all Wrongs after the insert position...
-if (i-nStart  nPos)
+if (rWrong.nStart  nPos)
 {
-i-nStart += nNew;
-i-nEnd += nNew;
+rWrong.nStart += nNew;
+rWrong.nEnd += nNew;
 }
 // 1: Starts before and goes until nPos...
-else if (i-nEnd == nPos)
+else if (rWrong.nEnd == nPos)
 {
 // Should be halted at a blank!
 if ( !bPosIsSep )
-i-nEnd += nNew;
+rWrong.nEnd += nNew;
 }
 // 2: Starts before and goes until after nPos...
-else if (i-nStart  nPos  i-nEnd  nPos)
+else if ((rWrong.nStart  nPos)  (rWrong.nEnd  nPos))
 {
-i-nEnd += nNew;
+rWrong.nEnd += nNew;
 // When a separator remove and re-examine the Wrong
 if ( bPosIsSep )
 {
 // Split Wrong...
-WrongRange aNewWrong(i-nStart, nPos);
-i-nStart = nPos + 1;
-insert(i, aNewWrong);
-bRefIsValid = sal_False;// Reference no longer valid 
after Insert, the other was inserted in front of this position
+WrongRange aNewWrong(rWrong.nStart, nPos);
+rWrong.nStart = nPos + 1;
+insert(begin() + i, aNewWrong);
+// Reference no longer valid after Insert, the other
+// was inserted in front of this position
+bRefIsValid = false;
 ++i; // Not this again...
 }
 }
 // 3: Attribute starts at position ..
-else if (i-nStart == nPos)
+else if (rWrong.nStart == nPos)
 {
-i-nEnd += nNew;
+rWrong.nEnd += nNew;
 if ( bPosIsSep )
-++(i-nStart);
+++(rWrong.nStart);
 }
 }
-SAL_WARN_IF(bRefIsValid  i-nStart = i-nEnd, editeng,
+SAL_WARN_IF(bRefIsValid  rWrong.nStart = rWrong.nEnd, editeng,
 TextInserted, WrongRange: Start = End?!);
 (void)bRefIsValid;
 }
commit aa274d8f587afa9e876334a1b6303bcec0a9
Author: Michael Stahl mst...@redhat.com
Date:   Fri Feb 3 13:34:07 2012 +0100

editeng: convert some DBG_ASSERTs

diff --git a/editeng/source/editeng/edtspell.cxx 
b/editeng/source/editeng/edtspell.cxx
index 77a65dd..f13fb1a 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -55,7 +55,7 @@ EditSpellWrapper::EditSpellWrapper( Window* _pWin,
 sal_Bool bIsStart, sal_Bool bIsAllRight, EditView* pView ) :
 SvxSpellWrapper( _pWin, xChecker, bIsStart, bIsAllRight )
 {
-DBG_ASSERT( pView, One view has to be abandoned! );
+SAL_WARN_IF( !pView, editeng, One view has to be abandoned! );
 // Keep IgnoreList, delete ReplaceList...
 if (SvxGetChangeAllList().is())
 SvxGetChangeAllList()-clear();
@@ -283,11 +283,12 @@ void WrongList::TextInserted( sal_uInt16 nPos, sal_uInt16 
nNew, sal_Bool bPosIsS
 ++(i-nStart);
 }
 }
-DBG_ASSERT(!bRefIsValid || i-nStart  i-nEnd, TextInserted, 
WrongRange: Start = End?!);
+SAL_WARN_IF(bRefIsValid  i-nStart = i-nEnd, editeng,
+TextInserted, WrongRange: Start = End?!);
 (void)bRefIsValid;
 }
 
-DBG_ASSERT( !DbgIsBuggy(), InsertWrong: WrongList broken! );
+SAL_WARN_IF(DbgIsBuggy(), editeng, InsertWrong: WrongList broken!);
 }
 
 void WrongList::TextDeleted( sal_uInt16 nPos, sal_uInt16 nDeleted )
@@ -343,7 +344,8 @@ void WrongList::TextDeleted( sal_uInt16 nPos, sal_uInt16 

[Libreoffice-commits] .: Branch 'feature/android' - 2 commits - android/qa configure.in

2012-02-03 Thread Tor Lillqvist
 android/qa/desktop/Makefile |   10 +-
 android/qa/sc/Makefile  |   14 +++---
 configure.in|2 ++
 3 files changed, 14 insertions(+), 12 deletions(-)

New commits:
commit d87b6165b4f020fc223c2e771967698a7cb69c02
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 15:15:58 2012 +0200

Add remark about ccache

diff --git a/configure.in b/configure.in
index 3e6ba1c..a0e46a9 100644
--- a/configure.in
+++ b/configure.in
@@ -109,6 +109,8 @@ if test -n $with_android_ndk; then
test -z $STRIP  
STRIP=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-strip
 
ANDROIDCFLAGS=-march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon 
-Wl,--fix-cortex-a8 --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-arm 
-L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a
+
+   # Note that letting this set CC and CXX means ccache won't be used
test -z $CC  CC=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-gcc 
$ANDROIDCFLAGS
test -z $CXX  CXX=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-g++ 
$ANDROIDCFLAGS -I $ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/include 
-I$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include 
-fexceptions -frtti
 fi
commit 8f248885d39d0f06f8f0da7fcc798bc91bfca59a
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 13:50:33 2012 +0200

Use $(ANDROID_SDK_HOME) for adb instead of assuming it is in $PATH

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index 3d11362..8e1811d 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -238,26 +238,26 @@ build-ant: copy-stuff
unset JAVA_HOME  $(ANT) debug
 
 install: copy-stuff
-   adb shell rm -r $(APP_DATA_PATH)
+   $(ANDROID_SDK_HOME)/platform-tools/adb shell rm -r $(APP_DATA_PATH)
unset JAVA_HOME  $(ANT) debug install
@echo
@echo 'Run it with make run'
@echo
 
 uninstall:
-   adb uninstall $(APP_PACKAGE)
+   $(ANDROID_SDK_HOME)/platform-tools/adb uninstall $(APP_PACKAGE)
 
 run:
echo FONTCONFIG_FILE=$(APP_DATA_PATH)/etc/fonts/fonts.conf 
-env:INIFILENAME=file:///assets/program/sofficerc  cmdline
-   adb push cmdline $(APP_DATA_PATH)/cmdline
-   adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library 
libmergedlo -e lo-main-indirect-cmdline $(APP_DATA_PATH)/cmdline
+   $(ANDROID_SDK_HOME)/platform-tools/adb push cmdline 
$(APP_DATA_PATH)/cmdline
+   $(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n 
$(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libmergedlo -e 
lo-main-indirect-cmdline $(APP_DATA_PATH)/cmdline
 # add -e lo-strace yes # if you want that
 
 # If you reinstall an app several times, even if you uninstall it
 # between, disk space seems to leak that won't get recycled until you
 # stop and start...
 stop-start-cycle:
-   adb shell stop  adb shell start  sleep 10
+   $(ANDROID_SDK_HOME)/platform-tools/adb shell stop  
$(ANDROID_SDK_HOME)/platform-tools/adb shell start  sleep 10
 
 clean:
$(ANT) clean
diff --git a/android/qa/sc/Makefile b/android/qa/sc/Makefile
index 59ad5fb..997bcf7 100644
--- a/android/qa/sc/Makefile
+++ b/android/qa/sc/Makefile
@@ -174,17 +174,17 @@ install: copy-stuff
@echo
 
 uninstall:
-   adb uninstall $(APP_PACKAGE)
+   $(ANDROID_SDK_HOME)/platform-tools/adb uninstall $(APP_PACKAGE)
 
 run_ucalc:
echo STAR_RESOURCEPATH=/assets/bin 
FONTCONFIG_FILE=$(APP_DATA_PATH)/etc/fonts/fonts.conf 
$(APP_DATA_PATH)/lib/libtest_sc_ucalc.so --headless --protector 
libunoexceptionprotector.so unoexceptionprotector 
'-env:CONFIGURATION_LAYERS=xcsxcu:file:///assets/xml/registry' 
'-env:UNO_TYPES=file:///assets/bin/udkapi.rdb file:///assets/bin/types.rdb' 
'-env:UNO_SERVICES=file:///assets/xml/ure/services.rdb 
file:///assets/ComponentTarget/framework/util/fwk.component 
file:///assets/ComponentTarget/i18npool/util/i18npool.component 
file:///assets/ComponentTarget/sfx2/util/sfx.component 
file:///assets/ComponentTarget/unoxml/source/service/unoxml.component 
file:///assets/ComponentTarget/configmgr/source/configmgr.component 
file:///assets/ComponentTarget/ucb/source/core/ucb1.component 
file:///assets/ComponentTarget/ucb/source/ucp/file/ucpfile1.component' 
-env:URE_INTERNAL_LIB_DIR=file://$(APP_DATA_PATH)/lib 
-env:LO_LIB_DIR=file://$(APP_DATA_PATH)/lib cmdline
-   adb push cmdline $(APP_DATA_PATH)/cmdline
-   adb shell am start -n $(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library 
libcppunittester -e lo-main-indirect-cmdline $(APP_DATA_PATH)/cmdline
+   $(ANDROID_SDK_HOME)/platform-tools/adb push cmdline 
$(APP_DATA_PATH)/cmdline
+   $(ANDROID_SDK_HOME)/platform-tools/adb shell am start -n 
$(APP_PACKAGE)/$(BOOTSTRAP) -e lo-main-library libcppunittester -e 
lo-main-indirect-cmdline $(APP_DATA_PATH)/cmdline
 
 run_filters_test:
echo STAR_RESOURCEPATH=/assets/bin 
FONTCONFIG_FILE=$(APP_DATA_PATH)/etc/fonts/fonts.conf 

[Libreoffice-commits] .: Branch 'feature/android' - android/qa

2012-02-03 Thread Tor Lillqvist
 android/qa/desktop/Makefile |4 
 1 file changed, 4 deletions(-)

New commits:
commit 83f2bc57c480dcb6190bef040b721e6f1f8df1cc
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 16:28:26 2012 +0200

Drop libs that are in libmerged

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index 8e1811d..a657fe1 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -114,7 +114,6 @@ copy-stuff: buildrcs
  configmgr.uno \
  cppcanvaslo \
  drawinglayerlo \
- editenglo \
  expwrap.uno \
  fileacc \
  fontconfig \
@@ -158,8 +157,6 @@ copy-stuff: buildrcs
  store \
  svllo \
  svtlo \
- svxlo \
- svxcorelo \
  test \
  tklo \
  tllo \
@@ -180,7 +177,6 @@ copy-stuff: buildrcs
  xcrlo \
  xml2 \
  xmlreader \
- xolo \
  xstor \
  \
  swlo \
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - android/qa

2012-02-03 Thread Tor Lillqvist
 android/qa/desktop/Makefile |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b48979a27f280a87087ee99e012285050522b95
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 3 17:04:40 2012 +0200

services.rdb is in $(OUTDIR)/xml/ure as far as I can see

diff --git a/android/qa/desktop/Makefile b/android/qa/desktop/Makefile
index a657fe1..4b8a832 100644
--- a/android/qa/desktop/Makefile
+++ b/android/qa/desktop/Makefile
@@ -202,7 +202,7 @@ copy-stuff: buildrcs
 # uno types  services
cp $(OUTDIR)/bin/types.rdb assets/program/types/
cp $(OUTDIR)/bin/ure/types.rdb assets/ure/share/misc/
-   cp $(OUTDIR)/xml/services.rdb assets/program/services
+   cp $(OUTDIR)/xml/ure/services.rdb assets/program/services
cp $(OUTDIR)/xml/ure/services.rdb assets/ure/share/misc/
 # config
cp -R $(OUTDIR)/xml/*.xcd assets/share/registry/
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: configure.in

2012-02-03 Thread Stephan Bergmann
 configure.in |   49 +
 1 file changed, 33 insertions(+), 16 deletions(-)

New commits:
commit e612f026de6ca1153c57fb10f0fa75725425a301
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 3 16:12:00 2012 +0100

Ensure AC_CHECK_LIB/AC_SEARCH_LIBS do not poison LIBS

... as that would interfere with subsequent such checks, esp. on Linunx 
versions
that do not yet incorporate
https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking and 
would
e.g. not notice they need -lkrb5 in AC_SEARCH_LIBS(krb5_sendauth,[krb5... 
if
they earlied did AC_CHECK_LIB([cups],... (where libcups.so links against
libkrb5.so).

diff --git a/configure.in b/configure.in
index 6c255bb..4d89df0 100644
--- a/configure.in
+++ b/configure.in
@@ -3169,7 +3169,7 @@ dnl check for cups support
 dnl ===
 if test $test_cups = yes; then
 AC_MSG_CHECKING([whether cups support is present])
-AC_CHECK_LIB(cups, cupsPrintFiles)
+AC_CHECK_LIB([cups], [cupsPrintFiles], [:])
 AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))
 if test $ac_cv_lib_cups_cupsPrintFiles != yes -a 
$ac_cv_header_cups_cups_h != yes; then
 AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or 
cups???-devel.])
@@ -4301,7 +4301,7 @@ if test $with_alloc = tcmalloc; then
 if ! echo $host_cpu | grep -E 'i[[3456]]86' 2/dev/null /dev/null; then
 AC_MSG_ERROR([tcmalloc only available/usable on ix86])
 fi
-AC_CHECK_LIB(tcmalloc, malloc, [],
+AC_CHECK_LIB([tcmalloc], [malloc], [:],
 [AC_MSG_ERROR(tcmalloc not found or functional. Install the Google 
Profiling Tools)], [])
 ALLOC=TCMALLOC;
 fi
@@ -4310,7 +4310,7 @@ if test $with_alloc = jemalloc; then
 AC_MSG_RESULT(jemalloc)
 save_CFLAGS=$CFLAGS
 CFLAGS=$CFLAGS -pthread
-AC_CHECK_LIB(jemalloc, malloc, [],
+AC_CHECK_LIB([jemalloc], [malloc], [:],
 [AC_MSG_ERROR(jemalloc not found or functional. Install the 
jemalloc allocator.)], [])
 ALLOC=JEMALLOC;
 CFLAGS=$save_CFLAGS
@@ -5416,7 +5416,7 @@ if test $with_system_expat = yes; then
 SYSTEM_EXPAT=YES
 AC_CHECK_HEADER(expat.h, [],
 [AC_MSG_ERROR(expat.h not found. install expat)], [])
-AC_CHECK_LIB(expat, XML_ParserCreate, [],
+AC_CHECK_LIB([expat], [XML_ParserCreate], [:],
 [AC_MSG_RESULT(expat library not found or functional.)], [])
 MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libexpat-1.dll
 else
@@ -6044,7 +6044,7 @@ if test $ENABLE_MYSQLC = YES; then
 AC_LANG_PUSH([C++])
 AC_CHECK_HEADER(mysql_driver.h, [],
 [AC_MSG_ERROR(mysql_driver.h not found. install MySQL C++ 
Connectivity)], [])
-AC_CHECK_LIB(mysqlcppconn, main, [],
+AC_CHECK_LIB([mysqlcppconn], [main], [:],
 [AC_MSG_ERROR(MySQL C++ Connectivity lib not found or 
functional)], [])
 AC_MSG_CHECKING([version])
 AC_RUN_IFELSE([AC_LANG_SOURCE([[
@@ -6143,15 +6143,20 @@ if test x$enable_postgresql_sdbc != xno; then
 # MacOS X has system MIT Kerberos 5 since 10.4
 if test $with_krb5 != no; then
 WITH_KRB5=YES
+save_LIBS=$LIBS
 AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
 [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
+LIBS=$save_LIBS
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
 [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
+LIBS=$save_LIBS
 fi
 if test $with_gssapi != no; then
   WITH_GSSAPI=YES
+  save_LIBS=$LIBS
   AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 
-lcrypto'], [],
 [AC_MSG_ERROR([could not find function 'gss_init_sec_context' 
required for GSSAPI])])
+  LIBS=$save_LIBS
 fi
 ;;
 WINNT)
@@ -6162,29 +6167,39 @@ if test x$enable_postgresql_sdbc != xno; then
 Linux|GNU|*BSD|DragonFly)
 if test $with_krb5 != no; then
 WITH_KRB5=YES
+save_LIBS=$LIBS
 AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
 [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
+LIBS=$save_LIBS
 AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
 [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
+LIBS=$save_LIBS
 fi
 if test $with_gssapi != no; then
 WITH_GSSAPI=YES
+save_LIBS=$LIBS
 AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi 

[Libreoffice-commits] .: readlicense_oo/docs

2012-02-03 Thread Petr Mladek
 readlicense_oo/docs/readme/readme.xrm |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 2c4dbb3023b049e21e9f872ee41780d8fc87d59d
Author: Petr Mladek pmla...@suse.cz
Date:   Fri Feb 3 17:56:18 2012 +0100

update README section about desktop integration packages on Linux

The redhat-menus package has been obsoleted by freedesktop-menus.
The freedesktop-menus package should be usable on most other distros
these days.

Thanks Jean-Baptiste for noticing this.

diff --git a/readlicense_oo/docs/readme/readme.xrm 
b/readlicense_oo/docs/readme/readme.xrm
index 4e50f63..e4fd3ab 100755
--- a/readlicense_oo/docs/readme/readme.xrm
+++ b/readlicense_oo/docs/readme/readme.xrm
@@ -150,9 +150,10 @@
p id=rpminstall8 xml:lang=en-USThe above command 
does the first part of the installation process. To complete the process, you 
also need to install the desktop integration packages. To do this, change 
directory to the desktop-integration directory that is within the RPMS 
directory, using the following command:/p
p id=rpminstall9 xml:lang=en-UScd 
desktop-integration/p
p id=rpminstallA xml:lang=en-USNow run the 
installation command again:/p
-   p id=rpminstallB xml:lang=en-USFor Fedora-based 
systems: su -c 'yum install *redhat*.rpm'/p
+   p id=rpminstallB xml:lang=en-USFor Fedora-based 
systems: su -c 'yum install *freedesktop*.rpm'/p
p id=rpminstallC xml:lang=en-USFor Mandriva-based 
systems: sudo urpmi *mandriva*.rpm/p
-   p id=rpminstallD xml:lang=en-USFor other 
RPM-based systems (Suse, etc.): rpm -Uvh *suse*.rpm/p
+   p id=rpminstallF xml:lang=en-USFor SUSE-based 
systems: rpm -Uvh *suse*.rpm/p
+   p id=rpminstallD xml:lang=en-USFor other 
RPM-based systems: rpm -Uvh *freedesktop*.rpm/p
p id=rpminstallE xml:lang=en-USThe installation 
process is now completed, and you should have icons for all the ${PRODUCTNAME} 
applications in your desktop's Applications/Office menu./p
h3 id=sdfsdfgf42t2 xml:lang=en-USNotes Concerning 
Desktop Integration for Linux Distributions Not Covered in the Above 
Installation Instructions/h3
p id=otherinstall1 xml:lang=en-USIt should be 
easily possible to install ${PRODUCTNAME} on other Linux distributions not 
specifically covered in these installation instructions. The main aspect for 
which differences might be encountered is desktop integration./p
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - vcl/android vcl/inc

2012-02-03 Thread Michael Meeks
 vcl/android/androidinst.cxx   |7 +--
 vcl/inc/generic/geninst.h |6 +++---
 vcl/inc/headless/svpframe.hxx |3 +++
 3 files changed, 7 insertions(+), 9 deletions(-)

New commits:
commit 29aa585b2ee2af0680eb39749d1797f52e190a3a
Author: Michael Meeks michael.me...@suse.com
Date:   Fri Feb 3 18:49:59 2012 +0100

android: get the focus window from SvpSalFrame

diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index 6d70471..50a3040 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -321,11 +321,6 @@ void AndroidSalInstance::RedrawWindows(ANativeWindow 
*pWindow)
 mbQueueReDraw = false;
 }
 
-SalFrame *AndroidSalInstance::getFocusFrame() const
-{
-return !getFrames().empty() ? *getFrames().begin() : NULL;
-}
-
 static const char *app_cmd_name(int cmd)
 {
 switch (cmd) {
@@ -436,7 +431,7 @@ int32_t AndroidSalInstance::onInputEvent (struct 
android_app* app, AInputEvent*
 aEvent.mnCharCode = 'a'; // the unicode of it all ...
 aEvent.mnRepeat = AKeyEvent_getRepeatCount(event);
 
-SalFrame *pFocus = getFocusFrame();
+SalFrame *pFocus = SvpSalFrame::GetFocusFrame();
 if (pFocus)
 bHandled = pFocus-CallCallback( nEvent, aEvent );
 else
diff --git a/vcl/inc/generic/geninst.h b/vcl/inc/generic/geninst.h
index 471b630..240ebe6 100644
--- a/vcl/inc/generic/geninst.h
+++ b/vcl/inc/generic/geninst.h
@@ -103,7 +103,7 @@ public:
 virtual voidGetPrinterQueueInfo( ImplPrnQueueList* 
pList );
 virtual voidGetPrinterQueueState   ( SalPrinterQueueInfo* 
pInfo );
 virtual voidDeletePrinterQueueInfo ( SalPrinterQueueInfo* 
pInfo );
-virtual rtl::OUString  GetDefaultPrinter();
+virtual rtl::OUString   GetDefaultPrinter();
 virtual voidPostPrintersChanged() = 0;
 virtual voidupdatePrinterUpdate();
 virtual voidjobStartedPrinterUpdate();
@@ -117,8 +117,8 @@ public:
 
 protected:
 void configurePspInfoPrinter( PspSalInfoPrinter* pInfoPrinter,
-   SalPrinterQueueInfo* pQueueInfo,
-   ImplJobSetup* pSetupData );
+  SalPrinterQueueInfo* pQueueInfo,
+  ImplJobSetup* pSetupData );
 };
 
 inline SalGenericInstance *GetGenericInstance()
diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx
index fc923af..8c30e23 100644
--- a/vcl/inc/headless/svpframe.hxx
+++ b/vcl/inc/headless/svpframe.hxx
@@ -127,6 +127,9 @@ public:
 virtual voidSetScreenNumber( unsigned int nScreen ) { 
(void)nScreen; }
 virtual voidSetApplicationID(const rtl::OUString 
rApplicationID) { (void) rApplicationID; }
 bool IsVisible() { return m_bVisible; }
+
+static SvpSalFrame* GetFocusFrame() { return s_pFocusFrame; }
+
 };
 #endif // _SVP_SVPFRAME_HXX
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - readlicense_oo/docs

2012-02-03 Thread Andras Timar
 readlicense_oo/docs/readme/readme.xrm |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 8727d28bc8bc54014371421404c33ae6d89d3e63
Author: Petr Mladek pmla...@suse.cz
Date:   Fri Feb 3 17:56:18 2012 +0100

update README section about desktop integration packages on Linux

The redhat-menus package has been obsoleted by freedesktop-menus.
The freedesktop-menus package should be usable on most other distros
these days.

Thanks Jean-Baptiste for noticing this.

Signed-off-by: Andras Timar ati...@suse.com

diff --git a/readlicense_oo/docs/readme/readme.xrm 
b/readlicense_oo/docs/readme/readme.xrm
index 4e50f63..e4fd3ab 100755
--- a/readlicense_oo/docs/readme/readme.xrm
+++ b/readlicense_oo/docs/readme/readme.xrm
@@ -150,9 +150,10 @@
p id=rpminstall8 xml:lang=en-USThe above command 
does the first part of the installation process. To complete the process, you 
also need to install the desktop integration packages. To do this, change 
directory to the desktop-integration directory that is within the RPMS 
directory, using the following command:/p
p id=rpminstall9 xml:lang=en-UScd 
desktop-integration/p
p id=rpminstallA xml:lang=en-USNow run the 
installation command again:/p
-   p id=rpminstallB xml:lang=en-USFor Fedora-based 
systems: su -c 'yum install *redhat*.rpm'/p
+   p id=rpminstallB xml:lang=en-USFor Fedora-based 
systems: su -c 'yum install *freedesktop*.rpm'/p
p id=rpminstallC xml:lang=en-USFor Mandriva-based 
systems: sudo urpmi *mandriva*.rpm/p
-   p id=rpminstallD xml:lang=en-USFor other 
RPM-based systems (Suse, etc.): rpm -Uvh *suse*.rpm/p
+   p id=rpminstallF xml:lang=en-USFor SUSE-based 
systems: rpm -Uvh *suse*.rpm/p
+   p id=rpminstallD xml:lang=en-USFor other 
RPM-based systems: rpm -Uvh *freedesktop*.rpm/p
p id=rpminstallE xml:lang=en-USThe installation 
process is now completed, and you should have icons for all the ${PRODUCTNAME} 
applications in your desktop's Applications/Office menu./p
h3 id=sdfsdfgf42t2 xml:lang=en-USNotes Concerning 
Desktop Integration for Linux Distributions Not Covered in the Above 
Installation Instructions/h3
p id=otherinstall1 xml:lang=en-USIt should be 
easily possible to install ${PRODUCTNAME} on other Linux distributions not 
specifically covered in these installation instructions. The main aspect for 
which differences might be encountered is desktop integration./p
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2012-02-03 Thread Julien Nabet
 sw/source/core/fields/cellfml.cxx |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 9d0136679e441413b6945d2a40aa892b50ee19a8
Author: Julien Nabet serval2...@yahoo.fr
Date:   Fri Feb 3 21:58:38 2012 +0100

Fix iterator erase management (thank you Stephan)

diff --git a/sw/source/core/fields/cellfml.cxx 
b/sw/source/core/fields/cellfml.cxx
index 33b953e..99e48df 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -959,7 +959,7 @@ void SwTableFormula::GetBoxes( const SwTableBox rSttBox,
 break;
 
 // dann mal die Tabellenkoepfe raus:
-for( SwSelBoxes::iterator it = rBoxes.begin(); it != rBoxes.end(); 
++it )
+for( SwSelBoxes::iterator it = rBoxes.begin(); it != rBoxes.end(); 
)
 {
 pLine = it-second-GetUpper();
 while( pLine-GetUpper() )
@@ -968,7 +968,10 @@ void SwTableFormula::GetBoxes( const SwTableBox rSttBox,
 if( pTbl-IsHeadline( *pLine ) )
 {
 rBoxes.erase( it++ );
---it;
+}
+else
+{
+++it;
 }
 }
 } while( sal_False );
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/android' - vcl/android vcl/inc

2012-02-03 Thread Michael Meeks
 vcl/android/androidinst.cxx |   72 
 vcl/inc/android/androidinst.hxx |6 +++
 2 files changed, 78 insertions(+)

New commits:
commit 5cd1d6740cc9e85b5ed3730800dff4717cb7e1ae
Author: Michael Meeks michael.me...@suse.com
Date:   Fri Feb 3 22:02:01 2012 +0100

android: implement theming to get default font set, 1st cut at GetWorkArea

diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index ec38cec..16a5125 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -347,6 +347,18 @@ static const char *app_cmd_name(int cmd)
 }
 }
 
+void AndroidSalInstance::GetWorkArea( Rectangle rRect )
+{
+ANativeWindow *pWindow = mpApp-window;
+if (!pWindow)
+rRect = Rectangle( Point( 0, 0 ),
+   Size( 800, 600 ) );
+else
+rRect = Rectangle( Point( 0, 0 ),
+   Size( ANativeWindow_getWidth( pWindow ),
+ ANativeWindow_getHeight( pWindow ) ) );
+}
+
 void AndroidSalInstance::onAppCmd (struct android_app* app, int32_t cmd)
 {
 fprintf (stderr, app cmd for app %p: %s\n, app, app_cmd_name(cmd));
@@ -603,6 +615,66 @@ SalSystem *AndroidSalInstance::CreateSalSystem()
 return new AndroidSalSystem();
 }
 
+class AndroidSalFrame : public SvpSalFrame
+{
+public:
+AndroidSalFrame( AndroidSalInstance *pInstance,
+ SalFrame   *pParent,
+ sal_uLong   nSalFrameStyle,
+ SystemParentData   *pSysParent )
+: SvpSalFrame( pInstance, pParent, nSalFrameStyle, pSysParent )
+{
+}
+
+virtual void GetWorkArea( Rectangle rRect )
+{
+AndroidSalInstance::getInstance()-GetWorkArea( rRect );
+}
+
+virtual void UpdateSettings( AllSettings rSettings )
+{
+// Clobber the UI fonts
+#if 0
+psp::FastPrintFontInfo aInfo;
+aInfo.m_aFamilyName = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( 
Roboto ) );
+aInfo.m_eItalic = ITALIC_NORMAL;
+aInfo.m_eWeight = WEIGHT_NORMAL;
+aInfo.m_eWidth = WIDTH_NORMAL;
+psp::PrintFontManager::get().matchFont( aInfo, rSettings.GetUILocale() 
);
+#endif
+
+// FIXME: is 12 point enough ?
+Font aFont( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( Roboto ) ),
+Size( 0, 14 ) );
+
+StyleSettings aStyleSet = rSettings.GetStyleSettings();
+aStyleSet.SetAppFont( aFont );
+aStyleSet.SetHelpFont( aFont );
+aStyleSet.SetMenuFont( aFont );
+aStyleSet.SetToolFont( aFont );
+aStyleSet.SetLabelFont( aFont );
+aStyleSet.SetInfoFont( aFont );
+aStyleSet.SetRadioCheckFont( aFont );
+aStyleSet.SetPushButtonFont( aFont );
+aStyleSet.SetFieldFont( aFont );
+aStyleSet.SetIconFont( aFont );
+aStyleSet.SetGroupFont( aFont );
+
+rSettings.SetStyleSettings( aStyleSet );
+}
+};
+
+SalFrame *AndroidSalInstance::CreateChildFrame( SystemParentData* pParent, 
sal_uLong nStyle )
+{
+return new AndroidSalFrame( this, NULL, nStyle, pParent );
+}
+
+SalFrame *AndroidSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nStyle 
)
+{
+return new AndroidSalFrame( this, pParent, nStyle, NULL );
+}
+
+
 // All the interesting stuff is slaved from the AndroidSalInstance
 void InitSalData()   {}
 void DeInitSalData() {}
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx
index e947737..10d17c5 100644
--- a/vcl/inc/android/androidinst.hxx
+++ b/vcl/inc/android/androidinst.hxx
@@ -49,6 +49,11 @@ public:
 
 virtual SalSystem* CreateSalSystem();
 
+// frame management
+void GetWorkArea( Rectangle rRect );
+SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
+SalFrame* CreateChildFrame( SystemParentData* pParent, sal_uLong nStyle );
+
 // mainloop pieces
 virtual void Wakeup();
 virtual bool AnyInput( sal_uInt16 nType );
@@ -58,6 +63,7 @@ public:
 int32_t   onInputEvent (struct android_app* app, AInputEvent* event);
 void  RedrawWindows(ANativeWindow *pWindow);
 SalFrame *getFocusFrame() const;
+
 protected:
 virtual void DoReleaseYield( int nTimeoutMS );
 struct android_app *mpApp;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - sc/source sw/source

2012-02-03 Thread Michael Stahl
 sc/source/ui/unoobj/cellsuno.cxx  |3 +--
 sw/source/core/unocore/unotbl.cxx |2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 697743161a6047902ee880851b23c9aef1bfa392
Author: Michael Stahl mst...@redhat.com
Date:   Fri Feb 3 21:06:18 2012 +0100

fdo#45115: sc: fix setting borders

Same problem in ScHelperFunctions::GetBorderLine.

diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 1bddc21..7844d9f 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -953,8 +953,7 @@ ScSubTotalFunc lcl_SummaryToSubTotal( 
sheet::GeneralFunction eSummary )
 const ::editeng::SvxBorderLine* ScHelperFunctions::GetBorderLine( 
::editeng::SvxBorderLine rLine, const table::BorderLine rStruct )
 {
 //  Calc needs Twips, and there are 1/100mm in the Uno structure
-rLine.SetStyle( ::editeng::SvxBorderStyle( table::BorderLineStyle::SOLID ) 
);
-rLine.GuessLinesWidths( rLine.GetStyle(),
+rLine.GuessLinesWidths( editeng::NO_STYLE,
 (sal_uInt16)HMMToTwips( rStruct.OuterLineWidth ),
 (sal_uInt16)HMMToTwips( rStruct.InnerLineWidth ),
 (sal_uInt16)HMMToTwips( rStruct.LineDistance ) );
commit ef9881001e4ddfa6bfbe7d83f482393bb76d926a
Author: Michael Stahl mst...@redhat.com
Date:   Fri Feb 3 18:49:56 2012 +0100

fdo#45115: SwXTextTable: fix setting borders

This plus e549f52f16c4a519ed3eddb9c66c19bacc247590 fixes the problem.

diff --git a/sw/source/core/unocore/unotbl.cxx 
b/sw/source/core/unocore/unotbl.cxx
index a928d15..9526160 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -136,7 +136,7 @@ sal_Bool lcl_LineToSvxLine(const table::BorderLine rLine, 
SvxBorderLine rSvxLi
 {
 rSvxLine.SetColor(Color(rLine.Color));
 
-rSvxLine.GuessLinesWidths( 
editeng::SvxBorderStyle(table::BorderLineStyle::SOLID),
+rSvxLine.GuessLinesWidths( editeng::NO_STYLE,
 MM100_TO_TWIP( rLine.OuterLineWidth ),
 MM100_TO_TWIP( rLine.InnerLineWidth ),
 MM100_TO_TWIP( rLine.LineDistance ) );
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Libreoffice] [PUSHED-partially][PATCH]a better about dialog

2012-02-03 Thread Stefan Knorr (Astron)
Hi,
though well-intentioned, I actually forgot to add the design and
ux-advise lists to CC. Doing that now... Astron.

On 2 February 2012 19:22, Stefan Knorr (Astron)
heinzless...@googlemail.com wrote:
 Hi Barış, Noel,

 First of all: Barış, wonderful that you took this up!
 Secondly: I am adding the design and UX-advise lists to CC, to see if
 we can get any help (artwork etc.) from there.

 So, here's an evaluation of your proposal:
 * the two most important pieces of information are the version and the
 product description, so these should be better highlighted
 ** for now, it would help the most, if the (c) information were on a
 new paragraph instead of directly after the product description
 ** ideally, the version number should have a slightly larger font
 ** the (c) notices could be in grey, as in Andrew's proposal, however,
 most importantly they need to be shorter.

 So, here's a text proposal:
 Version 3.x

 LibreOffice is a free and open-source office suite developed by the
 LibreOffice community together with The Document Foundation.
 [LibreOffice website] [Credits] [License]

 LibreOffice is (c) 2000, 2012, the LibreOffice contributors and/or
 their affiliates. All rights reserved.
 Portions are (c) 2000, 2011 Oracle and/or its affiliates. All rights reserved.

 Build ID: x-x-x-x-x
 

 Note, IANAL and maybe we need some legal advice before we can shorten
 the (c) text this much. The part that we recognise all community
 members, I think, does not have to be pronounced so much, I think
 TDF's actions speak louder than words here.

 Also, everything below the linkscould be greyed out. Further, centered
 text looks pretty ugly, I think... I would like to cast a vote
 pro-left aligned text.


 2012/2/1 Barış Akkurt dbarisakk...@gmail.com:
 -Changed the width of the about dialog to look better.

 Actually, I like(d) that, and wider artwork shouldn't be the problem
 ... does anyone want to do any new artwork, preferably with the motif
 in it?


 -added the definition of LibreOffice. LibreOffice is a free and open source
 office suite developed by The Document Foundation.

 Good idea.

 -Added the Document Foundation and Features links.

 Hm, I think it would be better to have the link to (new) features
 description in the Help, of course, someone would need to look through
 the release notes and then build a What's New type of document.
 Additionally, people will probably be more interested in LibO than in
 TDF, so that should be the homepage link instead (I think). Does that
 make sense?

 -Removed the OK button, just like Firefox.

 I think that's a really bad idea, as some weird-or-not window manager
 might not give us a titlebar X (Gnome 3, *cough*) or a titlebar at
 all and then people don't know how to get rid of the window. So, I'd
 love to see a reincarnation of the Close button (I know, the caption
 used to be OK, but I think Close is a better fit as the About
 dialogue doesn't actually change any values).


 I want to remove the build information and place only the major version info
 (like 3.5) but i wasn't sure. Maybe, it is a neccessary information.

 Yes, we might want to keep that for now, even though auto-generating
 an ODT in the spirit of Mozilla's about:buildconfig might be a good
 idea for the future. Anyway, my proposal moves that to the bottom.


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


Re: [Libreoffice] postgresql bits in minutes of tech. steering call

2012-02-03 Thread Francois Tigeot
On Thu, Feb 02, 2012 at 03:37:38PM +0100, Lionel Elie Mamane wrote:
 On Fri, Dec 16, 2011 at 03:14:42PM +0100, Michael Stahl wrote:
 
  a more accurate statement would be, we only use libraries that are in a
  sufficiently recent version in our baseline system, and which are
  available in ~all mainstream Linux distros.  iirc it was determined (but
  forgot where) that the Kerberos stuff also belongs to that category.
 
 OK, then I'm enabling (in master) Kerberos for GNU/Linux by
 default. I'm also enabling it in *BSD, since from browsing the source
 repositories of Net/Free/OpenBSD, libkrb5 is included in their basic
 sources (not in the ports, in the sources themselves).
 
 Not enabling it in DragonFly, since it seems there it is in a port.

What is intended exactly by enabling kerberos ?

DragonFly and NetBSD use the same packaging system; what ever you end up
doing, please do the same thing for both platforms.

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


Re: [libreoffice-design] Re: [Libreoffice] [PUSHED-partially][PATCH]a better about dialog

2012-02-03 Thread Cor Nouws

Stefan Knorr (Astron) wrote (03-02-12 09:14)


I want to remove the build information and place only the major version info
(like 3.5) but i wasn't sure. Maybe, it is a neccessary information.


Yes, we might want to keep that for now, even though auto-generating
an ODT in the spirit of Mozilla's about:buildconfig might be a good
idea for the future. Anyway, my proposal moves that to the bottom.


The information is asked for and needed by people doing QA. So having it 
available easily will be highly appreciated indeed.



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

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


Re: Bug 37775 - EasyHack: Recent Documents not updated by Save Save As...

2012-02-03 Thread Stefan Knorr (Astron)
Hi,

I am adding ux-advise to CC... as this is mostly about the UI ...

On 2 February 2012 22:09, Muhammad Haggag mhag...@gmail.com wrote:
 Forgot to add bug link: https://bugs.freedesktop.org/show_bug.cgi?id=37775

 On Thu, Feb 2, 2012 at 11:04 PM, Muhammad Haggag mhag...@gmail.com wrote:
 Hello, folks.

 begin quote from bug, comment 4
 I'm investigating, and it seems to me that the current behavior is by 
 design.
 Whether that design is sensible is up for debate.

 The current behavior is that a document is added to the Recent Documents 
 list
 when it's closed (OApplicationController::disposing, line 437 in
 AppController.cxx:
 http://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/app/AppController.cxx).
 To walk through the repro scenario:
 1. Create and save new document A - Current document is A.
 2. Modify and Save As document B - Current document is now B. A was
 not closed, merely renamed.
 3. Close Writer - Document B closes, and writes itself to the Recent
 Documents list.
 4. On startup, you only see B, the document that closed.

 I checked MS Word 2007's behavior, and it updates the list immediately on 
 Open,
 Save, and Save As.

 If the current LO behavior is indeed inappropriate, we can modify the all
 document loading/saving operations (Open, Save, Save As, Save All, etc.)
 handlers to also update the Recent Documents list.
 /end quote

 Any objections to modifying the behavior of: Save, Save As, Save All,
 and Open (through File-Open or the list of recent documents) to
 update the recent documents list?

Anyway, I'd say, no objections from my side. Please go ahead.

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


Re: New tool for better understanding the codebase, to complement the wiki.

2012-02-03 Thread Michael Meeks
Hi Josh,

On Fri, 2012-02-03 at 13:26 +1030, Josh Heidenreich wrote:
 I was bored while waiting for LibO to compile, and I was taking a look
 at the wiki docs for development. I found a page Code Overview, but
 it looks really out of date.

It is ! :-)

 (http://wiki.documentfoundation.org/Development/Code_Overview). Then I
 thought maybe I should update it, and then I thought it would be
 better to do it using software.

Agreed; personally I'd really prefer the authoritative source of that
information to be in git.

 It uses cgit to download the README or readme.txt files in all of the
 top-level directories, and it generates some HTML files for easy
 viewing. The first paragraph (everything before an empty line) is
 considered the short description, and is shown on the list page.
 Clicking on a module shows the full description, as well as a link to
 the tree in cgit.

Lovely. I guess having some (really minimal) formatting in READMEs, and
working to standardise it would be extremely helpful: first line, short
description next line (to new-line) longer description, then more gutsy
stuff ?

 Now of course all we need is to add more README files.

What would be really sexy (apart from getting your script running on a
TDF server and linked from the wiki etc. etc.) - would be if we could
transfer what little information we have from the Code_Overview into
README files. Any chance you could clone the git repo from freedesktop,
and send a git diff with that text in README files ?

Thanks so much for helping to improve this, it is much
appreciated ! :-) there is lots to do at the intersection of the web and
the git repo, a random example would be the find code from UI feature
that I'd love to get setup [ be nice if it could be used locally on a
repo too ;-].

All the best,

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-ux-advise] Bug 37775 - EasyHack: Recent Documents not updated by Save Save As...

2012-02-03 Thread Cor Nouws

Stefan Knorr (Astron) wrote (03-02-12 11:23)


Anyway, I'd say, no objections from my side. Please go ahead.


No from me either. I like the improvement.

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

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


Re: [Libreoffice] [PATCH] Moving misplaced Compatibility options from ScDocOptions to ScAppOptions

2012-02-03 Thread Albert Thuswaldner
Hi,
This is an old topic again...

On Tue, Jul 12, 2011 at 00:26, Markus Mohrhard
markus.mohrh...@googlemail.com wrote:
 Hello Albert,

 nice work but I have some comments.

 Operator== should have return type bool and not int(I saw that ScDocOptions
 used int too, but I have changed that already).
 But all in all I think we shouldn't introduce operator== there.
 I didn't like the old approach with operator== but after your changes it
 seems even more unnecessary. Let's just use ScAppOptions directly and set
 the keybinding even if it is the same keybinding as the old one. With this
 approach you don't need to compare two ScAppOptions instances and there is
 no need for operator== anymore. And all in all I think we can remove the two
 dynamically created ScAppOption instances with this approach.


I have updated the patch according to Markus comments above, removing
the check to see if the keybinding option has been modified. A side
effect of the above is that return type sal_Bool of
ScTpCompatOptions::FillItemSet is not needed anymore (at the moment i
have set it to always return true). In the next iteration I plan to
check what to do with this.

Before I do that it would be nice If someone could have a look at my
new patch. It is good, I plan to do the same thing to the Formula and
Defaults options.

BTW: will the work on simplified C++ configuration access have any
impact on this part of the code?

/Albert
From 8697ca2fe0c79ee4cdbab9eb711ab4917fae131e Mon Sep 17 00:00:00 2001
From: Albert Thuswaldner albert.thuswald...@gmail.com
Date: Fri, 3 Feb 2012 11:15:31 +0100
Subject: [PATCH] Moved ScTpCompat from docoptions to appoptions

---
 sc/inc/appoptio.hxx |   33 +++-
 sc/inc/docoptio.hxx |9 ---
 sc/source/core/tool/appoptio.cxx|   87 ++-
 sc/source/core/tool/docoptio.cxx|   63 --
 sc/source/ui/app/scmod.cxx  |4 --
 sc/source/ui/inc/tpcompatibility.hxx|5 +-
 sc/source/ui/optdlg/tpcompatibility.cxx |   21 +++-
 7 files changed, 103 insertions(+), 119 deletions(-)

diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx
index 84fbc86..91cedbc 100644
--- a/sc/inc/appoptio.hxx
+++ b/sc/inc/appoptio.hxx
@@ -33,6 +33,7 @@
 #include svx/zoomitem.hxx
 #include unotools/configitem.hxx
 #include scdllapi.h
+#include scmod.hxx
 #include global.hxx
 #include optutil.hxx
 
@@ -87,9 +88,11 @@ public:
 
 voidSetShowSharedDocumentWarning( sal_Bool bNew )   { mbShowSharedDocumentWarning = bNew; }
 sal_BoolGetShowSharedDocumentWarning() const{ return mbShowSharedDocumentWarning; }
+ScOptionsUtil::KeyBindingType GetKeyBindingType() const { return eKeyBindingType; }
+voidSetKeyBindingType( ScOptionsUtil::KeyBindingType e ) { eKeyBindingType = e; }
 
 
-const ScAppOptions operator=   ( const ScAppOptions rOpt );
+inline const ScAppOptions	operator=( const ScAppOptions rOpt );
 
 private:
 SCTAB   nTabCountInNewSpreadsheet;
@@ -110,8 +113,32 @@ private:
 sal_Int32   nDefaultObjectSizeWidth;
 sal_Int32   nDefaultObjectSizeHeight;
 sal_BoolmbShowSharedDocumentWarning;
+ScOptionsUtil::KeyBindingType eKeyBindingType;
 };
 
+inline const ScAppOptions ScAppOptions::operator=( const ScAppOptions rCpy )
+{
+nTabCountInNewSpreadsheet = rCpy.nTabCountInNewSpreadsheet;
+eMetric			= rCpy.eMetric;
+eZoomType		= rCpy.eZoomType;
+bSynchronizeZoom = rCpy.bSynchronizeZoom;
+nZoom			= rCpy.nZoom;
+SetLRUFuncList( rCpy.pLRUList, rCpy.nLRUFuncCount );
+nStatusFunc		= rCpy.nStatusFunc;
+bAutoComplete	= rCpy.bAutoComplete;
+bDetectiveAuto	= rCpy.bDetectiveAuto;
+nTrackContentColor = rCpy.nTrackContentColor;
+nTrackInsertColor  = rCpy.nTrackInsertColor;
+nTrackDeleteColor  = rCpy.nTrackDeleteColor;
+nTrackMoveColor= rCpy.nTrackMoveColor;
+eLinkMode		= rCpy.eLinkMode;
+nDefaultObjectSizeWidth = rCpy.nDefaultObjectSizeWidth;
+nDefaultObjectSizeHeight = rCpy.nDefaultObjectSizeHeight;
+mbShowSharedDocumentWarning = rCpy.mbShowSharedDocumentWarning;
+eKeyBindingType  = rCpy.eKeyBindingType;
+
+return *this;
+}
 
 //==
 //  Config Item containing app options
@@ -128,6 +155,7 @@ class ScAppCfg : public ScAppOptions
 ScLinkConfigItemaContentItem;
 ScLinkConfigItemaSortListItem;
 ScLinkConfigItemaMiscItem;
+ScLinkConfigItemaCompatItem;
 
 DECL_LINK( LayoutCommitHdl, void* );
 DECL_LINK( InputCommitHdl, void* );
@@ -135,6 +163,7 @@ class ScAppCfg : public ScAppOptions
 DECL_LINK( ContentCommitHdl, void* );
 DECL_LINK( SortListCommitHdl, void* );
 DECL_LINK( MiscCommitHdl, void* );
+DECL_LINK( CompatCommitHdl, void* );
 
 com::sun::star::uno::Sequencertl::OUString GetLayoutPropertyNames();
 

Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Dag Wieers

On Thu, 2 Feb 2012, Dag Wieers wrote:

I have a problem using the python UNO interface as shipping with LibO 3.5RC2, 
I do not have the same problem using LibO 3.4.5 or previous versions (going 
back to OpenOffice 3.2.1).


When running the shipped python binary with the shipped modules/libraries, 
python bails out with:


terminate called after throwing an instance of 
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)

This does not happen on Windows, but it does happen on a RHEL6 64bit using 
the provided RPM packages.


This issue still exist in the LibO 3.5RC3 RPM builds, making the python 
UNO interface unusable :-/


--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PUSHED] [PATCH] tinderbox status: email on success

2012-02-03 Thread Lionel Elie Mamane
On Wed, Jan 04, 2012 at 04:01:27PM +0100, Thorsten Behrens wrote:
 Will you push that to the buildbot repo, please?

 Done (the 0001- one).

I did not get any tinderbox fixed message... My code does not work,
or tinderbox operators have not pulled?

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


[PUSHED] Re: [REVIEW][3-4][3-5][3-5-0] resolve fdo#42784 BorderLine with only InnerLineWidth set does not work

2012-02-03 Thread Michael Stahl
On 02/02/12 19:38, Eike Rathke wrote:
 Hi,
 
 I'd like to have 971f826a96f0938bfcfd8dfe26edd50d8e031bb4 cherry-picked
 to 3-4, 3-5 and 3-5-0 if we do another rc.
 
 Resolves https://bugs.freedesktop.org/show_bug.cgi?id=42784
 a BorderLine with only InnerLineWidth set does not result in a border.

hmm.. makes sense.

pushed to libreoffice-3-5:
e44b64d297293b83459fddda968923750e2f6a5b

pushed to libreoffice-3-4 libs-core:
4b410ce0e8d70f57e341ca513118ec67f69dd25e

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


Re: [PUSHED] [PATCH] tinderbox status: email on success

2012-02-03 Thread Thorsten Behrens
Lionel Elie Mamane wrote:
 I did not get any tinderbox fixed message... My code does not work,
 or tinderbox operators have not pulled?
 
My boxes have that fix, no idea why it does not seem to work.

Cheers,

-- Thorsten


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


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Florian Effenberger flo...@documentfoundation.org changed:

   What|Removed |Added

 CC||floeff@documentfoundation.o
   ||rg

--- Comment #164 from Florian Effenberger flo...@documentfoundation.org 
2012-02-03 03:40:22 PST ---
Bug 45584 - presentation view defective

-- 
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.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: New tool for better understanding the codebase, to complement the wiki.

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 03:56 AM, Josh Heidenreich wrote:

Now of course all we need is to add more README files.


module configmgr has configmgr/source/README, so either improve the 
script or move the file...  :)


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


Re: TINDERBOX operators: kerberos 5 devel packages

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 07:27 AM, Lionel Elie Mamane wrote:

I fear it is more subtle than that


For the record, c16027de8423cdb6b33ce5f5f9e13fdc25b9dbeb Fix order in 
which postgresql searches for libs should fix that.


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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Stephan Bergmann

On 02/02/2012 09:08 PM, julien2412 wrote:

Would this patch better ? (I kept the for loop)


Unfortunately that still has a problem.  After rBoxes.erase(toErase), 
it (which is the same as toErase) is invalidated, so incrementing it 
(up in the for(...;...;...) part) has undefined behavior.


The standard idiom is

  for (iterator i = m.begin(); i != m.end();) {
if (doErase) {
  m.erase(i++);
} else {
  ++i;
}
  }


diff --git a/sw/source/core/fields/cellfml.cxx
b/sw/source/core/fields/cellfml.cxx
index 33b953e..5c626dd 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -967,8 +967,8 @@ void SwTableFormula::GetBoxes( const SwTableBox
rSttBox,

  if( pTbl-IsHeadline( *pLine ) )
  {
-rBoxes.erase( it++ );
---it;
+SwSelBoxes::iterator toErase = it;
+rBoxes.erase( toErase );
  }
  }
  } while( sal_False );

I read that to erase a position on a iterator invalidate this iterator from
position to the end
(http://www.cplusplus.com/reference/stl/vector/erase/)
I don't know if to create this temporary variable toErase change something
or it's all the same.


The text you cite is about vector, for which *all* iterators into a 
vector are invalidated upon an erase.  For map (which SwSelBoxes is), 
only iterators pointing to the erased element are invalidated.



(sorry for the nitpicking but I'd like to understand this point)


No problem at all, and I hope my nitpicking helps shed some light.

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


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Petr Mladek pmla...@suse.cz changed:

   What|Removed |Added

 Depends on||45584

-- 
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.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 11:52 AM, Dag Wieers wrote:

I have a problem using the python UNO interface as shipping with LibO
3.5RC2, I do not have the same problem using LibO 3.4.5 or previous
versions (going back to OpenOffice 3.2.1).

When running the shipped python binary with the shipped
modules/libraries, python bails out with:

terminate called after throwing an instance of
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)

This does not happen on Windows, but it does happen on a RHEL6 64bit
using the provided RPM packages.


This issue still exist in the LibO 3.5RC3 RPM builds, making the python
UNO interface unusable :-/


At least a locally built LO-3-5-0 with --enable-python=internal shows no 
such problems here (Fedora 16, x86_64):


  $ .../program/python
   import uno
   ^D

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


RE: [Libreoffice] [REVIEW]Bug 34425 - [EasyHack] formatting background color toolbar button

2012-02-03 Thread Winfried Donkers
 Stefan Knorr (Astron) wrote
So, do you think there's a chance you could implement the same behaviour for
* Background Colour in Writer
* Font Colour in Calc?

I should expect the behaviour for background color in Writer to be there 
already (that is, font background colour) as I use the same control 
(SvxFontColorExtToolControl). Or don't I understand you?
I have tried to implement the behaviour for font colour in Calc, but didn't 
succeed. The handling in case of font colour in ScFormatShell::ExecuteAttr() 
(formatsh.cxx) is that much different from the handling in case of background 
colour, that I was not able to find the correct calls to set the font colour to 
a value. Should I receive usefull hints, I am quite willing to implement the 
same behaviour for font colour too.

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


Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Petr Mladek
Dag Wieers píše v Pá 03. 02. 2012 v 11:52 +0100:
 This issue still exist in the LibO 3.5RC3 RPM builds, making the python 
 UNO interface unusable :-/

I have tried to send documents via E-mail using Tool/Mail Merge
Wizard... with LO-3.5.0-rc3 on SLED11-SP1-x86_64. It works well. This
functionality is written in python, so it kind of works.

I am a bit mixed by your description of the problem. How do you exactly
call the pyuno stuff? Could you please provide a simple script that
could be used to reproduce it?


Best Regards,
Petr



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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Michael Stahl
On 03/02/12 14:01, Stephan Bergmann wrote:
 On 02/02/2012 09:08 PM, julien2412 wrote:
 Would this patch better ? (I kept the for loop)
 
 Unfortunately that still has a problem.  After rBoxes.erase(toErase), 
 it (which is the same as toErase) is invalidated, so incrementing it 
 (up in the for(...;...;...) part) has undefined behavior.
 
 The standard idiom is
 
for (iterator i = m.begin(); i != m.end();) {
  if (doErase) {
m.erase(i++);
  } else {
++i;
  }
}

but doesn't that have the same problem? i is incremented only after
the erase is complete, when i is already invalid.

shouldn't this be something like:

for (iterator i = m.begin(); i != m.end(); ) {
if (doErase) {
   iterator const j = i++;
   m.erase(j);
} else {
   ++i;
}
}

 I read that to erase a position on a iterator invalidate this iterator from
 position to the end
 (http://www.cplusplus.com/reference/stl/vector/erase/)
 I don't know if to create this temporary variable toErase change something
 or it's all the same.
 
 The text you cite is about vector, for which *all* iterators into a 
 vector are invalidated upon an erase.

i think i read this invalidate from position to end in the SGI
documentation as well; does the actual standard give implementations
more freedom here?


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


Re: [Libreoffice-commits] .: configure.in Ensure AC_CHECK_LIB/AC_SEARCH_LIBS do not poison LIBS

2012-02-03 Thread Stephan Bergmann
I hope the below does not cause any problems for cases that actually 
evaluated AC_CHECK_LIB/AC_SEARCH_LIBS for the side-effect of modifying LIBS.


There was one case of a sequence of AC_CHECK_LIB, which indeed looks 
like doing it just for the side-effect, so I left that alone (see some 
systems need this. Like Ubuntu below).


I did not find any mention of @LIBS@ in our code base (outside of dmake, 
which has its own configure).


Stephan

On 02/03/2012 04:23 PM, Stephan Bergmann wrote:

  configure.in |   49 +
  1 file changed, 33 insertions(+), 16 deletions(-)

New commits:
commit e612f026de6ca1153c57fb10f0fa75725425a301
Author: Stephan Bergmannsberg...@redhat.com
Date:   Fri Feb 3 16:12:00 2012 +0100

 Ensure AC_CHECK_LIB/AC_SEARCH_LIBS do not poison LIBS

 ... as that would interfere with subsequent such checks, esp. on Linunx 
versions
 that do not yet incorporate
 https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking  and 
would
 e.g. not notice they need -lkrb5 in 
AC_SEARCH_LIBS(krb5_sendauth,[krb5... if
 they earlied did AC_CHECK_LIB([cups],... (where libcups.so links against
 libkrb5.so).

diff --git a/configure.in b/configure.in
index 6c255bb..4d89df0 100644
--- a/configure.in
+++ b/configure.in
@@ -3169,7 +3169,7 @@ dnl check for cups support
  dnl ===
  if test $test_cups = yes; then
  AC_MSG_CHECKING([whether cups support is present])
-AC_CHECK_LIB(cups, cupsPrintFiles)
+AC_CHECK_LIB([cups], [cupsPrintFiles], [:])
  AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))
  if test $ac_cv_lib_cups_cupsPrintFiles != yes -a $ac_cv_header_cups_cups_h != 
yes; then
  AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or 
cups???-devel.])
@@ -4301,7 +4301,7 @@ if test $with_alloc = tcmalloc; then
  if ! echo $host_cpu | grep -E 'i[[3456]]86' 2/dev/null/dev/null; then
  AC_MSG_ERROR([tcmalloc only available/usable on ix86])
  fi
-AC_CHECK_LIB(tcmalloc, malloc, [],
+AC_CHECK_LIB([tcmalloc], [malloc], [:],
  [AC_MSG_ERROR(tcmalloc not found or functional. Install the Google 
Profiling Tools)], [])
  ALLOC=TCMALLOC;
  fi
@@ -4310,7 +4310,7 @@ if test $with_alloc = jemalloc; then
  AC_MSG_RESULT(jemalloc)
  save_CFLAGS=$CFLAGS
  CFLAGS=$CFLAGS -pthread
-AC_CHECK_LIB(jemalloc, malloc, [],
+AC_CHECK_LIB([jemalloc], [malloc], [:],
  [AC_MSG_ERROR(jemalloc not found or functional. Install the 
jemalloc allocator.)], [])
  ALLOC=JEMALLOC;
  CFLAGS=$save_CFLAGS
@@ -5416,7 +5416,7 @@ if test $with_system_expat = yes; then
  SYSTEM_EXPAT=YES
  AC_CHECK_HEADER(expat.h, [],
  [AC_MSG_ERROR(expat.h not found. install expat)], [])
-AC_CHECK_LIB(expat, XML_ParserCreate, [],
+AC_CHECK_LIB([expat], [XML_ParserCreate], [:],
  [AC_MSG_RESULT(expat library not found or functional.)], [])
  MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libexpat-1.dll
  else
@@ -6044,7 +6044,7 @@ if test $ENABLE_MYSQLC = YES; then
  AC_LANG_PUSH([C++])
  AC_CHECK_HEADER(mysql_driver.h, [],
  [AC_MSG_ERROR(mysql_driver.h not found. install MySQL C++ 
Connectivity)], [])
-AC_CHECK_LIB(mysqlcppconn, main, [],
+AC_CHECK_LIB([mysqlcppconn], [main], [:],
  [AC_MSG_ERROR(MySQL C++ Connectivity lib not found or 
functional)], [])
  AC_MSG_CHECKING([version])
  AC_RUN_IFELSE([AC_LANG_SOURCE([[
@@ -6143,15 +6143,20 @@ if test x$enable_postgresql_sdbc != xno; then
  # MacOS X has system MIT Kerberos 5 since 10.4
  if test $with_krb5 != no; then
  WITH_KRB5=YES
+save_LIBS=$LIBS
  AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
  [AC_MSG_ERROR([could not find function 'com_err' required for 
Kerberos 5])])
+LIBS=$save_LIBS
  AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 
-lroken'], [],
  [AC_MSG_ERROR([could not find function 'krb5_sendauth' 
required for Kerberos 5])])
+LIBS=$save_LIBS
  fi
  if test $with_gssapi != no; then
WITH_GSSAPI=YES
+  save_LIBS=$LIBS
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi 
-lkrb5 -lcrypto'], [],
  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' 
required for GSSAPI])])
+  LIBS=$save_LIBS
  fi
  ;;
  WINNT)
@@ -6162,29 +6167,39 @@ if test x$enable_postgresql_sdbc != xno; then
  Linux|GNU|*BSD|DragonFly)
  if test $with_krb5 != no; then
  WITH_KRB5=YES
+save_LIBS=$LIBS
  AC_SEARCH_LIBS(com_err, [com_err 'com_err -lssl -lcrypto' krb5 
'krb5 -lcrypto -ldes 

Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Dag Wieers

On Fri, 3 Feb 2012, Petr Mladek wrote:


Dag Wieers píše v Pá 03. 02. 2012 v 11:52 +0100:


This issue still exist in the LibO 3.5RC3 RPM builds, making the python
UNO interface unusable :-/


I have tried to send documents via E-mail using Tool/Mail Merge
Wizard... with LO-3.5.0-rc3 on SLED11-SP1-x86_64. It works well. This
functionality is written in python, so it kind of works.

I am a bit mixed by your description of the problem. How do you exactly
call the pyuno stuff? Could you please provide a simple script that
could be used to reproduce it?


I run it exactly as described in the mail. The only thing performed was:

import uno

after which it crashes. This does not happen on the same system with the 
LibO 3.4.5 installation and hasn't happened on previous installations 
either. (Going back to OpenOffice 3.2.0)


Here is a very simple example without influencing the environment:


[dag@moria ~]$ /opt/libreoffice3.5/program/python
Python 2.6.1 (r261:67515, Feb  1 2012, 15:06:46)
[GCC 4.2.4] on linux2
Type help, copyright, credits or license for more information.

import uno

terminate called after throwing an instance of 
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)


Doing this for LibO 3.4.5 works as expected:


[dag@moria ~]$ /opt/libreoffice3.4/program/python
Python 2.6.1 (r261:67515, Jan  3 2012, 18:08:21)
[GCC 4.2.4] on linux2
Type help, copyright, credits or license for more information.

import uno
print dir(uno)

['Any', 'Bool', 'ByteSequence', 'Char', 'Enum', 'Type', '__builtin__', 
'__builtins__', '__doc__', '__file__', '__name__', '__package__', '_g_ctx', 
'_g_delegatee', '_impl_extractName', '_uno_extract_printable_stacktrace', 
'_uno_import', '_uno_struct__eq__', '_uno_struct__getattr__', 
'_uno_struct__init__', '_uno_struct__repr__', '_uno_struct__setattr__', 
'_uno_struct__str__', 'absolutize', 'createUnoStruct', 'fileUrlToSystemPath', 
'generateUuid', 'getClass', 'getComponentContext', 'getConstantByName', 
'getCurrentContext', 'getTypeByName', 'invoke', 'isInterface', 'pyuno', 
'setCurrentContext', 'socket', 'sys', 'systemPathToFileUrl']


It cannot be demonstrated more simple than that.


[dag@moria ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[dag@moria ~]$ uname -a
Linux moria.gent.wieers.com 3.2.2-0.el6.elrepo.x86_64 #1 SMP Fri Jan 27 
12:37:49 EST 2012 x86_64 x86_64 x86_64 GNU/Linux


Kind regards,
--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


redhat-menu*.rpm missing in 3.5.0 rc3 ?

2012-02-03 Thread Jean-Baptiste Faure
Hi,

Is it expected that there is no *redhat-menus*.rpm file in
desktop-integration for LO 3.5.0 rc3 ?
readme file says that this package has to be installed.

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


Re: redhat-menu*.rpm missing in 3.5.0 rc3 ?

2012-02-03 Thread Dag Wieers

On Fri, 3 Feb 2012, Jean-Baptiste Faure wrote:


Is it expected that there is no *redhat-menus*.rpm file in
desktop-integration for LO 3.5.0 rc3 ?
readme file says that this package has to be installed.


It was merged with the freedesktop. I can attest that the freedesktop 
works fine on RHEL, although Flat ODF file integration is not working 
because the mime-types are missing.


--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 04:18 PM, Michael Stahl wrote:

On 03/02/12 14:01, Stephan Bergmann wrote:

The standard idiom is

for (iterator i = m.begin(); i != m.end();) {
  if (doErase) {
m.erase(i++);
  } else {
++i;
  }
}


but doesn't that have the same problem? i is incremented only after
the erase is complete, when i is already invalid.


No, i is incremented before calling erase in the above code.


The text you cite is about vector, for which *all* iterators into a
vector are invalidated upon an erase.


i think i read this invalidate from position to end in the SGI
documentation as well; does the actual standard give implementations
more freedom here?


Oh yes, vector erase only invalidates all the iterators after the point 
of erase, not each and every iterator into the vector (i.e., it may not 
reallocate the shrunk array to a smaller memory area).  Sorry for the 
confusion.


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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Michael Stahl
On 03/02/12 17:21, Stephan Bergmann wrote:
 On 02/03/2012 04:18 PM, Michael Stahl wrote:
 On 03/02/12 14:01, Stephan Bergmann wrote:
 The standard idiom is

 for (iterator i = m.begin(); i != m.end();) {
   if (doErase) {
 m.erase(i++);
   } else {
 ++i;
   }
 }

 but doesn't that have the same problem? i is incremented only after
 the erase is complete, when i is already invalid.
 
 No, i is incremented before calling erase in the above code.

ah, that's surprising.
see, that is why i almost always write the i++ as an extra statement,
i'm never quite exactly sure what it does, and when  :)

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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 05:31 PM, Michael Stahl wrote:

ah, that's surprising.


that's shocking ;)


see, that is why i almost always write the i++ as an extra statement,
i'm never quite exactly sure what it does, and when  :)


There is a sequence point (in C++03 parlance; the nomenclature changed 
slightly for C++11) after evaluation of all function arguments, before 
any statements of the function body are executed.  Therefore, erase(i++) 
fully executes i++ before calling erase (with the old value of i).


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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Terrence Enger
On Fri, 2012-02-03 at 17:31 +0100, Michael Stahl wrote:
 On 03/02/12 17:21, Stephan Bergmann wrote:
  On 02/03/2012 04:18 PM, Michael Stahl wrote:
  On 03/02/12 14:01, Stephan Bergmann wrote:
  The standard idiom is
 
  for (iterator i = m.begin(); i != m.end();) {
if (doErase) {
  m.erase(i++);
} else {
  ++i;
}
  }
 
  but doesn't that have the same problem? i is incremented only after
  the erase is complete, when i is already invalid.
  
  No, i is incremented before calling erase in the above code.
 
 ah, that's surprising.
 see, that is why i almost always write the i++ as an extra statement,
 i'm never quite exactly sure what it does, and when  :)

Stephan, I am sorry to question your expertise, but I wonder ... is
your reassurance based on knowledge of the language standard, or is
based on observed behaviour of C++ compilers?

It is guaranteed that i will be incremented after it is copied (I am
*assuming* call-by-value.) for use by erase().  I suspect (but do not
know) that the question of whether the increment happens before or
after the call to erase() may be implementation-defined or worse.

(This, of course, is independent of what STL says about the validity
of iterators after erase().)

Terry, who says
This is your last warning.  I have a semicolon, and I am not
afraid to use it.


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


Re: Question already answered

2012-02-03 Thread Terrence Enger
On Fri, 2012-02-03 at 12:17 -0500, Terrence Enger wrote:
a question, which Stephan Bergmann answered even as I was
writing.

Thank you, Stephan.

Terry.


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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Michael Stahl
On 03/02/12 18:17, Terrence Enger wrote:

 Stephan, I am sorry to question your expertise, but I wonder ... is
 your reassurance based on knowledge of the language standard, or is
 based on observed behaviour of C++ compilers?

hahaha, i believe that among all the developers who ever worked on
OpenOffice.org code though its long history, Stephan is the only one who
actually _understands_ C++  :)

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


wikihelp update?

2012-02-03 Thread Korrawit Pruegsanusak
Hello Jan,

As the 3.5 RC3 is approaching, IMHO it's time to trigger the update of
wikihelp :-)

Sorry if you've already done this in the meantime.

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


Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 04:46 PM, Dag Wieers wrote:

[dag@moria ~]$ /opt/libreoffice3.5/program/python
Python 2.6.1 (r261:67515, Feb 1 2012, 15:06:46)
[GCC 4.2.4] on linux2
Type help, copyright, credits or license for more information.

import uno

terminate called after throwing an instance of
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)


I can reproduce this with 
LibO_3.5.0rc2_Linux_x86-64_install-rpm_en-US.tar.gz from 
http://www.libreoffice.org/download/pre-releases/.  The problem is 
that readRdbFile (cppuhelper/soruce/bootstrap.cxx) in 
/opt/libreoffice3.5/ure/lib/libuno_cppuhelpergcc3.so.3 calls 
SimpleRegistry::open (stoc/source/simpleregistry/simpleregistry.cxx) in 
/opt/libreoffice3.5/ure/lib/bootstrap.uno.so (with 
rURL=file:///etc/opt/ure/types.rdb), which throws an instance of 
css.registry.InvalidRegistryException (correctly so, as rURL does not 
exist), but the code in libuno_cppuhelpergcc3.so.3 fails to catch that 
exception with its


  catch (css::registry::InvalidRegistryException  e) {

code block.  Very suspicious, esp. given that both 
libuno_cppuhelpergcc3.so.3 and bootstrap.uno.so export the _ZTI/_ZTS 
symbols for InvalidRegistryException (and new GCC versions no longer 
compare on the brittle RTTI pointers, but on string equality, anyway).


I have currently no idea what's broken there.

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


AES encryption support - please check a text in wiki

2012-02-03 Thread Korrawit Pruegsanusak
Hello all,

I've found a user Loflex proposing some more words about AES
encryption support in 3.5
http://wiki.documentfoundation.org/Talk:ReleaseNotes/3.5#Different_Encryption_Algorithm

Could someone please have a look at this, and then move it into the
Article page? Thanks! :-)

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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread Terrence Enger
On Fri, 2012-02-03 at 18:30 +0100, Michael Stahl wrote:
 On 03/02/12 18:17, Terrence Enger wrote:
 
  Stephan, I am sorry to question your expertise, but I wonder ... is
  your reassurance based on knowledge of the language standard, or is
  based on observed behaviour of C++ compilers?
 
 hahaha, i believe that among all the developers who ever worked on
 OpenOffice.org code though its long history, Stephan is the only one who
 actually _understands_ C++  :)

Ah, yes.

In my question, I left out the words sequence point for fear of 
suggesting a level of understanding beyond what I actually have.

Thank you, all, for your patience with a noob.

Terry.


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


Re: redhat-menu*.rpm missing in 3.5.0 rc3 ?

2012-02-03 Thread Andras Timar
Hi,

2012/2/3 Jean-Baptiste Faure jbf.fa...@orange.fr:
 Is it expected that there is no *redhat-menus*.rpm file in
 desktop-integration for LO 3.5.0 rc3 ?
 readme file says that this package has to be installed.


Thanks for noticing this bug, Petr Mladek patched the readme in
master. I cherry picked his patch to libreoffice-3-5 branch and I also
updated the translations in git.

Best regards,
Andras
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [PUSHED] CSC, SEC, CSCH SECH Help missing, How to add one? ref: bug fdo#44792

2012-02-03 Thread Andras Timar
pushed, thanks.

2012/1/31 Olivier Hallot olivier.hal...@documentfoundation.org:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi

 I fixed the english terminology, according to the justifications by Regina.

 regards

 Olivier

 Em 31-01-2012 11:28, Regina Henschel escreveu:
 Olivier Hallot schrieb:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Regina

 It has been decades since I handled groups, rings, fields, and functions
 in my french lycée. Now I am confused because it looks like the two
 terms are swapped between french and english...

 Regards

 Olivier

 In french:
 http://fr.wikipedia.org/wiki/Cos%C3%A9cante#Fonctions_r.C3.A9ciproques

 in English
 http://en.wikipedia.org/wiki/Inverse_%28mathematics%29

 A better reference for Engish is
 http://en.wikipedia.org/wiki/Sine#Reciprocal

 The topic here are functions, not numbers.
 For numbers you have the term additive inverse of x is -x or
 multiplicative inverse of x is 1/x. But in context of functions
 inverse always means the inverse in respect to composition.

 I don't know French. Astonishing, http://en.wikipedia.org/wiki/Sine has
 no direct translation to French.

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

 - --
 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/

 iQEcBAEBAgAGBQJPKBklAAoJEJp3R7nH3vLxC7sIAIgLiitUH2qEH8ghN3HyatbZ
 FHLJRXgDVmF002fOeG1CUyjETCdr2i4ZC0zD7hr+/6PK2u16tR1ZRIY0Mq0VNe2f
 KWso+ZWFJRvas7hnwAqjJJjBNpWZ2wvHfg+9I8kMxo6FKoVBgB4vjjonD+NTQ5hr
 g5trt6Y0jov5aCFvcAXPE4JphNkVh/W1uWq0/apbkwjKppoaz/0L+R6XDZ2YYvbS
 xc/hlFEkhlaSzCMY6ULMSHO7y93pWu1Fk2INgcVm44wpLAenBRzJsCeH+bPvRbSZ
 y+r+QKPrYRhII/xxqKfWz4vgm5RThK2iQ0UMqloyr4u7ZAKXRMuY1DRe1Q5d8es=
 =mSq+
 -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] [REVIEW]Bug 34425 - [EasyHack] formatting background color toolbar button

2012-02-03 Thread Stefan Knorr (Astron)
Hi Winfried,

On 3 February 2012 15:23, Winfried Donkers w.donk...@dci-electronics.nl wrote:
 Stefan Knorr (Astron) wrote
So, do you think there's a chance you could implement the same behaviour for
* Background Colour in Writer
* Font Colour in Calc?

 I should expect the behaviour for background color in Writer to be there 
 already (that is, font background colour) as I use the same control 
 (SvxFontColorExtToolControl). Or don't I understand you?

Writer has two background colour functions, one is Highlight (can
highlight single characters, words, etc. – the icon is a text marker)
and the other is Background Colour (changes background colour for
entire lines – icon is a page with a gradient, like in Calc). The
highlighter is already a split button, but Background Colour is not.


 I have tried to implement the behaviour for font colour in Calc, but didn't 
 succeed.

Sad face.


 Should I receive usefull hints, I am quite willing to implement the same 
 behaviour for font colour too.

Happy face; though I can't help much in the area of actually implementing it.

By the way, I've actually just discovered even more buttons that would
be eligible for the split-button treatment...
* In Writer's Table toolbar, there are buttons for Background Colour
and Line Colour
* Impress/Draw's Text Formatting toolbar contains a Font Colour button
* Impress/Draw's Table toolbar also contains a Line Colour button
* there are more places but those are probably less used/important,
like the 3D-Settings toolbar(s)'s 3D Colour/Extrusion Colour
(If you're feeling overwhelmed now, I'd offer to open bugs for all of
the functions that I find, in the hope that someone, not necessarily
you, converts them later.)

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


Re: Question about iterator management in sw/source/core/fields/cellfml.cxx

2012-02-03 Thread julien2412
I followed the idiom you indicated, commited and pushed on master (see
9d0136679e441413b6945d2a40aa892b50ee19a8)
Thank you Stephan for the details about C++
Hope that C++11 will spread quickly because all these things aren't very
intuitive.

Julien

--
View this message in context: 
http://nabble.documentfoundation.org/Question-about-iterator-management-in-sw-source-core-fields-cellfml-cxx-tp3708331p3714286.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] LibO 3.5RC2: terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException'

2012-02-03 Thread Stephan Bergmann

On 02/03/2012 06:43 PM, Stephan Bergmann wrote:

On 02/03/2012 04:46 PM, Dag Wieers wrote:

[dag@moria ~]$ /opt/libreoffice3.5/program/python
Python 2.6.1 (r261:67515, Feb 1 2012, 15:06:46)
[GCC 4.2.4] on linux2
Type help, copyright, credits or license for more information.

import uno

terminate called after throwing an instance of
'com::sun::star::registry::InvalidRegistryException'
Aborted (core dumped)


I can reproduce this with
LibO_3.5.0rc2_Linux_x86-64_install-rpm_en-US.tar.gz from
http://www.libreoffice.org/download/pre-releases/. The problem is that
readRdbFile (cppuhelper/soruce/bootstrap.cxx) in
/opt/libreoffice3.5/ure/lib/libuno_cppuhelpergcc3.so.3 calls
SimpleRegistry::open (stoc/source/simpleregistry/simpleregistry.cxx) in
/opt/libreoffice3.5/ure/lib/bootstrap.uno.so (with
rURL=file:///etc/opt/ure/types.rdb), which throws an instance of
css.registry.InvalidRegistryException (correctly so, as rURL does not
exist), but the code in libuno_cppuhelpergcc3.so.3 fails to catch that
exception with its

catch (css::registry::InvalidRegistryException  e) {

code block. Very suspicious, esp. given that both
libuno_cppuhelpergcc3.so.3 and bootstrap.uno.so export the _ZTI/_ZTS
symbols for InvalidRegistryException (and new GCC versions no longer
compare on the brittle RTTI pointers, but on string equality, anyway).

I have currently no idea what's broken there.


The secret is that the LO installation sets available from 
http://www.libreoffice.org/download are built with implicit 
--without-system-stdlibs, so they bring along ure/lib/libgcc_s.so.1 and 
ure/lib/libstdc++.so.6 (which the programs in the LO installation, like 
program/soffice.bin and program/python.bin, pick up at runtime).


For reasons that still escape me, this causes exception-handling trouble 
for LO 3.5 program/python (which happens to set LD_LIBRARY_PATH, maybe 
that makes a difference), but apparently not for LO 3.5 program/soffice, 
nor reportedly for LO 3.4 program/python (as reported by Dag).


Removing /opt/libreoffice3.5/ure/lib/libgcc_s.so.1 and 
/opt/libreoffice3.5/ure/lib/libstdc++.so.6 made the problem go away for 
me on Fedora 16 x86_64.


Petr, the best approach might be to build the official Linux LO 
installation sets with explicit --with-system-stdlibs, so that the 
installation sets do not bring along their own libgcc_s.so.1 and 
libstdc++.so.6.  If the installation sets are built on a sufficiently 
old baseline system, it should be a pretty safe bet that each box on 
which they are installed bring along sufficiently new versions of those 
libs as part of the system.


Apart from that, Dag, the only safe solution, in principle, is to use a 
version of LO that is specificially built for the machine it is run on 
(i.e., use a LO installation provided by the respective distro).


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


[REVIEW][3-{4,5}] fdo#45115 double table border API regression

2012-02-03 Thread Michael Stahl

hi all,

proposing 2 commits to fix bug in Writer and Calc for libreoffice-3-5
and libreoffice-3-4:

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

http://cgit.freedesktop.org/libreoffice/core/commit/?id=697743161a6047902ee880851b23c9aef1bfa392

for libreoffice-3-4, first the following commit is necessary, which
already fixes fdo#39117 and which i've just pushed:

http://cgit.freedesktop.org/libreoffice/calc/commit/?h=libreoffice-3-4id=ff3a6a514d4a95653d111610ea06954b8130a869

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


[PUSHED] Re: [REVIEW][3-5][3.5.0][3-4] invalid cast from BoderLine to BorderLine2

2012-02-03 Thread Michael Stahl
On 26/01/12 14:45, Eike Rathke wrote:
 Hi,
 
 Please review and cherry-pick to 3-5, 3.5.0 and 3-4
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=97c66b3b13528cc50f271217663718b3d6681bd9
 
 Fixes an invalid cast that caused an arbitrary memory access.
 
 Thanks
   Eike

as just noted in another mail, also fixes fdo#39117, pushed to
libreoffice-3-4:

http://cgit.freedesktop.org/libreoffice/calc/commit/?h=libreoffice-3-4id=ff3a6a514d4a95653d111610ea06954b8130a869

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


likely cancellation of my presentations at FOSDEM

2012-02-03 Thread Christophe Strobbe

Hi,

I have a presentation and a lightning talk scheduled at tomorrow's 
LibreOffice devroom. Unfortunately, it looks very unlikely that I will 
be able to make it to the conference. I hope someone reads this before 
the start of the devroom tomorrow. I apologise for the inconvenience.


Christophe

--
Christophe Strobbe
K.U.Leuven - Dept. of Electrical Engineering - SCD
Research Group on Document Architectures
Kasteelpark Arenberg 10 bus 2442
B-3001 Leuven-Heverlee
BELGIUM
tel: +32 16 32 85 51
www.docarch.be
Twitter: @RabelaisA11y
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [PUSHED][PATCH] Removed unused ImplSalLogFontToFontA()

2012-02-03 Thread Cor Nouws

Hi,

Sorry to disturb ;-)
Do I see a contradiction below?

Ivan Timofeev wrote (31-01-12 12:16)

I've just pushed it.


Caolán McNamara wrote (31-01-12 14:21)

Its windows only code, and callcatcher can only see what gets compiled
as its just a compiler wrapper and I run it under Linux.




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

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


Re: likely cancellation of my presentations at FOSDEM

2012-02-03 Thread Cor Nouws

Hi Christophe,

Christophe Strobbe wrote (03-02-12 23:31)


I have a presentation and a lightning talk scheduled at tomorrow's
LibreOffice devroom. Unfortunately, it looks very unlikely that I will
be able to make it to the conference.


Sorry to read that :-\
But in case you càn make it, we'll make sure the time-slot is there for 
you :-)



I hope someone reads this before
the start of the devroom tomorrow. I apologise for the inconvenience.


Noticed!
Thanks for letting us know and for the good intention to join with the talk!

Cheers,

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

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


Re: New tool for better understanding the codebase, to complement the wiki.

2012-02-03 Thread Josh Heidenreich
Mike, *,

        What would be really sexy (apart from getting your script running on a
 TDF server and linked from the wiki etc. etc.) - would be if we could
 transfer what little information we have from the Code_Overview into
 README files. Any chance you could clone the git repo from freedesktop,
 and send a git diff with that text in README files ?

The plan was now to write/improve the READMEs to make sense, and to
get content from the wiki, reading the code, etc.

The format the script currently uses is:
First parahraph - shown on index.
Whole text - when you click on a module

 module configmgr has configmgr/source/README, so either improve the script
 or move the file...  :)

I'll fix that when I do the tasks above.

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


Re: [Libreoffice-qa] guidelines for filing bugs

2012-02-03 Thread Cor Nouws

Hi Terry,

Terrence Enger wrote (30-01-12 17:52)

If this is a good idea, I would welcome suggestions about
wording and a good place to put it.


There is a lot of information already, and people tend to write first 
and sometimes read after that (look at myself now ;-)


But I think, if you can try to put it in one, maybe two lines...
Pls look here (or in one of the linked pages) for a good place
  http://wiki.documentfoundation.org/BugReport

And feel free to ask in case that 

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/


[Libreoffice-bugs] [Bug 43193] Invalid view victor image in DOC

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43193

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #14 from tester8 iamtest...@gmail.com 2012-02-03 01:04:02 PST ---
Are you sure that your test file was not modified?...
I am Sure.

Anyway now it is ok with 3.5rc3.

-- 
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 35152] fontwork cursor problem: there already is cursor, but we need click additionaly

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35152

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #3 from tester8 iamtest...@gmail.com 2012-02-03 01:21:50 PST ---
Reproduced with

LibreOffice 3.5.0rc3
7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Ubuntu 10.04.3 x86
Linux 2.6.32-38-generic Russian UI

Small clarification: it is not about mouse cursor. First element in Fontwork
window outlined, but not selected, it should be or normally outlined and
selected or not outlined and not selected.

-- 
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 45530] Accessibility does not work

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45530

Masataka Shinke mshi...@users.sourceforge.jp changed:

   What|Removed |Added

 OS/Version|All |Windows (All)

-- 
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 41214] ODFF: implement SUMIFS()

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41214

GerardF gerard.farg...@orange.fr changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
 CC||gerard.farg...@orange.fr

--- Comment #2 from GerardF gerard.farg...@orange.fr 2012-02-03 01:36:38 PST 
---
Apache OpenOffice 3.4 will have new Conditional Functions :

Support conditional functions COUNTIFS, SUMIFS, AVERAGEIF and AVERAGEIFS
https://cwiki.apache.org/OOOUSERS/aoo-34-release-notes.html

These functions are defined in ODF1.2 :
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#__RefHeading__1018586_715980110

I think we need this enhancement.

-- 
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 40908] FORMATTING of endnotes lost on FILESAVE to Microsoft Word 97/2000/XP format

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40908

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

   What|Removed |Added

 Status|NEEDINFO|NEW
 CC||sasha.libreoff...@gmail.com

--- Comment #2 from sasha.libreoff...@gmail.com 2012-02-03 01:40:04 PST ---
reproducible in LibO 3.6.0 master
but this bug is duplictate of some another 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 40908] FORMATTING of endnotes lost on FILESAVE to Microsoft Word 97/2000/XP format

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40908

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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #3 from sasha.libreoff...@gmail.com 2012-02-03 01:41:56 PST ---


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

-- 
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 40101] Endnotes converted to roman numerals when saving odt-doc (FILESAVE, FORMATTING)

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40101

--- Comment #4 from sasha.libreoff...@gmail.com 2012-02-03 01:41:56 PST ---
*** Bug 40908 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 40947] Comparing version changes in Calc shows wrong author

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40947

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

   What|Removed |Added

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

--- Comment #2 from sasha.libreoff...@gmail.com 2012-02-03 01:47:37 PST ---
@ Mario 
Please, attach both described document

-- 
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 45566] PDF: Headers and Footers are faded in PDF

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45566

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 CC||iamtest...@gmail.com

--- Comment #1 from tester8 iamtest...@gmail.com 2012-02-03 01:48:48 PST ---
NOT reproduced with

LibreOffice 3.5.0rc3
7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Ubuntu 10.04.3 x86
Linux 2.6.32-38-generic Russian UI

-- 
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 45566] PDF: Headers and Footers are faded in PDF

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45566

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Status Whiteboard|BSA |BSA target:3.5.0
 Resolution||FIXED

--- Comment #2 from tester8 iamtest...@gmail.com 2012-02-03 01:50:38 UTC ---
Feel free to reopen if bug is steel there for you with 3.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 45567] EDITING: Undo does not undo math formula edits

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45567

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||iamtest...@gmail.com
 Ever Confirmed|0   |1

--- Comment #1 from tester8 iamtest...@gmail.com 2012-02-03 02:01:05 PST ---
Reproduced with

LibreOffice 3.5.0rc3
7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Ubuntu 10.04.3 x86
Linux 2.6.32-38-generic Russian UI

I am pretty sure that this is duplicate, but can't find original.

-- 
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 45563] incorrect IMPORT of Zotero RTF, regression

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45563

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

Summary|VIEWING |incorrect IMPORT of Zotero
   ||RTF, regression

-- 
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 45560] FILEOPEN Bad import of Docx textbox

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45560

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #4 from tester8 iamtest...@gmail.com 2012-02-03 02:12:30 PST ---
Reproduced with

LibreOffice 3.5.0rc3
7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Ubuntu 10.04.3 x86
Linux 2.6.32-38-generic Russian UI

changed to new.

-- 
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 45193] Frames from DOCX Are Tiny Slivers in Middle

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45193

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #2 from tester8 iamtest...@gmail.com 2012-02-03 02:19:28 PST ---


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

-- 
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 45560] FILEOPEN Bad import of Docx textbox

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45560

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 CC||scottmitchellsanders@gmail.
   ||com

--- Comment #5 from tester8 iamtest...@gmail.com 2012-02-03 02:19:28 PST ---
*** Bug 45193 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 45580] New: : LibreOffice crashes when clicking on Connect to an existing database Database Wizard option

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45580

 Bug #: 45580
   Summary: : LibreOffice crashes when clicking on Connect to an
existing database Database Wizard option
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.0 RC2
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Database
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: ftig...@wolfpond.org


Problem description: 

LibreOffice crashes when clicking on Connect to an existing database Database
Wizard option

Steps to reproduce:
1. Launch LibreOffice
2. Select Database
3. Click on Connect to an existing database in the Database Wizard window

Current behavior:

Instant crash, no error message

Operating system reports LibreOffice has crashed:
pid 1169 (soffice.bin), uid 1000: exited on signal 11 (core dumped)

Expected behavior:

Error message saying Java is disabled

Platform (if different from the browser): 

DragonFly 3.0 / x86_64

-- 
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 43028] FILEOPEN: Test case where opening docx causes General Error

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43028

tester8 iamtest...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Status Whiteboard||target:3.5.0
 Resolution||FIXED

--- Comment #3 from tester8 iamtest...@gmail.com 2012-02-03 02:24:10 PST ---
NOT reproduced with

LibreOffice 3.5.0rc3
7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Ubuntu 10.04.3 x86
Linux 2.6.32-38-generic Russian UI

-- 
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 45580] : LibreOffice crashes when clicking on Connect to an existing database Database Wizard option

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45580

Francois Tigeot ftig...@wolfpond.org changed:

   What|Removed |Added

   Platform|Other   |x86-64 (AMD64)
 OS/Version|All |BSD (Others)
   Priority|medium  |low

-- 
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 45580] : LibreOffice crashes when clicking on Connect to an existing database Database Wizard option

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45580

--- Comment #1 from Lionel Elie Mamane lio...@mamane.lu 2012-02-03 02:35:55 
PST ---
(In reply to comment #0)
 Expected behavior:

 Error message saying Java is disabled

Not even that. That error message should come *only* for a database that
actually requires Java, such as JDBC or HSQL.

That might be related to the fact that the default choice is 'JDBC'.

Cannot reproduce with 3.4.4 (Debian GNU/Linux amd64 package).

Cannot reproduce with 3.5 (own debug build on Debian GNU/Linux).

Even in the case of JDBC, I get all the way to configuring a connexion, and it
fails only when clicking test connection or 'test class'. Nice error message
saying LibreOffice requires a JRE to perform this task, but disable. Enable
now? Yes/No

My tests on a LibO compiled with java support, but Java disabled in options.
Might be the difference.

-- 
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 45581] New: Very very slow start of any component

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45581

 Bug #: 45581
   Summary: Very very slow start of any component
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.5 release
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Libreoffice
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: mustela...@yahoo.es


In my work, we have PC's with Windows 6.x (Vista SP2  7 SP1), all Home
edition. Plus, I have one VM with XP SP3. Well, ALL Windows, the starting LO
applications is extremely slow, in some cases, more than 20 SEC! (10 or less
for XP). If I enable the Boot with windows session, running the applications
on the launcher icon on taskbar is very fast, less than one second, but though
this is enabled and started, starting Writer for example from Start menu, the
time is fatal.

Monitoring the processes, the speed launcher is in 2 PID: soffice.bin and
soffice.exe. When starting Writer from here, for example, no changes apparently
in the processes. To here is OK. But without disable or shutdown speed
launcher, starting Writer from Start menu, the process create another instances
of soffice.bin/.exe with all his time loading.

-- 
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 45582] New: VIEWING: Background Colour of Bullets, Numbering Digits and Formatting Marks is Set to Background Colour of Fields

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45582

 Bug #: 45582
   Summary: VIEWING: Background Colour of Bullets, Numbering
Digits and Formatting Marks is Set to Background
Colour of Fields
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.5 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: harald-koes...@htp-tel.de


Problem description: 

Steps in order to reproduce:
[1] Open new text document.
[2] Choose a nice colour for the background of fields (Tools  Options 
LibreOffice  Appearance  Custom Colors  Field shadings)
[3] Insert two lines with bullets.
[4] Position the cursor in front of a bullet (with arrow button or by mouse
click). The background of both bullets is now displayed with the chosen colour
of step 2.

Expected behaviour: No change of colours.

The proceeding for numbering digits is equal. 

If you use several lists (bullets and/or numbered) in a greater document, not
all bullets or digits change their background colour. The conditions of this
behaviour I did not check.

Formatting marks always get the background colour for fields, when they are
inserted (Insert  Formatting Marks). Expected behaviour: Use of a fixed colour
for background of formatting marks.

Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.26)
Gecko/20120128 Firefox/3.6.26

-- 
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 45583] New: Character encoding mess: Cyrillics from Writer to Calc

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45583

 Bug #: 45583
   Summary: Character encoding mess: Cyrillics from Writer to Calc
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.4 release
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: BASIC
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: iyu...@gmail.com


Windows XP SP3 Home, Russian version
Default codepage is Windows-1251.

Steps to reproduce:
1. Open Writer.
2. Type any cyrillic text with DEFAULT font.
3. Copy text into the clipboard.
3. Open Calc.
4. Double-click in any cell or in formula field.
5. Paste text from clipboard.

Cyrillic encoding becomes Central-European or so: vowels with accents etc.

If you select font in Writer explicitly (even the same), then it's OK.
If you paste to Calc as unformatted text, then it's OK, too.

However, it should be possible to paste formatted text with proper character
encoding.

-- 
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 45584] New: presentation view defective

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45584

 Bug #: 45584
   Summary: presentation view defective
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.0 RC3
  Platform: x86-64 (AMD64)
OS/Version: Mac OS X (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Presentation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: flo...@documentfoundation.org


Playing the attached presentation, created with 3.4, on 3.5 Mac leads to a
defective view, see atttached screenshot. Seems to be a Mac-only problem so
far.

-- 
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 45585] New: BASIC: Closes without Error or crash if opening a specific file (attached)

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45585

 Bug #: 45585
   Summary: BASIC: Closes without Error or crash if opening a
specific file (attached)
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.5 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: BASIC
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: h...@gmx.net


Created attachment 56566
  -- https://bugs.freedesktop.org/attachment.cgi?id=56566
word document

Steps to reproduce:
try to open the file

Current behavior:
libreoffice closes

Expected behavior:
libreoffice shows file

Platform (if different from the browser):
Ubuntu 11.10

File can be opend in version 3.3.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 45584] presentation view defective

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45584

--- Comment #1 from Florian Effenberger flo...@documentfoundation.org 
2012-02-03 03:39:51 PST ---
Created attachment 56567
  -- https://bugs.freedesktop.org/attachment.cgi?id=56567
Slide deck

-- 
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 37361] LibreOffice 3.5 most annoying bugs

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Florian Effenberger flo...@documentfoundation.org changed:

   What|Removed |Added

 CC||floeff@documentfoundation.o
   ||rg

--- Comment #164 from Florian Effenberger flo...@documentfoundation.org 
2012-02-03 03:40:22 PST ---
Bug 45584 - presentation view defective

-- 
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.
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 45584] presentation view defective

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45584

--- Comment #2 from Florian Effenberger flo...@documentfoundation.org 
2012-02-03 03:40:54 PST ---
Created attachment 56568
  -- https://bugs.freedesktop.org/attachment.cgi?id=56568
Screenshot

-- 
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 45586] New: Header border minimum thickness is now 25pt

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45586

 Bug #: 45586
   Summary: Header border minimum thickness is now 25pt
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.5 release
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: miker...@live.co.uk


Created attachment 56569
  -- https://bugs.freedesktop.org/attachment.cgi?id=56569
The latest versions of LO have a 0.25pt minimum thickness for the border

In recent versions of LO the minimum thickness for a header border is now
0.25pt. This means it is impossible to create a thin line border.

I believe this is connected to the work done on table borders (which also now
have 0.25pt minimum but render on screen and in PDF documents as a thin line).

Please see the attached screenshots to help understand this explanation

-- 
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 45586] Header border minimum thickness is now 0.25pt

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45586

miker...@live.co.uk changed:

   What|Removed |Added

Summary|Header border minimum   |Header border minimum
   |thickness is now 25pt   |thickness is now 0.25pt

-- 
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 45586] Header border minimum thickness is now 0.25pt

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45586

--- Comment #1 from miker...@live.co.uk 2012-02-03 03:47:16 PST ---
Created attachment 56570
  -- https://bugs.freedesktop.org/attachment.cgi?id=56570
Old style fine line border

-- 
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 41006] Z-order mangled in large documents (FILEOPEN, FILESAVE, FORMATTING)

2012-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41006

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

   What|Removed |Added

   Platform|Other   |All
 Status|NEEDINFO|NEW
 CC||sasha.libreoff...@gmail.com

--- Comment #3 from sasha.libreoff...@gmail.com 2012-02-03 03:55:49 PST ---
reproduced in LibO 3.6.0 master on Fedora 64 bit 
use file Figure z order problems 4.odt from first link and see on Figure 11
inside
one arrow beneath of photo and if bring it one step to front and save and do
File- Reload, arrow again appears beneath of photo

-- 
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   >