Re: [Libreoffice] master eat CPU even when it does nothing

2011-10-29 Thread Arno Teigseth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/10/11 22:06, Arno Teigseth wrote:
> I don't have a clue about how to interpret this. But if these are 
> function calls, maybe about a million calls are much?
tried with kcachegrind:


6000 calls/second to Application::Yield in
core/vcl/source/app/svapp.cxx (I think)

kcachegrind screenshot
http://derp.co.uk/51b93

Arno
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6s2bQACgkQEMIGVCc8BjCxOgCgiLvux5UHzDQdSsI18d2FzVKr
N7IAnRk3oc5MVFQps2WnjuhSUwnjF8ae
=PHwY
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] master eat CPU even when it does nothing

2011-10-29 Thread Arno Teigseth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

OK thanks to moggi on libreoffice-dev irc, I installed valgrind.


Found that running in one terminal:
valgrind --trace-children=yes --tool=callgrind  ./swriter


and in another terminal, after about 2 mins of "empty swriter document
idle" doing this:

callgrind_control -b 28236  (the actual swriter PID)
gives this:
PID 28236:
/home/arno/sys/libreoffice-git/core/solver/unxlngx6.pro/installation/opt/program/soffice.bin
- --writer --splash-pipe=6 [requesting 'Status'...]

  Frame: Backtrace for Thread 1
   [ 0]  _int_free (967869 x)
   [ 1]  free_check (983990 x)
   [ 2]  free (449741 x)
   [ 3]  operator delete(void*) (322182 x)
   [ 4]  GtkHookedYieldMutex::ThreadsEnter() (322183 x)
   [ 5]  GdkThreadsEnter (161078 x)
   [ 6]  0x00059cf0 (161078 x)
   [ 7]  g_main_context_prepare (161147 x)
   [ 8]  0x00042ed0 (161130 x)
   [ 9]  g_main_context_iteration (161010 x)
   [10]  GtkData::Yield(bool, bool) (161010 x)
   [11]  GtkInstance::Yield(bool, bool) (161010 x)
   [12]  Application::Yield(bool) (161009 x)


and a lot more, to be read at http://pastebin.com/YuEvQC4y

I don't have a clue about how to interpret this. But if these are
function calls, maybe about a million calls are much?

Compared to GIMP running idle for 5 minutes, and it had just about
5500 calls to different things...

Hope this tells someone something.

best
Arno
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6sv00ACgkQEMIGVCc8BjBDdQCfcKW5nLDZJkSQ3JFxt2waYkwc
9WsAoLqzdWTYKhGGDPqsUBmT6fpAVh3N
=HmDk
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] master eat CPU even when it does nothing

2011-10-29 Thread Arno Teigseth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/10/11 21:20, Arno Teigseth wrote:
> What puzzles me is that LO isn't very slow, it's just using lots of
> CPU...

Eh, I'd like to correct that. Just opened a document and it's very
slow. The doc is just about 3200 pages, but it takes forever to search
for a word.

A few weeks ago this took maybe 1-2 secs for a search&replace all. Now
it takes like 2 minutes...

Arno
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6suAkACgkQEMIGVCc8BjC1PwCeLaxk/guFhJ0gb9y4YIaByszE
uM4AnijgA6g0dgmMGQJqs9GWmaKZplMV
=fT9c
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] 3.4.4rc1 fails to build in kde4 vcl

2011-10-29 Thread Andrea Scarpino
On Saturday 29 October 2011 21:30:29 Andreas Radke wrote:
> Compiling: vcl/unx/source/dtrans/config.cxx
> /build/src/build/vcl/unx/kde4/KDEXLib.cxx: In member function 'void
> KDEXLib::setupEventLoop()':
> /build/src/build/vcl/unx/kde4/KDEXLib.cxx:252:34: error:
> 'GetUnixSelectFunction' is not a member of 'QInternal'
> /build/src/build/vcl/unx/kde4/KDEXLib.cxx:253:34: error:
> 'SetUnixSelectFunction' is not a member of 'QInternal'
This is probably due to Qt 4.8 and not our bug I guess.

-- 
Andrea
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] master eat CPU even when it does nothing

