[dev] warnings01: status and how to proceed

2006-03-01 Thread Stephan Bergmann

Hi all,

The following is an overview of where we currently are with CWS 
warnings01, and a discussion of how to continue:


CWS warnings01 is about making the C/C++ source code of OOo warning 
free, at least on the four main platforms (unxlngi6, unxsoli4, unxsols4, 
wntmsci10).  For those four platforms, we have already cleaned up a 
large fraction of the source code, but we are also aware that we will 
not manage to clean up the complete source code in the near future.


However, since it is planned to integrate further features on the OOo 
2.x code line, we want to make warnings01 available on that code line 
soon, so that further development can benefit from it.  Since the risk 
of breaking something is given for a CWS the size of warnings01, we want 
to integrate it early in a release cycle.  That makes integration into 
OOo 2.0.4 soon after OOo 2.0.3 has been finished (i.e., late May 2006) 
the target of choice for warnings01.


Since, as I said above, warnings01 will most probably not be completed 
by that date, the approach we favour is to integrate the clean-up we 
have done until then, and postpone clean-up of the missing modules to a 
later CWS warnings02.  Since we do work on warnings01 from bottom up, 
that means that the lower modules (plus the headers delivered from them) 
will be warning-free, while some upper modules will not yet be.


Now, an important issue is to not lose again what we have achieved, that 
is, to keep the warning-free module/platform combinations warning-free 
on the master after warnings01 is integrated.  The only reasonable way 
to do that IMO is to switch on the maximum useful warning level and to 
force warnings to be errors (i.e., what we already do on warnings01), 
for every build.  There are three details to note:


1  As long as the follow-up warnings02 has not been integrated, modules 
that are not yet warning-free must of course still be built with the old 
switches.  That is a transient problem, and we can control that via some 
hacky stuff in solenv.


2  All this is only relevant for those platforms that are declared 
warning-free (initially the four platforms mentioned above).  (If there 
are volunteers to make other platforms warning-free, too, that would be 
great; as was already mentioned earlier: the easiest way would probably 
to wait until warnings01 is integrated, and then start from there.)


3  ...but for those platforms that are declared warning-free (or 
partially warning-free, until warnings02 is also done), everybody has to 
agree that we switch on warnings are errors in the master once 
warnings01 is integrated.  It follows that, in an ideal world, every CWS 
should then be built on unxlngi6, unxsol{i|s}4 (sufficiently similar so 
that one of them ought to be enough), and wntmsci10, so that build 
breaks are found early, before integration.


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).  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
If anybody has an elegant solution to this problem, that would be great.

Lets discuss any concerns with this plan,
-Stephan

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



Re: [dev] Please help. I can't get registered at www.openoffic.org. Has been 2 weeks.

2006-03-01 Thread Charles-H.Schulz
Hello Bill,

Although I am not the administrator of the site nor its webmaster, I
took a look in the general members list and saw the two usernames you
have submitted. Please check your email filters. If there is really no
email message from SourceCast, let me know and I'll register you (again)
; you will be able to change your profile completely afterwards.

In regard of OOoForum, this site is a separate web site that is not run
by us nor by any parent organization; it is hence logical that you could
not enter your username and password.

Hope this helps,

Charles-H. Schulz,
Lead of the Native-Language
Confederation, OpenOffice.org
http://native-lang.openoffice.org

Bill Jones wrote:

 2-27-06

 I realize that you are not the correct person to contact about
 this but I have emailed [EMAIL PROTECTED] and
 [EMAIL PROTECTED] (I guessed at that one out of desperation),
 over the last 2 weeks and have gotten no replies.

 Username:  billjonesronald (also tried billjonesronald1)
 email:  [EMAIL PROTECTED]

 I have never received back a confirmation notice from the
 registering system
 containing my initial password!  I started this process on 2-13-06.




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



Re: [dev] Assistance

2006-03-01 Thread Charles-H.Schulz
Hello Paul,

