Re: [Libreoffice] [Pushed] Same patches as attachment

2010-10-28 Thread Norbert Thiebaud
On Fri, Oct 29, 2010 at 1:36 AM, Sebastian Spaeth wrote: > As Norbert Thiebaud has an email client that does not allow him to > nicely apply patches sent with "git send-email" ;-P, here the same 4 > patches as attachments. Pushed, Thanks Norbert > > Thanks for applying. > Sebastian > >

[Libreoffice] Same patches as attachment

2010-10-28 Thread Sebastian Spaeth
As Norbert Thiebaud has an email client that does not allow him to nicely apply patches sent with "git send-email" ;-P, here the same 4 patches as attachments. Thanks for applying. Sebastian pgp4AKtVcizTp.pgp Description: PGP signature >From 79403dfb9113bdb6f7f3fcd3be692abb586525d7 Mon Sep 17 00

[Libreoffice] [PATCH] writer: Remove emacs modelines in the middle of the file

2010-10-28 Thread Sebastian Spaeth
Signed-off-by: Sebastian Spaeth --- starmath/source/mathtype.cxx|2 -- sw/source/filter/inc/msfilter.hxx |1 - sw/source/filter/inc/wwstyles.hxx |1 - sw/source/filter/ww8/WW8FibData.hxx |1 + sw/source/filter/ww8/writerhelper.hxx |1 - sw/source

[Libreoffice] [PATCH] libs-gui: Remove emacs modelines in the middle of the file

2010-10-28 Thread Sebastian Spaeth
Signed-off-by: Sebastian Spaeth --- svtools/inc/rtftoken.h|2 -- svtools/inc/svtools/svparser.hxx |2 -- svtools/source/svrtf/parrtf.cxx |2 -- svtools/source/svrtf/rtfkey2.cxx |2 -- svtools/source/svrtf/rtfkeywd.cxx |2 -- svtools/source/svrtf/svparser.cxx |

[Libreoffice] [PATCH] libs-core: Remove emacs modelines in the middle of the file

2010-10-28 Thread Sebastian Spaeth
Signed-off-by: Sebastian Spaeth --- editeng/source/rtf/rtfgrf.cxx |1 - editeng/source/rtf/rtfitem.cxx |2 -- editeng/source/rtf/svxrtf.cxx |3 --- 3 files changed, 0 insertions(+), 6 deletions(-) diff --git a/editeng/source/rtf/rtfgrf.cxx b/editeng/source/rtf/rtfgrf.cxx index 2a9

[Libreoffice] [PATCH] filter: Remove emacs modelines in the middle of the file

2010-10-28 Thread Sebastian Spaeth
Signed-off-by: Sebastian Spaeth --- filter/source/msfilter/msdffimp.cxx |2 +- filter/source/msfilter/msocximex.cxx |1 - filter/source/msfilter/msvbasic.cxx |2 -- filter/source/msfilter/msvbasic.hxx |2 -- filter/source/msfilter/svxmsbas.cxx |1 - 5 files changed, 1 ins

[Libreoffice] Easy Hack solved: Remove mid-file emacs modelines

2010-10-28 Thread Sebastian Spaeth
4 patches following this patch for filters, libs-core, libs-gui, writer repositories killing all mid-file emacs modelines. If these are applied, I'll delete the corresponding easy hack on the wiki. Thanks. Sebastian pgpgPMVbog4Pc.pgp Description: PGP signature __

[Libreoffice] How to write debug output to console or file?

2010-10-28 Thread Mattias Johnsson
Hello, To help with debugging, it'd be very useful for me to be able to write out variable values from within the code. Writing to the console or a file would be fine. std::cout doesn't work with any of the internal (unicode) string types like OUString. Is there a way to cast them to something th

[Libreoffice] Non compiling code on mono-uno-bridge (fix)

