Missing download for LanguageTool 1.8

2012-09-03 Thread Stephan Bergmann
http://extensions.libreoffice.org/extension-center/languagetool/releases/1.8 says There are no available software files in this release yet. Is that by design or by accident? Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org

Re: OUString and UNO_LB_UNO

2012-09-04 Thread Stephan Bergmann
On 09/04/2012 02:33 AM, Ricardo Montania wrote: Hi everyone. I've received a suggestion about the change from my patch: (...) Remove RTL_CONSTASCII_USTRINGPARAM. Like this: - -binaryUno_(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_LB_UNO))), +binaryUno_(OUString(UNO_LB_UNO)), or +

Re: [ABANDONED]Obsolete RTL_CONSTASCII_USTRINGPARAM

2012-09-05 Thread Stephan Bergmann
For the record, this got superseded by https://gerrit.libreoffice.org/560 Change Ic56451b2: OUString and RTL_CONSTASCII cleanup. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org

Re: Closing bugs in bugzilla: fixed in master or fixed everywhere?

2012-09-05 Thread Stephan Bergmann
On 09/05/2012 10:46 AM, Lionel Elie Mamane wrote: I thought we close the bug when the fix is committed in all branches where it should be, and that's what I was doing in the bugs I was fixing. That's my understanding too, setting a bug to RESOLVED/FIXED only once all the relevant commits have

Re: not delivering cairo on mac os x build

2012-09-05 Thread Stephan Bergmann
On 09/05/2012 03:50 PM, Michael Stahl wrote: On 05/09/12 15:40, Alexander Thurgood wrote: I'm getting cairo build failure on the Mac, and even when I specifically use --disable-cairo-canvas in my configure line, it still gets built ? that option only disables the cairo canvas but not other

Re: not delivering cairo on mac os x build

2012-09-05 Thread Stephan Bergmann
On 09/05/2012 04:00 PM, Alexander Thurgood wrote: Le 05/09/12 15:55, Stephan Bergmann a écrit : --disable-librsvg Does that mean no SVG filters get built ? To be honest, all I know is that it made one specific Mac build scenario work for me. :) Stephan

Re: [Libreoffice-commits] .: sc/inc sc/source

2012-09-06 Thread Stephan Bergmann
On 09/05/2012 05:57 PM, Libreoffice Gerrit user wrote: commit bedbb471c3f49e0860dd63b17c1faeee837096ae Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Mon Sep 3 19:30:26 2012 +0200 better import of conditional format from old ODF structure The old ODF storage is style

Re: compareToAscii( RTL_CONSTASCII_STRINGPARAM( something ) )

2012-09-06 Thread Stephan Bergmann
On 09/06/2012 09:37 AM, Jan Holesovsky wrote: hunk. In this case, the use of RTL_CONSTASCII_STRINGPARAM() kind of simulates startsWith (that we do not have as a method); ie. for rQAttributeName == xmlns:SOMETHING: rQAttributeName.compareToAscii( RTL_CONSTASCII_STRINGPARAM(xmlns:) ) == 0 but

Re: [Libreoffice-commits] .: sc/inc sc/source

2012-09-06 Thread Stephan Bergmann
On 09/06/2012 03:52 PM, Markus Mohrhard wrote: 2012/9/6 Stephan Bergmann sberg...@redhat.com: On 09/05/2012 05:57 PM, Libreoffice Gerrit user wrote: +pContext = pContext; Should that rather be pContext = pMapContext? Yes, changed in master. Can someone please backport it to 3-6

Re: [Libreoffice-qa] minutes of ESC call ...

2012-09-07 Thread Stephan Bergmann
On 09/06/2012 06:55 PM, Michael Stahl wrote: On 06/09/12 17:42, Michael Meeks wrote: i don't have an opinion whether --enable-dbgutil should by default enable symbols or not. First of all, note that --enable-symbols is a misnomer. It is not per-se about any kind of symbols (like not

Changing .idl still causes excessive .{hpp,hdl} touching

2012-09-07 Thread Stephan Bergmann
Even after http://cgit.freedesktop.org/libreoffice/core/commit/?id=39c3a4d6644ae78783aa8877557e4c021cba7973 idlc: clear include file set in Idlc::reset(): the problem described at the start of the below #libreoffice IRC transcript still remains. (Which is only logical, as merely touching an

Re: valgrinding with python stuff active

2012-09-07 Thread Stephan Bergmann
On 09/07/2012 03:29 PM, Michael Meeks wrote: Now if only we could do something similar for Java :-) FYI, works reasonably well for me with cgit.freedesktop.org/libreoffice/core/commit/?id=b03f2200610f6788f64302891a2942b8a7bb69f2 Force JVM into interpreted mode when running under

Re: make_installer 'touching' files in solver ?

2012-09-07 Thread Stephan Bergmann
On 08/27/2012 08:53 AM, Stephan Bergmann wrote: So looks like instsetoo_native still strips libraries, and does so in-place in the solver. (I at least lost track of the when and what to srip discussion we had not too long ago.) This was due to epm unconditionally being called without -g

Re: How Can I Provide More Info For Developers

2012-09-07 Thread Stephan Bergmann
On 09/07/2012 06:11 PM, Joel Madero wrote: Came across this bug FDO#45570 and I've already nominated as a most annoying bug but I think that devs might appreciate me getting some kind of a log or something together for the crash. What type of log should I create and how do I go about doing this