welcome and thank you for your interest in OpenOffice.org!
We do have a documentation project here:
http://documentation.openoffice.org . Feel free to have a look at it.
I've put Mr. Gerry. Roderick Singleton, lead of the Documentation
project in copy.

Hope you will find some interest in this!

Best,
Charles-H. Schulz.

Paul Powenski wrote:

I could help writing documentation.
would like to know who what where a contributor does in the grand scheme
of things
Busy for the next few months I am finishing my Master's degree in
Information Security and have developed programs but not for a few years
now.
Dabble a bit with Java but nothing serious - yet.






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


  


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



Re: [dev] Error configuring Windows build environment

2006-03-01 Thread Chris H

Volker Quetschke wrote:




Most propably you have an invalid entry in your %PATH% variable.



Volker,

You are correct, it was a bad entry in the PATH variable. There was also 
another issue with the DirectX SDK. The instructions at 
http://tools.openoffice.org/dev_docs/build_windows_tcsh.html are not 
totally accurate. It states that the Summer 2004 SDK is not available 
any more. A quick Google gave me the link to download it.  
http://www.microsoft.com/downloads/details.aspx?FamilyId=FD044A42-9912-42A3-9A9E-D857199F888Edisplaylang=en


The configure script checks to see if the DirectX SDK is installed by 
locating a registry entry. This entry is not present with the 2005 or 
2006 SDK's, only with the 2004.


After that was cleared up it has been building for about 3 hours.

Thanks for the help.

--Chris

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



Re: [dev] how to insert an image into a cell (table cell)

2006-03-01 Thread Stephan Wunderlich

Hi,


I can insert an image into a doc at a given bookmart. That's fine.

But when I try to insert an image at a given bookmart that is inside a
table cell I got an excepcion. Reading the OO doc I understand that it's
not possible.

I appreciate any help or idea regarding how to insert an image into a table
cell.


The problem is the way you gain your XText ... something like

xText = bookmark.getAnchor().getText();
xTextCursor = xText.createTextCursor();
xText.insertTextContent(xTextCursor,picture, false);

should do the trick.

Hope that helps

Regards

Stephan

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



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

2006-03-01 Thread Thorsten Behrens
Stephan Bergmann [EMAIL PROTECTED] writes:

 It follows that, in an ideal world, every CWS should then be built
 on unxlngi6, unxsol{i|s}4 (sufficiently similar so that one of them
 ought to be enough), and wntmsci10, so that build breaks are found
 early, before integration.

and

 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 it is largely unrealistic to have every community CWS built on
the four mentioned platforms - unless we (Sun) do it ourselves (me
thinks that especially wntmsci10 will pose problems). Thus it's maybe
a bit moot to think about requesting self-contained OOo builds on top
of that (if we do it ourselves, it's for free anyway).

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

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]



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

2006-03-01 Thread Volker Quetschke



Thorsten Behrens wrote:

Stephan Bergmann [EMAIL PROTECTED] writes:

(snip)

