License statement

2012-05-10 Thread Mattias Johnsson
All of my past and future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license. Regards, Mattias Johnsson ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: [Libreoffice] Script to find undocumented classes

2010-12-01 Thread Mattias Johnsson
Personally I think it would be very nice if source files had just a few lines of comment telling what they are about, from a very high perspective. Every time I am searching for the implementation of some functionality in the OOo/LO codebase, I find myself looking at source files with vaguely

Re: [Libreoffice] [PUSHED] Re: [PATCH] Fix for bug/feature request i#8288

2010-12-01 Thread Mattias Johnsson
On 2 December 2010 00:30, Jan Holesovsky ke...@suse.cz wrote: Hi Mattias, Mattias Johnsson píše v Ne 28. 11. 2010 v 14:40 +1100: Also one of the easy hacks. Patch ensures that after doing replace all the cursor is left at original position, rather than moved to the position of the last

Re: [Libreoffice] [PUSHED] Re: [PATCH] Fix for bug/feature request i#8288

2010-12-01 Thread Mattias Johnsson
On 2 December 2010 01:05, Lubos Lunak l.lu...@suse.cz wrote: On Wednesday 01 of December 2010, Jan Holesovsky wrote: Hi Mattias, Mattias Johnsson píše v Ne 28. 11. 2010 v 14:40 +1100: Also one of the easy hacks. Patch ensures that after doing replace all the cursor is left at original

Re: [Libreoffice] [PATCH] Fix for bug/feature request i#8288

2010-12-01 Thread Mattias Johnsson
On 2 December 2010 07:23, Michael Meeks michael.me...@novell.com wrote: Hi Matthias, On Sun, 2010-11-28 at 14:40 +1100, Mattias Johnsson wrote: Patch ensures that after doing replace all the cursor is left at original position, rather than moved to the position of the last replacement

Re: [Libreoffice] [PUSHED] Re: [PATCH] Fix for bug/feature request i#8288

2010-12-01 Thread Mattias Johnsson
On 2 December 2010 01:31, Lubos Lunak l.lu...@suse.cz wrote: On Wednesday 01 of December 2010, Jan Holesovsky wrote:  There appears to be a helper class for this, SwCrsrSaveState. Except that it doesn't seem to work, as far as I can judge SwCursor::RestoreState() doesn't really restore

Re: [Libreoffice] [Crazy Ideas] Discuss

2010-11-29 Thread Mattias Johnsson
On 30 November 2010 11:34, Joe Smith j...@martnet.com wrote: I was also having a lot of trouble learning anything from running OOo under gdb. Gdb was acting weird and I couldn't step through the code and poke around. I ended up trying to do it by adding a printf, rebuild, run, rinse, repeat.

[Libreoffice] [PATCH] Fix for bug/feature request i#8288

2010-11-27 Thread Mattias Johnsson
Mon Sep 17 00:00:00 2001 From: Mattias Johnsson m.t.johns...@gmail.com Date: Sun, 28 Nov 2010 13:37:12 +1100 Subject: [PATCH] Fix for i#12345: Replace all should leave the cursor at original position --- sw/source/ui/uiview/viewsrch.cxx |9 + 1 files changed, 9 insertions(+), 0 deletions

Re: [Libreoffice] Location of SfxPoolItem.Type() method

