Re: [Libreoffice] Trying to diagnose base running extremely slowly

2011-10-19 Thread Noel Grandin
Hi Is there a way of getting a stacktrace from this tool, so we could see where the /proc/self/map access is coming from? Regards, Noel. Michael Meeks wrote: On Wed, 2011-10-19 at 16:34 +0200, Stephan Bergmann wrote: (the number is not always 72) that is repeated more or less identically

Re: [Libreoffice] Trying to diagnose base running extremely slowly

2011-10-20 Thread Noel Grandin
John, which version of java are you running? Running java -version at the command line should tell you. On 19 October 2011 19:17:02, Andrew Haley wrote: On 10/19/2011 05:57 PM, Michael Meeks wrote: On Wed, 2011-10-19 at 17:32 +0200, Stephan Bergmann wrote: What the LibO hsqldb code does

Re: [Libreoffice] Calc - a better design ...

2011-10-20 Thread Noel Grandin
Hi Sounds like a good idea would be to create a master tracking bug in bugzilla around this plan, then split off the different changes into blocking sub-bugs, and mark some of the easier ones so that other people can start doing them. Regards, Noel. Michael Meeks wrote: Hi Kevin, On Thu,

Re: [Libreoffice] build error in tail_build

2011-10-25 Thread Noel Grandin
Cool, thanks! Michael Stahl wrote: On 20/10/11 09:00, Noel Grandin wrote: Hi Building on Windows using Visual Studio, running into a build error in ScriptProviderForJava. Trimmed build log attached. Any ideas? Thanks, Noel Grandin have had this problem myself today, the command

Re: [Libreoffice] feature/gtk3 merged ...

2011-10-25 Thread Noel Grandin
Duration timers are best implemented using the system's monotonic clock.In Java, this is System.nanoTime(),under linux, this is clock_gettime(CLOCK_MONOTONIC),under windows, it is GetTickCount() On Tue, Oct 25, 2011 at 17:40, Michael Meeks michael.me...@suse.com wrote: On Tue, 2011-10-25 at

Re: [Libreoffice] feature/gtk3 merged ...

2011-10-25 Thread Noel Grandin
Getting there :) almost have a complete build on my machine :) On Tuesday, October 25, 2011, Michael Meeks michael.me...@suse.com wrote: Hi Noel, On Tue, 2011-10-25 at 18:51 +0200, Noel Grandin wrote: Duration timers are best implemented using the system's monotonic clock.In Java

Re: [Libreoffice] (real) Windows build, needs help.

2011-10-27 Thread Noel Grandin
When the windows build fails, the real error is often hidden pretty far up the log. That error message probably indicates that some earlier stage failed to link that file. Kohei Yoshida wrote: I've been trying to build master on Windows with MSVC, and could use some help. Multiple git pull

[Libreoffice] syntax highlighting extension not working on LO wiki

2011-10-31 Thread Noel Grandin
Hi I think one of the MediaWiki extensions might have been turned off. See this page: http://wiki.documentfoundation.org/Development/Native_Build And do a search for syntaxhighlight lang=bash Regards, Noel Grandin ___ LibreOffice mailing list

Re: [Libreoffice] syntax highlighting extension not working on LO wiki

2011-10-31 Thread Noel Grandin
Weird. My browser must have had something dodgy stuck in it's cache. On Mon, Oct 31, 2011 at 18:34, Petr Mladek pmla...@suse.cz wrote: Noel Grandin píše v Po 31. 10. 2011 v 17:03 +0200: Hi I think one of the MediaWiki extensions might have been turned off. See this page: http

[Libreoffice] build breaking in configure

2011-11-03 Thread Noel Grandin
Hi Sometime in the last 24 hours something changed in the mozilla configure stuff, which means that autogen is failing for me now. Running on a Windows7 machine with Visual Studio. See attached log. Anybody have any ideas? Thanks, Noel Grandin Disclaimer: http://www.peralex.com

Re: [Libreoffice] build breaking in configure

2011-11-03 Thread Noel Grandin
Hi I fixed this by installing the mozilla-build tool, and using --with-mozilla-build=, but I'm surprised that the configure process now requires that, since I thought I had disabled everything mozilla related. Regards, Noel Grandin. Noel Grandin wrote: Hi Sometime in the last 24 hours

[Libreoffice] build break in toolkit component (unresolved externals)

2011-11-03 Thread Noel Grandin
Hi Building on Windows7 with Visual Express 2008 Getting an unresolved externals problem in the toolkit component, log attached. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html [ build LNK ] Library/itk.lib R=c:/libreoffice O=$R/libo/solver/wntmsci12.pro W=$R

