Re: [dev] why does it leak so hard?

2010-03-09 Thread Oleg Mikheev
 I'm doing a rather primitive thing: load and close a document.
 Question: why does it make OO grow 50Mb/minute?
 
 The Java-side proxy objects (referenced through variable xComponent) 
 keep the OOo-side XComponent objects (representing the opened documents) 
 alive until the JVM garbage collector decides to finalize them. 

Jstat tells me that xComponents are collected.
I even added these two lines of code:

xComponent = null;
System.gc();

to make sure that xComponent objects are collected.

Another observation: if I use TCP connection instead of Name pipes
OO leaks 150Mb/minute instead of 50Mb/minute :-)

Most probably Java UNO implementation doesn't release OO
resources once  XComponent gets garbage collected.

Oleg

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Call for Nominations for Community Council Seats

2010-03-09 Thread Ян Программист
Hello, Martin. I am searching for a feedback of my ideas against
OpenOffice development. Please say how far it would be necessary to
implement, how actual for OpenOffice users:

Smart zoom (additional controls would be shown rather font resize)
Gnash movie support for OpenOffice
Multimedia add-ons support for Adobe Reader targeted export
MathML formula editor with Ribbon interface + exporting a MS Word doc
with Word compatible formula editor format [MathML to OLE binary
converter]
Document review services threw OpenOffice tools  email/NFS/Samba share(s)
OpenOffice collaboration support with replication against project
management tool (Redmine with openoffice web preview plug-in?)
Provide a translation command in Writer menu:
Using Lingvo web site
Using off-line dictionary (not multilingual!)
Note: translation results should appear in (a set of) dialog based
window(s) - to ensure that nested occurrences are separated
In-place translation of word in Impress without exiting presentation mode:
Word itself is targeted threw mouse cursor (or any external pointing
device - perhaps slides are showed in wide screen) ( + hotkey?)
Hands-free facility: voice recognition initiation
Organize Writer preferences for mode center customization, e.g.
educational/reading mode, document forming/preparation mode, etc.
IEEE standard driven document populating facility - smart editing
tools for forming technical documents under rules' pressure
Getting stated point is the same panel as File-Templates and documents
Document formation rules could be activated threw IEEE on-line
services at back-end
When document generated from template - activate facilities for
interactive add-ins in case of PDF exporting:
Unnecessary performance could be lost in case if user will not decide
to export to PDF
Provide collaboration facilities with use of contacts of co-workers
and reading/conversation rights threw LDAP (OpenDS?)
Provide technical task forming tools to Writer

With respect, John

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Calc for Life Science: Who are the masters of output2.cxx - and can those persons guide me a little ?

2010-03-09 Thread Jan Holst Jensen

Hi,

I am dabbling with in-cell rendering of molecules and proteins in Calc. 
I have made a custom build of DEV300_M60 (I know - it's old now) where I 
have added code that to some extent can do the job. You can take a look 
at my progress so far at


http://www.biochemfusion.com/work/in-cell/status1.html

I haven't found myself able to sufficiently grok the logic in 
output2.cxx's ScOutputData::DrawStrings() so I can override the cell 
rendering reliably enough. Also, I could use a hint as to how I should 
implement proper preview and print support - seems like it is mostly a 
matter of scaling (?).


My source code changes as of now can be found at

http://www.biochemfusion.com/work/in-cell/output2.cxxall my changes 
marked with 'j...@biochemfusion.com'
http://www.biochemfusion.com/work/in-cell/custom_draw.cxxthe code 
that actually draws the molecule graphics


Cheers
-- Jan Holst Jensen

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] buildbots: run autoconf before configure for CWS builds

2010-03-09 Thread Gregor Hartmann

Hi,

since builds on buildbots fail from time to time in the configure step 
(or afterwards due to a broken configure script) I suggest to run 
autoconf (in the right version) on each CWS build.