I guess it is largely unrealistic to have every community CWS built on
the four mentioned platforms - unless we (Sun) do it ourselves (me
thinks that especially wntmsci10 will pose problems). Thus it's maybe
a bit moot to think about requesting self-contained OOo builds on top
of that (if we do it ourselves, it's for free anyway).

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

What about asking the community for these builds? We have currently a few
volunteer tinderbox clients running, see
  http://go-ooo.org/tinderbox/all_trees.express.html.
Those are mainly building master milestones because we don't know if there
is need for special CWSs to be verified. We could certainly need more
tinderbox clients, and sure enough we could need some framework to request
tinderbox builds, but what we have is a good start. See here for some
hints how to setup a tinderbox:
  http://wiki.services.openoffice.org/wiki/Tinderbox_Setup.
(It's on the wiki, improvements are very welcome.)

I would also love to see that master milestones would only be declared ready by
Hamburg RE if a few successfull community builds are reported, but that is
a different story.

  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-01 Thread Volker Quetschke

Volker Quetschke wrote:

You build in a mounted cygwin directory, that's also brave ;) Last time
(it's bin a while) I tried that, it actually worked for me, ...

s/bin/been/ Oops, :)

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-01 Thread Chris H
I was trying to build against OOA680_m1which looks like the latest
stable. What version should I be working with instead?  m156?

Thanks for your patience.

--Chris

On 3/1/06, Volker Quetschke [EMAIL PROTECTED] wrote:
 Volker Quetschke wrote:
  You build in a mounted cygwin directory, that's also brave ;) Last time
  (it's bin a while) I tried that, it actually worked for me, ...
 s/bin/been/ Oops, :)

 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



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



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

2006-03-01 Thread Volker Quetschke

Another stumbling block on my way to a Windows build of Open Office. I
am building on Windows 2003 using Visual Studio 2003. Here are my
configure options:


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



./configure --with-use-shell=tcsh --with-build-version=uberOffice
build 20060228 --with-nsis-path=$nsis --with-num-cpus=2

---^
Where did you find this one? Try -P2 for build.pl instead ;)
(Forget that, only do that after it works without parallel building. ;) )


--with-jdk-home=/cygdrive/c/j2sdk1.4.2_10
--with-ant-home=/cygdrive/c/ant --with-psdk-home=$psdk
--with-cl-home=$vchome --with-midl-path=$midlpath
--with-csc-path=$cscpath

The actual error is below. It says Cant Search
/home/build/oo/default_images.  That directory is present and has the
appropriate permissions.


You still wont tell us which version you are trying to build. Did
you search issuezilla for this problem? I can only say that it builds
fine for me.

You build in a mounted cygwin directory, that's also brave ;) Last time
(it's bin a while) I tried that, it actually worked for me, but who knows ...


  Volker



Any help would be appreciated.

--Chris



=
Building project automation
=
/home/build/oo/automation/packimages
mkout -- version: 1.5
-
--
Making: ../wntmsci10.pro/bin/images_tt.zip
cp  /home/build/oo/solver/680/wntmsci10.pro/res/img/stt*.ilst
../wntmsci10.pro/misc
cp  /home/build/oo/solver/680/wntmsci10.pro/res/img/svt*.ilst
../wntmsci10.pro/misc
cp  /home/build/oo/solver/680/wntmsci10.pro/res/img/fps*.ilst
../wntmsci10.pro/misc
cp  /home/build/oo/solver/680/wntmsci10.pro/res/img/vcl*.ilst
../wntmsci10.pro/misc
mkdir.pl  ../wntmsci10.pro/bin
/usr/bin/perl /home/build/oo/solenv/bin/packimages.pl -g
/home/build/oo/default_images -m /home/build/oo/default_images -c .
/util -l ../wntmsci10.pro/misc -o ../wntmsci10.pro/bin/images_tt.zip
packimages -- version: 1.12
packimages: ERROR: can't search directory: '/home/build/oo/default_images'

FAILURE: packimages aborted.
dmake:  Error code 2, while making '../wntmsci10.pro/bin/images_tt.zip'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/build/oo/automation/packimages
dmake:  Error code 1, while making 'build_instsetoo_native'
---* tg_merge.mk *---

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



--
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-01 Thread Volker Quetschke



Chris H wrote:

I was trying to build against OOA680_m1which looks like the latest
stable. What version should I be working with instead?  m156?

No, how about the current release candidate, RC4, aka. OOB680_m5.

This will most propably not fix your problem, but configure should
be able to work with the 2006 DirectX SDK.

You say:
 The actual error is below. It says Cant Search
 /home/build/oo/default_images.  That directory is present and has the
 appropriate permissions.
Did you try? What does:
$ ls -l /home/build/oo | grep default_images
show?

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

   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-01 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.

--Chris


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