Re: valgrinding with python stuff active

2012-09-10 Thread Stephan Bergmann
On 09/09/2012 12:45 AM, Julien Nabet wrote: So in http://wiki.documentfoundation.org/BugReport#How_to_get_valgrind_log_.28on_Linux.29 page, should I add this: export G_SLICE=always-malloc before this: valgrind --tool=memcheck --num-callers=50 --trace-children=yes ./soffice.bin 21 | tee

Re: REMINDER: Release 3.6.2-rc1 from libreoffice-3-6 branch

2012-09-10 Thread Stephan Bergmann
On 09/07/2012 07:22 PM, Petr Mladek wrote: PS: Please, help with reviewing the pending commits. Shameless advertising: https://gerrit.libreoffice.org/#/c/564/ Change Id6a3ffb6: fdo#38913: Prevent invalid parameter handler crashes https://gerrit.libreoffice.org/#/c/569/ Change I9606ec34:

Re: [Libreoffice-commits] desktop: use soffice.bin instead of oosplash if build with --enable-headless

2012-09-10 Thread Stephan Bergmann
On 09/07/2012 08:15 PM, Libreoffice Gerrit user wrote: commit dae66b7b1df89d824017c7afb52f66ebfd2b8fe2 Author: Riccardo Magliocchetti riccardo.magliocche...@gmail.com Date: Fri Sep 7 20:11:41 2012 +0200 desktop: use soffice.bin instead of oosplash if build with --enable-headless

Re: [Libreoffice-commits] desktop: use soffice.bin instead of oosplash if build with --enable-headless

2012-09-10 Thread Stephan Bergmann
On 09/10/2012 02:32 PM, Riccardo Magliocchetti wrote: Ok, so should build oosplash again and just make sure most of the stuff in splash.cxx is a nop when LIBO_HEADLESS is defined? Probably better, yeah. Stephan ___ LibreOffice mailing list

Re: Selection of dictionaries per installation

2012-09-10 Thread Stephan Bergmann
On 08/30/2012 01:16 PM, Stephan Bergmann wrote: PS1: The way dictionaries related to a given locale are determined appears to be the the list at setup_native/source/packinfo/spellchecker_selection.txt. That's why the en-US base installation set for Linux and Mac OS X contains dict-en, dict-es

Re: Selection of dictionaries per installation

2012-09-10 Thread Stephan Bergmann
On 09/10/2012 05:09 PM, Andras Timar wrote: 2012/9/10 Stephan Bergmann sberg...@redhat.com: On 08/30/2012 01:16 PM, Stephan Bergmann wrote: PS1: The way dictionaries related to a given locale are determined appears to be the the list at setup_native/source/packinfo/spellchecker_selection.txt

Re: feature/orcus-integration about to be merged

