Re: [dev] OOo 2.0.2_RC2 icons and About pane.

2006-03-02 Thread Ross Johnson
On Thu, 2006-03-02 at 19:23 +0100, Mathias Bauer wrote:
> Ross Johnson wrote:
> 
> >> > Also, the Help - About window still shows OOo 2.0. This is a current
> >> > issue because users are finding it difficult to describe which version
> >> > they're using on the users lists. They're generally told to press an
> >> > obscure key combination to display the build version and credits. This
> >> > slows communication down quite a bit while the users list goes through
> >> > an unnecessary REQUEST/PLEASE CONFIRM/UPDATED REQUEST/ANSWER cycle.
> >> 
> >> This has been fixed for OOo2.0.2.
> > 
> > Not yet in RC4 AFAICS.
> 
> Are you sure? I had a look on the build 9008 and it showed me the
> correct version number. I currently don't know the build number of RC4.

My apologies, you are right. It's in the small(er) print. The large eye-
catching graphic is showing 2.0. I guess I was pre-conditioned to look
for that.

Regards.
Ross


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Configure options for non-localized builds

2006-03-02 Thread Chris H

All,

I downloaded oob680-m5-core.tar.bz2 to build. If I want to build a US 
English only version of OO do I still need oob680-m5-lang.tar.bz2? Are 
there configure options to allow for a non-localized build? I noticed 
that the lang.tar file contains mostly localize.sdf files, are they 
required to build OO?


Thanks,

--Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-02 Thread Mathias Bauer
Hi,

[EMAIL PROTECTED] wrote:

> Hi all,
> 
> I need you help!
> 
> I am the primary developer of a spelling aid for dyslexic users. We offer
> interoperability with all major word processors on the Windows platform...
> except for OOo. We have investigated internal development, and have gone the
> route of hirering external consultants, but so far to no avail.
> 
> Perhaps someone here can help?
> 
> Description follows...

(description snipped)

If this description contains the complete "API" you need for an
integration I'm sure it is possible to create a component for OOo.
Should we conclude from your mail that you are interested in creating
such a component?

>From your description I assume that DW is a Windows program. Will it be
enough to provide a DLL with a C API like described in your mail? This
DLL can use a Remote Connection to OOo and implement this C-API on top
of the OOo-API, but it also can be instantiated inside the OOo process.
But in the second case I wonder how DW call will these functions. Is it
a COM component or an application?

Maybe this discussion should be moved to [EMAIL PROTECTED]
BTW: I would prefer to talk to people with a name. "[EMAIL PROTECTED]"
surely isn't one. :-)

You also should consider subscribing to the list where this conversation
should go on, this will make sure that you don't miss the answers from
people that don't CC: you (because they don't see that your mails are
moderated).

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OOo 2.0.2_RC2 icons and About pane.

2006-03-02 Thread Mathias Bauer
Ross Johnson wrote:

>> > Also, the Help - About window still shows OOo 2.0. This is a current
>> > issue because users are finding it difficult to describe which version
>> > they're using on the users lists. They're generally told to press an
>> > obscure key combination to display the build version and credits. This
>> > slows communication down quite a bit while the users list goes through
>> > an unnecessary REQUEST/PLEASE CONFIRM/UPDATED REQUEST/ANSWER cycle.
>> 
>> This has been fixed for OOo2.0.2.
> 
> Not yet in RC4 AFAICS.

Are you sure? I had a look on the build 9008 and it showed me the
correct version number. I currently don't know the build number of RC4.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Packimages.pl error during Windows build

2006-03-02 Thread Chris H



Volker Quetschke wrote:

$ ls -l /home/build/oo | grep default_images show?


drwx--+ 27 Administrators None 0 Feb 24 15:34 default_images


And what is the result of:
$ /usr/bin/perl -e 'if( -x "/home/build/oo/default_images"){ print 
"OK";};'  ?


That returns nothing.


Ha, welcome to Windows ACLs and perl usually only using ugo rights.