2011-10-29 Thread Arno Teigseth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/10/11 16:38, Kevin Hunter wrote:
> At 1:12am -0400 Sat, 29 Oct 2011, Jean-baptiste Faure wrote:
>> I already noticed these cpu problems in my own build since 2 or
>> 3 days, but I can't be more precise.
>> 
>> Does somebody has a clue about the cause (which commit?) of this
>> CPU consumption?
> 
> I don't specifically, but my hunch is that it's some interaction
> with the newly merged GTK code.  I've noticed the same CPU
> utilization, but -- like you -- have been unable to say exactly
> what triggers it; I can only say when I started noticing it.

+1 for "I don't know either".

here are my cents for behaviour (1 day old build):

LO "welcome screen": ~0% CPU. good.
LO swriter with empty text doc: ~50% CPU (one core). Not so good
LO impress, the first wizard window: ~100% CPU (one core). Not good.
LO scalc, empty sheet: several %, can't remember right now.

(all with zero input activity).

What puzzles me is that LO isn't very slow, it's just using lots of CPU...

best
Arno
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6stG0ACgkQEMIGVCc8BjBZFACgrxyCM1APxkSEUbBzbi1OVKRg
wNoAoOaVwKbKjhAJTa1+6/6OS6yIXiss
=/H0M
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to 'make' a single target?

2011-10-29 Thread Bjoern Michaelsen
Hi,

On Sat, Oct 29, 2011 at 06:17:09PM -0400, Kevin Hunter wrote:
> I'm currently working in the sc/ module, and I'm in the "make small
> change, re-compile, make small change, re-compile" stage.  This is
> proving very cumbersome, however, as I'm unable to re-make just the
> affected files.  For instance, note my attached output, showing the
> output of
> 
> $ make -j1 | head; sleep; make -j1 | head

The attached output indeed should never happen. What file did you touch to
generate it?

> Should not at least the first 3 completed executions no longer need
> to be re-executed?

Yes. Could you check the timestamps of
 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difexp.d
being newer than
 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/CxxObject/sc/source/filter/dif/difexp.o
and that again being newer than
 /home/kevin/devel/libreoffice/sc/source/filter/dif/difexp.cxx
, please?

> Are there any pointers for me on how I can compile _just the exact_
> piece of code on which I'm working (and affected other snippets, of
> course)?

You can build without unitchecks by doing a:
 (. ../Env.Host.sh && make build)
You make it ignore header dependencies by doing a:
 (. ../Env.Host.sh && make gb_FULLDEPS= build)
Then only objects get rebuild if you touched the cxx directly.
If you do a:
 (. ../Env.Host.sh && make gb_FULLDEPS= -W `readlink -f 
source/filter/dif/difexp.cxx` build)
only difexp.cxx gets recompiled and relinked, even if it wasnt directly
changed.

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] how to 'make' a single target?

2011-10-29 Thread Markus Mohrhard
Hello Kevin,

2011/10/30 Kevin Hunter :
> Hullo List,
>
> I'm currently working in the sc/ module, and I'm in the "make small change,
> re-compile, make small change, re-compile" stage.  This is proving very
> cumbersome, however, as I'm unable to re-make just the affected files.  For
> instance, note my attached output, showing the output of
>
> $ make -j1 | head; sleep; make -j1 | head
>
> Should not at least the first 3 completed executions no longer need to be
> re-executed?
>
> This is frustrating because it results in a latency of 5+ minutes on my slow
> 2-core machine before I can see the results of a code change.
>
> Are there any pointers for me on how I can compile _just the exact_ piece of
> code on which I'm working (and affected other snippets, of course)?
>

 Use make build -srj2 but leave out the "build" at least once before
creating the patch or pushing your changes. What needs most time is
linking and executing our unit tests and with make build you skip the
tests.

Regards,
Markus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Suggestions for improving the look 'n' feel of LibreOffice

2011-10-29 Thread alexander.wi...@zoho.com

Hi Kevin, all

Thats good to hear :).

I've just created this small mock-up, of what I think could be a good 
solution:


http://wiki.documentfoundation.org/User:Toxicbits

What do you think?

Greetings

Alex

Am Sa 29 Okt 2011 23:37:47 CEST schrieb Kevin Hunter:

At 12:57pm -0400 Fri, 28 Oct 2011, Alexander Wilms wrote:

There's a short summary with a few examples in this document:
http://ubuntuone.com/7m7AXgeh7OIwGBiCOHAjGh

