[dev] Visiting Hamburg with a list of RFEs

2006-11-24 Thread tora - Takamichi Akiyama
Hello, I visited Hamburg last week and had several meetings with development teams. Thanks to many people in Hamburg, especially Joost Andrea who had organized a series of the meetings; the trip was very successful. Here is a short report on it. This visit aimed at sharing information on

[dev] i73155 Reconsideration of read-only mode

2007-01-26 Thread tora - Takamichi Akiyama
Hi, Anyone, good solution? http://www.openoffice.org/issues/show_bug.cgi?id=73155 User scenario: 1. A citizen visits a web site of public office to obtain an application form. 2. She clicks on a link decorated with an icon of OpenDocument file format. 3. The document is successfully opened

Re: [dev] i73155 Reconsideration of read-only mode

2007-01-28 Thread tora - Takamichi Akiyama
Mathias Bauer wrote: Besides that entering data into forms should be done using input fields and a submit button. There is no need to save the form (=document) to transfer form data. Even if the form is an OOo document it can perform this task perfectly in read-only mode. Now I understand.

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread tora - Takamichi Akiyama
Hi, Ulf Wendel wrote: cd ./unxsoli4.pro/misc/build/hsqldb/ /export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant -Dbuild.label=build-300m28(Build:9337) -f build/build.xml jar touch /export/home/nixnutz/oo.org-m28/hsqldb/./unxsoli4.pro/misc/build/so_built_so_hsqldb

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread tora - Takamichi Akiyama
P.S. If you run ./configure in the directory config_office again, 1. Open a new Terminal Emulator or remotely log into the machine. 2. cd /xxx/config_office 3. ./configure ... Since, if you have already executed . SolarisX86Env.Set.sh in one terminal emulator, lots of environment variables are

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread tora - Takamichi Akiyama
Ulf Wendel wrote: Regarding ant: I've added it manually to my source tree. It seems not to be part of my CVS repro. Try to use --with-ant-home= for ./configure, instead, since Ant is a tool to build some modules of OOo, not a source code of OOo. IMHO, It should not be in your source tree.

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread tora - Takamichi Akiyama
Ulf Wendel wrote: I do have SUNWant installed (/usr/sft/lib/ant, /usr/sfw/bin/ant, ...). However, I did not set --with-[ant-something] when configuring OOo. I ended up downloading ant and putting it in external/common/ . That worked more or less flawless. The ant script

Re: [dev] sandbox java errors during compile @ SuSE 11.0 @ javac = gcc 4.3.1 @ i386

2008-08-19 Thread tora - Takamichi Akiyama
Ulf Wendel wrote: I need to set up a new VMware box to answer this question. If you do not need to stick on any certain Linux distributions, there is a recommendation among them. It is Fedora Core 4. For details, see [1]. The wiki page, however, is written for OOo 2.x, not 3.x, but it could

Re: [dev] Could not open include file jni.h. @ OOo 3.0 M28 @ OpenSolaris svn 95

2008-08-19 Thread tora - Takamichi Akiyama
Christian Lohmaier wrote: No, use JDK 1.5, the baseline will be raised shortly. 1.4 will no longer work. Thank you for the invaluable information! I will follow that. Tora - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread tora - Takamichi Akiyama
Hi, Ulf Wendel wrote: tora - Takamichi Akiyama schrieb: Ulf Wendel wrote: Regarding ant: I've added it manually to my source tree. It seems not to be part of my CVS repro. Try to use --with-ant-home= for ./configure, instead, since Ant is a tool to build some modules of OOo, not a source

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-20 Thread tora - Takamichi Akiyama
Hi Ulf, I am afraid, but I still cannot understand why you need to avoid using gcc on Solaris. Why do you use Java 1.6? The latest software sometimes does not work with current source codes that were firstly prepared with several software/tools developed several years ago. For Java, I would

Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-20 Thread tora - Takamichi Akiyama
Hi Ulf, Ulf Wendel wrote: The last time I tried OOo with GCC on OpenSolaris the configure failed [1]: [1] http://www.nabble.com/[EMAIL PROTECTED] checking the GNU gcc compiler version... checked (gcc 3.4.3) checking gcc linker... configure: error: failed (not GNU ld). Use GNU ld instead

Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-21 Thread tora - Takamichi Akiyama
Hi, What i can propose here is not to disable any options of ./configure since there would be possibilities of unexpected behaviors. ./configure --disable-something will set or unset some environment variables defined in LinuxX86Env.Set.sh 'dmake' or 'build' will work depending on the

Re: [dev] DEV300_m29: compiling ERROR: File not found: ScriptFramework.jar

2008-08-21 Thread tora - Takamichi Akiyama
Hi, So, in your case, building a module 'scripting' failed and/or 'deliver' command has not been executed in the module yet, or the module has not been built at all. What should I do now? cd to the $SRC_ROOT/scripting directory and try to run build there It didn't work. I got the same

Re: [dev] Is the Solver still being used?

2009-01-26 Thread tora - Takamichi Akiyama
Hi Jörg, Jörg Jahnke wrote: it looks like no one really uses the Solver tarballs. Therefore I suggest we simply drop the creation of them. For the purpose of providing patch files to customers who have installed an official build delivered by the RE and could not wait for a bug fixing

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-09 Thread tora - Takamichi Akiyama
Nguyen Vu Hung wrote: 1. svn checkout http://svn.services.openoffice.org/ooo/tags/DEV300_m40 3. Now I run dmake and I get an error: make[1]: Leaving directory `/var/www/home/ooo.src/DEV300_m40/dmake' make: Leaving directory `/var/www/home/ooo.src/DEV300_m40/dmake' Checking module list dmake:

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-10 Thread tora - Takamichi Akiyama
Could you try dmake -v to find out what command dmake had invoked and got the error code 155? Nguyen Vu Hung wrote: ~/bin/dmake - version 4.11 I am afraid, but your dmake seems not to be the one that we intend. See http://tools.openoffice.org/dmake/dmake_4.11.html -v option is Verbose

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-10 Thread tora - Takamichi Akiyama
Nguyen Vu Hung wrote: Checking module list dmake: Error code 155, while making 'check_modules Sorry, my suspicion - something missing around Perl - seems to be wrong. [vuh...@aoclife prj]$ perl $SRC_ROOT/solenv/bin/build.pl --checkmodules build -- version: - Fetching dependencies for

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-10 Thread tora - Takamichi Akiyama
I also notice that ./configure complain about the missing of jakarta-ant but I thought jakarta-ant is too old and I only need apache-ant-1.7.1.tar.bz2... See config.log in the same directory of ./configure and look for the word ant BUILD FAILED

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-11 Thread tora - Takamichi Akiyama
Hi, Nguyen Vu Hung wrote: I've rm -rf my $HOME/lib/{libcairo*,libpango*}, $HOME/include/{cairo*,pango*} and the build is running again. I have a lot of libraries installed to my $HOME so I think in the next try, I will create a new user and build OOO m40 with that user. The libraries

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-12 Thread tora - Takamichi Akiyama
Nguyen Vu Hung wrote: I've rm -rf my $HOME/lib/{libcairo*,libpango*}, $HOME/include/{cairo*,pango*} and the build is running again. I have a lot of libraries installed to my $HOME so I think in the next try, I will create a new user and build OOO m40 with that user. The libraries 'cairo' and

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-12 Thread tora - Takamichi Akiyama
tora - Takamichi Akiyama wrote: Additionally, try set up your build environment again following the information given by the release engineering team. http://wiki.services.openoffice.org/wiki/Compiler_versions_used_by_port_maintainers_and_release_engineers The easiest way might be to prepare

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-12 Thread tora - Takamichi Akiyama
Nguyen Vu Hung wrote: I've built m40 successfully and I attach the build script at the end of this email. That is good news. # yum search cairo # yum install cairo-devel On CentOS 5.2: $ rpm -qa | grep cairo pycairo-devel-1.2.0-1.1 cairo-1.2.4-5.el5 cairo-devel-1.2.4-5.el5

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-13 Thread tora - Takamichi Akiyama
Hi, Just one thing I have found in your build script is use of ccache. Nguyen Vu Hung wrote: export CCACHE_DIR=/tmp/DEV300_m40.ccache ccache -M 6G -F 10 export CC=ccache gcc export CXX=ccache g++ #export CC=gcc #export CXX=g++

Re: [dev] cvs co -r DEV300_m2 swext

2009-02-13 Thread tora - Takamichi Akiyama
could be reconsidered. tora - Takamichi Akiyama wrote: - ccache will greatly reduce build time on the *subsequent* builds. - ccache could take much time more than without ccache at the first build Tora - To unsubscribe, e-mail

Re: [dev] Detailed build deps

2009-02-16 Thread tora - Takamichi Akiyama
Hi, Nguyen Vu Hung wrote: Tora says he has VMware images for those builds. You can ask him for a copy. The following Wiki page might help you understand why I have chosen Fedora Core 4 to build OpenOffice.org 2.x. Build Environment Running on Fedora Core 4

Re: [dev] MediaWiki *import* function ?

2009-03-24 Thread tora - Takamichi Akiyama
Hi, Rich wrote: I immensily enjoy the MediaWiki export function, but in order to make it the perfect WYSIWIG MediaWiki editor, it would also need a MediaWiki *import* function. Is anything like that currently planned ? If I tried to realize such a function that converts MediaWiki's format

Re: [dev] MediaWiki *import* function ?

2009-03-25 Thread tora - Takamichi Akiyama
Hi, There is an underdevelopment extension that converts MediaWiki markup to OpenDocument Text format (.odt) Extension:OpenDocument Export (Release status: beta) http://www.mediawiki.org/wiki/Extension:OpenDocument_Export T. J. Frazier wrote: Do you think it might be useful, to consider a

Re: [dev] default patch owners for modules

2009-05-09 Thread tora - Takamichi Akiyama
Frank Schönheit - Sun Microsystems Germany wrote: http://qa.openoffice.org/issue_handling/create_submission_gateway.pl And yes, that's somewhat outdated. Feel free to check out, update, run, and commit the perl script :) Here is another idea for that. How about slightly enhancing [1] instead

Re: [dev] default patch owners for modules

2009-05-10 Thread tora - Takamichi Akiyama
I have just updated the script, attached in an issue 101719. http://www.openoffice.org/nonav/issues/showattachment.cgi/62128/create_submission_gateway_2-2009-05-10.pl Caolán, Could you give it a try and revise it accordingly? Frank, If you like it, could you or someone else check-in it to the

Re: [dev] default patch owners for modules

2009-05-10 Thread tora - Takamichi Akiyama
On Sun, 2009-05-10 at 16:50 +0900, tora - Takamichi Akiyama wrote: I have just updated the script, attached in an issue 101719. http://www.openoffice.org/nonav/issues/showattachment.cgi/62128/create_submission_gateway_2-2009-05-10.pl Caolán McNamara wrote: Err, wmsfontextract ?, presumably

Re: [dev] Document file lock system could be enhanced

2009-06-05 Thread tora - Takamichi Akiyama
Hi Mathias, (Descriptions in the following scenario has been slightly revised) A division with 100s staffs runs a file server. 1. A general manger sends them an e-mail to see a document in the file server. 2. User A opens the file with OpenOffice.org 3.0 as usual. 3. User B opens the file with

Re: [dev] Document file lock system could be enhanced

2009-06-18 Thread tora - Takamichi Akiyama
wrongly. Regards, Tora On 06/17/09 06:42, tora - Takamichi Akiyama wrote: 2. Collision detection User A |++-+-- time line ^open^modify ^save 12 3 User X

Re: [dev] Document file lock system could be enhanced

2009-06-19 Thread tora - Takamichi Akiyama
Hi Mikhail, Mikhail Voytenko wrote: I think I see the problem. Probably you have exactly the case when file system locking does not work. And the current implementation checks whether the file was changed only if system file locking is not used by the document. That is of course a bug,

Re: [dev] Document file lock system could be enhanced

2009-06-19 Thread tora - Takamichi Akiyama
Hi Mikhail, Thank you for the comments. I am still looking for how to abandon use of file locking since file locking could not be perfect under current, near future circumstances. There are already several types of storages in the first decade of the 21th century. - local disk device -

Re: [dev] Document file lock system could be enhanced

2009-06-19 Thread tora - Takamichi Akiyama
Hi, Please DO NOT LOCK a file when a user just loads a file. Mikhail, I do not want to bother you, but, ... Please, please, make productive office suite more PRODUCTIVE. Another scenario, Locked out by a reviewer 1. User A has created an Impress document for a meeting held this

Re: [dev] Document file lock system could be enhanced

2009-06-22 Thread tora - Takamichi Akiyama
Hi Mikhail, Mikhail Voytenko wrote: although the provided document handling scenario looks to be a little bit strange for me, opening the document readonly as Mathias has already suggested would be the solution. In your case the documents are opened from the file explorer. So you need

Re: [dev] Document file lock system could be enhanced

2009-06-22 Thread tora - Takamichi Akiyama
Hi Mikhail, P.S. I do not think we are in hurry. It is Monday today. Please keep your time for more important things. I would be also trying to devise some user scenarios with all-the-time-starting-with-read-only documents. Regards, Tora tora - Takamichi Akiyama wrote: Hi Mikhail, Mikhail

Re: [dev] New Option 'Save with same password'

2009-06-26 Thread tora - Takamichi Akiyama
Hi, Alexander Ritter wrote: It's all said by the title: I would prefer a new option box in the save dialog where the user can specify to take the old password to save the document with instead of typing a new one or even the same old password twice again. A nice tool for versioning e.g.

Re: [dev] New Option 'Save with same password'

2009-06-30 Thread tora - Takamichi Akiyama
Hi, Mikhail Voytenko wrote: document. Although it would need more actions, I do not think that somebody who got access to the memory and was able to read the password would not be able to read more keys. Please correct me if I have misunderstood something. I don't know about Windows, but

Re: [dev] Re: XML Import Filter

2009-08-11 Thread tora - Takamichi Akiyama
It would not be hard to do that. There might be lots of solutions. This is one of the examples: http://distribution.openoffice.org/source/browse/distribution/mirrors/repository/production/tools/Calc/ The key you might have been looking for would be: 1. Name the filter as you like and fill

Re: [dev] Re: XML Import Filter

2009-08-14 Thread tora - Takamichi Akiyama
If you will need to use several XSLT templates on demand, I am not sure, though, but the section Importer Filtering and Parsing the Result in [1] could be one of the possible solutions. [1] http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/The_Importer 1. Create a

Re: [dev] Re: XML Import Filter

2009-08-14 Thread tora - Takamichi Akiyama
it to your OpenOffice.org. As you know, Java classes could be packed into .war file and be deployed to an application server, you can deploy your Java classes to your OpenOffice.org as a UNO component. However, I guess, it might be far beyond your expectation. Any much cooler idea? Tora tora - Takamichi

Re: [dev] Openoffice automation using a service

2009-09-13 Thread tora - Takamichi Akiyama
Hi, How do you start the first instance of soffice.exe? You mentioned a service running as LOCAL_SYSTEM. Could you give us a little bit details about that? What command line options do you give to the soffice.exe? What user account is being used for the process of soffice.exe? etc... I guess

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Hi, Wei Min Teo wrote: The first instance of soffice.exe is start by the bootstrap command, it is ran as SYSTEM. I did not use any command line options just the default bootstrap function cppu::bootstrap(). I am sorry, but I cannot understand what you are saying. bootstrap command, bootstrap

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Hi Wei, Wei Min Teo wrote: I used the sample code from this url :http://wiki.services.openoffice.org/wiki/UNO_registery_and_Bootstrapping under The new ::cppu::bootstrap() function. Thank you for the information. Now I understand. What I have just learned from that are It seems that

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
Another possible way (still, I am not sure, though): (1) Start soffice.exe as a normal user account with the following command line options. soffice.exe -nofirststartwizard -nologo -nodefault -norestore -nocrashreport -nolockcheck (2) And then use a recent way such as ::cppu::bootstrap() to

Re: [dev] Openoffice automation using a service

2009-09-14 Thread tora - Takamichi Akiyama
, whose name will be created based on a folder name for the user account or like that - I forgot -, and (2) will also use the identical named pipe. So they will be able to handshake each other. Please correct me if anyone finds misunderstandings. Tora tora - Takamichi Akiyama wrote: Another

Re: [dev] compiling error python

2009-09-17 Thread tora - Takamichi Akiyama
I am not sure, but one possible solution might be either or both: - Update some Perl modules, at least, Archive::Zip http://search.cpan.org/dist/Archive-Zip/ - Update Perl On your system, try $ perl -c solenv/bin/packimages.pl That should print solenv/bin/packimages.pl syntax OK I have no

Re: [dev] RE: [api-dev] Re: [dev] Openoffice automation using a service

2009-09-17 Thread tora - Takamichi Akiyama
Hi Wei, Wei Min Teo wrote: Thanks for your replies and suggestions. However, I do not want to start soffice.exe as a normal user account as I would need the user account password or wait for a user logon. I do not know about Windows well. How is the account 'SYSTEM' dangerous? Microsoft

Re: [dev] compiling error python

2009-09-17 Thread tora - Takamichi Akiyama
- Takamichi Akiyama wrote: I am not sure, but one possible solution might be either or both: - Update some Perl modules, at least, Archive::Zip http://search.cpan.org/dist/Archive-Zip/ - Update Perl On your system, try $ perl -c solenv/bin/packimages.pl That should print solenv/bin/packimages.pl

[dev] devel packages

2009-09-21 Thread tora - Takamichi Akiyama
Hi, Linux distributions come with additional packages for software engineers. A package 'kernel' is the one for runtime while '-devel' and '-headers' are for engineers and/or users to make small changes to the existing files. E.g. kernel-2.6.23.1-42.fc8 kernel-devel-2.6.23.1-42.fc8

Re: [dev] devel packages

2009-09-22 Thread tora - Takamichi Akiyama
Stephan Bergmann wrote: IMO a package X-devel only makes sense if the base package X contains something that has an API for clients, and those clients typically need some additional files to interact with X through that API (C headers, link libraries, etc.). The only parts of OOo that would

[dev] 3.1.1 Linux crashes with libgcc_s.so.1

2009-09-29 Thread tora - Takamichi Akiyama
Are there any suggestions? OpenOffice.org 3.1.1 Linux crashes right after clicking on the button Finish in the dialog Welocome to OpenOffice.org. The expectation is that the StarCenter appears. Phenomenon $ /opt/openoffice.org3/program/soffice.bin [Java framework]sunjavaplugin.so could not

Re: [dev] 3.1.1 Linux crashes with libgcc_s.so.1

2009-09-29 Thread tora - Takamichi Akiyama
P.S. and some corrections tora - Takamichi Akiyama wrote: OpenOffice.org 3.1.1 Linux crashes right after clicking on the button Finish in the dialog Welocome to OpenOffice.org. The expectation is that the StarCenter appears. Phenomenon $ /opt/openoffice.org3/program/soffice.bin [Java

Re: [dev] 3.1.1 Linux crashes with libgcc_s.so.1

2009-09-29 Thread tora - Takamichi Akiyama
Questions Is /opt/openoffice.org/ure/lib/libgcc_s.so.1 needed? Can I simply remove or rename it? Stephan Bergmann wrote: libgcc_s.so.1 comes with GCC, is part of its runtime libraries, and evolves backwards-compatibly over time. OOo includes the libgcc_s.so.1 matching the GCC with which it

Re: [dev] Long file names

2009-10-04 Thread tora - Takamichi Akiyama
Hi, In what situation do you currently encounter the problem? What do you do? What do you expect? What your OpenOffice.org actually does despite your expectations. One possible, interesting topic: Generally speaking, one Chinese, including most Far East Asian languages, characters will be

Re: [dev] Please help: saving document as DOC format, then opening, losing position properties for TextGraphicObject

2010-01-02 Thread tora - Takamichi Akiyama
I am not sure, but, hopefully, this could be a hint. After manually inserting a graphic image into an empty Writer document, the following code fragment of OpenOffice.org Basic reports that HoriOrientRelation = 7 VertOrientPosition = 7 Sub Main oObject =

Re: [dev] Please help: saving document as DOC format, then opening, losing position properties for TextGraphicObject

2010-01-02 Thread tora - Takamichi Akiyama
Are you using vertical writing? If so, there is a bug which misinterprets the position of graphic object during importing from and exporting into Microsoft Word 97-2003. http://qa.openoffice.org/issues/show_bug.cgi?id=86769

Re: [dev] Please help: saving document as DOC format, then opening, losing position properties for TextGraphicObject

2010-01-02 Thread tora - Takamichi Akiyama
Hi, What I have just noticed with writer_MS_Word_2003_XML is ... Steps 1. Manually create an empty Writer document. 2. Manually import a graphic image. 3. Move it and alter its attributes. 4. Save it as Word 2003 XML. 5. Open it with my favorite text editor. The inside of the XML file

Re: [dev] Please help: saving document as DOC format, then opening, losing position properties for TextGraphicObject

2010-01-03 Thread tora - Takamichi Akiyama
Hi, Chris Fleischmann wrote: Hi basically I am using the OpenOffice SDK (3.1.1) to create a new Writer document. I add images with the following code, passing in the XText (which in this case is an XText from a XTextFrame). XTextCursor xTextCursor = xFrameText.createTextCursor();

Re: [dev] Help ! how to get the source code for some really old OOo projects and build them ?

2010-02-02 Thread tora - Takamichi Akiyama
Wei Zhang wrote: And When I was trying to build the whole thing according to http://tools.openoffice.org/dev_docs/build_linux.html, I came across various issues with the JDK version and ANT version. After I googled around, I am using JDK 1.4.2 and ANT 1.6.2. There are still some other issues

Re: [dev] Help ! how to get the source code for some really old OOo projects and build them ?

2010-02-02 Thread tora - Takamichi Akiyama
Wei Zhang wrote: And the configure parameters I used is following : CC=gcc34 CXX=g++34 ./configure --prefix=/scratch/wei/usr/local/OOO_2.0.1/ --enable-symbols --enable-debug --disable-mozilla --with-ant-home=/scratch/wei/usr/local/ant_1.6.2/ --with-jdk-home=/s/jdk1.4.2 I was wondering the

Re: [dev] Re: how to detect MS Office encrypted documents

2010-11-29 Thread tora - Takamichi Akiyama
For traditional binary file format, you might have already noticed the binary file format was two-layered. The underlaying one is Windows Compound Binary File Format, which looks like a FAT of floppy disk. The upper one is individual Word, Excel, PowerPoint, ... file format.

[dev] Re: ERROR: File not found: msvcp80.dll

2011-03-08 Thread tora - Takamichi Akiyama
Hi, i am not sure, but, in general, this might help. cd $SRC_ROOT cd external build.pl deliver.pl -verbose cd .. cd instsetoo_native build.pl or simply cd $SRC_ROOT dmake and wait for a minutes, not hours. Kind regards, Tora On 2011/03/08 21:44, Knut Olav Bøhmer wrote: Hi, I'm building

[dev] Re: ERROR: File not found: msvcp80.dll

2011-03-08 Thread tora - Takamichi Akiyama
Hi, On 8 March 2011 15:11, tora - Takamichi Akiyama t...@openoffice.org mailto:t...@openoffice.org wrote: cd $SRC_ROOT dmake and wait for a minutes, not hours. On 2011/03/09 4:07, Knut Olav Bøhmer wrote: Which worked for me :) Well, I'm doing this on a virtual macine it took

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

2011-04-06 Thread tora - Takamichi Akiyama
Hi, Could you tell me how to easily do build.pl debug=1 or similar actions in a specific, renovated module such as sw and svx after fully building the entire source code tree with normal options? The way I used to do was like this: (full build) cd $SRC_ROOT dmake (individual build with a

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

2011-04-06 Thread tora - Takamichi Akiyama
Hi Niklas, Daniel, and everybody interested in, On 2011/04/06 17:22, Daniel Rentz wrote: cd sw make clean make -srj9 debug=t The first call of make removes all output files of sw from solver/workdir. The second call of make builds sw with debug, libraries go into

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

2011-04-06 Thread tora - Takamichi Akiyama
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,

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

2011-04-06 Thread tora - Takamichi Akiyama
Hello Niklas, On 2011/04/07 2:04, Niklas Nebel wrote: On 06.04.2011 18:45, tora - Takamichi Akiyama wrote: make -r deliverlog running on OpenSolaris x86 prints same type of warning messages and then eventually create the log file. $ make -r deliverlog ... make: *** Warning

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

2011-04-06 Thread tora - Takamichi Akiyama
Hi Michael, On 2011/04/07 2:47, Michael Stahl wrote: make -r deliverlog running on OpenSolaris x86 prints same type of warning messages and then eventually create the log file. $ make -r deliverlog ... make: *** Warning: .LOW_RESOLUTION_TIME file

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

2011-04-06 Thread tora - Takamichi Akiyama
Hi, What I have learned: To compile an individual module including debug information, do like this: cd svx make -sr clean make -srj9 debug=t or cd svx rm -fr $WORKDIR/CxxObject/svx make -srj9 debug=t A warning message about .LOW_RESOLUTION_TIME on OpenSolaris with ZFS or NFS seems not

[dev] gnu make .LOW_RESOLUTION_TIME (was: Re: build.pl debug=1 for sw and svx

2011-04-06 Thread tora - Takamichi Akiyama
Sorry again, I have just come up with a quick solution for the file systems using nanosecond time stamps. Problem: make: *** Warning: .LOW_RESOLUTION_TIME file `/x/solver/300/unxsoli4/inc/svx/sxsoitm.hxx' has a high resolution time stamp Cause: cp -p does not preserve a nanosecond part

[dev] Re: gnu make .LOW_RESOLUTION_TIME

2011-04-08 Thread tora - Takamichi Akiyama
Hi Michael, Thank you for your valuable inputs. On 2011/04/08 18:48, Michael Stahl wrote: On 07/04/2011 05:03, tora - Takamichi Akiyama wrote: I have just come up with a quick solution for the file systems using nanosecond time stamps. Problem: make: *** Warning: .LOW_RESOLUTION_TIME file

[dev] Re: gnu make .LOW_RESOLUTION_TIME

2011-04-10 Thread tora - Takamichi Akiyama
Hello Michael, On 2011/04/08 18:48, Michael Stahl wrote: i've just checked on Solaris 11 express: both /usr/gnu/bin/cp [cp (GNU coreutils) 8.5] and /usr/bin/touch -r seem to support nano-second timestamps. Thanks to your inputs, everything has become clear. Source code of the combined

[dev] Re: gnu make .LOW_RESOLUTION_TIME

2011-04-10 Thread tora - Takamichi Akiyama
Hi, Eventually, we are... http://openoffice.org/bugzilla/show_bug.cgi?id=117800 Patch gnumake-for-DEV300_m106-2011-04-10.tar.gz |-- DEV300_m106 | `-- gnumake | |-- make-3.81.patch | |-- make-3.82.patch | |-- makefile.mk | `-- prj | |--

[dev] Re: How to change the way to the installation path for OpenOffice , on a Solaris machine?

2011-04-12 Thread tora - Takamichi Akiyama
Hi, On 2011/04/12 21:34, Simona Pasca wrote: My destination directory , ( the directory where I need that openOffice tool to be install ) is: /opt/swe/tools/ext/openOffice/openoffice-3.3.0/sparc-solaris2.8/ I need to have the tool under this location because it has to be use after under

[dev] Re: OUString

2011-04-26 Thread tora - Takamichi Akiyama
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. On 2011/04/26 16:46, Mathias Bauer wrote: rtl::OUString objects contain UniCode strings. If you

[dev] __attribute__((packed)) for enum

2011-05-17 Thread tora - Takamichi Akiyama
Does anyone try to use __attribute__((packed)) for enum? Gcc 4.0.0 has -fshort-enums command option and also accepts __attribute__((packed)) http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Type-Attributes.html Sun Studio 12 Update 1 supports _attribute_((packed))

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

2011-05-17 Thread tora - Takamichi Akiyama
Hi Stephan, Thank you for your comments. On 2011/05/18 4:11, Stephan Bergmann wrote: Binary UNO requires that its enums are of specific size, but that should be taken care of by the dummy max-value element in each enum. Likewise for enums in the C/C++ URE ABI. Whether smaller enums have

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

2011-05-18 Thread tora - Takamichi Akiyama
On 2011/05/18 18:06, Niklas Nebel wrote: Generally, this is a very valid concern. In some places where we found out (or just assumed) that it makes a difference, we currently use smaller integer types directly for member variables, instead of enum. For example, see eCellType in ScBaseCell

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

2011-05-19 Thread tora - Takamichi Akiyama
Hi Niklas, Am 18.05.2011 13:44, schrieb tora - Takamichi Akiyama: The motivation of this topic comes from a different point. I have been looking for a way to prevent a well-known phenomenon A single sheet that fits in a A4 paper with Excel turns into two or four A4 papers with Calc. On 2011

[dev] Re: Configure Error

2011-05-27 Thread tora - Takamichi Akiyama
Hi, This might help you dig into the cause: http://www.google.co.jp/search?num=50q=autoconf+%22syntax+error+near+unexpected+token+%22+case+%28ac_space%3D%27+%27%3B+set+|+grep+ac_space%29+2%3E%261+in e.g. https://bugzilla.redhat.com/show_bug.cgi?id=192793

[dev] refactoring OUString

2011-06-06 Thread tora - Takamichi Akiyama
Has anyone tried refactoring OUString? - It converts iso-8859-1 letters ranging 0x00-0x7f into UCS2 even it is not necessary. - It requires malloc(), realloc(), and free() or their equivalents. - It prevents debugging efforts because of sal_Unicode buffer[1]. - It mixtures different

[dev] Re: refactoring OUString

2011-06-06 Thread tora - Takamichi Akiyama
area will be automatically freed upon returning to the upper frame. if a reference count is more than 1, then memory allocation and data copy will be involved. Best, Tora On 06.06.11 16:35, tora - Takamichi Akiyama wrote: Has anyone tried refactoring OUString? - It converts iso-8859-1

[dev] Re: refactoring OUString

2011-06-06 Thread tora - Takamichi Akiyama
On 06.06.2011 18:57, tora - Takamichi Akiyama wrote: This is just an idea. How about adding a new class besides OUString? On 2011/06/07 2:16, Mathias Bauer wrote: We already have enough string classes. :-) Yes, we have! :-) Besides that, you are right, rtl::OUString is stupid. We planned

[dev] Re: refactoring OUString

2011-06-07 Thread tora - Takamichi Akiyama
On 06.06.2011 19:43, tora - Takamichi Akiyama wrote: And also, please cover the underlying memory allocation mechanism which would be another key factor for the performance improvement. On 2011/06/07 3:04, Niklas Nebel wrote: There's an old suggestion to treat small strings differently, see

[dev] Re: HELP REQUIRED

2011-06-07 Thread tora - Takamichi Akiyama
On Tue, Jun 7, 2011 at 9:37 AM, Shashank Sharma shashan...@iitrpr.ac.in mailto:shashan...@iitrpr.ac.in wrote: hello, I am a undergraduate student of third year (INDIAN INSTITTE OF TECHNOLOGY-IIT) and wants to develop new functionality in open office.before trying on the features of

[dev] Re: refactoring OUString

2011-06-09 Thread tora - Takamichi Akiyama
/GullFOSS/entry/xml_performance_and_now_for). The results for Impress weren't spectacular, but Calc or Writer may be different. Yep! I am a multithread, data-driven programming lover, too. :-) On 07.06.2011 13:15, tora - Takamichi Akiyama wrote: 2) Slicing cheese and throwing them out at once

[dev] Re: [l10n-dev] How to build OOo with additional localizations

2011-06-09 Thread tora - Takamichi Akiyama
Cross-posting to dev@openoffice.org and d...@l10n.openoffice.org Please follow up to d...@l10n.openoffice.org On 2011/06/09 16:25, Dmitry A. Ashkadov wrote: I have cloned repository DEV300. It doesn't contain localizations. For localizations there is another repository. How can I build OOo

[dev] Re: [l10n-dev] How to build OOo with additional localizations

2011-06-09 Thread tora - Takamichi Akiyama
Hi Ariel, On 2011/06/09 16:25, Dmitry A. Ashkadov wrote: I have cloned repository DEV300. It doesn't contain localizations. For localizations there is another repository. How can I build OOo with localizations? Should I clone l18n repository to subdirectory l20n inside DEV300

[dev] Re: refactoring OUString

2011-06-09 Thread tora - Takamichi Akiyama
Sorry, this mail is too long... On Thu, Jun 9, 2011 at 9:20 AM, tora - Takamichi Akiyama t...@openoffice.org mailto:t...@openoffice.org wrote: That is why I would like to encourage programmers to take care of the life time of data. I know that that statement is controversial. On 2011

[dev] Potential dead lock during preparation of crash report

2011-06-13 Thread tora - Takamichi Akiyama
This is another thread forked from: 2. Potential dead lock A code for crash reporter has a potential, dead lock problem. http://openoffice.org/projects/www/lists/dev/archive/2011-06/message/50 Here are codes to avoid a potential deadlock that might occurs during preparation of crash report.

[dev] Re: Implementation of Row Exchange Button in Calc

2011-06-17 Thread tora - Takamichi Akiyama
Hi Oliver, On 2011/06/17 1:12, Oliver Brinzing wrote: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla/show_bug.cgi?id=40285 have a look at the attached example ;-) Thanks! That is what I thought. And now, I also have written a similar one. ;-)

[dev] Re: Implementation of Row Exchange Button in Calc

2011-06-17 Thread tora - Takamichi Akiyama
Oops, there was a typo bug. Now fixed: https://bitbucket.org/tora/calc-move-selected-cells Best, Tora On 2011/06/17 23:40, tora - Takamichi Akiyama wrote: Hi Oliver, On 2011/06/17 1:12, Oliver Brinzing wrote: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla

[dev] Re: Implementation of Row Exchange Button in Calc

2011-06-17 Thread tora - Takamichi Akiyama
On 2011/06/17 16:38, Martin Hediger wrote: Its true, i havent thought of the implications of what it means to switch rows. Should references pointing to cell A1 remain pointing to A1, when the content of A1 is traded for the content of B1? What should the references follow? But apart from

[dev] Re: OpenOffice sourse code

2011-06-25 Thread tora - Takamichi Akiyama
Hi, It could be easy to implement your desire as you might guess, I think. The key module would be vcl in the source code of OpenOffice.org. outdev.hxx defines the OS independent interface of virtual devices such as OS dependent real display devices, printer, PDF exporter, and so on. The