I wonder why that works for me and Pavel for example.

There was a certain "use XXX;" command to convince perl to do the
right thing, but I have to leave now. You should file an issue in the
meantime with the information from this thread, so that we can fix this
problem. I'll look into it later ...

  Volker



I just realized that the user listed is Administrators that owns the 
whole tree, not just that directory. That is not the name of the Windows 
account I am using. The account it "build" which is a member of the 
Windows Administrators group. If I chown -R the 
/home/build/oo/default_images directory to "build", I get the expected 
OK from the above Perl command.


Should the whole $SRC_ROOT be owned by the current user?

Thanks,

--Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] OO report issue

2006-03-02 Thread Tom Schindl
Hi,

well first of that's the wrong forum to discuss Base you should ask your
question on the dba-subproject.

Nevertheless OOs reporting capabilities are very low depending but maybe
its sufficient for your needs.

Another idea is to look at other java-technologies:
- http://jasperreports.sf.net
- http://www.eclipse.org/birt

are two of those providing you with visual designers and PDF-Output support.

Tom

Łukasz Bartnik wrote:
>   Dear OO Dev Team,
> 
> My name is Lukasz Bartnik, I'm a student at Warsaw University of Technology.
> I'm need to create pdf documents containing data fetched from a database. The
> query which returns the data has its parameters and everything should be
> performed in a batch mode. My task is to provide a web page where a user can
> choose the document to print (by clicking on its title/id). Then the page is
> reloaded and a link to pdf is returned as a result (or the pdf itself).
> That's why I'd like to ask You a question: is it possible with OO Base to
> create a report by running the program from the command line and providing
> mentioned parameters? Previously I've used fop (from Apache Foundation) but it
> isn't the right solution. The program itself has some drawbacks (it's a bit
> slow) and dealing with all those xml can be frustrating.
> 
> To my disappointment, I wasn't able to find any tutorial on this subject.
> I'm using OO 2.0.1 on Debian and MySQL 5 (or PostgreSQL). My ReportWizard
> won't work because of some Java problems (as far as I'm concerned
> it's an open bug) so I have to do everything manually.
> 
> I would be very grateful for providing me web addresses with this kind of
> reporting explained.
> 
> Yours faithfully,
>   Lukasz Bartnik
> 
> 




Re: [dev] Packimages.pl error during Windows build

2006-03-02 Thread Volker Quetschke

$ ls -l /home/build/oo | grep default_images show?


drwx--+ 27 Administrators None 0 Feb 24 15:34 default_images


And what is the result of:
$ /usr/bin/perl -e 'if( -x "/home/build/oo/default_images"){ print 
"OK";};'  ?


That returns nothing.


Ha, welcome to Windows ACLs and perl usually only using ugo rights.

I wonder why that works for me and Pavel for example.

There was a certain "use XXX;" command to convince perl to do the
right thing, but I have to leave now. You should file an issue in the
meantime with the information from this thread, so that we can fix this
problem. I'll look into it later ...

  Volker

--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


Re: [dev] warnings01: status and how to proceed

2006-03-02 Thread Volker Quetschke

What about asking the community for these builds? We have currently a few
volunteer tinderbox clients running, see
  .


Yes, I know that there are clients already running - though, are they
covering the range of platforms that Stephan mentioned?

Well, we have ~1.5 pretty fast Windows build systems, currently one linux
(but that number should be easy to increase as it's the most popular platform
with respect to "self-building" and some linux distributions involved here ..)
and I guess you guy's (Sun) should be able to provide some tinderbox clients
for unxsol{i|s}4 builds.

The Mac's are a bonus and shouldn't be broken by new CWSs either.


But we're
clearly not the ones discouraging this proposal. ;-)

IMHO tinderbox builds should be FULL builds with the community style build
system, i.e. not reusing old stuff that's in solver from previous builds.
Can you do that?

   Volker

--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


Re: [dev] Packimages.pl error during Windows build