[Libreoffice] build break in drawinglayer component (unresolved external in BZPixelRaster)

2011-11-07 Thread Noel Grandin
Hi Building on Windows 7 with Visual Studio, build is breaking in drawinglayer with unresolved externals. Looks like a destructor got removed? Regards, Noel. Disclaimer: http://www.peralex.com/disclaimer.html [ build LNK ] Library/itk.lib R=c:/libreoffice O=$R/libo/solver/wntmsci12.pro

Re: [Libreoffice] build break in drawinglayer component (unresolved external in BZPixelRaster)

2011-11-07 Thread Noel Grandin
thanks. Thorsten Behrens wrote: Noel Grandin wrote: Building on Windows 7 with Visual Studio, build is breaking in drawinglayer with unresolved externals. Hi Noel, please pull - Fridrich just fixed that with commit f8508036d1f28765ad43055d9ba99219e1523087 Cheers, -- Thorsten

Re: [Libreoffice] build fails in extension module

2011-11-08 Thread Noel Grandin
Nope, still failing, see attached log. Regards, Noel Grandin Caolán McNamara wrote: On Tue, 2011-11-08 at 14:07 +0100, Jean-Baptiste Faure wrote: Hi all, This morning build (master on ubuntu 10.04 x86_64) fails in extensions module. This error comes after a fresh build following the same

Re: [Libreoffice] build fail in scripting/Jar/aportisdoc

2011-11-11 Thread Noel Grandin
/libreoffice/libo/workdir/wntmsci12.pro/Dep/SdiTarget/basctl/sdi/basslots.d:1: *** target pattern contains no `%'. Stop. -- Noel Grandin Stephan Bergmann wrote: On 11/11/2011 08:03 AM, Noel Grandin wrote: c:\libreoffice\libo\scripting\java\com\sun\star\script\framework\provider\java

Re: [Libreoffice] build fail: workdir/wntmsci12.pro/Dep/SdiTarget/basctl/sdi/basslots.d:1: *** target pattern contains no `%'

2011-11-11 Thread Noel Grandin
/ScriptProviderForJava is still spitting out lots of cannot find symbol. Regards, Noel Grandin Michael Meeks wrote: Hi Noel, On Thu, 2011-11-10 at 10:02 +0200, Noel Grandin wrote: Not quite sure where this build fail comes from - running make from the root says that the build fail is in tail_build

Re: [Libreoffice] build fail in scripting/Jar/aportisdoc

2011-11-11 Thread Noel Grandin
:\libreoffice\libo\basctl\sdi\baside.sdi \ c:\libreoffice\libo\basctl\sdi\basslots.hrc Bjoern Michaelsen wrote: On Fri, Nov 11, 2011 at 10:02:47AM +0200, Noel Grandin wrote: Nor does trying to build the tail_build module, although that returns a different error message: /cygdrive/c/libreoffice/libo

Re: [Libreoffice] [PUSHED][PATCH] Re: Easy hack regex compile infinite loop ( bug 41738 )

2011-11-12 Thread Noel Grandin
an enormous amount of testing. Regards, Noel Grandin On Fri, Nov 11, 2011 at 18:48, koehlerk...@comcast.net wrote: Hi Eike, I confirm I contribute this and all future patches for LibreOffice under the LGPLv3+ and MPL 1.1 . Yes, there are quite some shortcomings and bugs with that code. I

Re: [Libreoffice] Trouble with autogen on WinXP

2011-11-12 Thread Noel Grandin
I found that I had to install the Mozilla build tools and point autogen at them to make my build work On Saturday, November 12, 2011, Regina Henschel rb.hensc...@t-online.de wrote: Hi all, this time my try to build fails already in autogen.sh. Up to now I had used the switches cited below.

Re: [Libreoffice] Trouble with autogen on WinXP

2011-11-12 Thread Noel Grandin
I used Mozillabuildsetup. On Sunday, November 13, 2011, Regina Henschel rb.hensc...@t-online.de wrote: Hi Noel, Noel Grandin schrieb: I found that I had to install the Mozilla build tools and point autogen at them to make my build work What do I need, MozillaBuildSetup or moztools-static

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

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

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

2011-11-14 Thread Noel Grandin
. For extra-extra bonus points, we could run the DNS resolution on a separate thread and also store that in the lock file if it is available when we create the lock file :-) Regards, Noel Grandin. Michael Stahl wrote: On 14/11/11 12:30, Michael Meeks wrote: On Sun, 2011-11-13 at 12:06 +0200, Tor

[Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-15 Thread Noel Grandin
that despite being added in the build script, is ScriptFramework.jar is NOT on the command line. Any ideas? I'm afraid I'm still getting to grips with the gbuild framework. Thank, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-16 Thread Noel Grandin
Michael Stahl wrote: hmm... if you edit Jar_ScriptProviderForJava.mk, and move ScriptFramework.jar first, what happens then? also you could try to edit solenv/gbuild/JavaClassSet.mk, and in the definition of gb_JavaClassSet_add_jar replace all eval with info, which should print some

Re: [Libreoffice] bug in Jar_ScriptProviderForJava.mk?

2011-11-16 Thread Noel Grandin
Michael Stahl wrote: hmm...so clearly it is added to CLASSPATH, but it does not end up in the command; that is most mysterious... what is the command like if, in the definition of gb_JavaClassSet__command (solenv/gbuild/JavaClassSet.mk), you a) replace gb_Helper_abbreviate_dirs_native

Re: [Libreoffice] [ANNOUNCE] Partial Build without the need to source Env.Host.sh

2011-11-16 Thread Noel Grandin
macro code makes me think back to my programming-with-MSDOS-batch-file days :-) -- Noel Grandin Norbert Thiebaud wrote: Hi all, Having to source Env.Host.sh to do partial build is a pain, especially since it polute tour session environment quite a bit and essentially force you to start a new

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-17 Thread Noel Grandin
machine: http://wiki.documentfoundation.org/Development/Windows_Build_Dependencies http://wiki.documentfoundation.org/Development/Native_Build http://wiki.documentfoundation.org/Development/BuildingOnWindowsWithCygwinAndMSVCExpress Regards, Noel Grandin Winfried Donkers wrote: Hello all

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-17 Thread Noel Grandin
developers around. Your bug won't get priority unless either (a) you step in and at least help with running test, or (b) your company pays SUSE/Redhat to allocate one of their developers to it. -- Noel Grandin Winfried Donkers wrote: Sorry, I don't have a Windows machine available with lots

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-17 Thread Noel Grandin
Hi Excellent. Feel free to ask for help if you get stuck setting it up. -- Noel Grandin Alexander Thurgood wrote: Le 17/11/11 09:11, Winfried Donkers a écrit : Hi Winfried, Comment 11 from Alex Thurgood gives a possible cause, but: What we need is for someone to test it with a recent

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-18 Thread Noel Grandin
-sdk-home=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.1 --with-mozilla-build=/cygdrive/c/mozilla-build -- Noel Grandin On 18 November 2011 14:52:51, Winfried Donkers wrote: Excellent. Feel free to ask for help if you get stuck setting it up. -- Noel Grandin I have installed all

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-21 Thread Noel Grandin
Hmmm, that looks like a quoting problem with the $CPP variable. What does your $CPP variable look like? On Mon, Nov 21, 2011 at 13:07, Winfried Donkers w.donk...@dci-electronics.nl wrote: Excellent. Feel free to ask for help if you get stuck setting it up. -- Noel Grandin .autogen.sh

Re: [Libreoffice] build break in drawinglayer component (unresolved?external in BZPixelRaster)

2011-11-21 Thread Noel Grandin
I also saw that error, and I seem to remember Fridrich fixing it. But I think I had to do a 'make clean' and then 'make' to fix it. On Mon, Nov 21, 2011 at 18:55, Thorsten Behrens t...@documentfoundation.org wrote: xuanyong.yang wrote: I got the following error. Any ideas? and I didn't make

Re: [Libreoffice] printing expert wanted

2011-11-22 Thread Noel Grandin
What you want is a way of dumping the PostScript output, so that you can compare the output from a previous version of LibO with a newer version of LibO. (Just stating the question better - I don't know the answer). Petr Mladek wrote: Hi, I wonder who would be interested into printing

Re: [Libreoffice] Assertions and Logging

2011-11-22 Thread Noel Grandin
Stephan Bergmann wrote: based one; given that configure currently rejects --enable-dbgutil for an MSVC based one I guess nobody cares for debug output for that configuration at the moment, anyway?) I think it's more a case of the Windows users struggling to get a basic build going

Re: [Libreoffice] Windows build breakage

2011-11-23 Thread Noel Grandin
Hi I tried to debug this with Michael Stahl's help, and I came to the conclusion that it is some kind of timing bug in make. Sometimes it works, sometimes not. In the end I gave up and disabled java. (--without-java). Regards, Noel Grandin. Kohei Yoshida wrote: Hi there, So, not having been

Re: [Libreoffice] help asked/offered for bug 36555

2011-11-23 Thread Noel Grandin
Maybe we need a check in configure to make sure we are running the correct version of make? Michael Stahl wrote: On 23/11/11 11:14, Winfried Donkers wrote: Now I get the following: config.status: executing depfiles commands MAKE version 5.2 Copyright (c) 1987, 2000 Borland Error

