[dev] Re: Seeding faults in the Writer GUI

2011-10-29 Thread Mathias Bauer
Am 28.10.2011 19:40, schrieb Wikum Dinalankara:

 Hi,
 
 I am working on testing the OpenOffice Writer GUI for a class project,
 and I need to seed some faults in the source code (I built OO330_m20
 successfully on Ubuntu 10.04 running on VMWare), that could possibly
 generate some errors related to the Writer GUI. I've been looking
 through the wiki pages and the source files, but I'm having trouble
 figuring out which modules in the source code I should be focusing on.
 Can anyone point me to which files/folders in the source code I should
 be looking at?
 
 Thanks,
 
 Wikum

Your description is not detailed enough to answer your question exactly.
In general most UI classes can be found in the modules vcl, svtools,
svx, framework, sfx2, cui and of course in the module of the application
you are looking into, that would be sw in your case.

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Problems downloading source through Mercurial

2011-10-10 Thread Mathias Bauer
Hi Seth,

I'm not sure what you are trying to achieve.

OOo should have PyUno and - if it is a build provided by Oracle - its
own version of Python and both should fit to each other. Admittedly I'm
not completely sure about that, if you have bad luck, even the Oracle
builds didn't contain an own Python. But if you build OOo by yourself,
you should be able to make sure that OOo's own copy of Python is used in
the build (and thus put into the installation set) and not the version
of the system. See what configure offers you with regard to Python.

Regards,
Mathias
Am 10.10.2011 05:41, schrieb Seth Shich:

 HI Mathias,
 
 Thanks for the information. Perhaps, I should tell you why I want to
 build OOo, and, then, maybe you could suggest what course I should take. 
 
 I am trying to get PyUno working so that I can read and interface with
 .doc and .docx files (e.g. highlight certain words in documents, such as
 proper names) while they are being viewed by users in MsWord. The
 problem is that PyUno links against Python2.3 and, therefore, I cannot
 run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its
 complete form, and, at any rate, I wouldn't want to use that Python
 version because it would prevent imports of other modules requiring
 later Python versions. PyUno, then, must be made to link against either
 Python 2.6.7 or Python 2.7, the Python versions I have on my system.
 But, how to do this?
 
 I read here, at
 http://www.mail-archive.com/mac@porting.openoffice.org/msg03582.html, that: 
 
 Those who build OOo by themselves will be able to just use
 --with[out]-system-python, but only very, very few Mac users will
 build their own copy of OOo. Thus it is important to decide on the
 default, what the installsets offered from www.openoffice.org will
 include (or not include)
 
 At this stage, I have downloaded the entire repository for OOo. Is there
 a way to selectively build just the PyUno Module? Also, do you have any
 suggestions as to where I can begin? I am a newbie and am becoming
 somewhat overwhelmed at what has become quite a daunting task.
 
 Thanks, in advance, for any help you can provide.
 
 Sincerely,
 
 Seth
 
 
 BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of
 the box. You have at least to back to the 10.4 SDK and XCode 3.2.6.

 Please see the discussion here:


 http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e

 Regards,
 Mathias
 --
 -
 To unsubscribe send email to dev-unsubscr...@openoffice.org
 For additional commands send email to sy...@openoffice.org
 with Subject: help

-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Problems downloading source through Mercurial

2011-10-09 Thread Mathias Bauer
Am 09.10.2011 09:35, schrieb Jan Holst Jensen:

 On 2011-10-09 09:21, Seth Shich wrote:
 Hi,

 I am trying to download the source for building Open Office. I am new 
 to all of this but have used SVN before (never Mercurial though). I 
 have Mac OS X 10.7.1.

 My problem is that when I type, hg clone 
 http://hg.services.openoffice.org/DEV300 ooo_source, nothing happens. 
 Finally, I get the following: error: abort: error: Operation timed out

 However, when I type, say, hg clone 
 https://code.google.com/p/core-plot/, it works.




 
 OpenOffice source code has been moved to apache.org and I guess 
 repositories too. I don't remember the exact links but I think you have 
 a fair chance of getting started at:
 
 http://incubator.apache.org/openofficeorg/

This is an svn repository that carries the code for the next OOo release
that will be the first from an Apache tipi.

If you want to work on the current code base, there's a copy of the old
Mercurial OOo repository at bitbucket:

https://bitbucket.org/mst/ooo340

I'm surprised to see that the hg.services.openoffice.org server is down.
There was no announcement for that, so probably it's just a temporary
problem. Nevertheless, you can use bitbucket as a replacement.

BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of
the box. You have at least to back to the 10.4 SDK and XCode 3.2.6.

Please see the discussion here:

http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] New OOo development at Apache

2011-08-19 Thread Mathias Bauer
Hi developers,

as you might have heard, the future development of OpenOffice.org will
happen under the roof of the Apache Foundation(*).

Developers, some of the old folks as well as some new ones, are
currently working on the code import from the OOo repository to the
Apache repository. In parallel similar work is done for the Bugzilla
content, the wiki, the web pages etc.

Currently OOo still is an incubator project and it will remain in that
state until it fulfills all criteria for an accepted Apache project. One
of the most important criteria is that all code that is used for a
release is licensed under the Apache license or a compatible license.
(OK, it is a little bit more complicated, but I think that you get the
idea.) As soon as the code import to the Apache repository is done, we
will work on that. Some parts of this work can be seen here:

http://wiki.services.openoffice.org/wiki/ApacheMigration

Later on we will continue OOo development at Apache and as a part of
that we will try to move over all the unfinished work of OOo from the
last months. And of course we will try to finish the OOo3.4 release with
a high priority.

Every developer is invited to join us, old hackers as well as new ones.
Please join the ooo-...@incubator.apache.org mailing list and help us to
shape the next decade of OpenOffice.org development.

Regards,
Mathias

(*)
Wait a moment - do tipis have roofs? ;-)
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: How to rebuild types.rdb ?

2011-08-17 Thread Mathias Bauer
On 16.08.2011 00:17, eric b wrote:

 Hi,
 
 Doing some performance tests, I just figured out the types.rdb file is a
 binary file, just provided in the sources.
 
 
 Can someone explain me :
 
 - why a binary blob is directly provided in OpenOffice.org sources ? (
 OOO320_m1x  for instance)

This is just a reference file for the API compatibility check.

 - how to create a new types.rdb (and what are the mandatory tools) ?

It is a delivery of each build. The reference file was updated at times
by Jürgen Schmidt, using the current types.rdb of the latest release.

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Question on accessing hyphenation dictionaries and related metadata

2011-07-19 Thread Mathias Bauer
Hi Leo,

On 16.07.2011 14:02, Dr.Leo wrote:

 
 Hello,
 
 I am the author of PyHyphen, a hyphenation package for the Python 
 programming language (http://pypi.python.org/pypi/PyHyphen/).
 PyHyphen is essentially a wrapper around 'libhyphen', the
 C library that oo uses for hyphenation.
 
 PyHyphen contains some handy tools to download hyphenation dictionaries 
 and related metadata from the deprecated lingual components site for OO 
 2.x. See the metadata file at 
 http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/hyphavail.lst
 
 I would like to upgrade PyHyphen to use the new extensions format 
 introduced with OO 3.x.But I haven't found any docs explaining where to 
 find the equivalent of
 hyphavail.lst. somewhere on the site there should be an xml file listing 
 all available hyphenation dictionaries with some metadate on each. This 
 meta data is needed to write code to access the new dictionaries.
 
 Any help would be very much appreciated. As I am not subscribed to the 
 list, please put fhaxbo...@googlemail.com on cc.
 
 Leo

perhaps

http://wiki.services.openoffice.org/wiki/Non-code_extensions
http://wiki.services.openoffice.org/wiki/Extension_Dictionaries

is what your are looking for.

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Question on accessing hyphenation dictionaries and related metadata

2011-07-18 Thread Mathias Bauer
Hi Leo,

On 16.07.2011 14:02, Dr.Leo wrote:

 
 Hello,
 
 I am the author of PyHyphen, a hyphenation package for the Python 
 programming language (http://pypi.python.org/pypi/PyHyphen/).
 PyHyphen is essentially a wrapper around 'libhyphen', the
 C library that oo uses for hyphenation.
 
 PyHyphen contains some handy tools to download hyphenation dictionaries 
 and related metadata from the deprecated lingual components site for OO 
 2.x. See the metadata file at 
 http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/hyphavail.lst
 
 I would like to upgrade PyHyphen to use the new extensions format 
 introduced with OO 3.x.But I haven't found any docs explaining where to 
 find the equivalent of
 hyphavail.lst. somewhere on the site there should be an xml file listing 
 all available hyphenation dictionaries with some metadate on each. This 
 meta data is needed to write code to access the new dictionaries.
 
 Any help would be very much appreciated. As I am not subscribed to the 
 list, please put fhaxbo...@googlemail.com on cc.
 
 Leo

perhaps

http://wiki.services.openoffice.org/wiki/Non-code_extensions
http://wiki.services.openoffice.org/wiki/Extension_Dictionaries

is what your are looking for.

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: clarify

2011-07-15 Thread Mathias Bauer
Hi Igor,

On 15.07.2011 02:38, Igor Belogorodsky wrote:

 There are some question I'd like to ask
 
 1. It's been announced that OpenOffice project was donated to Apache
 Software Foundation as incubator project.
 what does it exactly mean?  will there be a new website and they said
 that they'll be moving the source code somewhere on the Apache side.
 does this mean there will be a new way of accessing the openoffice.org?

Two questions, two answers:

Yes.
Yes.

 2.  I'm a seasonal programmer and I'd like to contribute.  The
 documentation for getting the source and start programming is too much
 confusing.
 There are multiple applications with little documentation or too much
 written and nothing to the point.
 First of all, I have Windows system and don't have any other choice. 
 Second, the documentation is written in genetic format, of variety of
 platforms at the same time and is very confusing.

Are you referring to

http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

I don't think that this documentation is too much or not to the point.
But I would be interested to see where it is can be improved.

 What I would like to see is something straight to the point: a. this is
 Windows, this is how you do it.  b. this is Linix, this is how you do it
 etc.

http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

IMHO is exactly this.

 3. I've installed the free software necessary to access the code and
 compile, debug etc.  I is very difficult to configure.  A lot of
 different pices working together.
  I downloaded MinGW, Mercurial, some other things.  I don't know what to
 do with it.  I spend hours just to figure something out.  I don't think
 it's efficient enough.

You don't need mingw, you should use Visual Studio. There is a free
version (free as in free beer). The mingw build indeed is very slow
and complicated.

 4. anyway, what's happening to the project (question 1 again)
 I'd like to see better wiki and clearer documentation and better
 organized.  Somebody has to do it.

If you want to get better documentation, you are welcome to help.
Please send suggestions for improvement. IMHO using the mailing list
ooo-...@incubator.apache.org for this would be better, but we can do it
here also if you prefer that.

Best regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: help with filters in format convertion

2011-06-27 Thread Mathias Bauer
Hi Wanglei,

On 24.06.2011 04:04, wanglei wrote:
 hi, all. i found your email addresses on the wiki of openoffice 
 documentation project, and now trying to get some help from you guys.
 i work for a mailing service provider, and right now i'm making a format 
 converting tool, which can convert pdf doc[x] ppt[x] xls[x] to html, so 
 that attachments in those formats could be viewed online, regardless of 
 the user's envirenment. i can convert doc[x] and xls[x] to html now, but 
 found some trouble with the ppt[x] and pdf. my code is like the 
 following(based on the code found on the wiki and sdk examples). when 
 converting ppt and pdf, there is always an error, but get no message 
 information. the output would be like:
 [root@M5 CppBinding]# make clean; make ; make office_connect.run
 cd /root/unoout/openoffice.org3.1_sdk/LINUXexample.out/bin  office_connect
 Connected sucessfully to the office
 XComponentloader successfully instanciated
 xcomponent load ok
 XStorable successfully instanciated
 start to save file
 readonly:0
 haslocation:1
 found a error
 An error occurred:
 make: *** [office_connect.run] Error 1
 questions:
 1.is this caused by chosing the wrong export filter type?
 2.what filter type should i use to export html from ppt[x] and pdf?

For ppt(x) the recommended filter name is impress_html_Export.
For pdf the it should be draw_html_Export, as AFAIK pdf are imported
into Draw.

 3.no import filter type is specified, but it worked with doc[x] and 
 xls[x], is this ok? should i specify one anyway?

If it works, it's OK. :-)

 4.and how can i make sure the file is of doc format? eg i change 
 whatever a file's name into *.doc on purpose and use this tool to 
 convert it to html, this surely will cause some problem, right? can i 
 determine whether the file to be imported is of the specified format or 
 what format is the file to be imported is of? how could i do this?
 *i know i asked a lot of questions, this might take you some time to 
 answer, i'm very sorry to bother you guys, but i can not find another 
 way to solve this problem. best wishes for you all, looking forward to 
 your replies or please forward this mail to someone who can help. 

You can check the document type after import. The component you receive
supports XServiceInfo with the method supportsService. The service
names of the documents (like com.sun.star.text.TextDocument etc.) are
documented in the Developers Guide. So you can choose the HTML export
filter name depending on the type of the imported document.

Regards,
Mathias
-- 
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Running OOo on Win7

2011-06-10 Thread Mathias Bauer

Hi Dmitry,

yes, path length is critical. In general it is recommended not to use 
e.g. the cygwin home folder (neither for building nor for running).


Regards,
Mathias

On 09.06.2011 15:43, Dmitry A. Ashkadov wrote:

I tried extract archive to home folder to reduce length of path, and the
start office. It doesn't crash at startup now. So, the problem is a long
paths.

09.06.2011 17:35, Mathias Bauer пишет:

Hi Dmitry,

yes, I successfully built on both code lines and the application
worked fine. Admittedly builds on OOO340 and the latest milestones of
DEV300 needed some patches, but not to run the built office, without
the patched the build itself broke.

Regards,
Mathias

On 09.06.2011 12:07, Dmitry A. Ashkadov wrote:

Does the office start successful?
My OOo build crashes at startup (DEV300 and OOO340) without any
information about problem. Cygwin console is empty.

09.06.2011 13:44, Mathias Bauer пишет:

On 09.06.2011 11:29, Dmitry A. Ashkadov wrote:

Hello!

Is here somebody who builds OOo on Windows 7?

Yes, using Windows 7 and cygwin 1.7.7

Regards,
Mathias











--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Running OOo on Win7

2011-06-09 Thread Mathias Bauer

On 09.06.2011 11:29, Dmitry A. Ashkadov wrote:

Hello!

Is here somebody who builds OOo on Windows 7?

Yes, using Windows 7 and cygwin 1.7.7

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Running OOo on Win7

2011-06-09 Thread Mathias Bauer

Hi Dmitry,

yes, I successfully built on both code lines and the application worked 
fine. Admittedly builds on OOO340 and the latest milestones of DEV300 
needed some patches, but not to run the built office, without the 
patched the build itself broke.


Regards,
Mathias

On 09.06.2011 12:07, Dmitry A. Ashkadov wrote:

Does the office start successful?
My OOo build crashes at startup (DEV300 and OOO340) without any
information about problem. Cygwin console is empty.

09.06.2011 13:44, Mathias Bauer пишет:

On 09.06.2011 11:29, Dmitry A. Ashkadov wrote:

Hello!

Is here somebody who builds OOo on Windows 7?

Yes, using Windows 7 and cygwin 1.7.7

Regards,
Mathias






--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: refactoring OUString

2011-06-07 Thread Mathias Bauer

On 07.06.2011 17:22, Niklas Nebel wrote:

On 07.06.2011 13:15, tora - Takamichi Akiyama wrote:

As many already know, malloc() is too general and too expensive.
Moreover, free() is much more expensive than malloc().
e.g. a source code of malloc() in glibc:
http://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c


We use our own implementation, rtl_allocateMemory (see
sal/rtl/source/alloc*). But of course the point remains valid: Both
allocation and deallocation take time.


Even though current OpenOffice.org runs as a multi-thread process,
it runs as if it is a single thread. So, we could have several options
to implement its underlying memory allocation mechanism for the specific
purposes of OpenOffice.org.


If there was only a single thread, we could get rid of quite some
locking overhead. But in fact, with clipboard, UNO acceptor thread and
such stuff, we have just enough multithreading going on to cause the
overhead, without the benefit of actually doing work in parallel.


Properly using a read-only string class (at least in code that might be 
accessed in multiple threads) could also prevent locking overhead.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: refactoring OUString

2011-06-06 Thread Mathias Bauer

On 06.06.2011 18:57, tora - Takamichi Akiyama wrote:

On 2011/06/07 0:27, Michael Stahl wrote:
  refactoring OUString has to be done carefully because it is a central
part
  of the URE API/ABI and those must be compatible.
 
  a number of people here have come to the conclusion that it would be an
  improvement to use ::rtl::OString with UTF8 encoding as the standard
  string type, but unfortunately this would be an enormous effort to
change,
  and it would mean breaking the backward compatibility of the C++ UNO
  binding, so it was never likely to actually happen.
 
  so far we haven't even got rid of the tools strings... sigh.

I see.

This is just an idea. How about adding a new class besides OUString?

We already have enough string classes. :-)

Besides that, you are right, rtl::OUString is stupid. We planned to 
discuss its replacement in the context of a future OOo 4.0 release, 
allowing for some incompatibility here. If done properly, the changes 
would require only recompilation of in-process C++ code.


But as you know, we are faced with a completely new situation for the 
OOo future. So we should postpone discussing this topic until the dust 
has settled.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Dispatcher:

2011-06-02 Thread Mathias Bauer

On 02.06.2011 01:06, Joost wrote:

Mathias Bauernospamformbaat  gmx.de  writes:


The only way to find out about the successfull of a printing process is
using a PrintJobEventListener.


Hi,
I have the same problem.
I think the issue is not waiting for the print process to finish,
but rather waiting for the print dialog to close.
Anyone: is this doable?
regards,
The event you have to wait for is when the OOo Print Job finishes. This 
is available for PrintJobEventListeners.


The printing process still might take some time, but this is not under 
control of OOo anyway.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Need help with building DEV300m106 with cygwin

2011-05-18 Thread Mathias Bauer

Hi Dmitry,

you should do what the message at the end says: deliver sc and sd 
again. For whatever reasons the time stamps don't match.


Go to sd and sc and call deliver -force in both directories, then goto 
instsetoo_native and call build --all:postprocess or build --from 
postprocess.


Regards,
Mathias

On 18.05.2011 09:13, Dmitry A. Ashkadov wrote:

I tried build OOO340 code line on cygwin and got an error:

=
Building module postprocess
=

Entering

/cygdrive/c/Users/user/projects/openoffice/OOO340/source/postprocess/checkdeliver

mkout -- version: 1.8
C:/cygwin/bin/perl checkdeliver.pl  -l
../wntmsci12/misc/checkdeliver_log.txt  C:/cygwin/bin/touch.exe
../wntmsci12/misc/checkdeliver.done
checkdeliver.pl - checking delivered binaries
Error: delivered file is older than it's source
'C:/Users/user/projects/openoffice/OOO340/source/sc/wntmsci12/lib/sci.lib'

'C:/Users/user/projects/openoffice/OOO340/source/solver/340/wntmsci12/lib/sci.lib'
1 errors found: Module 'sc' not delivered correctly?

Error: delivered file is older than it's source
'C:/Users/user/projects/openoffice/OOO340/source/sd/wntmsci12/lib/sdi.lib'

'C:/Users/user/projects/openoffice/OOO340/source/solver/340/wntmsci12/lib/sdi.lib'
1 errors found: Module 'sd' not delivered correctly?

dmake:  Error code 2, while making '../wntmsci12/misc/checkdeliver.done'

1 module(s):
 postprocess
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making

/cygdrive/c/Users/user/projects/openoffice/OOO340/source/postprocess/checkdeliver

Attention: if you fix the errors in above module(s) you may
prolongue your the build issuing command:

 build --from postprocess

This problem may be solved by delivering 'sc' and 'sd' manually (deliver
-force).

--
С Уважением,
Дмитрий




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Need help with building DEV300m106 with cygwin

2011-05-17 Thread Mathias Bauer

On 17.05.2011 08:13, Dmitry A. Ashkadov wrote:

17.05.2011 00:25, Mathias Bauer пишет:

On 16.05.2011 17:31, Regina Henschel wrote:

Hi Mathias,

Mathias Bauer schrieb:


Without --enable-cairo setting or with setting --disable-cairo it
doesn't build at all, because pango is missing cairo.h. If I then
try to
build cairo manually, it says that it is not enabled.


I can not confirm this problem. I had no problem with building OOo
DEV300_m106 on Windows/cygwin without specifying any cairo related
switches.


I have patch rsvglips_glib_win32.patch applied.
Then I have used
./configure \
--with-directx-home=/cygdrive/c/Programme/Microsoft DirectX SDK (March
2009) \
--with-cl-home=/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC \
--disable-activex \
--disable-build-mozilla \
--disable-nss-module \
--disable-atl \
--with-frame-home=/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1 \
--with-psdk-home=/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1 \
--with-midl-path=/cygdrive/c/Programme/Microsoft
SDKs/Windows/v6.0A/bin \
--with-asm-home=/cygdrive/c/Programme/Microsoft Visual Studio
9.0/VC/bin \
--with-jdk-home=/cygdrive/c/Programme/Java/jdk1.6.0_20 \
--with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \
--with-ant-home=/ant \
--without-junit \
--enable-dbgutil \
--with-vendor=Regina \
--with-build-version=16Mai11


I used the same switches as you did and my build broke exactly where
Dmitry's build broke: nmake crashed while building glib.  But I didn't
even reach pango. AFAIK this has been fixed on the OOO340 code line,
so I didn't try the patch in bugzilla, but the fixes in the ooo340
code line. Then the build proceeded as expected. As it seems, on
cygwin glib and pango don't need to be built and are used from the
system.

Currently no code has been integrated into dev300 after the code
branch and AFAIK it's not very probable than any integrations will be
done on this code line in the next weeks. So ooo340_m0 is the most
current milestone that I recommend to use. When you use it, you should
also get all master fixes for this code line up to change set
0636cee64117. They are still not ported to dev300. You could also wait
until ooo340_m1 is done. Currently it's under way.

Regards,
Mathias


A patch for glib was applied earlier, so OOO340 hasn't such problem with
glib. Pango and rhino modules are built successful. But I have another
problem when I build OOo from OOO340 with last changes (tip):

awk: fatal: can't open source file

`C:/cygwinc:/cygwin/home/user/projects/ooo_temp/OOO340/solenv/gbuild/processdeps.awk'
for reading (No such file or directory)
make: ***

[/home/user/projects/ooo_temp/OOO340/solver/340/wntmsci12/workdir/WinResTarget/comphelper/default.res]
Error 2
dmake:  Error code 2, while making 'all'

A path C:/cygwinc:/cygwin/... seems stange.


IIRC the new build system has a problem with building from the cygwin 
home directory. Please move your OOO340 folder elsewhere and run 
configure again.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Build OOo 3.2.1 with MediaWiki extension

2011-05-16 Thread Mathias Bauer

On 12.05.2011 09:42, Andor E wrote:

Hi,
I used the configure switch --enable-wiki-publisher to activate the
MediaWiki extension. The extension is dutifully built and copied to
the solver. But it is not included in the Debian packages and
therefore not installed. Am I missing something or is this how it is
supposed to be?

Thanks

eymux


This is something that you should ask the Debian people. Having said 
that, nevertheless AFAIK the Debian version of OOo never contained this 
extension.


If you have built it yourself on your system, you can install it by 
yourself with unopkg or by using the extension manager of OOo.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Need help with building DEV300m106 with cygwin

2011-05-16 Thread Mathias Bauer

On 16.05.2011 11:10, Regina Henschel wrote:

Hi,

I need help with building DEV300m106. I use cygwin and MSVC 2008 Express
on WinXP. I have got a build in the end, but the program has no menus
and no toolbars and therefore cannot be used. So something went entirely
wrong. What can cause this?


Do you have all the necessary xml files? They should be here:

$(INST)/Basis/share/config/soffice.cfg/modules

Other possible root causes:

- wrong module names (but that should cause more problems)
- some problems in the framework code (layoutmanager)
- some problems in vcl


I have got the source from http://hg.services.openoffice.org/DEV300/
I have applied the patch from
http://openoffice.org/bugzilla/show_bug.cgi?id=117793
I have set --enable-cairo in my config settings.
I have build and delivered cairo manually.


Does that mean that you don't have these problems if you build without 
--enable-cairo?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Need help with building DEV300m106 with cygwin

2011-05-16 Thread Mathias Bauer

On 16.05.2011 12:15, Regina Henschel wrote:

Hi Mathias,

Mathias Bauer schrieb:

On 16.05.2011 11:10, Regina Henschel wrote:

Hi,

I need help with building DEV300m106. I use cygwin and MSVC 2008 Express
on WinXP. I have got a build in the end, but the program has no menus
and no toolbars and therefore cannot be used. So something went entirely
wrong. What can cause this?


Do you have all the necessary xml files? They should be here:

$(INST)/Basis/share/config/soffice.cfg/modules


No, they are missing. I have now copied all the folders from a normal
DEV300m106 installation. That seems to work.


So you seem to have a problem with building the packconfig folder in the 
postprocess module (or haven't built it at all). What makes me wonder is 
that you didn't get a break in instsetoo_native then.






Other possible root causes:

- wrong module names (but that should cause more problems)
- some problems in the framework code (layoutmanager)
- some problems in vcl


I have got the source from http://hg.services.openoffice.org/DEV300/
I have applied the patch from
http://openoffice.org/bugzilla/show_bug.cgi?id=117793
I have set --enable-cairo in my config settings.
I have build and delivered cairo manually.


Does that mean that you don't have these problems if you build without
--enable-cairo?


Without --enable-cairo setting or with setting --disable-cairo it
doesn't build at all, because pango is missing cairo.h. If I then try to
build cairo manually, it says that it is not enabled.


I can not confirm this problem. I had no problem with building OOo 
DEV300_m106 on Windows/cygwin without specifying any cairo related switches.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Need help with building DEV300m106 with cygwin

2011-05-16 Thread Mathias Bauer

On 16.05.2011 17:31, Regina Henschel wrote:

Hi Mathias,

Mathias Bauer schrieb:


Without --enable-cairo setting or with setting --disable-cairo it
doesn't build at all, because pango is missing cairo.h. If I then try to
build cairo manually, it says that it is not enabled.


I can not confirm this problem. I had no problem with building OOo
DEV300_m106 on Windows/cygwin without specifying any cairo related
switches.


I have patch rsvglips_glib_win32.patch applied.
Then I have used
./configure \
--with-directx-home=/cygdrive/c/Programme/Microsoft DirectX SDK (March
2009) \
--with-cl-home=/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC \
--disable-activex \
--disable-build-mozilla \
--disable-nss-module \
--disable-atl \
--with-frame-home=/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1 \
--with-psdk-home=/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.1 \
--with-midl-path=/cygdrive/c/Programme/Microsoft SDKs/Windows/v6.0A/bin \
--with-asm-home=/cygdrive/c/Programme/Microsoft Visual Studio
9.0/VC/bin \
--with-jdk-home=/cygdrive/c/Programme/Java/jdk1.6.0_20 \
--with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \
--with-ant-home=/ant \
--without-junit \
--enable-dbgutil \
--with-vendor=Regina \
--with-build-version=16Mai11


I used the same switches as you did and my build broke exactly where 
Dmitry's build broke: nmake crashed while building glib.  But I didn't 
even reach pango. AFAIK this has been fixed on the OOO340 code line, 
so I didn't try the patch in bugzilla, but the fixes in the ooo340 code 
line. Then the build proceeded as expected. As it seems, on cygwin glib 
and pango don't need to be built and are used from the system.


Currently no code has been integrated into dev300 after the code branch 
and AFAIK it's not very probable than any integrations will be done on 
this code line in the next weeks. So ooo340_m0 is the most current 
milestone that I recommend to use. When you use it, you should also get 
all master fixes for this code line up to change set 0636cee64117. They 
are still not ported to dev300. You could also wait until ooo340_m1 is 
done. Currently it's under way.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Dispatcher: \.uno:Print\ wait for print job to finishlocalhost/

2011-05-02 Thread Mathias Bauer

Hi Darwin,

On 01.03.2011 22:55, Darwin Whaley wrote:

Hello, Mathias!

I saw your response for this issue
(http://www.mail-archive.com/dev@openoffice.org/msg11443.html) while
investigating new behavior in OpenOffice.org 3.3. This URL indicates
that the uno:print call is no longer synchronous:

http://www.oooforum.org/forum/viewtopic.phtml?t=115035

I hoped that passing Asynchron and Boolean.FALSE in the properties
object might solve this problem, but it does not. There has been no
response to the developer in the above URL. Are you aware of this new
behavior, and how applications using the OpenOffice.org API are now
supposed to determine if a print job is successful?


The new asynchronicity is not introduced by the dispatcher but by the 
printing process itself. The same could happen to you even before, 
depending non the operating system and the printer.


The only way to find out about the successfull of a printing process is 
using a PrintJobEventListener.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: OUString

2011-04-26 Thread Mathias Bauer

On 26.04.2011 08:07, Rohit Kulkarni wrote:

How do I convert OUString to normal const char * in .cxx file.
Because I am using ldap_open(const char*,int) function which has const
char* as parameter.

Regards,
Rohit


rtl::OUString objects contain UniCode strings. If you want to convert 
them to a char* you need to provide an encoding that shall be used, e.g. 
RTL_TEXTENCODING_UTF8. With this encoding you can do it this way:


const char* p = rtl::OString(
myOUString.getStr(), myOUString.getLength(),
RTL_TEXTENCODING_UTF8 ).getStr();

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Problems building DEV300_m105

2011-04-18 Thread Mathias Bauer

Hi,

I didn't read the whole thread, mainly because the way how you replied 
has destroyed the threading, but at least I can say that last week I 
built DEV300 m106 with my usual settings without any problem.


Regards,
Mathias

On 18.04.2011 11:45, Kristján Bjarni Guðmundsson wrote:

I have given up, there are too many broken dependencies, building is
simply not possible with the current source.
I think I will wait until this mess gets sorted out.

- - - - - - - - - Áframsendur póstur - - - - - - - - - -
From: Stephan Bergmann stephan.bergm...@oracle.com
mailto:stephan.bergm...@oracle.com
To: dev@openoffice.org mailto:dev@openoffice.org
Date: Fri, 15 Apr 2011 14:58:01 +0200
Subject: [dev] Re: Problems building DEV300_m105
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
c:/Backup/OpenOffice/ooo/svtools/source/filter/jpeg/jpegc.c(31)
: fatal
error C1083: Cannot open include file: 'jpeglib.h': No such file or
directory
make: ***

[/cygdrive/c/Backup/OpenOffice/ooo/solver/300/wntmsci12.pro/workdir/CObject/svtools/source/filter/jpeg/jpegc.o

http://wntmsci12.pro/workdir/CObject/svtools/source/filter/jpeg/jpegc.o

http://wntmsci12.pro/workdir/CObject/svtools/source/filter/jpeg/jpegc.o]
Error 2
dmake:  Error code 2, while making 'all'

1 module(s):
 svtools
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/cygdrive/c/Backup/OpenOffice/ooo/svtools/prj


A known problem that has been masterfixed in the meantime.  You
should hg pull -u http://hg.services.openoffice.org/DEV300; to get
all the DEV300_m105 and DEV300_m106 masterfixes, building should
work a little better then...

-Stephan





--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: does anybody still use tcsh to build OOo?

2011-04-11 Thread Mathias Bauer

On 08.04.2011 14:22, Christian Lohmaier wrote:

On Thu, Apr 7, 2011 at 9:47 AM, Mathias Bauernospamfor...@gmx.de  wrote:

Hi,

AFAIK tcsh doesn't work anymore anyway -


using tcsh as the shell used *by* the build: yes.

But the environment files are for the user's shell, and there it would
still work.


Months ago I worked on that but then got in serious merge conflicts as
somebody else did some refactoring in configure.in. So I just abandoned
that work. AFAIR the fix was quite annoying work as the generation of the
scripts is scattered over the code.


configure has nothing to do with it, as it is generated by set_soenv[.in]


Yes and no. The support for with-use-shell is in configure and that's 
where I started. OTOH it's possible that it was set_soenv.in where large 
changes kept me from continuing. I don't remember exactly. Nevertheless, 
configure doesn't support --with-use-shell anymore since quite some time.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: build.pl debug=1 for sw and svx

2011-04-11 Thread Mathias Bauer

On 08.04.2011 11:19, Michael Stahl wrote:

On 07/04/2011 10:05, Mathias Bauer wrote:

On 06.04.2011 19:47, Michael Stahl wrote:

On 06/04/2011 18:45, tora - Takamichi Akiyama wrote:

Hello Christian,

On 2011/04/06 20:55, Christian Lippka wrote:

While Niklas and Daniel are absolutely right, make clean may not always
be what you want.

For example, if you just want to rebuild svx with debug and do a
make -sr clean, your next make in sw module would rebuild a lot of
stuff, since all dependency to svx would fire.

actually, for a module like svx it shouldn't rebuild any cxx files in
dependent modules (which takes up most of the time), because gbuild will
preserve the timestamp of the original file when delivering.

of course if headers are *generated*, then dependent cxx files will be
rebuilt.

hmm... on second thought, if you actually use the top-level makefile, then
probably the cxx files will be rebuilt in this case... :(


If in this case means: if there are generated headers, this is true.


no, i mean for ordinary headers that are just copied.
(that generated headers cause rebuild is really obvious...)

for headers that are just copied, GNU make will consider the target in the
outdir outdated, because, well, it doesn't exist, and will copy the header
to the outdir.


Ah, I see. I just overlooked that you talked about build after make 
clean. Sorry.



of course the right question here is, why the hell are we copying all
those headers?
it seems pointless to me: they could just as well be included from the
source directory instead of from the solver.


I agree. OTOH this would be a huge change. The current way we include 
our headers from outside the current module assumes that they reside in 
a common root folder. If we took them from their location in the source 
directory, we either had to move all currently delivered header files 
into a common source directory or we had to change all include 
statements (e.g. from #include sfx2/objsh.hxx to #include 
sfx2/inc/sfx2/objsh.hxx.
The third option to add all modules to the INCLUDE path is a no-go for 
performance reasons.


There is a fourth, somewhat pragmatic option: add a second clean target 
that does't remove headers that are only copied but not generated.


For those who now start to think that the rebuild caused by a make 
clean is a bug in the new build system: that's not true. The bug is 
that we copy header files in the build instead of using them where they are.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: does anybody still use tcsh to build OOo?

2011-04-08 Thread Mathias Bauer

Hi,

AFAIK tcsh doesn't work anymore anyway - at least it's not supported 
anymore. I think that the only reason that we still create two scripts 
is that nobody was annoyed enough to remove the code doing this. :-)


Months ago I worked on that but then got in serious merge conflicts as 
somebody else did some refactoring in configure.in. So I just 
abandoned that work. AFAIR the fix was quite annoying work as the 
generation of the scripts is scattered over the code.


Regards,
Mathias

On 05.04.2011 13:48, Malte Timmermann wrote:

I guess it shouldn't make a big difference for anyone whether he uses
bash or tcsh for building OOo, so killing tcsh support is fine, IMO.

Malte.

Michael Stahl wrote, On 05.04.2011 13:04:


hi all,

currently configure generates 2 shell scripts for the environment,
one for Bourne shell and one for tcsh.

the tcsh file is known to ... annoy people.
would anybody complain if the tcsh file were gone?


--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: build.pl debug=1 for sw and svx

2011-04-08 Thread Mathias Bauer

On 06.04.2011 19:47, Michael Stahl wrote:

On 06/04/2011 18:45, tora - Takamichi Akiyama wrote:

Hello Christian,

On 2011/04/06 20:55, Christian Lippka wrote:

While Niklas and Daniel are absolutely right, make clean may not always
be what you want.

For example, if you just want to rebuild svx with debug and do a
make -sr clean, your next make in sw module would rebuild a lot of
stuff, since all dependency to svx would fire.


actually, for a module like svx it shouldn't rebuild any cxx files in
dependent modules (which takes up most of the time), because gbuild will
preserve the timestamp of the original file when delivering.

of course if headers are *generated*, then dependent cxx files will be
rebuilt.

hmm... on second thought, if you actually use the top-level makefile, then
probably the cxx files will be rebuilt in this case... :(


If in this case means: if there are generated headers, this is true. 
And IMHO it's the only way a sane build system should work. A build 
system that relies on manual evaluation of dependencies by developers 
(as the build.pl/dmake combo) is insane. Dependency evaluation is what 
make tools and files are made for.


In case of svx/sw the generated header files svxslots.hxx and 
globlmn.hrc cause some rebuilds in sw. Perhaps this is a good starting 
point to think about better dependencies. Files like these and the way 
we are using them are annoying. We can do better.


globlmn.hrc is doomed once we get the work to get rid of context menu 
resource files finished.
In case we moved all slot files into a single module and build them only 
if sdi files have changed, the second problem would be solved also. This 
would treat sdi files pretty much like idl files.


The number one reason why changing header files causes too much rebuilds 
is that our classes and thus our header files are too large (so that 
including only what you need doesn't work), that we have still too 
much nested includes and that superfluous includes in source files 
rarely get removed.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Unknown Publisher

2011-04-05 Thread Mathias Bauer

On 02.04.2011 00:58, Lester Pastuszyn wrote:

Windows Security pops up a box and asks me if I want to allow this unknown
pubisher access to modifiy my computer.  In the bos is openoffice's soffice.exe
link to the desktop.  Is there a way to tell windows that this program is safe
with out having that pop up box every time I try to get into openoffice?


This is not the usual behavior of OOo on Windows machines, so probably 
you did something unusual with your OOo installation. Can you describe 
how you installed OOo and where?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Including font's in build

2011-03-29 Thread Mathias Bauer

On 23.03.2011 07:50, Mathias Bauer wrote:

Hi Knut,

On 18.03.2011 01:10, Knut Olav Bøhmer wrote:


Could this be related to my issue? (or is this just for unix?)
http://openoffice.org/bugzilla/show_bug.cgi?id=105784


This is unix only.
ATM I don't know which patchset fixed the bug. I will ask the developer
who usually fixes bugs in the Word import.

Regards,
Mathias



Sorry, but I don't remember where this bug was fixed.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: SPECIAL_BUILD

2011-03-23 Thread Mathias Bauer

On 08.03.2011 20:41, Knut Olav Bøhmer wrote:

Hi,

What does the SPECIAL_BUILD environment variable do?

I found it on a web-page
http://www.mail-archive.com/dev@tools.openoffice.org/msg01826.html when
I search for help with a bug.

--
Knut Olav Bøhmer


IIRC this is a kind of wild card variable for

if the build is not done with configure but with the Hamburg build 
environment and because we didn't want to create a single environment 
variable for every feature as it is usually done in configure we use 
this single one.


Or something like that. :-)

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: how to get access to the User data through API?

2011-03-23 Thread Mathias Bauer

On 10.03.2011 09:03, Zongbo Zhang wrote:

Hi All,

Writiing a java app, needs to change the user name, I know it can be manually done 
through Tools-option-user data.

Which part of the API has some to do with this?

Will appreciate your help, Look forward to hearing from you!


You need to create a ConfigurationAccess object for the path 
org.openoffice.UserProfile. The user name is the property 
Data/givenname and Data/sn for first and last name.


Please have a look at 
officecfg/registry/schema/org/openoffice/UserProfile.xcs or  the 
UserProfile.xcu in your user profile for information about other properties.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Help: Build on Linux

2011-03-23 Thread Mathias Bauer

Hi Rohit,

On 15.03.2011 16:05, Rohit Kulkarni wrote:

Hello,

When I build OOO, I have to run the installation step as
cd instsetoo_native/util  dmake openoffice_en-US PKGFORMAT=installed
to install the ooo build.
While installing the ooo I am getting following error


(snip)


... unopkg add --shared --suppress-license --verbose
../share/extension/install/dict-en.oxt
-env:UserInstallation=file:///tmp/ooopackaging/i_231461300204492/unxlngi6.pro/OpenOffice/installed/uno/en-US
http://unxlngi6.pro/OpenOffice/installed/uno/en-US 21 | ...


Obviously this step tries to register the English dictionary.
I can only see two reasons how this can fail:

- there is no english dictionary in your solver
- something is wrong somewhere else in your build

***

ERROR: Saved logfile:
/home/rohitiskul/ooo/OOO320_m19/instsetoo_native/unxlngi6.pro/OpenOffice/installed/logging/en-US/log_OOO320_en-US.log
http://unxlngi6.pro/OpenOffice/installed/logging/en-US/log_OOO320_en-US.log
**
Tue Mar 15 21:31:10 2011 (06:18 min.)
dmake:  Error code 255, while making 'openoffice_en-US.installed'


Does this log file tell more?

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: After building and installing Norwegian OOo still in EN

2011-03-23 Thread Mathias Bauer

On 09.03.2011 13:42, Knut Olav Bøhmer wrote:

2011/3/8 Knut Olav Bøhmer boh...@gmail.com mailto:boh...@gmail.com

Hi,

I've just buildt norwegian version of OpenOffice.org, and installed
/OOO320/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/no
http://wntmsci12.pro/OpenOffice/msi/install/no
But the userinterface is still in english, even though

Writer - Tools - Options - Language Settings - Languages -
User Interface, says Default - Norwegian Bokmål

What did I do wrong, or what is missing?


This was due to the SPECIAL_BUILD environment variable ( that turned out
that I did not need, but which I still wonder what is. )


Does that mean that your build didn't work as expected because this 
variable was set by you? Or does it mean that it didn't work because it 
was not set?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Including font's in build

2011-03-23 Thread Mathias Bauer

Hi Knut,

On 17.03.2011 13:56, Knut Olav Bøhmer wrote:


I think it might be this bug:
http://openoffice.org/bugzilla/show_bug.cgi?id=111402

I'll try to install the same version on the computer that did it right,
and see if the problem is still there.


this is a bug in the Word 6 filter, not in the most common ww8 format.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


[dev] Re: Including font's in build

2011-03-23 Thread Mathias Bauer

Hi Knut,

On 18.03.2011 01:10, Knut Olav Bøhmer wrote:


Could this be related to my issue? (or is this just for unix?)
http://openoffice.org/bugzilla/show_bug.cgi?id=105784


This is unix only.
ATM I don't know which patchset fixed the bug. I will ask the developer 
who usually fixes bugs in the Word import.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help


Re: [dev] EducOOo donated code for ARM Linux port

2011-02-19 Thread Mathias Bauer

On 19.02.2011 13:51, Rene Engelhard wrote:


On Sat, Feb 19, 2011 at 08:41:43AM +0100, eric b wrote:

Hi,

For your information :
http://www.openoffice.org/issues/show_bug.cgi?id=117017


EducOOo donated code for ARM Linux port makes it sound you did the port.
Wrong. Stop your propaganda, please.


Cool down, Rene. I don't think that the subject can be understood in 
this way. At least for me it is clear that contributing (or donating 
code as Eric put it) to a port does not mean doing the whole port.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] build error

2011-02-19 Thread Mathias Bauer

Hi Zongbo Zhang,

On 16.02.2011 10:24, Zongbo Zhang wrote:

Thanks for mathias's reply, I have worked that out, already have done
a full build now, but regret that did not use the ccoach stuff at the
first time, every time do a hack in the codes, have to wait for
around 20 minutes to rebuild the instsetoo to see the effect. Any
idea to speed this up?
You don't need to create a new installation set just to see the result 
of your code changes. Just copy the changed libraries or other files to 
the suitable location in the installation you created from the full build.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] build error

2011-02-16 Thread Mathias Bauer

On 07.02.2011 10:00, Zongbo Zhang wrote:


C:\cygwin\home\zzh\m99\dev300_m99\tools\source\communi\geninfo.cxx :
fatal error

C1083: Cannot open compiler generated file:
'C:/cygwinC:/cygwin/home/zzh/m99/dev300_m99/solver/300/wntmsci12.pro/workdir/CxxObject/tools/source/communi/geninfo.o':
invalid argument
This looks strange. If your configure call was correct, I have no idea 
what could be wrong here.



I guess this has something to do with the path,as the Bold
indicated,'C:/cygwinC:/cygwin, how to fix this? should I put the
source code in an other place?


No, it doesn't matter where you put your source, provided that your 
configuration is correct.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Proceedings of the new build system

2011-02-14 Thread Mathias Bauer

Hi,

the upcoming DEV300 m100 milestone will contain the second portion of 
the new build system. The progress of the whole project is now tracked at


http://wiki.services.openoffice.org/wiki/Build_Environment_Effort/Status_And_Next_Steps

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] build error C1083

2011-02-05 Thread Mathias Bauer

On 04.02.2011 13:00, Zongbo Zhang wrote:

Hi,

Thanks for all the quick answers to my questions.

Now, got a new one:

Entering /home/zzh/ooo/dev300_m99/embedserv/source/embed
Making:  all_emser.dpslo
Compiling: embedserv/source/embed/register.cxx
c:\cygwin\home\zzh\ooo\dev300_m99\embedserv\source\inc\stdafx.h(21) : fatal 
error C1083: Cannot pen include files: 'atlbase.h': No such files or directory
dmake: Error code 2, while making '../../wntmsci12.pro/register.obj

Seems a head file missing.

BR
zongbo zhang

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




Pleas, read the building guide and try to follow it. Nearly every 
question you have asked is answered there.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] .msm files not found

2011-02-04 Thread Mathias Bauer

Hi,

if you want to build with mozilla files, you need three files in 
moz/zipped: wntmsciinc.zip, wntmscilib.zip and wntmsciruntime.zip. It's 
all described int the building guide.


Regards,
Mathias

On 03.02.2011 14:48, Zongbo Zhang wrote:

Thanks for the reply, now this problem is solved after installing the vc2008, 
any idea about the moz/zipped thing?
BR
zongbo zhang

From: Viatcheslav.Sysoltsev [viatcheslav.sysolt...@h-d-gmbh.de]
Sent: Thursday, February 03, 2011 2:30 PM
To: dev@openoffice.org
Subject: Re: [dev] .msm files not found


Hi,

I checked all those listed pre-required files, found that there is no .msm 
inside the external/mam90 folder, I guess this may have something to do with 
the last build failure, but, I cannot find those needed files inside the '' 
program files/common files/merge module'', I definitely have the c/c++ compiler 
installed, it is a 2010 express edition.
should I reinstall a 2008 express edition or what?

Hi,

Judging from
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows,
you're a little ahead of OO win dev community with your VS2010 ;)
If you manage to build with it, it will be definitely worthy to update
the guide.
If nobody helps soon and time presses, well, I'd try to go with VS2008...

-- Slava

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org





--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] openoffice build problem

2011-02-02 Thread Mathias Bauer

On 01.02.2011 15:10, Rohit Kulkarni wrote:

I am building OpenOffice but stuck with some linking error related to
redland.
I have OpenOffice source code which contains redland module with redland
1.0.8 , rasqal 0.9.16 and raptor 1.4.18.
Kindly provide me with links or patches that can solve this issue



Please tell us the platform you are building on and also add the exact 
error message to your mail.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Need help with Open Office

2011-02-01 Thread Mathias Bauer

On 28.01.2011 21:30, Yashavant Kulkarni wrote:

Hello,

I am importing several documents that were prepared in Micorsoft Office
2000. They have password protection both for opening and changing.

I am trying to use those documents in Open Office.  I can open them by
entering open password. However Open Office does not ask for write
password. When I try to make changes to the documents, it does not allow
changes.

What can I do ?

First you can tell us which OOo version you are talking about.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] javac not found set with_jdk_home

2011-02-01 Thread Mathias Bauer

On 31.01.2011 10:18, Zongbo Zhang wrote:

Hi,

I am trying to config the dev300_m97 from the cygwin shell, finally I
got a 'javac not found set with_jdk_home' error.

I have the jdk1.6.0_23 installed and  path set, the path is:
'C:\program Files\Java\jdk1.6.0_23\bin', and I certainly put a ';'
before the above path, and put nothing after the 'bin', actually,
this is the usual way in which I set up the path, I also do a test in
the cmd, it seems ok, do I need to do any extra for it to work under
cygwin shell?


As you didn't tell us your configure parameters, I assume that you 
didn't use


--with-jdk-home=/cygdrive/c/program files/Java/jdk1.6.0_23

This should fix your problem.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] mozilla build problem

2011-02-01 Thread Mathias Bauer

On 01.02.2011 11:12, Zongbo Zhang wrote:

Hi,

First of all, big thanks goes to Mathias Bauer! the java home and
javac thing is no long an issue.

However, the mozilla build tooling becomes an obstacle now, at first,
it said in the shell that the build tooling not found, then I did as
it tell, install the latest version of the mozillabuild, then, use
the --with-mozilla-build option, now an new error occurs, the
mozilla build tooling in complete,  I have no idea what does this
mean, I think I have completely installed the mozilla build.

what should I do now?

On Windows you shouldn't try to build Mozilla sources, as this requires
an outdated msvc++ compiler. You should download the zipped mozilla 
binraries (it is described in the building guide in our wiki where you 
can get them) and use --disable-build-mozilla for configure.


Did you have a look on our building guide? If not, please do so 
(http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows). 
It will prevent you from running into problems like those you reported.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] how to build in specific language++

2011-01-18 Thread Mathias Bauer

On 18.01.2011 09:37, ?? wrote:


you said by changing code (or adding a configuration item) it could
be switched to use traditional Mongolian script, and I want to know
how? it is very important to me!

Hard coded: change method MsLangId::getScriptType in
i18npool/source/isolang/mslangid.cxx.

(Eike, please correct me if I'm wrong!)

Configuration needs some more work; for the time being and to get 
started, hard coding should be OK.



and I want to working on the new
td-lr writing  mode in OOo UI,  perhaps together with Badral is a
great idea!The first work from Badral will be available on the
DEV300 code line soon is very encouraging.
The code should have been integrated already some months ago; 
unfortunately we found a bug we had to fix and I couldn't find the time. 
Now it looks as if it will happen in one of the next milestones. I will 
notify you and I will also ping Badral. Then perhaps we can make a plan 
how you can continue.


Best regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re:Re: [dev] Re:Re: [dev] how to build in specific language

2011-01-17 Thread Mathias Bauer

Hi ??,

let me summarize.

OOo does not have a full script type support: we use a hard coded table 
that assigns a script type to an ISO locale. Thus each locale can be 
used only with one script type. For Mongolian this means that the mn 
locale can be either used with traditional writing or with Cyrillic 
writing. Currently OOo uses the latter, by changing code (or adding a 
configuration item) it could be switched to use traditional Mongolian 
script (with some effort even on a per-document base). But it won't be 
possible to use both scripts in the same document.


For further discussion of this problem please refer to issue 88665:
http://qa.openoffice.org/issues/show_bug.cgi?id=88665

Badral Sanligin (ba...@openoffice.org) provided us with a first 
implementation of the necessary writing direction support in the Writer 
code. We had several iterations to get some bugs fixed, added some 
support for object positioning etc. But it's still not done so that we 
don't think that the code is good enough to enable the new td-lr writing 
mode in our UI. If you want, you can start working on this, perhaps 
together with Badral. I will support you where possible.


The first work from Badral will be available on the DEV300 code line 
soon and I will notify you when it's integrated.


Best regards,
Mathias

On 07.01.2011 08:06, ?? wrote:

thank you and this response is i'm always waiting for




At 2011-01-04 16:05:58??Mathias Bauernospamfor...@gmx.de  wrote:


Hi,

sorry for the late response, but I didn't read mails in the Christmas
and New Year break. I will answer soon and report the current status.

Regards,
Mathias

On 19.12.2010 14:50, ?? wrote:

thank you for you help, and you are right, I am living in inner mongolia, 
china, and we use traditional Mongolian. so I want to try on it, please help me 
to gettingstart, and tell me how to join the forces.





At 2010-12-17 16:09:47??Mathias Bauernospamfor...@gmx.de   wrote:


Hi,

On 17.12.2010 02:22, ?? wrote:

Hi, I am a beginner in open office developer and need your help really!
I want to build open office in mongolian language specification, and that can 
support mongolian writing mode(something like td-lr, means top-down and 
left-right).
there are have a site to aware of td-lr 
mode:http://msdn.microsoft.com/en-us/library/ms531187(v=vs.85).aspx


thank you.


If I understand correctly, you want to use the traditional Mongolian
text layout.

This writing mode is still not supported in OOo. We have a CWS (feature
branch) that adds a first version of it and it is waiting for
integration. It needs some more work before we can offer it to users,
but if you wanted to work on that matter, we could help you getting
started. There is at least one more developer that is interested in
that, perhaps you can join forces.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Insert Pdf file into Text Document

2011-01-10 Thread Mathias Bauer

On 01/10/2011 07:39 AM, Meenakshi Kanaujia wrote:

Hi,

I am using Open-Office on Ununtu 10.04.

From last one day i am trying to insert pdf document in writer doc but can

not get success.
I want to embed pdf file as icon similar to embed doc in MS-Word.
I was able to do that using open-office 3.2.0 on Windows Vista by following
-
insert -  object -  ole object -  further object -  create from file
but *further object
* option is missing *on open-office 3.2.0 on ubuntu 10.04.
I have also searched forum for that but did not find any solution.
Please help.

Thanks,
rise_mini
*



Further object means inserting a COM based OLE object. This object 
type is available only on Windows.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] In stability of Open Office

2011-01-05 Thread Mathias Bauer

On 04.01.2011 13:52, B L Coffey wrote:

I was glad when I came across your open office application. However now that I 
have used it it is very unstable. I save docs and recently presentations and 
the app will not open them Wrong format it says. I saved a presentation in ppt 
and open office will not open it. That places e in a great deal of trouble 
because I have to recreate.

The center window in presentation App moves all over the place and changes view 
size for no apparent reason.

I will be going to another program.
Bernard l. Coffey
315 783 6222
-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




I'm afraid that the information you gave us is insufficient to help you. 
Please describe exactly what kind of file you can't open with which 
version of OOo and with which version of OOo is was created. It would be 
even better if you could provide us with a sample file that shows the 
problem. But please don't send it to the list, file an issue in our bug 
tracker and attach the file to it.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: instsetoo_native: Assembly missing for Windows install

2011-01-05 Thread Mathias Bauer

On 05.01.2011 01:00, Kristján Bjarni Guðmundsson wrote:

- - - - - - - - - Áframsendur póstur - - - - - - - - - -
From: Mathias Bauernospamfor...@gmx.de
To: dev@openoffice.org
Date: Tue, 04 Jan 2011 09:00:10 +0100
Subject: Re: [dev] Re: instsetoo_native: Assembly missing for Windows
install
On 13.12.2010 17:07, Mathias Bauer wrote:


Hi Kristján,

On 12.12.2010 11:41, Kristján Bjarni Guðmundsson wrote:

  I already reported this as a bug for the build:

http://www.openoffice.org/issues/show_bug.cgi?id=114372
But it got rejected as invalid.



I have reopened this issue. If my workaround helps, I can provide a fix
soon, otherwise I have to test a little bit.

Regards,
Mathias



Did it help?

Regards,
Mathias



Yes setting variable WITH_VC_REDIST and including the exe in the solver bin
worked correctly. Thanks for your help.

Regards,
Kristján



Thanks for the confirmation; now I can provide a fix for the problem.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] error on open

2011-01-04 Thread Mathias Bauer

On 12.12.2010 22:03, Greg Young wrote:

I experienced some error on opening of a spreadsheet where the software
offered to either report or send something to someone as regards the
difficulty; Unthinkingly I hit send. Please tell me that I did not
sent the data contents of my workbook ( all the data) into the Ether for
all to gaze upon.
I assume that you explained us that OOo crashed and you have sent a 
crash report. These reports contain a stack trace of OOo along with some 
meta data, but no content of documents.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re:Re: [dev] how to build in specific language

2011-01-04 Thread Mathias Bauer

Hi,

sorry for the late response, but I didn't read mails in the Christmas 
and New Year break. I will answer soon and report the current status.


Regards,
Mathias

On 19.12.2010 14:50, ?? wrote:

thank you for you help, and you are right, I am living in inner mongolia, 
china, and we use traditional Mongolian. so I want to try on it, please help me 
to gettingstart, and tell me how to join the forces.





At 2010-12-17 16:09:47??Mathias Bauernospamfor...@gmx.de  wrote:


Hi,

On 17.12.2010 02:22, ?? wrote:

Hi, I am a beginner in open office developer and need your help really!
I want to build open office in mongolian language specification, and that can 
support mongolian writing mode(something like td-lr, means top-down and 
left-right).
there are have a site to aware of td-lr 
mode:http://msdn.microsoft.com/en-us/library/ms531187(v=vs.85).aspx


thank you.


If I understand correctly, you want to use the traditional Mongolian
text layout.

This writing mode is still not supported in OOo. We have a CWS (feature
branch) that adds a first version of it and it is waiting for
integration. It needs some more work before we can offer it to users,
but if you wanted to work on that matter, we could help you getting
started. There is at least one more developer that is interested in
that, perhaps you can join forces.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: instsetoo_native: Assembly missing for Windows install

2011-01-04 Thread Mathias Bauer

On 13.12.2010 17:07, Mathias Bauer wrote:

Hi Kristján,

On 12.12.2010 11:41, Kristján Bjarni Guðmundsson wrote:


I already reported this as a bug for the build:
http://www.openoffice.org/issues/show_bug.cgi?id=114372
But it got rejected as invalid.


I have reopened this issue. If my workaround helps, I can provide a fix
soon, otherwise I have to test a little bit.

Regards,
Mathias



Did it help?

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] How to run an add-on in a separate thread

2011-01-04 Thread Mathias Bauer

On 21.12.2010 05:28, Zindy Minshava wrote:


I am creating an add-on for OpenOffice Writer in java. In my
application I have the need to refresh the text displayed in a GUI on
a time basis manner.

That is the user should be able to work on Writer application while
the add on displays  different texts on a separate GUI time to time.

Do I need to use separate thread for my add- on to achieve this? Or
how can I achieve these idle time intervals without effecting the
Writer application?

Can anyone help me with this.. :)
Java components that are created from inside OOo will use the same 
thread as the code that created it. So if you want to run your code in 
parallel, you must create a thread. It is true that OOo has some issues 
with using its API from multiple threads, but it depends on what exactly 
you want to do in the thread if the answer is you can do it, but be 
prepared for problems or you can do it, no problems.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] contribute

2010-12-17 Thread Mathias Bauer

On 16.12.2010 18:20, Alexandro Colorado wrote:


On Thu, Dec 16, 2010 at 10:43 AM, Mathias Bauernospamfor...@gmx.de  wrote:



Hi Gerry,

On 17.12.2010 01:18, Gerry's Hotmail wrote:


My name is Gerry Escobar and I am interested in donating some time in
building OpenIffice.



I consider myself probably not a novice but not an expert programmer
either.
I have an old Borland C++ 3.1 compiler which I bought when I decided to
learn C++ programming.  It's been decades since I set aside my programming
skills.  After reading your website while trying to get a copy of OO today
and also now that I'm beginning to get more time in my hands to do some
other things, I thought perhaps I can get back into continuing my learning
of C++.  If you think you might be able to use me with my old C++
compiler,
I am willing to donate some time in building OO.  If not in the
programming
area, perhaps in the testing side of things.


If you want to work on Windows, you will need to switch to the Microsoft C++
compiler. There is a cost-free version of it available (Visual Studio
Express).


I think there was some ways to do it from gcc, but the way to build
has changed starting 3.2. So that work most be reimplemented.
Really, though I admire Tono for his heroic effort to build OOo with gcc 
on Windows, it's not what I would recommend for beginners. It requires a 
patched version of mingw that usually only works for a limited number of 
OOo versions and it is even slower than the VC++ based build (that 
already is much slower than gcc on Linux on the same hardware).


So my recommendation is: if the VC++ compiler should be avoided, avoid 
Windows too.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] how to build in specific language

2010-12-17 Thread Mathias Bauer

Hi,

On 17.12.2010 02:22, ?? wrote:

Hi, I am a beginner in open office developer and need your help really!
I want to build open office in mongolian language specification, and that can 
support mongolian writing mode(something like td-lr, means top-down and 
left-right).
there are have a site to aware of td-lr 
mode:http://msdn.microsoft.com/en-us/library/ms531187(v=vs.85).aspx


thank you.


If I understand correctly, you want to use the traditional Mongolian 
text layout.


This writing mode is still not supported in OOo. We have a CWS (feature 
branch) that adds a first version of it and it is waiting for 
integration. It needs some more work before we can offer it to users, 
but if you wanted to work on that matter, we could help you getting 
started. There is at least one more developer that is interested in 
that, perhaps you can join forces.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] I'd like to help....

2010-12-16 Thread Mathias Bauer

On 14.12.2010 10:45, imacat wrote:

Eugene Bravo said:

I feel I would be able to contribute significantly to future developments in
OpenOffice.


 I would like to help, too, though I still fails to compile
OpenOffice.org.  I'm from Taiwan.  I'm a freelance client application
developer and lecturer currently, but I would like to dig into the
source and be able to help on source development, especially with
Chinese issues.



Did you follow our build instructions from the Wiki?

http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] contribute

2010-12-16 Thread Mathias Bauer

Hi Gerry,

On 17.12.2010 01:18, Gerry's Hotmail wrote:

My name is Gerry Escobar and I am interested in donating some time in
building OpenIffice.



I consider myself probably not a novice but not an expert programmer either.
I have an old Borland C++ 3.1 compiler which I bought when I decided to
learn C++ programming.  It's been decades since I set aside my programming
skills.  After reading your website while trying to get a copy of OO today
and also now that I'm beginning to get more time in my hands to do some
other things, I thought perhaps I can get back into continuing my learning
of C++.  If you think you might be able to use me with my old C++ compiler,
I am willing to donate some time in building OO.  If not in the programming
area, perhaps in the testing side of things.


If you want to work on Windows, you will need to switch to the Microsoft 
C++ compiler. There is a cost-free version of it available (Visual 
Studio Express).


If you want to help with QA, please get in touch with the QA guys at 
d...@qa.openoffice.org.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: instsetoo_native: Assembly missing for Windows install

2010-12-13 Thread Mathias Bauer

Hi Kristján,

On 12.12.2010 11:41, Kristján Bjarni Guðmundsson wrote:


I already reported this as a bug for the build:
http://www.openoffice.org/issues/show_bug.cgi?id=114372
But it got rejected as invalid.


I have reopened this issue. If my workaround helps, I can provide a fix 
soon, otherwise I have to test a little bit.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: instsetoo_native: Assembly missing for Windows install

2010-12-09 Thread Mathias Bauer

On 05.12.2010 20:58, Kristján Bjarni Guðmundsson wrote:


So does this mean that Windows XP support has been dropped from the build
environment? How am I then supposed to build installations for Windows XP?
Is it possible to get the source to your build environment, so that I can
build Windows XP installations? Or at least get some information on what
changes I have to make to build with vcredist_x86.exe?



No, Windows support hasn't been dropped - at least not intentionally. It 
seems that whoever changed the build environment so that the redists are 
no longer required, meant it well: it made it easier for developers to 
build OOo as they don't need to download the redists and put them into 
the source tree manually again and again. Instead of that, they install 
them once and for good. But unfortunately he forgot to add a configure 
switch that allows to include the redistributables.


So I consider this a bug. I will see that we can fix it as soon as possible.

In the meantime you could try a hack:

put your redistributable into solver/bin
set the environment variable WITH_VC_REDIST to TRUE

and see if it works.

Regards,
Mathias


--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] instsetoo_native: Assembly missing for Windows install

2010-12-02 Thread Mathias Bauer

On 01.12.2010 13:58, Kristján Bjarni Guðmundsson wrote:

I am building DEV300_m94 on Windows with this configure:

./configure --with-lang=is --with-vendor=OpenOffice.is
--with-build-version=Build by OpenOffice.is --disable-activex
--disable-directx --disable-atl --disable-build-mozilla --disable-nss-module
--without-junit --with-cl-home=/cygdrive/C/Program Files/Microsoft Visual
Studio 9.0/VC --with-ant-home=/cygdrive/c/winapps/java/ant
--with-frame-home=/cygdrive/C/Program Files/Microsoft SDKs/Windows/v6.1
--with-psdk-home=/cygdrive/C/Program Files/MicrosoftSDKs/Windows/v6.1
--with-midl-path=/cygdrive/C/Program Files/Microsoft SDKs/Windows/v6.1/Bin
--with-asm-home=/cygdrive/C/Program Files/Microsoft Visual Studio
9.0/VC/Bin
--with-jdk-home=/cygdrive/C/Winapps/java/jdk16
--with-csc-path=/cygdrive/C/WINDOWS/Microsoft.NET/Framework/v3.5


Looks fine.


It seems to me the the problem is that the generated install doesn't contain
the redistributable vcredist_x86.exe file. This seems to have been changed in
some release of the source code, since previous builds before worked. If
you install the vcredist_x86.exe then OpenOffice.org can be started. The
normal install from OpenOffice.org does however contain the vcredist_x86.exe 
file,
so this must be a difference in how the builds are created. Why is this?


Somewhere on the way to OOo3.2 we changed the way how the vcredist is 
packed. I'm not sure if it was the intent that there is no configure 
switch to allow packing with vcredist. The only reasons that come to my 
mind could be legal issues. Perhaps Martin (on CC) knows that better.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Debugging Hanging OOo

2010-11-29 Thread Mathias Bauer

On 26.11.2010 22:20, Knut Olav Bøhmer wrote:


On 26 November 2010 18:28, Carsten Driesnercarsten.dries...@oracle.com  wrote:


The fix has been applied to CWS fwk160. The change set is
273247:f2e6d56eb5b7. The issue is i115804 with the stacktrace included.

https://so-web.germany.sun.com/iBIS/servlet/edit.ControlPanel?tid=i115804


Thanks! This is great news :) I'll test this on couple of hundred
installations.
But this hyperlink does not work for me.


Oops, seems that Carsten did not even link to the patch. Here is it:

http://hg.services.openoffice.org/cws/fwk160/rev/f2e6d56eb5b7

Sorry for the confusion. Your feedback will be much appreciated.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Debugging Hanging OOo

2010-11-26 Thread Mathias Bauer

On 11/25/2010 12:52 PM, Knut Olav Bøhmer wrote:

Hi,

On 15 November 2010 11:23, Mathias Bauernospamfor...@gmx.de  wrote:

On 11/12/2010 08:58 AM, Oliver Brinzing wrote:


Hi Mathias,


The next best thing would be to have an OOo build with some debugging
information prepared (my
recommendation would be to have the modules desktop, vcl, framework and
sal with debug information) and


is there a chance to download an OOo build (win xp 32bit) with debugging
information ?
i do not have any knowledge about the build process and no time to build
it myself ;-)


You don't need a full debug build, a few libraries would be enough. If you
can make a build of your own, I can tell you more.

On Friday we had an idea - the hang-up could be caused by the clipboard code
of OOo that always had some threading issues. We also discussed a possible
solution that we could try out. So if you want, we could provide you with a
test build and you could see if it works better. But of course, absence of
evidence is not evidence of absence. :-)



The best would be if I could get the patch.


Carsten Driesner has created one. He will push it and post a reference 
to the change set here.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] GNU make build system and exported headers

2010-11-19 Thread Mathias Bauer

On 19.11.2010 14:23, Frank Schönheit wrote:

Hi Björn,


If so, I think this is not a good idea at all: Consider modules such
as toolkit, svtools and svx, where there is a more or less complex
(well, let's say: well-arranged and -readable) folder structure below
the module's include folder. Putting all those files into the flat
module/inc/module  folder will certainly not contribute to the
readability of the source tree.


Why would you want to put them into a _flat_ structure?


I don't want to. My understanding was it was required to, in the GNU
make build system.


Also note that
from the named modules toolkit and svtools are already migrated to the
new builds system. Just have a look at cws gnumake2.


Uhm. You see me confused. The trigger of this question was a call from
releng, which told me that in svtools, the content of
svtools/inc/svtools/toolpanel had to be moved to svtools/inc/svtools,
'cause of the new build system, which would not support such sub folders ...


For all readers that might got confused: with the new build systems, all 
delivered headers must reside inside $(module)/inc/$(module), but of 
course there may be further sub directories inside.


Placing delivered headers into this directory was the recommended way in 
the old build system. Now it's a requirement.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-11-16 Thread Mathias Bauer

On 11/16/2010 12:01 AM, Paul Gress wrote:

Hi all,

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 Opensolaris b134. I upgraded today to Solaris
Express 11 and installed m93 and still the same core dump.


Just a wild guess (the exactly timed crash makes we wonder): do you have 
auto-update notification enabled? If yes, maybe it helps to deactivate 
it and immediately shut down OOo and restart.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Open Office Metadata in Writer

2010-11-15 Thread Mathias Bauer

On 11/15/2010 05:53 PM, Björn Michaelsen wrote:

Hi Anil,

Am Mon, 15 Nov 2010 11:35:49 -0500
schrieb Anil Chukkapallianilu...@gmail.com:


  Can you please suggest how to solve my problem. I then want to look
at api that allows me to do it. Can you also please suggest if this
is the right approach, or if there is a better way to do the above. I
would ideally want to attempt doing by hand to see if it works and
then start attempting it using code. I am using OOo writer 2.3 (the
old one yes) and the corresponding sdk.


Have you considered the metadata support in writer?

http://wiki.services.openoffice.org/wiki/Writer/Metadata_Support


And in case you wanted to stay with 2.3: may be smart tags are something 
to consider:


http://wiki.services.openoffice.org/wiki/Smart_Tags

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] cannot open old binary autocorr.dat

2010-11-09 Thread Mathias Bauer

On 11/04/2010 06:06 PM, Oliver Brinzing wrote:

Hi,

sorry for asking such old stuff, but we have several users with autocorr.dat's
(originally created with SO 5.2/4.0). These files worked in SO 7.0 without 
problems.

But in OO 3.2 these files will not open anymore :-(

I noticed, in that case the file format is not zip (as newly created
acor.dat's in SO 7.0 are).
so i guess, SO 7.0 was able to read and write this old binary *.dat's.

Any hints how we can convert these files or extract the data ?


Get an OOo 1.x (or SO7) installation with this autocorr.dat file. Add a 
new autocorrection entry in the dialog and then find a new autocorr.dat 
file in your user profile that should be readable by newer versions of OOo.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Question about OOo saving file

2010-11-08 Thread Mathias Bauer

On 03.11.2010 10:31, Lin CHENG wrote:

When OOo saving an existed file, I found ZipOutputStream in package module
write directly the original file. What if OOo or System crash when saving
the existed file. It's impossible to recover the file after OOo or system
restart.

My question is why not write to a temp file at first, then overwriting the
existed file by copying the temp file.


That is exactly what happens when we save a document. But this happens 
outside of the zip code. This is application logic and shouldn't be 
placed into a low level module.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] DEV300m91 and CWS changehid

2010-10-29 Thread Mathias Bauer

Moin,

as announced here:

http://www.openoffice.org/servlets/ReadMsg?list=interface-announcemsgNo=1303

the treatment of HelpIds has been changed and all build steps related to 
the hid.lst generation have been removed.


In case you have a CWS that contains code changes related to HelpIds or 
if you have created some new GUI resources in src files, a resync to m91 
is recommended before you try to execute the automated tests on your CWS.


In case you have any problems with the resync, please have a look on the 
documentation at


http://wiki.services.openoffice.org/wiki/Build_Environment_Effort/HID_List

and especially at

http://wiki.services.openoffice.org/wiki/Build_Environment_Effort
/HID_List#Influences_on_future_work

If this doesn't help, I will be glad to assist you.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] DEV300m91 and CWS changehid

2010-10-29 Thread Mathias Bauer

On 10/29/2010 12:20 PM, Mathias Bauer wrote:


In case you have any problems with the resync, please have a look on the
documentation at

http://wiki.services.openoffice.org/wiki/Build_Environment_Effort/HID_List

and especially at

http://wiki.services.openoffice.org/wiki/Build_Environment_Effort
/HID_List#Influences_on_future_work


Strange that TB broke this URL. Next try:

http://wiki.services.openoffice.org/wiki/Build_Environment_Effort/HID_List#Influences_on_future_work

In case this doesn't work, pasting as quote should work:


http://wiki.services.openoffice.org/wiki/Build_Environment_Effort/HID_List#Influences_on_future_work


Sorry,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Documentation about necessary configure parameters for Windows updated in the building guide

2010-07-01 Thread Mathias Bauer

Hi,

motivated by one of our latest discussions about Windows build problems 
I changed the documentation for configure switches on Windows in the 
building guide:


http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows#configure

As always, comments welcome.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] building ooo320

2010-06-29 Thread Mathias Bauer

On 28.06.2010 10:36, Carsten Driesner wrote:


I guess you build with the Micosoft VisualStudio Express Edition which
lacks some advanced features. One of them is the Advanced Template
Library (atl). The Active X part makes heavy use of ATL but is not
needed to build OpenOffice.org. Just call configure with
--disable_activex and you will be able to build further on.
For more information please read the building guide for Windows.
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows


Are you sure that --disable-activex is enough? There's also --disable-atl.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi Ramón,


On 28.06.2010 19:32, Ramón García Fernández wrote:


After studying the failures in the components that link against
libxml2 (libxslt and xmlsecurity) I am convinced that there is a bug
in the build system. The makefiles (tg_ext.mk) defines the INCLUDE
variable on Windows platforms, used by Microsoft compilers to define
the search path for header files. But the LIB variable, needed for
the search path for libraries, is not defined.
The LIB variable is set in solenv/inc/settings.mk. It is not exported to 
the shell environment, so you won't see it there. It contains the ILIB 
variable that is set by configure (and should be visible in your shell 
environment). ILIB contains (amongst others) the lib directory of the 
solver where libxml2.lib should be found.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Problems building DEV300_m83 on Windows.

2010-06-29 Thread Mathias Bauer

Hi,

On 06/29/2010 11:13 AM, Kristján Bjarni Guðmundsson wrote:

I tried build.pl verbose=true in instsetoo_native but it only returns the
same error with no additional info. I also tried dmake util but nothing
happened (No output to console). I also tried deleting everything (Including
source) and starting the build from scratch with only en-US but the same
thing happens.

The offending lines close to line 216 in the util/makefile.mk are:

$(foreach,i,$(alllangiso) openofficewithjre_$i) : $...@{$(PKGFORMAT:^.)}
openofficewithjre_%{$(PKGFORMAT:^.)} :
 $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f
$(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p
OpenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate
$(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format
$(@:e:s/.//) $(VERBOSESWITCH)

Has anybody successfully build DEV300_m83 on Windows?


on m83 instsetoo_native can't be build because of a bug in the makefile, 
but the error message you have posted here looked different (but maybe 
you didn't post everything).


m84 will contain a fix that you can try on your m83:

--- a/instsetoo_native/util/makefile.mk
+++ b/instsetoo_native/util/makefile.mk
@@ -170,6 +169,7 @@
 .ENDIF

 $(foreach,i,$(alllangiso) openoffice_$i) : $(ADDDEPS)
+openoffice_$(defaultlangiso).archive : $(ADDDEPS)

 $(foreach,i,$(alllangiso) openofficedev_$i) : $(ADDDEPS)

Maybe it helps.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi,

there is nothing we need to do for the LIB variable as it is used 
already. The LIB variable is set in the environment of the linker when 
it is called. So whatever goes wrong in your build, it must have another 
reason.


Currently I'm working on Linux, maybe later I will have some time to 
check what's going on.


To exclude possible errors: does your build work if you build the 
libxml2 module, call deliver for it and then build libxslt?


Regards,
Mathias

On 06/29/2010 03:54 PM, Ramón García Fernández wrote:

So, what can we do? Microsoft linker needs the LIB variable or the /LIBPATH 
switch so that libraries are searched in solver/../lib. For consistency with 
INCLUDE, I would use the LIB environment variable, and rename the existing LIB. 
What option should we choose?

Can we export ILIB named as LIB?

-Mensaje original-
De: Mathias Bauer [mailto:nospamfor...@gmx.de]
Enviado el: martes, 29 de junio de 2010 10:24
Para: dev@openoffice.org
Asunto: Re: [dev] Issues building under windows xp: patch

Hi Ramón,


On 28.06.2010 19:32, Ramón García Fernández wrote:


After studying the failures in the components that link against
libxml2 (libxslt and xmlsecurity) I am convinced that there is a bug
in the build system. The makefiles (tg_ext.mk) defines the INCLUDE
variable on Windows platforms, used by Microsoft compilers to define
the search path for header files. But the LIB variable, needed for the
search path for libraries, is not defined.

The LIB variable is set in solenv/inc/settings.mk. It is not exported to the 
shell environment, so you won't see it there. It contains the ILIB variable 
that is set by configure (and should be visible in your shell environment). 
ILIB contains (amongst others) the lib directory of the solver where 
libxml2.lib should be found.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at 
Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, 
e-mail: dev-h...@openoffice.org


Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es



--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi,

On 29.06.2010 16:43, Mathias Bauer wrote:

Hi,

there is nothing we need to do for the LIB variable as it is used
already. The LIB variable is set in the environment of the linker when
it is called. So whatever goes wrong in your build, it must have another
reason.

Currently I'm working on Linux, maybe later I will have some time to
check what's going on.

Now on Windows.

I just patched the makefile.msvc from the libxslt module to add $(LIB) 
to the linker command line as additional LIBPATH. This is the result 
(look at the additional /LIBPATH behind the /OPT:NOWIN98 switch):



link.exe /nologo /LIBPATH:bin.msvc /LIBPATH:.\lib /OPT:NOWIN98
/LIBPATH:./wntmsci12/lib;./wntmsci12/slb;.;D:\OOo\o_splitview\DEV300\ooo\solver\300\wntmsci12\lib;
D:\OOo\r\JDK150~1.06\lib;D:\OOo\r\msvc9p\PlatformSDK\v6.1\lib;

D:\OOo\r\msvc9p\PLATFO~1\v6.1\lib;D:\OOo\r\msvc9p\lib;D:\OOo\r\msvc9p\DirectXSDK\lib\x86;.

/DLL  /VERSION:1.1  /IMPLIB:bin.msvc\libxslt.lib
/OUT:bin.msvc\libxslt.dll  int.xslt.msvc\attributes.obj
int.xslt.msvc\documents.obj int.xslt.msvc\extensions.obj
int.xslt.msvc\extra.obj int.xslt.msvc\functions.obj
int.xslt.msvc\imports.obj int.xslt.msvc\keys.obj
int.xslt.msvc\namespaces.obj int.xslt.msvc\numbers.obj
int.xslt.msvc\pattern.obj int.xslt.msvc\preproc.obj
int.xslt.msvc\security.obj int.xslt.msvc\templates.obj
int.xslt.msvc\transform.obj int.xslt.msvc\variables.obj
int.xslt.msvc\xslt.obj int.xslt.msvc\xsltlocale.obj
int.xslt.msvc\xsltutils.obj int.xslt.msvc\attrvt.obj wsock32.lib
libxml2.lib
As you can see, $(LIB) is set and it contains the solver/lib directory. 
So from that I don't see a reason to patch any makefile.


I wonder how your build environment differs from the officially 
supported one.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi Ramón,

so you are building OOo in a system where vbvars32.bat is executed and 
pollutes the global environment?


This is an unsupported scenario. Does it help to remove all environment 
variables set in that batch file?


Or did I misunderstand you?

Regards,
Mathias

On 29.06.2010 18:06, Ramón García Fernández wrote:

Finally I managed to isolate the problem. It is a problem with case.

The Microsoft Visual C++ express defines the LIB environment variable 
(vcvars32.bat). The Cygwin system translates it to lowercase lib. Openoffice build 
system defines uppercase LIB, and leaves lib untouched. When the Microsoft 
compiler and linker is run, and both the uppercase LIB and lowercase exist, the 
conversion Unix environment -  Windows environment passes lowercase lib.

Setting under cygwin LIB=${lib} and, most important, unsetting lib fixed the 
problem.

But I am afraid this problem may happen to any user. What should we do? Perhaps 
the lib (lowercase) should be undefined in the variables script winenv.set.sh.

-Mensaje original-
De: Mathias Bauer [mailto:nospamfor...@gmx.de]
Enviado el: martes, 29 de junio de 2010 16:44
Para: dev@openoffice.org
Asunto: Re: [dev] Issues building under windows xp: patch

Hi,

there is nothing we need to do for the LIB variable as it is used already. The 
LIB variable is set in the environment of the linker when it is called. So 
whatever goes wrong in your build, it must have another reason.

Currently I'm working on Linux, maybe later I will have some time to check 
what's going on.

To exclude possible errors: does your build work if you build the
libxml2 module, call deliver for it and then build libxslt?

Regards,
Mathias


Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es



--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi,

you should follow the building guide. If you do that, you don't need 
vc32vars.bat for building OOo. As an example, the mspdb80.dll is found 
through the --with-mspdb-path switch. Maybe that the documentation 
doesn't explain the configure switches good enough.


Here is my configure command line that I use most of the time:

./configure \
  --with-mozilla-build=/cygdrive/d/OOo/r/mozilla-build-1.3 \
  --with-cl-home=/cygdrive/d/OOo/r/msvc9p \
  --with-mspdb-path=/cygdrive/d/OOo/r/msvc9p/Common7/IDE \
  --with-frame-home=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1 \
  --with-psdk-home=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1 \
  --with-midl-path=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1/Bin \
  --with-asm-home=/cygdrive/d/OOo/r/msvc9p \
  --with-jdk-home=/cygdrive/d/OOo/r/jdk1.5.0.06 \
  --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \
  --with-directx-home=/cygdrive/d/OOo/r/msvc9p/DirectXSDK \
  --with-ant-home=/ant \
  --with-use-shell=bash \
  --disable-mozilla \
  --disable-activex \
  --disable-atl \
  --without-junit \
  --enable-pch \
  --enable-werror \
  --with-external-tar=d:/OOo/ext_sources \
  --disable-binfilter

By adjusting the pathes you should be able to use that.

Regards,
Mathias

On 29.06.2010 19:11, Ramón García Fernández wrote:

Yes, I am using vcvars32.bat. Otherwise the compiler does not run.

In a cygwin shell without running vcvars32:

$ /cygdrive/c/Archivos\ de\ programa/Microsoft\ Visual\ Studio\ 
9.0/VC/bin/cl.exe
/cygdrive/c/Archivos de programa/Microsoft Visual Studio 9.0/VC/bin/cl.exe: 
error while loading shared libraries: mspdb80.dll: cannot open shared object 
file: No such file or directory

-Mensaje original-
De: Mathias Bauer [mailto:nospamfor...@gmx.de]
Enviado el: martes, 29 de junio de 2010 18:33
Para: dev@openoffice.org
Asunto: Re: [dev] Issues building under windows xp: patch

Hi Ramón,

so you are building OOo in a system where vbvars32.bat is executed and pollutes 
the global environment?

This is an unsupported scenario. Does it help to remove all environment 
variables set in that batch file?

Or did I misunderstand you?

Regards,
Mathias

Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es



--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Issues building under windows xp: patch

2010-06-29 Thread Mathias Bauer

Hi,

thank you. So now I don't have to do it. :-)

Regards,
Mathias

On 29.06.2010 20:09, Ramón García Fernández wrote:

Thanks. I have updated the wiki page 
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows
  so that the configure examples include the option --with-mspdb-path.

-Mensaje original-
De: Mathias Bauer [mailto:nospamfor...@gmx.de]
Enviado el: martes, 29 de junio de 2010 19:20
Para: dev@openoffice.org
Asunto: Re: [dev] Issues building under windows xp: patch

Hi,

you should follow the building guide. If you do that, you don't need 
vc32vars.bat for building OOo. As an example, the mspdb80.dll is found through 
the --with-mspdb-path switch. Maybe that the documentation doesn't explain the 
configure switches good enough.

Here is my configure command line that I use most of the time:

./configure \
--with-mozilla-build=/cygdrive/d/OOo/r/mozilla-build-1.3 \
--with-cl-home=/cygdrive/d/OOo/r/msvc9p \
--with-mspdb-path=/cygdrive/d/OOo/r/msvc9p/Common7/IDE \
--with-frame-home=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1 \
--with-psdk-home=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1 \
--with-midl-path=/cygdrive/d/OOo/r/msvc9p/PlatformSDK/v6.1/Bin \
--with-asm-home=/cygdrive/d/OOo/r/msvc9p \
--with-jdk-home=/cygdrive/d/OOo/r/jdk1.5.0.06 \
--with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \
--with-directx-home=/cygdrive/d/OOo/r/msvc9p/DirectXSDK \
--with-ant-home=/ant \
--with-use-shell=bash \
--disable-mozilla \
--disable-activex \
--disable-atl \
--without-junit \
--enable-pch \
--enable-werror \
--with-external-tar=d:/OOo/ext_sources \
--disable-binfilter

By adjusting the pathes you should be able to use that.

Regards,
Mathias

On 29.06.2010 19:11, Ramón García Fernández wrote:

Yes, I am using vcvars32.bat. Otherwise the compiler does not run.

In a cygwin shell without running vcvars32:

$ /cygdrive/c/Archivos\ de\ programa/Microsoft\ Visual\ Studio\
9.0/VC/bin/cl.exe /cygdrive/c/Archivos de programa/Microsoft Visual
Studio 9.0/VC/bin/cl.exe: error while loading shared libraries:
mspdb80.dll: cannot open shared object file: No such file or directory

-Mensaje original-
De: Mathias Bauer [mailto:nospamfor...@gmx.de] Enviado el: martes, 29
de junio de 2010 18:33
Para: dev@openoffice.org
Asunto: Re: [dev] Issues building under windows xp: patch

Hi Ramón,

so you are building OOo in a system where vbvars32.bat is executed and pollutes 
the global environment?

This is an unsupported scenario. Does it help to remove all environment 
variables set in that batch file?

Or did I misunderstand you?

Regards,
Mathias

Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está
dirigido exclusivamente a su destinatario y es de carácter
confidencial. Si fuere recibido por error o se tuviere conocimiento
del mismo sin ser su destinatario, rogamos nos lo comunique por la
misma vía o telefónicamente (91 585 15 00) y proceda a su destrucción,
debiendo abstenerse de utilizar, transmitir, divulgar o  reproducir la
información contenida en el mismo. La CNMV se reserva las acciones
legales que procedan contra todo tercero que acceda de forma ilegítima
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the
intended recipient only and is confidential. If you have received this
e-mail in error or had access to it, you should note that the
information in it is private and any use thereof is unauthorised. In
such an event please notify us by e-mail or by telephone (+ 34 91 585
15 00). Any reproduction of this e-mail by whatsoever means and any
transmission or dissemination thereof to other persons is prohibited.
The Comisión Nacional del Mercado de Valores reserves the right to
take legal action against any persons unlawfully gaining access to the
content of any external message it has emitted

For additional information, please visit our website:
http://www.cnmv.es



--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at 
Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, 
e-mail: dev-h...@openoffice.org




--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent

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

2010-06-25 Thread Mathias Bauer

On 06/24/2010 12:42 PM, Niklas Nebel wrote:

On 06/24/10 12:29, Mathias Bauer wrote:

The idea is so good that someone is already working on it. :-)
There is ongoing work to replace a lot of ancient types like BOOL,
USHORT etc. by sal_... types, with the exception that BOOL/FASTBOOl
will be replaced by bool.


BOOL - bool will cause problems. Memory usage for new BOOL[n],
mixed use with sal_Bool (pointers, references), the occasional special
value (SfxChildWinInfo::bVisible). Shouldn't we go the safe way and
change BOOL to sal_Bool instead?


Thinking again about suggestion I'm starting to see its merits. It's not 
because it's more safe (we should be able to do both changes in the 
right way), but it's surely faster.


The primary motivation of us (the framework team) to start that work was 
that we wanted to get rid of a possible build breaker that has hit us 
every few months in the past.


Types like BOOL, USHORT etc. are not only defined in 
tools/inc/tools/solar.h, but also in a Windows header. Moreover, the 
Windows API header defines them differently in many cases. So if you use 
the tools types, you must avoid to include the offending Windows 
headers. While that is annoying enough, it becomes a pain if you use 
precompiled headers. So it happens at times that a Windows build works 
without PCH but breaks with them. I had that several times in the past.


A change from BOOL to sal_Bool indeed would be much faster than an 
attempt to use bool as much as possible, so it would be tempting to go 
that road and postpone a further replacement of sal_Bool by bool. We 
should ask the developers doing the work (some guys from RedOffice) what 
their own choice is. I don't know if they are reading this list, they 
surely read d...@framework, so I will ask there.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-06-25 Thread Mathias Bauer

On 06/25/2010 10:48 AM, Herbert Duerr wrote:



BOOL - bool will cause problems. Memory usage for new BOOL[n],
mixed use with sal_Bool (pointers, references), the occasional special
value (SfxChildWinInfo::bVisible). Shouldn't we go the safe way and
change BOOL to sal_Bool instead?


Thinking again about suggestion I'm starting to see its merits. It's
not because it's more safe (we should be able to do both changes in
the right way), but it's surely faster.

The primary motivation of us (the framework team) to start that work
was that we wanted to get rid of a possible build breaker that has hit
us every few months in the past.

Types like BOOL, USHORT etc. are not only defined in
tools/inc/tools/solar.h, but also in a Windows header. Moreover, the
Windows API header defines them differently in many cases. So if you
use the tools types, you must avoid to include the offending Windows
headers.


This problem has been solved for many years now by using wrappers for
external headers such as tools/prewin.h+tools/postwin.h
tools/prex.h+tools/postx.h or tools/premac.h+tools/postmac.h.


No, that doesn't work when PCH come into play, as experience shows. And 
it's an awful hack. Those who invented it (instead of *fixing* the 
problem when it was much easier than today as we had much less code!) 
should be punished by urging them to watch soccer games from France and 
Italy for at least three days without pausing. :-)


Ciao,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-06-24 Thread Mathias Bauer

Hi,

On 24.06.2010 11:17, Bartosz wrote:

Hi.

What do you think about replace macro FASTBOOL with bool?
http://svn.services.openoffice.org/opengrok/xref/DEV300_m83/tools/inc/tools/solar.h#FASTBOOL

For now the FASTBOOL is defined as:
   typedef int  FASTBOOL;

Maybe we should change it to (or remove this macro):
   typedef bool FASTBOOL;

It was done, because int was faster than bool.
More info:
http://cboard.cprogramming.com/cplusplus-programming/119320-bool-vs-int-faster.html

Modern compilers are very smart, and I think we should leave optimization to 
them.

What do you think about this idea?


The idea is so good that someone is already working on it. :-)
There is ongoing work to replace a lot of ancient types like BOOL, 
USHORT etc. by sal_... types, with the exception that BOOL/FASTBOOl will 
be replaced by bool.



Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-06-24 Thread Mathias Bauer

On 24.06.2010 12:42, Niklas Nebel wrote:

On 06/24/10 12:29, Mathias Bauer wrote:

The idea is so good that someone is already working on it. :-)
There is ongoing work to replace a lot of ancient types like BOOL,
USHORT etc. by sal_... types, with the exception that BOOL/FASTBOOl
will be replaced by bool.


BOOL - bool will cause problems. Memory usage for new BOOL[n],
mixed use with sal_Bool (pointers, references), the occasional special
value (SfxChildWinInfo::bVisible). Shouldn't we go the safe way and
change BOOL to sal_Bool instead?


In result I expect that most BOOL can be replaced by bool, while 
some of them will become sal_Bool. The misused BOOLS that in fact 
are 8 Bit integer variables(*) IMHO should become a sal_uInt8/16 just to 
show that they are *not* boolean.


Anyway the change from BOOL to whatever is nothing that can be done just 
with a script. That's different for e.g. USHORT.


Regards,
Mathias

(*) The famous cases where a BOOL parameter was used as an 8 Bit 
integer to keep (formal) compatibility.


--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Build OpenOffice 3.20 on WinXP

2010-06-23 Thread Mathias Bauer

On 23.06.2010 07:47, Lê Việt Quang wrote:

I try to build ooo320_m19 on WinXP , I try to do as
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windowsbut
It fail and take this Error :

build -- version: -

=
Building module udkapi
/cygdrive/e/ooo320_m19/udkapi/com/sun/star/uno
:  
PATH=${PATH}:/cygdrive/E/ooo320_m19/solver/320/wntmsci12.pro/binE:/ooo320_m19/solver/320/
wntmsci12.pro/bin/idlc @E:/Cygwin/tmp/mkB0QRwu
E:\ooo320_m19\solver\320\wntmsci12.pro\bin\idlc.exe: compile
'Exception.idl' ...
E:\ooo320_m19\solver\320\wntmsci12.pro\bin\idlc.exe: could not copy file
E:\ooo320_m19\udkapi\com\sun\star\uno\Exception.idl to c:\temp\idli_a02272
dmake:  Error code 99, while making '../../../../
wntmsci12.pro/ucr/cssuno.db'

ERROR: Error 65280 occurred while making
/cygdrive/e/ooo320_m19/udkapi/com/sun/star/uno
rmdir E:/Cygwin/tmp/ai6nVL8Hr6



Someone tell me about this error , I tried to fix but I can't. Thank you
verry much .


That's a strange error. What lets me wonder is that you seem to have two 
different locations for temp files: c:\temp\... and e:/cygwin/tmp. Maybe 
your TMP and TEMP locations are different?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] RE: Issue building OpenOffice under Windows

2010-06-23 Thread Mathias Bauer

Hi,

I don't know what successfully installed libxml2 means. I would just 
build it from the OOo module and deliver it.


The result of this procedure would be a libxml2.dll in solver/.../bin 
and a libxml2.lib import library in solver/.../lib. There are two other 
libraries libxml2_a.lib and libxml2_a_dll.lib in this directory, maybe 
there is some strange procedure applied.


Again, the best is do build libxml2 from the sources in OOo.

Regards,
Mathias

On 23.06.2010 19:21, Ramón García Fernández wrote:

I thought that it was clear that the error was that the appropiate path to the 
libxml2.lib was not given to the linker command line. Unfortunately, there is 
no easy way to change the language compiler messages. I am going to install the 
English version of Visual C++ Express 2008. Anyway, here is the translation



--
--
=
Building module libxslt
=

Entering /openoffice/local_DEV300/libxslt

mkdir: cannot create directory
`./wntmsci12.pro/misc/build/libxslt-1.1.24/win32': File exists

  Microsoft program maintenance utility (R) versión
9.00.21022.08
(C) Microsoft Corporation. All rights reserved

  link.exe /nologo /LIBPATH:bin.msvc /LIBPATH:.\lib /OPT:NOWIN98 /DLL  
/VERSION:1.1  /IMPLIB:bin.msvc\libxslt.lib /OUT:bin.msvc\libxslt.dll  
int.xslt.msvc\attributes.obj int.xslt.msvc\documents.obj 
int.xslt.msvc\extensions.obj int.xslt.msvc\extra.obj 
int.xslt.msvc\functions.obj int.xslt.msvc\imports.obj int.xslt.msvc\keys.obj 
int.xslt.msvc\namespaces.obj int.xslt.msvc\numbers.obj 
int.xslt.msvc\pattern.obj int.xslt.msvc\preproc.obj int.xslt.msvc\security.obj 
int.xslt.msvc\templates.obj int.xslt.msvc\transform.obj 
int.xslt.msvc\variables.obj int.xslt.msvc\xslt.obj int.xslt.msvc\xsltutils.obj 
int.xslt.msvc\attrvt.obj wsock32.lib libxml2.lib LINK : warning LNK4224: 
/OPT:NOWIN98 no longer admitted; has been omitted LINK : fatal error LNK1181: 
cannot open input file 'libxml2.lib '
NMAKE : fatal error U1077: 'C:\ARCHIV~1\MICROS~1.0\VC\bin\link.exe' : returned 
code '0x49d'
Stop.
dmake:  Error code 2, while making
'./wntmsci12.pro/misc/build/so_built_so_libxs
lt'

1 module(s):
  libxslt
need(s) to be rebuilt

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue your the 
b uild issuing command:

  build --all:libxslt




Aviso legal – Comisión Nacional del Mercado de Valores

Este mensaje y, en su caso, los ficheros que lleve incorporados, está dirigido 
exclusivamente a su destinatario y es de carácter confidencial. Si fuere 
recibido por error o se tuviere conocimiento del mismo sin ser su destinatario, 
rogamos nos lo comunique por la misma vía o telefónicamente (91 585 15 00) y 
proceda a su destrucción, debiendo abstenerse de utilizar, transmitir, divulgar 
o  reproducir la información contenida en el mismo. La CNMV se reserva las 
acciones legales que procedan contra todo tercero que acceda de forma ilegítima 
al contenido de cualquier mensaje externo procedente de la entidad

Para información y consultas visite nuestra web: http://www.cnmv.es


Disclaimer - Comisión Nacional del Mercado de Valores

This message, its content and any file attached thereto is for the intended 
recipient only and is confidential. If you have received this e-mail in error 
or had access to it, you should note that the information in it is private and 
any use thereof is unauthorised. In such an event please notify us by e-mail or 
by telephone (+ 34 91 585 15 00). Any reproduction of this e-mail by whatsoever 
means and any transmission or dissemination thereof to other persons is 
prohibited. The Comisión Nacional del Mercado de Valores reserves the right to 
take legal action against any persons unlawfully gaining access to the content 
of any external message it has emitted

For additional information, please visit our website: http://www.cnmv.es



--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-06-18 Thread Mathias Bauer

On 14.06.2010 23:32, Andrew Douglas Pitonyak wrote:

On 06/14/2010 07:05 AM, Bartosz wrote:

I thought I had a patch somewhere to do some of the conversion, but I
can't find it now. I remember that I didn't go ahead with it at the time
because my first cut at it left OOo larger than it was before hand,
which was an annoying result.

Great. If you could find this patch, it will be very useful.

Should we create the new class which replace the SvArray (it will be
used STL)
or just replace all SvArray to STL directly?

I think the first idea is better to maintenance (but it is a little
bit harder to implement),
the second idea is a little bit harder to implement, and it will be
difficult to add some new features to all new arrays.

Best Regards
Bartosz


Changing out SvArray, will fix this long standing bug, which will bring
great joy and happiness to my life.

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


Unfortunately just exchanging the implementation of the array won't fix 
anything. There will still be code that works with such arrays and if 
this code uses 16 Bit integers to access the array elements, not that 
much would be won. So how much could be achieved in which time span 
depends on the way how a particular array is used. The more local the 
code, the easier will it be to change this.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: SfxItemSet assumptions and assertions

2010-06-18 Thread Mathias Bauer

On 16.06.2010 10:57, Bjoern Michaelsen wrote:


Am Wed, 16 Jun 2010 10:11:25 +0200
schrieb Mathias Bauernospamfor...@gmx.de:


BTW: I don't remember if any of the two ItemSet implementations
returns an VoidItem in a GetItem call for a disabled item or if NULL
is returned then. IMHO it always should be the latter.

Getting a void item the old implementation returns:
- a state disabled and leaves the item pointer unmodified in
   GetItemState
- a NULL item pointer in GetItem
- a pointer to the void item and fires an assertion (triggered on which
   id == 0 _OR_ type == SfxVoidItem) in Get

Getting a void item the new implementation returns:
- state disabled and leaving the pointer unmodified only on which id = 0
   in GetItemState
- a NULL item pointer on which id = 0 in GetItem
- a pointer to the item in Get


The last action looks wrong to me. In the same way as an ItemSet can't 
return anything if the item is invalid, it shouldn't return something if 
it is disabled. Unfortunately changing that might be risky. But sometimes...



Void items with a which id set to the which position it is in in the
itemset are treated just as any other item. Assertions are mostly pushed
to the point where such items are put in the set, not when they are
extracted -- when it is too late already.


This is correct IMHO. The problem is the hidden message behind an 
SfxVoidItem if its ID is 0.



Back to your primary topic. If we identify the places where a
VoidItem with ID != 0 is put, and if the developers state that this
is by intent, we can remove that assertion and make putting VoidItems
with ID != 0 a valid action that does not disable that item.

True. Still somewhere code may lurk, where a void item is put with a
which id set and expected to work as a disabled state. For example IIRC
doing a SfxItemSet::Put(SfxVoidItem(4711)) will result in
SfxItemSet::GetItemState(4711, false, NULL) returning a disabled state
in the old implementation, but not in the new one.

So there are three cases. The developer intended:
- the behavior of the old implementation (which would be abuse of the
   interface)
- the behavior of the new implementation (which would be a bug)
- any behavior, because they make no difference in the given scenario.

A migration path could be as follows: We have a aborting assertion on
putting void items. Every such call either gets replaced by:
- an explicit DisableItem call
- or an explicit (new) PutVoidItem call (with the which id of the void
   item set to the which id of the position in the set)


Assertions don't help, you can never be sure that you have fixed 
everything. But OTOH I don't see any way how we can let the compiler do 
the work for us.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] file security

2010-06-18 Thread Mathias Bauer

On 26.04.2010 14:50, Vincent Robert wrote:

Hello,



I'm a student in computer science in Switerland I'm doing my bachelor thesis
about file security. Especially these one : doc/docx, xls/xlsx.

I'm trying to collect lots of information about the kind of file. Especially
wich algorithm are used, if a salt value was used for computing the
symmetric key, wich hash function is used, if an interation count was used
to compute the symmetric key and so on.



Microsoft doesn't have any documentation about their file and it's very hard
to find these information. As openOffice is fully compatible with mircosoft
office, I wonder if somebody here can help me??


Did you try

http://www.microsoft.com/interop/docs/officebinaryformats.mspx?

Ciao,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Mathias Bauer

On 15.06.2010 11:47, Björn Michaelsen wrote:


Well, the implementation in new_itemsets only checks for the which id
being 0 and never checks for the type being an SfxVoidItem (outside
assertions). So an disabled item is consistently defined as any item
returning an which id of 0 in the new itemset implementation.


That's an improvement and it allows to use the API consistently. OTOH 
it is still ugly. :-) I consider the way how the ItemSet codes the 
disabled status an implementation detail.



Now the interesting part is finding the clients of the itemset that
rely on void items being interpreted as disabled by the itemset and
fixing those 
Question is if that is more effort then replacing all code that puts 
items with ID = 0 with code calling DisableItem instead. That would 
make putting an item with ID=0 an invalid action.


BTW: I don't remember if any of the two ItemSet implementations returns 
an VoidItem in a GetItem call for a disabled item or if NULL is returned 
then. IMHO it always should be the latter.


Back to your primary topic. If we identify the places where a VoidItem 
with ID != 0 is put, and if the developers state that this is by intent, 
we can remove that assertion and make putting VoidItems with ID != 0 a 
valid action that does not disable that item.


The question why ItemSet::Put must allow that nWhich differs from the 
item's which is still open. I assume that it's related to different 
pools having different WhichIds for the same item. But knowing it for 
sure would perhaps allow us to define a less fuzzy interface.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Mathias Bauer

On 16.06.2010 11:07, Malte Timmermann wrote:


We have
   const SfxPoolItem  Get()
and
   const SfxPoolItem* GetItem(...)

Not sure why we have two different Get Methods, but the first doesn't
allow to return NULL, so I assume the second one would also have to
return the same VoidItem for consistency.


I assume that Get() can't be used right away because the internally 
stored item pointer may have the value NULL or even -1(!). So I think 
that you can't call GetItem() before checking if the ItemSet has an item 
and it would be just wrong if it would be called for an invalid item.



Putting them on a different ID than it's own ID doesn't sound right to me.
For the different which ID stuff we have the SlotID mechanism.
But that would probably need cloning the item and changing the which
when putting it into a pool/itemset where different which ids are use.
So the situations where we put items on different IDs should be
investigated more closely.

But again, looking at
  pItem = new SfxVoidItem( m_nSlotID );
  rReq.SetReturnValue( SfxVoidItem( rReq.GetSlot() ) );
it seems to be a supported and wanted scenario.


The fact that it is used that not mean that it is correct or even 
necessary. ;-) The question is what is the intent of writing this code 
and if that really requires such a fuzzy interface.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer

On 16.06.2010 15:24, Knut Olav Bøhmer wrote:

Hi,

There are some old bug related to hyperlinks with bookmark: hyperlinks to
.doc files with bookmarks does not work.

I think the following bugs are related to each other. And the bug has been
there for at least 6 years.

http://qa.openoffice.org/issues/show_bug.cgi?id=26957
http://qa.openoffice.org/issues/show_bug.cgi?id=109752
http://qa.openoffice.org/issues/show_bug.cgi?id=109752
http://qa.openoffice.org/issues/show_bug.cgi?id=109752
http://qa.openoffice.org/issues/show_bug.cgi?id=19413


Any reason why one the issues is listed three times?

Besides that, these issues are totally unrelated and it doesn't make 
sense to construct a general hyperlink problem that just doesn't exist. 
Moreover, the Calc issue was reported just a few weeks ago. It seems 
that nobody just is aware of it (no QA or dev engineer was involved 
until now).


I wasn't able to reproduce issue 19413, perhaps we should close it.

Then there is issue 26957. It seems that the bug is triggered by the 
fact that the URL to open is handed over to the system, not handled by 
OOo internally. That can't work as # in file URLs are not what they 
are in e.g. http URLs. The only solution would be *not* to let the 
system handle the URL (and that's the reason why it works in Word).


Here's the code in sfx2/source/appl/appopen.cxx that decides whether a 
URL shall be handled internally or not:



aTypeName = xTypeDetection-queryTypeByURL( aURL.Main );
SfxFilterMatcher rMatcher = SFX_APP()-GetFilterMatcher();
const SfxFilter* pFilter = rMatcher.GetFilter4EA( aTypeName );
if ( !pFilter || !( pFilter-IsOwnFormat() ))
{


Changing that is a matter of minutes, but the side effect could be 
larger than expected. Allowing to handle all URLs internally that OOo 
can open (detected by pFilter != 0 in the code above) is not wanted, as 
many other formats like e.g jpg, png etc. surely should preferably 
handled by the system and the application registered there.


Another idea: check for # in the URL, and in case there is one, handle 
the URL internally.



In the   queryDispatch method the plan was to check for
   if ((aURL.Complete.startsWith(file://) )
(aURL.Complete.matches(.*doc#.*) )) {
and then use loadComponentFromURL. But .doc hyperlinks never arrived here.


You can't intercept loadComponentFromURL calls with a dispatch 
interceptor, your only can intercept - sic! - dispatch calls.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer

Hi Knut Olav,

On 16.06.2010 17:57, Knut Olav Bøhmer wrote:


Is there a (easy) way to tell OOo that we want to handle specific url's
internally?  It could also sometimes be useful to say that we do not want to
handle odt urls internally also (maybe).. But the most important thing is to
get the #bookmarks to work.


For the bookmark case I would fix that in the place I have shown.

I just discovered that we already have code there that handles the case 
where the URL only consists of a jump mark. I will have a closer look 
and report my findings in the issue. We can follow-up there.



Maybe it would be possible to tell the system how to handle url's with
bookmarks?


No, that doesn't work. A # is just a letter in a file name, so the URL 
file://foo/bar/text.doc#mark does not point to the same file as 
file://foo/bar/text.doc. Jump marks in file URLs must be handled 
internally. OOo can do that in the same way as a browser can do it for 
http URLs.



So the .doc did not arrive at my
dispatcher, because the system had taken it.


If the jump to the bookmark would be a result of a click on a hyperlink, 
your dispatch interceptor should have seen the dispatch. But the command 
isn't the URL, it would the command .uno:OpenURL or so, where the file 
name (including the jump mark) would be one of its dispatch arguments. 
Can you confirm that?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer

On 06/16/2010 09:21 PM, Knut Olav Bøhmer wrote:


As long as the url points to a .doc file, my interceptor is not called no
matter if there is a bookmark there or not. It does not matter if ctrl-click
is required or not. There is just NO dispatch interception going on for
.doc files.
But I get all sorts of other dispatch querys like .uno:GoUp or .uno:Quit
and file:// but not as long as it is a .doc file  whether the file exists
or not.

Regards


I assume that the code that calls the hyperlink dispatch uses the wrong 
way. In code using sfx2 (as e.g. Writer) we have two ways to dispatch, 
the normal one and an internal one that can't be intercepted. 
Something like that is necessary, e.g. to handle dispatch events after 
possible interceptions (slave dispatchers). That sounds interesting 
enough to have a look. :-)


In case you are interested: the normal dispatch is triggered by 
Execute calls at an instance of class SfxBindings, while the 
internal one uses Execute calls at an instance of class SfxDispatcher.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



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

2010-06-15 Thread Mathias Bauer

On 14.06.2010 12:01, Caolán McNamara wrote:

On Mon, 2010-06-14 at 11:22 +0200, Michael Stahl wrote:

the SvArrays should be replaced by appropriate STL types (mostly vector, i
guess, but probably in some cases stacks or deques or something else).


deques I think was the best option in general the last time I looked at
this. Probably best to ignore the binfilter ones and leave those still
using a migrated-into-binfilter svarray family.

I thought I had a patch somewhere to do some of the conversion, but I
can't find it now. I remember that I didn't go ahead with it at the time
because my first cut at it left OOo larger than it was before hand,
which was an annoying result.


A code replacement like this creates the question what shall be the goal:

- reduce memory footprint
- improve performance
- remove code duplication
- improve code quality

etc.

IMHO in case of the move from SvPointerArray to STL containers the 
predominat factors will be the soft ones, not the hard ones that are 
easy to measure. Even without memory footprint and performance 
improvements in the first place a change like this has its merits. 
Though it also has its price (the working time to invest), what might 
explain why nobody started that effort.


Regards,
Mathias


--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] SfxItemSet assumptions and assertions

2010-06-15 Thread Mathias Bauer

On 14.06.2010 17:49, Malte Timmermann wrote:



Björn Michaelsen wrote, On 06/14/10 16:09:

Am Mon, 14 Jun 2010 15:11:57 +0200
schrieb Malte Timmermannmalte.timmerm...@sun.com:


Hi Bjoern,

Björn Michaelsen wrote, On 06/14/10 13:34:

Hi all,

while testing the new SfxItemSets in cws new_itemsets I came across
a few interesting uses of itemsets which I had considered to be
illegal (but I might be wrong there). I assumed:
- non-void items should only be put at the same which id in a set
as the which id on the item itself.
- void items should always have a which id of 0 and are allowed to
be put anywhere.

Who says they would need to have which ID 0 ?


Well, as I said I can be wrong here. But a SfxVoidItem with which id
set to 0 is interpreted as disabled. However, some functions only
test for the type being SfxVoidItem, while others test only for the
which id being 0. Thus having a half-disabled item might lead to
interesting results. See for example:

http://svn.services.openoffice.org/opengrok/xref/DEV300_m82/svl/source/items/itemset.cxx#542
(SfxItemSet::GetItemState)
http://svn.services.openoffice.org/opengrok/xref/DEV300_m82/svl/source/items/itemset.cxx#589
(SfxItemSet::Put)
http://svn.services.openoffice.org/opengrok/xref/DEV300_m82/svl/source/items/itemset.cxx#2040
(SfxItemSet::DisableItem)

So, when you used SfxVoidItems, did you intend them to be interpreted
as disabled?


No - but it doesn't matter, because I only use them for character
attributes (single items), not for paragraph attributes (item set).

They probably only get into the item sets because the SfxItemPool has
default items, I don't think that I put them in some SfxItemSet explicitly.


So this is code broken (the code in the ItemSet, not yours). If some 
code in SfxItemSet just checks for SfxVoidItems to decide whether it is 
a disabled item, while other code just checks for ID == 0, the problem 
is already there. It's also an unnecessary complexity to require the 
check of two attributes (type *and* ID). The next interesting question 
is what should happen if items derived from SfxVoidItems are used ...


So perhaps coding disabled as SfxVoidItem is a severe design flaw. So 
it would be better if disabling (and checking for disabed state) should 
be possible only by using explicit methods from SfxItemSet. If the 
implementation requires to code that by storing a special item, this 
item should be a private class in SfxItemSet so that it can't be used 
outside. The problem with that approach is that it requires a 
non-trivial amount of work. :-(



Of course they get into the SfxItemPool...

BTW - they are also used in the binary document format, SfxItemSet
load/store, so I also don't know what would happen here if the IDs where 0.


So we are lucky that this format is doomed. :-)

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] CMake

2010-06-13 Thread Mathias Bauer

On 06/10/2010 08:19 PM, Bill Hoffman wrote:


add_depend is used to express depends that the build system can not
figure out. For most cases, it is not needed. add_library(a ...)
target_link_library(a b), a now depends on library b. It is when you use
custom commands, or have generated source files that are not known at
configure time that you would need to use add_depend.


Exactly. And we have a lot of these custom targets. A build system 
tailored to that can make add_depend or similar unnecessary as it 
*can* figure that out, in the same way as CMake can figure it out for C 
libraries, because it knows how to build them. Our plan is that all 
target types and the ways they are built are known to the build system 
and declaring one of these targets automatically takes care of the 
dependencies.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Mathias Bauer

On 07.06.2010 07:31, Aditya Manthramurthy wrote:


Entering /home/aditya/Code/ooo/ooo-try/instsetoo_native/util

dmake: makefile.mk: line 216: Error: -- Missing targets or attributes in
rule

1 module(s):
instsetoo_native
need(s) to be rebuilt

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue
your the build issuing command:

build --all:instsetoo_native


===

Line 216 in instsetoo_native/util/makefile.mk has something to do with
jre, and I am building without Java support. Is that the problem?


Without a closer analysis, that's possible. I hope that someone else can 
comment on that. Perhaps you can comment out everything containing 
withjre as a workaround?


BTW: did you notice the

--enable-gnome^Cfs

in your command line for configure? Is that a CP error in the mail or 
did you use it that way?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] subsequenttests

2010-06-07 Thread Mathias Bauer

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 of OOo developer tests (that require a complete
installation set to test against), particularly replacing cwscheckapi.

With CWS sb120 integrated in DEV300_m80, the framework and tests will
hopefully be reliable enough for actual use, see
http://tools.openoffice.org/servlets/ReadMsg?list=tinderboxmsgNo=360
new step for buildbots.

Developers are encouraged to run subsequenttests now, similarly to how
they ran cwscheckapi in the past. See the first link above for details.

Due to a code change in CWS sb120, Gregor's buildbot framework will no
longer patch away the subsequenttests step in DEV300_m80, so most of the
buildbots (those running on Gregor's framework) will automatically start
to include that step. There are apparently problems with X11 on some of
the bots (see the second link above), and there might still be sporadic
failures (see
http://wiki.services.openoffice.org/w/index.php?title=Test_Cleanup#unoapi_Tests_2),
potentially causing buildbot builds to go red. I leave it up to Gregor
to disable any test steps again that turn out to cause trouble; please
inform him about problems you encounter. (Due to vacation schedules, we
probably won't be able to track down those X11 problems for the next two
weeks.)


As expected, all build bots that don't skip that test, break. Some of 
them, as expected, because of DISPLAY problems, some others because they 
can't generate a PDF file in some of the test (what apparently worked in 
CWS sb120). Do we nevertheless want to keep these tests running on the 
build bots. Side effects of this will be that all CWS based on m80 and 
later will have status red in EIS.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Mathias Bauer

On 06/07/2010 03:35 PM, Aditya Manthramurthy wrote:


I'd like a configure line for Ubuntu 10.04 Lucid that actually worked
for someone. Also, Mathias Bauer's suggestion did not work for me.
Commenting out the withjre from that makefile also failed. Any help is
appreciated!


If you don't insist on using everything from system - my configure line 
for Ubuntu is just


--with-use-shell=bash
--disable-build-mozilla

and it works if I have installed the following packages before:

g++ bison flex libarchive-zip-perl libcups2-dev libpam0g-dev 
sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev 
libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit4


AFAIK building with system libs also works on Ubuntu, but I never tried 
it myself. Your configure cmd line is *much* too big, probably because 
it was created from someone who uses the ooo-build system. Especially on 
Ubuntu the vanilla build seems to work better.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



  1   2   3   4   5   6   7   >