1) It would be useful if the user could define alternating colors
for table rows/columns and maybe even export Styles for
text/shapes/tables formatting and coloring to a xml file or something
for easy exchange.


I concur that this would be very helpful, at least in my line(s) of 
work. I hope, however, that it could be more general than just "every 
other" row/column. For instance, there are times I need every 3rd row 
to be colored, or I need a set of 2 rows colored every 2 rows. 
Something like


Row 1: color 1
Row 2: color 1
Row 3: color 2
Row 4: color 2
Row 5: color 1
Row 6: color 1
Row 7: color 2
Row 8: color 2
etc.

I've done this manually to date, but having a general description or 
way to handle this would be *very* nice.


As to how difficult it would be to implement? I don't know. I'm not 
working in that part of the code. However, I'll bet an interested 
(coding) party would have an easier time going about it if there were 
an actual use-case/specification.


Cheers,

Kevin




___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] how to 'make' a single target?

2011-10-29 Thread Kevin Hunter

Hullo List,

I'm currently working in the sc/ module, and I'm in the "make small 
change, re-compile, make small change, re-compile" stage.  This is 
proving very cumbersome, however, as I'm unable to re-make just the 
affected files.  For instance, note my attached output, showing the 
output of


$ make -j1 | head; sleep; make -j1 | head

Should not at least the first 3 completed executions no longer need to 
be re-executed?


This is frustrating because it results in a latency of 5+ minutes on my 
slow 2-core machine before I can see the results of a code change.


Are there any pointers for me on how I can compile _just the exact_ 
piece of code on which I'm working (and affected other snippets, of course)?


Thanks,

Kevin
$ . Env.Host.sh

$ cd sc/

$ echo; make -j1 | head; echo -e "\n-\nFinished 1st round\n-"; sleep 
2s; make -j1 | head

[ build CXX ] sc/source/filter/dif/difexp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT-Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difexp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difexp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difexp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difexp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difexp.d
[ build CXX ] sc/source/filter/dif/difimp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT-Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difimp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difimp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difimp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difimp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difimp.d
[ build CXX ] sc/source/filter/excel/colrowst
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/excel/ 
$W/Dep/CxxObject/sc/source/filter/excel/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT-Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/excel/colrowst.cxx -o 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MMD -MT 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/excel/colrowst.d -I$S/sc/source/filter/excel/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/

Re: [Libreoffice] master eat CPU even when it does nothing

2011-10-29 Thread Kevin Hunter

At 1:12am -0400 Sat, 29 Oct 2011, Jean-baptiste Faure wrote:

I already noticed these cpu problems in my own build since 2 or 3
days, but I can't be more precise.

Does somebody has a clue about the cause (which commit?) of this CPU
consumption?


I don't specifically, but my hunch is that it's some interaction with 
the newly merged GTK code.  I've noticed the same CPU utilization, but 
-- like you -- have been unable to say exactly what triggers it; I can 
only say when I started noticing it.


Cheers,

Kevin
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Suggestions for improving the look 'n' feel of LibreOffice

2011-10-29 Thread Kevin Hunter

At 12:57pm -0400 Fri, 28 Oct 2011, Alexander Wilms wrote:

There's a short summary with a few examples in this document:
http://ubuntuone.com/7m7AXgeh7OIwGBiCOHAjGh

1) It would be useful if the user could define alternating colors
for table rows/columns and maybe even export Styles for
text/shapes/tables formatting and coloring to a xml file or something
for easy exchange.


I concur that this would be very helpful, at least in my line(s) of 
work.  I hope, however, that it could be more general than just "every 
other" row/column.  For instance, there are times I need every 3rd row 
to be colored, or I need a set of 2 rows colored every 2 rows. 
Something like


Row 1: color 1
Row 2: color 1
Row 3: color 2
Row 4: color 2
Row 5: color 1
Row 6: color 1
Row 7: color 2
Row 8: color 2
etc.

I've done this manually to date, but having a general description or way 
to handle this would be *very* nice.


As to how difficult it would be to implement?  I don't know.  I'm not 
working in that part of the code.  However, I'll bet an interested 
(coding) party would have an easier time going about it if there were an 
actual use-case/specification.


Cheers,

Kevin
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Replace (Byte|Uni|Xub_)String with O(U)String: Fill() method is missing

