Re: [dev] Plugin Patent ?

2005-01-20 Thread Ken Foskey
On Thu, 2005-01-20 at 20:04 +0100, [EMAIL PROTECTED] wrote:
> A Plugin Patent exists, what we do on OpenOffice 2.0 for that ?

Please provide more specific details.  If it is the one that IE got sued
for then it is not appropriate for OOo.

PS:  Do not use reply to start a new thread it causes your message to
come under another thread leading to confusion.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD built with one error.

2005-01-21 Thread Ken Foskey
Good work...  Here is the only error I get.

***
ERROR: HostName not defined for gid_Dir_User_Autotext_Language for
specified language.
in function: checking_directories_with_corrupt_hostname
Saved
logfile: 
/data2/office/instsetoo_native/unxlngi6.pro/OpenOffice/logging/en-GB/log_SRC680__en-GB.log


-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: we broke gcc again...

2005-01-24 Thread Ken Foskey

Making: ../../unxlngi6.pro/slo/presentation.obj
ccache g++-3.4 -Wuninitialized -fmessage-length=0 -c -I.  -I. -I../inc
-I../../inc -I../../unx/inc -I../../unxlngi6.pro/inc -I.
-I/data2/office/solver/680/unxlngi6.pro/inc/stl
-I/data2/office/solver/680/unxlngi6.pro/inc/external
-I/data2/office/solver/680/unxlngi6.pro/inc
-I/data2/office/solenv/unxlngi6/inc -I/data2/office/solenv/inc
-I/data2/office/res -I/data2/office/solver/680/unxlngi6.pro/inc/stl
-I/data2/office/solenv/inc/Xp31 -I/opt/jdk/include
-I/opt/jdk/include/linux-I/opt/jdk/include/native_threads/include
-I/usr/X11R6/include -I. -I../../res -I. -g1 -O3   -pipe
-march=pentiumpro -Wno-ctor-dtor-privacy -include preinclude.h
-fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC
-DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/include/c++/3.4 -DCVER=C300
-D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA
-DSRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD
-o ../../unxlngi6.pro/slo/presentation.o 
/data2/office/slideshow/source/engine/presentation.cxx
In file included
from /data2/office/slideshow/source/engine/presentation.cxx:175:
./rehearsetimingsactivity.hxx: In member function `FuncT
presentation::internal::RehearseTimingsActivity::for_each_sprite(FuncT)
const':
./rehearsetimingsactivity.hxx:193: internal compiler error: in
resolve_overloaded_unification, at cp/pt.c:9351
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see .
dmake:  Error code 1, while making
'../../unxlngi6.pro/slo/presentation.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while
making /data2/office/slideshow/source/engine



-- 
Ken Foskey
OpenOffice.org developer



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



[dev] development wiki

2005-01-28 Thread Ken Foskey

I have been using a wiki for http://www.communitycode.org/ and this is a
really great idea.  Is there one for the development documentation of
OOo?

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] which gcc

2005-02-01 Thread Ken Foskey
On Sun, 2005-01-30 at 23:42 +, MadMac wrote:
> Which gcc is recommended to compile OOo_1.9.m74_src under linux ?

gcc 3.2 or better is required.

gcc 3.4 is recommended.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] OOo 1.9.75 module slideshow (internal compiler error)

2005-02-01 Thread Ken Foskey
On Mon, 2005-01-31 at 17:37 +0900, NAKATA Maho wrote:

> o emum fix
> http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html

This is tested for and is not the issue.

Visibility is not required only recommended, if it is then this is a
bug.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] open xls and doc files

2005-02-05 Thread Ken Foskey
On Sat, 2005-02-05 at 13:53 +0100, [EMAIL PROTECTED] wrote:
> I will ask, how you open Excel files with OpenOffice. I'm a php developmer 
> and i'm writing at class for php, which can read and also write excel and 
> word files. 
> 
> This class can now only write this files in the moment . 
> 
> And i don't know, how i can Read a file. 
> 
> Can you help me, with a docu or  anything else?

For excel you might want to look at the perl modules that handle that.
Probably closer to your implementation.

There are answers to your question is the dev@sw.openoffice.org list.
Please search the archives for more information.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Make W32-tcsh the default instead of W32-4nt

2005-02-09 Thread Ken Foskey
On Tue, 2005-02-08 at 18:25 -0500, Volker Quetschke wrote:

> Opinions on this? IMHO W32-tcsh is the more common and better
> tested build environment at the moment and I'd like configure
> to reflect this.

+1

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: xsl problem failing build

2005-02-09 Thread Ken Foskey

mv ../../unxlngi4.pro/misc/ooo/readme.xrm.unxlngi4.pro 
../../unxlngi4.pro/misc/ooo/readme.xrm
rm -f ../../unxlngi4.pro/misc/ooo/readme.xrm.unxlngi4.pro
mkdir: cannot create directory `../../unxlngi4.pro/misc/': File exists
sed 's|xmlns:xt="http://www.jclark.com/xt";||;s|
extension-element-prefixes="xt"||;s|.*xt:document.*||;s|||' < ../readme.xsl > ../readme2.xsl
xsltproc -o ../../unxlngi4.pro/misc/readme_en-US.html \
 --stringparam os1 LINUX \
 --stringparam gui1 UNX \
 --stringparam cp1 INTEL \
 --stringparam com1 GCC \
 --stringparam lang1 en-US \
 --stringparam type html \
 ../readme2.xsl \
  ../../unxlngi4.pro/misc/ooo/readme.xrm
compilation error: file ../readme2.xsl line 5 element stylesheet
xsl:version is missing: document may not be a stylesheet


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] HEAD: xsl problem failing build

2005-02-09 Thread Ken Foskey
On Wed, 2005-02-09 at 11:52 +0100, Joerg Barfurth wrote:

> Please go ahead and file an issue. But I can't see why such a bug needs 
> to be announced as 'HEAD breakage' on the general dev list.

I only identify that a build breaks because of the variability of the
HEAD being buildable I cannot determine whether this is a valid problem
hence the email.  I started raising bug reports and this wasted
resources, this was a suggested compromise with RE.

The alternative is for RE to constantly monitor http://ooo.ximian.com
tinderbox on HEAD to ensure that they have indeed picked up the problems
and notify the builder when they see problems that RE is not going to
address.  I would be happier with this suggestion as it reduces the
perception of 'constantly broken because of the emails' which is what a
tinderbox is supposed to do.

Finally I have built with an available option for configure that RE does
not test therefore my tinderbox is ensuring that OOo builds for everyone
not just the standard cases.  I am pleased we have picked up a bug as a
result, my time is well spent stopping someone else have this problem.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: dbaccess

2005-02-10 Thread Ken Foskey

Building project dbaccess
=
/data2/office/dbaccess/source/ui/imagelists
mkout -- version: 1.4
../../unxlngi4.pro/inc/myworld.mk: No such file or directory.
--
Making: ../../unxlngi4.pro/misc/imglst.dpr
rm -f ../../unxlngi4.pro/misc/imglst.dpr  >& /dev/null
dmake  -f makefile.mk product="full" NO_HIDS=true
make_srs_deps=true ../../unxlngi4.pro/misc/imagelists.imglst.dprr
mkout -- version: 1.4
../../unxlngi4.pro/inc/myworld.mk: No such file or directory.
dmake:  Error: -- `imagelists.src' not found, and can't be made
'---* tg_merge.mk *---'


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] HEAD: dbaccess - patch

2005-02-10 Thread Ken Foskey
On Thu, 2005-02-10 at 20:42 +1100, Ken Foskey wrote:
> Building project dbaccess
> =
> /data2/office/dbaccess/source/ui/imagelists
> mkout -- version: 1.4
> ../../unxlngi4.pro/inc/myworld.mk: No such file or directory.
> --
> Making: ../../unxlngi4.pro/misc/imglst.dpr
> rm -f ../../unxlngi4.pro/misc/imglst.dpr  >& /dev/null
> dmake  -f makefile.mk product="full" NO_HIDS=true
> make_srs_deps=true ../../unxlngi4.pro/misc/imagelists.imglst.dprr
> mkout -- version: 1.4
> ../../unxlngi4.pro/inc/myworld.mk: No such file or directory.
> dmake:  Error: -- `imagelists.src' not found, and can't be made
> '---* tg_merge.mk *---'

This gets past the first error:

cvs server: Diffing .
Index: makefile.mk
===
RCS file: /cvs/dba/dbaccess/source/ui/imagelists/makefile.mk,v
retrieving revision 1.4
diff -r1.4 makefile.mk
62c62
< PRJ=..$/..
---
> PRJ=..$/..$/..
75c75
< SRC1FILES=imagelists.src
---
> SRC1FILES=dbimagelists.src


Then you get this error:

/data2/office/dbaccess/util
dmake:  Error: -- `../unxlngi4.pro/srs/uiimglst.srs' not found, and
can't be made
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /data2/office/dbaccess/util


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] re: HEAD: we broke gcc again...

2005-02-19 Thread Ken Foskey
On Tue, 2005-02-01 at 13:28 -0200, marcio.macedo wrote:
> I've applied the patch described in
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19311 
> against gcc 3.4.3-20050125 (fedora core 3) and it worked. 

Debian gcc 3.4 on unstable now works correctly through head.  Gives
exactly three failures the same as gcc 3.3 see http://ooo.ximian.com
tinderbox for details search for 'Error code' to locate the specific
problems.  I have patched sysintf to show error: from now on to make my
life easier.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: break and patch sc

2005-02-28 Thread Ken Foskey
Here is a fix that compiles and looks logical with the other calls to
GetRoot:

/data2/office/sc/source/filter/excel/xeview.cxx:400: error: parse error
before `,' token


Index: xeview.cxx
===
RCS file: /cvs/sc/sc/source/filter/excel/xeview.cxx,v
retrieving revision 1.2
diff -r1.2 xeview.cxx
400c400
< XclExpWindow2( GetRoot(), maData, mnGridColorId ).Save( rStrm );
---
> XclExpWindow2( rStrm.GetRoot(), maData,
mnGridColorId ).Save( rStrm );
412c412
< XclExpPane( GetRoot(), maData ).Save( rStrm );
---
> XclExpPane( rStrm.GetRoot(), maData ).Save( rStrm );

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: break and patch for basctl - gcc33 problem

2005-02-28 Thread Ken Foskey
Compiling with gcc 3.3 gave me this error, patch follows.

/data2/office/basctl/source/dlged/dlged.cxx:641: error: parse error
before `|' token


Index: source/dlged/dlged.cxx
===
RCS file: /cvs/script/basctl/source/dlged/dlged.cxx,v
retrieving revision 1.36
diff -r1.36 dlged.cxx
641c641
< Wallpaper aWallpaper( Color( COL_WHITE ) );
---
> Wallpaper aWallpaper = Wallpaper( Color( COL_WHITE ) );


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] HEAD: break and patch for basctl - gcc33 problem

2005-02-28 Thread Ken Foskey
On Mon, 2005-02-28 at 18:11 +0100, Pavel Janík wrote:
>From: Ken Foskey <[EMAIL PROTECTED]>
>Date: Mon, 28 Feb 2005 23:29:47 +1100
> 
> Ken,
> 
>> Compiling with gcc 3.3 gave me this error, patch follows.
>> 
>> /data2/office/basctl/source/dlged/dlged.cxx:641: error: parse error
>> before `|' token
> 
> is this already filed in IZ? I can't find it.

I used to get in trouble for raising issues too early.  The agreement is
that I would post on the list for build breaks rather than raise a build
problem.  Unless I am advised otherwise.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] building 3.4 and failing...

2005-03-01 Thread Ken Foskey

I am getting errors like this on gcc 3.4 when I can build successfully
on gcc 3.3.

ccache gcc-3.4 -z combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared
-L../unxlngi6.pro/lib -L../lib -L/data2/office/solenv/unxlngi6/lib
-L/data2/office/solver/680/unxlngi6.pro/lib
-L/data2/office/solenv/unxlngi6/lib -LNO_JAVA_HOME/lib
-LNO_JAVA_HOME/jre/lib/i386 -LNO_JAVA_HOME/jre/lib/i386/client
-LNO_JAVA_HOME/jre/lib/i386/native_threads
-L/usr/X11R6/lib ../unxlngi6.pro/slo/vos3gcc3_version.o 
../unxlngi6.pro/slo/vos3gcc3_description.o -o 
../unxlngi6.pro/lib/libvos3gcc3.so ../unxlngi6.pro/slo/bytarray.o 
../unxlngi6.pro/slo/bytestrm.o ../unxlngi6.pro/slo/conditn.o 
../unxlngi6.pro/slo/mutex.o ../unxlngi6.pro/slo/object.o 
../unxlngi6.pro/slo/refernce.o ../unxlngi6.pro/slo/socket.o 
../unxlngi6.pro/slo/thread.o ../unxlngi6.pro/slo/stream.o 
../unxlngi6.pro/slo/module.o ../unxlngi6.pro/slo/timer.o 
../unxlngi6.pro/slo/process.o ../unxlngi6.pro/slo/security.o 
../unxlngi6.pro/slo/signal.o ../unxlngi6.pro/slo/pipe.o 
../unxlngi6.pro/slo/xception.o -luno_sal -ldl -lpthread -lm -Wl,-Bdynamic 
-lstlport_gcc
../unxlngi6.pro/slo/bytarray.o(.gnu.linkonce.d._ZTIN3vos10OByteArrayE
+0x0): undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'


Note that I cannot be sure however configure updated. and the CVER
define is now -DC341 which changes the nature of the code.  I think that
the -DC341 is based on version not whether the gcc has visibility
patches in it or not.

This is probably issue 
http://qa.openoffice.org/issues/show_bug.cgi?id=34676

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] building 3.4 and failing...

2005-03-01 Thread Ken Foskey
On Tue, 2005-03-01 at 22:22 +1100, Ken Foskey wrote:
> I am getting errors like this on gcc 3.4 when I can build successfully
> on gcc 3.3.
> 
> ccache gcc-3.4 -z combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared
> -L../unxlngi6.pro/lib -L../lib -L/data2/office/solenv/unxlngi6/lib
> -L/data2/office/solver/680/unxlngi6.pro/lib
> -L/data2/office/solenv/unxlngi6/lib -LNO_JAVA_HOME/lib
> -LNO_JAVA_HOME/jre/lib/i386 -LNO_JAVA_HOME/jre/lib/i386/client
> -LNO_JAVA_HOME/jre/lib/i386/native_threads
> -L/usr/X11R6/lib ../unxlngi6.pro/slo/vos3gcc3_version.o 
> ../unxlngi6.pro/slo/vos3gcc3_description.o -o 
> ../unxlngi6.pro/lib/libvos3gcc3.so ../unxlngi6.pro/slo/bytarray.o 
> ../unxlngi6.pro/slo/bytestrm.o ../unxlngi6.pro/slo/conditn.o 
> ../unxlngi6.pro/slo/mutex.o ../unxlngi6.pro/slo/object.o 
> ../unxlngi6.pro/slo/refernce.o ../unxlngi6.pro/slo/socket.o 
> ../unxlngi6.pro/slo/thread.o ../unxlngi6.pro/slo/stream.o 
> ../unxlngi6.pro/slo/module.o ../unxlngi6.pro/slo/timer.o 
> ../unxlngi6.pro/slo/process.o ../unxlngi6.pro/slo/security.o 
> ../unxlngi6.pro/slo/signal.o ../unxlngi6.pro/slo/pipe.o 
> ../unxlngi6.pro/slo/xception.o -luno_sal -ldl -lpthread -lm -Wl,-Bdynamic 
> -lstlport_gcc
> ../unxlngi6.pro/slo/bytarray.o(.gnu.linkonce.d._ZTIN3vos10OByteArrayE
> +0x0): undefined reference to `vtable for
> __cxxabiv1::__si_class_type_info'
> 
> 
> Note that I cannot be sure however configure updated. and the CVER
> define is now -DC341 which changes the nature of the code.  I think that
> the -DC341 is based on version not whether the gcc has visibility
> patches in it or not.
> 
> This is probably issue 
> http://qa.openoffice.org/issues/show_bug.cgi?id=34676
> 

I changed the C341 to C300 and HEAD builds with exactly the same
problems as gcc 3.3 so there is definitely something being introduced
here.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] building 3.4 and failing...

2005-03-02 Thread Ken Foskey
On Tue, 2005-03-01 at 21:29 +0100, Pavel Janík wrote:
>From: Ken Foskey <[EMAIL PROTECTED]>
>Date: Tue, 01 Mar 2005 22:22:12 +1100
> 
>> ccache gcc-3.4 -z combreloc -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -shared
> [...]
>> ../unxlngi6.pro/slo/bytarray.o(.gnu.linkonce.d._ZTIN3vos10OByteArrayE
>> +0x0): undefined reference to `vtable for
>> __cxxabiv1::__si_class_type_info'
> 
> Shouldn't you link with g++?

Seems to have been the problem.  Must find that issue again and make the
same comment there.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] HEAD: simple patch for desktop

2005-03-03 Thread Ken Foskey
stderr not defined...

===
RCS file: /cvs/framework/desktop/source/migration/services/jvmfwk.cxx,v
retrieving revision 1.4
diff -u -r1.4 jvmfwk.cxx
--- jvmfwk.cxx  27 Jan 2005 14:27:09 -  1.4
+++ jvmfwk.cxx  3 Mar 2005 11:10:49 -
@@ -58,6 +58,7 @@
  *
  *

/
+#include 

 #include "cppuhelper/implbase4.hxx"
 #include "cppuhelper/implementationentry.hxx"


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Help with Free Software Magazine

2005-04-24 Thread Ken Foskey
On Sun, 2005-04-24 at 00:51 +0800, Tony Mobily IMAP wrote:

> I created an OpenOffice document (see attach) which basically follows 
> the specs, assigning a different style to XML equivalent. I manupulated 
> it with Word a little bit, because that's what's going to happen to it 
> when it goes through copy editing.

At the OOo miniconf at linux.conf.au there was a process to merge in
documentation into a template.  It avoided XML (There are traps to
this...) it simply replaced keywords in the document with text simplest
approach is:

unzip
cat document.xml | sed 's/{$MYVAR}/some value I want to see/g' > new
zip

This was so simple and fast.  This process could help you a lot.  I was
going to write a sample perl module and put it somewhere in the tree
when I get time.

Traps are if you get actual XML inside the text you replace you could
end up in trouble.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Thoughts on CVS?

2005-04-26 Thread Ken Foskey
On Mon, 2005-04-25 at 15:31 -0400, Daniel Carrera wrote:
> Hi all,
> 
> This is just one of those "Daniel is curious" questions :-)
> 
> What are your thoughts on CVS? Most OOo developers are Sun developers. 
> What SCM do you use at Sun?
> 
> CVS is sort of the de-facto standard in the FOSS world, but I also know 
> that it's a bit old and doesn't do the things that modern SCM's do 
> (renaming a file!). So I'd like to hear some thoughts.

CVS is fine for small centralised projects.  It is really awful for
larger open source projects.

>From my point of view the problem is lack of distributed control so that
things like diffs etc take a long time to do.

> On a related topic, if I wanted to play around with a SCM, which would 
> you recommend? (open source svp). Some times I wish I had one. Right 
> now, when I work on a program, I keep doing a 'cp -r'.
> 
> I'm looking at Darcs right now. It looks neat.

>From my point of view I would do nothing until the current SCM wars
settle down.  Linus has thrown the gauntlet down and a lot of SCM
projects are doing great things but this also makes them a little
unstable.

subversion is an enhanced CVS and improves things.  Does not make
fundamental improvements.

aegis is a forced testing framework that has a source repository as
well.

archs latest release is badly broken.

I went to the http://bazaar-ng.org presentation at LCA it looks like the
future of source control but it really is raw.

Ubuntu Linux is throwing a lot of weight to baz, an archs derivative
with easier command structures and faster performance.  If I was jumping
today I would definitely look at this.  They are actively canvasing
support from other teams.  Seems like a great idea.


I want to write a proposal on implementing a replacement for CVS so I
have been spending some time learning about this stuff.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Issue 4925

2005-04-26 Thread Ken Foskey
On Mon, 2005-04-25 at 10:05 -0400, [EMAIL PROTECTED]
wrote:
> Hello,
> 
> For the past three years this issue has gone unresolved.  In an 
> attempt to bring more attention to this BUG, I am reaching out to my 
> community.  I am pleading for someone to resolve this issue.   Every 
> developer that uses Ooo for manipulating data and saving it as a CSV file 
> has to find another application (MS Excel) to get there work done.  Please 
> help us.
> 
> http://www.openoffice.org/issues/show_bug.cgi?id=4925
> 

Try this in excel:

Format a column short so that you get  for field overflow.
Write to a CSV file.
Look at it, the field is ### in the export file.

There are flaws with the MS model.

There probably should be an option however I have heard that the major
problem is the lack of certain functions (from spreadsheet people).
Basically what is your major problem is not others.  There are other
methods of solving your problem so you could work around it or just work
with your own external formatting rules therefore it is not a major show
stopper even for you.  It is more of an annoyance.

CSV is a really bad format, I have seen csv files from excel loaded into
excel that are totally different.  I have seen interoperability problems
with csv files between applications.  I STRONGLY recommend you abandon
csv files as a method of transporting data between applications.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Thoughts on CVS?

2005-04-26 Thread Ken Foskey
On Tue, 2005-04-26 at 23:09 +0200, David Fraser wrote:
> Martin Hollmichel wrote:
> > Daniel Carrera wrote:

> >> I kind of like the idea of just grabbing my own branch and playing 
> >> with it, and doing my own commits, without having to touch the 
> >> central server. And then if it turns out I produce something 
> >> worthwhile I can try to get it approved.
> >>
> > It seems that you got the idea of having childworkspaces :)
> 
> Correct me if I'm wrong, but childworkspaces still touch the central 
> server, they just operate on a private branch...

Yes, you are correct.  The concept of the new SCM tools are a
fundamental shift in the way you work.  The ability to branch and merge
externally on your own tree appeals to me.  For example when a new CWS
is created internally for review there is a period of time until the
merge, during that time I want to be able to merge that branch into my
tree then when head merges with that branch I want the merge to actually
work.  The new SCM tools do that.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Thoughts on CVS?

2005-04-27 Thread Ken Foskey
On Wed, 2005-04-27 at 08:24 +0200, Martin Hollmichel wrote:


> * what actual problem we do have with the current CVS setup now,

a) performance
b) functionality - eg merging is a pain.

>  which of these problem do we really need to address urgently ?

None.  I was responding to a comment that CVS the way OOo uses it
provides all the functionality that the community requires.  This is not
true.

>  In Usenet, comp.software.config-mgmt 
> might be a good resource for this.

This is a largely CVS centric newsgroup, however...


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



Re: [dev] Writing Code for OOo - Introduction

2005-04-28 Thread Ken Foskey
On Wed, 2005-04-27 at 16:48 -0400, Merrell, Douglas Stuart wrote:
> Hi,
> 
> I want to get involved (anti-M$) but I don't know where to start.  I
> am currently reading the Developer's Guide to get acquainted with the
> architecture.  I mainly want to write Java code but I also use to
> write C++.  I know XML completely and work with XML at a functional
> level professionally.  My B.S. is in Computer Science and I'm a Sun
> Certified Programmer... studying for the Developer Exam in my free
> time.
> 
> I was wondering if I could start out providing
> patches/fixes/enhancements to existing code first and build up a base
> level of knowledge about how the different modules interact?

I have a problem with beanshell that I need help with:

http://www.openoffice.org/issues/show_bug.cgi?id=48187

Regarding the rest, mainly what things interest you most apart from
languages.  There are a lot of tings that need to be done it is better
to direct you to a project that interests you.  Possibly you offer help
in the http://xml.openoffice.org project.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] error on head

2005-04-28 Thread Ken Foskey

Has anyone seen this error and have anything to fix it?

... languages ENUS ... 

**
ERROR: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectory
**

**
ERROR: Saved
logfile: 
/data/office/instsetoo_native/unxlngi6.pro/OpenOffice/logging/ENUS/log_SRC680__ENUS.log
**
... analyzing files ...
ERROR: The following files could not be found: 
ERROR: File not found: shared_ENUS.zip
ERROR: File not found: sdatabase_ENUS.zip
ERROR: File not found: sbasic_ENUS.zip
ERROR: File not found: schart_ENUS.zip
ERROR: File not found: autotextshare_ENUS.zip
ERROR: File not found: palettes_ENUS.zip
ERROR: File not found: tpllayoutimpr_ENUS.zip
ERROR: File not found: tplpresntimpr_ENUS.zip
ERROR: File not found: tplwizdesktop_ENUS.zip
ERROR: File not found: tplwizfax_ENUS.zip
ERROR: File not found: tplwizagenda_ENUS.zip
ERROR: File not found: tplwizmemo_ENUS.zip
ERROR: File not found: tplwizreport_ENUS.zip
ERROR: File not found: tplwizstyles_ENUS.zip
ERROR: File not found: wordbook_ENUS.zip
ERROR: File not found: swriter_ENUS.zip
ERROR: File not found: scalc_ENUS.zip
ERROR: File not found: sdraw_ENUS.zip
ERROR: File not found: simpress_ENUS.zip
ERROR: File not found: smath_ENUS.zip
... cleaning the output tree ...
Fri Apr 29 09:18:55 2005 (00:03 min.)
dmake:  Error code 255, while making 'openoffice_ENUS'
'---* tg_merge.mk *---'

ERROR: next directories could not be built:
/data/office/instsetoo_native/util

ERROR: please check these directories and build the corresponding
module(s) anew!!


-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] idlc on Windows

2005-05-11 Thread Ken Foskey
On Wed, 2005-05-11 at 11:10 +0200, Jürgen Schmidt wrote:
> Hi Jorge,
> 
> this is a bug and it is interesting that nobody until now have detected 
> this bug. Please submit an issue to me.
> A workaround would be to install the SDK in a path without spaces.

Paths with spaces issue is documented in the build guides.  We probably
should check and error these in configure.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] ./configure before compiling problem with cups

2005-05-17 Thread Ken Foskey
On Tue, 2005-05-17 at 07:44 -0700, Vizion wrote:

> please read original email carefully:
> You will see that I do have cups.h

But it is not in your standard compiler search path:

>AC_CHECK_HEADER(cups/cups.h, [],
> [AC_MSG_ERROR([cups/cups.h could not be found. 
> libcupsys2-dev or cups???-devel missing?])], [])
> 

This piece of configure requires the compiler to pick it up without
changes try something to serch an additional search path, from memory
-I /path/to/my/cups/includes/

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] ssh key problem

2005-05-26 Thread Ken Foskey
On Thu, 2005-05-26 at 17:38 +1000, Jim Watson wrote:
> On Thu, May 26, 2005 at 01:52:11AM +0200, konrad wrote:
> 
> > cvs -d:pserver:[EMAIL PROTECTED]:/cvs login
> > (I know that it is stupid to do that without successfully establishing 
> > tunnel first, but whatever:)
> > R:
> > Logging in to :pserver:[EMAIL PROTECTED]:2401/cvs
> > CVS password:
> > cvs [login aborted]: connect to localhost(127.0.0.1):2401 failed: 
> > Connection refused
> 
> When I had something vaguely similar, the problem was caused by running a
> cvs server on the local machine.
> 
> see http://qa.openoffice.org/issues/show_bug.cgi?id=15992

You can use a different port like 2402 instead to make it work.  I have
seen other do this and kicked myself for not thinking of it first.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] circular dependency in tools/

2005-05-28 Thread Ken Foskey
In head has anyone figured out how to get rid of the circular
dependency.  In order to link some libraries inside tools you have to
have already linked tools.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] circular dependency in tools/

2005-05-29 Thread Ken Foskey
On Sun, 2005-05-29 at 20:16 +0200, Pavel Janík wrote:
>From: Ken Foskey <[EMAIL PROTECTED]>
>Date: Sun, 29 May 2005 00:39:34 +1000
> 
> Ken,
> 
>> In head has anyone figured out how to get rid of the circular
>> dependency.  In order to link some libraries inside tools you have to
>> have already linked tools.
> 
> what is the error message? What lib in tools needs what library?

libtl, the tools library itself.   Hence the recursive nature of the
problem.

THanks
Ken


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



[dev] missing scslots.hxx

2005-06-01 Thread Ken Foskey
/data/office/binfilter/bf_sc/source/ui/app/sc_scmod.cxx:183:23:
scslots.hxx: No such file or directory

Plus lots of other errors, probably related...

froddo: /data/office
$ find . -name scslots.hxx

Anyone seen this file :-)

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] missing scslots.hxx

2005-06-01 Thread Ken Foskey
On Wed, 2005-06-01 at 22:04 +1000, Ken Foskey wrote:
> /data/office/binfilter/bf_sc/source/ui/app/sc_scmod.cxx:183:23:
> scslots.hxx: No such file or directory
> 
> Plus lots of other errors, probably related...
> 
> froddo: /data/office
> $ find . -name scslots.hxx
> 
> Anyone seen this file :-)

rscdep failed to build...

Sorry for the noise.

-- 
Ken Foskey
OpenOffice.org developer



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



[dev] scp12 problem

2005-06-02 Thread Ken Foskey
Head is really good shape appart from this error:

/data/office/scp2/util
--
Making: ../unxlngi6.pro/bin/osl/setup_osl.ins
/usr/bin/perl /data/office/solenv/bin/par2script.pl
-i ../unxlngi6.pro/par,/data/office/solver/680/unxlngi6.pro/par
@@/tmp/mksrEWop -o ../unxlngi6.pro/bin/osl/setup_osl.ins

par2script
-i ../unxlngi6.pro/par,/data/office/solver/680/unxlngi6.pro/par
@@/tmp/mksrEWop -o ../unxlngi6.pro/bin/osl/setup_osl.ins
ERROR: Could not include definition block. Found no definition of
gid_File_Lib_LibXMLSec_xmlseccore!
dmake:  Error code 255, while making
'../unxlngi6.pro/bin/osl/setup_osl.ins'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /data/office/scp2/util

froddo: /data/office/scp2
$         

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] scp12 problem

2005-06-03 Thread Ken Foskey
On Fri, 2005-06-03 at 13:46 +0200, Gérald Fenoy wrote:
> Hi,
> I had this error in the past, you could solve this by using the mozilla 
> option from configure : --with-mozilla .  But you also need to have the 
> mozilla source or a precompiled one ... :/
> I'm a n00b in the compilation mechanism of openoffice so if I say 
> something wrong thank to inform me :)

So breakage is related to --disable-mozilla

Raising issue http://www.openoffice.org/issues/show_bug.cgi?id=50284

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Urgent

2005-06-10 Thread Ken Foskey
On Fri, 2005-06-10 at 08:01 -0700, Doaa Shawky wrote:
> Dear Sir,
>  I downloaded the source of openoffice and I need to separate the code 
> of the Writer and the Calc components from other components for 
> research reasons. Is there any documentation that can help me to determine 
> the 
> code related to each component individually?

There is a huge amount of common code this is why it is not worth
separating the applications.

sw is the source dir for writer,  sc for the calc part.  This is only a
very small portion of the whole.  Now what were you actually wanting to
study?



-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] MSWord File Structure

2005-06-10 Thread Ken Foskey
On Thu, 2005-06-09 at 12:53 -0400, Hesham Ahmed wrote:
> Hi, i'm looking for information about the roadmap (file structure or 
> definition) of DOC file of microsoft word. My purpose is to understand it to 
> build an application to extract information out of word .doc file. Thanks 
> for supporting me.

why, how many, how often, what for?

scripting OOo could help you.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] HOW to build ONLY swriter ?

2005-06-13 Thread Ken Foskey
On Mon, 2005-06-13 at 11:07 +0700, Tran Vien Du wrote:
> Hi all,
> 
> Please tell me how to build ONLY swriter.
> NO building scalc, simpress, smath, sdraw.
> Please reading Issue 50643 !

download all the source, configure as per normal and cd to sw directory
and `build --all`

There are about 1,001 other issues to deal with, apart from building it.
Once you have done this and compare the size to the whole build you will
find that there is very little difference.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] re: using ant to create source from .idl file

2005-06-23 Thread Ken Foskey
On Wed, 2005-06-22 at 15:11 -0400, James Black wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I am hoping that someone could send me a sample of creating source from
> the .idl file, as it appears that there are a few steps to do this task.

There is however you might want to describe why you want to do this and
for what language binding so that you can get accurate help.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] dmake query

2005-07-12 Thread Ken Foskey
On Mon, 2005-07-11 at 14:34 -0700, [EMAIL PROTECTED] wrote:
> I believe I do everything called for in the instructions
> for building on wintel using cygwin. I run ./configure and
> get the right results. I jump into tcsh (then get some
> goofy Badly placed ()'s. 
> 
> When I type ./bootstrap, I get:
> cp: cannot stat
> `/cygdrive/c/downloads/openOffice/sdk1.9.109/SRC680_m109/dmake/d
> make.exe': No such file or directory

Just a guess try

cd dmake
make clean
cd ..
./bootstrap

There is a bug with the bootstrap if the executable already exists
sometimes.



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



Re: [dev] Warning-Free Code

2005-08-30 Thread Ken Foskey
On Mon, 2005-08-29 at 17:59 +0200, Stephan Bergmann wrote:

> If someone think it's reasonable to suppress a warning, this must be 
> discussed with the team members. It should also be discussed in public, 
> using the mailing list [EMAIL PROTECTED] Please start the subject with 
> “compiler warnings:”.

* Initially I would suggest -Wno-reorder (I think)

There are a HUGE number of errors caused simply by the order of the
variables in the class declaration and I have only found one instance
where it indicated a real error (parent initialisation depended on child
data).  The needle for this one is small and the haystack particularly
large.  Because of the pervasiveness of this change merges afterwards a
PAINFUL!  I speak from experience.  I would think about doing this
module by module as a separate exercise.

* Second possibly -Wno-unknown-pragmas.

There are a few pragmas for VC that are in the code and don't really
affect things.  I have bracketted them but effort for return is fairly
low.


* Before you start you might want to merge cws waratahbasctl.  This is a
warnings cws that has lingered for want of a QA person.  Have a look at
the assignment bug contained within.

* I also have a large number of patches that I can apply to save you
time.  I will also volunteer to assist :-)

* In the interim I would recommend adding immediately BY DEFAULT
-Wparentheses to the gcc compile.  This really does highlight a number
of problems with the code, good return error for extra warning ratio.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Warning-Free Code

2005-08-30 Thread Ken Foskey
On Mon, 2005-08-29 at 17:59 +0200, Stephan Bergmann wrote:

> Warning free code is a basic precondition for robust industrial quality 
> code. This as well is current scientific knowledge as the result of the 
> personal experience of Hamburg-internal engineers, as well as the 
> opinion of some OpenOffice.org developers like e.g. Ken Foskey.

So I would actually recommend against an all out warnings push unless
everyone is VERY clear the objective is to highlight bugs not to remove
warnings.  The difference in objectives is very important.

** If in doubt leave it alone. **

I am also concerned that then process will become a template fix.

if( fp = fopen( "file", "r" )) {

can become:

if( (fp = fopen( "file", "r")) ) {

If I assign someone to clean up the error, say a junior programmer
because it is menial, and we have this code:

if( x = 4 ) {

They may very well apply the 'template' solution hiding a useful
warning.

if( (x = 4) ) {

That useful warning being removed is WORSE than the problem of many
warnings.  This gets really tricky when you get into essoteric C++
warnings.

The objective of the push should be to highlight bugs by removing as
many warnings with obvious solutions as possible.  If in doubt leave the
warning!

As Pavel has hinted it is possibly better to work through one warning
class at a time, eg assignment bugs. This can be discussed so that the
approach to each is correct, eg don't just bracket them.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Warning-Free Code

2005-08-30 Thread Ken Foskey
On Tue, 2005-08-30 at 18:50 +0200, Mathias Bauer wrote:
> Ken Foskey wrote:
> > On Mon, 2005-08-29 at 17:59 +0200, Stephan Bergmann wrote:
> > 
> >> If someone think it's reasonable to suppress a warning, this must be 
> >> discussed with the team members. It should also be discussed in public, 
> >> using the mailing list [EMAIL PROTECTED] Please start the subject with 
> >> “compiler warnings:”.
> > 
> > * Initially I would suggest -Wno-reorder (I think)
> > 
> > There are a HUGE number of errors caused simply by the order of the
> > variables in the class declaration and I have only found one instance
> > where it indicated a real error (parent initialisation depended on child
> > data).  The needle for this one is small and the haystack particularly
> > large.  Because of the pervasiveness of this change merges afterwards a
> > PAINFUL!  I speak from experience.  I would think about doing this
> > module by module as a separate exercise.
> 
> Just to make sure that I understood correctly: you suggest to ignore
> these warnings but work on it in a subsequent CWS?
> 
> This is a real useful warning that can find some really nasty errors, so
>  we should definitely work on keeping it activated, but of course if
> there are so much places that trigger the warning it could be a good
> idea to postpone it to a later CWS.

Yes,  In my experience this warning leads to a lot of changes.  Doing
this initialy will make the whole process really tedious, (as opposed to
simply tedious).

It will also break a lot of merges of patches.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Warning-Free Code

2005-09-04 Thread Ken Foskey
On Fri, 2005-09-02 at 09:58 +0200, Nikolai Pretzell wrote:
> Hi all,
> 
>  > Ken Foskey wrote:
> >> So I would actually recommend against an all out warnings push unless
> >> everyone is VERY clear the objective is to highlight bugs not to remove
> >> warnings.  The difference in objectives is very important.
> 
> Yes, but given the mass of code we have, the only way I see to really 
> "highlight bugs", is to remove as much as all warnings.

I consider myself a very experienced developer and to boot I have worked
through a huge amount of warnings removal in several programs.  I have
been caught before between the subtle difference between warning removal
and removing warnings for the purpose of highlighting bugs.

Experience is not the issue,  mundane means that even experienced
programmers will hide the bug by correcting the warning.

The goal of the task is to highlight bugs by removing obvious warnings
then taking your time to eliminate the rest.  Do this too fast and your
fingers and quick solutions will take over.  I speak from experience.

Thanks
Ken Foskey
OpenOffice.org Programmer


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