Re: [Libreoffice] Howto develop an extension with URE?

2011-11-13 Thread Stephan Bergmann
On 11/12/2011 12:43 PM, Michael Meeks wrote: It seems a nonsense to me to not ship the pre-built C++ headers in the sdk - particularly if that would make things easier for developers. Stephan - is there a really good reason for not doing that ? clearly the easier we make the sdk

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Francois Tigeot
On Sun, Nov 13, 2011 at 02:16:51PM +0100, Lionel Elie Mamane wrote: > > AFAIK, a well-configured machine has /etc/hosts setup so that > gethostbyname(gothostname()) does not touch DNS, but is resolved > entirely from reading /etc/hosts. Doesn't the installer *by* *default* > set things up like tha

Re: [Libreoffice] build breaks in tail-build with missing file offapi/com/sun/star/u.

2011-11-13 Thread Regina Henschel
Hi all, the problem is solved. With help from IRC I found that the file defltuno.d was broken, perhaps because of writing conflicts by multiple jobs. A clean build using --with-max-jobs=1 then runs through without errors. Kind regards Regina Regina Henschel schrieb: Hi all, my build break

[Libreoffice] [PATCH] implements bug fdo#42892: Add new symbols to Math

2011-11-13 Thread Olivier Hallot
Hi The patch in the link implements new math symbols (game theory) into LibreOffice Math, described in http://bugs.freedesktop.org/show_bug.cgi?id=42892. Please pick the patch (quite large) in the bug link as well as the second patch for a minor fix; Many thanks to Julien Nabet for the hel

[Libreoffice] License statement: Olivier Hallot

2011-11-13 Thread Olivier Hallot
License statement: All past and future contributions by me to the LibreOffice project are under LGPLv3+/GPLv3+/MPL until further notice. -- Olivier Hallot Founder, Board of Directors Member - The Document Foundation LibreOffice translation leader for Brazilian Portuguese +55-21-8822-8812

[Libreoffice] TextSection, TextCursor and component

2011-11-13 Thread Knut Olav Bøhmer
Hi, Is it allowed to insert a TextSection in to a document which was created from another document? Like this: doc1 = StarDesktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, Array()) doc2 = StarDesktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, A

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 04:19:25PM -0600, Norbert Thiebaud wrote: > On Sun, Nov 13, 2011 at 4:18 PM, Norbert Thiebaud wrote: >> On Sun, Nov 13, 2011 at 3:39 PM, Lionel Elie Mamane wrote: >>> http://dev.mysql.com/downloads/mirror.php?id=393795#mirrors >>> Please rename it to >>> 0981bda6548a8c8

[Libreoffice] [PUSHED] translated sd/source/ui/inc/strings.hrc

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 10:26:20AM +0100, Luc Castermans wrote: > herewith translation patch. Thanks. Applied. I saw German comments in vcl/source/window/window.cxx today, if you feel like it ;) -- Lionel ___ LibreOffice mailing list LibreOffice@lists

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Norbert Thiebaud
On Sun, Nov 13, 2011 at 4:18 PM, Norbert Thiebaud wrote: > On Sun, Nov 13, 2011 at 3:39 PM, Lionel Elie Mamane wrote: >> >> http://dev.mysql.com/downloads/mirror.php?id=393795#mirrors >> >> Please rename it to >> 0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-cpp.tar.gz actually the filename

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Norbert Thiebaud
On Sun, Nov 13, 2011 at 3:39 PM, Lionel Elie Mamane wrote: > > http://dev.mysql.com/downloads/mirror.php?id=393795#mirrors > > Please rename it to > 0981bda6548a8c8233ffce2b6e4b2a23-mysql-connector-cpp.tar.gz > Done Norbert ___ LibreOffice mailing lis

[Libreoffice] presentation Easy Hacking - last weekend at T-Dose

