Re: [Libreoffice] Mutex(Guard) ignores failure to create/acquire Mutex

2011-08-17 Thread Norbert Thiebaud
On Thu, Aug 18, 2011 at 12:12 AM, Lionel Elie Mamane wrote: > Hi, > > I noticed that Mutex(Guard) C++ helper classes silently ignores > failures to create / acquire / release / destroy a mutex, which seems > rather worrying: if one puts a mutex acquire, it means the rest of the > code should not e

Re: [Libreoffice] Help for a newbie

2011-08-17 Thread Markus Mohrhard
Hello Olivier, the header/footer information are stored in a ScPageHFItem, which is a SfxPoolItem. Then for printing the following function might be interesting: http://opengrok.libreoffice.org/xref/core/sc/source/ui/view/printfun.cxx#1757and the whole class ScPrintFunc. I think setting a breakpo

Re: [Libreoffice] How to call from one component to another (sw->starmath)

2011-08-17 Thread Lubos Lunak
On Thursday 18 of August 2011, Lubos Lunak wrote: > Is that true in practice? Sw and writerfilter have a hard depedency on Correction: Writerfilter does not. It doesn't change anything though. > filter already. I only added few more dependencies to starmath that sw > already has as a dependency

Re: [Libreoffice] How to call from one component to another (sw->starmath)

2011-08-17 Thread Lubos Lunak
On Thursday 18 of August 2011, Bjoern Michaelsen wrote: > Hi Lubos, > > On Tue, 16 Aug 2011 12:09:19 +0200 > > Lubos Lunak wrote: > > No, starmath doesn't need to call back to writer. The problem is > > that this is still needlessly complicated. How about the attached > > patch? > > While it work

[Libreoffice] Mutex(Guard) ignores failure to create/acquire Mutex

2011-08-17 Thread Lionel Elie Mamane
Hi, I noticed that Mutex(Guard) C++ helper classes silently ignores failures to create / acquire / release / destroy a mutex, which seems rather worrying: if one puts a mutex acquire, it means the rest of the code should not execute if the mutex was not acquired, lest subtle bugs crop up (corrupti

[Libreoffice] feature/gsoc2011_wizards from components migrated from components to core

2011-08-17 Thread Bjoern Michaelsen
Hi Xisco, Hi Norbert, all, I migrated the feature/gsoc2011_wizards branch from components to core. While that should have been a simple "git format-patch"/"git am" combo with a bit of manual fudging for the merge commits: 9e91dbca08056fc31f388f5642fdfa3d2b910990 e52421bc118e9c5f3fce5a32ba9efdca

Re: [Libreoffice] How to call from one component to another (sw->starmath)

2011-08-17 Thread Bjoern Michaelsen
Hi Lubos, On Tue, 16 Aug 2011 12:09:19 +0200 Lubos Lunak wrote: > No, starmath doesn't need to call back to writer. The problem is > that this is still needlessly complicated. How about the attached > patch? While it works, I would prefer if the 10.000-feet-view of the project stays reasonably

Re: [Libreoffice] duplication of ItemHolder2

2011-08-17 Thread Eike Rathke
Hi Matúš, On Monday, 2011-08-15 13:50:44 +0200, Matúš Kukan wrote: > I'm trying to build bigger libraries What would be the benefit of that in this specific case? > but I have small problem with ItemHolder2. > It's implemented in svl/source/config/itemholder2.cxx and also in > svtools/source/co

Re: [Libreoffice] Bugzilla handling of multiple branches

2011-08-17 Thread Kohei Yoshida
Hi Lionel, On Wed, Aug 17, 2011 at 2:49 PM, Lionel Elie Mamane wrote: > Hi, > > I don't see any way in bugzilla to say things like: >  bug present / not present in master / libreoffice-3.4, ... >  bug fixed / not fixed in master / libreoffice-3.4, ... So, a rule of thumb I follow is, put the ver

Re: [Libreoffice] Rectangle width

2011-08-17 Thread Thorsten Behrens
Dmitry. A. Ashkadov wrote: > I found out that class Rectangle contains two different finctions > getWidth() and GetWidth(). The first returns wrong value. > Hi Dmitry - yes, the two different methods are surely confusing. As for the "wrong value", that very much depends on the mental model of rect

[Libreoffice] Compilation failed in connectivity module

2011-08-17 Thread julien2412
Hello, Here is what I get : Compiling: connectivity/source/commontools/dbtools.cxx /home/maryline/compile-libreoffice/libo/connectivity/source/commontools/dbtools.cxx: In function 'void dbtools::TransferFormComponentProperties(const com::sun::star::uno::Reference&, const com::sun::star::uno::Refer

Re: [Libreoffice] java LO part with Eclipse

2011-08-17 Thread Cor Nouws
Thorsten Behrens wrote (17-08-11 16:33) Olivier Hallot wrote: Makes me wonder if a Virtualbox (or the like) VM with the full development environment "ready-to-go, pick your flavor" inside is not a must have Will it makes things way too easy? :-) Nope, quite the contrary - it's a very nice