2006-03-02 Thread Volker Quetschke

Hi Pavel,


   > I didn't express my respect that you try to do this on Windows 2003,
   > to my knowledge noone else tried this before.

I do build on Windows 2003 for about year and a half I think ;-)


Oh, I somehow was associating Windows 2003 with 64bit, I guess you
use the 32bit version.

Good to know,

 Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


Re: [dev] Packimages.pl error during Windows build

2006-03-02 Thread Pavel Janík
   From: Volker Quetschke <[EMAIL PROTECTED]>
   Date: Wed, 01 Mar 2006 20:03:53 -0500

Hi,

   > I didn't express my respect that you try to do this on Windows 2003,
   > to my knowledge noone else tried this before.

I do build on Windows 2003 for about year and a half I think ;-)
-- 
Pavel Janík

Use the good features of a language; avoid the bad ones.
  -- The Elements of Programming Style (Kernighan & Plaugher)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Re: warnings01: status and how to proceed

2006-03-02 Thread Stephan Bergmann

Martin Kretzschmar wrote:

[ Sorry for breaking threading, am not subscribed, yaddayadda ]

Stephan Bergmann wrote:


Another problem that only dawned on us recently is the following:  The
OOo source includes a number of external projects that deliver C/C++
headers that are included from other modules.  To suppress warnings from
such headers, patches have been included for some of those external
projects on warnings01.  However, some people build OOo in such a way
that they use system-supplied alternatives of those external projects,
so that the patches will have no effect for them.  That means that
switching on "warnings are errors" can break such builds (although the
"official" OOo builds would succeed).



That's not only a problem with system libraries, but also with system
compilers. People will compile the code with newer compilers than those
used during testing of warnings01. Compilers with new warnings that will
break the build if -Werror or equivalents are in use.


In practice, using a new compiler needs a number of tweaks to the OOo 
code anyway (e.g., see GCC 4.1), so I would assume eliminating any new 
warnings would be handled by those brave souls who do that "port."


-Stephan


Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] warnings01: status and how to proceed

2006-03-02 Thread Thorsten Behrens
Volker Quetschke <[EMAIL PROTECTED]> writes:

> What about asking the community for these builds? We have currently a few
> volunteer tinderbox clients running, see
>.
>
Yes, I know that there are clients already running - though, are they
covering the range of platforms that Stephan mentioned? But we're
clearly not the ones discouraging this proposal. ;-)

Cheers,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-02 Thread mail
Hi all,

I need you help!

I am the primary developer of a spelling aid for dyslexic users. We offer
interoperability with all major word processors on the Windows platform...
except for OOo. We have investigated internal development, and have gone the
route of hirering external consultants, but so far to no avail.

Perhaps someone here can help?

Description follows...


DyslexiWrite (DW) is a program that provides word predictions, reading functions
and spell checking tailored to the needs of users with reading and writing
disabilities. It works with a wide range of programs, including any program
that utilizes standard Windows "Edit" and "RichEdit" widgets (Notepad,
Wordpad), any program using the Microsoft DHTML control (IE, Outlook, Outlook
Express...) and Microsoft Word. You can download a DW demo from
www.secondguessusa.com.

Our goal is to implement a few functions/methods, preferably encapsulated in an
object (but not necessarily) that will allow DW to integrate with Open
Office/Star Office (OO). The following describes the necessary functions in
detail. See conventions regarding cursor position etc. at the end of this
document.

 bool IsOOoWriterWindow(const HWND w);

Return TRUE if the window referred to by the HWND handle 'w' supports the
functions listed below.

 bool GetContext(const HWND w, char** Context, int &pos);

Fetches, if possible, the current cursor position, and the current text from the
OO window referred to by the HWND handle 'w'. Cursor position is returned in the
'pos' value, and the text in the 'Context'. If the operation is performed
correctly, the function returns TRUE, else it returns FALSE.

 void ChangeRange(const HWND w, char *NewString, const int start, const int
length);