Re: [Libreoffice] message construction bloat ...

2011-11-23 Thread Noel Grandin
Michael Meeks wrote: and I know var-args is type-unsafe, Don't all of the major compilers have extensions for compile-time checking of printf-style strings? Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list

[Libreoffice] final and override

2011-11-27 Thread Noel Grandin
/introducing-moz_final-prevent-inheriting-from-a-class-or-prevent-overriding-a-virtual-function/ Would such things be useful additions to the LibreOffice codebase? -- Noel Grandin ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http

Re: [Libreoffice] SWT window locks LOo

2011-11-30 Thread Noel Grandin
that's called open-source software: http://en.wikipedia.org/wiki/Open-source_software othman wrote: The best way to get things done is to do them yourself. Feel free to start on that topic if it's really a blocker for you. if i knew how to fix it i wouldn't have asked in this forum. It's

Re: [Libreoffice] About build libo on Windows

2011-12-01 Thread Noel Grandin
You need an extra forward slash before the cygdrive On Thursday, 1 December 2011, Alex Sandro Fagundes alexsfagun...@gmail.com wrote: Thanks for the tip. But, now I'm with problems with SDK. The problem is on annex. I've tried: --with-jdk=cygdrive/c/Program Files/Java/jdk1.6.0_25 But, not

Re: [Libreoffice] Clipboard handling on Windows

2011-12-02 Thread Noel Grandin
:-) -- Noel Grandin Kohei Yoshida wrote: Hi fellow hackers, While investigating this bug https://bugs.freedesktop.org/show_bug.cgi?id=33100 which involves Windows' clipboard handling, I've come to the realization that, there are two ways to communicate with the clipboard on Windows. One

Re: [Libreoffice] Slow initialisation of template manager dialogue and subsequent screen corruption

2011-12-08 Thread Noel Grandin
Isn't that one of the pieces written in Java? Alex Thurgood wrote: Hi all, This is not the first time I've noticed on builds from master, but it appears to not have gone away, so I'm assuming no one else has noticed. I have been testing my Linux master builds on 32bit Ubuntu 11.10 with

Re: [Libreoffice] how to acquire an ScDocument reference from scratch

2011-12-09 Thread Noel Grandin
I don't have any unit tests in my tree yet, so feel free to go ahead. -- Noel Grandin Kevin Hunter wrote: At 4:47pm -0500 Thu, 08 Dec 2011, Michael Meeks wrote: On Thu, 2011-12-08 at 13:05 -0500, Kevin Hunter wrote: More specifically, I wish there were a way to run exactly and only one test

Re: [Libreoffice] how to acquire an ScDocument reference from scratch

2011-12-09 Thread Noel Grandin
If there is no living upstream, surely we shouldn't let the current state of affairs hold us back? Why not add the features we need, and remove --with-system-cppunit? I see unit-testing as a project-internal thing anyhow, and it's a build-time dependency, not a run-time dependency, so I don't

Re: [Libreoffice] [board-discuss] Re: [Libreoffice-qa] End of the line for 3.3 family and regressions

2011-12-12 Thread Noel Grandin
People who think there should be zero regressions are welcome to donate the necessary time and financial resources to make it happen. Michael Meeks wrote: Hi Pedro, On Sat, 2011-12-10 at 11:46 +, Pedro Lino wrote: This isn't simply a matter of checking and reporting bugs. It involves

[Libreoffice] [patch] german translations

2011-12-12 Thread Noel Grandin
+, and I believe Mike has already submitted patches and given blanket permission. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [Libreoffice] [patch] german translations