Re: [Libreoffice] Bugzilla handling of multiple branches

2011-08-17 Thread Cor Nouws
Joop Kiefte wrote (17-08-11 22:08) 2011/8/17 Lionel Elie Mamane mailto:lio...@mamane.lu>> So I don't know when to close a bug. When it is fixed in master? When it is fixed in all branches where we want it fixed? For example, bug #40079; it is fixed in master, so I closed it. But

Re: [Libreoffice] UNO API reference?

2011-08-17 Thread Cor Nouws
Kevin Hunter wrote (17-08-11 17:35) At 11:27am -0400 Wed, 17 Aug 2011, Caolán Mcnamara wrote: Okay, those are some links that I was missing. Thank you all 3 for your help. IIRC, those were referenced too from somewhere on the api.openoffice.org site. Though not comprehensive in every detail

Re: [Libreoffice] Bugzilla handling of multiple branches

2011-08-17 Thread Joop Kiefte
Shouldn't it be backported in this case? ... 2011/8/17 Lionel Elie Mamane > Hi, > > I don't see any way in bugzilla to say things like: > bug present / not present in master / libreoffice-3.4, ... > bug fixed / not fixed in master / libreoffice-3.4, ... > > There is only *one* version field, a

Re: [Libreoffice] duplication of ItemHolder2

2011-08-17 Thread Terrence Enger
On Wed, 2011-08-17 at 19:38 +0200, Matúš Kukan wrote: > [snip] > > So, can I just rename ItemHolder2 in svtools to ItemHolder3 ? I have a vague memory from the times of OpenOffice.org of a numeric suffix on a name indicating the number of template parameters. Templates with "Helper" in the name,

[Libreoffice] [PATCH] Remove unnecessary parameter to IDocumentStatistics::UpdateDocStat

2011-08-17 Thread Arnaud Versini
Hi This patch remove unnecessary parameter SwDocStat& rStat to the method IDocumentStatistics::UpdateDocStat and also limit copy of SwDocStat during file saving and statistic dialog. I will look in the next weeks if it's possible to simplify the code and, if it's useful, I will limit the memorie

[Libreoffice] Bugzilla handling of multiple branches

2011-08-17 Thread Lionel Elie Mamane
Hi, I don't see any way in bugzilla to say things like: bug present / not present in master / libreoffice-3.4, ... bug fixed / not fixed in master / libreoffice-3.4, ... There is only *one* version field, and *one* status field, not one per branch. So I don't know when to close a bug. When it

Re: [Libreoffice] Tinderbox failure... not mine!