Replace a substring in the current text ranging from position 'start' to
position 'start+length' with the text referred to by 'NewString', in the window
referred to by the HWND handle 'w'.


 void SelRange(const HWND w, const int start, const int length);

Select (highlight) the substring of the current text ranging from position
'start' to position 'start+length' in the window referred to by the HWND handle
'w'.

 void SetSelpos(const HWND w, const int i);

Move the insertion point/cursor to position 'i' in the window referred to by the
HWND handle 'w'.

Conventions:

All strings are 1-indexed. SelRange(1, 2) would thus select the first two
characters of the current text, and not the 2nd and 3rd that a C programmer
would expect. The purpose of this convention is to be able to position the
insertion point/cursor IN FRONT OF the first character, which necessitates the
use of position 0 (zero).

Comments:

oThe use of the HWND handle 'w' is due to the fact that DW will often
manipulate the system, and e.g. change the foremost window.
oIf other methods/signatures come more natural to the OO integration, that´s
just fine by me. The important thing is to get the basic functionality, not
necessarily how it is achieved.


This message was sent using IMP, the Internet Messaging Program.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [dev] Memory Issues

2006-03-02 Thread Utomo
Everybody now concentrating with Ooo 2.X
And Ooo 2.x have many improvements, including the memory usage. 
Can you please try to use the Ooo 2.X and report back to us. 

Thanks

Utomo
 

-Original Message-
From: Shrish Tewari [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 28, 2006 8:34 PM
To: dev@openoffice.org
Subject: [dev] Memory Issues

Dear team ,

I am developin upon OpenOffice1.1.x and i am facing lot of memory issues..
I am running OpenOffice as a server and trying to connect some 100 users at
a tme and concurrently tring to access a spreadsheet and edit the cells..
With every iteration there is lot of memory increase in the server side and
which never gets released even after all the 100 users are done with their
editing.

Can you throw some light as what should i do to get rid of this memory issue
and how to proceed..
I even tried building the OpenOffice1.1.x in the debug mode but it is never
getitng built in debug mode due to which i am not able to find out the
memory leaks ..
Kindly help me if possible..

Thanks and regards
Shrish

--
Shrish Tewari
Software Engineer
HomeNetMagic Team
AdventNet(India) Development Centre Pvt ltd.
11 Sarathy Nagar, VijayNagar, Velachery, Chennai 600 042 India.
Tel: +91-9884455342 
Website:http://www.adventnet.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] OO report issue

2006-03-02 Thread Łukasz Bartnik

  Dear OO Dev Team,

My name is Lukasz Bartnik, I'm a student at Warsaw University of Technology.
I'm need to create pdf documents containing data fetched from a database. The
query which returns the data has its parameters and everything should be
performed in a batch mode. My task is to provide a web page where a user can
choose the document to print (by clicking on its title/id). Then the page is
reloaded and a link to pdf is returned as a result (or the pdf itself).
That's why I'd like to ask You a question: is it possible with OO Base to
create a report by running the program from the command line and providing
mentioned parameters? Previously I've used fop (from Apache Foundation) but it
isn't the right solution. The program itself has some drawbacks (it's a bit
slow) and dealing with all those xml can be frustrating.

To my disappointment, I wasn't able to find any tutorial on this subject.
I'm using OO 2.0.1 on Debian and MySQL 5 (or PostgreSQL). My ReportWizard
won't work because of some Java problems (as far as I'm concerned
it's an open bug) so I have to do everything manually.

I would be very grateful for providing me web addresses with this kind of
reporting explained.

Yours faithfully,
  Lukasz Bartnik


-- 
Łukasz Bartnik*If you think you can, you can.
Linux User No: 315021 *If you think you can't, you're right.



[dev] Re: warnings01: status and how to proceed

2006-03-02 Thread Martin Kretzschmar
[ Sorry for breaking threading, am not subscribed, yaddayadda ]