2011-11-13 Thread Cor Nouws
Hi *, As a final action for the past week, I just posted the presentation on easy hacking LibreOffice that I gave at T-Dose, the Saturday before. See: https://wiki.documentfoundation.org/Marketing/Material#Presentation Please reuse and extend :-) -- - Cor - http://nl.libreoffice.org

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 03:18:38PM -0600, Norbert Thiebaud wrote: > On Sun, Nov 13, 2011 at 2:57 PM, Lionel Elie Mamane wrote: >> On Sun, Nov 13, 2011 at 02:41:02AM +0100, Lionel Elie Mamane wrote: >>> I have in my local working dir an upgrade of the bundled >>> mysqlcppconn to latest "officially

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Norbert Thiebaud
On Sun, Nov 13, 2011 at 2:57 PM, Lionel Elie Mamane wrote: > On Sun, Nov 13, 2011 at 02:41:02AM +0100, Lionel Elie Mamane wrote: >> I have in my local working dir an upgrade of the bundled mysqlcppconn >> to latest "officially stable" version; it was my first shot at >> fdo#42865. The way we typi

Re: [Libreoffice] compile fails: solver/unxlngx6.pro/xml/ure/services.rdb not created

2011-11-13 Thread Chr. Rossmanith
So it's save to remove .component files because they are regenerated during building LibO? And the same is valid for .rdb's? Christina Am 13.11.2011 14:16, schrieb Julien Nabet: Le 13/11/2011 13:28, Luc Castermans a écrit : Op 13-11-11 11:33, julien2412 schreef: Have you tried to apply the a

Re: [Libreoffice] write access to http://dev-www.libreoffice.org/

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 02:41:02AM +0100, Lionel Elie Mamane wrote: > I have in my local working dir an upgrade of the bundled mysqlcppconn > to latest "officially stable" version; it was my first shot at > fdo#42865. > Since I've done the work, I can as well push it; mysqlcppconn's > changelog (b

Re: [Libreoffice] [Libreoffice-qa] Improving the QA and Release for 3.5

2011-11-13 Thread Cor Nouws
Hi Rainer, Rainer Bielefeld wrote (11-11-11 20:06) I'm afraid "Try to get more testers doing the testing earlier" will be the critical/limiting condition. [...] You are perfectly right there! (This information was contained in the slides that I did not include in the version linked from that

[Libreoffice] [PATCH] Docuview code cleanup

2011-11-13 Thread Matteo Casalin
Hi everybody, my name's Matteo and this is my first contribution [attempt] to this wonderful piece of work, besides "spreading the word". The attached patch does a little code cleanup in Docuview::DrawSymbol function and its helper, reducing local variables and calls to "real" draw function

[Libreoffice] Report of translation Bugs

2011-11-13 Thread Rainer Bielefeld
Hi, is it already useful to report UI and Help Translation issues found in Master 3.5 for some languages (especially German and French) or should we still wait? Kind regards Rainer Bielefeld ___ LibreOffice mailing list LibreOffice@lists.freedeskto

[Libreoffice] build breaks in tail-build with missing file offapi/com/sun/star/u.

2011-11-13 Thread Regina Henschel
Hi all, my build breaks in tail-build with error message: C:/git/LO35NOV/solenv/gbuild/Package.mk:33: *** gb_Deliver_deliver: file does not exist in solver, and cannot be delivered: /cygdrive/c/git/LO35NOV/solver/wntmsci12.pro/inc/offapi/com/sun/star/u. Stop. I have run 'make build' a seco

Re: [Libreoffice] Misrouted bugs.Freedesktop.org report

2011-11-13 Thread Dennis E. Hamilton
When you BCC: an entire list of developers and others via resend, without any explanation at all, how are recipients to know what your purpose is and determine whether it is relevant for them? In my in-box the mails shows as being from bugzilla-demon@ freedesktop.org and I had no reason to exam

[Libreoffice] [PUSHED] [PATCH] Remove _osl_getDomainName and simplify _osl_getFullQualifiedDomainName

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 04:38:06PM +0100, Arnaud Versini wrote: > This patch remove the function _osl_getDomainName and replace it by a > _osl_gethostbyname_r. Yes, that's better. Committed. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.fre

[Libreoffice] [PATCH] Remove _osl_getDomainName and simplify _osl_getFullQualifiedDomainName