2011-10-29 Thread Chr. Rossmanith

Hi,

the deprecated string classes have a Fill(n,c) method which fills a 
string with a single character c repeated n times. I found ~50 
occurrences of Fill() using "git grep", so it might be worth to add a 
Fill() method to OUString. Maybe the name of the new method could be a 
bit more verbose e.g. fillWithChar().


Probably I would have to add something similar to "OUString 
fillWithChar(sal_uInt32 nNumber,|sal_Unicode cChar=' '|)" to ustring.hxx 
and something like rtl_ustr_fillWithChar() to ustring.c|


|Obviously I need some assistance...any hint is welcome.

Christina

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] 3.4.4rc1 fails to build in kde4 vcl

2011-10-29 Thread Andreas Radke
Compiling: vcl/unx/source/dtrans/config.cxx
/build/src/build/vcl/unx/kde4/KDEXLib.cxx: In member function 'void 
KDEXLib::setupEventLoop()':
/build/src/build/vcl/unx/kde4/KDEXLib.cxx:252:34: error: 
'GetUnixSelectFunction' is not a member of 'QInternal'
/build/src/build/vcl/unx/kde4/KDEXLib.cxx:253:34: error: 
'SetUnixSelectFunction' is not a member of 'QInternal'
R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir &&  
mkdir -p $W/CxxObject/xmloff/source/text/ && mkdir -p 
$W/Dep/CxxObject/xmloff/source/text/ && g++ -DCPPU_ENV=gcc3 -DCUI -DENABLE_GRAPH
ITE -DENABLE_GTK -DENABLE_KDE4 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/include/c++/4.6.2 -DHAVE_GCC_VISIBILITY_FEATURE 
-DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODU
CT -DPRODUCT_FULL -DSOLAR_JAVA -DSUPD=340 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT   -DXMLOFF_DLLIMPLEMENTATION  -Wall -Wendif-labels 
-Wextra -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Woverloaded-v
irtual -Wshadow -fPIC -fmessage-length=0 -fno-common 
-fvisibility-inlines-hidden -fvisibility=hidden -pipe   -march=x86-64 
-mtune=generic -O2 -pipe -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  
-O2 -c $S/xml
off/source/text/XMLIndexObjectSourceContext.cxx -o 
$W/CxxObject/xmloff/source/text/XMLIndexObjectSourceContext.o -MMD -MT 
$W/CxxObject/xmloff/source/text/XMLIndexObjectSourceContext.o -MF 
$W/Dep/CxxObject/xmloff/s
ource/text/XMLIndexObjectSourceContext.d -I$S/xmloff/source/text/ -I$O/inc/stl  
-I. -I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I/usr/lib/jvm/jav
a-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux 
-I/usr/lib/jvm/java-7-openjdk/include/native_threads/include  -I$S/xmloff/inc 
-I$S/xmloff/inc/pch -I$O/inc/offuh 
[ build CXX ] xmloff/source/text/XMLIndexSimpleEntryContext
R=/build/src && S=$R/build && O=$S/solver/340/unxlngx6.pro && W=$O/workdir &&  
mkdir -p $W/CxxObject/xmloff/source/text/ && mkdir -p 
$W/Dep/CxxObject/xmloff/source/text/ && g++ -DCPPU_ENV=gcc3 -DCUI -DENABLE_GRAPH
ITE -DENABLE_GTK -DENABLE_KDE4 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/include/c++/4.6.2 -DHAVE_GCC_VISIBILITY_FEATURE 
-DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODU
CT -DPRODUCT_FULL -DSOLAR_JAVA -DSUPD=340 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT   -DXMLOFF_DLLIMPLEMENTATION  -Wall -Wendif-labels 
-Wextra -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Woverloaded-v
irtual -Wshadow -fPIC -fmessage-length=0 -fno-common 
-fvisibility-inlines-hidden -fvisibility=hidden -pipe   -march=x86-64 
-mtune=generic -O2 -pipe -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  
-O2 -c $S/xml
off/source/text/XMLIndexSimpleEntryContext.cxx -o 
$W/CxxObject/xmloff/source/text/XMLIndexSimpleEntryContext.o -MMD -MT 
$W/CxxObject/xmloff/source/text/XMLIndexSimpleEntryContext.o -MF 
$W/Dep/CxxObject/xmloff/sour
ce/text/XMLIndexSimpleEntryContext.d -I$S/xmloff/source/text/ -I$O/inc/stl  -I. 
-I$O/inc/stl -I$O/inc/external -I$O/inc -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I/usr/lib/jvm/java-7-
openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux 
-I/usr/lib/jvm/java-7-openjdk/include/native_threads/include  -I$S/xmloff/inc 
-I$S/xmloff/inc/pch -I$O/inc/offuh 
[ build CXX ] xmloff/source/text/XMLIndexSourceBaseContext
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/KDEXLib.obj'