Stephan Bergmann wrote:
> Another problem that only dawned on us recently is the following:  The
> OOo source includes a number of external projects that deliver C/C++
> headers that are included from other modules.  To suppress warnings from
> such headers, patches have been included for some of those external
> projects on warnings01.  However, some people build OOo in such a way
> that they use system-supplied alternatives of those external projects,
> so that the patches will have no effect for them.  That means that
> switching on "warnings are errors" can break such builds (although the
> "official" OOo builds would succeed).

That's not only a problem with system libraries, but also with system
compilers. People will compile the code with newer compilers than those
used during testing of warnings01. Compilers with new warnings that will
break the build if -Werror or equivalents are in use.

Martin


Re: [dev] warnings01: status and how to proceed

2006-03-02 Thread Stephan Bergmann

Caolan McNamara wrote:

On Wed, 2006-03-01 at 20:57 +0100, Thorsten Behrens wrote:


Stephan Bergmann <[EMAIL PROTECTED]> writes:



However, some people build OOo in such a way that they use
system-supplied alternatives of those external projects, so that the
patches will have no effect for them.  That means that switching on
"warnings are errors" can break such builds (although the "official"
OOo builds would succeed).  The relevant patch files, until now, are
  boost/boost-1.30.2.patch
  boost/spirit-1.6.1.patch
  icu/icu-2.6.patch
  neon/neon.patch
  python/Python-2.3.4.patch
  sablot/Sablot-0.52.patch
  stlport/STLport-4.0.patch
  stlport/STLport-4.5-0119.patch



Add agg to the list.



I guess that for e.g. next version of Fedora, I can go around getting
the warnings free patches for this libraries into at least the distro
versions of these modules so at least a --with-system on fedora > fc5
would work with warnings as errors enabled, and I assume that other
distros could do the same. The problem would be using --with-system-foo
on existing releases :-(

Have you already submitted the "fix warnings" patches for these
libraries into their respective bug tracking systems, so that the next
releases of those libraries themselves will include the warning
fixes :-) ?


No.  For one, warnings01 is not yet ready, so chances are that our 
current patches are not yet final.  For another, some of the external 
projects OOo uses are old versions of those projects (e.g., boost, 
stlport), so that it is questionable whether upstreaming those patches 
would have any benefit.  However, upstreaming anything relevant is 
definitely something we should consider once warnings01 is stable.


-Stephan

[...]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] warnings01: status and how to proceed

2006-03-02 Thread Caolan McNamara
On Wed, 2006-03-01 at 20:57 +0100, Thorsten Behrens wrote:
> Stephan Bergmann <[EMAIL PROTECTED]> writes:
>
> > However, some people build OOo in such a way that they use
> > system-supplied alternatives of those external projects, so that the
> > patches will have no effect for them.  That means that switching on
> > "warnings are errors" can break such builds (although the "official"
> > OOo builds would succeed).  The relevant patch files, until now, are
> >boost/boost-1.30.2.patch
> >boost/spirit-1.6.1.patch
> >icu/icu-2.6.patch
> >neon/neon.patch
> >python/Python-2.3.4.patch
> >sablot/Sablot-0.52.patch
> >stlport/STLport-4.0.patch
> >stlport/STLport-4.5-0119.patch
> >
> Add agg to the list.

I guess that for e.g. next version of Fedora, I can go around getting
the warnings free patches for this libraries into at least the distro
versions of these modules so at least a --with-system on fedora > fc5
would work with warnings as errors enabled, and I assume that other
distros could do the same. The problem would be using --with-system-foo
on existing releases :-(

Have you already submitted the "fix warnings" patches for these
libraries into their respective bug tracking systems, so that the next
releases of those libraries themselves will include the warning
fixes :-) ?


> But what about providing tinderbox slaves, dedicated to community CWS?

This would be a good idea, especially is organized so that someone who
wishes to create an install set for qaing a workspace can generate a
"Hamburg QA" compatible workspace for various platforms by submitting a
job to build it and auto move it to somewhere where it can be
downloaded. 

C.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]