2011-08-17 Thread Norbert Thiebaud
On Wed, Aug 17, 2011 at 1:26 PM, Lionel Elie Mamane wrote: > On Wed, Aug 17, 2011 at 04:36:03PM +, nthieb...@gmail.com wrote: > >> One of you broke the build of LibreOffice with your commit :-( >> Please commit and push a fix ASAP! > > That's plainly wrong. The build log for the version for th

Re: [Libreoffice] Tinderbox failure... not mine!

2011-08-17 Thread Kohei Yoshida
On Wed, 2011-08-17 at 20:26 +0200, Lionel Elie Mamane wrote: > On Wed, Aug 17, 2011 at 04:36:03PM +, nthieb...@gmail.com wrote: > > > One of you broke the build of LibreOffice with your commit :-( > > Please commit and push a fix ASAP! > > That's plainly wrong. Take it easy. These are autom

Re: [Libreoffice] Tinderbox failure... not mine!

2011-08-17 Thread Lionel Elie Mamane
On Wed, Aug 17, 2011 at 04:36:03PM +, nthieb...@gmail.com wrote: > One of you broke the build of LibreOffice with your commit :-( > Please commit and push a fix ASAP! That's plainly wrong. The build log for the version for the previous "green" build is chokefull of errors. I suspect a build s

Re: [Libreoffice] [EasyHack][#34697][MHST] How to get the current page number in Calc, Impress, Draw

2011-08-17 Thread Markus Mohrhard
Hello, 2011/8/17 Ta Duc Tung > Hi, > > I'm trying to fix the bug number #34697 in > https://bugs.freedesktop.org/**show_bug.cgi?id=34697 > (No option for printing current page). > > The bug was fixed in Writer. Now I'm trying to make it in Calc

Re: [Libreoffice] [PATCH] Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Lionel Elie Mamane
On Wed, Aug 17, 2011 at 09:48:04AM +0100, Noel Power wrote: > On 16/08/11 17:32, Lionel Elie Mamane wrote: >>> Two questions, >>> a) did you try this on master >> No, not yet. > no problem I did now. Reproduced there, but someone (you?) pushed my patch so *now* one cannot reproduce it anymore. I

[Libreoffice] [Bug 35673] LibreOffice 3.4 most annoying bugs

2011-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673 Bug 35673 depends on bug 40079, which changed state. Bug 40079 Summary: "File/Save (as)" inoperant if macro, but not dialog library loaded https://bugs.freedesktop.org/show_bug.cgi?id=40079 What|Old Value |New V

Re: [Libreoffice] duplication of ItemHolder2

2011-08-17 Thread Matúš Kukan
On 15 August 2011 13:50, Matúš Kukan wrote: > Hello, > > I'm trying to build bigger libraries but I have small problem with > ItemHolder2. > It's implemented in svl/source/config/itemholder2.cxx and also in > svtools/source/config/itemholder2.cxx. > The one in svtools seems to be more general but

[Libreoffice] [EasyHack][#34697][MHST] How to get the current page number in Calc, Impress, Draw

2011-08-17 Thread Ta Duc Tung
Hi, I'm trying to fix the bug number #34697 in https://bugs.freedesktop.org/show_bug.cgi?id=34697 (No option for printing current page). The bug was fixed in Writer. Now I'm trying to make it in Calc. The problem is that I don't know how to get the current page number. If in Writer, I can get

Re: [Libreoffice] [GSOC] how to call python code from the menu

2011-08-17 Thread Caolán McNamara
On Wed, 2011-08-17 at 09:06 +0100, Caolán McNamara wrote: > I imagine that if you basically opengrok for mailmerge.py and > mailmerge.component and follow the same pattern for your one that it'll > get you a lot closer. Seeing as this is a bit tricky to get up and running, attached is a rough-and-

Re: [Libreoffice] UNO API reference?

2011-08-17 Thread Kevin Hunter
At 11:27am -0400 Wed, 17 Aug 2011, Caolán Mcnamara wrote: On Wed, 2011-08-17 at 10:18 -0400, Kevin Hunter wrote: Yes, I've investigated that site; it doesn't seem terribly fruitful. Perhaps I'm not clicking the right links? I'm looking for a few things that I don't currently see, like http://w

Re: [Libreoffice] UNO API reference?

2011-08-17 Thread Caolán McNamara
On Wed, 2011-08-17 at 10:18 -0400, Kevin Hunter wrote: > At 3:59am -0400 Tue, 16 Aug 2011, Cor Nouws wrote: > > Kevin Hunter wrote (16-08-11 01:07) > >> Do we have, or is there a canonical reference for the UNO API? > >> Specifically with Python bindings? The various references I've been > >> able

Re: [Libreoffice] [REVIEW] - cherrypick to 3.4.3 Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Noel Power
subject changed as it appears people are correct, I do live in the past On 17/08/11 15:30, Michael Meeks wrote: On Wed, 2011-08-17 at 14:55 +0100, Noel Power wrote: eek I meant to put REVIEW in the subject and the 3.4.2 meme needs some 3.4.3 adjustment - right ? :-) [ same problem with

Re: [Libreoffice] UNO API reference?

2011-08-17 Thread Christian Dywan
- Code snippets for all the UNO API language bindings. I see a few, for the likes of Java, OOBasic, and ooRexx, but they harken back to 2.0 and 1.1 days. Further, Since the API has multiple language bindings, I'm looking for more than just those 3. For instance, I see barely six examples for CPP,

Re: [Libreoffice] java LO part with Eclipse

2011-08-17 Thread Caolán McNamara
On Wed, 2011-08-17 at 16:33 +0200, Thorsten Behrens wrote: > Olivier Hallot wrote: > > Makes me wonder if a Virtualbox (or the like) VM with the full > > development environment "ready-to-go, pick your flavor" inside is > > not a must have Will it makes things way too easy? :-) > > > Nope, qui

Re: [Libreoffice] java LO part with Eclipse

2011-08-17 Thread Thorsten Behrens
Olivier Hallot wrote: > Makes me wonder if a Virtualbox (or the like) VM with the full > development environment "ready-to-go, pick your flavor" inside is > not a must have Will it makes things way too easy? :-) > Nope, quite the contrary - it's a very nice idea - though it needs someone to k

Re: [Libreoffice] [REVIEW] - cherrypick to 3.4.2 Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Michael Meeks
On Wed, 2011-08-17 at 14:55 +0100, Noel Power wrote: > eek I meant to put REVIEW in the subject and the 3.4.2 meme needs some 3.4.3 adjustment - right ? :-) [ same problem with Cedric's mail ;-]. ATB, Michael. -- michael.me...@novell.com <><, Pseudo Engineer,

Re: [Libreoffice] UNO API reference?

2011-08-17 Thread Kevin Hunter
At 3:59am -0400 Tue, 16 Aug 2011, Cor Nouws wrote: Kevin Hunter wrote (16-08-11 01:07) Do we have, or is there a canonical reference for the UNO API? Specifically with Python bindings? The various references I've been able to find online seem haphazard at best. Is that what we have to work with,

[Libreoffice] [PUSHED] Gtk3 button rendering

2011-08-17 Thread Michael Meeks
Hi Lucas, On Tue, 2011-08-16 at 21:13 +0200, Lucas Baudin wrote: > Here is a patch to render gtk3 button correctly. I send it now because I > won't have internet until tuesday, and it would be a bit stupid if > anyone made the same thing... So, you are aware that the patch exists, > if you need it

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

2011-08-17 Thread Lubos Lunak
On Thursday 11 of August 2011, Miklos Vajna wrote: > On Wed, Aug 10, 2011 at 11:28:42PM +0200, Eike Rathke wrote: > > For which I always recommend xmlpp, > > http://software.decisionsoft.com/tools.html > > Is this better in some aspect than xmllint --format, which cames with > libxml and requires

Re: [Libreoffice] [REVIEW] - cherrypick to 3.4.2 Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Noel Power
eek I meant to put REVIEW in the subject On 17/08/11 14:12, Noel Power wrote: On 15/08/11 13:10, Lionel Elie Mamane wrote: I've committed the patch to the 3.4 branch ( and master ), I've changed the subject to cherry-pick to 3.4.2 as this issue causes data loss and as such I think should go i

[Libreoffice] [RFC] Download repository layout

2011-08-17 Thread Tomáš Chvátal
Hi guys, current layout of the download stuff is quite confusing regarding to old/etc. As I am working on downstream stuff I am pretty sure that the only thing we mostly favor is that the things are not moved regarding to theirs age. Also quite great is if we don't have to investigate some bra

Re: [Libreoffice] Ctrl+D and Ctrl+R

2011-08-17 Thread Eike Rathke
Hi Kohei, On Wednesday, 2011-08-17 08:35:21 -0400, Kohei Yoshida wrote: > > Did that change? > > Yes, to Alt-Down. Ah, thanks. /me currently asks stupid questions because can't run graphical applications to take a look.. Now found ScDocShell::ResetKeyBindings() ... Eike -- PGP/OpenPGP/G

Re: [Libreoffice] [PUSHED] - cherrypick to 3.4.2 Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Noel Power
On 15/08/11 13:10, Lionel Elie Mamane wrote: I've committed the patch to the 3.4 branch ( and master ), I've changed the subject to cherry-pick to 3.4.2 as this issue causes data loss and as such I think should go into the branch. 2 more acks needed Noel _

Re: [Libreoffice] Ctrl+D and Ctrl+R

2011-08-17 Thread Kohei Yoshida
Hi Eike, On Wed, Aug 17, 2011 at 8:26 AM, Eike Rathke wrote: > Did that change? Yes, to Alt-Down. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [Libreoffice] Ctrl+D and Ctrl+R

2011-08-17 Thread Eike Rathke
Hi, On Monday, 2011-08-15 09:47:02 +0200, Cor Nouws wrote: > In OpenOffice.org legacy, Ctrl-D shows the "Selection list". > In LibreOffice that is turned off by default, but can be influenced > by Tools > OPtions > LibreOffice Calc > Compatibility It's noteworthy that Ctrl+D is (was?) the only m

Re: [Libreoffice] [REVIEW] fix for fdo#39850 and fdo#39820: update range names and database ranges in formula cells

2011-08-17 Thread Eike Rathke
Hi Markus, On Wednesday, 2011-08-17 07:23:42 +0200, Markus Mohrhard wrote: > That was my intention. My idea was that we should create a global range name > as default and not a local range name that points to the same cell. But > after a talk to Kohei and your impression it seems that this is cou

Re: [Libreoffice] [REVIEW] Cherry-pick in 3.4.2?

2011-08-17 Thread Cedric Bosdonnat
Hi Caolan, On Tue, 2011-08-16 at 14:26 +0100, Caolán McNamara wrote: > On Tue, 2011-08-16 at 05:48 -0700, cbosdonnat wrote: > > All is now working fine, and that later commit could be applied to 3.4 > > safely. > > Sorry, not trying to be a pain or anything, but that assignment operator > now lea

[Libreoffice] Check your affiliation ? ...

2011-08-17 Thread Michael Meeks
Hi guys, I just created a repo for Cedric's gitdm work: git clone git://anongit.freedesktop.org/libreoffice/contrib/gitdm-config Containing the config files we use to generate our affiliation and progress graphs / stats like these: http://blog.documentfoundation.org/2011/07/26/a

Re: [Libreoffice] [PATCH] Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Noel Power
On 16/08/11 17:32, Lionel Elie Mamane wrote: I disabled the "export out any embedded image object" code by adding a "return;" before it, and it does not loose the embedded images, even after restarting LO and re-opening the document. ( after refamiliarising myself with this code ) this behaviour

Re: [Libreoffice] [PUSHED] [PATCH] for Bug 32719

2011-08-17 Thread Thorsten Behrens
jeffrey chang wrote: > Sorry for the delay. Here is the revised patch that fixes the dimension > problem without all the rough scratch work/comments from last time. > Hi Jeffrey, ah sorry, mixed up the two bugs - thanks Yifan for noting - templates indeed look much better with your fix, thanks a

[Libreoffice] Git tags: why not "3.3.4-rc2" instead of "3.3.4.2"

2011-08-17 Thread Gioele Barabucci
Hello, I was wondering why the git tags are named `3.3.4.2` for 3.3.4-rc2 instead of the more natural `3.3.4-rc2` or the more common `v3.3.4-rc2`. I am used to see 3.3.4.2 as the second bugfix release for 3.3.4, or, in more mathematical terms, 3.3.4.2 > 3.3.4 = 3.3.4.0. I hope 3.5-rc1 will no

Re: [Libreoffice] [ANNOUNCE] libreoffice-3.3.4.2 tag skipped (3.3.4-rc2)

2011-08-17 Thread Rainer Bielefeld
Fridrich Strba schrieb: no changes have been committed into the libreoffice-3-3-4 branch. Hi, no Bug reports at all, so I will modify Version 3.3.4-RC to 3.3.4 Release in few minutes. CU Rainer ___ LibreOffice mailing list LibreOffice@lists.fre

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 re

[Libreoffice] [PATCH] fix missing DESTDIR variable in chmod call

2011-08-17 Thread Tomáš Chvátal
Should be applied to master and 3-4-3 branch for which we need two more sign offs. So please review/ack :) >From 989934ab08a5ef9e6e95c87ea78db495f2abcee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 17 Aug 2011 11:33:55 +0200 Subject: [PATCH] Fixup non-res

Re: [Libreoffice] Graphite 1.0.1

2011-08-17 Thread Thorsten Behrens
Petr Mladek wrote: > I guess that you need it with the md5sum prefix, so I uploaded it as > http://download.go-oo.org/src/3c6b8de6b75eee445b29f1de5fe01f02-graphite2-1.0.1.tgz > Seeing this - we've recently moved to http://dev-www.libreoffice.org/src for external source tarballs. Didn't find 3c6b8d

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

[Libreoffice] [ANNOUNCE] Branch libreoffice-3-4-3 created

2011-08-17 Thread Petr Mladek
Hi all, there have been created the libreoffice-3-4-3 branch. It will be used for fine tuning of the 3.4.3 bugfix release. It is based on the tag libreoffice-3.4.3.1 for 3.4.3-rc1 release. The following rules apply: + preferably just translation or blocker fixes + only cherry-pic

Re: [Libreoffice] [PATCH] Base fdo#40079 "file / save (as)" inoperant

2011-08-17 Thread Noel Power
Hi Lionel On 16/08/11 17:32, Lionel Elie Mamane wrote: Two questions, a) did you try this on master No, not yet. no problem ( I did and it appeared to work as expected ) but I am pretty 'base' disabled so I fear I may have missed something in trying to recreate it You have to be very cautio

Re: [Libreoffice] [GSOC] how to call python code from the menu

2011-08-17 Thread Caolán McNamara
On Tue, 2011-08-16 at 19:29 +0200, Xisco Faulí wrote: > Thank you for pointing out this file but I don't really understand how > it works. > The wizard is called here : > http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu#441 > where MailM