2010-11-20 Thread Mattias Johnsson
On 21 November 2010 01:04, Miklos Vajna vmik...@frugalware.org wrote: On Sun, Nov 21, 2010 at 12:21:08AM +1100, Mattias Johnsson m.t.johns...@gmail.com wrote: int SfxPoolItem::operator==( const SfxPoolItem rCmp ) const {     DBG_CHKTHIS(SfxPoolItem, 0);     return rCmp.Type() == Type

[Libreoffice] [LibreOffice] [PATCH] Fix typo in Impress (i105883 and i102212)

2010-11-14 Thread Mattias Johnsson
from LO, right? Patches contributed under MPL 1.1 / GPLv3+ / LGPLv3+ licenses. Cheers, Mattias From b4396f4690e66aeb66c8f8422ae2c120481885a9 Mon Sep 17 00:00:00 2001 From: Mattias Johnsson m.t.johns...@gmail.com Date: Sun, 14 Nov 2010 20:54:59 +1100 Subject: [PATCH] Fix typo in Impress (i105883

[Libreoffice] [PATCH] Clean up compiler warnings in writer/sw module

2010-11-06 Thread Mattias Johnsson
From: Mattias Johnsson m.t.johns...@gmail.com Date: Sat, 6 Nov 2010 22:31:51 +1100 Subject: [PATCH] Clean up compiler warnings --- sw/source/core/edit/edsect.cxx |4 ++-- sw/source/core/frmedt/tblsel.cxx|4 ++-- sw/source/core/layout/paintfrm.cxx | 10 +- sw/source/core

Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word

2010-11-05 Thread Mattias Johnsson
On 5 November 2010 20:16, Cedric Bosdonnat cedric.bosdonnat@free.fr wrote: Hi Mattias, On Fri, 2010-11-05 at 10:38 +1100, Mattias Johnsson wrote: There isn't a bug report in the LO tracker, but there are quite a few in the OO.o issue tracker. The basic issue number is 89042, with 97116

Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word

2010-11-05 Thread Mattias Johnsson
On 6 November 2010 12:13, John LeMoyne Castle j...@mail2lee.com wrote: Hi all, Ok, after getting over a short-term dislike of Word Count - with a new found appreciation for some of the developer comments in OOo issuezilla - I had a new idea for a test plan.  Perhaps turning on the Scanner

Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word

2010-11-04 Thread Mattias Johnsson
On 4 November 2010 23:38, Mattias Johnsson m.t.johns...@gmail.com wrote: After spending a number of hours learning more about unicode than I ever wanted to know, I've fixed the bug where the word counter in Writer counts an opening quote mark (unicode symbol 0x201C) as an extra word. Turns

Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word

2010-11-04 Thread Mattias Johnsson
Mattias, On Thu, 2010-11-04 at 23:38 +1100, Mattias Johnsson wrote: Patch attached. It's a very minimal change, so it's probably safe to push into the 3.3 branch as well as master. It seems that you forgot to actually attach the patch ;) Regards, -- Cédric Bosdonnat LibreOffice hacker

Re: [Libreoffice] build problem in instsetoo_native module on linux x86-64

2010-11-04 Thread Mattias Johnsson
On 4 November 2010 20:07, Thorsten Behrens t...@documentfoundation.org wrote: Mattias Johnsson wrote: Unfortunately, LO no longer builds. I get the following error when I try to build in the instsetoo_native directory. ERROR: The following files could not be found: ERROR: File not found

Re: [Libreoffice] [PATCH] Fix bug where an opening quote mark is treated as a word

2010-11-04 Thread Mattias Johnsson
On 5 November 2010 02:29, Cedric Bosdonnat cedric.bosdonnat@free.fr wrote: Hi Mattias, On Thu, 2010-11-04 at 23:41 +1100, Mattias Johnsson wrote: Patch attached. It's a very minimal change, so it's probably safe to push into the 3.3 branch as well as master. Do you have some bug

[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

[Libreoffice] [PATCH] Fix for bug / feature request 30550 - Character count without spaces

2010-10-27 Thread Mattias Johnsson
, and tell me if I've done stuff that's horribly wrong :-P Patches contributed under MPL 1.1 / GPLv3+ / LGPLv3+ licenses. Cheers, Mattias From 5ac50b845feab1ab1901cd52593237c3676e097b Mon Sep 17 00:00:00 2001 From: Mattias Johnsson m.t.johns...@gmail.com Date: Wed, 27 Oct 2010 18:01:43 +1100 Subject

Re: [Libreoffice] [PATCH] Fix for bug / feature request 30550 - Character count without spaces

2010-10-27 Thread Mattias Johnsson
On 27 October 2010 23:38, Cedric Bosdonnat cedric.bosdonnat@free.fr wrote: Hi Mattias, On Wed, 2010-10-27 at 18:26 +1100, Mattias Johnsson wrote: Here are my patches for the easy hack / programming task Count characters without whitespace in the Writer statistics. Since it's something

Re: [Libreoffice] [PATCH] Fix for bug / feature request 30550 - Character count without spaces

2010-10-27 Thread Mattias Johnsson
, On Wed, 2010-10-27 at 18:26 +1100, Mattias Johnsson wrote: Here are my patches for the easy hack / programming task Count characters without whitespace in the Writer statistics. Since it's something translators have apparently been asking for OO.org to have for eight years (see http

Re: [Libreoffice] [PATCH] Fix for bug / feature request 30550 - Character count without spaces

2010-10-27 Thread Mattias Johnsson
On 28 October 2010 08:42, LeMoyne j...@mail2lee.com 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 1.7.0.4 14 characters on two lines: either 2, 3 or 6 words depending on how

Re: [Libreoffice] How can I speed up a build?

2010-10-25 Thread Mattias Johnsson
, yay :-) I'll check out icecream though; sounds good. Thanks again! On 25 October 2010 23:59, Michael Meeks michael.me...@novell.com wrote: Hi Mattias, On Sat, 2010-10-23 at 13:15 +1100, Mattias Johnsson wrote: it seems that everything is rebuilt which takes hours, even if only a few files

Re: [Libreoffice] [PATCH] universal LibO URE packaging breaks in instsetoo_native (was: Debian packaging in universal LibO seems broken)

2010-10-23 Thread Mattias Johnsson
Hello, I'd also hit this bug, and was unable to build LibreOffice on my machine - 64-bit Ubuntu Linux. I can confirm that this patch fixes the problem, at least on my machine. Cheers, Mattias On 23 October 2010 17:33, Giuseppe Castagno giuseppe.casta...@acca-esse.eu wrote: Hi all, this is a

[Libreoffice] How can I speed up a build?

2010-10-22 Thread Mattias Johnsson
Hello all, Two (probably idiotic) questions. First, when I refresh my master branch with ~/loroot $ ga pull -r and then make via ~/loroot/rawbuild $ ./autogen.sh --with-num-cpus=5 --without-junit --disable-kde ~/loroot/rawbuild $ make it seems that everything is rebuilt which takes hours,