The reason is that the configure.in is somewhat sensitive to certain 
versions of autoconf and that merged configure files almost allways break.


As autoconf is run on every master anyways this does not hide errors but 
eases life for developers.


On Master builds autoconf is not run since we want to be sure that the 
master sources run as is.


I will deploy this as soon as possible.

Gregor

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Calc for Life Science: Who are the masters of output2.cxx - and can those persons guide me a little ?

2010-03-09 Thread Niklas Nebel

On 03/09/10 14:14, Jan Holst Jensen wrote:
I am dabbling with in-cell rendering of molecules and proteins in Calc. 
I have made a custom build of DEV300_M60 (I know - it's old now) where I 
have added code that to some extent can do the job. You can take a look 
at my progress so far at


http://www.biochemfusion.com/work/in-cell/status1.html

I haven't found myself able to sufficiently grok the logic in 
output2.cxx's ScOutputData::DrawStrings() so I can override the cell 
rendering reliably enough. Also, I could use a hint as to how I should 
implement proper preview and print support - seems like it is mostly a 
matter of scaling (?).


ScOutputData has member variables nPPTX and nPPTY for the factor of 
pixels per twip. Just use those instead of a fixed factor, and scaling 
will adjust to the printer (or different zoom in the view).


There is still a special case to be handled though: If the configuration 
option User printer metrics for text formatting is set, the 
bPixelToLogic parameter to DrawStrings is TRUE, and PixelToLogic / 
LogicToPixel has to be used.


Niklas

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Call for Nominations for Community Council Seats

2010-03-09 Thread Eike Rathke
Hi Martin,

On Monday, 2010-03-08 10:54:19 +0100, Martin Hollmichel wrote:

 I nominate Eike Rathke as my successor for the code contributor  
 representative position.

Thanks for the honor.

 Eike is co-lead of the Spreadsheet and L10N project and made tremendous  
 contributions to the project in the last 10 years.

Wow, this goes down as oil ;-)

I agree to nomination and will be a candidate for the code contributor
representative position.

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the e...@sun.com account, which I use for
 mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks.


pgpSQ1fYwlZoZ.pgp
Description: PGP signature


Re: [dev] Calc for Life Science: Who are the masters of output2.cxx - and can those persons guide me a little ?

2010-03-09 Thread Jan Holst Jensen

On 2010-03-09 17:17, Niklas Nebel wrote:

On 03/09/10 14:14, Jan Holst Jensen wrote:
I am dabbling with in-cell rendering of molecules and proteins in 
Calc. I have made a custom build of DEV300_M60 (I know - it's old 
now) where I have added code that to some extent can do the job. You 
can take a look at my progress so far at


http://www.biochemfusion.com/work/in-cell/status1.html

I haven't found myself able to sufficiently grok the logic in 
output2.cxx's ScOutputData::DrawStrings() so I can override the cell 
rendering reliably enough. Also, I could use a hint as to how I 
should implement proper preview and print support - seems like it is 
mostly a matter of scaling (?).


ScOutputData has member variables nPPTX and nPPTY for the factor of 
pixels per twip. Just use those instead of a fixed factor, and scaling 
will adjust to the printer (or different zoom in the view).


There is still a special case to be handled though: If the 
configuration option User printer metrics for text formatting is 
set, the bPixelToLogic parameter to DrawStrings is TRUE, and 
PixelToLogic / LogicToPixel has to be used. 


Thanks Niklas. That should get me going with the preview / printing.

Can anyone give me input on what variables / flags I should set to 
really override cell drawing and effectively get OwnerDraw mode in 
specific cells ? I am currently changing bNeedEdit when I encounter a 
molecule-formatted cell so I can do cell rendering instead of the 
in-place editor doing it (as far as I have understood the meaning of 
that flag).


I have also tried changing bDoCell but with somewhat unpredictable 
results. Is this caused by cell rendering also being done in other 
places than ScOutputData::DrawStrings() ?


Cheers
-- Jan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org