ArchLinux
gcc 4.6.2
qt 4.8.0rc1
kdelibs 4.7.2

Any fix known?
CC'ing our qt/kde maintainers

-Andy
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build Failure in binfilter - bf_offwrp, Linux Ubuntu 11.10 32bit

2011-10-29 Thread Alex Thurgood

Le 29/10/2011 18:09, Bjoern Michaelsen a écrit :

Hi Bjoern,


Does applying:

http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=patches/ubuntufixes-binfilter.diff;h=193fe9f297bdf132b23689eb7baae861b2a8f506;hb=refs/heads/ubuntu-oneiric-3.4

help? If so, please push to master if nobody objects.


Thanks, will try it out and report back. I have no commit rights 
however, should the patch be OK.



Alex

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Build Failure in binfilter - bf_offwrp, Linux Ubuntu 11.10 32bit

2011-10-29 Thread Bjoern Michaelsen
On Sat, Oct 29, 2011 at 06:30:22PM +0100, Alex Thurgood wrote:
> Attempting to build binfilter from master (fresh pull) :
> 
> Entering /home/alex/LODEV/core/binfilter/filter/source/bf_offwrp
> 
> Making:libbf_wrapperlo.so
> ../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function
> `binfilter::SdDrawDocShell::ClassFactory()':
> sd_sdlib.cxx:(.text+0x34e): undefined reference to
> `SotFactory::PutSuperClass(SotFactory const*)'
> ../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function
> `binfilter::SdGraphicDocShell::ClassFactory()':
> sd_sdlib.cxx:(.text+0x5c0): undefined reference to
> `SotFactory::PutSuperClass(SotFactory const*)'
> ../../../unxlngi6.pro/lib/libbf_ysch.a(sch_schlib.o): In function
> `binfilter::SchChartDocShell::ClassFactory()':
> sch_schlib.cxx:(.text+0x354): undefined reference to
> `SotFactory::PutSuperClass(SotFactory const*)'
> ../../../unxlngi6.pro/lib/libbf_ysm.a(starmath_smlib.o): In function
> `binfilter::SmDocShell::ClassFactory()':
> starmath_smlib.cxx:(.text+0x348): undefined reference to
> `SotFactory::PutSuperClass(SotFactory const*)'
> ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function
> `binfilter::SwDocShell::ClassFactory()':
> sw_swlib.cxx:(.text+0xc62): undefined reference to
> `SotFactory::PutSuperClass(SotFactory const*)'
> ../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o):sw_swlib.cxx:(.text+0xed2):
> more undefined references to `SotFactory::PutSuperClass(SotFactory
> const*)' follow
> collect2: ld returned 1 exit status
> dmake:  Error code 1, while making
> '../../../unxlngi6.pro/lib/libbf_wrapperlo.so'
Does applying:

http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git;a=blob;f=patches/ubuntufixes-binfilter.diff;h=193fe9f297bdf132b23689eb7baae861b2a8f506;hb=refs/heads/ubuntu-oneiric-3.4

help? If so, please push to master if nobody objects.

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Build Failure in binfilter - bf_offwrp, Linux Ubuntu 11.10 32bit

2011-10-29 Thread Alex Thurgood

Hi all, FYI


Attempting to build binfilter from master (fresh pull) :

Entering /home/alex/LODEV/core/binfilter/filter/source/bf_offwrp

Making:libbf_wrapperlo.so
../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function 
`binfilter::SdDrawDocShell::ClassFactory()':
sd_sdlib.cxx:(.text+0x34e): undefined reference to 
`SotFactory::PutSuperClass(SotFactory const*)'
../../../unxlngi6.pro/lib/libbf_sdlib.a(sd_sdlib.o): In function 
`binfilter::SdGraphicDocShell::ClassFactory()':
sd_sdlib.cxx:(.text+0x5c0): undefined reference to 
`SotFactory::PutSuperClass(SotFactory const*)'
../../../unxlngi6.pro/lib/libbf_ysch.a(sch_schlib.o): In function 
`binfilter::SchChartDocShell::ClassFactory()':
sch_schlib.cxx:(.text+0x354): undefined reference to 
`SotFactory::PutSuperClass(SotFactory const*)'
../../../unxlngi6.pro/lib/libbf_ysm.a(starmath_smlib.o): In function 
`binfilter::SmDocShell::ClassFactory()':
starmath_smlib.cxx:(.text+0x348): undefined reference to 
`SotFactory::PutSuperClass(SotFactory const*)'
../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o): In function 
`binfilter::SwDocShell::ClassFactory()':
sw_swlib.cxx:(.text+0xc62): undefined reference to 
`SotFactory::PutSuperClass(SotFactory const*)'
../../../unxlngi6.pro/lib/libbf_swlib.a(sw_swlib.o):sw_swlib.cxx:(.text+0xed2): 
more undefined references to `SotFactory::PutSuperClass(SotFactory 
const*)' follow