2010-10-28 Thread Joshua Ismael
/me makes easy task on /scratch/mono-uno-bridge :) >From 61737dd0737e1c729ad82948a8e69047d2e6dce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Thu, 28 Oct 2010 20:42:30 -0500 Subject: [PATCH 1/2] Fixed non compiling code in bridge.cs --- scratch/mo

[Libreoffice] First time Build issues on Ubuntu

2010-10-28 Thread surensp...@gmail.com
Hi, I am new to Libreoffice and I was trying to build Libreoffice for the first time. I ended up with this error - [1]. I figured it might be because the file might not have included algorithm as the 'lower_bound' function that was said missing is provided by algorithm header. I naively added a

Re: [Libreoffice] [Pushed] Mac OS9 Cleanup

2010-10-28 Thread Norbert Thiebaud
On Thu, Oct 28, 2010 at 7:22 AM, Joseph Powers wrote: > Since we don't support OS9 builds, why do we have so much OS9 build code? > > The following patches will remove most (I'd like to say all, but the monument > I do someone will point out some more) OS 9 code and build support. > Thanks for th

Re: [Libreoffice] regression tests - for word count ...

2010-10-28 Thread Wols Lists
On 28/10/10 10:38, Michael Meeks wrote: > Hi guys, > > On Wed, 2010-10-27 at 14:42 -0700, LeMoyne wrote: >> Using the following sample from a git patch one can see one way in which the >> current counting method comes up with fewer words than other methods do. >> +1747,9 > Well - this is fu

Re: [Libreoffice] [PATCH] Deprecate --enable-java

2010-10-28 Thread Wols Lists
On 28/10/10 10:49, Thorsten Behrens wrote: > Wols Lists wrote: >> As far as I can see, /build doesn't actually use enable-java, >> but it does use with-java. /build/libreoffice... makes extensive >> use of with-java and no sign of enable-java. >> >> The comment implies that it was only meant to hav

Re: [Libreoffice] First build error: segmentation fault on vcl

2010-10-28 Thread Dave Lacy Kusters
On Wed, October 27, 2010 2:46:43 AM, Michael Meeks wrote: >Soo ... IIWY I would remove your solver: > >rm -Rf build/libreoffice*/solver > >And re-configure with --without-stlport > >Hopefully that will fix your build; failing that, disabling both kde3 and >4 will get you pas

Re: [Libreoffice] Tar / Zip wobbly

2010-10-28 Thread Constantin Makshin
On Wednesday 27 October 2010 22:30:22 Michael Meeks wrote: > > On Wed, 2010-10-27 at 13:10 -0400, Kevin Hunter wrote: > > To put a different spin on your surprise, I've wondered for awhile why > > it *isn't* installed in the default installation of more desktop-based > > nix distros. > >

Re: [Libreoffice] Mac OS9 Cleanup

2010-10-28 Thread Christian Lohmaier
Hi Joseph, On Thu, Oct 28, 2010 at 2:22 PM, Joseph Powers wrote: > Since we don't support OS9 builds, why do we have so much OS9 build code? The biggest hunk of the attached patches is from external sources/tools (from mozilla, the twain stuff, or dmake sources),... or from binfilter, so wouldn'

[Libreoffice] Cppcheck

2010-10-28 Thread Gert Faller
Hi, I've been running 'Cppcheck 1.44' on the whole source 27/10/10 10 GTM (I have a slow machine) : I join the raw output sorted by 'Error Type'. I run it too with '--enable=unusedFunctions' : I got 3195 matches... looks enormous. I'll check part of this output. Do I send the file ? I've been

[Libreoffice] How to Use Other Source Files?

2010-10-28 Thread imacat
Dear all, Hi. This is imacat from Taiwan. I have successfully built LibreOffice from libreoffice-build-3.2.99.2.tar.gz. However, I wonder what the other 20 source files are for, and most importantly, how to use them? Is there a documentation on this somewhere? libreoffice-artwork-3.2.99.2

Re: [Libreoffice] howto for getting non-trivial cppunit tests up and running

