[dev] Re: refactoring OUString

2011-06-10 Thread Stephan Bergmann
On Fri, Jun 10, 2011 at 6:51 AM, tora - Takamichi Akiyama t...@openoffice.org wrote: Sorry, this mail is too long... No problem, I'll briefly go through your five items one by one: 1. Delegation of the responsibility to choose a type of memory allocator To achieve both stability and

[dev] Re: refactoring OUString

2011-06-09 Thread Stephan Bergmann
On Thu, Jun 9, 2011 at 9:20 AM, tora - Takamichi Akiyama t...@openoffice.org wrote: That is why I would like to encourage programmers to take care of the life time of data. First of, I am doubtful that encouraging manual memory management is a good idea. Errors in manual memory management

[dev] Re: Build DEV300_m106 on Linux breaks in module vcl

2011-06-09 Thread Stephan Bergmann
On Tue, May 31, 2011 at 2:26 PM, Simon Wilper p9w.vu.31122...@gmx.dewrote: syschild.cxx makes use of jvmaccess::VirtualMachine and ImplTestJavaException in GetParentWindowHandle. But actually it should work --without-java since the code passages in question are surrounded by #ifdef

[dev] Re: __attribute__((packed)) for enum

2011-05-18 Thread Stephan Bergmann
On Wed, May 18, 2011 at 3:40 AM, tora - Takamichi Akiyama t...@openoffice.org wrote: How big benefits could we get when such structure or class instances are produced in large numbers? The produced in large numbers (plus processed in bursts of large chunks, I would say) is the crucial point,

[dev] Re: __attribute__((packed)) for enum

2011-05-17 Thread Stephan Bergmann
On Tue, May 17, 2011 at 8:44 PM, tora - Takamichi Akiyama t...@openoffice.org wrote: Any thoughts? Binary UNO requires that its enums are of specific size, but that should be taken care of by the dummy max-value element in each enum. Likewise for enums in the C/C++ URE ABI. Whether smaller

[dev] Re: DLL rebasing in OOo on Windows

2011-05-12 Thread Stephan Bergmann
On Thu, May 12, 2011 at 9:37 AM, Tor Lillqvist tlillqv...@novell.comwrote: Is there any public discussion or documentation on the rebasing done at various stages in OOo? When building, in postprocess each DLL is rebased so that they have unique base addresses, and don't overlap if loaded at

[dev] Re: RuntimeException: [msci_uno bridge error] UNO type of C++ exception unknown

2011-04-28 Thread Stephan Bergmann
I would first try and see whether some Windows debugger (MS Studio or WinDbg) lets you attach to soffice.exe and intercept C++ exceptions of type std::bad_alloc. (Running OOo throws and catches lots of exceptions, so intercepting all C++ exceptions might produce too much noise, but it should

[dev] Re: Problems building DEV300_m105

2011-04-15 Thread Stephan Bergmann
On 04/15/11 14:47, Kristján Bjarni Guðmundsson wrote: OK was able to build pango, with your instructions. However here is the next problem, I have already dmake and deliver jpeg, so I don't understand why it can't find the header file: [ build C ] svtools/source/filter/jpeg/jpegc jpegc.c

[dev] Re: How to find out whether the installed OOo is 32- or 64-bit

2011-04-11 Thread Stephan Bergmann
On 04/09/11 11:27, Rony G. Flatscher wrote: for an installation routine it is necessary to determine whether the installed version of OOo is 32- or 64-bit, as this determines which libraries and configuration should be installed. Is there a way to find that out (currently on Linux, but once

[dev] Re: How to find out whether the installed OOo is 32- or 64-bit

2011-04-11 Thread Stephan Bergmann
On 04/11/11 12:24, rony wrote: What I would be after would be to get this information at installation time without any user-interaction (most won't know what would be asked) in a platform independent manner. Something equivalent to a hyptohetic uninfo bitness returning either 32, 64 or 32 64

[dev] Re: How to find out whether the installed OOo is 32- or 64-bit

2011-04-11 Thread Stephan Bergmann
On 04/11/11 14:42, rony wrote: On 11.04.2011 13:16, Stephan Bergmann wrote: On 04/11/11 12:24, rony wrote: What I would be after would be to get this information at installation time without any user-interaction (most won't know what would be asked) in a platform independent manner

[dev] Re: oo 3.3: merging registry values different from oo 32 ?

2011-03-31 Thread Stephan Bergmann
On 03/30/11 18:57, Oliver Brinzing wrote: if extension A sets this value to false and extension B sets same value to true, extension B will win, if B is installed after A. If a value is set multiple times in a single configuration layer (and all the extensions that are installed, say, per

[dev] Re: oo 3.3: merging registry values different from oo 32 ?

2011-03-31 Thread Stephan Bergmann
On 03/31/11 11:51, Oliver Brinzing wrote: If a value is set multiple times in a single configuration layer (and all the extensions that are installed, say, per user are in one configuration layer) it has never been specified which setting wins. so it was pure luck that it worked till oo 3.2 ?

[dev] Re: Relative URL

2011-03-15 Thread Stephan Bergmann
On 03/14/11 20:05, Jan wrote: Writing file://./theDocument.odt gives me the error: URL seems to be an unsupported one The above is not a relative file URL, it is a file URL with authority . and absolute path /theDocument.odt. A file URL with such an authority is not supported by OOo.

[dev] Re: OOo Build on Win: unopkg prints debug info

2011-03-15 Thread Stephan Bergmann
On 03/15/11 09:24, Andor E wrote: I'm building OOo 3.2.1 on Windows. For some reason unopkg and other command line tools print trace info (inserting new mapping) to the console. I'm quite certain, that I didn't create a debug build. I've even defined an envionment variable DEBUG=false. But it's

Re: [dev] MacOSX+OOo3.3+Java: howto setup ?

2011-02-15 Thread Stephan Bergmann
On 02/15/11 11:54, Rony G. Flatscher wrote: trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3.

[dev] CWS going into DEV300_m100

2011-02-11 Thread Stephan Bergmann

Re: [dev] Re: Test case - source file correspondence?

2011-02-08 Thread Stephan Bergmann
On 02/08/11 11:06, Michael Stahl wrote: if you want to write a test for some UNO component written in Java, you can also use qadevOOo for that; qadevOOo is obsolete and only still there so that the old qa/unoapi and qa/complex tests continue to work with minimal modifications. For new

Re: [dev] OOo Windowsbuild with GNU compilers

2011-02-08 Thread Stephan Bergmann
On 02/08/11 12:10, Jan wrote: from the website I understand that the standard Windows build requires Microsoft compilers. Is there any plan to move this to using GNU compilers? I am having a really difficult time porting an extension from Linux to Windows because of MSVC features. There is a

Re: [dev] Re: [l10n-dev] Dictionaries in OOo 3.3

2011-02-01 Thread Stephan Bergmann
On 02/01/11 09:21, Ariel Constenla-Haile wrote: The problem is with the XCU file. The value of the Locations property is written in two lines: prop oor:name=Locations oor:type=oor:string-list value%origin%/es_AR.aff %origin%/es_AR.dic

Re: [dev] Packing custom XCU with custom build

2011-01-27 Thread Stephan Bergmann
On 01/26/11 16:22, Andor E wrote: I have created a custom XCU and schema. I want to distribute these files with my own OOo build. I have modified already a lot of makefiles and .lst files, but the build script doesn't pack my files. I haven't found any documentation either. Which files do I have

Re: [dev] Packing custom XCU with custom build

2011-01-27 Thread Stephan Bergmann
On 01/27/11 10:19, Andor E wrote: I'm sorry. I should have noted, that I'm building OOo 3.2.1. main.xcd and postprocess/packregistry seem to be new to OOo 3.3. Is there an equivalent in OOo 3.2.1? No, in 3.2.1, you will have to include your individual xcs/xcu files in scp2. -Stephan

Re: [dev] OO build with symbols not stripped

2011-01-27 Thread Stephan Bergmann
On 01/27/11 15:53, Viatcheslav.Sysoltsev wrote: I am trying to elaborate fix for http://www.openoffice.org/issues/show_bug.cgi?id=63383 (callouts copy icorrectly from Draw to Writer) but have some issues with OO build. I'd like to build OO with symbols to be able to debug it with gdb, but the

Re: [dev] OpenOffice.org 3.4 release and some changes

2011-01-20 Thread Stephan Bergmann
On 01/19/11 13:58, Martin Hollmichel wrote: On 01/19/2011 12:51 PM, Stephan Bergmann wrote: On 01/19/11 12:19, Martin Hollmichel wrote: * branch off for release will happen after stabilization phase Stabilization phase might be an unlucky term here. I hope it is not meant to imply

Re: [dev] loadComponentFromURL AttributeError

2011-01-20 Thread Stephan Bergmann
On 01/20/11 11:25, Sandro wrote: Hi I'm using uno from python. The script I use is working under Ubuntu 10.04 (OO 3.2) and Windows 2003 +OOo3 but in XP with OOo 3.2 (italian) is failing with an attribute error on loadComponentFromURL. Is the OOo3 you use with Windows 2003 the same version as

Re: [dev] Re: loadComponentFromURL amp; AttributeError

2011-01-20 Thread Stephan Bergmann
On 01/20/11 13:43, Sandro wrote: The simple demo that raises an error is: import os import uno from com.sun.star.beans import PropertyValue OutOfBoundsException = uno.getClass(com.sun.star.lang.IndexOutOfBoundsException) local = uno.getComponentContext() resolver =

Re: [dev] OpenOffice.org 3.4 release and some changes

2011-01-19 Thread Stephan Bergmann
On 01/19/11 12:19, Martin Hollmichel wrote: * branch off for release will happen after stabilization phase Stabilization phase might be an unlucky term here. I hope it is not meant to imply that there are phases where only select CWS (those stabilizing the to-be-branched-off release) are

Re: [dev] FYI: CWS removetooltypes01

2011-01-14 Thread Stephan Bergmann
On 01/14/11 12:58, Carsten Driesner wrote: we are currently working on removing the long deprecated tool types ( e.g. ULONG, USHORT, BYTE, UINT16, UINT32, UINT64, INT16, INT32, INT64, BOOL, TRUE, FALSE ) to get rid of problems with clashing Windows API types. There is a never ending story with

Re: [dev] Re: nsFontMetricsXft.cpp:(.text+0x65d): undefined reference to `FcCharSetHasChar'

2011-01-06 Thread Stephan Bergmann
On 01/06/11 01:57, imacat wrote: imacat said: Michael Stahl said: On 24/12/2010 06:25, imacat wrote: === ERROR: Error 65280 occurred while making /usr/local/src/OOO320_m19/moz/ rmdir /tmp/rSwBAs6SnU make: *** [all] Error 1 %

[dev] Legal header copyright years

2011-01-06 Thread Stephan Bergmann
For new source files, I routinely use the legal header templates from http://www.openoffice.org/dev_docs/source/templates/code and http://www.openoffice.org/dev_docs/source/templates/makefile. Both still read Copyright 2000, 2010 Oracle and/or its affiliates. For new files, should that be

Re: [dev] Re: nsFontMetricsXft.cpp:(.text+0x65d): undefined reference to `FcCharSetHasChar'

2011-01-06 Thread Stephan Bergmann
On 01/06/11 11:45, Michael Stahl wrote: On 06/01/2011 09:24, Stephan Bergmann wrote: On 01/06/11 01:57, imacat wrote: imacat said: Michael Stahl said: On 24/12/2010 06:25, imacat wrote: ERROR: Error 65280 occurred while making /usr/local/src/OOO320_m19/moz/ This is interesting, as just

Re: [dev] Provoke crash reporter on Windows

2010-12-17 Thread Stephan Bergmann
On 12/17/10 09:28, Andor E wrote: I'm trying to create my own crash reporter for OOo. My problem is, that I'm unable to crash OOo in a reliable way on Windows. On Linux it's quite easy with the kill command. But Windows has no equivalent. So how do I test on Windows, if the crash reporter is

Re: [dev] Help required for uno interprocess logging

2010-12-15 Thread Stephan Bergmann
On 12/15/10 10:15, Sudeep Krishnadasan wrote: Does the current implementation of uno urp maintain unique identifier for each method calls? If no then, could you please share your ideas on, How to maintain unique id for each method calls processed through uno urp bridge and log the same on client

Re: [dev] OpenOffice sample TextReplace throws BootstrapException

2010-12-13 Thread Stephan Bergmann
On 12/11/10 16:52, Ariel Constenla-Haile wrote: If you are using version 3.4... are you one of the developers? well I don't dare to call myself that, so let's say I'm a community contributor. What you do is truly great, btw. Thanks a lot Ariel. -Stephan

Re: [dev] program message: general input/output error

2010-12-08 Thread Stephan Bergmann
On 12/07/10 22:03, Terrence Enger wrote: and it does not open the document. Hacking around with gdb, I see the program trying to open file:///home/terry/OOo_hacking/localbuild/OpenOffice/installed/install/en-US/openoffice.org/basis3.4/program/libraries/libmswordli.so which the

Re: [dev] URGENT: how can i fix this.. ??

2010-11-19 Thread Stephan Bergmann
On 11/19/10 15:46, kushal likhi wrote: i built the project on the m83 milestone. its working very good when building using the m83. . but now when shifted to the m93 tree, the services are not getting registered,, but this issue was fixed by my mentor,, but now i get NO Dialog box!!! :( . what

Re: [dev] mercurial help

2010-11-16 Thread Stephan Bergmann
On 11/16/10 15:40, kushal likhi wrote: when i try to push my updates to the main repository by issuing the command: hg push ssh://h...@hg.services.openoffice.org/cws/impresshtmlex then it asked me whether you want to continue connecting,, then i typed yes . after that it started to use the

Re: [dev] mercurial help

2010-11-16 Thread Stephan Bergmann
On 11/16/10 17:00, kushal likhi wrote: yup connection is slow,, it took days to get the prestiene copy,, so is there any faster way??? unfortunately not (at least none that I am aware of); also see thread at http://tools.openoffice.org/servlets/ReadMsg?list=devmsgNo=7291 -Stephan

Re: [dev] Dev builds m92 and m93 core dumps

2010-11-16 Thread Stephan Bergmann
On 11/16/10 17:06, Paul Gress wrote: My platform OS - Solaris Express 11 (b151a) Hardware - HP Z800 Dual 5590 processors, 24 gig ram When I start OOO exactly 55 seconds later I get a core dump, leaving the program alone, non-interactive, it happens by itself. The core dumps started with m92 on

Re: [dev] Dev builds m92 and m93 core dumps

2010-11-15 Thread Stephan Bergmann
On 11/16/10 00:10, Paul Gress wrote: On 11/15/10 06:01 PM, Paul Gress wrote: I should of at least attached the relevant text of the core dump: 8611/12: Incurred fault #6, FLTBOUNDS %pc = 0xF8C869ED 8611/12: siginfo: SIGSEGV SEGV_MAPERR addr=0x0058 8611/12: Received signal #11, SIGSEGV

Re: [dev] importing a .docx, assertions raised

2010-10-20 Thread Stephan Bergmann
On 10/15/10 17:08, Terrence Enger wrote: Now, I understand that each raised assertion should be filed as an issue, but nine distinct assertions (some repeated lotsa times) seems like a bit of a muchness. Will someone here please tell me to go ahead? I would suggest you go ahead anyway (if you

Re: [dev] SfxItemPool::Store(): some advice needed

2010-10-18 Thread Stephan Bergmann
On 10/13/10 15:35, Michael Stahl wrote: because the new *pArr is an STL container, this should be a size_t, not an USHORT. Note that for a given STL container type T the relevant size type is not std::size_t but T::size_type. -Stephan

Re: [dev] SfxItemPool::Store(): some advice needed

2010-10-18 Thread Stephan Bergmann
On 10/18/10 14:29, Daniel Rentz wrote: Am 18.10.2010 13:54, schrieb Stephan Bergmann: Note that for a given STL container type T the relevant size type is not std::size_t but T::size_type. Knowing this, but being curious, is there an STL implementation used in OOo, where T::size_type

Re: [dev] openoffice 3.2.1 startup problem

2010-10-01 Thread Stephan Bergmann
On 10/01/10 10:53, vlad f halilov wrote: Hello. I have succesfully builded OOo 3.2.1 with instruction for Solaris 10 (no any errors) for x86 arch. After selecting any application (writer, calc etc), it freeze with attached screenshot. But with binary package (from openoffice.org) all working

Re: [dev] subsequenttests

2010-10-01 Thread Stephan Bergmann
On 09/30/10 15:51, Frank Schönheit wrote: Well, this the trick is ... part is exactly why I think that issueing a statement like from now on, we do tests for our code won't work - this is a complex topic, with a lot of tricks to know, so Just Do It! is an approach which simply doesn't work. But

Re: [dev] openoffice 3.2.1 startup problem

2010-10-01 Thread Stephan Bergmann
On 10/01/10 12:15, vlad f halilov wrote: That's it http://mha96.ccs.ru/out.jpg No errors. Just freezed both windows, document and IME ... On my side, IME status appear in non 'C' locale. In binary distribution not appear at all. Tested on u4/u7/u8 Solaris 10. Ah, ok. Sorry, got no clue

Re: [dev] macro run error

2010-09-30 Thread Stephan Bergmann
On 09/29/10 22:54, Soohong Min wrote: I am built Openoffice 3.2.1 and am trying to run it with macro. BTW, I was in strange situation I cannot understand this. My issue is that I got error message I run this code. oUrl = private:factory/swriter ---oDoc = starDeskTop.loadcomponentFromUrl(Url,

Re: [dev] subsequenttests

2010-09-24 Thread Stephan Bergmann
On 05/31/10 10:24, Stephan Bergmann wrote: Just a reminder. As announced (http://www.openoffice.org/servlets/ReadMsg?list=interface-announcemsgNo=1266 cwscheckapi replaced with subsequenttests), subsequenttests is the new tool to run all kinds of OOo developer tests (that require a complete

Re: [dev]Openoffice environment setting

2010-09-22 Thread Stephan Bergmann
On 09/21/10 18:26, Soohong Min wrote: But I don't use vanila. Where can I check environment setting for installing Openoffice intel package? You need to check with the providers of your distro OOo, how they set it up. -Stephan

Re: [dev]Openoffice environment setting

2010-09-21 Thread Stephan Bergmann
On 09/21/10 16:24, Soohong Min wrote: My issue is that I wanna move previous installed Openoffice to other machine which doesn't have any distribution package for Openoffice. I could launch it without any error but I tried to start it with python scritp as follows:

Re: [dev] UniString removal

2010-09-20 Thread Stephan Bergmann
On 09/18/10 20:48, Caolán McNamara wrote: On Sat, 2010-09-18 at 19:31 +0200, Bartosz wrote: At TODO list there is topic about String and UniString removal: http://wiki.services.openoffice.org/wiki/To-Dos#General_Refactoring_Improvements I found some declaration of the String, ByteString,

Re: [dev]setting URE_BOOTSTRAP

2010-09-20 Thread Stephan Bergmann
On 09/18/10 01:33, Soohong Min wrote: I am trying to set URE_BOOTSTRAP as follows: export URE_BOOTSTRA=vnd.sun.star.pathname:/home/openoffice3.2/program/fundamentalrc Missing a P? The OOo python start script at

Re: [dev] Classpath management in Java UNO extensions

2010-09-20 Thread Stephan Bergmann
On 09/20/10 15:56, Benson Margulies wrote: If our UNO extension depends on some additional JAR files, do we need to manifest them somehow, or just pack them into the OXT? Yes, sure. Bundle them in the OXT and put them on the META-INF/MANIFEST.MF Class-Path of the OXT's UNO component JAR that

Re: [dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Stephan Bergmann
On 09/16/10 12:35, Pavel Laštovička wrote: I get these errors during compilation of configmgr with profiling enabled (-DTIMELOG). For example: RTL_LOGFILE_CONTEXT_TRACE1(aLog, component: %s, RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) ); Which version of OOo, and which file and

Re: [dev] rtl::OUString has no member named 'toString'

2010-09-16 Thread Stephan Bergmann
On 09/16/10 15:19, Pavel Laštovička wrote: On 16.9.10 13:44, Stephan Bergmann wrote: On 09/16/10 12:35, Pavel Laštovička wrote: I get these errors during compilation of configmgr with profiling enabled (-DTIMELOG). For example: RTL_LOGFILE_CONTEXT_TRACE1(aLog, component: %s, RTL_LOGFILE_OU2A

Re: [dev] Ubuntu desktop 10.4.1 de: Cannot start OOo, because

2010-09-15 Thread Stephan Bergmann
On 09/15/10 08:12, rony wrote: administra...@flatscher:~$ ls -alF /home/administrator/.openoffice.org/ hadm-ooo.txt insgesamt 12 drwxr-xr-x 3 root root 4096 2010-09-06 10:04 ./ drwxr-xr-x 33 administrator administrator 4096 2010-09-14 22:13 ../

Re: [dev] Ubuntu desktop 10.4.1 de: Cannot start OOo, because

2010-09-14 Thread Stephan Bergmann
On 09/14/10 08:21, rony wrote: The logfile (and a text-file giving information on the system) can be found at:http://wi.wu.ac.at/rgf/tmp/OOo/. One odd thing in http://wi.wu.ac.at/rgf/tmp/OOo/ubuntu%5fdesktop%5f1004%5fsoffice%2estrace%2elog is that all attempts to access the OOo per-user data

Re: [dev] Ubuntu desktop 10.4.1 de: Cannot start OOo, because

2010-09-13 Thread Stephan Bergmann
On 09/13/10 15:13, rony wrote: O.K., I uninstalled everything on this weekend that smelled like Java, however the behaviour of the Ubuntu-installed OOo did not change, i.e. OOo could not get started, the error message is just: Running soffice from the command line gives the following

Re: [dev] Passive UNO Component Registration

2010-09-09 Thread Stephan Bergmann
On 09/08/10 16:04, rony wrote: Approximately when would you think this infrastructure will be available (maybe the earliest estimation) ? http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fsb129 is tentatively scheduled for OOo 3.4. -Stephan

[dev] Passive UNO Component Registration

2010-09-08 Thread Stephan Bergmann
As has already leaked during OOoCon :) I am currently working on a new, passive way to register UNO components (removing the need for component_writeInfo, regcomp, and friends). See http://wiki.services.openoffice.org/wiki/Passive_Component_Registration for the details. (While, strictly

Re: [dev] openoffice building problem

2010-09-06 Thread Stephan Bergmann
On 09/03/10 08:18, Bartosz wrote: I have strange build problem with DEV300m87. Previous revision (DEV300m85) was built without problems, but now at the end of compilation I have error after type of command: source LinuxX86Env.Set.sh ./bootstrap cd instsetoo_native build --all At the end

Re: [dev] no module named uno error

2010-09-06 Thread Stephan Bergmann
On 09/06/10 01:01, Rene Engelhard wrote: But a vanilla OpenOffice.org install doesn't do that. And the only way (unless you put all the .pys and the needed .so files into pythons site-packages) way to do that is to include OpenOffice.orgs internal python copy. ...and actually use it, i.e.,

Re: [dev] Ubuntu desktop 10.4.1 de: Cannot start OOo, because the UI language cannot be determined !

2010-09-06 Thread Stephan Bergmann
On 09/06/10 11:37, Rony G. Flatscher wrote: After a fresh install of a German Ubuntu-desktop 10.4.1 and starting any OOo module a popup error comes along informing one that OOo cannot determine the user-interface language and then aborts. So that would be the OOo included in the Ubuntu distro,

Re: [dev] Ubuntu desktop 10.4.1 de: Cannot start OOo, because the UI language cannot be determined !

2010-09-06 Thread Stephan Bergmann
On 09/06/10 12:39, rony wrote: On 06.09.2010 11:55, Stephan Bergmann wrote: On 09/06/10 11:37, Rony G. Flatscher wrote: After a fresh install of a German Ubuntu-desktop 10.4.1 and starting any OOo module a popup error comes along informing one that OOo cannot determine the user-interface

Re: [dev] no module named uno error

2010-09-06 Thread Stephan Bergmann
On 09/06/10 16:57, Soohong Min wrote: I installed Openoffice on the arm, beagleboard after crosscompiling. To use internal python, should I build Openoffice again? Whether or not OOo's internal python is included is controlled by --with-system-python configure option. -Stephan

Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann
On 08/23/10 14:09, Rene Engelhard wrote: On Mon, Aug 23, 2010 at 11:42:22AM +0200, Michael Stahl wrote: i think i remember this error... it is caused by not finding some URE dynamic libraries, like libjpipe.so. the Java UNO bridge apparently uses native code via JNI for some things. Then that

Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann
On 08/24/10 10:41, Rene Engelhard wrote: On Tue, Aug 24, 2010 at 10:26:58AM +0200, Rene Engelhard wrote: On Tue, Aug 24, 2010 at 08:50:13AM +0200, Stephan Bergmann wrote: The static NativeLibraryLoader.loadLibrary(PipeConnection.class.getClassLoader(), jpipe); in class

Re: [dev] Re: Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions

2010-08-24 Thread Stephan Bergmann
On 08/24/10 13:31, Rene Engelhard wrote: On Tue, Aug 24, 2010 at 01:19:43PM +0200, Stephan Bergmann wrote: Please do not put an absolute path into plain OOo's jurt.jar Class-Path. It's for *Debians* OOo. The path won't change in Debian anyways (and if it did it would automaticatilly

Re: [dev] Changed an extension from .jar to .oxt, now extension gets installed but cannot be used ?

2010-07-27 Thread Stephan Bergmann
On 07/26/10 15:20, TJ Frazier wrote: On the page http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/File_Format I added a little description, for a better overview of .oxt files. However, rony's problem relates to deploying old extensions, which might need another

Re: [dev] Changed an extension from .jar to .oxt, now extension gets installed but cannot be used ?

2010-07-26 Thread Stephan Bergmann
On 07/25/10 23:24, rony wrote: Is there something I must also denote in the description.xml file to you need a META-INF\manifest.xml where you list all your files, for example: .. cut (thank you very much for that very helpful snippet!) ...

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-19 Thread Stephan Bergmann
On 07/16/10 15:16, rony wrote: On 16.07.2010 14:51, Stephan Bergmann wrote: Can you present the exact failing code here? What type is the variable named right, and how exactly does the (reflective, IIUC) call to setPropertyValue look like? Yes, but you need to fasten your seat-belt

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread Stephan Bergmann
On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden om.sun.star.lang.DisposedException started to be thrown. Here is one such received

Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-16 Thread Stephan Bergmann
On 07/16/10 13:48, rony wrote: On 16.07.2010 08:48, Stephan Bergmann wrote: On 07/15/10 22:10, Rony G. Flatscher wrote: today I stumbled over the following interesting (read: time-consuming) problem: while caching Java objects representing individual UNO_ENUM values, all of a sudden

Re: [dev] Help running soffice.bin from Python

2010-07-12 Thread Stephan Bergmann
On 07/10/10 23:07, John Porter Simons wrote: I'm trying to spawn an OpenOffice subprocess from Python. Rather than running soffice which then runs soffice.bin I'm trying to run soffice.bin directly, so I have a convenient handle on its PID. Note that this is not supported and will generally

[dev] hg.services.openoffice.org broken

2010-07-01 Thread Stephan Bergmann
Browsing there gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, y...@example.com and inform them of the time the error occurred, and anything you might have done that

Re: [dev] hg.services.openoffice.org broken

2010-07-01 Thread Stephan Bergmann
On 07/01/10 10:12, Stephan Bergmann wrote: Browsing there gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, y...@example.com and inform them of the time the error

Re: [dev] Prebuilt Mozilla DLLs on tools.openoffice.org differ from those in the installer

2010-07-01 Thread Stephan Bergmann
On 07/01/10 14:38, Frank Schönheit wrote: So if you say that in an OOo installed from a downloaded installer, there are *Mozilla* libs (*not* OOo libs!) which are linked against msvcr90.dll, I'd b somewhat surprised. Do you have an example? Sure. For instance nspr4.dll and nss3.dll in an OOo

Re: [dev] hg.services.openoffice.org broken

2010-07-01 Thread Stephan Bergmann
On 07/01/10 14:22, Noel Power wrote: Maybe I am not subscribed to enough lists but... On Thu, 2010-07-01 at 10:35 +0200, Stephan Bergmann wrote: ls hg push ssh://h...@hg.services.openoffice.org/cws/sb127 remote: Received disconnect from 12.184.192.15: 2: fork failed: Resource temporarily

Re: [dev] Prebuilt Mozilla DLLs on tools.openoffice.org differ from those in the installer

2010-06-30 Thread Stephan Bergmann
On 06/30/10 17:05, Tor Lillqvist wrote: I noticed that the prebuilt Mozilla DLLs in the http://tools.openoffice.org/moz_prebuild/OOo3.2/WNTMSCIruntime.zip file (linked from the http://tools.openoffice.org/moz_prebuild/OOo3.2/ page) differ from the ones included with the

Re: [dev] Prebuilt Mozilla DLLs on tools.openoffice.org differ from those in the installer

2010-06-30 Thread Stephan Bergmann
On Jun 30, 2010, at 7:54 PM, Christian Lohmaier wrote: On Wed, Jun 30, 2010 at 5:24 PM, Stephan Bergmann stephan.bergm...@sun.com wrote: On 06/30/10 17:05, Tor Lillqvist wrote: Actually generating those prebuilts is something of a black art (esp. on Windows), so it might be hard to trace

Re: [dev] FASTBOOL macro vs bool - decrease memory usage

2010-06-25 Thread Stephan Bergmann
On 06/24/10 22:51, Terrence Enger wrote: This is about a sal_Bool rather than a bool, but I shall raise the question anyway. It just happens that I was running OO under gdb, and the following output had already caught my attention. Breakpoint 1, connectivity::OSkipDeletedSet::moveAbsolute

Re: [dev] FASTBOOL macro vs bool - decrease memory usage

2010-06-24 Thread Stephan Bergmann
On 06/24/10 11:17, Bartosz wrote: Maybe we should change it to (or remove this macro): typedef bool FASTBOOL; Yes, best would certainly be to remove the typedef and change occurrences of FASTBOOL to plain bool (watching out for potential misuses that tunnel values other

Re: [dev] subsequenttests

2010-06-23 Thread Stephan Bergmann
On 06/07/10 14:14, Mathias Bauer wrote: On 31.05.2010 10:24, Stephan Bergmann wrote: Just a reminder. As announced (http://www.openoffice.org/servlets/ReadMsg?list=interface-announcemsgNo=1266 cwscheckapi replaced with subsequenttests), subsequenttests is the new tool to run all kinds

Re: [dev] Re: Build Open office 3.20 on window XP

2010-06-22 Thread Stephan Bergmann
On 06/22/10 09:31, Bjoern Michaelsen wrote: Am Mon, 21 Jun 2010 11:59:41 +0200 schrieb Ruediger Timm ruediger.t...@sun.com: AFAIK tcsh shell is not really supported any more (though it might be on that 3.2 code base - I just do not remember exactly). Could you just try using bash instead? If

Re: [dev] Working with OOO330 and DEV300

2010-06-21 Thread Stephan Bergmann
On 06/18/10 19:41, Jens-Heiner Rechtien wrote: But wait, what if some OOO330 changesets should not be merged in DEV300? These changesets will be either dummy merged* into DEV300 or merged and immediately backed out with an inverse patch. Thus *all* OOO330 changesets will be in DEV300 but a few

[dev] dropping clipboard tests from smoketestoo_native

2010-06-18 Thread Stephan Bergmann
Any objections against finally fixing http://qa.openoffice.org/issues/show_bug.cgi?id=97025 smoketestoo_native: Paste Object - error for good and removing any tests from smoketestoo_native that use the system-wide clipboard (and are thus unreliable due to race conditions)? -Stephan

Re: [dev] Re: BigPointerArray, SvPointerArray vs STL containers

2010-06-17 Thread Stephan Bergmann
On 06/17/10 15:46, Bartosz wrote: 2010/6/16 Eike Rathke wrote: Hi Bartosz, On Tuesday, 2010-06-15 09:06:19 +0200, Bartosz wrote: After replace svArrays by STL containers, in some cases I observed boost of performance. For example: for (USHORT i = 0; i aEntries.size(); ++i) Please

[dev] subsequenttests

2010-05-31 Thread Stephan Bergmann
Just a reminder. As announced (http://www.openoffice.org/servlets/ReadMsg?list=interface-announcemsgNo=1266 cwscheckapi replaced with subsequenttests), subsequenttests is the new tool to run all kinds of OOo developer tests (that require a complete installation set to test against),

Re: [dev] subsequenttests

2010-05-31 Thread Stephan Bergmann
On 05/31/10 10:37, Rene Engelhard wrote: On Mon, May 31, 2010 at 10:24:17AM +0200, Stephan Bergmann wrote: With CWS sb120 integrated in DEV300_m80, the framework and tests will hopefully be reliable enough for actual use, see [...] the bots (see the second link above), and there might still

Re: [dev] subsequenttests

2010-05-31 Thread Stephan Bergmann
On 05/31/10 11:55, Bernd Eilers wrote: what X Server do the subsequenttests use by the way xvfbd or xvnc or something else? subsequenttests and below sets up nothing. The started soffice instances simply use whatever DISPLAY points to. -Stephan

Re: [dev] subsequenttests

2010-05-31 Thread Stephan Bergmann
On 05/31/10 15:20, Rene Engelhard wrote: On Mon, May 31, 2010 at 01:25:26PM +0200, Stephan Bergmann wrote: On 05/31/10 11:55, Bernd Eilers wrote: what X Server do the subsequenttests use by the way xvfbd or xvnc or something else? subsequenttests and below sets up nothing. The started

Re: [dev] subsequenttests

2010-05-31 Thread Stephan Bergmann
On 05/31/10 16:18, Rene Engelhard wrote: On Mon, May 31, 2010 at 03:47:00PM +0200, Stephan Bergmann wrote: svp not possible? The smoketest at least works with it. No idea what you mean. SAL_USE_VCLPLUGIN=svp aka. headless. As said, works for me for the smoketest in 3.2.x. Ah---see my

Re: [dev] How to run quickstarter?

2010-05-25 Thread Stephan Bergmann
On 05/23/10 19:56, Ariel Constenla-Haile wrote: On Sunday 23 May 2010, 14:15, Terrence Enger wrote: Uh oh. This time my attempt to install only for me displays a message box, give or take my retyping, ... loading component library failed:

Re: [dev] Re: [releases] recommended stlport settings?

2010-05-12 Thread Stephan Bergmann
On 05/10/10 09:59, Stephan Bergmann wrote: On 04/26/10 10:43, Caolán McNamara wrote: On Sun, 2010-04-25 at 19:44 +0200, Rene Engelhard wrote: We can only improve things here when we eventually drop the STLport-requirement (and become URE-incompatible on the affected platforms). If we

Re: [dev] Re: [releases] recommended stlport settings?

2010-05-10 Thread Stephan Bergmann
On 04/26/10 10:43, Caolán McNamara wrote: On Sun, 2010-04-25 at 19:44 +0200, Rene Engelhard wrote: We can only improve things here when we eventually drop the STLport-requirement (and become URE-incompatible on the affected platforms). If we continue to build and package into the install sets

Re: [dev] getting started

2010-05-07 Thread Stephan Bergmann
On 05/07/10 04:38, Hebenstreit, Michael wrote: I got ooo build - at least the build process finished without complains and I find a number of rpms. But at that point the description on the WIKI stops. My guess is, I have to install the software first before I can continue, but this seems rather

Re: [dev] getting started

2010-05-07 Thread Stephan Bergmann
On 05/07/10 11:48, Björn Michaelsen wrote: Am Fri, 07 May 2010 09:37:51 +0200 schrieb Stephan Bergmann stephan.bergm...@sun.com: cd .../instsetoo_native/util PKGFORMAT=archive dmake Since when is that supported? Is there any reason to keep that ugly old FORCE2ARCHIVE-hack around

Re: [dev] Build problems with DEV300m77 with cygwin on Windows

2010-05-04 Thread Stephan Bergmann
On 05/04/10 06:20, Regina Henschel wrote: I have build m76 without problems tonight. m76 does not know 'junit', perhaps there is the difference? I had build m77 with option --without-junit too, build was breaken then too. I assume you stumble over something unrelated that also happened to

Re: [dev] complement add error in Windows 7 with 64 bit SUN JVM

2010-05-04 Thread Stephan Bergmann
On May 4, 2010, at 6:09 PM, Fabio A. Miranda wrote: I have a complement that works perfect on any supported OS except in Windows 7 with SUN JVM with 64 bits. This is the behavior: C:\Program Files (x86)\OpenOffice?.org 3\program\unopkg.exe add C:

Re: [dev] BCP-47 based proposal for IsoStrings, Locale Variants and describing languages ?

2010-04-26 Thread Stephan Bergmann
On 04/23/10 19:21, Eike Rathke wrote: I'm fine with specifying that Language contains BCP47 up to and including the script subtag, Country contains the region, and Variant contains the rest. Would ease things a lot. If you tell me we drop interoperability with Java and existing extensions for

  1   2   3   4   5   6   >