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

2016-01-17 Thread Peter Foley
 configure.ac |  251 ++-
 1 file changed, 111 insertions(+), 140 deletions(-)

New commits:
commit 19167ea31383cb91c1563ba2d4bb7708eea8afc1
Author: Peter Foley 
Date:   Sun Jan 17 18:12:39 2016 -0500

Use test -f rather then cross-compilation unfriendly AC_CHECK_FILE

Change-Id: I3ea0f56606e75254bc8998238af76d31315f77e0
Reviewed-on: https://gerrit.libreoffice.org/21556
Tested-by: Jenkins 
Reviewed-by: jan iversen 

diff --git a/configure.ac b/configure.ac
index 8ed1ab8..39f61c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8351,8 +8351,9 @@ if test "$with_java" != "no"; then
 if test -z $HSQLDB_JAR; then
 HSQLDB_JAR=/usr/share/java/hsqldb.jar
 fi
-AC_CHECK_FILE($HSQLDB_JAR, [],
-   [AC_MSG_ERROR(hsqldb.jar not found.)], [])
+if ! test -f $HSQLDB_JAR; then
+   AC_MSG_ERROR(hsqldb.jar not found.)]
+fi
 AC_MSG_CHECKING([whether hsqldb is 1.8.0.x])
 export HSQLDB_JAR
 if $PERL -e \
@@ -10562,157 +10563,128 @@ if test "$enable_report_builder" != "no" -a 
"$with_java" != "no"; then
 if test -z $SAC_JAR; then
 SAC_JAR=/usr/share/java/sac.jar
 fi
-AC_CHECK_FILE($SAC_JAR, [],
- [AC_MSG_ERROR(sac.jar not found.)], [])
+if ! test -f $SAC_JAR; then
+ AC_MSG_ERROR(sac.jar not found.)
+fi
 
 if test -z $LIBXML_JAR; then
-AC_CHECK_FILE(/usr/share/java/libxml-1.0.0.jar,
-[ LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar ],
-[
-AC_CHECK_FILE(/usr/share/java/libxml.jar,
-   [ LIBXML_JAR=/usr/share/java/libxml.jar ],
-   [AC_MSG_ERROR(libxml.jar replacement not found.)]
-)
-]
-)
-else
-AC_CHECK_FILE($LIBXML_JAR, [],
- [AC_MSG_ERROR(libxml.jar not found.)], [])
+if test -f /usr/share/java/libxml-1.0.0.jar; then
+LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar
+elif test -f /usr/share/java/libxml.jar; then
+LIBXML_JAR=/usr/share/java/libxml.jar
+else
+AC_MSG_ERROR(libxml.jar replacement not found.)
+fi
+elif ! test -f $LIBXML_JAR; then
+AC_MSG_ERROR(libxml.jar not found.)
 fi
 
 if test -z $FLUTE_JAR; then
-AC_CHECK_FILE(/usr/share/java/flute-1.3.0.jar,
-[ FLUTE_JAR=/usr/share/java/flute-1.3.0.jar ],
-[
-AC_CHECK_FILE(/usr/share/java/flute.jar,
-[ FLUTE_JAR=/usr/share/java/flute.jar ],
-[ AC_MSG_ERROR(flute-1.3.0.jar replacement not found.)]
-)
-]
-)
-else
-AC_CHECK_FILE($FLUTE_JAR, [],
- [AC_MSG_ERROR(flute-1.3.0.jar not found.)], [])
+if test -f/usr/share/java/flute-1.3.0.jar; then
+FLUTE_JAR=/usr/share/java/flute-1.3.0.jar
+elif test -f /usr/share/java/flute.jar; then
+FLUTE_JAR=/usr/share/java/flute.jar
+else
+AC_MSG_ERROR(flute-1.3.0.jar replacement not found.)
+fi
+elif ! test -f $FLUTE_JAR; then
+AC_MSG_ERROR(flute-1.3.0.jar not found.)
 fi
 
 if test -z $JFREEREPORT_JAR; then
-AC_CHECK_FILE(/usr/share/java/flow-engine-0.9.2.jar,
-[ JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar ],
-[
-AC_CHECK_FILE(/usr/share/java/flow-engine.jar,
-[ JFREEREPORT_JAR=/usr/share/java/flow-engine.jar ],
-[AC_MSG_ERROR(jfreereport.jar replacement not found.)]
-)
-]
-)
-else
-AC_CHECK_FILE($JFREEREPORT_JAR, [],
- [AC_MSG_ERROR(jfreereport.jar not found.)], [])
+if test -f /usr/share/java/flow-engine-0.9.2.jar; then
+JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar
+elif test -f /usr/share/java/flow-engine.jar; then
+JFREEREPORT_JAR=/usr/share/java/flow-engine.jar
+else
+AC_MSG_ERROR(jfreereport.jar replacement not found.)
+fi
+elif ! test -f  $JFREEREPORT_JAR; then
+AC_MSG_ERROR(jfreereport.jar not found.)
 fi
 
 if test -z $LIBLAYOUT_JAR; then
-AC_CHECK_FILE(/usr/share/java/liblayout-0.2.9.jar,
-[ LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar ],
-[
-AC_CHECK_FILE(/usr/share/java/liblayout.jar,
-[ LIBLAYOUT_JAR=/usr/share/java/liblayout.jar ],
-[AC_MSG_ERROR(liblayout.jar replacement not found.)]
-  

[Libreoffice-commits] core.git: filter/source sysui/desktop

2016-01-17 Thread Sean Young
 filter/source/config/fragments/types/writer_MS_Write.xcu |2 -
 sysui/desktop/debian/postinst|1 
 sysui/desktop/macosx/Info.plist.in   |   24 +++
 sysui/desktop/menus/writer.desktop   |2 -
 4 files changed, 27 insertions(+), 2 deletions(-)

New commits:
commit 264c39c591846d1c714851d2d571fbd041cf
Author: Sean Young 
Date:   Thu Jan 14 20:13:45 2016 +

Set file association for MS Write files on linux and Mac

Other mime types used for MS Write are application/x-wri,
application/mswrite and application/wri. I think these were
pretty rare though.

Change-Id: I2bf48ab7a2fb1d979db38774ae0547c5ab6040d4
Reviewed-on: https://gerrit.libreoffice.org/21552
Tested-by: Jenkins 
Reviewed-by: jan iversen 

diff --git a/filter/source/config/fragments/types/writer_MS_Write.xcu 
b/filter/source/config/fragments/types/writer_MS_Write.xcu
index f42dca6..48ae04b 100644
--- a/filter/source/config/fragments/types/writer_MS_Write.xcu
+++ b/filter/source/config/fragments/types/writer_MS_Write.xcu
@@ -19,7 +19,7 @@
 com.sun.star.comp.Writer.MSWorksImportFilter
 
 wri
-
+application/x-mswrite
 true
 MS_Write
 
diff --git a/sysui/desktop/debian/postinst b/sysui/desktop/debian/postinst
index b9b6f24..715403f 100755
--- a/sysui/desktop/debian/postinst
+++ b/sysui/desktop/debian/postinst
@@ -176,6 +176,7 @@ application/x-wordperfect; %PREFIX -view %s
 application/wordperfect; %PREFIX -view %s
 application/vnd.lotus-wordpro; %PREFIX -view %s
 application/wpwin; %PREFIX -view %s
+application/x-mswrite; %PREFIX -view %s
 application/vnd.openofficeorg.extension; %PREFIX %s
 END
 
diff --git a/sysui/desktop/macosx/Info.plist.in 
b/sysui/desktop/macosx/Info.plist.in
index 604a356..bd10c26 100755
--- a/sysui/desktop/macosx/Info.plist.in
+++ b/sysui/desktop/macosx/Info.plist.in
@@ -1142,6 +1142,29 @@
 public.content
 
 UTTypeDescription
+Microsoft Write
+UTTypeIdentifier
+org.libreoffice.wri-document
+UTTypeTagSpecification
+
+public.filename-extension
+
+wri
+
+public.mime-type
+
+application/x-mswrite
+
+
+
+
+
+UTTypeConformsTo
+
+public.data
+public.content
+
+UTTypeDescription
 Data Interchange Format
 UTTypeIdentifier
 org.libreoffice.dif-document
@@ -1782,6 +1805,7 @@
 org.libreoffice.wpd-document
 org.libreoffice.hwp-document
 org.libreoffice.wks-document
+org.libreoffice.wri-document
 org.libreoffice.dif-document
 org.libreoffice.slk-document
 org.libreoffice.csv-document
diff --git a/sysui/desktop/menus/writer.desktop 
b/sysui/desktop/menus/writer.desktop
index 1df1b49..68ec858 100644
--- a/sysui/desktop/menus/writer.desktop
+++ b/sysui/desktop/menus/writer.desktop
@@ -22,7 +22,7 @@ Icon=writer
 Type=Application
 
Categories=Office;WordProcessor;X-Red-Hat-Base;X-MandrivaLinux-Office-Wordprocessors;
 Exec=${UNIXBASISROOTNAME} --writer %%FILE%%
-MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.global;application/msword;application/vnd.ms-word;application/x-doc;application/x-hwp;application/rtf;text/rtf;application/vnd.wordperfect;application/wordperfect;application/vnd.lotus-wordpro;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/vnd.ms-works;application/vnd.stardivision.writer-global;application/x-extension-txt;application/x-t602;text/plain;application/vnd.oasis.opendocument.text-flat-xml;application/x-fictionbook+xml;applicatio
 
n/macwriteii;application/x-aportisdoc;application/prs.plucker;application/vnd.palm;application/clarisworks;application/x-sony-bbeb;application/x-abiword;application/x-iwork-pages-sffpages;
+MimeType=application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.sun.xml.writer.g

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

2016-01-17 Thread Peter Foley
 configure.ac |  178 +++
 1 file changed, 84 insertions(+), 94 deletions(-)

New commits:
commit b09b496b9f1713581d1a54e88e6cfd6565c43a2b
Author: Peter Foley 
Date:   Sun Jan 17 16:06:14 2016 -0500

Use built-in autoconf cross-compile support.

Change-Id: If3f1de5a7b94bce799dc044be602a14d03dff357
Reviewed-on: https://gerrit.libreoffice.org/21555
Tested-by: Jenkins 
Reviewed-by: jan iversen 

diff --git a/configure.ac b/configure.ac
index 47980c5..8ed1ab8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6337,45 +6337,40 @@ if test "$cxx11_ref_qualifier" = yes; then
 fi
 
 AC_MSG_CHECKING([whether $CXX supports C++14 sized deallocation])
-if test "$CROSS_COMPILING" = TRUE; then
-cxx14_sized_deallocation=no
-AC_MSG_RESULT([$cxx14_sized_deallocation (assumed; cross compiling)])
-else
-dnl At least Clang -fsanitize=address causes "multiple definition of
-dnl `operator delete(void*, unsigned long)'" also defined in
-dnl projects/compiler-rt/lib/asan/asan_new_delete.cc:
-save_CXX=$CXX
-if test "$COM_IS_CLANG" = TRUE; then
-my_CXX=
-for i in $CXX; do
-case $i in
--fsanitize=address)
-;;
-*)
-my_CXX="$my_CXX $i"
-;;
-esac
-done
-CXX=$my_CXX
-fi
-save_CXXFLAGS=$CXXFLAGS
-CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11"
-AC_LANG_PUSH([C++])
-AC_RUN_IFELSE([AC_LANG_PROGRAM([[
-#include 
-#include 
-void operator delete(void *) throw () { std::exit(1); }
-void operator delete(void *, std::size_t) throw () { std::exit(0); }
-struct S { S() { throw 0; } };
-]],[[
-try { new S; } catch (...) {}
-return 1;
-]])], [cxx14_sized_deallocation=yes], [cxx14_sized_deallocation=no])
-AC_LANG_POP([C++])
-CXX=$save_CXX
-CXXFLAGS=$save_CXXFLAGS
-AC_MSG_RESULT([$cxx14_sized_deallocation])
+dnl At least Clang -fsanitize=address causes "multiple definition of
+dnl `operator delete(void*, unsigned long)'" also defined in
+dnl projects/compiler-rt/lib/asan/asan_new_delete.cc:
+save_CXX=$CXX
+if test "$COM_IS_CLANG" = TRUE; then
+my_CXX=
+for i in $CXX; do
+case $i in
+-fsanitize=address)
+;;
+*)
+my_CXX="$my_CXX $i"
+;;
+esac
+done
+CXX=$my_CXX
 fi
+save_CXXFLAGS=$CXXFLAGS
+CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11"
+AC_LANG_PUSH([C++])
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include 
+#include 
+void operator delete(void *) throw () { std::exit(1); }
+void operator delete(void *, std::size_t) throw () { std::exit(0); }
+struct S { S() { throw 0; } };
+]],[[
+try { new S; } catch (...) {}
+return 1;
+]])], [cxx14_sized_deallocation=yes], [cxx14_sized_deallocation=no], 
[cxx14_sized_deallocation=no])
+AC_LANG_POP([C++])
+CXX=$save_CXX
+CXXFLAGS=$save_CXXFLAGS
+AC_MSG_RESULT([$cxx14_sized_deallocation])
 if test "$cxx14_sized_deallocation" = yes; then
 AC_DEFINE([HAVE_CXX14_SIZED_DEALLOCATION])
 fi