collect2: ld returned 1 exit status
dmake:  Error code 1, while making 
'../../../unxlngi6.pro/lib/libbf_wrapperlo.so'



Alex


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Rainer Bielefeld  changed:

   What|Removed |Added

 Depends on||36991, 37030, 37077, 37179,
   ||37195, 37277, 37429, 37488,
   ||37499, 37622, 37799, 38000,
   ||38544, 38956, 39159, 39236,
   ||39447, 39510, 40243, 42339

--- Comment #219 from Rainer Bielefeld  
2011-10-29 08:43:22 PDT ---
Argh, something went terribly wrong here, please excuse me for the SPAM. Hope
this post fixed the unintended removing of many bugs, please excuse me for the
SPAM!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Rainer Bielefeld  changed:

   What|Removed |Added

 Depends on|33634, 42339, 36957, 36991, |
   |37008, 37013, 37014, 37015, |
   |37017, 37030, 37045, 37077, |
   |37108, 37129, 37179, 37195, |
   |37252, 37277, 37317, 37356, |
   |37370, 37429, 37487, 37488, |
   |37499, 37516, 37520, 37579, |
   |37584, 37590, 37620, 37622, |
   |37658, 37668, 37763, 37771  |
 Depends on|37799, 37825, 37869, 37888, |
   |37930, 37942, 38000, 38095, |
   |38374, 38544, 38590, 38623, |
   |38956, 39159, 39236, 39447, |
   |39510, 39517, 40079, 40571, |
   |40701, 40854, 41022 |

--- Comment #218 from Rainer Bielefeld  
2011-10-29 07:38:28 PDT ---
"Bug 42339 - EDITING and VIEWING cell borders differs from expected and print"
exists at least since OOo 1.1.4., so I can't see any founding why this one
should have become such a high priority suddenly.

"33634 - VIEWING: No difference between cell border 0,5pt and 1,0pt" is rated
as "minor" in the bug, so I also can't see any reason for a listing here. 

Both ones are too far away from a blocker to be listed here, because of that I
remove them.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Glib errors with Linux 32bit build

2011-10-29 Thread Alex Thurgood

Hi all,

With a build from master today on 32bit Linux, I keep getting :

GLib-CRITICAL **: g_ascii_strncasecmp: assertion `s1 != NULL' failed

in the console.

Build options :
./autogen.sh --enable-ext-mysql-connector --with-system-mysql --with-epm 
--enable-ext-scripting-beanshell --enable-ext-scripting-javascript 
--enable-python=auto --disable-mozilla --disable-build-mozilla 
--without-junit



Alex

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Bug 35673 depends on bug 36678, which changed state.

Bug 36678 Summary: Missing user-defined dictionaries with a specified language 
attribute via "Spelling and Grammar" 
https://bugs.freedesktop.org/show_bug.cgi?id=36678

   What|Old Value   |New Value

 Resolution||FIXED
 Status|REOPENED|RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

--- Comment #217 from Mikeyy  2011-10-29 06:36:18 PDT ---
Finally found bug that I experience offten since most of company use Excel 2003
and few of us use LO 3.4.3
XLS files saved by CALC have split added on top -
https://bugs.freedesktop.org/show_bug.cgi?id=39589

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Mikeyy  changed:

   What|Removed |Added

 Depends on||39589

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Mikeyy  changed:

   What|Removed |Added

 Depends on||33634, 42339

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

--- Comment #216 from Mikeyy  2011-10-29 06:17:55 PDT ---
Like to nomiante 2 bugs. Have one more, but wasn't able to find it reported.
No difference between different border thikness -
https://bugs.freedesktop.org/show_bug.cgi?id=33634
Borders behaviour irradical, not WYSIWYG -
https://bugs.freedesktop.org/show_bug.cgi?id=42339

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread Norbert Thiebaud
On Sat, Oct 29, 2011 at 6:13 AM, Christian Lohmaier
 wrote:
> Hi *,
>
> On Sat, Oct 29, 2011 at 11:16 AM, LOH KOK HOE  wrote:
>>
>> May I know is there a way to use the make 3.82 and not removing make 3.81?
>
> export GNUMAKE=/path/to/make-3.82

or install it at /opt/lo/bin/make

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice



Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread Christian Lohmaier
Hi *,

On Sat, Oct 29, 2011 at 11:16 AM, LOH KOK HOE  wrote:
>
> May I know is there a way to use the make 3.82 and not removing make 3.81?

export GNUMAKE=/path/to/make-3.82

ciao
Christian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Segmentation fault in building tail_build project

2011-10-29 Thread LOH KOK HOE
Thanks for your help. I have the make 3.82 downloaded. May I know can I
instruct the build to use the latest version of make 3.82.

I was using Ubuntu, currently using version 3.81, and not really want to
remove the old version and install a new one because there are dependencies
using make 3.81.

May I know is there a way to use the make 3.82 and not removing make 3.81?

THanks @!


On Sun, Oct 23, 2011 at 6:06 PM, Norbert Thiebaud wrote:

> On Sun, Oct 23, 2011 at 2:57 AM, LOH KOK HOE  wrote:
> > Hi all,
> > I have just downloaded the latest source code from GIT, following the
> > developer guideline in making the build. But it failed in tail_build
> > project. When attempting the individual build on tail_build project, I
> get
> > this output "No environment set!".
>
> You have overlooked the message that tell you to source Env.Host.sh
> see in the output you quoted the line that says:
> > source ./Env.Host.sh
>
> >
> > Below are a snapshot of the output during the build from top level,
> hoping
> > this could give out some hints on fixing this issue.
> >
> > - Output Snapshot -
> >
> > [ build CXX ] unoxml/source/rdf/CURI
> > [ build CXX ] unoxml/source/rdf/CLiteral
> > [ build CXX ] unoxml/source/rdf/librdf_repository
> > [ build CXX ] unoxml/source/rdf/librdf_services
> > [ build DEP ] LNK:Library/libunoxmllo.so
> > [ build DEP ] SRS:sw/res
> > [ build SRS ] sw/res
> > [ build DEP ] LNK:Library/libswdlo.so
> > /bin/bash: line 1: 10810 Segmentation fault  make -s -r -j2 build
> > gb_PARTIALBUILD=T
> > dmake:  Error code 139, while making 'all'
>
> You are most likely using an unpatched gnu make 3.81 with -j > 1
> there should have been a warning at configure time about that. something
> like
> "* - make 3.81 is prone to crashes with parallelism > 1. Since
> --with-num-cpus was explicitely given, it is honored, but do not
> complain when make segfault on you."
>
> Anyway, you either need to disable (i.e do not specify
> --with-num-cpus) the build parallelism or install and use a gnu make
> 3.82 or a patched 3.81 version.
> You can find a usable 3.82 version at
> git://cgit.freedesktop.org/libreoffice/contrib/dev-tools
>
> Norbert
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [REVIEW] patch for fdo#33047

2011-10-29 Thread julien2412
Hello,

I put a proposed patch on the bugtracker 33047 (with comments associated),
could someone to take a look at it ?
https://bugs.freedesktop.org/show_bug.cgi?id=33047#c9

Julien.

--
View this message in context: 
http://nabble.documentfoundation.org/REVIEW-patch-for-fdo-33047-tp3462977p3462977.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice