[dev] [PATCH] Bug 34431 - More symbols (crosses, circles) needed for data points in charts
Hi, I have attached a patch to issue https://bugs.freedesktop.org/show_bug.cgi?id=34431, so that you can have a look at it and comment. I cannot test import/export with xlsx format because of crash in LO3.5daily. https://bugs.freedesktop.org/show_bug.cgi?id=40466. So perhaps pushing should be postponed until the crash is fixed? Do you agree with the mapping? You can also look at http://wiki.documentfoundation.org/User:Regina/DraftAdditionalSymbolsInCharts Do I have found all places where changes are needed? Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [PATCH] Bug 34431 - More symbols (crosses, circles) needed for data points in charts
Uups, wrong list. Please excuse. Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Build DEV300_m106 on Linux breaks in module vcl
Hi Simon, Simon Wilper schrieb: Hi everyone, I was trying to build a DEV300_m106 on Linux lately and got the following make error when it comes to build vcl: R=/home/sxw/work S=$R/DEV300 O=$S/solver/300/unxlngi6.pro W=$O/workdir mkdir -p $O/lib/ /bin/cp --remove-destination --force --preserve=timestamps $O/lib/libicule.so /bin/cp: missing destination file operand after `/home/sxw/work/DEV300/solver/300/unxlngi6.pro/lib/libicule.so' Try `/bin/cp --help' for more information. make: *** [/home/sxw/work/DEV300/solver/300/unxlngi6.pro/lib/libicule.so] Error 1 I found out that the cp command is issued in solenv/gbuild/Deliver.mk and one of the two variables $(1) is empty. Unfortunately I don't know make that good to debug this issue any further. Maybe one of you can shed some light on this? Please read the last paragraph from Mathias Bauer in http://openoffice.org/projects/www/lists/dev/archive/2011-05/message/41 Kind regards Regina -- - 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
Hi Mathias, Mathias Bauer schrieb: 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. I have finished my build of DEV300m106 now in this way (for the record, if someone else tries it): 1. patch glib with rsvglips_glib_win32.patch 2. configure with --enable-cairo 3. It breaks in building cairo, because of missing dependencies to libpng. Therefore ... 4. build and deliver libpng manually. 5. continue with build --all:cairo I have not used the -P option, for to get the order of building in a clear way. And this time the build is correct, including all the config files. 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. It would be nice, to get a statement, whether the development on DEV300 will be continued by those working in Oracle-Hamburg at all. And may they do it at full time job or is it their private work in spare time? And who is still working on OOo? 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. OK, next build, when OOo340_m1 is ready. Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Need help with building DEV300m106 with cygwin
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? 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. My last successful build was DEV300m100. But DEV300m106 does not build with the configure settings I used for DEV300m100. It fails in pango because of missing cairo.h. Kind regards Regina -- - 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
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. 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. Kind regards Regina -- - 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
Hi Mathias, with copying the missing config files the build works so far, that I can use it to debug in sc. Mathias Bauer schrieb: On 16.05.2011 12:15, Regina Henschel wrote: Hi Mathias, Mathias Bauer schrieb: On 16.05.2011 11:10, Regina Henschel wrote: 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. I do a build with switch --enable-dbgutil, does it make a difference? There had been at lot of stops and resuming, that I think it is best, if I start from scratch again, and then report each single problem immediately. Perhaps then it is easier to see, what goes wrong in my environment. Shall I start without any cairo related switches? Kind regards Regina -- - 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
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 Then in instsetoo_native build --all It runs till pangocairo-context.c c:\dev300m106cairo\pango\wntmsci12\misc\build\pango-1.28.3\pango\pangocairo.h(26) : fatal error C1083: Cannot open include file: 'cairo.h': No such file or directory NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.EXE' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\nmake.EXE' : return code '0x2' Stop. NMAKE : fatal error U1077: 'for' : return code '0x2' Stop. dmake: Error code 2, while making './wntmsci12/misc/build/so_built_so_pango' 1 module(s): pango need(s) to be rebuilt So what to do now? Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problem with building glib on Windows
Hi Dmitry, I have problems too, see my mails from today morning. For the problem with glib I have applied the patch from http://openoffice.org/bugzilla/show_bug.cgi?id=117793 Kind regards Regina Dmitry A. Ashkadov schrieb: Hello! I cannot build OpenOffice (cygwin, on Windows) because the module 'glib' doesn't build! mkdir.exe ./wntmsci12/misc/build/glib-2.28.1/ mkdir: cannot create directory `./wntmsci12/misc/build/glib-2.28.1/': File exists cd ./wntmsci12/misc/build/glib-2.28.1/ nmake -f makefile.msc C:/cygwin/bin/touch.exe C:/cygwin/home/user_name/projects/openoffice/DEV300/glib/./wntmsci12/misc/build/so_built_so_glib Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. /usr/bin/cp glib/glibconfig.h.win32 glib/glibconfig.h Системе не удается найти указанный путь. (System cannot find specified path) NMAKE : fatal error U1077: '' : return code '0x1' Stop. dmake: Error code 2, while making './wntmsci12/misc/build/so_built_so_glib' But 'glib/glibconfig.h.win32' and 'glib/glibconfig.h' really exist. Thanks! -- С Уважением, Дмитрий -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problem with building glib on Windows
Hi Dmitry, please excuse me, it was the wrong issue, should be http://openoffice.org/bugzilla/show_bug.cgi?id=117792 Kind regards Regina Regina Henschel schrieb: Hi Dmitry, I have problems too, see my mails from today morning. For the problem with glib I have applied the patch from http://openoffice.org/bugzilla/show_bug.cgi?id=117793 Kind regards Regina Dmitry A. Ashkadov schrieb: Hello! I cannot build OpenOffice (cygwin, on Windows) because the module 'glib' doesn't build! mkdir.exe ./wntmsci12/misc/build/glib-2.28.1/ mkdir: cannot create directory `./wntmsci12/misc/build/glib-2.28.1/': File exists cd ./wntmsci12/misc/build/glib-2.28.1/ nmake -f makefile.msc C:/cygwin/bin/touch.exe C:/cygwin/home/user_name/projects/openoffice/DEV300/glib/./wntmsci12/misc/build/so_built_so_glib Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. /usr/bin/cp glib/glibconfig.h.win32 glib/glibconfig.h Системе не удается найти указанный путь. (System cannot find specified path) NMAKE : fatal error U1077: '' : return code '0x1' Stop. dmake: Error code 2, while making './wntmsci12/misc/build/so_built_so_glib' But 'glib/glibconfig.h.win32' and 'glib/glibconfig.h' really exist. Thanks! -- С Уважением, Дмитрий -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] What type for iterator of for-loops?
Hi, I'm not well-versed in C++, so I need some help in programming in Splines.cxx in chart2. There are already typedef ::std::pair double, doubletPointType; typedef ::std::vector tPointType tPointVecType; typedef tPointVecType::size_typelcl_tSizeType; My data is in tPointVecType aPointsIn; and the last valid index is lcl_tSizeType n; Now I need a lot of for-loops from 0 to n. They iterate over a matrix of elements of type double, over an array of elements of type double, and over a vector of type tPointVecType, sometimes in the same loop. What is the correct type for the iterator? Should it be lcl_tSizeType or sal_uInt32? What is the implication of one or the other? n can be as large as the count of Spreadsheet rows, theoretically, but will be smaller than hundred in most cases. Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: What type for iterator of for-loops?
Hi Daniel, thanks for your answer. Daniel Rentz schrieb: Am 10.05.2011 17:48, schrieb Regina Henschel: Hi, I'm not well-versed in C++, so I need some help in programming in Splines.cxx in chart2. There are already typedef ::std::pair double, double tPointType; typedef ::std::vector tPointType tPointVecType; typedef tPointVecType::size_type lcl_tSizeType; My data is in tPointVecType aPointsIn; and the last valid index is lcl_tSizeType n; Now I need a lot of for-loops from 0 to n. They iterate over a matrix of elements of type double, over an array of elements of type double, and over a vector of type tPointVecType, sometimes in the same loop. What is the correct type for the iterator? Should it be lcl_tSizeType or sal_uInt32? What is the implication of one or the other? The correct index type for vectors is lcl_tSizeType here, which is typedefed to size_t by the vector class. On 32-bit systems, this is an unsigned 32-bit type, but on 64-bit systems, it is an unsigned 64-bit type. Using sal_uInt32 may cause compiler warnings on these systems, e.g. when using sal_uInt32 i = n; Oh. That's important. I wouldn't have noticed it on my 32bit Windows and VC Express. I have used some of those mixed assignments and get no warnings. I have to revise the code in Splines.cxx I recommend to use real iterators. If your n contains the size of the vector, i.e. you want to iterate all elements of the vector: tPointVecType aPointsIn; ... for (tPointVecType::const_iterator it = aPointsIn.begin(), it_end = aPointsIn.end(); it != it_end; ++it) { /* it points to a pair of double */ it-first; // this is the first value of the pair it-second; // this is the second value of the pair } n can be as large as the count of Spreadsheet rows, theoretically, but will be smaller than hundred in most cases. If n is less than aPointsIn.size(), you can modify the loop header: for (tPointVecType::const_iterator it = aPointsIn.begin(), it_end = it + n; it != it_end; ++it) OK, that's clear. But I need to iterate over vector and matrix parallel and therefore need an unsigned integer as index for the matrix. If you still prefer iterating by index: :-) for (lcl_tSizeType i = 0; i n; ++i) { aPointsIn[i].first; aPointsIn[i].second; } I think, that works best for me. I have to solve a LGS with a vector on right side and a matrix, which is nearly, but not exact, banded. So I need some index calculations for shifting and for calculating, whether I can terminate the loops earlier. Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
Re: [dev] Dictionaries in OOo 3.3
Hi Alexandro, Alexandro Colorado schrieb: There has been some issues installing custom dictionaries, they are installing correctly but there is no way to find them on the dictionaries options. Can I get verification on this bug. 1. Download a dictionary .oxt 2. Install through unopkg or Extension manager 3. Install succesfully 4. Go to Options - Language Aids - General 5. Select the dictionary --- the dictionary doesn't show with the checkmark. Do you shut quick starter and restart OOo? Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] FYI: CWS removetooltypes01
Hi Carsten, Carsten Driesner schrieb: Hi, we are currently working on removing the long deprecated tool types ( e.g. ULONG, USHORT, BYTE, UINT16, UINT32, UINT64, INT16, INT32, INT64, BOOL, TRUE, FALSE ) to get rid of problems with clashing Windows API types. There is a never ending story with native Windows code and precompiled header, although the are prewin and postwin includes. If you are working on larger code sections please try to use other types preferring sal types (e.g. sal_uInt8, sal_Int8, sal_Bool, sal_True/sal_False ...) Is there a special reason to use sal_Bool, sal_True/sal_False instead of the native bool, true, false? Or can I use the native ones, if I want? Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Dev300m96 a two issues
Hi Paul, go to menu View and switch off Field Names. kind regards Regina Paul Gress schrieb: On 01/ 4/11 06:19 AM, Oliver-Rainer Wittmann wrote: As far as I know, this issue is unknown. I tried the page numbering in DEV300m96: - new text document - insert page header (Menu - Insert - Header - Default) - insert page number into the page header (Menu - Insert - Fields - Page Number) - insert dummy text into the document's body until the text document has a couple of pages -- page numbering works as expected. How does your use case look like which is not working in DEV300m96 regarding page numbering? I forgot to add some other info. My platform is Solaris 11 Express 151a. I'll try to attache two small png images of the problem. If it doesn't go through, e-mail me and I'll send it directly to you. screenshot-1 The above screenshot is how it looks in editing mode. screenshot-2 The above image is how it looks in print preview. You'll notice in the first screenshot the grey line going through the word Statistics, this is the border line of a header, so the page numbering is upsetting the formating only in editing mode. Thanks, Paul - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] font problems in non-pro build
Hi all, I have problems with fonts in a non-pro build of DEV300m95 and in older non-pro builds too. I work on WinXP. Check Show preview of fonts in Tools Options OOo View. Start with a new text document or new spreadsheet document. Open the font selection drop-down list (In Calc you might have to enable it.) Scroll down or up. After Garamond in scrolling down or before Georgia in scrolling up, OOo crashes in Microsoft Visual C++ Library. Between Garamond and Georgia I have got the fonts Gautami and the Gentium fonts. I have removed the Gentium fonts, the Gautami font is a system font and cannot be removed. The crash in non-build still happens. The Gautami font is from file gautami.ttf, version 1.21, with file size 214936Bytes. This seems to be OK, but it would be nice if someone could check his XP installation and compare. Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] font problems in non-pro build
Hi all, Regina Henschel schrieb: Hi all, I have problems with fonts in a non-pro build of DEV300m95 and in older non-pro builds too. I work on WinXP. Check Show preview of fonts in Tools Options OOo View. Start with a new text document or new spreadsheet document. Open the font selection drop-down list (In Calc you might have to enable it.) Scroll down or up. After Garamond in scrolling down or before Georgia in scrolling up, OOo crashes in Microsoft Visual C++ Library. Between Garamond and Georgia I have got the fonts Gautami and the Gentium fonts. I have removed the Gentium fonts, the Gautami font is a system font and cannot be removed. The crash in non-build still happens. I continued my tests. The Gentium fonts are the reason. If I delete them from the OOo folder too, OOo no longer crashes. Issue will follow. Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] font problems in non-pro build
Hi Ariel, Thanks for looking so quickly. I found too that the crash is caused by the Gentium fonts. Issue is now http://www.openoffice.org/issues/show_bug.cgi?id=116227 Perhaps you add your results to the issue? kind regards Regina Ariel Constenla-Haile schrieb: On Saturday 25 December 2010, 12:47:37, Ariel Constenla-Haile wrote: Hello Regina, On Saturday 25 December 2010, 11:57, Regina Henschel wrote: Hi all, I have problems with fonts in a non-pro build of DEV300m95 and in older non-pro builds too. I work on WinXP. Check Show preview of fonts in Tools Options OOo View. Start with a new text document or new spreadsheet document. Open the font selection drop-down list (In Calc you might have to enable it.) Scroll down or up. After Garamond in scrolling down or before Georgia in scrolling up, OOo crashes in Microsoft Visual C++ Library. Between Garamond and Georgia I have got the fonts Gautami and the Gentium fonts. I have removed the Gentium fonts, the Gautami font is a system font and cannot be removed. The crash in non-build still happens. The Gautami font is from file gautami.ttf, version 1.21, with file size 214936Bytes. This seems to be OK, but it would be nice if someone could check his XP installation and compare. Gautami does not crash here. Sure it seems it's crashing due to Gautami, but maybe it's because another font is involved. Please try with the Character format dialog (Format - Character), with it it's easier to isolate the problem to the specific fonts. Here, only SIL fonts crash: Doulos SIL Gentium Basic Gentium Book Basic Gentium basic is just after Gautami. Selecting Gautami in the listbox does not crash. It shows the font preview. I get the following error: Y: \contextmenu1\stlport\wntmsci12\misc\build\STLport-4.5-0119\stlport\stl/debug/_debug.c(464): STL error: Iterators used in expression are from different owners Y:/contextmenu1/solver/300/wntmsci12/inc/stl\stl/debug/_iterator.h(341): STL assertion failure : __check_same_owner_or_null(__x, __y) so yes, this happens only in a non-pro build. Regards - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] question about new extended tip in Writer
Hi Ariel, Ariel Constenla-Haile schrieb: Hello Regina, On Friday 26 November 2010, 16:37, Regina Henschel wrote: Hi, in a DEV300m93 build I see a new extended tip in Writer. If the mouse hovers over the text it show something like Pos: (9:311) Abs.Vorl.: Default Attr: English(USA) Can you tell me more about it? A spec for example? I can figure out, that 311 is the character position within a paragraph. And 9 seems to count the paragraphs, but it starts with 9 and not with 1. I guess Abs.Vorl. is abbreviation of Absatzvorlage, but why in German and not in English, although I use an English UI? these have been there since I recall, if you build with --enable-dbgutil see http://hg.services.openoffice.org/DEV300/file/DEV300_m94/sw/source/core/crsr/crstrvl.cxx#l1441 I see! Working mainly in Calc and Draw I haven't noticed it before. Thanks for the hint. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] question about new extended tip in Writer
Hi, in a DEV300m93 build I see a new extended tip in Writer. If the mouse hovers over the text it show something like Pos: (9:311) Abs.Vorl.: Default Attr: English(USA) Can you tell me more about it? A spec for example? I can figure out, that 311 is the character position within a paragraph. And 9 seems to count the paragraphs, but it starts with 9 and not with 1. I guess Abs.Vorl. is abbreviation of Absatzvorlage, but why in German and not in English, although I use an English UI? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with DEV300m77 with cygwin on Windows
Hi Eike, Eike Rathke schrieb: Please file an issue against the 'tools' component, subcomponent solenv. Best copy also the findings from the previous mail in, SOURCE_ROOT_DIR needs to be fixed as well. http://www.openoffice.org/issues/show_bug.cgi?id=111360 kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with DEV300m77 with cygwin on Windows
Hi Eike, Eike Rathke schrieb: Hi Regina, On Saturday, 2010-05-01 20:42:38 +0200, Regina Henschel wrote: REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcr90d.dll 1 module(s): postprocess need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/c/DEV300m77/postprocess/checkdeliver I do not have any of the msvc***d.dll but only msvc***.dll, without the d. As found out in IRC, rebase is not the problem, the error is really in checkdeliver: Entering /cygdrive/c/DEV300m77/postprocess/checkdeliver C:/cygwin/bin/perl checkdeliver.pl C:/cygwin/bin/touch.exe ../wntmsci12.pro/misc/checkdeliver.done C:: No such file or directory at C:/DEV300m77/solenv/bin/modules/SourceConfig.pm line 78 Looking at SourceConfig.pm line 78 reveals $source_root = Cwd::realpath($ENV{SOURCE_ROOT_DIR}); [why do we even get there? We have my $source_config= SourceConfig - new($ENV{SOLARSRC}); in checkdeliver.pl] SOURCE_ROOT_DIR was 'C:' (suspicious enough) and SOLARSRC and SRC_ROOT were both 'C:/DEV300m77'. Attempting to export SOURCE_ROOT_DIR=C:/DEV300m77 and build then gave C:/cygwin/bin/perl checkdeliver.pl C:/cygwin/bin/touch.exe ../wntmsci12.pro/misc/checkdeliver.done Cannot open find source_config and/or determine hg root directory for /cygdrive/c/DEV300m77/postprocess/checkdeliver at checkdeliver.pl line 51 This looks broken. Regina, you do have a Mercurial repository in C:/DEV300m77, don't you? What does the command hg root executed in the build environment shell give when the current working directory is C:/DEV300m77 ? The command hg root gives abort: There is no Mercurial repository here (.hg not found)! I have installed TortoiseHg, but I have not used it. I have downloaded the source from http://ftp.tu-chemnitz.de/pub/openoffice/extended/developer/DEV300m77/ and unpacked in Cygwin with command tar. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with DEV300m77 with cygwin on Windows
Hi Eike, I have build m76 without problems tonight. m76 does not know 'junit', perhaps there is the difference? I had build m77 with option --without-junit too, build was breaken then too. Eike Rathke schrieb: Hi Regina, On Saturday, 2010-05-01 20:42:38 +0200, Regina Henschel wrote: REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcr90d.dll 1 module(s): postprocess need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/c/DEV300m77/postprocess/checkdeliver I do not have any of the msvc***d.dll but only msvc***.dll, without the d. As found out in IRC, rebase is not the problem, the error is really in checkdeliver: Entering /cygdrive/c/DEV300m77/postprocess/checkdeliver C:/cygwin/bin/perl checkdeliver.pl C:/cygwin/bin/touch.exe ../wntmsci12.pro/misc/checkdeliver.done C:: No such file or directory at C:/DEV300m77/solenv/bin/modules/SourceConfig.pm line 78 Looking at SourceConfig.pm line 78 reveals $source_root = Cwd::realpath($ENV{SOURCE_ROOT_DIR}); [why do we even get there? We have my $source_config= SourceConfig - new($ENV{SOLARSRC}); in checkdeliver.pl] SOURCE_ROOT_DIR was 'C:' (suspicious enough) In my build of m76 configure writes The variable SOURCE_ROOT_DIR is set to: C: So I think, that this cannot be a direct reason. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Build problems with DEV300m77 with cygwin on Windows
Hi, I need help with building DEV300m77. First configure gave the error configure: error: cannot find JUnit 4 jar at C:/cygwin/usr/share/java/junit.jar; please install one and/or specify its pathname via --with-junit=..., or disable it via --without-junit I have downloaded junit-4.8.1.jar, and that was fine for configure. 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 \ --with-junit=/cygdrive/c/Programme/Java/junit-4.8.1.jar \ --with-use-shell=bash But now the build itself breaks with REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\mingwm10.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcm80d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcm90d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcp70d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcp80d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcp90d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcr70d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcr80d.dll REBASE: Could Not Find C:/DEV300m77/solver/300/wntmsci12.pro/bin\msvcr90d.dll 1 module(s): postprocess need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/c/DEV300m77/postprocess/checkdeliver I do not have any of the msvc***d.dll but only msvc***.dll, without the d. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Using matrices for rotation of graphical objects
Hi Thibault, Thibault Vataire schrieb: Hi, I use a trick to rotate the image : I convert the image (which is a com.sun.star.text.TextGraphicObject object) into com.sun.star.drawing.GraphicObjectShape object. It is this new object that I want to rotate. I'm not sure whether this is a defect or desired behavior. In my experiments I see this behavior: When you apply the new matrix, the translation part of it is used for from left to paragraph area and from top to margin. That is true for all anchor types of form to. Anchored as Character it is from bottom to base line vertically, horizontal part is ignored. Perhaps you ask in d...@api.openoffice.org? kind regards Regina - Mail Original - De: Regina Henschelrb.hensc...@t-online.de À: dev@openoffice.org Envoyé: Jeudi 25 Mars 2010 00:34:15 Objet: Re: [dev] Using matrices for rotation of graphical objects Hi Thibault, Thibault Vataire schrieb: Hi, I'm working on an extension that allow to rotate images in Writer, in the meanwhile that this function was added to OpenOffice.org. Some users asked me to add predefined values like rotate 90°, but I encounter some difficulties to use the matrices for rotation. I've found how to compute values for the first and the second column of the matrix, but not for the third. These values seems to be the new position of the initial upper left corner of the shape. Is somebody know how to compute these values ? I'm a little bit confused. If you have a Draw shape, then there is a transformation matrix, but that is not a new function. If you have a TextGraphicObject, then there is no transformation matrix. So what kind of object you are speaking about? kind regards Regina - 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 - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Using matrices for rotation of graphical objects
Hi Thibault, Thibault Vataire schrieb: Hi, I'm working on an extension that allow to rotate images in Writer, in the meanwhile that this function was added to OpenOffice.org. Some users asked me to add predefined values like rotate 90°, but I encounter some difficulties to use the matrices for rotation. I've found how to compute values for the first and the second column of the matrix, but not for the third. These values seems to be the new position of the initial upper left corner of the shape. Is somebody know how to compute these values ? I'm a little bit confused. If you have a Draw shape, then there is a transformation matrix, but that is not a new function. If you have a TextGraphicObject, then there is no transformation matrix. So what kind of object you are speaking about? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Build breaks in setup-native
Hi, I want to build CWS aw080 for Windows, but it breaks with error: Compiling: setup_native/wntmsci12.pro/misc/cl : Command line error D8038 : invalid argument '-I. -I../../../../wntmsci12.pro/inc/reg64msi -I../inc -I../../../../inc/pch -I../../../../inc -I../../../../WIN/inc -I../../../../wntmsci12.pro/inc -I. -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solver/300/wntmsci12.pro/inc -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solver/300/wntmsci12.pro/inc/external -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solver/300/wntmsci12.pro/inc -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solenv/wntmsci12/inc -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solenv/inc -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/res -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solver/300/wntmsci12.pro/inc -Ic:/PROGRA~1/Java/JDK16~1.0_1/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MIAF9D~2/include -Ic:/PROGRA~1/MIAF9D~2/include -Ie:/SoftwareArchiv/OOoDownloads/CWSaw080source/aw080-bc14062ba090/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../../res -I.' dmake: Error code 2, while making '../../../../wntmsci12.pro/slo/reg64msi_version.obj' How can I solve it? My configure has been: ./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_14 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/ant \ --with-use-shell=bash kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] How to compile DEV300m60 with Cygwin and Microsoft Visual Studio 9.0 Express
Hi, for m55 I have used the following configure. But it does not work for m60. I get the error checking for Mozilla build tooling... configure: error: Mozilla build tooling not found. although --disable-build-mozilla \ is set. I have tried to copy vc8-moztools.zip to /moz/zipped and add --with-mozilla-build=/cygdrive/c/DEV300m60/moz/zipped, but that does not work either and I doubt, that something with 'vc8' is correct, because I use Microsoft Visual Studio 9.0 Express. ./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-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_14 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/ant \ --with-use-shell=bash kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Issues for CWS printerpullpages
Hi, I have written some issues for CWS printerpullpages. But I didn't know which component to use and to whom I should assign it. I guess, that it makes no sense to run through the normal process, because it is a CWS. Which component shall I use and to whom shall I assign it? I will change it then for those already submitted issues, which are not handled yet. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] what configure changes for seamonkey
Hello, I try to build cws printerpullpages, based on DEV300m55. But it seems to use seamonkey instead of mozilla. I use Visual Studio C++ Express 2009 on WinXp. What changes are needed for my configure call? Do I still need the old mozilla files? Configure complains, that they cannot be found. But perhaps there should be a change somewhere else? I have found in the readme of \moz\download, that the file seamonkey-1.1.12-source.tar.gz is needed to be found on http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.13 It is not there, but all old releases are on ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/ But which one do I need? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] what configure changes for seamonkey
Hi Frank, Frank Schoenheit, Sun Microsystems Germany schrieb: Hi Regina, What changes are needed for my configure call? configure itself didn't change, you still need --enable-mozilla. Do I still need the old mozilla files? Configure complains, that they cannot be found. But perhaps there should be a change somewhere else? I have found in the readme of \moz\download, that the file seamonkey-1.1.12-source.tar.gz is needed to be found on http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.13 It is not there, but all old releases are on ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/ Sorry, neither configure's help nor moz/download/readme is up-to-date, I missed that. This has been fixed with issue 103721. You need SeaMonkey 1.1.14 from ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.14/. I have copied seamonkey-1.1.14.source.tar.gz to \moz\download. Now I get the error: configure: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only. Does that mean, that I must use the old precompiled mozilla libraries? Will that work together with cws printerpullpages? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] what configure changes for seamonkey
Hi Frank, Frank Schoenheit, Sun Microsystems Germany schrieb: Hi Regina, I have copied seamonkey-1.1.14.source.tar.gz to \moz\download. Now I get the error: configure: error: Building SeaMonkey is supported with Microsoft Visual Studio .NET 2005 only. Uhm, yes, that error is because SeaMoney 1.1.x indeed cannot be compiled with the 2008 compiler. Does that mean, that I must use the old precompiled mozilla libraries? Will that work together with cws printerpullpages? Shame on me! I planned to update http://tools.openoffice.org/moz_prebuild/680/ when the CWS moz2seamonkey is integrated, but since this happened during my vacation, I completely forgot the site update. Please get your prebuilts from http://tools.openoffice.org/moz_prebuild/OOo3.2. (no, the old prebuilts would not work.) Thanks, configure finishes now. Will start building now. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Moving to bost 1.3?
Hi Frank, Frank Schoenheit - Sun Germany - ham02 - Hamburg schrieb: Hi Rene, [..] [ Seems so, do you now strictly need 1.39? No, I think 1.34 would do, too. As said, a previous incarnation of the CWS compiles fine with 1.34, but again, I didn't do extensive runtime checks with this version. The new Math libraries 'Special Functions' and 'Statistical Distribution' are not included in Boost 1.34, but first in Boost 1.35. The accuracy of those functions is ongoing work in Calc and doing it ourself has been a lot of work. Please talk with Eike about the need for that libraries. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] How to use OpenOffice as a word processor **only**
Hi Daniel, Daniel C schrieb: I'm in the process of integrating OO Writer into an application that I'm currently developing. This app only requires a word processor, so when installing, I only install Writer and skip installation of Draw/Impress/Base/... Unfortunately, when you're in Writer and close the last document, the UI always switches back from the Writer-style UI to the generic OpenOffice main application UI that displays the *Welcome to OpenOffice.org ...Create a new document*. This is not only annoying (since only Writer is installed), but it's also inconsistent with our requirements; which are to allow users to launch and edit *existing* ODT documents, but disallow them from creating new documents (this part is already taken care of by stripping functionality via the xml files in the user *config* directory). Anyway, I would like to find a way to prevent this UI switch from happening. Instead, when the last document is closed from within Writer, it should simply exit the application and not switch back to the OpenOffice UI. How can this be achieved? I'm no developer, but in the UI it would be .uno:Quit instead of .uno:CloseDoc. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Hi Daniel, Daniel Rentz schrieb: Regina Henschel schrieb: I have changed the .hxx and .cxx files now and the build of sc finishes. But I'm not sure whether I've done all correctly. I can sent you a patch with my changes. If the compiler does not complain anymore, all should be ok (especially no functions are missing) :-) I now get error outputs when working with a spreadsheet. If I click No to ignore them, I can continue work. Is something wrong with my build or do you get this error output too? Shall I write issues for them? Which information is helpful for you? Yes, a lot of these assertions occur when working with full-debug. For some of them, issues exist already, for others not. Can you post one example text of an assertion, and when it occurs? Steps: 1. Open a document, which uses conditional formatting. 2. Click on cell with conditional formatting, then call Format Conditional Formatting... 3. Click on Cancel in that dialog. Or steps: 1. New document 2. Type = and click on f(x) to open function wizard. 3. Double click on function RAND. 4. Click on OK in function wizard. Debug Output in both cases: Error: object deleted while in use ! From File ../../inc\vcl/scdata.hxx at Line 415 kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Hi Daniel, Daniel Rentz schrieb: Regina Henschel schrieb: Steps: 1. Open a document, which uses conditional formatting. 2. Click on cell with conditional formatting, then call Format Conditional Formatting... 3. Click on Cancel in that dialog. Or steps: 1. New document 2. Type = and click on f(x) to open function wizard. 3. Double click on function RAND. 4. Click on OK in function wizard. Debug Output in both cases: Error: object deleted while in use ! From File ../../inc\vcl/scdata.hxx at Line 415 Oh yes. Stone old, known, very annoying, issue exists... Fixed? Don't know :-( Does a list of known errors exist, beside Issue Tracker? Here is another one: Steps: 1. Open document with included Basic macros. 2. Goto Basic IDE. Change something, for example add a comment. 3. Click on Save in Basic IDE. Debug Output: Error: FMXFormView::~FMXFormView: Window list not empty! From File c:/odff06dbg/svx/source/form/fmvwimp.cxx at Line 486 kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Hi Daniel, Daniel Rentz schrieb: Hi Regina, Regina Henschel schrieb: Hi Eiki, Eike, please :-)) Eike Rathke schrieb: Yes, these are nasty, that's http://qa.openoffice.org/issues/show_bug.cgi?id=100534 MSVC somehow includes a few definitions in multiple objects, IIRC related to DLL_PUBLIC/DLL_PRIVATE declarations. Unfortunately, so far there is no resolution that would satisfy all compilers. Daniel apparently had some workaround, see issue, which didn't work on other platforms. He'll be back tomorrow so we can ask him for a temporary patch to make that work. I would like to get this patch. There is no patch available yet. The problem is that an object (pvlaydlg.obj AFAIK) is linked into two libraries. I still have to figure out where this object is linked wrongly. Workaround is to replace all inline functions which appear in the error message by regular functions (remove the inline and function body in the *.hxx and add the full function in the respective *.cxx). I have changed the .hxx and .cxx files now and the build of sc finishes. But I'm not sure whether I've done all correctly. I can sent you a patch with my changes. I now get error outputs when working with a spreadsheet. If I click No to ignore them, I can continue work. Is something wrong with my build or do you get this error output too? Shall I write issues for them? Which information is helpful for you? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Hi Eike, Eike Rathke schrieb: Hi Regina, On Tuesday, 2009-07-28 18:05:46 +0200, Regina Henschel wrote: Workaround (hopefully, didn't try) for now: remove all object files mentioned in the error messages and rebuild the module without debug. Then remove the resulting DLLs and relink them with debug to include debug code of other object files again: cd sc del wntmsci12/slo/{the,object,files,mentioned}.obj build Here it breaks again :( and the .obj files are there again. Same errors already defined in ... with same object files although you built them without debug this time? Yes. Are you sure you removed all object files that were mentioned in the error messages? I removed scui_dftl_version.obj and pvfundlg.obj with rm (del does not work) and controlled in the explorer that the files are really deleted. I also tried it with only removing pvfundlg.obj. Same result, build breaks. Would it help, to sent you the complete build log? del wntmsci12/bin/*.dll cd util dmake debug=t Or was the error during this step? No, I had not made that step because it breaks already before. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Product name in window title bar
Hi Cor, Cor Nouws schrieb: Hi, Someone asked me if it is possible to hide/remove the product name - thus OpenOffice.org - in window title bar. I would expect that this only can be done by building your own office. Is that right? There is the node ooName in Openoffice.org3\share\registry\modules\org\openoffice\Setup\Setup-brand.xcu But this entry is not only used in the title bar, but also in ToolsOptions and in the Help and likely in other places too. I use it to distinguish different developer builds. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Building CWS odff06 with debug
Hi all, Michael Stahl schrieb: Eike Rathke wrote: Hi Regina, On Sunday, 2009-07-26 21:15:15 +0200, Regina Henschel wrote: dbgoutsw.cxx c:/odff06debug/solver/300/wntmsci12.pro/bin/makedepend @C:/cygwin/tmp/mkosWuQI ../../../wntmsci12.pro/misc/s_drviewsa.dpcc c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(998) : error C2375: 'dbg_out' : redefinition; different linkage c:\odff06debug\sw\inc\dbgoutsw.hxx(121) : see declaration of 'dbg_out' c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(1024) : error C2375: 'dbg_out' : redefinition; different linkage c:\odff06debug\sw\inc\dbgoutsw.hxx(122) : see declaration of 'dbg_out' dmake: Error code 2, while making '../../../wntmsci12.pro/slo/dbgoutsw.obj' Maybe someone from the writer team knows these. the ever broken dbgout stuff... it seems the offending functions are marked with SW_DLLPUBLIC in the cxx file, but not in the header, which causes the error above. either remove SW_DLLPUBLIC from the function definitions in the cxx file, or put the SW_DLLPUBLIC in the header where the functions are declared; one of these should work :) (i hope some windows-using developer has already fixed that in some cws somewhere...) I have added SW_DLLPUBLIC in dbgoutsw.hxx. Then I have build it with --enable-dbgutil and left out --enable-debug as Eike told me. That build finished. I installed it and started it. Next step I did (analog to Eike's mail) cd sw build killobj build debug=true and copied the dll-files to Basis\program. I started OOo again, used a new text document and pressed DT F3 to insert a dummy text. I got a Debug Output window with Error: Assertion failed. FILE: ../sw/source/core/doc/docnum.cxx at line 2862 ERROR: SwDoc::createListForListStyle(..) - a list for the provided list style name already exists. Serious defect - please inform OD. Did I make a mistake or is there an error which I should report in Issuetracker? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Re: Building CWS odff06 with debug
Hi Michael, Michael Stahl schrieb: i've just asked Oliver, and he said it's probably a bug, and you should file an issue (assign it to od). http://www.openoffice.org/issues/show_bug.cgi?id=103860 kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Hi Eiki, Eike Rathke schrieb: Hi Regina, On Sunday, 2009-07-26 21:15:15 +0200, Regina Henschel wrote: Now I have got a new PC :), time and space is no longer a problem. Congrats! :) So I want to do a build with debug information, first time. I added --enable-debug \ --enable-dbgutil \ Leave out --enable-debug, the build would be extremely huge and you usually don't need the entire office with debug code, on some platforms it wouldn't run in a debugger (gdb) due to the amount of symbols, and I'm not even sure whether anyone successfully tried to build that in the last years.. --enable-dbgutil is fine and builds the non-pro version with assertions and such, but no debug symbols. For this, after having a complete build and installation, build selected modules' libraries with debug code, for example cd sc build killobj build debug=true and copy the resulting libraries to the appropriate place in the OOo installation. That works now. I tested debug=true with module sw and scaddins. sci.lib(scmi.dll) : error LNK2005: public: unsigned short __thiscall ScCollection::GetCount(void)const (?getco...@sccollection@@QBEGXZ) already defined in scui.lib(pvfundlg.obj) Yes, these are nasty, that's http://qa.openoffice.org/issues/show_bug.cgi?id=100534 MSVC somehow includes a few definitions in multiple objects, IIRC related to DLL_PUBLIC/DLL_PRIVATE declarations. Unfortunately, so far there is no resolution that would satisfy all compilers. Daniel apparently had some workaround, see issue, which didn't work on other platforms. He'll be back tomorrow so we can ask him for a temporary patch to make that work. I would like to get this patch. Workaround (hopefully, didn't try) for now: remove all object files mentioned in the error messages and rebuild the module without debug. Then remove the resulting DLLs and relink them with debug to include debug code of other object files again: cd sc del wntmsci12/slo/{the,object,files,mentioned}.obj build Here it breaks again :( and the .obj files are there again. del wntmsci12/bin/*.dll cd util dmake debug=t kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Building CWS odff06 with debug
Regina Henschel schrieb: Hi Eiki, Ups. Hi Eike, ... - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Building CWS odff06 with debug
Hi all, I use Cygwin with MSVC 2008 Express SP1. I have build CWS odff06 normally and worked with it without problems. Now I have got a new PC :), time and space is no longer a problem. So I want to do a build with debug information, first time. I added --enable-debug \ --enable-dbgutil \ to configure and building fails. I tried adding only --enable-debug \ and it fails too. I also tried using build debug=true and got the same errors. During compilation I got some error windows Assertion Failed in cppuhelper/source/source/shlib.cxx, Line252, which I answered with No. The builds fail with message 2 module(s): sw sc need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /cygdrive/c/odff06debug/sw/source/core/doc ERROR: error 65280 occurred while making /cygdrive/c/odff06debug/sc/util I have searched in the building log for errors. I cite the lines below, which I think belong to the problem. Please say which other information you need to help me. I hope you can give me some hints. kind regards Regina (1) Compiling: sw/source/core/access/accpara.cxx c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -Gy -Ob1 -Zi -Fd../../../wntmsci12.pro/misc/accpara.pdb -Od -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I. -I../../../wntmsci12.pro/inc/access -I../inc -I../../../inc/pch -I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I. -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/external -Ic:/odff06debug/solver/300/wntmsci12.pro/inc -Ic:/odff06debug/solenv/wntmsci12/inc -Ic:/odff06debug/solenv/inc -Ic:/odff06debug/res -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl -Ic:/PROGRA~1/Java/JDK16~1.0_1/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MIAF9D~2/include -Ic:/PROGRA~1/MIAF9D~2/include -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../res -I. -Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=300 -DDEBUG -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DCUI -DSOLAR_JAVA -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -EHa -DEXCEPTIONS_ON -Fo../../../wntmsci12.pro/slo/accpara.obj c:/odff06debug/sw/source/core/access/accpara.cxx cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9035 : option 'Yd' has been deprecated and will be removed in a future release accpara.cxx c:/odff06debug/solver/300/wntmsci12.pro/bin/makedepend @C:/cygwin/tmp/mktK1Br8 ../../../wntmsci12.pro/misc/s_crbm.dpcc c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(998) : error C2375: 'dbg_out' : redefinition; different linkage c:\odff06debug\sw\inc\dbgoutsw.hxx(121) : see declaration of 'dbg_out' c:/odff06debug/sw/source/core/doc/dbgoutsw.cxx(1024) : error C2375: 'dbg_out' : redefinition; different linkage c:\odff06debug\sw\inc\dbgoutsw.hxx(122) : see declaration of 'dbg_out' dmake: Error code 2, while making '../../../wntmsci12.pro/slo/dbgoutsw.obj' (2) Compiling: sw/source/core/doc/dbgoutsw.cxx c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -Gy -Ob1 -Zi -Fd../../../wntmsci12.pro/misc/dbgoutsw.pdb -Od -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I. -I../../../wntmsci12.pro/inc/doc -I../inc -I../../../inc/pch -I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I. -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/external -Ic:/odff06debug/solver/300/wntmsci12.pro/inc -Ic:/odff06debug/solenv/wntmsci12/inc -Ic:/odff06debug/solenv/inc -Ic:/odff06debug/res -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/stl -Ic:/PROGRA~1/Java/JDK16~1.0_1/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_1/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/PROGRA~1/MIAF9D~2/include -Ic:/PROGRA~1/MIAF9D~2/include -Ic:/odff06debug/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../res -I. -Z7 -Yd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
Re: [dev] Re: Consolidating build instructions for the community
Hi Tor, Tor Lillqvist schrieb: 2. Is OOo completely buildable on Visual Studio 2008 or do we still need this note? It sounds as if you might be confusing Visual Studio the IDE with Visual Studio the product (which includes a C and C++ compiler and an IDE, and various other stuff, depending on edition) here. OOo is not and will never be (as far as I know) buildable in the Visual Studio IDE. (It is *debuggable* in it very nicely though.) I like to learn more about debugging OOo with the VS IDE. Can you point me to a guide or provide a guide in the Wiki? I have not worked with the IDE at all and therefore I'm totally lost. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Consolidating build instructions for the community
Hi Per, Per Eriksson schrieb: I have created the guide here: http://wiki.services.openoffice.org/wiki/Development/OpenOffice.org_Building_Guide And these are the page created so far: OpenOffice.org_Building_Guide OpenOffice.org_Building_Guide/Introduction OpenOffice.org_Building_Guide/Getting the source OpenOffice.org_Building_Guide/Basic Concepts OpenOffice.org_Building_Guide/Build Requirements OpenOffice.org_Building_Guide/Windows Build Requirements OpenOffice.org_Building_Guide/Mac OS X Build Requirements OpenOffice.org_Building_Guide/Linux Build Requirements OpenOffice.org_Building_Guide/Solaris Build Requirements Now to the articles that describe the building for the various platforms. I have read through the existing documentation, and come up with the following headlines. Do anyone feel it should look differently? OpenOffice.org_Building_Guide/Building on Windows with Cygwin OpenOffice.org_Building_Guide/Building on Windows with Visual Studio OpenOffice.org_Building_Guide/Building on Mac OS X OpenOffice.org_Building_Guide/Building on Linux OpenOffice.org_Building_Guide/Building on Solaris I would like it more, to have the Requirements in the same chapter as Building. That means main chapters for the OS and then subchapters as needed. Otherwise I would again have to collect the information that are relevant for my OS. On the other hand, I do not know whether a subchapter Requirements is really needed. During the guide [1] you are told, which things are needed and -more important- what you have to consider when installing it or copying to the right place. You have the two chapters Windows with Cygwin and Windows with Visual Studio. Is there a way to build OOo with Visual Studio without Cygwin? I don't know. For Windows with Cygwin link to [1] http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows The guide is very good. With that guide I was able to get my first build :) kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Problems configuring build on cygwin
Hi Kristján, Kristján Bjarni Guðmundsson schrieb: Hi. I am trying to build OpenOffice on Windows XP using cygwin. I am using the OOo-Dev_DEV300_m51 source archive. I have set up everything according to: http://blogs.sun.com/GullFOSS/entry/building_openoffice_org_on_windows There is a more recent description in http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows There are some problems with spaces, non default paths and case sensitivity. Please have a look. But when I run configure: ./configure --disable-build-mozilla --disable-activex --with-directx-home=/cygdrive/c/PROGRA~1/MI22C6~1 Everything goes ok until this: can't find /cygdrive/C/Program Files/Microsoft Visual Studio 8/VC/../SDK/v2.0/Bin at ./oowintool line 283. configure: error: oowintool failed to copy CRT However this directory does exists. But why is it trying to copy CRT from this directory? Shouldn't it be using one of the msvcp directories in external? Can anybody see what I am doing wrong here? Perhaps you can post your complete configure? My configure on WinXP is ./configure \ --with-directx-home=/cygdrive/c/Programme/dxsdk \ --with-cl-home=/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC \ --disable-activex \ --disable-build-mozilla \ --disable-directx \ --disable-epm \ --disable-atl \ --with-win32 \ --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_06 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/apache-ant-1.7.0 \ --with-use-shell=bash But I'm no developer and so cannot really help you. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Starting to learn Programming in Openoffice Basic.
Hi, trupti.bang...@pcil.in schrieb: Dear Sir / Madam, How can i start with simple Program with OpenOffice Basic Language with C/C ++ Compiler for Linux OS i.e Ubuntu. What all things i need to install for starting programming in Open Office Basic with database as MySQL. Kindly guide us. Besides the book Mechtilde mentioned, you should also have a look at http://www.pitonyak.org/oo.php and for Base http://www.pitonyak.org/database/, there especially Random DB Ramblins [http://www.pitonyak.org/database/AndrewBase.odt] Working with the OOo Basic IDE you will find a useful tool in X - Ray Tool [http://ooomacros.org/dev.php#101416] kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi all, Regina Henschel schrieb: Hi Mathias, Mathias Bauer schrieb: You should remove it. You can also run configure again, now with --disable-atl. I have started with a new configure. Result comes tomorrow. Building is finished now and my build works fine. :) Kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi all, Mathias Bauer schrieb: Frank Schönheit - Sun Microsystems Germany wrote: Hi Regina, How to clear output trees? I'm a dummy concerning building. In cygwin, something like cd $SRC_ROOT find . -maxdepth 2 -name wntmsci12* | xargs rm -rf should do. In the OOo build environment rm -rf */wntmsci12 from the root directory of the source tree is sufficient as the solver is at the same level as the modules. Yes, I remembered afterwards, that you have written that in your instructions http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows But I get the next problem: Now the build runs through till this error: ... languages en-US ... ... analyzing update database ... ** ERROR: ERROR: Missing files in function: remove_Files_Without_Sourcedirectory ** ** ERROR: Saved logfile: c:/SoftwareArchiv2/odff06/instsetoo_native/wntmsci12.pro/OpenOffice/msi/logging/en-US/log_DEV300_en-US.log ** ... analyzing files ... ERROR: The following files could not be found: ERROR: File not found: emboleobj.dll ERROR: File not found: emsermi.dll ERROR: File not found: oleautobridge.uno.dll ... cleaning the output tree ... ... removing directory /cygdrive/c/Temp/ooopackaging/i_5801245830521 ... Wed Jun 24 10:02:30 2009 (00:29 min.) dmake: Error code 255, while making 'openoffice_en-US' ERROR: Error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/util rmdir /cygdrive/c/Temp/4084 If this section has not enough information, please tell me what part do you need. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi Frank, Frank Schönheit - Sun Microsystems Germany schrieb: Hi Regina, ERROR: The following files could not be found: ERROR: File not found: emboleobj.dll ERROR: File not found: emsermi.dll ERROR: File not found: oleautobridge.uno.dll Sounds like some OLE-related module has not been built (correctly). According to trunk, emboleobj is built in module embeddedobj, emsermi in embedserv, and oleautobridge in extensions/source/ole. All three libs have in common that they are/should not packed (if not even built) when --disable-atl is given ( http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#418 http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#1037 ) This either means your build of scp2 was not successful, or contained remaints of a previous (non-disable-atl) build, I think, that is it. I forgot DISABLE_ALT. Is it enough to put DISABLE_ATL=TRUE export DISABLE_ATL at the end of winenv.set.sh? At the end of winenv.set.sh there is a line unset, which contains DISABLE_ATL. Is it correct in that line or do I have to remove DISABLE_ATL in that line? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi Mathias, Mathias Bauer schrieb: Regina Henschel wrote: Hi Frank, Frank Schönheit - Sun Microsystems Germany schrieb: Hi Regina, ERROR: The following files could not be found: ERROR: File not found: emboleobj.dll ERROR: File not found: emsermi.dll ERROR: File not found: oleautobridge.uno.dll Sounds like some OLE-related module has not been built (correctly). According to trunk, emboleobj is built in module embeddedobj, emsermi in embedserv, and oleautobridge in extensions/source/ole. All three libs have in common that they are/should not packed (if not even built) when --disable-atl is given ( http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#418 http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#1037 ) This either means your build of scp2 was not successful, or contained remaints of a previous (non-disable-atl) build, I think, that is it. I forgot DISABLE_ALT. Is it enough to put DISABLE_ATL=TRUE export DISABLE_ATL at the end of winenv.set.sh? At the end of winenv.set.sh there is a line unset, which contains DISABLE_ATL. Is it correct in that line or do I have to remove DISABLE_ATL in that line? You should remove it. You can also run configure again, now with --disable-atl. I have started with a new configure. Result comes tomorrow. Many thanks to all for your kind assistance. Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi Frank, Frank Schönheit - Sun Microsystems Germany schrieb: Hi Regina, Searching with OpenGrok I see, that the file nametree.hxx is contained in DEV300_m49 but no longer in DEV300_m50. A file object.hxx exists but in store/source/ not in store/inc/store. Suggestions? If you did not clear your output trees after updating to the new milestone, How to clear output trees? I'm a dummy concerning building. a dmake depend=1 might help - it will throw away the old auto-generated file dependencies, and recreate them on the next dmake run. That doesn't help. I have also tried dmake depend=t and dmake depend=true. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with CWS odff06 rebased to m50
Hi Frank, Frank Schönheit - Sun Microsystems Germany schrieb: Hi Regina, How to clear output trees? I'm a dummy concerning building. In cygwin, something like cd $SRC_ROOT find . -maxdepth 2 -name wntmsci12* | xargs rm -rf should do. Done. Be aware that both approaches mean that you do a full rebuild of the complete OOo source tree after that. Yes, that's the problem. I still have an old PC. A full rebuild takes about 18 hours. :( However, I often found the time spent for that a better investment than the time wasted for figuring out bugs caused by out-of-date build trees. I've started a build and report the result tomorrow. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Build problems with CWS odff06 rebased to m50
Hi all, I have updated my local copy and want to build it now, but it fails. I get the build errors: ERROR: error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff06/autodoc/source/ary/cpp ERROR: error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff06/store/source I use Cygwin, MSVC Express 2008 on WinXP Sp3. Details below (I hope I get the right parts from the log.) Searching with OpenGrok I see, that the file nametree.hxx is contained in DEV300_m49 but no longer in DEV300_m50. A file object.hxx exists but in store/source/ not in store/inc/store. Suggestions? kind regards Regina Compiling: autodoc/source/ary/cpp/c_osigna.cxx c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -GR -I. -I../../../wntmsci12.pro/inc/ary_cpp -I../inc -I../../../source/inc -I../../../inc/pch -I../../../inc -I../../../WIN/inc -I../../../wntmsci12.pro/inc -I. -Ic:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/inc/stl -Ic:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/inc/external -Ic:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/inc -Ic:/SoftwareArchiv2/odff06/solenv/wntmsci12/inc -Ic:/SoftwareArchiv2/odff06/solenv/inc -Ic:/SoftwareArchiv2/odff06/res -Ic:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/inc/stl -Ic:/PROGRA~1/Java/JDK16~1.0_0/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_0/include -Ic:/PROGRA~1/MI2578~1/Windows/v6.1/include -Ic:/PROGRA~1/MICROS~1.0/VC/include -Ic:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/inc/offuh -I. -I../../../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 -DWNT -DWNT -DNT351 -DMSC -DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA-DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -EHa -DEXCEPTIONS_ON -Fo../../../wntmsci12.pro/obj/c_osigna.obj c:/SoftwareArchiv2/odff06/autodoc/source/ary/cpp/c_osigna.cxx c_osigna.cxx c:/SoftwareArchiv2/odff06/solver/300/wntmsci12.pro/bin/makedepend @C:/cygwin/tmp/mkj4cCEK ../../../wntmsci12.pro/misc/o_c_osigna.dpcc dmake: Error: -- `../inc/nametree.hxx' not found, and can't be made Running processes: 2 /cygdrive/c/SoftwareArchiv2/odff06/autodoc/source/ary/cpp dmake: Error: -- `../inc/nametree.hxx' not found, and can't be made = Building module store transform.c Running processes: 2 /cygdrive/c/SoftwareArchiv2/odff06/store/inc variables.c xslt.c xsltutils.c - Running processes: 1 Running processes: 2 /cygdrive/c/SoftwareArchiv2/odff06/store/source ..\libxslt\xsltutils.c(715) : warning C4996: 'vsnprintf': This function or variable may be unsafe. Consider using vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:/PROGRA~1/MICROS~1.0/VC/include\stdio.h(350) : see declaration of 'vsnprintf' ..\libxslt\xsltutils.c(2049) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:/PROGRA~1/MICROS~1.0/VC/include\stdio.h(366) : see declaration of 'sprintf' ..\libxslt\xsltutils.c(2055) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:/PROGRA~1/MICROS~1.0/VC/include\stdio.h(366) : see declaration of 'sprintf' ..\libxslt\xsltutils.c(2058) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:/PROGRA~1/MICROS~1.0/VC/include\stdio.h(366) : see declaration of 'sprintf' ..\libxslt\xsltutils.c(2061) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:/PROGRA~1/MICROS~1.0/VC/include\stdio.h(366) : see declaration of 'sprintf' attrvt.c Generating Code... dmake: Error: -- `../inc/store/object.hxx' not found, and can't be made /cygdrive/c/SoftwareArchiv2/odff06/store/source - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Enabling single quotes substitution by default
HI Milan, Milan Bouchet-Valat schrieb: Hi all! I'd like you to consider enabling by default single quotes substitution (smart single quotes) in AutoFormat. OO.o already replaces straight quotes with smart ones (i.e. “ ”, « » and the like) out of the box. Straight apostrophes are kind of ugly in well-formatted documents, and they are not the recommended Unicode char for that (see documentation for U+2019 character). The single quotes substitution works quite well in OO.o ATM, it handles both the case where it's used as single quotation mark (‘expression’), and that of strictly-speaking apostrophe (as in it’s). So I can see no problem with enabling it. On the contrary, leaving it disabled makes OO.o look inferior to other text processors, since MS Word (for a long time) and Abiword (in the next version) include this feature. I for example always need to check the box in Tools-AutoCorrection when I install OO.o for users. What do you think about that? For German the situation is not as easy as for English, and other languages might have problems too. Please read the discussion in http://www.openoffice.org/issues/show_bug.cgi?id=5839. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] [solved] Build problem in module instsetoo_native
Hi Eike, Eike Rathke schrieb: IMHO at first hand an error to recursively copy all including the .svn directories. At second hand the resulting error may be caused by some .svn/* files being write protected (attributes are copied along with -a) and thus can't be overwritten on a second run. I think it's worth filing an issue against the installation project, .svn directories should not be copied to the target. http://www.openoffice.org/issues/show_bug.cgi?id=101204 kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Build problem in module instsetoo_native
Hi, I got the below error message. Any hint, what goes wrong? I work on CWS odff06, which is based on DEV300m43. I have build it successfully and have got an install set that works. Then I chanced some files, build (including deliver) the according modules and copied the new files to their places in the installed OOo version. That works all as expected. Now I want to add the file 'rectangles.xml'. If I copy the file directly into the share directory of the already installed OOo-version, it works as it should. But I want to get a new installation set, for to see, whether the new file will be at the right place in the share directory in a newly installed OOo. I have copied the file into the necessary folder in the source. Then I have started a new build in module instsetoo_native with build --all. But the last steps failed, see log. kind regards Regina Module 'packimages' delivered successfully. 6 files copied, 2 files unchanged = Building module instsetoo_native /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/inc_openoffice/windows/msi_languages - /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/util - mkdir.exe -p ../wntmsci12.pro/misc/openoffice/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ooolangpack/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ure/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/sdkoo/msi_templates C:/cygwin/bin/cp.exe -ua ../inc_openoffice/windows/msi_templates ../wntmsci12.pro/misc/openoffice C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/.svn/entries': Permission denied C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/Binary/.svn/entries': Permission denied dmake: Error code 1, while making 'hack_msitemplates' ERROR: Error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/util rmdir /cygdrive/c/Temp/2372 - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] [solved] Build problem in module instsetoo_native
Hi all, I have remembered, that I had a similar problem some month ago. I have deleted all the .svn-files in the ../wntmsci12.pro/ folder and the build has finished then. kind regards Regina Regina Henschel schrieb: Hi, I got the below error message. Any hint, what goes wrong? Module 'packimages' delivered successfully. 6 files copied, 2 files unchanged = Building module instsetoo_native /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/inc_openoffice/windows/msi_languages - /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/util - mkdir.exe -p ../wntmsci12.pro/misc/openoffice/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ooolangpack/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ure/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/sdkoo/msi_templates C:/cygwin/bin/cp.exe -ua ../inc_openoffice/windows/msi_templates ../wntmsci12.pro/misc/openoffice C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/.svn/entries': Permission denied C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/Binary/.svn/entries': Permission denied dmake: Error code 1, while making 'hack_msitemplates' ERROR: Error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff06/instsetoo_native/util rmdir /cygdrive/c/Temp/2372 - 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
Re: [dev] Please fix these security flaws that could be considered bugs ...
Hi Rene, Rene Engelhard schrieb: Hi, Nathanael Kennedy wrote: There are serious problems, even at a security level, with OpenOffice... There is no EASY OR STRAIGHTFORWARD WAY to DELETE the entire list of Recent Documents. Documents I no longer care about, I of course delete. DOCUMENTS REMAIN ON THE RECENT DOCUMENTS LIST LONG AFTER THEY'VE BEEN DELETED (FOR MONTHS, SOMETIMES!) This is a serious annoyance could even be considered a serious security flaw on a computer used by several individuals. Nonsense. For this, you have separate accounts for the people and each person has its own local configuration - no problem when sharing the pc. No security thing at all, an annoyance maybe, yes, but if yu can't set up your computer *properly* for multi-user I do not share your view. In my school we have got PCs for pupils, where not each pupil has got an account, and therefore only one OOo user exists. Same in our teacher library, one PC user for all teachers. There exist situations where a PC is quasi public and has only one PC user and one OOo user. A easy way to erase personal information in such situations like in Firefox would really be nice. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] amount of stopper / regressions for 3.1 release
Hi all, Thorsten Ziehm schrieb: Hi Mathias, Mathias Bauer schrieb: More testing on the master(!) would be very welcome. But on the CWS? This will make the time to master even longer and then again we are in the vicious cycle I explained in my first posting in this thread. Yes more testing on Master is welcome, that is true. But most testing must be done on CWS. When broken code is in the master code line it take too much time to fix it. And then you cannot do Quality Assurance. You can make testing, but that has nothing to do with hold a Quality standard! The time to master isn't a problem currently, I think. A general bugfix CWS can be 'approved by QA' in 2 days. But when the master is broken, you do not know, is the bug in the CWS or in the master. It takes longer for checking the problems and this is what we have now. Reduce the time to master will come, when the general quality of the master and the CWSs is better. So more testing on CWS is also welcome! I second the idea of more CWS testing. Remember the new chart module. There we had a CWS for testing and a lot of bugs were found before the CWS was integrated in master. There is no need to spread CWS builds with the mirrors net, but a single server witch holds the builds for Windows, Linux and Mac is sufficient. You can free the space after the CWS is integrated. For most of the testing people outside, it is impossible to build CWSs for there own, but I am sure many of them would test a CWS. They will not test all, but those which concerns that area of OOo, which they often use or that CWS, which contains a fix for their feature wish. In addition, to help people to decide whether they want to test a CWS, it is necessary to give a good, not to short description, what purpose a CWS has. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Get started
Hi, Maximilian Odendahl schrieb: Hi, for Windows, see this how to compile and build the office: http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows In the meantime the section Getting the source code is not actual. Now Subversion is used. http://subversion.tigris.org/getting.html http://www.collab.net/downloads/subversion/ If you do not own a cws, you only need the client version. For Windows there is the tool TortoiseSVN, you should use it. http://tortoisesvn.tigris.org/ http://tortoisesvn.net/ kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] new developer
Hi David, David schrieb: I think best way to increase involvement with OOo will be to first simplify the build environment, and update the documentation so that it more cohesive and comprehensive. For example, for Windows the documentation is not clear that you have to use Cygwin along side MS VC++, nor where you find the configure script, which is in the config_office directory, or so I have assumed, or which source package(s) you need to download. Also, the stuff about ooobuild is confusing too. Do you use http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows? With that document I've been able to build OOo first time. I think it contains all you need. Only the section Getting the source code has to be updated to Subversion. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with updated cws 0dff05
Hi Jens, Regina Henschel schrieb: Hi Jens, thanks for your very fast reply. I've done the suggested deletes and started a new build. I'll report when finished. After I removed all .svn in die wntmsci12.pro directory, the build finished and OOo works without problem. Thanks for you help. kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Build problems with updated cws 0dff05
Hi all, I had build cws odff05 as soon as it was on subversion. It build without problems and I could provide some patches. Then I have updated my local copy of cws odff05 using SVN update to the actual version as Eike told me. But now I don't get it build. I have used the same configure commands as before. It breaks with the error message: Building module instsetoo_native /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/inc_openoffice/windows/msi_languages - /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/util - mkdir.exe -p ../wntmsci12.pro/misc/openoffice/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ooolangpack/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ure/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/sdkoo/msi_templates C:/cygwin/bin/cp.exe -ua ../inc_openoffice/windows/msi_templates ../wntmsci12.pro/misc/openoffice C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/.svn/entries': Permission denied C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/Binary/.svn/entries': Permission denied dmake: Error code 1, while making 'hack_msitemplates' ERROR: Error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/util rmdir /cygdrive/c/Temp/2244 What to do? kind regards Regina - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Build problems with updated cws 0dff05
Hi Jens, thanks for your very fast reply. I've done the suggested deletes and started a new build. I'll report when finished. kind regards Regina Jens-Heiner Rechtien schrieb: Hi Regina, the target for copying the templates is a bit to broad, it copies the .svn directories to the output tree. The second time you try this it may fail due to lacking write permissions One fast way to solve the problem is to simply remove the complete output tree wntsmc12.pro and rebuild or just the offending .svn directories in wntmsci12.pro/misc/openoffice/misc/msi_templates Heiner Regina Henschel wrote: Hi all, I had build cws odff05 as soon as it was on subversion. It build without problems and I could provide some patches. Then I have updated my local copy of cws odff05 using SVN update to the actual version as Eike told me. But now I don't get it build. I have used the same configure commands as before. It breaks with the error message: Building module instsetoo_native /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/inc_openoffice/windows/msi_languages - /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/util - mkdir.exe -p ../wntmsci12.pro/misc/openoffice/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ooolangpack/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/ure/msi_templates mkdir.exe -p ../wntmsci12.pro/misc/sdkoo/msi_templates C:/cygwin/bin/cp.exe -ua ../inc_openoffice/windows/msi_templates ../wntmsci12.pro/misc/openoffice C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/.svn/entries': Permission denied C:/cygwin/bin/cp: cannot create regular file `../wntmsci12.pro/misc/openoffice/msi_templates/Binary/.svn/entries': Permission denied dmake: Error code 1, while making 'hack_msitemplates' ERROR: Error 65280 occurred while making /cygdrive/c/SoftwareArchiv2/odff05/instsetoo_native/util rmdir /cygdrive/c/Temp/2244 What to do? kind regards Regina - 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
Re: [dev] Please help a newbie: configure on Windows XP SP2
Hi Jose, and here is my configure, which I used to build cws odff05, which is based on m36. ./configure \ --with-directx-home=/cygdrive/c/Programme/dxsdk \ --with-cl-home=/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC \ --disable-activex \ --disable-build-mozilla \ --disable-directx \ --disable-epm \ --with-win32 \ --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_06 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/apache-ant-1.7.0 \ --with-use-shell=bash kind regards Regina Eng. Jose R. Robles schrieb: Hi dev's: This is my configure command: ./configure\ --disable-directx\ --with-cl-home=/cygdrive/F/Programs/MSVC_Express/VC\ --disable-activex\ --disable-atl\ --with-frame-home=/cygdrive/f/Programs/MS_SDK/Windows/v6.1 \ --with-psdk-home=/cygdrive/f/Programs/MS_SDK/Windows/v6.1 \ --with-midl-path=/cygdrive/f/Programs/MS_SDK/Windows/v6.1/Bin \ --with-asm-home=/cygdrive/f/Programs/MSVC_Express/VC \ --with-jdk-home=/cygdrive/e/JDK_15 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/cygdrive/e/Programs/Ant_17\ --with-use-shell=bash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Basic source build information?
Hi Andy, Andy Theuninck schrieb: I feel kind of bad pestering the list about this, but I cannot find any developer info regarding building ooo from source (everything I come across seems dedicated to UNO and the API). You can start here http://wiki.services.openoffice.org/wiki/Main_Page#Getting_started_with_OOo_development and for Windows especially http://wiki.services.openoffice.org/wiki/Building_OOo_with_Cygwin_on_Windows I did manage to find source packages (albeit not easily) here: http://download.openoffice.org/3.0.0/source.html For building developer versions please read http://wiki.services.openoffice.org/wiki/OOo_and_Subversion Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Build of OOoDEV m30 failed
HI Oliver, Oliver Bolte schrieb: Hi Regina, this sounds like issue #i93435#: http://www.openoffice.org/issues/show_bug.cgi?id=93435 Yes, that solves the problem. I had to apply the patch manually because the file in m30 has a different version number, but then it works. Besides several warnings during compiling, I got a warning in the end: WARNING! Project(s): swext not found and couldn't be built. Dependencies on that module(s) ignored. Maybe you should correct build lists. But I could it install without problems, so I don't worry. Kind regards Regina Regina Henschel wrote: Hi all, I start a build of OOoDEV m30 on WinXP using VC Express 2008. But near to the end it failed. Last lines are: ... creating idt files ... ... copying idt files ... ... localizing idt files (language: en-US) ... ... creating msi database (language en-US) ... MsiInfo V 4.0 Copyright (c) Microsoft Corporation. All Rights Reserved ... merging msm files into msi database ... ... policy_9_0_Microsoft_VC90_CRT_x86.msm ... expand: invalid option -- F Try `expand --help' for more information. ** ERROR: ERROR: Could not extract cabinet file: d:/SoftwareArchiv/OOoSource300m30/ instsetoo_native/wntmsci12.pro/OpenOffice/msi/mergefiles/en-US/gid_Mergemodule_P olicy_Microsoft_Vc90_Crt_X86/MergeModule.CABinet ! in function: change_file_table ** ** ERROR: Saved logfile: d:/SoftwareArchiv/OOoSource300m30/instsetoo_native/wntmsci 12.pro/OpenOffice/msi/logging/en-US/log_DEV300_en-US.log ** ... cleaning the output tree ... ... removing directory /cygdrive/c/Temp/ooopackaging/i_39801221684625 ... Wed Sep 17 22:57:45 2008 (07:23 min.) dmake: Error code 255, while making 'openoffice_en-US' ERROR: Error 65280 occurred while making /cygdrive/d/SoftwareArchiv/OOoSource300 m30/instsetoo_native/util rmdir /cygdrive/c/Temp/600 A whole log (37MB) is available, if needed. What to do? Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Build of OOoDEV m30 failed
Hi all, I start a build of OOoDEV m30 on WinXP using VC Express 2008. But near to the end it failed. Last lines are: ... creating idt files ... ... copying idt files ... ... localizing idt files (language: en-US) ... ... creating msi database (language en-US) ... MsiInfo V 4.0 Copyright (c) Microsoft Corporation. All Rights Reserved ... merging msm files into msi database ... ... policy_9_0_Microsoft_VC90_CRT_x86.msm ... expand: invalid option -- F Try `expand --help' for more information. ** ERROR: ERROR: Could not extract cabinet file: d:/SoftwareArchiv/OOoSource300m30/ instsetoo_native/wntmsci12.pro/OpenOffice/msi/mergefiles/en-US/gid_Mergemodule_P olicy_Microsoft_Vc90_Crt_X86/MergeModule.CABinet ! in function: change_file_table ** ** ERROR: Saved logfile: d:/SoftwareArchiv/OOoSource300m30/instsetoo_native/wntmsci 12.pro/OpenOffice/msi/logging/en-US/log_DEV300_en-US.log ** ... cleaning the output tree ... ... removing directory /cygdrive/c/Temp/ooopackaging/i_39801221684625 ... Wed Sep 17 22:57:45 2008 (07:23 min.) dmake: Error code 255, while making 'openoffice_en-US' ERROR: Error 65280 occurred while making /cygdrive/d/SoftwareArchiv/OOoSource300 m30/instsetoo_native/util rmdir /cygdrive/c/Temp/600 A whole log (37MB) is available, if needed. What to do? Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Trick for (1-x)^b for x near 1?
Hi Andrew, Andrew Douglas Pitonyak schrieb: Regina Henschel wrote: Hello, I'm working on the beta distribution for Calc. In the case BETADIST(x,1,b,0,1,FALSE()), which is the beta distribution density function, the term b*(1-x)^(b-1) has to be calculated. The domain for x is 0=x=1. There is no problem for x0.99. But you get large relative errors for x near 1. Is there any trick for calculating such a term in this case? Using the power series -(x+1/2x^2+1/3x^3+...) for log(1-x) is no solution because of its very very bad convergence for x near 1. kind regard Regina Do you mean the cumulative beta probability density function? Thanks for looking at my problem. But no, I do not talk about the cumulative case. I mean the density function, in terms with gamma(): gamma(a+b)/(gamma(a)*gamma(b)) * x^(a-1) * (1-a)^(b-1). But it makes no difference, the critical term is in the cumulative case too. This is the cdf_beta function in Maxima, which has GPL source code... GPL would be unsuitable. But fortunately the normal algorithm, as you have cited it, is well known mathematical public property. Most people seem to quote Bosten and Battiste (1974) and their methods. or use Didonato/Morris Algortihm 708 [1] as in Boost For example, see here: http://books.google.com/books?id=-i3bCxwg7kUCpg=PA105lpg=PA105dq=Bosten+and+Battiste+1974source=webots=3M8J2xGMChsig=Iwt_mlsrJ-LbqnJ3Vt-3vYwlme4hl=ensa=Xoi=book_resultresnum=2ct=result#PPA105,M1 That would be Statistical Computing around page 105. Or, further down, near page 108, the note that continued fractions yields good results as long as x (a-1)/(a+b-2) In this case, they note that I_x(a,b) = 1 - I_{1-x}(b, a) In normal cases continued fraction works fine. And I found no difference whether you change to the complement at (a-1)/(a+b-2) or at mean a/(a+b), what others do. But till now I found no good way to calculate it in the near of mean. Both power series and continued fraction need a large amount of iterations in that area. That is another problem to be solved. My tests with a Basic macro of the solution BASYM in DiDonato/Morris gave only 6 digit accuracy. Maybe the function ERFC, which is needed in that solution, is not exact enough in OOo, I have not investigate it nearer yet. If you have any idea for the case x near mean, I would be happy. Now, take a look at the betai method from Numerical Recipes (you should take a look at this book) Yes, that book is a good start. FUNCTION betai(a,b,x: real): real; VAR bt: real; BEGIN IF ((x 0.0) OR (x 1.0)) THEN BEGIN writeln('pause in routine BETAI'); readln END; IF ((x = 0.0) OR (x = 1.0)) THEN bt := 0.0 ELSE bt := exp(gammln(a+b)-gammln(a)-gammln(b) +a*ln(x)+b*ln(1.0-x)); IF (x ((a+1.0)/(a+b+2.0))) THEN betai := bt*betacf(a,b,x)/a ELSE betai := 1.0-bt*betacf(b,a,1.0-x)/b END; Do you recognize that little trick in there? They then call betacf, which performs the continued fractions. That is suitable for normal cases, but has the same problem for x near 1 in b*ln(1.0-x). Something similar from the Maxima source code: ;; Incomplete beta. ;; Reference: ;; Numerical Recipes in C: The Art of Scientific Computing ;; Comments: Translated from C. In R, pbeta(x,a,b) ;; Conditions: 0=x=1; a, b0 (defun ibeta (x a b) (declare (type flonum x a b)) (cond ((or (= x 0) (= x 1)) 0.0) (t (let ((bt (exp (+ (- (lnbeta a b)) (* a (log x)) (* b (log (- 1 x))) (cond (( x (/ (+ 1.0 a) (+ a b 2.0))) (/ (* bt (betacf x a b)) a)) (t (- 1.0 (/ (* bt (betacf (- 1.0 x) b a)) b Then again, perhaps none of this will help you, because I see that they are taking the log(1-x). I fear, that there is no solution in principle. You lost the accuracy while subtracting. OOo should have warning notes like Excel, where you can bring such information to the user. Kind regards Regina [1] A.R.DiDonato, A.H.Morris: Algorithm 708. Significant Digit Computation if the Incomplete Beta Function Ratios in ACM Transactions on Mathematical Software, Vol. 18, No 3, Sept. 1992, Pages 360-373 Unfortunately no free access, you need a public library. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Trick for (1-x)^b for x near 1?
Hello, I'm working on the beta distribution for Calc. In the case BETADIST(x,1,b,0,1,FALSE()), which is the beta distribution density function, the term b*(1-x)^(b-1) has to be calculated. The domain for x is 0=x=1. There is no problem for x0.99. But you get large relative errors for x near 1. Is there any trick for calculating such a term in this case? Using the power series -(x+1/2x^2+1/3x^3+...) for log(1-x) is no solution because of its very very bad convergence for x near 1. kind regard Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Trouble compiling DEV300_m19
Hello Thorsten, Regina Henschel schrieb: Hi Thorsten and Oliver, Thorsten Behrens schrieb: [snip] And I added DISABLE_ALT=TRUE export DISABLE_ALT to winenv.set.sh If you meant that literally, then it's a typo - should be DISABLE_ATL (http://wiki.services.openoffice.org/wiki/Windows#Visual_Studio_2008) Oops. I correct it and it is compiling now, but that will last till tomorrow, if no further break happens. The build has finished now without further breaks and in first tests the installed program works fine :) I got a lot of warnings during building, what about them? The last warning is: WARNING! Project(s): swext not found and couldn't be built. Dependencies on that module(s) ignored. Maybe you should correct build lists. What about that? Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Trouble compiling DEV300_m19
Hi Thorsten and Oliver, Thorsten Behrens schrieb: On Thu, Jun 26, 2008 at 01:24:42AM +0200, Regina Henschel wrote: I now tried to compile with MSVC Express 9.0, but get d:\softwarearchiv\ooosource300m20\embedserv\source\inc\stdafx.h(21) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory dmake: Error code 2, while making '../../wntmsci12.pro/slo/register.obj' [snip] And I added DISABLE_ALT=TRUE export DISABLE_ALT to winenv.set.sh If you meant that literally, then it's a typo - should be DISABLE_ATL (http://wiki.services.openoffice.org/wiki/Windows#Visual_Studio_2008) Oops. I correct it and it is compiling now, but that will last till tomorrow, if no further break happens. Thank you for the quick assistance. Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Trouble compiling DEV300_m19
Hello all, Thorsten Behrens schrieb: On Fri, Jun 20, 2008 at 10:55:14PM +0200, Regina Henschel wrote: I try to compile DEV300_m19 on WinXP using Visual C++ 2005 Express Edition. That had worked without problems for OOo680m244. But for DEV300_m19 building stops with this message: [snip] What to do? Grab the patch from issue 89973. I applied it to DEV300_m20 and build went forward but then breaks again :( Now with: d:/SoftwareArchiv/OOoSource300m20/fpicker/source/win32/filepicker/FileOpenDlg.cxx(128) : error C2065: 'OFN_DONTADDTORECENT' : undeclared identifier dmake: Error code 2, while making '../../../wntmsci11.pro/slo/FileOpenDlg.obj' I found http://www.openoffice.org/issues/show_bug.cgi?id=87081 but don't understand all things. I now tried to compile with MSVC Express 9.0, but get d:\softwarearchiv\ooosource300m20\embedserv\source\inc\stdafx.h(21) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory dmake: Error code 2, while making '../../wntmsci12.pro/slo/register.obj' I have used ./configure \ --with-directx-home=/cygdrive/c/Programme/dxsdk \ --with-cl-home=/cygdrive/c/Programme/Microsoft Visual Studio 9.0/VC \ --disable-activex \ --disable-build-mozilla \ --disable-directx \ --disable-epm \ --with-win32 \ --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_06 \ --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5 \ --with-ant-home=/apache-ant-1.7.0 \ --with-use-shell=bash And I added DISABLE_ALT=TRUE export DISABLE_ALT to winenv.set.sh Please help me getting a build with MS Visual C++ Express. Kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Trouble compiling DEV300_m19
Hello, I try to compile DEV300_m19 on WinXP using Visual C++ 2005 Express Edition. That had worked without problems for OOo680m244. But for DEV300_m19 building stops with this message: Making: ../../wntmsci11.pro/slo/string.obj c:/PROGRA~1/MICROS~2/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs -Gy -Ob1 -Oxs -Oy- -Gd -I. -I../../wntmsci11.pro/inc/misc -I../inc -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmsci11.pro/inc -I. -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/stl -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/external -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/solenv/wntmsci11/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/solenv/inc -Id:/SoftwareArchiv/OOoSource300m19zwei/res -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/stl -Ic:/PROGRA~1/Java/JDK16~1.0_0/include/win32 -Ic:/PROGRA~1/Java/JDK16~1.0_0/include -Ic:/PROGRA~1/MICROS~2/PSDK/include -Ic:/PROGRA~1/MICROS~2/VC/include -Ic:/Programme/dxsdk/include -Ic:/Programme/dxsdk/include -Id:/SoftwareArchiv/OOoSource300m19zwei/solver/300/wntmsci11.pro/inc/offuh -I. -I../../res -I. -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275 -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -wd4005 -DWNT -DWNT -DNT351 -DMSC -DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -D_MT -DWINVER=0x0400 -D_WIN32_IE=0x0400 -DCPPU_ENV=msci -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DCOMPHELPER_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -EHa -DEXCEPTIONS_ON -Fo../../wntmsci11.pro/slo/string.obj d:/SoftwareArchiv/OOoSource300m19zwei/comphelper/source/misc/string.cxx string.cxx ../../inc\comphelper/stlunosequence.hxx(157) : error C2244: 'comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator *' : unable to match function definition to an existing declaration ../../inc\comphelper/stlunosequence.hxx(85) : see declaration of 'comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator *' definition 'StlSequenceIteratorS,V::const_reference comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator *(void) const' existing declarations 'const V comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator *(void) const' ../../inc\comphelper/stlunosequence.hxx(285) : error C2244: 'comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator []' : unable to match function definition to an existing declaration ../../inc\comphelper/stlunosequence.hxx(86) : see declaration of 'comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator []' definition 'StlSequenceIteratorS,V::const_reference comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator [](const comphelper::stlunosequence::StlSequenceIteratorS,V::difference_type) const' existing declarations 'const V comphelper::stlunosequence::StlSequenceConstIteratorS,V::operator [](const comphelper::stlunosequence::StlSequenceIteratorS,V::difference_type) const' dmake: Error code 2, while making '../../wntmsci11.pro/slo/string.obj' ERROR: Error 65280 occurred while making /cygdrive/d/SoftwareArchiv/OOoSource300m19zwei/comphelper/source/misc What to do? kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Using Boost Library
Hello, I want to use the functions tgamma and lgamma from the Boost library, but I need some help. 1. Can you point me to a place, were a function of the Boost library is already used, so that I can see how to do it? 2. The OOo source contains the version boost_1_34_1.tar.gz. But I need the version boost_1_35_0, because tgamma and lgamma not included in the older version. What do I have to do (besides downloading it)? kind regards Regina - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]