2010-10-28 Thread Caolán McNamara
On Thu, 2010-10-28 at 11:17 +0200, Thorsten Behrens wrote: > Caolan McNamara wrote: > > > register component 'configmgr.uno.so' in registry > > > '../../unxlngx6.pro/misc/qa_unit/services.rdb' failed! > > > error (CannotRegisterImplementationException): loading component library > > > failed: con

Re: [Libreoffice] UX opportunity ... / Easy Hacks

2010-10-28 Thread Cedric Bosdonnat
On Thu, 2010-10-28 at 10:37 +0100, Michael Meeks wrote: > Hi guys; I'd -love- to get a number of "easy hacks" - ie. small fixes - > that can be made to our ergonomics into the page here: > > http://wiki.documentfoundation.org/Easy_Hacks > > These are entry level tasks for people

Re: [Libreoffice] tools.jar problem when building tomcat in libreoffice

2010-10-28 Thread Caolán McNamara
On Thu, 2010-10-28 at 19:25 +0800, 李明致 wrote: > I have a problem when building tomcat (and saxonin, beanshell, > lucence, jvmfwk,rhino,hsqldb,ridljar) in libreoffice > I have JAVA_HOME set, and tools is in $JAVA_HOME/lib > but when i build the tomcat to found out what was wrong, i have > those errs

[Libreoffice] tools.jar problem when building tomcat in libreoffice

2010-10-28 Thread 李明致
I have a problem when building tomcat (and saxonin, beanshell, lucence, jvmfwk,rhino,hsqldb,ridljar) in libreoffice I have JAVA_HOME set, and tools is in $JAVA_HOME/lib but when i build the tomcat to found out what was wrong, i have those errs : Unable to locate tools.jar. Expected to find it in

Re: [Libreoffice] Help concerning code style and documentation

2010-10-28 Thread Michael Meeks
Hi Regina, On Sun, 2010-10-24 at 18:13 +0200, Regina Henschel wrote: > I'm currently working on LINEST and have attached a draft to issue Cool ! this is an awesome patch :-) > There is no mathematical problem, but I'm uncertain about coding style. And your coding style looks be

Re: [Libreoffice] Image Compression Patch

2010-10-28 Thread Michael Meeks
On Wed, 2010-10-27 at 20:15 +0100, Andrew C. E. Dent wrote: > Sounds like a good plan of attack. I've added some stats to the wiki > based on an analysis I did a while ago. Nice. > There's some other possible hacks in the analysis here: > https://spreadsheets.google.com/ccc?key=0AktmVHYO

[Libreoffice] [Pushed] Dev-install failed

2010-10-28 Thread Michael Meeks
Hi Rene On Wed, 2010-10-27 at 19:45 +0200, René Kjellerup wrote: > located the call to perl -d:DProf -w > and removed the profiling declare > if you think the profiling at every build is redundant Thanks - pushed your patch :-) Michael. -- michael.me...@novell.co

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Kevin Hunter
At 5:09am -0400 Thu, 28 Oct 2010, Michael Meeks wrote: Ultimately if people want to incrementally fix bash-isms as they creep in I see no reason why they should not commit fixes to make it use generic-shell; hopefully with the gnumake based build we'll have less shell lying around. An on going

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Michael Meeks
On Thu, 2010-10-28 at 11:27 +0200, Robert Nagy wrote: > env bash is needed since not every system has it in /bin > (that basically includes everytihng except linux, mac and solaris?) Cool - so it seems we reached consensus; Lets go with env bash everywhere instead. As for the csh

Re: [Libreoffice] [PATCH] Deprecate --enable-java

2010-10-28 Thread Thorsten Behrens
Wols Lists wrote: > As far as I can see, /build doesn't actually use enable-java, > but it does use with-java. /build/libreoffice... makes extensive > use of with-java and no sign of enable-java. > > The comment implies that it was only meant to have an impact on --help, > anyway, and moving it to

[Libreoffice] regression tests - for word count ...

2010-10-28 Thread Michael Meeks
Hi guys, On Wed, 2010-10-27 at 14:42 -0700, LeMoyne wrote: > Using the following sample from a git patch one can see one way in which the > current counting method comes up with fewer words than other methods do. > +1747,9 Well - this is fun indeed :-) I strongly suggest that we start t

[Libreoffice] UX opportunity ... / Easy Hacks

2010-10-28 Thread Michael Meeks
Hi Christoph, ( and any other UX gurus out there :-) Hi guys; I'd -love- to get a number of "easy hacks" - ie. small fixes - that can be made to our ergonomics into the page here: http://wiki.documentfoundation.org/Easy_Hacks These are entry level tasks for peopl

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Robert Nagy
env bash is needed since not every system has it in /bin (that basically includes everytihng except linux, mac and solaris?) Maintaining the csh style files are not needed and it just duplicates the work. If you want to build it, use a bourne-shell or go and download the binary packages. On (2010

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Christian Lohmaier
Hi Michael, *, On Thu, Oct 28, 2010 at 11:09 AM, Michael Meeks wrote: > >        Cloph had the strongest view on this AFAIR - from a Mac / build > dependencies perspective. No, that's a misunderstanding. I (and Mac) have no problem if scripts/the build utilities use bash. (and for the build it i

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Tor Lillqvist
> Personally, since I have no idea what is a bash-ism, and what is not; I > can't promise not to accidentally introduce them. There is a tool called checkbashisms that seems to be available also in the OBS. I haven't tried it personally. I don't know if it is the same perl script (I think

Re: [Libreoffice] howto for getting non-trivial cppunit tests up and running

2010-10-28 Thread Thorsten Behrens
Caolan McNamara wrote: > > register component 'configmgr.uno.so' in registry > > '../../unxlngx6.pro/misc/qa_unit/services.rdb' failed! > > error (CannotRegisterImplementationException): loading component library > > failed: configmgr.uno.so > > Can you (git pull bootstrap) and try export DEBUGR

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Michael Meeks
Hi Tor, Cloph had the strongest view on this AFAIR - from a Mac / build dependencies perspective. On Thu, 2010-10-28 at 01:13 -0600, Tor Lillqvist wrote: > Should we change all the shell scripts that use bashisms on the "upper" level > (from the "build" repo) to start with #!/usr/bin/env

Re: [Libreoffice] smoketest segfault

2010-10-28 Thread Caolán McNamara
On Wed, 2010-10-27 at 17:07 -0500, Norbert Thiebaud wrote: > /lo/ref/rawbuild/solver/330/unxlngx6.pro/installation/opt/program/soffice: Isn't really useful to just get "it crashed", so... in solenv/inc/settings.mk add "gdb --args" after AUGMENT_LIBRARY_PATH_LOCAL in the CPPUNITTESTER line run bu

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Robert Nagy
In my opinion people should only write scripts for posix shells, but that'd be a huge development i guess, so just using #!/usr/bin/env bash is fine, and make bash as a dependency if it is not already. On (2010-10-28 01:13), Tor Lillqvist wrote: > Should we change all the shell scripts that use

Re: [Libreoffice] [PATCH] Enable testtool (and possibly other stuff) to run with LibO

2010-10-28 Thread Giuseppe Castagno
Hi Michael, Michael Meeks wrote: Hi Guiseppe, On Fri, 2010-10-15 at 21:31 +0200, Giuseppe Castagno wrote: the following patch should allow testtool to run with LibO. Did your patch(es) get merged ? if not that sucks, sorry - just working not yet merged, but I had a quick chat with

Re: [Libreoffice] OpenBSD patch #1

2010-10-28 Thread Tor Lillqvist
Should we change all the shell scripts that use bashisms on the "upper" level (from the "build" repo) to start with #!/usr/bin/env bash ? Is that then (finally) a good and reliable solution to the problem whether to use bash or not, and where bash is in case we do want to use it? Or is there som