2012-09-10 Thread Stephan Bergmann
On 09/10/2012 05:41 PM, Alexander Thurgood wrote: make all-recursive Making all in src Making all in liborcus Making all in pre make[6]: Nothing to be done for `all'. CXXliborcus_0.2_la-dom_tree.lo ../../include/orcus/pstring.hpp: In instantiation of 'std::basic_ostream_CharT, _Traits

Re: [PUSHED] Rename PT spelling dictionaries directories, for better reading

2012-09-11 Thread Stephan Bergmann
On 09/10/2012 11:52 AM, Olivier Hallot wrote: Em 10-09-2012 02:25, David Tardon escreveu: On Sun, Sep 09, 2012 at 08:05:55AM -0300, Olivier Hallot wrote: From d4ab97a3216e495c52e60d433f4b2216fc45dbb9 Mon Sep 17 00:00:00 2001 From: Olivier Hallot olivier.hal...@alta.org.br Date: Sun, 9 Sep

static libraries (was: How to use internal neon ?)

2012-09-11 Thread Stephan Bergmann
On 09/10/2012 06:55 PM, Matúš Kukan wrote: I am pondering gbuildizing neon. It's built by dmake as dynamic library currently. Could it be used as static library ? [...] It's used only in ucb/Library_ucpdav1.mk One gotcha with this logic of preferring a static over a dynamic library when

Re: [Libreoffice-commits] desktop: use soffice.bin instead of oosplash if build with --enable-headless

2012-09-11 Thread Stephan Bergmann
On 09/10/2012 10:01 PM, Riccardo Magliocchetti wrote: So i am really puzzled on what oosplash is. Besides showing the splash screen it does a number of things that have traditionally been done in the soffice script: - Run javaldx and set LD_LIBRARY_PATH accordingly, if necessary. - Do

Re: Selection of dictionaries per installation

2012-09-11 Thread Stephan Bergmann
On 08/30/2012 01:16 PM, Stephan Bergmann wrote: However, on Windows, the base installation set contains all available localizations and all available dictionaries. During msi installation, some code apparently determines a default selection of only a subset of the Additional user interface

Re: Changing .idl still causes excessive .{hpp,hdl} touching

2012-09-11 Thread Stephan Bergmann
On 09/11/2012 02:04 PM, Michael Stahl wrote: On 07/09/12 11:42, Stephan Bergmann wrote: Even after http://cgit.freedesktop.org/libreoffice/core/commit/?id=39c3a4d6644ae78783aa8877557e4c021cba7973 idlc: clear include file set in Idlc::reset(): the problem described at the start of the below

Re: [libreoffice-commits] Hopefully this is the last of the cleanups for class ScDocument for now.

2012-09-13 Thread Stephan Bergmann
The changes of commit 872daba66c4be77c9df9d6fe6a1c501abe087d04 Author: Joseph Powers jpower...@cox.net Date: Thu Sep 8 21:05:58 2011 -0700 Hopefully this is the last of the cleanups for class ScDocument for now. to diff --git

Re: build failure after libcmis update

2012-09-14 Thread Stephan Bergmann
On 09/14/2012 05:19 PM, David Tardon wrote: Note: This might be a bit harder to achieve for unzip: the equivalent option is -D, but I am not sure it is supported everywhere. In particular, I know that -DD (which extends the modification time change to directories as well) does not work on MacOS

Re: .: accessibility/source cppuhelper/inc cppuhelper/Library_cppuhelper.mk cppuhelper/Package_inc.mk cppuhelper/source cppuhelper/test UnoControls/source

2012-09-17 Thread Stephan Bergmann
On 09/14/2012 09:14 PM, Michael Stahl wrote: that is nice, but it solves only half of the XServiceInfo boilerplate problem... a couple years ago i've added this in sw/inc/unobaseclass.cxx: ::com::sun::star::uno::Sequence ::rtl::OUString GetSupportedServiceNamesImpl(

Re: sal/config.g sal/types.h and sal/osl/rtl includes in general

2012-09-17 Thread Stephan Bergmann
On 09/16/2012 01:57 AM, Norbert Thiebaud wrote: in commit e9689e4fdcf876e7bcaf564e060a3512e0fe9ef3 you said: Revert saldllapi.h is really not included outside of sal itself This reverts commit 2dfe34ce0efef6ec0412130a32f755657710363d: * not every header needs to include sal/types.h *

Re: sal/config.g sal/types.h and sal/osl/rtl includes in general

2012-09-17 Thread Stephan Bergmann
On 09/17/2012 11:32 AM, Norbert Thiebaud wrote: On Mon, Sep 17, 2012 at 3:27 AM, Stephan Bergmann sberg...@redhat.com wrote: sal/types.h just happens to be a header that is needed in many compilation units. any compilation unit that use any scalar type sal_* woudl need it... iow all of them

Re: sal/config.g sal/types.h and sal/osl/rtl includes in general

2012-09-17 Thread Stephan Bergmann
On 09/17/2012 06:25 PM, Michael Stahl wrote: i don't really think the performance benefit is that important; but including it in a central place would give a consistency benefit in whether assert is enabled, which sounds good to me... ...but why try and fight the Standard here? I see no

Re: Automatic using ::rtl::OUString etc.

2012-09-18 Thread Stephan Bergmann
On 07/16/2012 04:03 PM, Lubos Lunak wrote: On Thursday 12 of April 2012, Lubos Lunak wrote: would somebody see a problem with this? sal/inc/rtl/ustring.hxx : +#ifdef RTL_AUTOMATIC_USING +using ::rtl::OUString; +using ::rtl::OStringToOUString; +using ::rtl::OUStringToOString; +#endif I

Re: Automatic using ::rtl::OUString etc.

2012-09-18 Thread Stephan Bergmann
On 09/18/2012 12:43 PM, Norbert Thiebaud wrote: On Tue, Sep 18, 2012 at 3:38 AM, Stephan Bergmann sberg...@redhat.com wrote: It turns out that one drawback of this is with header files that are careful to only declare the incomplete type via namespace rtl { class OUString; } (instead

Re: .: officecfg/registry sd/source

2012-09-19 Thread Stephan Bergmann
On 09/18/2012 09:01 PM, Michael Stahl wrote: On 18/09/12 20:46, Libreoffice Gerrit user wrote: officecfg/registry/cppheader.xsl | 18 +- officecfg/registry/files.mk |3 ++- sd/source/ui/remotecontrol/Server.cxx |6 -- 3 files changed, 15

Re: .: officecfg/registry sd/source

2012-09-19 Thread Stephan Bergmann
On 09/19/2012 11:22 AM, Stephan Bergmann wrote: So, my preferred solution would be to rename Impress-sdremote to something matching existing naming conventions/requirements (or fold it back into Impress.xcs and use the install:module mechanism?). Afterwards, it would probably be best to revert

Re: .: officecfg/registry sd/source

2012-09-19 Thread Stephan Bergmann
On 09/19/2012 11:42 AM, Stephan Bergmann wrote: On 09/19/2012 11:22 AM, Stephan Bergmann wrote: So, my preferred solution would be to rename Impress-sdremote to something matching existing naming conventions/requirements (or fold it back into Impress.xcs and use the install:module mechanism

Re: sal/config.g sal/types.h and sal/osl/rtl includes in general

2012-09-19 Thread Stephan Bergmann
On 09/18/2012 12:14 AM, Norbert Thiebaud wrote: On Mon, Sep 17, 2012 at 11:48 AM, Stephan Bergmann sberg...@redhat.com wrote: But why should anybody coming to this project not be able to expect the assert mechanism to be working as advertised by the Standard? in order to have such behavior

Re: Options included in CC/CXX vs. in gb_CFLAGS/gb_CXXFLAGS

2012-09-20 Thread Stephan Bergmann
On 09/20/2012 08:48 AM, Tor Lillqvist wrote: I think there is some fuzziness about what compiler options should be part of the CC/CXX variables and what should be in gb_CFLAGS/gb_CXXFLAGS. In some cases, like my Mac build tree that uses the 10.4 SDK, from Xcode 3 installed in /Xcode3,

Re: Build error in offapi module

2012-09-20 Thread Stephan Bergmann
On 09/20/2012 04:18 PM, LOH KOK HOE wrote: I was trying to make a clean build Did you actually do make clean? offapi/com/sun/star/auth/SSOExceptions.idl was removed quite a while ago on master, so it looks to me like you still have some remains from on old build around. Stephan

Re: How to use internal neon ?

2012-09-20 Thread Stephan Bergmann
On 09/20/2012 04:00 PM, Matúš Kukan wrote: I see, so it will be a little complicated with exporting symbols. Currently, there is even .map file used. (probably, I don't know how dmake works) I've removed .map files, allowed to turn of -fvisibility=hidden in

Re: ‘auto_ptr’ is deprecated in sc/source/core/tool/rangenam.cxx

2012-09-21 Thread Stephan Bergmann
On 09/20/2012 07:23 PM, julien2412 wrote: Could it be replaced by a non deprecated function (I don't know between std::shared_ptr, std::unique_ptr or boost functions)? Note that I did just that with

Re: LO build can not find external dependencies

2012-09-21 Thread Stephan Bergmann
On 09/21/2012 08:42 AM, Henrik /KaarPoSoft wrote: In solenv/gbuild/platform/com_GCC_defs.mk I changed gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=$(OUTDIR_FOR_BUILD)/lib to gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=/opt/lib/:$(OUTDIR_FOR_BUILD)/lib and now my build

Re: getting started

2012-09-21 Thread Stephan Bergmann
On 09/20/2012 07:31 PM, Jorge Luis Roque Alvarez wrote: Hi iam just learning how to develop; my first step is to understand the examples i already install the sdk from the repository aim currently using ubuntu 12.04.1 but when i run make to the bookmarkInsertation(example in java) it do not

Re: LO build can not find external dependencies

2012-09-21 Thread Stephan Bergmann
On 09/21/2012 01:43 PM, Stephan Bergmann wrote: On 09/21/2012 08:42 AM, Henrik /KaarPoSoft wrote: In solenv/gbuild/platform/com_GCC_defs.mk I changed gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=$(OUTDIR_FOR_BUILD)/lib to gb_Helper_set_ld_path := $(gb_Helper_LIBRARY_PATH_VAR)=/opt/lib

[REVIEW 3-6] For msi installer, only default-select a subset of dictionaries

2012-09-21 Thread Stephan Bergmann
%PRODUCTVERSION-core06,%BASISPACKAGEPREFIX%PRODUCTVERSION-core07,%UNIXPACKAGENAME%BRANDPACKAGEVERSION linuxpatchrequires = copyright = 1999-2010 by Oracle -- 1.7.11.4 From afe069d1103f0d4feb4d1cd7e627c48fdb14e819 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann sberg...@redhat.com Date: Tue, 11 Sep

Re: Build error in offapi module

2012-09-24 Thread Stephan Bergmann
On 09/23/2012 05:46 AM, LOH KOK HOE wrote: BTW, after finishing the make, and make dev-install. I got this message at end of the build, may I know what does it mean by last statement? *Trace from Terminal output* *** Successful packaging

Re: using bool in rtl::OUStringBuffer::append

2012-09-24 Thread Stephan Bergmann
On 09/23/2012 10:49 PM, Markus Mohrhard wrote: after I got tinderbox mail complaining about ambiguous overload for rtl::OUStringBuffer::append(bool) I wanted to ask if we could add a rtl::OUStringBuffer::append(bool) method or if there are reasons against it. From what I can see it could in the

Re: uninitialized member warnings ?

2012-09-25 Thread Stephan Bergmann
On 09/25/2012 11:26 AM, Michael Meeks wrote: On Mon, 2012-09-24 at 20:17 +0100, Caolán McNamara wrote: On Mon, 2012-09-24 at 11:55 -0400, Kohei Yoshida wrote: On Thu, Sep 20, 2012 at 7:02 AM, Michael Meeks michael.me...@suse.com wrote: I've noticed a number of these straying in. Did

Re: [PUSHED] sal_Bool to bool conversions

2012-09-26 Thread Stephan Bergmann
On 09/26/2012 12:21 PM, Noel Power wrote: On 26/09/12 11:11, Noel Power wrote: On 25/09/12 13:48, Noel Grandin wrote: These patches do some sal_Bool to bool conversions. One of the patches drops 2 unused sal_Bool fields. They have passed a full make check. the looked ok to me, will push all

Re: [PUSHED 3-6] For msi installer, only default-select a subset of dictionaries

2012-09-27 Thread Stephan Bergmann
On 09/24/2012 12:25 AM, Andras Timar wrote: I experienced strange behaviour with en-US-hu-ro 3 language build, English dictionary was not selected. When I built all languages, it worked as expected. So, I pushed these patches to libreoffice-3-6 branch, because they seem to work nicely in release

Re: [PATCH] soltools conversion to gbuild

2012-09-27 Thread Stephan Bergmann
On 09/27/2012 09:04 AM, David Ostrovsky wrote: soltools/testhxx is *realy* a lovely one: testhxx.cxx file is empty and the code generation and compilation take place in create.pl script. I am going to nominate it for the make file obfuscation contest this year ;-) Would probably make more

Re: Are the messages on the splash screen useful?

2012-09-28 Thread Stephan Bergmann
Terrence, Any mails you sent to the list recently appear to be empty, not only for me locally but also at e.g. http://lists.freedesktop.org/archives/libreoffice/2012-September/039011.html. (Given that Ivan apparently quotes your message intact in another answer to this mail, maybe you sent

Re: need help with unit test and process service factory

2012-09-28 Thread Stephan Bergmann
On 09/28/2012 01:03 AM, Matúš Kukan wrote: I've tried --enable-telepathy again and found out that the unit test does not work now. After http://cgit.freedesktop.org/libreoffice/core/commit/?id=4917f0ceb2a7b1bb3ba878373f71f38d156278af I am getting: - Exception while getting config.ini url: null

Re: OUString is mutable?

2012-10-01 Thread Stephan Bergmann
On 09/28/2012 01:46 PM, Noel Grandin wrote: I don't really understand the point of not being able to mutate OUString in-place, but being able to overwrite it via the assignment operator? It seems to me it should be one or the other. Either OUString is immutable, and it cannot be assigned to,

Re: OUString is mutable?

2012-10-01 Thread Stephan Bergmann
On 10/01/2012 11:40 AM, Noel Grandin wrote: On 2012-10-01 10:15, Stephan Bergmann wrote: Note that the rtl string functionality had originally been designed, arguably somewhat naively, after java.lang.String. On the Java platform, immutability of String is an important security measure. While

Re: OUString is mutable?

2012-10-01 Thread Stephan Bergmann
On 10/01/2012 12:38 PM, Michael Meeks wrote: On Mon, 2012-10-01 at 11:32 +0200, Noel Grandin wrote: David, I agree with you - what I'm really getting at here is that it seems perfectly reasonable to me to fold the functionality of OUStringBuffer into OUString, making our string classes that

Re: optimising OUString for space

2012-10-01 Thread Stephan Bergmann
On 10/01/2012 01:02 PM, Noel Grandin wrote: That was something I was thinking about the other day - given than the bulk of our strings are pure 7-bit ASCII, it might be a worthwhile optimisation to store a bit that says this string is 7-bit ASCII, and then store the string as a sequence of

Re: optimising OUString for space

2012-10-01 Thread Stephan Bergmann
On 10/01/2012 05:29 PM, Norbert Thiebaud wrote: removal of the need to have 2 set of classes (one for SBCS and one for UCS-2) Note that it might still be useful to keep a heavyweight distinction (like different sets of classes) between the concepts of byte-serializations of sequences of

Re: [PUSHED] [PATCH 2/3] fdo#51304: Remove @author annotation and commented code

2012-10-02 Thread Stephan Bergmann
On 10/01/2012 08:03 PM, Thorsten Behrens wrote: I also did not apply your printStackTrace() logging calls, I think at least some of them report on exceptions that were seemingly previously ignored on purpose? Stephan, or anyone else more up-to-date with contemporary java idiom, any opinions

Re: Error while building LO on Windows

2012-10-02 Thread Stephan Bergmann
On 10/01/2012 04:02 PM, Ulrich Kitzinger wrote: : !makecab_error: Missing % after variable name: %2Fpresenter.xhp : makecab_error: Missing % after variable name: %2Fpresenter.xhp : makecab_error: Missing % after variable name: %2Fpresenter.xhp : makecab_error: Missing % after variable name:

Re: OUString is mutable?

2012-10-02 Thread Stephan Bergmann
On 10/01/2012 06:05 PM, Dennis E. Hamilton wrote: Regarding the mention that the latest Java VM is using UTF8 internally instead of unsigned short arrays is rather daunting. There is an easy way to test it -- see if char values that are not admissible UTF16 codes can be used in construction

Re: [PATCH] sal_bool and String conversions

2012-10-02 Thread Stephan Bergmann
On 10/02/2012 03:01 PM, Michael Stahl wrote: On 02/10/12 08:33, Noel Grandin wrote: Patch 7 and 11 need careful checking because they add methods to OUStringBuffer and OUString. diff --git a/sal/inc/rtl/ustring.h b/sal/inc/rtl/ustring.h index 5b4982e..1595c0f 100644 ---

Re: [PATCH] sal_bool and String conversions

2012-10-02 Thread Stephan Bergmann
On 10/02/2012 04:22 PM, Noel Grandin wrote: Part of my motivation for adding this, besides making String-OUString conversion easier, was that OUString already has the operator+= methods. Yes, but OUStringBuffer only has append() until now, and---as Michael already pointed out---some append()

Re: using bool in rtl::OUStringBuffer::append

2012-10-03 Thread Stephan Bergmann
On 10/03/2012 07:00 PM, Markus Mohrhard wrote: after I got tinderbox mail complaining about ambiguous overload for rtl::OUStringBuffer::append(bool) I wanted to ask if we could add a rtl::OUStringBuffer::append(bool) method or if there are reasons against it. From what I can see it could in the

Re: Libre Office immproovemnt suggestions

2012-10-04 Thread Stephan Bergmann
On 10/03/2012 05:14 PM, ls.discipulus.dei wrote: Dear Libre Office devs, You are doing an amazing job for developping such great software :-), but I have a suggestion to improove Libre Office: I am a teenager going to school and we often need to exchange files (we have pcs in every room). We

Re: using bool in rtl::OUStringBuffer::append

2012-10-04 Thread Stephan Bergmann
On 10/04/2012 07:49 AM, Noel Grandin wrote: On 2012-10-03 22:03, Stephan Bergmann wrote: places. The commit seems to have caused some test failures and crashes. I reverted it for now. ...which only goes to show what a horrible mess C++ is in practice. bool is rather special, but you easily

Re: [Libreoffice-commits] update string copy semantics to be undefined in a non-crashing way

2012-10-04 Thread Stephan Bergmann
On 10/02/2012 07:40 PM, Libreoffice Gerrit user wrote: commit 595ba03fd4769c069bbe0431ab878956ef1c37ad Author: Michael Meeks michael.me...@suse.com Date: Tue Oct 2 18:39:30 2012 +0100 update string copy semantics to be undefined in a non-crashing way. Change-Id:

Re: [Libreoffice-commits] update string copy semantics to be undefined in a non-crashing way

2012-10-04 Thread Stephan Bergmann
On 10/04/2012 12:28 PM, Norbert Thiebaud wrote: On Thu, Oct 4, 2012 at 4:34 AM, Stephan Bergmann sberg...@redhat.com wrote: Given that it is an error for X to happen and if X happens, behaviour is undefined have exactly the same meaning (at least in my understanding of computing), I wonder

Re: [PUSHED] work around broken uno implementation with ScRangeList

2012-10-05 Thread Stephan Bergmann
On 10/04/2012 08:52 PM, Markus Mohrhard wrote: [1] works around a problem where our uno implementation uses ScRangeList but can only deal with one range inside of the ScRangeList. The patch joins all the ranges that are generated when a column/ row is removed and generates one single range

Re: [Libreoffice] [PUSHED] Preserve RTF \'00 sequences (NUL) in strings

2011-07-21 Thread Stephan Bergmann
On Jul 19, 2011, at 3:51 PM, Caolán McNamara wrote: As an aside we should check if the rtl::O[U]StringBuffer append's with a 0 character actually do append a 0 to the end of a already null terminated string so the ugliness can go away if/when the conversion train hits that code. It sure looks

Re: [Libreoffice] Unix permissions in scp2/inc/macros.inc

2011-07-30 Thread Stephan Bergmann
On 29.07.2011, at 21:04, Tomáš Chvátal scarab...@gentoo.org wrote: I was looking onto installed files by the libreoffice default install method and noticed that they are not world writable. This is caused by definition in bootstrap/scp2/inc/macros.inc around line 94 where it says: #define

Re: [Libreoffice] problems with scp2

2011-08-01 Thread Stephan Bergmann
On Jul 31, 2011, at 12:32 AM, Bjoern Michaelsen wrote: On Sat, 30 Jul 2011 10:45:03 +0200 Stephan Bergmann stephan.bergmann.secondary-gM/ye1e23mwn+bqq9rb...@public.gmane.org wrote: No. While linking wants the unversioned libFOO.so (thanks to passing them as -lFOO to the linker), running

Re: [Libreoffice] problems with scp2

2011-08-01 Thread Stephan Bergmann
On Aug 1, 2011, at 10:02 AM, Bjoern Michaelsen wrote: On Mon, 1 Aug 2011 08:42:21 +0200 Stephan Bergmann stephan.bergmann.secondary-gM/ye1e23mwn+bqq9rb...@public.gmane.org wrote: Generally, existing code (i.e., extensions) having a recorded dependency against libuno_salhelpergcc3.so.3

Re: [Libreoffice] Reporting an error when loading of a component fails

2011-08-08 Thread Stephan Bergmann
On Aug 4, 2011, at 1:04 PM, Lubos Lunak wrote: On Wednesday 03 of August 2011, Caolán McNamara wrote: On Tue, 2011-08-02 at 14:58 +0200, Lubos Lunak wrote: - osl_loadModule*() functions are plain C functions from stable API, so no overloading to add the extra argument for the error message,

Re: [Libreoffice] [PATCH] Fix building bridge with -mavx

2011-08-08 Thread Stephan Bergmann
On Aug 2, 2011, at 1:18 PM, Tomas Chvatal wrote: Libreoffice bridge code won't compile on new CPUs which add -mavx to cxxflags with --march=native. As first idea for the fix is actual ban for the -mavx cxxflag by adding -nomavx. I'm curious, in what way does the implicit -mavx cause the

[Libreoffice] signed/unsigned comparison (was: [PATCH] Replace SvULongs with vector and code clean up part 1)

2011-08-09 Thread Stephan Bergmann
On Aug 6, 2011, at 3:32 PM, Maciej Rumianowski wrote: I was working on SvULongs in libs-core and I decided to split my work in several Patches. With this patch comes some questions: @@ -228,9 +229,9 @@ private: String aValStr; double nValNum; sal_Bool bUndoAddList; -

Re: [Libreoffice] signed/unsigned comparison (was: [PATCH] Replace SvULongs with vector and code clean up part 1)

2011-08-09 Thread Stephan Bergmann
On Aug 9, 2011, at 5:15 PM, Lubos Lunak wrote: On Tuesday 09 of August 2011, Stephan Bergmann wrote: On Aug 9, 2011, at 3:02 PM, Lubos Lunak wrote: Too bad usage of STL drags in these problems, but that's not a problem that couldn't be solved. How? namespace lostd // or just no namespace

Re: [Libreoffice] signed/unsigned comparison (was: [PATCH] Replace SvULongs with vector and code clean up part 1)

2011-08-10 Thread Stephan Bergmann
On Aug 10, 2011, at 12:31 PM, Lubos Lunak wrote: On Tuesday 09 of August 2011, Stephan Bergmann wrote: Technically, lostd::list is no longer a container, as it violates the requirement that the return type of size() is size_type. (And if you redefine size_type as int, as you should do anyway

Re: [Libreoffice] Where did Setup.xcu go?

2011-08-10 Thread Stephan Bergmann
On Aug 10, 2011, at 4:23 PM, Knut Olav Bøhmer wrote: Why does not LibreOffice have any Setup.xcu? For performance reasons, it (like all the other xcu files, too) got folded into a single large main.xcd. (Beware, very long lines. You may want to pipe it through an XML pretty printer if you

Re: [Libreoffice] XML pretty printer (was: Where did Setup.xcu go?)

2011-08-11 Thread Stephan Bergmann
On Aug 10, 2011, at 11:28 PM, Eike Rathke wrote: On Wednesday, 2011-08-10 17:48:14 +0200, Stephan Bergmann wrote: For performance reasons, it (like all the other xcu files, too) got folded into a single large main.xcd. (Beware, very long lines. You may want to pipe it through an XML pretty

Re: [Libreoffice] Throwing exception in destructor

2011-08-11 Thread Stephan Bergmann
On Aug 10, 2011, at 11:22 PM, julien2412 wrote: cppcheck has detected 1 Throwing exception in destructor line 88 of core/bridges/test/java_uno/acquire/testacquire.cxx (sorry I mentionned 2 locations on IRC cause I forgot about the new git repo : it was in core and old ure repo) Could it be

Re: [Libreoffice] [GSoC] merged library

2011-08-17 Thread Stephan Bergmann
On Aug 16, 2011, at 8:13 PM, Matúš Kukan wrote: - There are more objects with the same name in different modules. So, is it possible to create one object file for each module and make these variables, classes.. invisible outside object file and then create big library from them? I would

Re: [Libreoffice] signed/unsigned comparison (was: [PATCH] Replace SvULongs with vector and code clean up part 1)

2011-08-17 Thread Stephan Bergmann
On Aug 11, 2011, at 12:22 PM, Lubos Lunak wrote: On Wednesday 10 of August 2011, Stephan Bergmann wrote: On Aug 10, 2011, at 12:31 PM, Lubos Lunak wrote: On Tuesday 09 of August 2011, Stephan Bergmann wrote: Technically, lostd::list is no longer a container, as it violates the requirement

[Libreoffice] BASIC IDE code completion (was: Series of fixes and migration to One Git for contrib/dev-tools/ubuntu-jenkins)

2011-08-19 Thread Stephan Bergmann
On Aug 19, 2011, at 2:06 AM, Henrik Jensen wrote: On 16-08-2011 17:50, Michael Meeks wrote: On Mon, 2011-08-15 at 23:40 +0100, Henrik Jensen wrote: Later when I feel more comfortable with the code, I hope to be able to use (resurrect ?) the old GSOC 2006 project

Re: [Libreoffice] compilation problems

2011-08-19 Thread Stephan Bergmann
On Aug 19, 2011, at 1:32 PM, Jacek Wolszczak wrote: I was trying to compile LO master and I get the following error when doing make dev-install ERROR: The following files could not be found: ERROR: File not found: gnome.xcd Full output: http://pastebin.com/em2jCjgD My ./configure

Re: [Libreoffice] Get rid of unused direct dependencies

2011-08-23 Thread Stephan Bergmann
On Aug 20, 2011, at 6:18 PM, Péter Rabi wrote: I'm interested in your opinion about the following problem of mine: There are probably libraries and executables in LibO that are dynamically linked to libraries that they do not use. I wrote some c++ code (attached) to find these needless

Re: [Libreoffice] cppu::OPropertySetHelper ABI backwards compatibility

2011-08-23 Thread Stephan Bergmann
On Aug 23, 2011, at 5:16 PM, Kohei Yoshida wrote: On Tue, 2011-08-23 at 17:09 +0200, Lionel Elie Mamane wrote: On Mon, Aug 22, 2011 at 11:53:59PM +0200, Eike Rathke wrote: Maybe due to some overzealous introduction of such helper implementations into the UDK. Sure, it eases development of

Re: [Libreoffice] cppu::OPropertySetHelper ABI backwards compatibility

2011-08-23 Thread Stephan Bergmann
On Aug 23, 2011, at 5:09 PM, Lionel Elie Mamane wrote: On Mon, Aug 22, 2011 at 11:53:59PM +0200, Eike Rathke wrote: On Monday, 2011-08-22 15:30:04 -0400, Kohei Yoshida wrote: What this tells me is that, we can't change OPropertySetHelper implementation, at least not in a way that changes its

Re: [Libreoffice] smoke test failed

2011-08-23 Thread Stephan Bergmann
On Aug 23, 2011, at 7:09 PM, Jenei Gábor wrote: Hello, I just wanted to do make dev-install after a successful make -sr debug=true dbglevel=2. I have already posted so patches,because I met problems even in making, but finally I made it all. Now smoke-test fails with the error messages:

Re: [Libreoffice] map files: how to update? [was: cppu::OPropertySetHelper ABI backwards compatibility]

2011-08-25 Thread Stephan Bergmann
On Aug 25, 2011, at 6:09 PM, Lionel Elie Mamane wrote: On Tue, Aug 23, 2011 at 07:37:06PM +0200, Stephan Bergmann wrote: On Aug 23, 2011, at 5:00 PM, Lionel Elie Mamane wrote: (...) I don't know what to do with queryInterface; since it is not virtual, I cannot override

Re: [Libreoffice] map files: how to update? [was: cppu::OPropertySetHelper ABI backwards compatibility]

2011-08-25 Thread Stephan Bergmann
On Aug 25, 2011, at 9:42 PM, Michael Meeks wrote: On Thu, 2011-08-25 at 18:09 +0200, Lionel Elie Mamane wrote: Now, I face the .map files; there, I'd appreciate some help; I think I've reverse-engineered enough of the GCC one to get a correct one (at least, I could do a modicum of testing with

Re: [Libreoffice] map files: how to update? [was: cppu::OPropertySetHelper ABI backwards compatibility]

2011-08-26 Thread Stephan Bergmann
On Aug 25, 2011, at 11:00 PM, Lionel Elie Mamane wrote: On Thu, Aug 25, 2011 at 10:10:16PM +0200, Stephan Bergmann wrote: On Aug 25, 2011, at 6:09 PM, Lionel Elie Mamane wrote: On Tue, Aug 23, 2011 at 07:37:06PM +0200, Stephan Bergmann wrote: On Aug 23, 2011, at 5:00 PM, Lionel Elie Mamane

Re: [Libreoffice] map files: how to update? [was: cppu::OPropertySetHelper ABI backwards compatibility]

2011-08-26 Thread Stephan Bergmann
On Aug 26, 2011, at 8:02 AM, Tor Lillqvist wrote: 2) for MSVC, I'm rather more disarmed; made some incomplete guesses. ?queryInterface@OPropertySetHelper@cppu@@W3AA?AVAny@uno@star@sun@com@@ABVType@4567@@Z; ?queryInterface@OPropertySetHelper@cppu@@W7AA?AVAny@uno@star@sun@com@@ABVType@4567@@Z;

Re: [Libreoffice] unusedcode.easy and debug build

2011-08-28 Thread Stephan Bergmann
On Aug 27, 2011, at 2:04 AM, Markus Mohrhard wrote: I just had some problems with my debug build in ucb and discovered that at least one method only needed in a debug build has been removed. It seems it was mentionend on unusedcode.easy, so my question is how we should deal with these

Re: [Libreoffice] [PATCH] Add numbering type in persian word.

2011-08-28 Thread Stephan Bergmann
On Aug 27, 2011, at 1:40 AM, Mohammad Elahi wrote: Numbering in localized persian word is useful in some areas, at least for me it is necessary. Since it is not trivial a function and table is needed.

Re: [Libreoffice] [PATCH] Add numbering type in persian word.

2011-08-28 Thread Stephan Bergmann
On Aug 28, 2011, at 2:12 PM, Mohammad Elahi wrote: static sal_Unicode *table_PersianWord_decade1[]={ (sal_Unicode[]){0}, // 0 (sal_Unicode[]){0x06cc, 0x06a9, 0}, // 1 … }; is not valid C++03 (and neither is Eike's version using the ArrUnicode typedef). To be standards conform

Re: [Libreoffice] few queastions about building sal

2011-08-29 Thread Stephan Bergmann
On Aug 28, 2011, at 11:57 PM, Matúš Kukan wrote: I was working on gbuildizing sal and few problems showed up: 1, in sal/osl/unx/system.h:75 there is #if GLIBC = 2 but I could not find how is GLIBC defined. In Env.Host.sh I have GLIBC=2REDHAT60 but that is something else probably.

Re: [Libreoffice] buglet in 1ec7b6a4 (?)

2011-08-29 Thread Stephan Bergmann
On Aug 28, 2011, at 8:59 PM, Norbert Thiebaud wrote: 2011/8/28 Eike Rathke o...@erack.de: Hi Matúš, On Sunday, 2011-08-28 19:04:08 +0200, Matúš Kukan wrote: On 22 August 2011 18:17, Tom Tromey tro...@redhat.com wrote: Commit 1ec7b6a4 changed autogen.sh to create autogen.lastrun only if

Re: [Libreoffice] few queastions about building sal

2011-08-29 Thread Stephan Bergmann
On Aug 29, 2011, at 2:50 PM, Matúš Kukan wrote: On 29 August 2011 09:48, Stephan Bergmann stephan.bergmann.second...@googlemail.com wrote: On Aug 28, 2011, at 11:57 PM, Matúš Kukan wrote: I was working on gbuildizing sal and few problems showed up: 1, in sal/osl/unx/system.h:75

<    4   5   6   7   8   9   10   11   12   13   >