2011-12-12 Thread Noel Grandin
+, and I believe Mike has already submitted patches and given blanket permission. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html --- a/autodoc/source/parser/cpp/all_toks.hxx +++ b/autodoc/source/parser/cpp/all_toks.hxx @@ -188,12 +187,12 @@ /* just for viewing: class

Re: [Libreoffice] [patch] german translations

2011-12-12 Thread Noel Grandin
Hi Thanks Stefan. Any particular preference as to which areas should receive high priority for translations? -- Noel Stefan Knorr (Astron) wrote: Hi back, Please manually check your translations before submitting. This one for instance is complete garbage: -// Eine STD-Lib erzeugen,

[Libreoffice] getting debug symbols when running build unit tests under gdb?

2011-12-14 Thread Noel Grandin
0x40b0ddc1 in ?? () from /home/noel/libo/solver/unxlngi6.pro/lib/libsclo.so Any ideas? Thanks, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org

Re: [Libreoffice] getting debug symbols when running build unit tests under gdb?

2011-12-14 Thread Noel Grandin
Thanks Markus, I'll try that in the morning. Do you know of any trick for catching stack-overflow problems? The trick I'm using is pretty painful. On Wed, Dec 14, 2011 at 17:52, Markus Mohrhard markus.mohrh...@googlemail.com wrote: Hello Noel, his is under Ubuntu Linux. I'm trying to track

[Libreoffice] [PATCH] removing mpNotes field from ScBaseCell

2011-12-17 Thread Noel Grandin
the lifecycles together implicitly? So I came up with this patch. It compiles, and passes a make check. I'll do a memcheck run on Monday when I can get access to my other machine with tons of memory. Regards, Noel Grandin diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx old mode 100644 new mode 100755

Re: [Libreoffice] [PATCH] removing mpNotes field from ScBaseCell

2011-12-17 Thread Noel Grandin
Hi Yeah, that is what I tried the first time. But it turns out to be incredibly hard to keep the lifecycle of the ScBaseCell objects and the lifecycle of the ScPostIt objects tied together, because ScBaseCell and it's child classes get allocated and deallocated in lots of different places, not

Re: [Libreoffice] [PATCH] removing mpNotes field from ScBaseCell

2011-12-18 Thread Noel Grandin
from ScColumn to ScCellManager - in pieces, move API from Sc*Cell to ScCellManager until nothing else has direct access to the Sc*Cell classes - then change the internal representation inside ScCellManager to your hearts content Regards, Noel Grandin

[Libreoffice] [patch] translate some german comments in /svx

2011-12-19 Thread Noel Grandin
Hi More translations, work by Mike Whiteley and Noel Grandin, patch is under MPL/LGPL+ Regards, Noel Disclaimer: http://www.peralex.com/disclaimer.html diff --git a/svx/inc/svx/obj3d.hxx b/svx/inc/svx/obj3d.hxx index 5cf5d03..e2d7e2d 100644 --- a/svx/inc/svx/obj3d.hxx +++ b/svx/inc/svx

[Libreoffice] bug in post-commit hook

2011-12-22 Thread Noel Grandin
there is something wrong with the post-commit hook - I'm getting repeats of the message below every few seconds. Original Message Subject:[Libreoffice-commits] Changes to 'refs/tags/libreoffice-3.4.3-final' Date: Thu, 22 Dec 2011 07:06:53 -0800 (PST) From:

Re: [Libreoffice] bug in post-commit hook

2011-12-22 Thread Noel Grandin
I've had about a 100 so far today On Thursday, 22 December 2011, Michael Stahl mst...@redhat.com wrote: On 22/12/11 16:12, Noel Grandin wrote: there is something wrong with the post-commit hook - I'm getting repeats of the message below every few seconds. are you sure? i guess there should

Re: [Libreoffice] Removing LibO on Windows ...

2012-01-05 Thread Noel Grandin
In my experience, good uninstallers check if the application is currently running, and refuse to complete the uninstallation process until the user has exited the program. Something like: A LibreOffice application is still running. Please save and exit before continuing. And then grey out the

Re: [Libreoffice] Trying to diagnose base running extremely slowly

2012-01-13 Thread Noel Grandin
Surely now that it's confined to a single thread, it can just call AttachThread() once at startup, and never need to call DetachThread() ? -- Noel Grandin On 2012-01-13 10:54, Stephan Bergmann wrote: On 01/12/2012 02:18 PM, Michael Meeks wrote: On Thu, 2012-01-12 at 10:44 +0100, Stephan

Re: [Libreoffice] Trying to diagnose base running extremely slowly

2012-01-13 Thread Noel Grandin
: On 01/13/2012 09:59 AM, Noel Grandin wrote: Surely now that it's confined to a single thread, it can just call AttachThread() once at startup, and never need to call DetachThread() ? Yes, one could improve it further based on the fact that it is confied now (it also internally uses some mutices

Re: [Libreoffice] [PATCH] ScColumn - convert array to vector

2012-01-13 Thread Noel Grandin
I forgot to say that the patch passes the unit tests, and a valgrind run (I love that tool). On 2012-01-13 09:06, Noel Grandin wrote: Hi This patch converts open-coded array management to std::vector in ScColumn Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html

Re: [Libreoffice] Trying to diagnose base running extremely slowly

2012-01-13 Thread Noel Grandin
I'm over that hump, I'll take a look at it. -- Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [Libreoffice] [PATCH] ScColumn - convert array to vector

2012-01-13 Thread Noel Grandin
Hi Oh no!, I was testing some stuff and accidentally commented out the critical line in ScColumn::Append(). This line +//aItems.resize(nSize); should be +aItems.resize(nSize); We could call reserve() on the vector to allocate extra capacity, but I don't think there is any way to get

Re: [Libreoffice] [PATCH] ScColumn - convert array to vector

2012-01-13 Thread Noel Grandin
Sorry to waste your time, I'll have another run at this on Wednesday, when I get back from a business trip. On Sat, Jan 14, 2012 at 00:32, Kohei Yoshida kohei.yosh...@suse.com wrote: On Fri, 2012-01-13 at 17:00 -0500, Kohei Yoshida wrote: On Fri, 2012-01-13 at 15:27 -0500, Kohei Yoshida wrote:

Re: [Libreoffice] Structural QA activities

2012-01-18 Thread Noel Grandin
Coverity will do this themselves for LibreOffice for free: http://scan.coverity.com/ It just needs someone from the project to liaise with them and get it set up. On 2012-01-18 14:30, Luc Castermans wrote: Gents, I've been polling inside my work-environment whether I could run Coverity on

Re: [Libreoffice] Structural QA activities

2012-01-18 Thread Noel Grandin
I think the issue is that the guy who was managing the project (David Maxwell) has moved on from Coverity to eSentire. I've dropped him an email to see if he knows who took over from him at Coverity. On 2012-01-18 16:13, Michael Meeks wrote: Hi Noel, On Wed, 2012-01-18 at 14:54 +0200, Noel

Re: [Libreoffice] [REVIEW][3-4] date change regression fdo#44385

2012-01-20 Thread Noel Grandin
On 2012-01-20 13:32, Noel Power wrote: [*] table of behaviour in vba, pre the bug being introduced and post patch msoold behaviour present date + numDate Date

Re: [Libreoffice] [PATCH V2] replace open-coded array with std::vector in ScColumn

2012-01-20 Thread Noel Grandin
-- Noel Grandin On Fri, Jan 20, 2012 at 19:07, Kohei Yoshida kohei.yosh...@suse.com wrote: On Fri, 2012-01-20 at 15:15 +0200, Noel Grandin wrote: Hi this patch passes valgrind tests in the sc module, and passes a global make check. Yup.  All looks green.  Nice work. :-) Before I push, could

Re: [Libreoffice] [bug fdo#41326] UI: Impossible to select text from the input line in a read-only document

2012-01-21 Thread Noel Grandin
Yes, that's why we need to develop patches. See here if you want to help: http://www.libreoffice.org/get-involved/developers/ On Sat, Jan 21, 2012 at 14:20, Rob Snelders programm...@ertai.nl wrote: Hi All, I had the same problem as the people in this bug. Isn't it possible to enable the

Re: [Libreoffice] validation documents for writer

2012-01-22 Thread Noel Grandin
I thought someone was running a test-bot that downloaded all of the documents from bugzilla and loaded them? Maybe the best place is just to attach them to the relevant bug entries in bugzilla? On Sun, Jan 22, 2012 at 12:12, Luc Castermans luc.casterm...@gmail.com wrote: Hi, Below documents

Re: [Libreoffice] make check fails with lots of missing dictionaries

2012-01-22 Thread Noel Grandin
I had the same problem. Doing a make clean and then updating to HEAD fixed it for me, but can't say exactly why... On 2012-01-23 09:28, Chr. Rossmanith wrote: Hi, what can I do to make make check succeed? Currently it fails with: ... languages en-US ... ... analyzing files ... ERROR: The

Re: sorted_vector, constness, pointers, and structs

2012-07-18 Thread Noel Grandin
On Wed, Jul 18, 2012 at 7:23 PM, Lubos Lunak l.lu...@suse.cz wrote: But it is correct that you get an error in the second case and you ideally should be getting one in the first case as well. You cannot modify the elements of the vector because that might modify what defines their position

Re: sorted_vector, constness, pointers, and structs

2012-07-18 Thread Noel Grandin
On Wed, Jul 18, 2012 at 8:09 PM, Lubos Lunak l.lu...@suse.cz wrote: You didn't read further than that part above, did you? What you want is broken. It is definitely broken from the theoretical point of view, since modifying the items may change the sort order. Aargh. Instead of casting

Re: minutes of ESC call ...

2012-07-19 Thread Noel Grandin
On Thu, Jul 19, 2012 at 5:50 PM, Michael Meeks michael.me...@suse.com wrote: * 4.0 - when to call it that ? (Kendy) + http://wiki.documentfoundation.org/Development/LibreOffice4 + too much to do in one six-month section IMNSHO, most of the stuff on that page

Re: [HELP] fdo#51239 how to debug it is slow

2012-07-20 Thread Noel Grandin
On 2012-07-19 14:38, Lionel Elie Mamane wrote: For example, to minimise the number of Java calls from C++ , maybe we could, when we retrieve a whole row through JDBC, doing this from Java code instead of from C++ code: for (i=0; i row-getNumberOfColumns; ++i)

Re: make check with DEBUGCCPUNIT=TRUE is waiting for console output

2012-07-20 Thread Noel Grandin
Ping? Anybody have any ideas? This is driving me nuts during my testing. On 2012-07-11 13:25, Noel Grandin wrote: OK, I'm closer to figuring this one out. When I do this: $ DEBUGCPPUNIT=TRUE make -s check gdb executes the unit tests, but then, if everything went OK, GDB __doesn't quit__ I

Re: make check with DEBUGCCPUNIT=TRUE is waiting for console output

2012-07-23 Thread Noel Grandin
On 2012-07-23 09:27, Miklos Vajna wrote: So - I think this has been already mentioned in this thread, to just avoid the pain, the best is to run make check without DEBUGCCPUNIT=TRUE My point is that this used to work, and I'm pretty sure it's a bug in the make scripts, since it doesn't seem

does the windows build require VC10 now?

2012-07-24 Thread Noel Grandin
: *** I have visual studio 2008 installed. Any ideas? Thanks, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Static src analysis of LibreOffice

2012-07-30 Thread Noel Grandin
On 2012-07-30 11:50, John Smith wrote: On Mon, Jul 30, 2012 at 11:45 AM, Olivier Hallot olivier.hal...@documentfoundation.org wrote: On a second look, most of the issues are with 3rd parties code (nss, openldap, berkeleydb, etc...) Maybe. But even so, bugs in 3rd party software that

Re: [PUSHED] Re: [PATCH] Final stretch of converting SV_DECL_PTRARR to STL containers stage 3/3

2012-07-31 Thread Noel Grandin
On Tue, Jul 31, 2012 at 10:38 PM, Michael Stahl mst...@redhat.com wrote: so with the subsequent removal of svarray.hxx (yay!) there are still obsolete containers left in tools/inc/tools/{contnr,list,unqidx}.hxx if you feel bored :) Thanks for working through those patches. I've already

Re: make OUString::copy() clip

2012-08-02 Thread Noel Grandin
On 2012-08-02 14:35, Stephan Bergmann wrote: No defensive programming, please. If we consider a given (beginIndex, count) arguments a violation of copy's precondition, then fail on it, as fast as possible (via assert - abort in a non-NDEBUG build, via undefined behavior (- hopefully crash

[PATCH] Convert usages of DECLARE_CONTAINER (5)

2012-08-02 Thread Noel Grandin
Hi These patches convert usage of DECLARE_CONTAINER (i.e. svl/cntnrsrt.hxx). They pass a full make check. After these patches are applied, it should be OK to delete svl/cntnrsrt.hxx Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html 0001-STL-ify

Re: Static src analysis of LibreOffice

2012-08-03 Thread Noel Grandin
On 2012-08-03 15:42, John Smith wrote: Well, the analyzer simply follows/precedes whatever you tell 'make' to do. So if the build includes 'make dbuild', then that *will* not only Is there not some kind of path based post-filter for the analyser? So we can tell it to filter out errors belong

Re: STL'ifying UNO API

2012-08-06 Thread Noel Grandin
On 2012-08-06 13:52, Michael Stahl wrote: actually idl has absolutely nothing to do with UNO, it is the other IDL compiler we build called SvIDL that is used for the old non-UNO SFX framework. the UNO idl compiler is in idlc. Excellent. Then I can go ahead and update the IDL module code.

Re: ref-count assertion in cppu::OWeakObject ...

2012-08-06 Thread Noel Grandin
On 2012-08-06 13:53, Michael Meeks wrote: Anyhow - the suggestion is, assuming we can find/cleanup this sort of badness [ incidentally a GObject takes a reference on itself during it's destruction to avoid double destruction ], is it a good idea to have an abort/assert whatever is

Re: new style UNO port

2012-08-08 Thread Noel Grandin
Well, it's nice to have you join the cleanup patrol :-) On 2012-08-08 03:47, Jean-Tiare LE BIGOT wrote: Ok, I actually forgot one step in the file re-generation. Sorry for asking a silly question :s Disclaimer: http://www.peralex.com/disclaimer.html

Re: [PATCH] [PUSHED] more STL work in tools module (6)

2012-08-08 Thread Noel Grandin
-to-std-vector.patch 0005-Remove-unused-SV_DECL_REF_LIST-SvRefBase-SvRefBase.patch Link to nabble in case you've already deleted the mail: http://nabble.documentfoundation.org/PATCH-more-STL-work-in-tools-module-6-td3999505.html Thanks, Noel Grandin On 2012-08-08 09:48, Tor Lillqvist wrote

Re: [PATCH] [PUSHED] more STL work in tools module (6)

2012-08-08 Thread Noel Grandin
On 2012-08-08 10:57, Tor Lillqvist wrote: Would you mind reviewing the other 5 patches that I posted in the beginning of this thread? Sorry, they don't seem to all apply cleanly any more: Oh no. OK, I'll rebase them and send out a new set in a couple of days. Thanks for trying.

Re: [PATCH] [PUSHED] more STL conversion work (8)

2012-08-08 Thread Noel Grandin
Ooop, sorry, my mistake. Having a really painful time today copying things backwards and forwards between my windows and linux boxes. The linux SMB client is just not that robust. On 2012-08-08 12:57, Tor Lillqvist wrote: I pushed those that applied. The 0002-STL-ify-CustomShowList.patch did

Re: [PATCH] more STL work in tools module (6)

2012-08-08 Thread Noel Grandin
On 2012-08-08 12:50, Michael Stahl wrote: so it gets rid of Container, which is good. the UniqueIndex class used to be some kind of encoding of an associative array into an array, so using a std::map seems appropriate. but i think it would be even better to remove the UniqueIndex class

Re: [PATCH] more STL conversion work (8)

2012-08-08 Thread Noel Grandin
I haven't had any mails at all ? I don't think it sends them to the originator, only to the person who pushes them. Which is probably something that needs fixing. In the tinderbuild status I see: - you've fixed a couple of the problems related to my patches (the missing file, and the extra

Re: [PATCH] more STL conversion work (8)

2012-08-08 Thread Noel Grandin
On Wednesday, 8 August 2012, Michael Stahl wrote: binfilter was completely broken; if you remove stuff from tools please build with --enable-binfilter. i just spent the last 2 hours fixing Oh dear. Very sorry. Will take that into consideration in future.

Re: ODF angle in draw:transform are in degrees

2012-08-11 Thread Noel Grandin
One way would be to add a new attribute specifying either degrees or radians. Then modify the loader code so it looks at the application that created the file to determine what it should do in cases where there is not attribute. Fundamentally, I don't see that there is a perfect solution to this.

Re: minutes of ESC call ...

2012-08-13 Thread Noel Grandin
On 2012-08-09 21:53, bfo wrote: If I may propose anything, please add: - zero tolerance policy for regression issues during development - zero tolerance policy for crash issues during development People who advocate zero tolerance for such things are welcome to provide the time and financial

Re: [PATCH] More STL'ification (7)

2012-08-14 Thread Noel Grandin
On 2012-08-13 22:53, Michael Stahl wrote: On 13/08/12 15:37, Noel Grandin wrote: Hi These patches convert various places from using tools/list.hxx to using normal STL containers. thanks, pushed to master. Thanks. At this point, it seems like all of the STL'ification work is done, unless

Re: [PATCH] More STL'ification (7)

2012-08-14 Thread Noel Grandin
On 2012-08-14 09:23, David Tardon wrote: There is still List (tools/inc/tools/list.hxx) and Container (tools/inc/tools/contnr.hxx :-) There is only one usage of tools/list.hxx remaining, after which it could be moved to binfilter. Although Michael might have already done that, in which case

Re: [PATCH] More STL'ification (7)

2012-08-14 Thread Noel Grandin
On 2012-08-14 10:09, David Tardon wrote: Anything else that you're aware of? Well, there is still Container :-) It is used at ~10 places in svx and possibly elsewhere. Thanks, I'll go work on those. Disclaimer: http://www.peralex.com/disclaimer.html

Re: build time optimization

2012-05-24 Thread Noel Grandin
On Thu, May 24, 2012 at 5:08 PM, Norbert Thiebaud nthieb...@gmail.com wrote: I have not tested ramdisk on Windows, so I do not know how effective it is. I'm running a tinderbox with a ramdisk on Windows - reduces build time dramatically. ___

Re: build time optimization

2012-05-25 Thread Noel Grandin
On 2012-05-24 19:02, Norbert Thiebaud wrote: On Thu, May 24, 2012 at 10:44 AM, Noel Grandinnoelgran...@gmail.com wrote: I'm running a tinderbox with a ramdisk on Windows - reduces build time dramatically. can you post an How-to ? (and possibly some numbers) Note: I do not have enough

  1   2   3   4   5   6   7   8   9   10   >