2011-11-13 Thread Arnaud Versini
Hi, This patch remove the function _osl_getDomainName and replace it by a _osl_gethostbyname_r. Next part of the previous patch. I think maybe without this patch, there is some problems on Android with the function getdomainname due to my previous patch, sorry. Best regards -- Arnaud Versini Fr

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 03:04:57PM +0100, Arnaud Versini wrote: > I've seen it is used by using gdb on > _osl_getFullQualifiedDomainName. I don't remember how but I could > provide you the bt after the build. It's not directly but > _osl_getFullQualifiedDomainName is used during file locking. Tha

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 02:30:40PM +0100, Arnaud Versini wrote: > there is this portion of code in _osl_getFullQualifiedDomainName : > > if (nLengthOfDomainName == 0) > { > sal_Char pDomainNameBuffer[ DOMAINNAME_LENGTH ]; > > pDomainNameBuffer[0] = '\0'; > > if (_

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Arnaud Versini
And this is the backtrace. 2011/11/13 Arnaud Versini > I've seen it is used by using gdb on _osl_getFullQualifiedDomainName. I > don't remember how but I could provide you the bt after the build. It's not > directly but _osl_getFullQualifiedDomainName is used during file locking. > > I'm writtin

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Arnaud Versini
I've seen it is used by using gdb on _osl_getFullQualifiedDomainName. I don't remember how but I could provide you the bt after the build. It's not directly but _osl_getFullQualifiedDomainName is used during file locking. I'm writting a patch to remove the usage of _osl_getDomainName. 2011/11/13

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Noel Grandin
Arnaud is correct, I was looking at the wrong method. But where do you see this method being used in file locking? Lionel, I've run across a lot of machines with badly configured DNS. socket.c: _osl_getDomainName is only used by socket.c: static sal_Char* _osl_getFullQualifiedDomainName (con

Re: [Libreoffice] Trouble with autogen on WinXP

2011-11-13 Thread Regina Henschel
Hi, Noel Grandin schrieb: I used Mozillabuildsetup. OK, autogen is satisfied now. Starting building now, but that takes some time. I had tried --disable-mozilla too, but that has failed same as only --disable-build-mozilla. Why does it demands mozilla build tools, when mozilla should not

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Arnaud Versini
there is this portion of code in _osl_getFullQualifiedDomainName : if (nLengthOfDomainName == 0) { sal_Char pDomainNameBuffer[ DOMAINNAME_LENGTH ]; pDomainNameBuffer[0] = '\0'; if (_osl_getDomainName (pDomainNameBuffer, DOMAINNAME_LENGTH)) { pD

Re: [Libreoffice] compile fails: solver/unxlngx6.pro/xml/ure/services.rdb not created

2011-11-13 Thread Julien Nabet
Le 13/11/2011 13:28, Luc Castermans a écrit : Op 13-11-11 11:33, julien2412 schreef: Have you tried to apply the advice put here : http://wiki.documentfoundation.org/Development/How_to_build#The_Build_Failed..._What_can_I_do.C2.A0.3F ? Yes, result is the 2nd output in the pastebin URL. http

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 12:46:06PM +0200, Noel Grandin wrote: > GetDomainName is only used by > GetYPDomainName > in the same file > which in turn is only used by > const rtl::OUString& SubstitutePathVariables_Impl::GetYPDomainName() > in > /core/framework/source/services/substitutepathvars.

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Lionel Elie Mamane
On Sun, Nov 13, 2011 at 12:06:52PM +0200, Tor Lillqvist wrote: >> The portable and strictly correct way seems to be to do a >> DNS query on the result of gethostname() (gethostbyname or getaddrinfo >> with AI_CANONNAME). > But in general we should avoid potentially pointless DNS calls. Let's > no

Re: [Libreoffice] compile fails: solver/unxlngx6.pro/xml/ure/services.rdb not created

2011-11-13 Thread Luc Castermans
Op 13-11-11 11:33, julien2412 schreef: Have you tried to apply the advice put here : http://wiki.documentfoundation.org/Development/How_to_build#The_Build_Failed..._What_can_I_do.C2.A0.3F ? Yes, result is the 2nd output in the pastebin URL. http://pastebin.com/4cUAnyXF when I execute the i

Re: [Libreoffice] translated sd/source/ui/inc/strings.hrc

2011-11-13 Thread Luc Castermans
Op 13-11-11 10:26, Luc Castermans schreef: Hi, herewith translation patch. Not much, but demonstrate my first way through the flow, aka "my first Libo-build Hello World" This contribution and others to follow are made under GPL and MPL licenses. thx Luc <>___

Re: [Libreoffice] [Bug 42865] New: MySQL native driver: free() on non-heap pointer; in debug mode abort()

2011-11-13 Thread julien2412
Hello Lionel, It seems exactly the same pb as this thread : http://nabble.documentfoundation.org/gcc-bug-on-Debian-packages-td3485058.html I had use gdb bt, then following some advice, I had used Valgrind but I didn't know how to interpret all these things. The logs are in the thread. I retried b

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Arnaud Versini
This function is also used in _osl_getFullQualifiedDomainName, I check if the result of this function is correct, I'm checking the result of this function. 2011/11/13 Noel Grandin > OpenGrok says that: > > GetDomainName is only used by > GetYPDomainName > in the same file > > which in turn is o

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Noel Grandin
OpenGrok says that: GetDomainName is only used by GetYPDomainName in the same file which in turn is only used by const rtl::OUString& SubstitutePathVariables_Impl::GetYPDomainName() in /core/framework/source/services/substitutepathvars.cxx which in turn is only used by bool SubstitutePath

Re: [Libreoffice] compile fails: solver/unxlngx6.pro/xml/ure/services.rdb not created

2011-11-13 Thread julien2412
Have you tried to apply the advice put here : http://wiki.documentfoundation.org/Development/How_to_build#The_Build_Failed..._What_can_I_do.C2.A0.3F ? -- View this message in context: http://nabble.documentfoundation.org/compile-fails-solver-unxlngx6-pro-xml-ure-services-rdb-not-created-tp35040

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Tor Lillqvist
Seems that the original code was also broken of course, forking and execing /bin/domainname is indeed a bit stupid, and the domainname command is also specified (to the extent it is "specified" at all) to return the NIS domain name. But honestly, how many of the LibreOffice installations on Unix e

Re: [Libreoffice] Misrouted bugs.Freedesktop.org report

2011-11-13 Thread Lionel Elie Mamane
On Sat, Nov 12, 2011 at 09:51:51PM -0800, Dennis E. Hamilton wrote: > This report came to dennis.hamilton@ acm.org. > I am not connected with that bug in any manner. You are subscribed to libreoffice@lists.freedesktop.org, and I BCCed this report to that ML. I did that because I'm soliciting opin

[Libreoffice] translated sd/source/ui/inc/strings.hrc

2011-11-13 Thread Luc Castermans
Hi, herewith translation patch. Not much, but demonstrate my first way through the flow, aka "my first Libo-build Hello World" regards, -- Luc Castermans mailto:luc.casterm...@gmail.com From ee82a5e217684996ac5a5eec75e8adf04377e7d5 Mon Sep 17 00:00:00 2001 From: Luc Castermans Date: Sun, 13 N

[Libreoffice] [PATCH] Fix bug in build.pl option parser

2011-11-13 Thread Daisuke Nishino
Hi all, I'm not much familiar with perl, but I think the previous implementation of build.pl had bugs. For example, --skip option would always be rejected before 'next' statement, because get_modules_passed() always returns nothing (evaluated as false). As a result --skip would be incorrectly push

Re: [Libreoffice] [PATCH] Replace command domainname by getdomainname() on Unix

2011-11-13 Thread Tor Lillqvist
> For nitpickers, note that getdomainname does *not* return the DNS > domain, but the NIS domain, which strictly speaking may or may not > coincide. >From my Solaris sysadmin experience (which is limited, and old), I'd say it is a very lucky site and/or organization if they happen to coincide. I