@@ -8126,32 +8121,30 @@ case $enable_python in
 system)
 SYSTEM_PYTHON=TRUE
 
-if test "$CROSS_COMPILING" != TRUE; then
-dnl Check if the headers really work
-save_CPPFLAGS="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
-AC_CHECK_HEADER(Python.h, [],
-   [AC_MSG_ERROR([Python headers not found. You probably want to set 
both the PYTHON_CFLAGS and PYTHON_LIBS environment variables.])],
-   [])
-CPPFLAGS="$save_CPPFLAGS"
-
-AC_LANG_PUSH(C)
-CFLAGS="$CFLAGS $PYTHON_CFLAGS"
-AC_MSG_CHECKING([for correct python library version])
-   AC_RUN_IFELSE([AC_LANG_SOURCE([[
+dnl Check if the headers really work
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
+AC_CHECK_HEADER(Python.h, [],
+   [AC_MSG_ERROR([Python headers not found. You probably want to set both 
the PYTHON_CFLAGS and PYTHON_LIBS environment variables.])],
+   [])
+CPPFLAGS="$save_CPPFLAGS"
+
+AC_LANG_PUSH(C)
+CFLAGS="$CFLAGS $PYTHON_CFLAGS"
+AC_MSG_CHECKING([for correct python library version])
+   AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include 
 
 int main(int argc, char **argv) {
-   if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 6) ||
-   (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 3)) return 0;
-   else return 1;
+   if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 6) ||
+   (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 3)) return 0;
+   else return 1;
 }
-   ]])],[AC_MSG_RESULT([ok])],[AC_MSG_ERROR([Python >= 3.3 is needed 
when building with Python 3, or Python >= 2.6 when building with Python 2])],[])
-CFLAGS=$save_CFLAGS
-AC_LANG_POP(C)
+   ]])],[AC_MSG_RESULT([ok])],[AC_MSG_ERROR([Python >= 3.3 is needed when 
building with Python 3, or Pyth

[Libreoffice-commits] core.git: .gitignore

2016-01-17 Thread Peter Foley
 .gitignore |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 20a4b3a081494535e5cb44832cdc9824532dc76c
Author: Peter Foley 
Date:   Sun Jan 17 14:27:44 2016 -0500

Properly ignore in-tree sdk and ndk

Change-Id: If8aa9647def6741ba01bd47c02d386c43abaf452
Reviewed-on: https://gerrit.libreoffice.org/21548
Reviewed-by: jan iversen 
Tested-by: jan iversen 

diff --git a/.gitignore b/.gitignore
index 9a56535..2370081 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,8 @@
 
 # default location for external downloads
 /external/tarballs
+/external/android-ndk
+/external/android-sdk-linux
 
 # autoconf generated stuff
 /aclocal.m4
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Peter Foley
 configure.ac |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7228e5dc9776e033b1cfb590ecde0be5ef5ff2b7
Author: Peter Foley 
Date:   Sun Jan 17 14:26:28 2016 -0500

Fix cross-compilation with in-tree ndk/sdk

The build configure run tries to use the ndk as well.
Prevent this by only auto-detecting the ndk when cross-compiling.

Change-Id: I0c098a7ae3f34cd6210f1b6b14121f62ed892b13
Reviewed-on: https://gerrit.libreoffice.org/21547
Reviewed-by: jan iversen 
Tested-by: jan iversen 

diff --git a/configure.ac b/configure.ac
index d814673..47980c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -340,7 +340,7 @@ AC_ARG_WITH(android-sdk,
 ,)
 
 ANDROID_NDK_HOME=
-if test -z "$with_android_ndk" -a -e "$SRC_ROOT/external/android-ndk"; then
+if test -z "$with_android_ndk" -a -e "$SRC_ROOT/external/android-ndk" -a 
"$build" != "$host"; then
 with_android_ndk="$SRC_ROOT/external/android-ndk"
 fi
 if test -n "$with_android_ndk"; then
@@ -568,7 +568,7 @@ dnl 
===
 dnl --with-android-sdk
 dnl ===
 ANDROID_SDK_HOME=
-if test -z "$with_android_sdk" -a -e "$SRC_ROOT/external/android-sdk-linux"; 
then
+if test -z "$with_android_sdk" -a -e "$SRC_ROOT/external/android-sdk-linux" -a 
"$build" != "$host"; then
 with_android_sdk="$SRC_ROOT/external/android-sdk-linux"
 fi
 if test -n "$with_android_sdk"; then
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Peter Foley
 configure.ac |4 ++--
 sc/source/core/tool/rangenam.cxx |5 -
 2 files changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 3a079aec09d2050ee9283262e932efe6aff504cf
Author: Peter Foley 
Date:   Sat Jan 16 14:04:12 2016 -0500

improve scp2 stamp messages

Change-Id: I62fcad499601ad4870d4fa875b29d01618236925
Reviewed-on: https://gerrit.libreoffice.org/21523
Tested-by: Jenkins 
Reviewed-by: jan iversen 
Tested-by: jan iversen 

diff --git a/configure.ac b/configure.ac
index c8cefd4..d814673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12943,7 +12943,7 @@ fi
 if test ! -f config_host.mk.stamp; then
 echo > config_host.mk.stamp
 elif test "$config_md5" = `$MD5SUM config_host.mk | sed "s/ .*//"`; then
-echo "Configuration unchanged - avoiding scp2 stamp update"
+echo "Host Configuration unchanged - avoiding scp2 stamp update"
 else
 echo > config_host.mk.stamp
 fi
@@ -12952,7 +12952,7 @@ fi
 if test ! -f config_host_lang.mk.stamp; then
 echo > config_host_lang.mk.stamp
 elif test "$config_lang_md5" = `$MD5SUM config_host_lang.mk | sed "s/ .*//"`; 
then
-echo "Configuration unchanged - avoiding scp2 stamp update"
+echo "Language Configuration unchanged - avoiding scp2 stamp update"
 else
 echo > config_host_lang.mk.stamp
 fi
commit 93d6aef1779e8b82a2a551b9e454a5d2aed5ce37
Author: Stephan Bergmann 
Date:   Mon Jan 18 08:28:54 2016 +0100

loplugin:unreffun

Change-Id: I1008a51abb3834a65aabfdf05370d9515a18c1e2

diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx
index a1e25ee..aa81602 100644
--- a/sc/source/core/tool/rangenam.cxx
+++ b/sc/source/core/tool/rangenam.cxx
@@ -653,11 +653,6 @@ int SAL_CALL ScRangeData_QsortNameCompare( const void* p1, 
const void* p2 )
 (*static_cast(p2))->GetName() );
 }
 
-bool operator<(const ScRangeData& left, const ScRangeData& right)
-{
-return left.GetName() < right.GetName();
-}
-
 namespace {
 
 /**
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Saurabh Kukade license statement

2016-01-17 Thread jan iversen
WELCOM

Thanks for your license statement.

I have added you to our wiki:
https://wiki.documentfoundation.org/Development/Developers

If you want help to get started or have any questions, then please contact me. 
I am here to help you (and others) in getting their first patch submitted.

LibreOffice is a very big program and getting it built, setting up gerrit, and 
getting the first patch right can be a bit challenging, therefore do not 
hesitate to email me if you want help.

We have made a step by step guide to help you get started:
https://wiki.documentfoundation.org/Development/GetInvolved/DeveloperStepByStep

rgds
Jan Iversen.

Sent from my iPad, please excuse any misspellings
 

> On 16 Jan 2016, at 23:23, Saurabh kukade  wrote:
> 
> Hi,
> I am Saurabh Kukade. I want to contribute to libreoffice development.
> All of my past & future contributions to LibreOffice may be
> licensed under the MPLv2/LGPLv3+ dual license.
> 
> Thanks and Regards,
> Saurabh Kukade.
> 
> "A computer would deserve to be called intelligent if it could deceive a 
> human into believing that it was human". - Alan Turing.
> ___
> 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


[Libreoffice-commits] core.git: sal/qa

2016-01-17 Thread Stephan Bergmann
 sal/qa/rtl/oustring/rtl_OUString2.cxx |4 
 1 file changed, 4 deletions(-)

New commits:
commit 2bb1d4b79ac044ebbdc33f60bf7bc2e01549dccb
Author: Stephan Bergmann 
Date:   Mon Jan 18 08:18:52 2016 +0100

Trade a little weaker test against loplugin:stringconstant

(what prompted writing that very fundamental test now anyway?)

Change-Id: I83884908f8f5b1e4d58575960c77b411183f2fbb

diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx 
b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 0126f4d..6c44741 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -1001,10 +1001,6 @@ void isEmpty::test() {
 
 aString.clear();
 CPPUNIT_ASSERT_EQUAL_MESSAGE( "aString.clear(), so should now be empty", 
true, aString.isEmpty() );
-
-aString = "Not empty any more";
-aString = "";
-CPPUNIT_ASSERT_EQUAL_MESSAGE( "aString = \"\", so should now be empty", 
true, aString.isEmpty() );
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: chart2/source cui/source editeng/source filter/source forms/source include/vcl reportdesign/source sc/source sd/source starmath/source svtools/source svx/source sw/sour

2016-01-17 Thread Chris Sherlock
 chart2/source/controller/dialogs/tp_DataSource.cxx  |2 -
 chart2/source/view/main/DummyXShape.cxx |2 -
 cui/source/dialogs/cuicharmap.cxx   |2 -
 cui/source/tabpages/chardlg.cxx |4 +--
 editeng/source/editeng/editattr.cxx |2 -
 editeng/source/editeng/editdoc.cxx  |2 -
 editeng/source/editeng/impedit3.cxx |2 -
 editeng/source/items/bulitem.cxx|6 ++---
 editeng/source/items/numitem.cxx|2 -
 editeng/source/misc/acorrcfg.cxx|4 +--
 editeng/source/rtf/svxrtf.cxx   |4 +--
 editeng/source/uno/unofdesc.cxx |2 -
 filter/source/graphicfilter/ios2met/ios2met.cxx |2 -
 filter/source/graphicfilter/ipict/ipict.cxx |2 -
 filter/source/msfilter/svdfppt.cxx  |8 +++
 filter/source/svg/svgfontexport.cxx |2 -
 forms/source/richtext/richtextengine.cxx|5 
 include/vcl/font.hxx|2 -
 reportdesign/source/ui/misc/UITools.cxx |2 -
 sc/source/core/data/patattr.cxx |2 -
 sc/source/ui/miscdlgs/autofmt.cxx   |2 -
 sd/source/filter/eppt/pptx-text.cxx |2 -
 sd/source/ui/func/bulmaper.cxx  |2 -
 sd/source/ui/func/fubullet.cxx  |2 -
 sd/source/ui/view/outlview.cxx  |2 -
 starmath/source/cfgitem.cxx |4 +--
 starmath/source/dialog.cxx  |2 -
 starmath/source/unomodel.cxx|2 -
 svtools/source/control/ctrltool.cxx |4 +--
 svx/source/customshapes/EnhancedCustomShapeFontWork.cxx |4 +--
 svx/source/dialog/fntctrl.cxx   |4 +--
 svx/source/fmcomp/fmgridif.cxx  |2 -
 svx/source/styles/CommonStylePreviewRenderer.cxx|2 -
 svx/source/tbxctrls/tbcontrl.cxx|4 +--
 svx/source/tbxctrls/tbunocontroller.cxx |2 -
 sw/source/core/doc/notxtfrm.cxx |2 -
 sw/source/core/inc/swfont.hxx   |2 -
 sw/source/core/layout/paintfrm.cxx  |2 -
 sw/source/core/txtnode/swfont.cxx   |   12 +-
 sw/source/filter/ww8/ww8par2.cxx|2 -
 sw/source/filter/ww8/ww8par3.cxx|   12 +-
 sw/source/ui/chrdlg/drpcps.cxx  |   12 +-
 sw/source/ui/misc/insfnote.cxx  |2 -
 sw/source/ui/table/tautofmt.cxx |2 -
 sw/source/uibase/shells/annotsh.cxx |2 -
 sw/source/uibase/shells/basesh.cxx  |2 -
 sw/source/uibase/shells/drwtxtsh.cxx|2 -
 sw/source/uibase/shells/textsh.cxx  |2 -
 toolkit/source/helper/vclunohelper.cxx  |2 -
 vcl/osx/salframe.cxx|2 -
 vcl/qa/cppunit/font.cxx |2 -
 vcl/source/app/settings.cxx |4 +--
 vcl/source/filter/sgvtext.cxx   |4 +--
 vcl/source/filter/wmf/winmtf.cxx|   18 
 vcl/source/font/font.cxx|   10 
 vcl/source/gdi/cvtsvm.cxx   |2 -
 vcl/source/gdi/pdfwriter_impl.cxx   |4 +--
 vcl/source/outdev/font.cxx  |   16 +++---
 vcl/source/window/window2.cxx   |2 -
 vcl/win/gdi/salfont.cxx |2 -
 vcl/win/window/salframe.cxx |2 -
 writerfilter/source/dmapper/SdtHelper.cxx   |2 -
 62 files changed, 112 insertions(+), 115 deletions(-)

New commits:
commit cb20f46895f0ec759f2bea95e499c6902deb60ca
Author: Chris Sherlock 
Date:   Mon Jan 18 10:40:22 2016 +1100

vcl: change Font::SetName() to Font::SetFamilyName()

Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5
Reviewed-on: https://gerrit.libreoffice.org/21560
Tested-by: Jenkins 
Reviewed-by: Chris Sherlock 

diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx 
b/chart2/source/controller/dialogs/tp_DataSource.cxx
index b25390c..1039115 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.cxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.cxx
@@ -248,7 +248,7 @@ DataSourceTabPage::DataSourceTabPage(
 // set symbol font for arrows
 // note: StarSymbol is substituted to 

Re: Deprecation (was Re: Remove ActiveX from LibreOffice)

2016-01-17 Thread Bryan Quigley
Hi Jim,

I'm not convinced that anyone is actually using the ActiveX
functionality to embed other applications into LibreOffice, AFAICT no
one has mentioned it actually currently working.  Nor has anyone said
they want to work on it.

Having said that I will go ahead with marking it deprecated but *not*
specifying a time to remove it.  This way we give people possibly more
notice but also enable some future developer to remove the support.
In a way, we table the decision on timing until we have more data.

I'm also going to see about modifying the Windows installer to warn in
some way about ActiveX support.

Kind regards,
Bryan

On Wed, Jan 13, 2016 at 1:36 AM, James E Lang  wrote:
> But Bryan, Rick is pointing out that ActiveX usage is not limited to
> browsers only. If its usage is deprecated then I assume there is a
> functionally equivalent alternative but the *effective* life cycle of
> applications that use ActiveX is almost certain to stretch past the start of
> LO 6.
>
> I would define effective life cycle of an application as being AT LEAST two
> half lives of the application beyond the first release of the application
> that replaces the final LEGITIMATE release with an 18 month minimum (36
> months if there is no subsequent application update release).
>
> All support for Windows XP has been discontinued by Microsoft yet many
> computers still use it. Requiring a Windows XP upgrade to support EXISTING
> functionality in LO is quite possibly premature even now.
>
> Depreciation means to me that products should cease requiring use of
> something in ongoing development cycles but that for its effective life
> cycle its use WRT previously developed programs will not be abridged.
>
> I'm told that ActiveX has been a security nightmare since it was first
> released. That's probably a better reason to not support it than citing its
> depreciation status.
>
> I realize that on volunteer projects such as LO such standards are a bit of
> a burden but they warrant at least a nodding recognition.
>
> --
> Jim
>
> -Original Message-
> From: Bryan Quigley 
> To: "Rick C. Hodgin" 
> Cc: Chris Sherlock , Ashod Nakashian
> , libreoffice 
> Sent: Tue, 12 Jan 2016 20:27
> Subject: Re: Remove ActiveX from LibreOffice
>
> Hi Rick,
>
> ActiveX is deprecated by Microsoft and will be less useful (or not at
> all) on newer MS browsers.  I'm unsure if it ever worked (or was
> supposed to) let you embed ActiveX controls into LibreOffice itself.
>
> Kind regards,
> Bryan
>
> On Mon, Jan 11, 2016 at 10:08 PM, Rick C. Hodgin
>  wrote:
>> Why are you removing ActiveX from LibreOffice? Excel supports it, and it
>> is
>> desirable for integration with Windows apps like C#, Visual Basic, Visual
>> FoxPro. It allows those other apps to integrate the app directly into
>> their
>> app.
>>
>> I have tried to use it previously, but could not find documentation for
>> it.
>> If it's an unused feature, I'd suggest that's why than for other reasons.
>>
>> Best regards,
>> Rick C. Hodgin
>>
>>
>>
>>
>>  Original Message 
>> From: Chris Sherlock
>> Sent: Mon, 11/01/2016 08:21 PM
>> To: Ashod Nakashian
>> CC: libreoffice ; Bryan Quigley
>> Subject: Re: Remove ActiveX from LibreOffice
>>
>> That sounds pretty reasonable to me.
>>
>> Out of interest, just how “integrated” is this with the code? If someone
>> wanted to create an external project on GitHub or some place like this,
>> would it be feasible?
>>
>> I guess I’m trying to understand how much of core it touches… to
>> reimplement
>> an ActiveX control outside of the main tree, would a developer need to
>> fork
>> LibreOffice entirely, or could they maintain their codebranch entirely
>> seperately and update the control if necessary after we do our changes to
>> the main codebase?
>>
>> I’m definitely for removing all vestiges of ActiveX from LO, but the more
>> I
>> think about it the more I can see that some corporation somewhere might be
>> affected, far more so than the remove of NPAPI… giving them the option of
>> a
>> control that can be maintained outside of the main project would be nice
>> :-)
>>
>> Chris
>>
>> On 12 Jan 2016, at 9:37 AM, Ashod Nakashian  wrote:
>>
>>
>>
>> On Mon, Jan 11, 2016 at 2:32 PM, Bryan Quigley  wrote:
>>>
>>>
>>> Anywhere else we should post this?
>>>
>>
>> Ideally the note would show up unintrusively upon loading/using the
>> ActiveX
>> itself. Unfortunately we can't show a message box or some such UI, in case
>> the ActiveX is used non-interactively (in which case it'd block forever,
>> becoming unusable).
>>
>> So the next best thing to do is include the note in the installation,
>> which
>> should be hard to miss if made prominent (unless automated in silent
>> mode).
>>
>> This would get the attention of possibly the users, if not the developers
>> (who might not even test out new versions as they come out, and expect
>> things to work as before). Users can contact developers, I expect, or at
>> least plan accordingly. R

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

2016-01-17 Thread Justin Luth
 svx/source/accessibility/AccessibleShape.cxx |2 ++
 sw/source/core/text/itrpaint.cxx |   19 ++-
 sw/source/core/text/porlin.hxx   |1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

New commits:
commit 3b14cdf7386f41395d1b089c3b9dde7d4429cf38
Author: Justin Luth 
Date:   Tue Dec 29 16:15:56 2015 +0300

tdf#96685 - set initial focus of accessible editeng objects

signalIMDeleteSurrounding searches for the focused accessible object.
Since newly created accessible objects were not inheriting
the focus setting of their peer, the search returned nothing
until some event triggered the focus to be adjusted.

Change-Id: I92f980b4bbe741d8ce9196165eff51059c807a2b
Reviewed-on: https://gerrit.libreoffice.org/21002
Tested-by: Jenkins 
Reviewed-by: Justin Luth 

diff --git a/svx/source/accessibility/AccessibleShape.cxx 
b/svx/source/accessibility/AccessibleShape.cxx
index 67f8800..a352e2b 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -179,6 +179,8 @@ void AccessibleShape::Init()
 // non-empty text -> use full-fledged edit source right 
away
 mpText = new AccessibleTextHelper( 
o3tl::make_unique(*pSdrObject, nullptr, *pView, *pWindow) );
 }
+if( pWindow->HasFocus() )
+mpText->SetFocus();
 
 if( bOwnParaObj )
 delete pOutlinerParaObject;
commit d1bd4465be649a4078c3a2f85a64c8a6300dd65d
Author: Justin Luth 
Date:   Wed Oct 28 11:12:17 2015 +0300

tdf#93637 TAB_OVER_MARGIN support for a few more cases

Extending nMaxRight when TAB_OVER_MARGIN compatibility is set and
the right tabstop goes beyond the right margin fixes PDF output
as well as certain cases of screen display.

Change-Id: Ida4b4f399f06670d9bdefdc21978adf19a81d53a
Reviewed-on: https://gerrit.libreoffice.org/19635
Tested-by: Jenkins 
Reviewed-by: Justin Luth 

diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 79d3c5d..c5eba01 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -37,6 +37,7 @@
 #include 
 
 #include 
+#include 
 
 #include "flyfrms.hxx"
 #include "viewsh.hxx"
@@ -161,8 +162,24 @@ void SwTextPainter::DrawTextLine( const SwRect &rPaint, 
SwSaveClip &rClip,
 SwLinePortion *pPor = bEndPor ? m_pCurr->GetFirstPortion() : 
CalcPaintOfst( rPaint );
 
 // Optimization!
-const SwTwips nMaxRight = std::min( rPaint.Right(), Right() );
+SwTwips nMaxRight = std::min( rPaint.Right(), Right() );
 const SwTwips nTmpLeft = GetInfo().X();
+//compatibility setting: allow tabstop text to exceed right margin
+if( 
GetInfo().GetTextFrame()->GetTextNode()->getIDocumentSettingAccess()->get(DocumentSettingId::TAB_OVER_MARGIN)
 )
+{
+SwLinePortion* pPorIter = pPor;
+while( pPorIter )
+{
+if( pPorIter->IsTabRightPortion() )
+{
+   const SwTabRightPortion *pRightTabPor = 
static_cast(pPorIter);
+   const SwTwips nTabPos = nTmpLeft + pRightTabPor->GetTabPos();
+if( nMaxRight < nTabPos )
+nMaxRight = std::min( rPaint.Right(), nTabPos );
+}
+pPorIter = pPorIter->GetPortion();
+}
+}
 if( !bEndPor && nTmpLeft >= nMaxRight )
 return;
 
diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx
index 486827d..cf46070 100644
--- a/sw/source/core/text/porlin.hxx
+++ b/sw/source/core/text/porlin.hxx
@@ -125,6 +125,7 @@ public:
 inline bool IsErgoSumPortion() const { return nWhichPor == POR_ERGOSUM; }
 inline bool IsQuoVadisPortion() const { return nWhichPor == POR_QUOVADIS; }
 inline bool IsTabLeftPortion() const { return nWhichPor == POR_TABLEFT; }
+inline bool IsTabRightPortion() const { return nWhichPor == POR_TABRIGHT; }
 inline bool IsFootnoteNumPortion() const { return nWhichPor == POR_FTNNUM; 
}
 inline bool IsFootnotePortion() const { return nWhichPor == POR_FTN; }
 inline bool IsDropPortion() const { return nWhichPor == POR_DROP; }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Justin Luth
 sw/qa/extras/ww8export/ww8export.cxx |3 ++-
 sw/source/core/inc/flowfrm.hxx   |4 ++--
 sw/source/core/layout/flowfrm.cxx|8 +---
 sw/source/core/layout/tabfrm.cxx |   31 ---
 4 files changed, 29 insertions(+), 17 deletions(-)

New commits:
commit 0d127baed75929e744d5b6249f510012cfbc0e88
Author: Justin Luth 
Date:   Fri Nov 27 19:03:40 2015 +0300

tdf#91083 - .doc: emulate table keep-with-next paragraph

connect table with the following paragraph.  Move forward to a new page
together with the following paragraph if necessary.

Most of the added code allows the table to split if
all of the kept items do not fit on one page - allowing
the emulated table to match the layout of kept tables.

The only difference with .doc occurs when the table itself is larger
than one page.  In that case it ALWAYS starts a new page.  Although
it does not match .odt, it DOES match how MSWord handles that .doc.

Change-Id: Ic6f495c0dc5cd4e9f8029a8cec9e31b4fab4b20f
Reviewed-on: https://gerrit.libreoffice.org/20233
Reviewed-by: Justin Luth 
Tested-by: Justin Luth 

diff --git a/sw/qa/extras/ww8export/ww8export.cxx 
b/sw/qa/extras/ww8export/ww8export.cxx
index 949e58f..ec03873 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -636,7 +636,8 @@ DECLARE_WW8EXPORT_TEST(testCommentExport, 
"comment-export.odt")
 DECLARE_WW8EXPORT_TEST(testTableKeep, "tdf91083.odt")
 {
 //emulate table "keep with next" -do not split table
-CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), 
parseDump("/root/page[5]/body/tab[1]/row[2]/cell[1]/txt[1]") );
+CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), 
parseDump("/root/page[3]/body/tab[1]/row[2]/cell[1]/txt[1]") );
+CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), 
parseDump("/root/page[6]/body/tab[1]/row[2]/cell[1]/txt[1]") );
 }
 #endif
 
diff --git a/sw/source/core/inc/flowfrm.hxx b/sw/source/core/inc/flowfrm.hxx
index 86771b5..e2aeb45 100644
--- a/sw/source/core/inc/flowfrm.hxx
+++ b/sw/source/core/inc/flowfrm.hxx
@@ -123,7 +123,7 @@ protected:
 inline bool IsFwdMoveAllowed();
 // #i44049# - method  has to check this property.
 friend void CalcContent( SwLayoutFrame *pLay, bool bNoColl, bool 
bNoCalcFollow );
-bool IsKeepFwdMoveAllowed();// like above, forward flow for Keep.
+bool IsKeepFwdMoveAllowed( bool bIgnoreMyOwnKeepValue = false );// 
like above, forward flow for Keep.
 
 /** method to determine overlapping of an object that requests floating
 
@@ -137,7 +137,7 @@ protected:
 void LockJoin()   { m_bLockJoin = true;  }
 void UnlockJoin() { m_bLockJoin = false; }
 
-bool CheckMoveFwd( bool& rbMakePage, bool bKeep, bool bMovedBwd );
+bool CheckMoveFwd( bool& rbMakePage, bool bKeep, bool bMovedBwd, bool 
bIgnoreMyOwnKeepValue = false );
 bool MoveFwd( bool bMakePage, bool bPageBreak, bool bMoveAlways = false );
 bool MoveBwd( bool &rbReformat );
 virtual bool ShouldBwdMoved( SwLayoutFrame *pNewUpper, bool bHead, bool 
&rReformat )=0;
diff --git a/sw/source/core/layout/flowfrm.cxx 
b/sw/source/core/layout/flowfrm.cxx
index 7b66930..d7ec51e 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -112,13 +112,15 @@ bool SwFlowFrame::HasLockedFollow() const
 return false;
 }
 
-bool SwFlowFrame::IsKeepFwdMoveAllowed()
+bool SwFlowFrame::IsKeepFwdMoveAllowed( bool bIgnoreMyOwnKeepValue )
 {
 // If all the predecessors up to the first of the chain have
 // the 'keep' attribute set, and the first of the chain's
 // IsFwdMoveAllowed returns false, then we're not allowed to move.
 SwFrame *pFrame = &m_rThis;
 if ( !pFrame->IsInFootnote() )
+if ( bIgnoreMyOwnKeepValue && pFrame->GetIndPrev() )
+pFrame = pFrame->GetIndPrev();
 do
 {   if ( pFrame->GetAttrSet()->GetKeep().GetValue() )
 pFrame = pFrame->GetIndPrev();
@@ -1699,13 +1701,13 @@ SwTwips SwFlowFrame::CalcAddLowerSpaceAsLastInTableCell(
 }
 
 /// Moves the Frame forward if it seems necessary regarding the current 
conditions and attributes.
-bool SwFlowFrame::CheckMoveFwd( bool& rbMakePage, bool bKeep, bool )
+bool SwFlowFrame::CheckMoveFwd( bool& rbMakePage, bool bKeep, bool, bool 
bIgnoreMyOwnKeepValue )
 {
 const SwFrame* pNxt = m_rThis.GetIndNext();
 
 if ( bKeep && //!bMovedBwd &&
  ( !pNxt || ( pNxt->IsTextFrame() && static_cast(pNxt)->IsEmptyMaster() ) ) &&
- ( nullptr != (pNxt = m_rThis.FindNext()) ) && IsKeepFwdMoveAllowed() )
+ ( nullptr != (pNxt = m_rThis.FindNext()) ) && 
IsKeepFwdMoveAllowed(bIgnoreMyOwnKeepValue) )
 {
 if( pNxt->IsSctFrame() )
 {   // Don't get fooled by empty SectionFrames
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index a45a1f4..0e2fed8 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/la

Problem in installing powershell

2016-01-17 Thread Shivang Belwariar
As soon as I try to install powershell as instructed in lode page, it gives
me an installation error. can anyone help me out of this ?
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: FastSaxSerializer::write ...

2016-01-17 Thread Chris Sherlock
I think a unit test might be helpful. They are actually quite easy to write - 
in fact, I wrote a very simple one the other day. 

Have a look on master at vcl/qa/cppunit/font.cxx

I’m trying to write a unit test for every low level component I change or 
refactor, I’ve found that it doesn’t take much time to do and I’m trying to do 
it if only to ensure that any code I modify doesn’t break unexpectedly when I 
make changes further down the line. 

Let me know if you get stuck :-)

Chris

> On 17 Jan 2016, at 12:36 AM, Mark Hung  wrote:
> 
> Hi Michael,
> 
> I'd look into performance issue. 
> Is there any benchmark or unit test that I can use to check performance 
> enhancement? 
> And what do you mean by regression test for the characters?
> 
> 
> 2016-01-16 19:33 GMT+08:00 Michael Meeks  >:
> Hi Mark,
> 
> Great to see:
> 
> commit e99f22bbc499ab0566621ee0bb01e4a7747efe76
> Author: Mark Hung mailto:mark...@gmail.com>>
> Date:   Sun Jan 10 00:28:14 2016 +0800
> 
> Fix FastSaxSerializer::write() for non-BMP unicode characters.
> 
> Clearly we don't want to mangle UTF-16 etc. characters - and the code
> looks dodgy indeed for that =)
> 
> I'm somewhat suspicious though that this will cause some unhelpful
> performance regression; and I was wondering if you could look into
> fixing that ? and (ideally) helping out with a regression test for these
> characters ? =)
> 
> Memory allocation of OStrings etc. via rtl/sal is rather expensive in
> most of the profiles I've seen; and particularly doing it for every
> attribute ;-)
> 
> Would it be possible to replace the original code - but - as soon as 
> we
> hit a non-ASCII character to convert the rest of the string, and write
> that - so something like:
> 
> write (OString(sOutput[i], nLength-i, RTL_TEXTENCODING_UTF8), 
> bEscape);
> return;
> 
> So we can get the character conversion and pairing correct - while
> keeping the lack of allocation there ? =)
> 
> Anyhow - thanks muchly for the fix ! great to see complex text support
> improve.
> 
> All the best,
> 
> Michael.
> 
> --
>  michael.me...@collabora.com   <><, 
> Pseudo Engineer, itinerant idiot
> 
> 
> 
> 
> -- 
> Mark Hung
> ___
> 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


[Libreoffice-commits] core.git: helpcontent2

2016-01-17 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 57997db73725583a84dbac36bcc9c1b2829948f9
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:08:17 2016 +0100

Updated core
Project: help  19723e7abc12b4a1729cf4b854a7c84972a930ed

use precise name of Exchange Databases dialog

Change-Id: If6e18cb4d5865542a7e8612f0f9480ec5081e9b7
Reviewed-on: https://gerrit.libreoffice.org/21537
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/helpcontent2 b/helpcontent2
index 4c090e7..19723e7 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 4c090e76e96c60b3615ae6e706f070279c2c8a0b
+Subproject commit 19723e7abc12b4a1729cf4b854a7c84972a930ed
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: source/text

2016-01-17 Thread Stanislav Horacek
 source/text/swriter/01/04180400.xhp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 19723e7abc12b4a1729cf4b854a7c84972a930ed
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:08:17 2016 +0100

use precise name of Exchange Databases dialog

Change-Id: If6e18cb4d5865542a7e8612f0f9480ec5081e9b7
Reviewed-on: https://gerrit.libreoffice.org/21537
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/source/text/swriter/01/04180400.xhp 
b/source/text/swriter/01/04180400.xhp
index 500777e..ab7761e 100644
--- a/source/text/swriter/01/04180400.xhp
+++ b/source/text/swriter/01/04180400.xhp
@@ -48,7 +48,7 @@
 
 For example, 
if you inserting address fields in a form letter from an address database, you 
can then exchange the database with another address database to insert 
different addresses.
 
-Exchanging Databases
+Exchange Databases
 You can only 
change one database at a time in this dialog.
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: source/text

2016-01-17 Thread Stanislav Horacek
 source/text/swriter/guide/registertrue.xhp |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 4c090e76e96c60b3615ae6e706f070279c2c8a0b
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:24:14 2016 +0100

adjust description of checkbox for register-true

Change-Id: I3c6faa3e91b62d40711d6581e3743f092ad98aa6
Reviewed-on: https://gerrit.libreoffice.org/21539
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/source/text/swriter/guide/registertrue.xhp 
b/source/text/swriter/guide/registertrue.xhp
index fbf6f94..a5061e0 100644
--- a/source/text/swriter/guide/registertrue.xhp
+++ b/source/text/swriter/guide/registertrue.xhp
@@ -1,6 +1,6 @@
 
 
-   
+
 
- 
-   
+
+
 
   
  Printing Register-true
@@ -47,7 +47,7 @@
 Choose Format - Page - Page.
  
  
-Select the Register-true checkbox and 
click OK.
+In 
the Register-true section, select the Activate checkbox and click OK.
  
   
   All the paragraphs in the document will be printed register-true, 
unless otherwise specified.
@@ -59,7 +59,7 @@
 Open the Styles and Formatting window, click the Paragraph Style you 
want to exempt, right-click that style, choose Modify. In the 
dialog, click the Indents & Spacing tab.
  
  
-Clear the Register-true checkbox.
+In 
the Register-true section, clear the Activate 
checkbox.
  
   
   
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2016-01-17 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 80373d82d09ce07fa1f908e78a94815db645ea7f
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:24:14 2016 +0100

Updated core
Project: help  4c090e76e96c60b3615ae6e706f070279c2c8a0b

adjust description of checkbox for register-true

Change-Id: I3c6faa3e91b62d40711d6581e3743f092ad98aa6
Reviewed-on: https://gerrit.libreoffice.org/21539
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/helpcontent2 b/helpcontent2
index a831bdb..4c090e7 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit a831bdbf95af21d99c310f985370ec948409312b
+Subproject commit 4c090e76e96c60b3615ae6e706f070279c2c8a0b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: source/text

2016-01-17 Thread Stanislav Horacek
 source/text/swriter/01/0216.xhp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a831bdbf95af21d99c310f985370ec948409312b
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:11:51 2016 +0100

remove redundant tags

Change-Id: I6ab93a826bcc1b768dab40ee90824da6375d6b85
Reviewed-on: https://gerrit.libreoffice.org/21538
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/source/text/swriter/01/0216.xhp 
b/source/text/swriter/01/0216.xhp
index 7a10403..6bb0a00 100644
--- a/source/text/swriter/01/0216.xhp
+++ b/source/text/swriter/01/0216.xhp
@@ -33,7 +33,7 @@
 
 Edit 
Index Entry
 Edits the selected index entry. Click in front of 
or in the index entry, and then choose this command. 

-To insert an 
index entry, select a word in the document, and then choose Insert - Table of 
Contents and Index - Index Entry.
+To insert an 
index entry, select a word in the document, and then choose Insert - Table of Contents and Index - Index 
Entry.
 
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2016-01-17 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 000df1832b54ba8f48c7f1c4c1cd92b70f6402da
Author: Stanislav Horacek 
Date:   Sun Jan 17 17:11:51 2016 +0100

Updated core
Project: help  a831bdbf95af21d99c310f985370ec948409312b

remove redundant tags

Change-Id: I6ab93a826bcc1b768dab40ee90824da6375d6b85
Reviewed-on: https://gerrit.libreoffice.org/21538
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/helpcontent2 b/helpcontent2
index 15b8657..a831bdb 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 15b865721769943ba89a38d98f951fecd14d020d
+Subproject commit a831bdbf95af21d99c310f985370ec948409312b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: accessibility/source basctl/source canvas/source chart2/source cppcanvas/source cui/source dbaccess/source desktop/source drawinglayer/source editeng/source extensions/

2016-01-17 Thread Chris Sherlock
 accessibility/source/extended/textwindowaccessibility.cxx  |2 
 accessibility/source/helper/characterattributeshelper.cxx  |2 
 basctl/source/basicide/baside2b.cxx|2 
 canvas/source/cairo/cairo_textlayout.cxx   |2 
 chart2/source/controller/main/ChartController_TextEdit.cxx |2 
 chart2/source/tools/CharacterProperties.cxx|6 
 cppcanvas/source/mtfrenderer/implrenderer.cxx  |2 
 cui/source/dialogs/cuicharmap.cxx  |   12 
 cui/source/options/fontsubs.cxx|2 
 cui/source/tabpages/chardlg.cxx|4 
 cui/source/tabpages/numpages.cxx   |2 
 dbaccess/source/ui/control/sqledit.cxx |2 
 dbaccess/source/ui/misc/TokenWriter.cxx|2 
 desktop/source/lib/init.cxx|4 
 drawinglayer/source/primitive2d/textlayoutdevice.cxx   |2 
 editeng/source/editeng/editeng.cxx |2 
 editeng/source/editeng/eehtml.cxx  |6 
 editeng/source/editeng/eertfpar.cxx|2 
 editeng/source/editeng/impedit4.cxx|2 
 editeng/source/editeng/textconv.cxx|2 
 editeng/source/items/bulitem.cxx   |6 
 editeng/source/items/numitem.cxx   |2 
 editeng/source/items/textitem.cxx  |4 
 editeng/source/misc/acorrcfg.cxx   |4 
 editeng/source/rtf/rtfitem.cxx |4 
 editeng/source/uno/unofdesc.cxx|2 
 extensions/source/propctrlr/fontdialog.cxx |4 
 filter/source/flash/swfwriter1.cxx |2 
 filter/source/svg/svgfontexport.cxx|4 
 filter/source/svg/svgwriter.cxx|   10 
 forms/source/richtext/richtextengine.cxx   |2 
 include/vcl/font.hxx   |2 
 include/vcl/metric.hxx |2 
 sc/source/core/data/docpool.cxx|2 
 sc/source/core/data/patattr.cxx|2 
 sc/source/core/data/stlpool.cxx|2 
 sc/source/core/tool/autoform.cxx   |6 
 sc/source/filter/excel/xehelper.cxx|2 
 sc/source/filter/excel/xlstyle.cxx |2 
 sc/source/ui/Accessibility/AccessibleCsvControl.cxx|2 
 sc/source/ui/drawfunc/drtxtob.cxx  |4 
 sc/source/ui/view/cellsh1.cxx  |2 
 sc/source/ui/view/editsh.cxx   |2 
 sc/source/ui/view/viewfun2.cxx |2 
 sd/source/core/drawdoc4.cxx|   12 
 sd/source/core/stlpool.cxx |6 
 sd/source/ui/annotations/annotationmanager.cxx |2 
 sd/source/ui/func/fubullet.cxx |2 
 sd/source/ui/func/fuhhconv.cxx |2 
 sd/source/ui/presenter/PresenterTextView.cxx   |2 
 starmath/source/cfgitem.cxx|2 
 starmath/source/dialog.cxx |   12 
 starmath/source/document.cxx   |2 
 starmath/source/format.cxx |2 
 starmath/source/rect.cxx   |2 
 starmath/source/unomodel.cxx   |6 
 starmath/source/utility.cxx|4 
 svtools/source/control/ctrlbox.cxx |6 
 svtools/source/control/ctrltool.cxx|   10 
 svtools/source/control/stdmenu.cxx |2 
 svtools/source/misc/sampletext.cxx |   58 
 svx/source/dialog/fntctrl.cxx  |2 
 svx/source/fmcomp/fmgridif.cxx |2 
 svx/source/sidebar/nbdtmg.cxx  |   16 
 svx/source/svdraw/svdfmtf.cxx  |6 
 svx/source/svdraw/svdmodel.cxx |6 
 svx/source/tbxctrls/tbcontrl.cxx   |6 
 sw/source/core/doc/DocumentStylePoolManager.cxx|8 
 sw/source/core/edit/autofmt.cxx|2 
 sw/source/core/inc/swfont.hxx  |2 
 sw/source/core/text/txtfld.cxx |2 
 sw/source/core/txtnode/fntcache.cxx|6 
 sw/source/core/txtnode/txtedt.cxx  |2 
 sw/source/core/unocore/unocrsrhelp

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

2016-01-17 Thread Maxim Monastirsky
 framework/source/uielement/popuptoolbarcontroller.cxx |   11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 69882b0ef861099fd6bfa802d6f7ba5d1391c269
Author: Maxim Monastirsky 
Date:   Mon Jan 18 01:10:21 2016 +0200

Don't update the save icon on every keystroke

Change-Id: Iad6195ea8b082ca5e6c1a7e9fa48742ff2b495a6

diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx 
b/framework/source/uielement/popuptoolbarcontroller.cxx
index d2c272b..f7643b4 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -349,11 +349,13 @@ public:
 virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() 
throw ( css::uno::RuntimeException ) override;
 
 private:
+bool m_bModified;
 css::uno::Reference< css::util::XModifiable > m_xModifiable;
 };
 
 SaveToolbarController::SaveToolbarController( const css::uno::Reference< 
css::uno::XComponentContext >& rxContext )
 : ImplInheritanceHelper( rxContext, ".uno:SaveAsMenu" )
+, m_bModified( false )
 {
 }
 
@@ -417,7 +419,7 @@ void SaveToolbarController::updateImage()
 {
 aImage = vcl::CommandInfoProvider::Instance().GetImageForCommand( 
".uno:SaveAs", bLargeIcons, m_xFrame );
 }
-else if ( m_xModifiable.is() && m_xModifiable->isModified() )
+else if ( m_bModified )
 {
 Image aResImage( bLargeIcons ? FwkResId( IMG_SAVEMODIFIED_LARGE ) : 
FwkResId( IMG_SAVEMODIFIED_SMALL ) );
 aImage = aResImage;
@@ -459,7 +461,12 @@ void SaveToolbarController::statusChanged( const 
css::frame::FeatureStateEvent&
 void SaveToolbarController::modified( const css::lang::EventObject& /*rEvent*/ 
)
 throw ( css::uno::RuntimeException, std::exception )
 {
-updateImage();
+bool bModified = m_xModifiable->isModified();
+if ( bModified != m_bModified )
+{
+m_bModified = bModified;
+updateImage();
+}
 }
 
 void SaveToolbarController::disposing( const css::lang::EventObject& rEvent )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Caolán McNamara
 sax/source/tools/fastserializer.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 734cadff24b3e8555b40c58b4abd1f1c366c25cb
Author: Caolán McNamara 
Date:   Sun Jan 17 20:32:07 2016 +

crashtesting: plain-text import allows liberal with the UTF-8 input

see ImplConvertUtf8ToUnicode which allows surrogates, so we need a 
non-liberal
utf-input there if we want to enfore non-liberal utf-output here.

Change-Id: I713818d7b6d79922d9b08f2b137a803384eccb65

diff --git a/sax/source/tools/fastserializer.cxx 
b/sax/source/tools/fastserializer.cxx
index 8437ff0..b81886e 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -94,7 +94,7 @@ namespace sax_fastparser {
 
 void FastSaxSerializer::write( const OUString& sOutput, bool bEscape )
 {
-write( sOutput.toUtf8(), bEscape );
+write( OUStringToOString(sOutput, RTL_TEXTENCODING_UTF8), bEscape );
 
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: On-boarding to LibreOffice

2016-01-17 Thread jan iversen
Hi

If you want help to get started or have any questions, then please contact me. 
I am here to help you (and others) in getting their first patch submitted.

LibreOffice is a very big program and getting it built, setting up gerrit, and 
getting the first patch right can be a bit challenging, therefore do not 
hesitate to email me if you want help.

We have made a step by step guide to help you get started:
https://wiki.documentfoundation.org/Development/GetInvolved/DeveloperStepByStep

We are starting to prepare for GSoC 2016, but this is still a bit early.

rgds
Jan Iversen.

Sent from my iPad, please excuse any misspellings 

Sent from my iPad, please excuse any misspellings 

> On 17 Jan 2016, at 19:02, shivam mittal  wrote:
> 
> Hello
> 
> This is Shivam here from University of Florida. I recently went through a lot 
> of interesting work going on in 'LibreOffice'. Being a software developer 
> with an expertise in C,C++,Python,Windows Phone app Development, I am 
> genuinely interested in contributing to this open source development. It will 
> be very helpful of you to help me in the on-boarding process and assigned 
> with some work which help me to explore more about the project. Waiting for 
> your response.
> 
> Thanks
> Shivam Mittal
> ___
> 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


On-boarding to LibreOffice

2016-01-17 Thread shivam mittal
Hello

This is Shivam here from University of Florida. I recently went through a
lot of interesting work going on in 'LibreOffice'. Being a software
developer with an expertise in C,C++,Python,Windows Phone app Development,
I am genuinely interested in contributing to this open source development.
It will be very helpful of you to help me in the on-boarding process and
assigned with some work which help me to explore more about the project.
Waiting for your response.

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


[Libreoffice-commits] online.git: loleaflet/src

2016-01-17 Thread Faruk Uzun
 loleaflet/src/control/Control.Presentation.js |9 +
 1 file changed, 9 insertions(+)

New commits:
commit 3fa796f26a8d864630f70d0ec40d8f97ed25
Author: Faruk Uzun 
Date:   Thu Jan 14 06:34:44 2016 +0200

loleaflet: Add dialog to confirm slide deletion

ccu#1423 related.

Change-Id: Ibf6ce88de2742b0277b2df63225f1a3f374de45d
Reviewed-on: https://gerrit.libreoffice.org/21461
Reviewed-by: Andras Timar 
Tested-by: Andras Timar 

diff --git a/loleaflet/src/control/Control.Presentation.js 
b/loleaflet/src/control/Control.Presentation.js
index edefa2f..188f252 100644
--- a/loleaflet/src/control/Control.Presentation.js
+++ b/loleaflet/src/control/Control.Presentation.js
@@ -70,6 +70,15 @@ L.Control.Presentation = L.Control.extend({
this._map.duplicatePage();
}
else if (id === 'deletepage') {
+   vex.dialog.confirm({
+   message: 'Are you sure you want to delete this 
page?',
+   callback: L.bind(this._onDelete, this)
+   });
+   }
+   },
+
+   _onDelete: function (e) {
+   if (e !== false) {
this._map.deletePage();
}
}
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Julien Nabet
 sc/source/filter/html/htmlexp.cxx |2 +-
 sc/source/ui/docshell/docfunc.cxx |5 +
 2 files changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 74063b259e7da402ede7761194639462b1b24759
Author: Julien Nabet 
Date:   Sun Jan 17 15:10:38 2016 +0100

cppcheck: fix 2 variableScope reports in sc

Change-Id: Iea1f8b851d3d9b5c9b22165f1a33e124212d8e80
Reviewed-on: https://gerrit.libreoffice.org/21535
Tested-by: Jenkins 
Reviewed-by: Julien Nabet 

diff --git a/sc/source/filter/html/htmlexp.cxx 
b/sc/source/filter/html/htmlexp.cxx
index 7b06e98..668c702 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -1289,7 +1289,6 @@ bool ScHTMLExport::WriteFieldText( const EditTextObject* 
pData )
 void ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
 const OUString& rTargetNm, bool bFileToFile )
 {
-bool bRet = false;
 INetURLObject aFileUrl, aTargetUrl;
 aFileUrl.SetSmartURL( rFileNm );
 aTargetUrl.SetSmartURL( rTargetNm );
@@ -1314,6 +1313,7 @@ void ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
 pFileNameMap.reset( new std::map() );
 }
 
+bool bRet = false;
 SvFileStream aTmp( aFileUrl.PathToFileName(), StreamMode::READ );
 
 OUString aSrc = rFileNm;
diff --git a/sc/source/ui/docshell/docfunc.cxx 
b/sc/source/ui/docshell/docfunc.cxx
index d5d0ccb..4cc3fd2 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -5157,8 +5157,6 @@ void ScDocFunc::ResizeMatrix( const ScRange& rOldRange, 
const ScAddress& rNewEnd
 SCROW nStartRow = rOldRange.aStart.Row();
 SCTAB nTab = rOldRange.aStart.Tab();
 
-bool bRet = false;
-
 OUString aFormula;
 rDoc.GetFormula( nStartCol, nStartRow, nTab, aFormula );
 if ( aFormula.startsWith("{") && aFormula.endsWith("}") )
@@ -5178,8 +5176,7 @@ void ScDocFunc::ResizeMatrix( const ScRange& rOldRange, 
const ScAddress& rNewEnd
 if ( DeleteContents( aMark, InsertDeleteFlags::CONTENTS, true, bApi ) )
 {
 // GRAM_PODF_A1 for API compatibility.
-bRet = EnterMatrix( aNewRange, &aMark, nullptr, aFormula, bApi, 
false, EMPTY_OUSTRING, formula::FormulaGrammar::GRAM_PODF_A1 );
-if (!bRet)
+if (!EnterMatrix( aNewRange, &aMark, nullptr, aFormula, bApi, 
false, EMPTY_OUSTRING, formula::FormulaGrammar::GRAM_PODF_A1 ))
 {
 //  versuchen, alten Zustand wiederherzustellen
 EnterMatrix( rOldRange, &aMark, nullptr, aFormula, bApi, 
false, EMPTY_OUSTRING, formula::FormulaGrammar::GRAM_PODF_A1 );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: GSoC 2016

2016-01-17 Thread jan iversen
Hi

If you want help to get started or have any questions, then please contact me. 
I am here to help you (and others) in getting their first patch submitted.

LibreOffice is a very big program and getting it built, setting up gerrit, and 
getting the first patch right can be a bit challenging, therefore do not 
hesitate to email me if you want help.

We have made a step by step guide to help you get started:
https://wiki.documentfoundation.org/Development/GetInvolved/DeveloperStepByStep

We are starting to prepare for GSoC 2016, but this is still a bit early.

rgds
Jan Iversen.

Sent from my iPad, please excuse any misspellings 

> On 17 Jan 2016, at 14:12, Shivang Belwariar  wrote:
> 
> Hello
> I am new and would like to contribute to libreofficw . I am also interested 
> in GSoc 2016. Can someone get me started?
> 
> ___
> 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


[Libreoffice-commits] core.git: sax/qa

2016-01-17 Thread Matúš Kukan
 sax/qa/cppunit/attributes.cxx |   11 +--
 sax/qa/cppunit/parser.cxx |   11 +--
 2 files changed, 2 insertions(+), 20 deletions(-)

New commits:
commit 15a43283b83dd3179347c255b42aba0d116cb71b
Author: Matúš Kukan 
Date:   Sun Jan 17 11:23:21 2016 +0100

sax: use CPPUNIT_ASSERT_THROW

Change-Id: I34b0b559a91e77cc497e14d8ffad7e2c80e43d79
Reviewed-on: https://gerrit.libreoffice.org/21531
Tested-by: Jenkins 
Reviewed-by: Matúš Kukan 

diff --git a/sax/qa/cppunit/attributes.cxx b/sax/qa/cppunit/attributes.cxx
index 716b7b2..3697190 100644
--- a/sax/qa/cppunit/attributes.cxx
+++ b/sax/qa/cppunit/attributes.cxx
@@ -22,8 +22,6 @@ namespace {
 
 class AttributesTest: public CppUnit::TestFixture
 {
-bool mbException;
-
 public:
 void test();
 
@@ -51,14 +49,7 @@ void AttributesTest::test()
 CPPUNIT_ASSERT_EQUAL( xAttributeList->getOptionalValue(3), OUString() );
 
 CPPUNIT_ASSERT_EQUAL( xAttributeList->getValue(1), OUString("1") );
-mbException = false;
-
-try { xAttributeList->getValue(3); }
-catch (const sax::SAXException& )
-{
-mbException = true;
-}
-CPPUNIT_ASSERT( mbException );
+CPPUNIT_ASSERT_THROW( xAttributeList->getValue(3), xml::sax::SAXException 
);
 
 xAttributeList->addUnknown("a", "a");
 xAttributeList->addUnknown("b", "b", "b");
diff --git a/sax/qa/cppunit/parser.cxx b/sax/qa/cppunit/parser.cxx
index e17538f..5381f36 100644
--- a/sax/qa/cppunit/parser.cxx
+++ b/sax/qa/cppunit/parser.cxx
@@ -92,16 +92,7 @@ void ParserTest::parse()
 mxParser->parseStream( maInput );
 
 maInput.aInputStream = createStream("");
-bool bException = false;
-try
-{
-mxParser->parseStream( maInput );
-}
-catch (const SAXParseException &)
-{
-bException = true;
-}
-CPPUNIT_ASSERT_MESSAGE("No Exception!", bException);
+CPPUNIT_ASSERT_THROW( mxParser->parseStream( maInput ), 
css::xml::sax::SAXParseException );
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(ParserTest);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-17 Thread Julien Nabet
 editeng/source/accessibility/AccessibleEditableTextPara.cxx |2 -
 editeng/source/editeng/textconv.cxx |   16 ++--
 2 files changed, 4 insertions(+), 14 deletions(-)

New commits:
commit 1570957ff9269a13eb8e8f28d1bddf1939a21a5f
Author: Julien Nabet 
Date:   Sun Jan 17 14:20:23 2016 +0100

cppcheck: fix 2 variableScope reports in editeng

Change-Id: Ic87c5b1d8f96b7f25ce323a49455d1ac16d1bf86
Reviewed-on: https://gerrit.libreoffice.org/21533
Tested-by: Jenkins 
Reviewed-by: Julien Nabet 

diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx 
b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 9781f93..7af42df 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1711,9 +1711,9 @@ namespace accessibility
 }
 }
 }
-bool bExtend = false;
 if( nFoundFieldIndex >= 0 )
 {
+bool bExtend = false;
 if( Segment.SegmentEnd < reeEnd )
 {
 Segment.SegmentEnd  = reeEnd;
diff --git a/editeng/source/editeng/textconv.cxx 
b/editeng/source/editeng/textconv.cxx
index 7807714..6cb62f5 100644
--- a/editeng/source/editeng/textconv.cxx
+++ b/editeng/source/editeng/textconv.cxx
@@ -120,22 +120,12 @@ void TextConvWrapper::FindConvText_impl()
 {
 // modified version of SvxSpellWrapper::FindSpellError
 
-bool bFound = false;
-
 m_pWin->EnterWait();
-bool bConvert = true;
 
-while ( bConvert )
+while ( true )
 {
-bFound = ConvContinue_impl();
-if (bFound)
-{
-bConvert = false;
-}
-else
-{
-bConvert = ConvNext_impl();
-}
+if (ConvContinue_impl() || !ConvNext_impl())
+break;
 }
 m_pWin->LeaveWait();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


GSoC 2016

2016-01-17 Thread Shivang Belwariar
Hello
I am new and would like to contribute to libreofficw . I am also interested
in GSoc 2016. Can someone get me started?
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 64975] FORMATTING: autoIndent for Chinese should be two characters

2016-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=64975

Kevin Suo  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=97
   ||208

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


[Bug 64975] FORMATTING: autoIndent for Chinese should be two characters

2016-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=64975

Kevin Suo  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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


[Bug 64975] FORMATTING: autoIndent for Chinese should be two characters

2016-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=64975

--- Comment #8 from Kevin Suo  ---
Confirm fixed in
Version: 5.1.0.2 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
Locale: zh-CN (zh_CN)

Mark as RESOLVED FIXED.

Any plan to backport this to 5.0 branch?

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


[Bug 78431] ImplWindowFrameProc ...

2016-01-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=78431

Xisco Faulí  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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


[Libreoffice-commits] core.git: officecfg/registry

2016-01-17 Thread Julien Nabet
 officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit ecef63a9a020d7996f1c65016e5691dee8b34132
Author: Julien Nabet 
Date:   Sun Jan 17 00:51:22 2016 +0100

tdf#97196: Slide transition, fix some variant names

For Cover, Uncover and Diagonal

Change-Id: If382287429c178b96d5a2f33d1224807f7382a05
Reviewed-on: https://gerrit.libreoffice.org/21527
Tested-by: Jenkins 
Reviewed-by: Julien Nabet 

diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
index 36fbade..765a0d5 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Effects.xcu
@@ -1921,7 +1921,7 @@
   cover
 
 
-  top-left-bottom-right
+  top-right-bottom-left
 
   
   
@@ -1929,7 +1929,7 @@
   cover
 
 
-  bottom-left-top-right
+  bottom-right-top-left
 
   
   
@@ -2104,7 +2104,7 @@
   diagonal-squares
 
 
-  top-left-bottom-right
+  top-right-bottom-left
 
   
   
@@ -2112,7 +2112,7 @@
   diagonal-squares
 
 
-  bottom-left-top-right
+  bottom-right-top-left
 
   
   
@@ -2184,7 +2184,7 @@
   uncover
 
 
-  top-right-bottom-left
+  top-left-bottom-right
 
   
   
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Using Clang: plugin enabled, configure problem

2016-01-17 Thread Giuseppe Castagno

Hi Jean-Marek,

On 01/16/2016 09:37 PM, Jan-Marek Glogowski wrote:

Hi Giuseppe,

Am 16.01.2016 um 18:42 schrieb Giuseppe Castagno:

On Ubuntu 14.04, trying to use Clang, I built clang 3.8.0.


I have build LO on Ubuntu 14.04 with the following settings:

Packages: llvm-3.6-dev libclang-3.6-dev python3.4-dev

configure settings:

CC=clang-3.6
CXX=clang++-3.6
CLANGDIR=/usr/lib/llvm-3.6


configuration passed.
Had to add clang-3.6 package as well.



I also had to use --enable-python=system, as clang failed to build
python for me (some problem with the crypt module).


build finished all right.

Thanks,

Giuseppe.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] dictionaries.git: Branch 'libreoffice-5-0' - es/es_ANY.aff es/es_ANY.dic es/package-description.txt es/README_es_ANY.txt es/README_hyph_es_ANY.txt es/README_th_es_ANY.txt es/th_e

2016-01-17 Thread Ricardo Palomares
 es/README_es_ANY.txt   |   18 
 es/README_hyph_es_ANY.txt  |   19 
 es/README_th_es_ANY.txt|8 
 es/es_ANY.aff  |10634 -
 es/es_ANY.dic  |42180 +---
 es/package-description.txt |2 
 es/th_es_ANY_v2.dat|52386 ++---
 7 files changed, 56809 insertions(+), 48438 deletions(-)

New commits:
commit 2d2df105c0ba5b7ac4bf7c95b9ecffb3a2f94121
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 
(cherry picked from commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821)
Signed-off-by: Adolfo Jayme Barrientos 

diff --git a/es/README_es_ANY.txt b/es/README_es_ANY.txt
index 83b0611..55700e7 100644
--- a/es/README_es_ANY.txt
+++ b/es/README_es_ANY.txt
@@ -1,12 +1,12 @@
-  
-  ****
-  **  Diccionario para corrección ortográfica en español de OpenOffice.org  
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES
**
-  
-
-   Versión 0.8
+  *
+  ** **
+  **  Diccionario para corrección ortográfica en español de LibreOffice  **
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES **
+  *
+
+   Versión 2.0
 
 SUMARIO
 
diff --git a/es/README_hyph_es_ANY.txt b/es/README_hyph_es_ANY.txt
index d0288ac..3ef38e3 100644
--- a/es/README_hyph_es_ANY.txt
+++ b/es/README_hyph_es_ANY.txt
@@ -1,10 +1,10 @@
-  
-  ****
-  **  Patrones de separación silábica en español para OpenOffice.org
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL
**
-  
+***
+  ** **
+  **  Patrones de separación silábica en español para LibreOffice**
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL **
+  *
 
  Versión 0.2
 
@@ -44,6 +44,11 @@ utilizará este listado.
 
 3. INSTALACIÓN
 
+   NOTA: en el resto del documento, cada aparición de OpenOffice.org puede
+entenderse referida también a LibreOffice. No obstante, tenga en cuenta que
+la primera versión de LibreOffice es compatible con OpenOffice.org 3.x, por
+lo que las menciones a OpenOffice.org 1.x y 2.x no son aplicables a 
LibreOffice.
+
En OpenOffice.org versión 3.x y superior, utilice el administrador de
 extensiones, seleccionando para instalar directamente el fichero con
 extensión ".oxt".
diff --git a/es/README_th_es_ANY.txt b/es/README_th_es_ANY.txt
index 797574a..e4d1dae 100644
--- a/es/README_th_es_ANY.txt
+++ b/es/README_th_es_ANY.txt
@@ -1,21 +1,21 @@
-OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
OpenOffice.org
+OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
LibreOffice
 Marcelo Garrone (mgarrone at users.sf.net)
 Snapshot, generado automáticamente: 2012-01-11 21:33
 Homepage: http://openthes-es.berlios.de
 
 Requisitos: ==
 
- OpenOffice.org 3.0 o superior
+ OpenOffice.org 3.0, LibreOffice o superior
 
 
 Nota: 
 
-* Se asume que OOo está bien instalado.
+* Se asume que OOo/LibreOffice está bien instalado.
 * El d

[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - dictionaries

2016-01-17 Thread Ricardo Palomares
 dictionaries |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2eaa3440cd34d6a3cdbb67a43457b14f5dba28ea
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Updated core
Project: dictionaries  2d2df105c0ba5b7ac4bf7c95b9ecffb3a2f94121

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 
(cherry picked from commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821)
Signed-off-by: Adolfo Jayme Barrientos 

diff --git a/dictionaries b/dictionaries
index 6b7f1b0..2d2df10 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 6b7f1b0cf80484dc13fee396656d2e2da8fe936b
+Subproject commit 2d2df105c0ba5b7ac4bf7c95b9ecffb3a2f94121
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dictionaries.git: Branch 'libreoffice-5-1' - es/es_ANY.aff es/es_ANY.dic es/package-description.txt es/README_es_ANY.txt es/README_hyph_es_ANY.txt es/README_th_es_ANY.txt es/th_e

2016-01-17 Thread Ricardo Palomares
 es/README_es_ANY.txt   |   18 
 es/README_hyph_es_ANY.txt  |   19 
 es/README_th_es_ANY.txt|8 
 es/es_ANY.aff  |10634 -
 es/es_ANY.dic  |42180 +---
 es/package-description.txt |2 
 es/th_es_ANY_v2.dat|52386 ++---
 7 files changed, 56809 insertions(+), 48438 deletions(-)

New commits:
commit 24aaec6c37ced11129517891acabab256329d7ef
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 
(cherry picked from commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821)
Signed-off-by: Adolfo Jayme Barrientos 

diff --git a/es/README_es_ANY.txt b/es/README_es_ANY.txt
index 83b0611..55700e7 100644
--- a/es/README_es_ANY.txt
+++ b/es/README_es_ANY.txt
@@ -1,12 +1,12 @@
-  
-  ****
-  **  Diccionario para corrección ortográfica en español de OpenOffice.org  
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES
**
-  
-
-   Versión 0.8
+  *
+  ** **
+  **  Diccionario para corrección ortográfica en español de LibreOffice  **
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES **
+  *
+
+   Versión 2.0
 
 SUMARIO
 
diff --git a/es/README_hyph_es_ANY.txt b/es/README_hyph_es_ANY.txt
index d0288ac..3ef38e3 100644
--- a/es/README_hyph_es_ANY.txt
+++ b/es/README_hyph_es_ANY.txt
@@ -1,10 +1,10 @@
-  
-  ****
-  **  Patrones de separación silábica en español para OpenOffice.org
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL
**
-  
+***
+  ** **
+  **  Patrones de separación silábica en español para LibreOffice**
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL **
+  *
 
  Versión 0.2
 
@@ -44,6 +44,11 @@ utilizará este listado.
 
 3. INSTALACIÓN
 
+   NOTA: en el resto del documento, cada aparición de OpenOffice.org puede
+entenderse referida también a LibreOffice. No obstante, tenga en cuenta que
+la primera versión de LibreOffice es compatible con OpenOffice.org 3.x, por
+lo que las menciones a OpenOffice.org 1.x y 2.x no son aplicables a 
LibreOffice.
+
En OpenOffice.org versión 3.x y superior, utilice el administrador de
 extensiones, seleccionando para instalar directamente el fichero con
 extensión ".oxt".
diff --git a/es/README_th_es_ANY.txt b/es/README_th_es_ANY.txt
index 797574a..e4d1dae 100644
--- a/es/README_th_es_ANY.txt
+++ b/es/README_th_es_ANY.txt
@@ -1,21 +1,21 @@
-OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
OpenOffice.org
+OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
LibreOffice
 Marcelo Garrone (mgarrone at users.sf.net)
 Snapshot, generado automáticamente: 2012-01-11 21:33
 Homepage: http://openthes-es.berlios.de
 
 Requisitos: ==
 
- OpenOffice.org 3.0 o superior
+ OpenOffice.org 3.0, LibreOffice o superior
 
 
 Nota: 
 
-* Se asume que OOo está bien instalado.
+* Se asume que OOo/LibreOffice está bien instalado.
 * El d

[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - dictionaries

2016-01-17 Thread Ricardo Palomares
 dictionaries |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8e885d4f5e203a5b198960c09839b9c34cf51f25
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Updated core
Project: dictionaries  24aaec6c37ced11129517891acabab256329d7ef

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 
(cherry picked from commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821)
Signed-off-by: Adolfo Jayme Barrientos 

diff --git a/dictionaries b/dictionaries
index b186814..24aaec6 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit b186814ea5952df5ee543b218a265fc0fe4d48fd
+Subproject commit 24aaec6c37ced11129517891acabab256329d7ef
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: dictionaries

2016-01-17 Thread Ricardo Palomares
 dictionaries |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5486688f87f0999b156e1e5085c616d72270e50a
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Updated core
Project: dictionaries  0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/dictionaries b/dictionaries
index 3f7bdd7..0d3b5e5 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 3f7bdd798006d506d83d58e699d52878326bbd62
+Subproject commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dictionaries.git: es/es_ANY.aff es/es_ANY.dic es/package-description.txt es/README_es_ANY.txt es/README_hyph_es_ANY.txt es/README_th_es_ANY.txt es/th_es_ANY_v2.dat

2016-01-17 Thread Ricardo Palomares
 es/README_es_ANY.txt   |   18 
 es/README_hyph_es_ANY.txt  |   19 
 es/README_th_es_ANY.txt|8 
 es/es_ANY.aff  |10634 -
 es/es_ANY.dic  |42180 +---
 es/package-description.txt |2 
 es/th_es_ANY_v2.dat|52386 ++---
 7 files changed, 56809 insertions(+), 48438 deletions(-)

New commits:
commit 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821
Author: Ricardo Palomares 
Date:   Sat Jan 16 21:34:41 2016 +0100

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/es/README_es_ANY.txt b/es/README_es_ANY.txt
index 83b0611..55700e7 100644
--- a/es/README_es_ANY.txt
+++ b/es/README_es_ANY.txt
@@ -1,12 +1,12 @@
-  
-  ****
-  **  Diccionario para corrección ortográfica en español de OpenOffice.org  
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES
**
-  
-
-   Versión 0.8
+  *
+  ** **
+  **  Diccionario para corrección ortográfica en español de LibreOffice  **
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES **
+  *
+
+   Versión 2.0
 
 SUMARIO
 
diff --git a/es/README_hyph_es_ANY.txt b/es/README_hyph_es_ANY.txt
index d0288ac..3ef38e3 100644
--- a/es/README_hyph_es_ANY.txt
+++ b/es/README_hyph_es_ANY.txt
@@ -1,10 +1,10 @@
-  
-  ****
-  **  Patrones de separación silábica en español para OpenOffice.org
**
-  ****
-  
-  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL
**
-  
+***
+  ** **
+  **  Patrones de separación silábica en español para LibreOffice**
+  ** **
+  *
+  **  VERSIÓN GENÉRICA PARA TODAS LAS LOCALIZACIONES DEL ESPAÑOL **
+  *
 
  Versión 0.2
 
@@ -44,6 +44,11 @@ utilizará este listado.
 
 3. INSTALACIÓN
 
+   NOTA: en el resto del documento, cada aparición de OpenOffice.org puede
+entenderse referida también a LibreOffice. No obstante, tenga en cuenta que
+la primera versión de LibreOffice es compatible con OpenOffice.org 3.x, por
+lo que las menciones a OpenOffice.org 1.x y 2.x no son aplicables a 
LibreOffice.
+
En OpenOffice.org versión 3.x y superior, utilice el administrador de
 extensiones, seleccionando para instalar directamente el fichero con
 extensión ".oxt".
diff --git a/es/README_th_es_ANY.txt b/es/README_th_es_ANY.txt
index 797574a..e4d1dae 100644
--- a/es/README_th_es_ANY.txt
+++ b/es/README_th_es_ANY.txt
@@ -1,21 +1,21 @@
-OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
OpenOffice.org
+OpenThesaurus - Separación silábica y Tesauro Español - Versión para 
LibreOffice
 Marcelo Garrone (mgarrone at users.sf.net)
 Snapshot, generado automáticamente: 2012-01-11 21:33
 Homepage: http://openthes-es.berlios.de
 
 Requisitos: ==
 
- OpenOffice.org 3.0 o superior
+ OpenOffice.org 3.0, LibreOffice o superior
 
 
 Nota: 
 
-* Se asume que OOo está bien instalado.
+* Se asume que OOo/LibreOffice está bien instalado.
 * El diccionario de sinónimos y separación silábica es el mismo para 
Windows como para Linux.
 
 Instalación: