Re: [dev] German *.src / *_tmpl.hrc entries now UTF8 and a flag file in module/prj introduced

2005-10-24 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Ivo,

(and no, neither my IDE's editor nor my fallback editor (TextPad)
currently seem to recognize UTF-8 :( )
 
 I don't know what IDE you use. My msdev opens resources files well.

Hmm, I opened dbaccess/source/ui/browser/sbabrw.src from src.m133, and
msdev showed me only garbage instead of umlauts.

Investigating this, it seems I accidentally hit one of the few files
which does not have the Byte order marker, and thus is broken. Other
files with umlauts open fine in msdev (and, well, also in my fallback
text editor :).

Okay, what do I have to do to repair this file?

However, it would have
been nice to address those new problems before doing the change, IMO.
 As 95% of all editors are able to read/write UTF8 I didn't saw any 
 reason to do so.

The fact that you know (and obviously tested with at least msdev) this
shows that you *did* care for those potential problems beforehand. I
just got the impression you didn't because the one file I tried was
broken, and I assumed it was my editor, not the file ... Sorry.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Database   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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



Re: [dev] German *.src / *_tmpl.hrc entries now UTF8 and a flag file in module/prj introduced

2005-10-24 Thread Mathias Bauer
Ivo Hinkelmann wrote:
 Hi Frank,
 
 Frank Schönheit - Sun Microsystems Germany wrote:
 
 Today, the process for new strings involves specifying both the germany
 and the english string in the spec document, and writing them into the
 .src (done by the developer). If the german string is not to be entered
 at source-level anymore, how would this work? Would only the english
 string be specified, and the german version is part of the usual
 translation process?
 
 Yes why not! To handle German as a usual translation language has a lot 
 of benefits:
 
 - In a international open source project having German source language 
 strings looks a bit strange to me ( and confuse non German speaking 
 developers a lot )
 
 - There is only one truth . Imagine you have two strings where en-US 
 and de translation does not match. What is the real one ? We already 
 had such cases.

Usually the german text is the real one because most people creating
the UI specs are native german speakers and we usually need a native
english speaker to create useful english texts.

So IMHO we still need the german strings in the specifications. The only
alternative is to have native english speakers writing the specification
part dealing with the strings, but that is unlikely to happen.

This change is good for building the code but it is not well prepared
IMHO because it creates problems for the specification process.

Ciao,
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] German *.src / *_tmpl.hrc entries now UTF8 and a flag file in module/prj introduced

2005-10-24 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Mathias,

 Usually the german text is the real one because most people creating
 the UI specs are native german speakers and we usually need a native
 english speaker to create useful english texts.
 
 So IMHO we still need the german strings in the specifications. The only
 alternative is to have native english speakers writing the specification
 part dealing with the strings, but that is unlikely to happen.

The fact that native German speakers write the specs doesn't mean that
the German strings don't need linguistic review ;). So, I don't see *too
much* of a difference if we would decide that specs from now on only
contain English strings - linguistic review is needed in any case.

If the spec writer is not able to express the intended meaning of a UI
text to *at least* the extent that the linguistic rewiewer understands
it, and can make a clean English text out of it ... well, then the
spec writer is doing something wrong (by writing an English spec), anyway.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Database   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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



Re: [dev] new Bie Add-on question

2005-10-24 Thread Mathias Bauer
S Sridhar wrote:
 Hi, I am just started looking into open office to add some international
 text processing  capabilities.
 
 Could you please let me know a tutorial or a small document on how to write
 the hello World add-on.
 
 
 I looked into dev guide
 (DevelopersGuide/Components/Components.htm#1+7+3+Add-Ons) but it hasnt given
 the way to write the handlers for these menu and toolbar actions...

I'm not sure wether I understood your question completely, but I assume
you want to know how you have to write your code to get it called from
the Add-On menu and toolbar entries.

When GUI elements in OOo are used to execute a function they look for so
called Dispatch objects that implement the UNO interface
com.sun.star.frame.XDispatch. Such objects are provided by so called
Dispatch Provider objects implementing (usually amongst others) the
interface com.sun.star.frame.XDispatchProvider. Dispatch Providers
decide wether they can handle a command or not.

In the case of Add-Ons the Dispatch Providers are called Protocol
Handlers because they are responsible for a set of commands identified
by their protocol. It's called protocol because it is syntactically
identical with the protocol part of a URL. The Protocol Handler is
registered at the OOo framework through a configuration file that tells
the framework which handler is responsible for which protocol. To avoid
name clashes the protocol(s) of each project should have a unique name
usually enabled by a proper name space.

So more or less you have to implement a Protocol Handler and its
Dispatch objects. This is described in the DevGuide to a suitable extent
IMHO.

We are currently working on ways to ease this process. The idea is to
have a code generator that automatically creates the Protocol Handler
code an large parts of the Dispatch objects. But it will still take some
weeks or months to deliver this in the necessary quality.

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] proposal: springlayout dialog layout implementation

2005-10-24 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Caolan,

 So as an alternative suggestion I used a springlayout implementation to
 provide a layout system for dialogs within the current dialog framework
 which just requires adding extra data to the dialog resources to specify
 which controls are below/left/right/above and by how much relative to
 another control or surrounding dialog.

I did not dive too deeply into the articles you linked, but as a
sporadic UI developer, I would highly welcome *any* change which allows
us to make OOo UI design less cumbersome. It cannot get any worse than
the current situation, which very obviously dates back from the last
century ...

Your springs, as far as I understood them so far :), sound very
promising to me, and I would vote for investigating this approach
further ...

Thanks  Ciao
Frank

-- 
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Database   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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



[dev] TreeListBox access via UNO

2005-10-24 Thread Florian Reuter

Hi,

I found that there is a UnoControlListBoxModel service available. I 
wonder whether a service for TreeListBoxModel is available via the SDK?


Thanks,

Florian

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



Re: [dev] TreeListBox access via UNO

2005-10-24 Thread Laurent Godard

Hi Florian,

I found that there is a UnoControlListBoxModel service available. I 
wonder whether a service for TreeListBoxModel is available via the SDK?




what do you mean with tree list box ?
a Tree view displaying nodes and childs ?

if yes, no that i'm aware of
But it would be really great

it is imho the only one that is missing

Laurent

--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org
Indesko  http://www.indesko.com
Nuxeo CPS  http://www.nuxeo.com - http://www.cps-project.org
Livre Programmation OpenOffice.org, Eyrolles 2004

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



[dev] Re: [com] a BIG thank you

2005-10-24 Thread Charles-H.Schulz
Thank you Jacqueline!
I'd also like to thank all the PR team, the development teams up there
in Hamburg, and of course all the Native-Language communities who are
working out there towards the final localization of the 2.0...
After all these days it's rather moving to see the 2.0 getting a life of
its own while the development goes towards the next release.

Best Regards to everybody,

Charles.


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



[dev] Contributing Cocoa Mac OS X

2005-10-24 Thread Jean-Paul


Hello,

I read on (computer technology related) news sites that Open Office is 
going to be ported to Mac OS X using the Aqua interface. As I know how 
to use Cocoa I would like to see if I can contribute to this project. 
Unfortunately all contributing links on the oenoffice.org homepage seem 
to link to X11 darwin ports.


If it is possible for me to help writing code for OOo on the Mac, I'd 
like to hear from you soon.


My hardware:
1,33 GHz PowerBook, having 256 MB RAM
Mac OS X version 10.3 (Panther) and Xcode 1.5

My expierience:
Approx. 1 year of C programming using gcc on Linux and djgpp, LCCWin 
and MS Visual C++ 6.0 (SP6) on WIndows.

Approx. 6 months of Xcode (Cocoa apps) on Mac OS X.

With kind regards,

Jean-Paul Rommens


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



[dev] Getting started - make troubles

2005-10-24 Thread Billy Charlton
I'm getting started with contributing code to OOo. I've followed the
guide at go-oo.org for setting up my development environment but have
run into a problem with make.

I've run ./autogen.sh in the ooo-build directory and it says
everything's ready to go.  But when I say 'make', I get the following:

[EMAIL PROTECTED]:~/projects/ooo/ooo-build$ make
Making all in po
make[1]: Entering directory `/home/billy/projects/ooo/ooo-build/po'
make[1]: *** No rule to make target `yes', needed by `all-am'.  Stop.
make[1]: Leaving directory `/home/billy/projects/ooo/ooo-build/po'
make: *** [all-recursive] Error 1

No rule to make target 'yes'?  That sounds a little funny. Sounds like a
variable substitution problem in the configure script.  Or a missing tool?

Could I be missing a dependency?  I've got all the regular dev libraries
and tools installed, or so I thought (autoconf, automake, bison, flex,
gcc, jdk...).

Is there another web resource I can look at to help get me up to speed here?

Thanks everyone!

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



[dev] Contribution request from a newbie programmer

2005-10-24 Thread gurkan

Hi!

I am a newbie programmer and I want to contribute this project. I don't know
where to start. I need some help to choose a field to contribute. 

Thanks for your interest...

Gürkan İndibay
 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
 


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



[dev] Programming for OpenOffice.org XML File Format

2005-10-24 Thread Volodia
I would like to do some programming on

Project: XML File Format
Area:validating parser

validating parser
The XT parser we currently employ does not validate against the BD.
Providing UNO wrappers for a validating parser, such as libxml would solve
this deficiency.

I have 10+ years C++ experience.

Thanks,

Vlad.


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



[dev] Debug version won't restart

2005-10-24 Thread Alan Yaniger

Hi list-memebers,

I've built a Windows version which enables the debug console, and which 
I've been using productively. Today I opened the debug console, and 
changed the setting for debug output of  either Trace or Warning (I 
don't remember which) to be directed to Debugger. OOo then crashed. 
When I try to restart OOo, I get the document recovery screen, with no 
documents in the recover list. Pressing the OK button just gives me the 
same screen, so I can't get into OOo. I'm stuck. I've tried uninstalling 
and reinstalling, manually deleting the Documents and 
Settings/xxx/Application Data/OpenOffice.org2 directory and Program 
Files/OpenOffice.org directory, going through the Windows registry and 
manually deleting all keys and values that refer to the directory of 
this installation of OOo. Nothing works. I am able to open non-debug 
versions of OOo on my disk, but not my debug version. Can someone help out?


Thanks,
Alan

--
Alan Yaniger
Tk Open Systems

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

Re: [dev] Debug version won't restart

2005-10-24 Thread Mathias Bauer
Alan Yaniger wrote:
 Hi list-memebers,
 
 I've built a Windows version which enables the debug console, and which 
 I've been using productively. Today I opened the debug console, and 
 changed the setting for debug output of  either Trace or Warning (I 
 don't remember which) to be directed to Debugger. OOo then crashed. 
 When I try to restart OOo, I get the document recovery screen, with no 
 documents in the recover list. Pressing the OK button just gives me the 
 same screen, so I can't get into OOo. I'm stuck. I've tried uninstalling 
 and reinstalling, manually deleting the Documents and 
 Settings/xxx/Application Data/OpenOffice.org2 directory and Program 
 Files/OpenOffice.org directory, going through the Windows registry and 
 manually deleting all keys and values that refer to the directory of 
 this installation of OOo. Nothing works. I am able to open non-debug 
 versions of OOo on my disk, but not my debug version. Can someone help out?

By deleting the user data you should have solved the problem of
autorecovery starting each time when you start OOo.

Obviously your debug version still crashes when you start it, is that
correct? How exactly did you build that version?

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] Getting started - make troubles

2005-10-24 Thread Joerg Barfurth

Hi Billy,

Billy Charlton schrieb:

I'm getting started with contributing code to OOo. I've followed the
guide at go-oo.org for setting up my development environment but have
run into a problem with make.



You should look at go-oo.org, if they have a mailing list to support the 
 ooo-build environment (there is a #go-ooo - or similar - channel on 
irc.freenode.net).


The ooo-build build environement is different from the one used by the 
openoffice.org project proper, which is what people on this mailing list 
(or on dev@tools.openoffice.org for build issues) are familiar with.


Ciao, Joerg

--
Joerg Barfurth  Sun Microsystems - Desktop - Hamburg
 using std::disclaimer 
Software Engineer [EMAIL PROTECTED]
OpenOffice.org Configuration  http://util.openoffice.org


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



Re: [dev] Debug version won't restart

2005-10-24 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Alan,

 I've built a Windows version which enables the debug console, and which 
 I've been using productively. Today I opened the debug console, and 
 changed the setting for debug output of  either Trace or Warning (I 
 don't remember which) to be directed to Debugger.

This means whenever a trace or warning is issued, this is directed into
the debugger - if you don't run the process within a debugger, this
manifests itself as crash.
And chances are good that during the crash recovery, and during the very
initial office starts, there are a lot of traces and maybe warnings,
which will all provoke a crash - bad idea to change this settings :)

Look for a file called dbgsv.ini (probably in your program directory)
and delete it. It stores the debug settings, so by deleting it you reset
those settings to their defaults.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Database   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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



Re: [dev] Error compiling OO.o

2005-10-24 Thread Jens-Heiner Rechtien

Hi,

you use gcc-3.4.1, right? Apply the attached patch to your gcc, rebuild 
gcc and recompile everything. Or just use gcc-3.4.x with x  1.


Heiner

Dark Shadow wrote:

I have been trying to compile from source and I am having the following
problem would anyone know a fix or workaround.

Making: ../../unxlngi6.pro/bin/vcl680en-US.res
using rsc multi-res feature
rsc -presponse @/tmp/mkFq6bDm  /dev/null
f256: Error: !! 1 Error found!!
dmake: Error code 1, while making '../../unxlngi6.pro/misc/rsc_vcl'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/home/darkshadow/OOo_2.0.0rc3_src/vcl/source/src
dmake: Error code 1, while making 'build_instsetoo_native'
'---* tg_merge.mk *---'



This is not my first problem but it is the first I can't find a fix for the
other is discribed here with a fix
http://qa.openoffice.org/issues/show_bug.cgi?id=44027




--
Jens-Heiner Rechtien
[EMAIL PROTECTED]
===
RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
retrieving revision 1.322.2.11
retrieving revision 1.322.2.12
diff -u -r1.322.2.11 -r1.322.2.12
--- gcc/gcc/fold-const.c2004/05/31 23:15:12 1.322.2.11
+++ gcc/gcc/fold-const.c2004/07/10 18:23:53 1.322.2.12
@@ -3535,7 +3535,13 @@
   HOST_WIDE_INT hi;
   int prec;
 
-  prec = TYPE_PRECISION (etype);
+  /* For enums the comparison will be done in the underlying type,
+so using enum's precision is wrong here.
+Consider e.g. enum { A, B, C, D, E }, low == B and high == D.  */
+  if (TREE_CODE (etype) == ENUMERAL_TYPE)
+   prec = GET_MODE_BITSIZE (TYPE_MODE (etype));
+  else
+   prec = TYPE_PRECISION (etype);
   if (prec = HOST_BITS_PER_WIDE_INT)
{
  hi = 0;

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

[dev] Re: [tools-dev] Soltools

2005-10-24 Thread Volker Quetschke

Hi Rajith,


Hi
I got the pass in the stlport error. In winenv.bat i 
manually changed


IF DEFINED STLPORT4 unset STLPORT4
set STLPORT4=NO_STLPORT4
to
set STLPORT4=C:\STLport-4.0

Then you are using an external stlport instead of the custom build/patched
OOo version. You're on your own if further problems arise.

But ...


Then i get a pass and within seconds another error in soltools occured.

Can anyone help me?

=
Building project soltools
=
C:\oo12\src\soltools\mkdepend
--
Making:..\wntmsci9.pro\obj\cppsetup.obj
c:\visualstudio\VC98\bin -Zm200 -c -nologo -Gs -Gy  -I.  -I. -I..\inc 
-I..\inc -
I..\WIN\inc -I..\wntmsci9.pro\inc -I. 
-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\
dont_use_stlport-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\external 
-Ic:\oo12\src
\solver\645\wntmsci9.pro\inc -Ic:\oo12\src\solenv\wntmsci9\inc 
-Ic:\oo12\src\sol
env\inc -Ic:\oo12\src\res 
-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\dont_use_stl
-Ic:\j2sdk1.4.0_04\include\win32 -Ic:\j2sdk1.4.0_04\include 
-Ic:\visualstudio\V

C98\include-Ic:\PSDK\include -I-I. -I..\res -I. -Ob1 -Ox -Oy- -Gd

-^ this one is easy. Either you or configure made an error
and lost the needed separation there.

This might also have been your stlport problem, but you never send
your winenv.bat.

Or answer the question what hangs if you build with cygwin tcsh?

See: http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
although the rest of that page is always worth to read.


-DWNT
-DWNT -DNT351 -DMSC -DMI200 -DINTEL -D_USE_NAMESPACE -D_X86_=1  
-DFULL_DESK -DS
TLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT 
-DCPPU_ENV=msci -DSUPD
=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE 
-DEXCEPTIO
NS_OFF -DCUI -DSOLAR_JAVA -DSRX645  -DNO_X11 -DXP_PC -DHW_THREADS 
-DINCLUDEDIR=\
.\ -DSINGLETHREAD -DWIN32 -D_DLL -DWIN32 -D_DLL -W3 
-Fo..\wntmsci9.pro\obj\cpp

setup.obj cppsetup.c

Cflags: -Zm200 -c -nologo -Gs -Gy  -I.  -I. -I..\inc -I..\inc 
-I..\WIN\inc -I..\
wntmsci9.pro\inc -I. 
-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\stlport-Ic:\oo12\
src\solver\645\wntmsci9.pro\inc\external 
-Ic:\oo12\src\solver\645\wntmsci9.pro\i
nc -Ic:\oo12\src\solenv\wntmsci9\inc -Ic:\oo12\src\solenv\inc 
-Ic:\oo12\src\res
-Ic:\oo12\src\solver\645\wntmsci9.pro\inc\stl 
-Ic:\j2sdk1.4.0_04\include\win32 -

Ic:\j2sdk1.4.0_04\include -Ic:\visualstudio\VC98\include-Ic:\PSDK\include -I
-I. -I..\res -I. -Ob1 -Ox -Oy- -Gd
c:\visualstudio\VC98\bin\cl.exe @D:\DOCUME~1\Aksa\LOCALS~1\Temp\mk15
cppsetup.c
def.h(39) : fatal error C1083: Cannot open include file: 'stdio.h': No 
such file

or directory
dmake:  Error code 130, while making '..\wntmsci9.pro\obj\cppsetup.obj'
---*TG_SLO.MK*---

ERROR: Error 65280 occurred while making C:\oo12\src\soltools\mkdepend
dmake:  Error code 129, while making 'build_all'



Regards,

Rajith



http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/[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] Debug version won't restart

2005-10-24 Thread Alan Yaniger

Hi Mathias,

This is how I ran configure:

./configure 
--with-frame-home=/cygdrive/c/MS_Visual_Studio.NET_2003/SDK/v1.1 
--with-jdk-home=/cygdrive/c/j2sdk1
-disable-directx --with-ant-home=/cygdrive/c/apache-ant-1.6.2 
--with-nsis-path=/cygdrive/c/NSIS --with-use-shel

with-num-cpus=2 --with-lang=he --with-dict=HE_IL,EN_US --enable-dbgutil

Then I sourced the resulting winenv.set, and ran dmake.
I've used this build many times in the past, and it's worked fine. Today 
was the first time that I changed the trace setting to debugger, and 
that is what triggered the problem.


Alan

Mathias Bauer wrote:


Alan Yaniger wrote:
 


Hi list-memebers,

I've built a Windows version which enables the debug console, and which 
I've been using productively. Today I opened the debug console, and 
changed the setting for debug output of  either Trace or Warning (I 
don't remember which) to be directed to Debugger. OOo then crashed. 
When I try to restart OOo, I get the document recovery screen, with no 
documents in the recover list. Pressing the OK button just gives me the 
same screen, so I can't get into OOo. I'm stuck. I've tried uninstalling 
and reinstalling, manually deleting the Documents and 
Settings/xxx/Application Data/OpenOffice.org2 directory and Program 
Files/OpenOffice.org directory, going through the Windows registry and 
manually deleting all keys and values that refer to the directory of 
this installation of OOo. Nothing works. I am able to open non-debug 
versions of OOo on my disk, but not my debug version. Can someone help out?
   



By deleting the user data you should have solved the problem of
autorecovery starting each time when you start OOo.

Obviously your debug version still crashes when you start it, is that
correct? How exactly did you build that version?

Best regards,
Mathias

 




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



[dev] Problem installing SVG import filter

2005-10-24 Thread Francesco Comi
Hi there,
I just downloaded and installed (i tryed) the UNO package of the SVG
import filter for Openoffice 1.9.129:
http://www.ipd.uni-karlsruhe.de/~hauma/svg-import/

I followed the instructions on the Filter page but OO cannot enable the filter.
Only draw_svg_Import.xcu is enabled, while svg_import.jar and
svg_type.xcu remain disabled. I Sun java 1.5.0 update5, so I think
that this is not a java problem...

The error that I get is:
(com.sun.star.lang.DisposedException) { { { Message = URP_Bridge :
disposed\X000a(tid=10) Unexpected connection closure, Context =
(com.sun.star.uno.XInterface) 0x0 } } }

Hope you can help me,
Thanks.
Francesco

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



Re: [dev] Problem installing SVG import filter

2005-10-24 Thread Bernhard Haumacher
Hi,

while this looks not like a direct problem of the filter, I've told
Francesco to try to ask at dev...

What could cause such connection break down?


Best regards
Bernhard

Francesco Comi wrote:
 Hi there,
 I just downloaded and installed (i tryed) the UNO package of the SVG
 import filter for Openoffice 1.9.129:
 http://www.ipd.uni-karlsruhe.de/~hauma/svg-import/
 
 I followed the instructions on the Filter page but OO cannot enable the 
 filter.
 Only draw_svg_Import.xcu is enabled, while svg_import.jar and
 svg_type.xcu remain disabled. I Sun java 1.5.0 update5, so I think
 that this is not a java problem...
 
 The error that I get is:
 (com.sun.star.lang.DisposedException) { { { Message = URP_Bridge :
 disposed\X000a(tid=10) Unexpected connection closure, Context =
 (com.sun.star.uno.XInterface) 0x0 } } }
 
 Hope you can help me,
 Thanks.
 Francesco

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



Re: [dev] Error compiling OO.o

2005-10-24 Thread Dark Shadow
Thanks I will try recompiling gcc as I am using 3.4.1, I know this is not a
gcc board but if you knew about this patch you should know this as it has
been along time since I compiled gcc during LFS setup and I just want to
know if this process would work correct as I remember I think it was more
then just configure,make,make install

uncompress tarball and cd in
patch the file
../gcc-3.4.1/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++
*previous line was saved from original compile*
make
make install

On 10/24/05, Jens-Heiner Rechtien [EMAIL PROTECTED] wrote:

 Hi,

 you use gcc-3.4.1, right? Apply the attached patch to your gcc, rebuild
 gcc and recompile everything. Or just use gcc-3.4.x with x  1.

 Heiner

 Dark Shadow wrote:
  I have been trying to compile from source and I am having the following
  problem would anyone know a fix or workaround.
 
  Making: ../../unxlngi6.pro/bin/vcl680en-US.res
  using rsc multi-res feature
  rsc -presponse @/tmp/mkFq6bDm  /dev/null
  f256: Error: !! 1 Error found!!
  dmake: Error code 1, while making '../../unxlngi6.pro/misc/rsc_vcl'
  '---* tg_merge.mk *---'
 
  ERROR: Error 65280 occurred while making
  /home/darkshadow/OOo_2.0.0rc3_src/vcl/source/src
  dmake: Error code 1, while making 'build_instsetoo_native'
  '---* tg_merge.mk *---'
 
 
 
  This is not my first problem but it is the first I can't find a fix for
 the
  other is discribed here with a fix
  http://qa.openoffice.org/issues/show_bug.cgi?id=44027
 


 --
 Jens-Heiner Rechtien
 [EMAIL PROTECTED]


 ===
 RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
 retrieving revision 1.322.2.11
 retrieving revision 1.322.2.12
 diff -u -r1.322.2.11 -r1.322.2.12
 --- gcc/gcc/fold-const.c 2004/05/31 23:15:12 1.322.2.11
 +++ gcc/gcc/fold-const.c 2004/07/10 18:23:53 1.322.2.12
 @@ -3535,7 +3535,13 @@
 HOST_WIDE_INT hi;
 int prec;

 - prec = TYPE_PRECISION (etype);
 + /* For enums the comparison will be done in the underlying type,
 + so using enum's precision is wrong here.
 + Consider e.g. enum { A, B, C, D, E }, low == B and high == D. */
 + if (TREE_CODE (etype) == ENUMERAL_TYPE)
 + prec = GET_MODE_BITSIZE (TYPE_MODE (etype));
 + else
 + prec = TYPE_PRECISION (etype);
 if (prec = HOST_BITS_PER_WIDE_INT)
 {
 hi = 0;



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




Re: [dev] CVS problems. Please do not cwsresync

2005-10-24 Thread Rüdiger Timm
I have not seen that error since friday. Allthough i56353 is still 'new' 
and its cause is unknown, for know I see no direct threat. You may 
'cwsresync' again.


Rüdiger


Rüdiger Timm wrote:
We currently have CVS problems which may lead to silent errors as 
described in i56353. Please atm do no resync any childworkspace, 
otherwise you may risk damaging it.


Rüdiger


-
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 compiling OO.o

2005-10-24 Thread Dark Shadow
I am having troubles with this patch as it will not apply against a clean
uncompress of gcc-3.4.1.tar.bz2 from gcc.gnu.org http://gcc.gnu.org I have
compared and the timestamp the patch is looking for is 6 hours ahead of the
one from the archive



patch -p1 --dry-run  ~/gcc-3.4.1.patch
patching file gcc/fold-const.c
Hunk #1 FAILED at 3535.
1 out of 1 hunk FAILED -- saving rejects to file gcc/fold-const.c.rej


ls -l gcc/fold-const.c
-rw-r--r-- 1 darkshadow users 292039 2004-05-31 17:15 gcc/fold-const.c


I don't want to use a different version of gcc as I have stuff that I
recompile often that needs to be compiled with the same version of gcc as
other stuff which I don't want to start recompiling and multiple gcc
versions just seems messy to me as I have had it before and had confusion


On 10/24/05, Jens-Heiner Rechtien [EMAIL PROTECTED] wrote:

 Hi,

 you use gcc-3.4.1, right? Apply the attached patch to your gcc, rebuild
 gcc and recompile everything. Or just use gcc-3.4.x with x  1.

 Heiner


 Jens-Heiner Rechtien
 [EMAIL PROTECTED]


 ===
 RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
 retrieving revision 1.322.2.11
 retrieving revision 1.322.2.12
 diff -u -r1.322.2.11 -r1.322.2.12
 --- gcc/gcc/fold-const.c 2004/05/31 23:15:12 1.322.2.11
 +++ gcc/gcc/fold-const.c 2004/07/10 18:23:53 1.322.2.12
 @@ -3535,7 +3535,13 @@
 HOST_WIDE_INT hi;
 int prec;

 - prec = TYPE_PRECISION (etype);
 + /* For enums the comparison will be done in the underlying type,
 + so using enum's precision is wrong here.
 + Consider e.g. enum { A, B, C, D, E }, low == B and high == D. */
 + if (TREE_CODE (etype) == ENUMERAL_TYPE)
 + prec = GET_MODE_BITSIZE (TYPE_MODE (etype));
 + else
 + prec = TYPE_PRECISION (etype);
 if (prec = HOST_BITS_PER_WIDE_INT)
 {
 hi = 0;



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




Re: [dev] TreeListBox access via UNO

2005-10-24 Thread Ian Laurenson
On Mon, 2005-10-24 at 10:15 +0200, Laurent Godard wrote:
On Mon, 2005-10-24 at 09:57 +0200, Florian Reuter wrote:
  I found that there is a UnoControlListBoxModel service available. I 
  wonder whether a service for TreeListBoxModel is available via the SDK?
 
 
 what do you mean with tree list box ?
 a Tree view displaying nodes and childs ?
 
 if yes, no that i'm aware of
 But it would be really great
 
 it is imho the only one that is missing

Hi Florian,
Great to met you at Koper!
Like Laurent I haven't been able to find one, and a tree control would
be great to have.

I have crudely implemented one in Basic, see OutlineCrossRef.sxw
available from http://homepages.paradise.net.nz/hillview/OOo/

Thanks, Ian



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



[dev] Calling function from ContextMenu

2005-10-24 Thread Daniel Beck

Hello ,


* I'm using Java, to access openOffice 2 UNO component. I'm trying to 
add items to the contextMenu inside OpenOffice - I used the example from 
sdk for that.


*Then the user choses the Item Search Word from the contextMenu, I 
want my own function to be called. The problem is : I don't know how to 
do that.
As I understand it, I have to use 
xMenuEntry.setPropertyValue(CommandURL, String). But which String to 
pass? Do I have to make an UNO component to call my own function from 
OpenOffice?


Thanks in advance ,

Daniel


*this is the example I took from sdk. It calls the help navigator. How 
to modify it, to call my own function, e.g.  void foo() ?



/**CODE/
// intialize help/content menu entry

XPropertySet xMenuEntry = (XPropertySet) UnoRuntime.queryInterface(
  XPropertySet.class,
  xMenuElementFactory.createInstance(
   com.sun.star.ui.ActionTrigger));

xMenuEntry.setPropertyValue(Text, Search Word);
xMenuEntry.setPropertyValue(CommandURL, slot:5401);
xMenuEntry.setPropertyValue(HelpURL, 5401);

/END OF CODE/

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



[dev] Re:soltools

2005-10-24 Thread Rajith Ravi
  
Hi Volker

Im sending my winenv.bat.

rem #
rem OpenOffice.org 645 build environment file for: WINNT. 
rem Generated on: Mon Sep 12 11:02:20 IST 2005 
rem Source this file to set up the build environment. 
rem 1. exec 4nt 
rem 2. source winenv.set 
rem #
IF DEFINED SRC_ROOT unset SRC_ROOT 
set SRC_ROOT=c:\oo12\src
IF DEFINED JAVA_HOME unset JAVA_HOME 
set JAVA_HOME=c:\j2sdk1.4.0_04 
IF DEFINED XSLTPROC unset XSLTPROC 
set XSLTPROC=NO_XSLTPROC 
IF DEFINED ANT_HOME unset ANT_HOME 
set ANT_HOME=c:\ant\apache-ant-1.6.5 
IF DEFINED JDKLIB unset JDKLIB 
set JDKLIB=c:\j2sdk1.4.0_04\lib 
IF DEFINED STLPORT4 unset STLPORT4 
set STLPORT4=C:\STLport-4.0
IF DEFINED ASM_PATH unset ASM_PATH 
set ASM_PATH=e:\98DDK\bin\win98 

IF DEFINED BUILD_SOSL unset BUILD_SOSL 
set BUILD_SOSL=true 
IF DEFINED LOCAL_SOLENV unset LOCAL_SOLENV 
set LOCAL_SOLENV=true 


rem 
rem Platform independent constant values. 
rem 
IF DEFINED DIC_DADK unset DIC_DADK 
set DIC_DADK=TRUE 
IF DEFINED DIC_DEDE unset DIC_DEDE 
set DIC_DEDE=TRUE 
IF DEFINED DIC_ENGB unset DIC_ENGB 
set DIC_ENGB=TRUE 
IF DEFINED DIC_ENUS unset DIC_ENUS 
set DIC_ENUS=TRUE 
IF DEFINED DIC_ITIT unset DIC_ITIT 
set DIC_ITIT=TRUE 
IF DEFINED DIC_RURU unset DIC_RURU 
set DIC_RURU=TRUE 
IF DEFINED RES_ENUS unset RES_ENUS 
set RES_ENUS=TRUE 
IF DEFINED CALL_CDECL unset CALL_CDECL 
set CALL_CDECL=TRUE 
IF DEFINED COMMON_OUTDIR unset COMMON_OUTDIR 
set COMMON_OUTDIR= 
IF DEFINED common_build unset common_build 
set common_build= 
IF DEFINED NO_SRS_PATCH unset NO_SRS_PATCH 
set NO_SRS_PATCH=true 
IF DEFINED PRODUCT unset PRODUCT 
set PRODUCT=full 
IF DEFINED PROFULLSWITCH unset PROFULLSWITCH 
set PROFULLSWITCH=product=full 
IF DEFINED BIG_GOODIES unset BIG_GOODIES 
set BIG_GOODIES=TRUE 
IF DEFINED BMP_WRITES_FLAG unset BMP_WRITES_FLAG 
set BMP_WRITES_FLAG=TRUE 
IF DEFINED BUILD_SOSL_RELEASE unset BUILD_SOSL_RELEASE 
set BUILD_SOSL_RELEASE=TRUE 
IF DEFINED MK_UNROLL unset MK_UNROLL 
set MK_UNROLL=TRUE 
IF DEFINED MULTITHREAD_OBJ unset MULTITHREAD_OBJ 
set MULTITHREAD_OBJ=TRUE 
IF DEFINED NO_REC_RES unset NO_REC_RES 
set NO_REC_RES=TRUE 
IF DEFINED PROEXT unset PROEXT 
set PROEXT=.pro 
IF DEFINED SO3 unset SO3 
set SO3=TRUE 
IF DEFINED SOLAR_PLUGIN unset SOLAR_PLUGIN 
set SOLAR_PLUGIN=TRUE 
IF DEFINED TF_PACKAGES unset TF_PACKAGES 
set TF_PACKAGES=TRUE 
IF DEFINED TF_FILEURL unset TF_FILEURL 
set TF_FILEURL=TRUE 
IF DEFINED TF_CFGDATA unset TF_CFGDATA 
set TF_CFGDATA=TRUE 
IF DEFINED TF_SVDATA unset TF_SVDATA 
set TF_SVDATA=TRUE 
IF DEFINED TF_SDBAPI unset TF_SDBAPI 
set TF_SDBAPI=ist_da 
IF DEFINED TF_UCB unset TF_UCB 
set TF_UCB=ist_da 
IF DEFINED UPDATER unset UPDATER 
set UPDATER=YES 
IF DEFINED build_deliver unset build_deliver 
set build_deliver=true 
IF DEFINED USE_NEWCHARSET unset USE_NEWCHARSET 
set USE_NEWCHARSET=TRUE 
IF DEFINED USE_NEW_RSC unset USE_NEW_RSC 
set USE_NEW_RSC=TRUE 
IF DEFINED VCL unset VCL 
set VCL=TRUE 
IF DEFINED USE_NAMESPACE unset USE_NAMESPACE 
set USE_NAMESPACE=TRUE 
IF DEFINED ENABLEUNICODE unset ENABLEUNICODE 
set ENABLEUNICODE=TRUE 
IF DEFINED NEW_JAR_PACK unset NEW_JAR_PACK 
set NEW_JAR_PACK=TRUE 
IF DEFINED NO_BSYMBOLIC unset NO_BSYMBOLIC 
set NO_BSYMBOLIC=TRUE 
IF DEFINED TF_FILTER unset TF_FILTER 
set TF_FILTER=TRUE 
IF DEFINED ENABLE_STATIC_GTK unset ENABLE_STATIC_GTK 
set ENABLE_STATIC_GTK=FALSE 
IF DEFINED PSPRINT unset PSPRINT 
set PSPRINT=TRUE 
IF DEFINED MKDEPENDSOLVER unset MKDEPENDSOLVER 
set MKDEPENDSOLVER=TRUE 

rem 
rem Platform dependent constant values. 
rem 
IF DEFINED SOLAR_JAVA unset SOLAR_JAVA 
set SOLAR_JAVA=TRUE 
IF DEFINED COM unset COM 
set COM=MSC 
IF DEFINED COMPATH unset COMPATH 
set COMPATH=c:\visualstudio\VC98 
IF DEFINED CPU unset CPU 
set CPU=I 
IF DEFINED CPUNAME unset CPUNAME 
set CPUNAME=INTEL 
IF DEFINED CVER unset CVER 
set CVER=MI200 
IF DEFINED DLLSUFFIX unset DLLSUFFIX 
set DLLSUFFIX=mi 
IF DEFINED GUI unset GUI 
set GUI=WNT 
IF DEFINED GLIBC unset GLIBC 
set GLIBC= 
IF DEFINED GUIBASE unset GUIBASE 
set GUIBASE=WIN 
IF DEFINED GUIENV unset GUIENV 
set GUIENV=WNT 
IF DEFINED GVER unset GVER 
set GVER=NT351 
IF DEFINED OS unset OS 
set OS=WNT 
IF DEFINED EXCEPTIONS unset EXCEPTIONS 
set EXCEPTIONS=dwarf2 
IF DEFINED PTHREAD_CFLAGS unset PTHREAD_CFLAGS 
set PTHREAD_CFLAGS= 
IF DEFINED PTHREAD_LIBS unset PTHREAD_LIBS 
set PTHREAD_LIBS= 
IF DEFINED OUTPATH unset OUTPATH 
set OUTPATH=wntmsci9 
IF DEFINED INPATH unset INPATH 
set INPATH=wntmsci9.pro 
IF DEFINED GVERDIR unset GVERDIR 
set GVERDIR=wntmsci9.pro 
IF DEFINED PATH_SEPERATOR unset PATH_SEPERATOR 
set PATH_SEPERATOR=; 
IF DEFINED COMEX unset COMEX 
set COMEX=9 
IF DEFINED BOTH unset BOTH 
set BOTH=TRUE 
IF DEFINED DEMO_ENV unset DEMO_ENV 
set DEMO_ENV=FALSE 
IF DEFINED DYNAMIC_CRT unset DYNAMIC_CRT 
set DYNAMIC_CRT=TRUE 
IF DEFINED SET_EXCEPTIONS unset SET_EXCEPTIONS 
set SET_EXCEPTIONS=TRUE 
IF DEFINED