Re: Unittest fails building on OS X 10.9

2014-10-10 Thread Joost Eekhoorn
be very helpful to build LO easily. [1] https://wiki.documentfoundation.org/Development/BuildingOnMac#Minimal_Setup_with_MacPorts_for_external_dependencies Regards, Robert On Thu, Oct 9, 2014 at 9:38 PM, Joost Eekhoorn joost.eekho...@gmail.com wrote: Build has succeeded. I saw

Unittest fails building on OS X 10.9

2014-10-09 Thread Joost Eekhoorn
What must I do, when a unit test fails? Why does that stops my build? This is the error message: [build CUT] hwpfilter_test_hwpfilter File tested,Test Result,Execution tools::Time (ms) ~/lo/core/filter/qa/cppunit/data/tiff/pass/CVE-2005-1544-1.tiff,Pass,4

Re: Unittest fails building on OS X 10.9

2014-10-09 Thread Joost Eekhoorn
Build has succeeded. I saw in this that --disable-cve-test is needed on OS X Mavericks Still I had to do 2 little, dirty hacks: - Moved away 4 CVE-test file from ~/lo/core/writerfilter/qa/cppunittest/data/pass/ (CVE-2010-333-1.rtf, CVE-2014-1761-1.rtf, CVE-2014-1761-2.rtf and

Link error Python2.7 building on OS X 10.9

2014-10-07 Thread Joost Eekhoorn
Hey all, I try to build on OS X 10.9.5 and get this link error at libpyuno.dylib: Library/libpyuno.dylib ld: library not found for -lpython2.7 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: ***

Re: [PATCH] [PYTHON] DialogBox class for Python

2012-06-05 Thread Joost Eekhoorn
I could not found a dialogbox class, thus I build one: class DialogBox in dialogbox.py. I did not look good enough. There is UnoDialog2.py in wizards/com/sun/star/wizards/ui. Thus dialogbox.py can go to /dev/null. Also the 2 examples. I made a new example using UnoDialog2:

[PYTHON] DialogBox class for Python

2012-05-31 Thread Joost Eekhoorn
I could not found a dialogbox class, thus I build one: class DialogBox in dialogbox.py. Also made 2 examples using this DialogBox: - example-using-dialog.py: showing a simple dialog and printing the results to the shell. - example-import-to-calc.py: importing data from a csv-file to a calc-sheet

license statement

2012-05-15 Thread Joost Eekhoorn
All of my past future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license Joost Wezenbeek (alias: joost eekhoorn, email:joost.eekho...@gmail.com) P.S. I am still searching for a realy easy task for calc, with C++ and/or Python2.7 or Python3

[Libreoffice] Writer delete row gives a segment violation

2011-09-21 Thread Joost Eekhoorn
Hi, In the current master I got a segment violation, when I create a table in Writer and the delete a row. The bt: Program received signal SIGSEGV, Segmentation fault. 0x03a2a7e4 in SvPtrarr::Count (this=0xd0d0d0d1) at /home/joost/work/git/libo/solver/350/

Re: [Libreoffice] fdo #31005 Autoformats does not save

2011-09-18 Thread Joost Eekhoorn
Hi Julien, I tried several evenings to implement only the vertical alignment of fdo#31005, but I fail. Fine that you will look at this issue. 1. tblafmt.cxx and tblafmt.hxx are the main places for writer, but you have also to look at sc/inc/autoformat.hxx, because the autoformat in calc and

Re: [Libreoffice] [PATCH] UX New layout Move/Copy sheet in calc

2011-01-13 Thread Joost Eekhoorn
Hi Kohei, I see that the path is not pushed (it is not in the current master). It is ofcourse up to you, when you do not want to push it, or to make first further improvements. I am just currious where the problems are, so that I can learn from them. Best regards Joost 2011/1/7 Laurent Godard

Re: [Libreoffice] [PATCH] UX New layout Move/Copy sheet in calc

2011-01-13 Thread Joost Eekhoorn
Hi Kohei, You did not miss anything! My mistake: I did only : ./g reset --hard origin/master Now I did (additional) : ./g pull -r And I see the change. Thanks Joost 2011/1/13 Kohei Yoshida kyosh...@novell.com On Thu, 2011-01-13 at 19:58 +0100, Joost Eekhoorn wrote: Hi Kohei, I see

Re: [Libreoffice] [PATCH] UX New layout Move/Copy sheet in calc

2011-01-05 Thread Joost Eekhoorn
/NonModalMessageSystem#Step_2_-_Message_Style_2a Where can I find the specs for the UI and UX for LibreOffice? Best regards, Joost 2011/1/5 Michael Meeks michael.me...@novell.com On Tue, 2011-01-04 at 23:03 +0100, Joost Eekhoorn wrote: Thanks for making the improvements. I haven't found a way to change

Re: [Libreoffice] [PATCH] UX New layout Move/Copy sheet in calc

2011-01-04 Thread Joost Eekhoorn
something simular can be used for the edit box, if you want that. Joost 2011/1/3 Kohei Yoshida kyosh...@novell.com Hello Joost, On Tue, 2010-12-28 at 16:45 +0100, Joost Eekhoorn wrote: Hoi Kohei and all, I hope you enjoy the lovely weather. Hereby a patch to give a better user

[Libreoffice] [PATCH] UX New layout Move/Copy sheet in calc

2010-12-28 Thread Joost Eekhoorn
Hoi Kohei and all, I hope you enjoy the lovely weather. Hereby a patch to give a better user experience to the Move/Copy sheet dialog. The changes are: - Removed the Renamecheckbox. The New name textfield is always available, when one sheet is selected. It is disabled, when multiple

Re: [Libreoffice] [UX] [PATCH] EasyHacks 3.27 Change Sheet copy process

2010-12-22 Thread Joost Eekhoorn
Hi all, The proposed layout change of Bernhard looks good to me, but there are some pitfalls. Christoph wrote: [...] * If the user copies a sheet (several sheets) within the same file, then the new sheets will be renamed anyway. Right? Although the user did not check the

Re: [Libreoffice] [UX] [PATCH] EasyHacks 3.27 Change Sheet copy process

2010-12-22 Thread Joost Eekhoorn
Hi all, If you now give for Sheet1 a new name, e.g.SheetA and that name exists, the new name will become SheetA_2 without a question for the user. Joost 2010/12/22 Kohei Yoshida kyosh...@novell.com On Wed, 2010-12-22 at 12:48 +0100, Joost Eekhoorn wrote: Hi all, The proposed layout

Re: [Libreoffice] [PATCH] [PUSHED] EasyHacks Leftover data after Undo

2010-12-21 Thread Joost Eekhoorn
, Joost Eekhoorn wrote: Hi, A patch for EasyHack Leftover data after Undo operation (qa issue #106711). Before pushing, please check if this patch: - Does fix the problem. - Do not introduce new issues. (Not fixing a problem and generated new ones.) Thanks for the patch. I believe

[Libreoffice] [PATCH] EasyHacks Leftover data after Undo

2010-12-20 Thread Joost Eekhoorn
Hi, A patch for EasyHack Leftover data after Undo operation (qa issue #106711). Before pushing, please check if this patch: - Does fix the problem. - Do not introduce new issues. (Not fixing a problem and generated new ones.) MPL 1.1 / GPLv3+ / LGPLv3+, Joost Wezenbeek Joost From

Re: [Libreoffice] [PATCH] [PUSHED] EasyHacks 3.27 Change Sheet copy process

2010-12-14 Thread Joost Eekhoorn
Hi Kohei, Thanks a lot for completing. Can you mark this Easy Hack 3.27 as completed on the Development/Easy Hacks page? Or explain to me how to do that? I am now looking at - 3.28 Leftover data after an Undo

Re: [Libreoffice] [PATCH] EasyHacks 3.27 Change Sheet copy process

2010-12-12 Thread Joost Eekhoorn
Hi Andy and Kohei, Hereby additional patch with: * Check on pName is NULL. * Showing original sheet name in input box, when Rename option is checked. Not implemented: OrgName_#. Joost 2010/12/12 Joost Eekhoorn joost.eekho...@gmail.com Hi Andy, Point made. I will do the same

Re: [Libreoffice] [PATCH] EasyHacks 3.27 Change Sheet copy process

2010-12-11 Thread Joost Eekhoorn
Hi Kohei, Thanks for your review. Hereby an additional patch with changes on 4 comment-items. 2 items are not done. MPL 1.1 / GPLv3+ / LGPLv3+ About UI * Let's remove the 'New Name' string as I feel this is redundant. And let' place the rename box either to the immediate right of 'Rename'

[Libreoffice] [PATCH] EasyHacks 3.27 Change Sheet copy process

2010-12-10 Thread Joost Eekhoorn
Hi, Please review if this patch is realy correct and complete. - 'Rename input box' is only visible when 'Rename check box' is checked. - Rename is only done when 'Rename check box' is checked and 'Rename input box' has a string. - Rename works for copied and moved sheets. - Rename works when

[Libreoffice] new bootstrap: How do the devellop[ install?

2010-12-07 Thread Joost Eekhoorn
I have build on a new installed Ubuntu (because of harddisk problems). The 2 build threads are ready without errors, but there is not the message in the bash-shell that it is all OK. Now I want to do something like: bin/ooinstall -l /home/joost/work/libretest But there is no bin/ooinstall How

Re: [Libreoffice] new bootstrap: How do the devellop[ install?

2010-12-07 Thread Joost Eekhoorn
Great, it works!! Joost 2010/12/7 Joost Eekhoorn joost.eekho...@gmail.com Yes, it is mentioned after ./configure I was not sure what is was going to do, but that can be seen with make -n dev-install, which display what it is going to do, without doing it. Thanks, I will try it this evening

Re: [Libreoffice] Another failed setup ...

2010-12-03 Thread Joost Eekhoorn
Cheers, Good to see that I am not the only one. Before my building on cppunit. Now I have exact the same problem as you. I can not find a way out. Hope that someone comes with an idea. I think it has to do with i10n and en_US.UTF8, but that is only a guess. Michael advised strace -f -e file make

[Libreoffice] Building problem, cppunit, libcppunit undefined reference to dlopen

2010-12-01 Thread Joost Eekhoorn
I missed the e-mail about moving from rawbuild to native build, so I did remove the old installation. Then I did a new Native Build installation as described on the wiki page. I failed with this dl problem in cppunit: make[2]: Entering directory

[Libreoffice] Building problem, DEBUG_ELEMENT when DEBUG is off

2010-11-23 Thread Joost Eekhoorn
Hi, I had a problem in writerfilter, building without DEBUG. I did some local hack with #undef, to get it building again. #ifdef DEBUG #include resourcemodel/TagLogger.hxx namespace writerfilter { namespace dmapper { extern TagLogger::Pointer_t dmapper_logger; } } #else #undef

Re: [Libreoffice] Building problem, sc/source/ui/src/optdlg.src gives syntax error

2010-11-22 Thread Joost Eekhoorn
I did make clean make The make clean removed the the complete build/libreoffice-3.2.99.2 directory. It is now building 2 hours and I will see tomorrow-morning what the result is. Tomorrow-evening (after my work and helping my son with mail-delivering) I will report if it works. Joost 2010/11/22

[Libreoffice] Use sal_Unicode or RTL_CONSTASCII_USTRINGPARAM for single unicode character?

2010-11-21 Thread Joost Eekhoorn
Hi, CONTEXT: For single characters I see often sal_Unicode( '/' ) used and sometimes OUString( sal_Unicode( '/' ). Examples (for adding one space): - aDefaultPageName += sal_Unicode( ' ' ); - sAuthor += OUString( sal_Unicode( ' ' ); sal_Unicode is defined in ./sal/inc/rtl/ustring.hxx In

[Libreoffice] [PATCH] RTL_CONSTASCII_USTRINGPARAM in svx

2010-11-21 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/svx/source/xml/xmlexport.cxx b/svx/source/xml/xmlexport.cxx index 467cc97..c4e6e10 100644 --- a/svx/source/xml/xmlexport.cxx +++ b/svx/source/xml/xmlexport.cxx @@ -228,7 +228,7 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const

[Libreoffice] C2U 61 time defined and with 2 differed meanings

2010-11-21 Thread Joost Eekhoorn
Hi, CONTEXT: I like short naming, thus I find RTL_CONSTASCII_USTRINGPARAM far too long. But the there is C2U. That is defined 61 times and sometimes as: #define C2U(cChar) OUString::createFromAscii(cChar) and on other places as: #define C2U(cChar)

[Libreoffice] Building problem, sc/source/ui/src/optdlg.src gives syntax error

2010-11-21 Thread Joost Eekhoorn
Hi, PROBLEM 1: I am trying to make again, but it fails on ./sc/source/ui/src/optdlg.src I did remove the unxlngx6.pro in the sc, and did the build there locally and it gave: Making:ui.srs { ^ f4101: optdlg.src, line 118: Warning in the object (Type: FixedLine): Resources without name

Re: [Libreoffice] HC Image fix

2010-11-17 Thread Joost Eekhoorn
Hi The hack work, but now my build brake in sal: Making:libuno_sal.so.3 ../unxlngx6.pro/slo/semaphor.o: In function `osl_createSemaphore': semaphor.c:(.text+0x2a): undefined reference to `sem_init' ../unxlngx6.pro/slo/semaphor.o: In function `osl_destroySemaphore': semaphor.c:(.text+0x6a):

[Libreoffice] [PATCH] RTL_CONSTASCII_USTRINGPARAM in svx

2010-11-14 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ (Hope 13e patch on the 13 has no mistakes in it:) ) Joost diff --git a/svx/source/form/fmdmod.cxx b/svx/source/form/fmdmod.cxx index 877ea51..70aaa82 100644 --- a/svx/source/form/fmdmod.cxx +++ b/svx/source/form/fmdmod.cxx @@ -42,11 +42,11 @@ using namespace ::svxform;

[Libreoffice] [PATCH] RTL_CONSTASCII_USTRINGPARAM in svx

2010-11-13 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 03623fb..b906c74 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -354,7 +354,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent

[Libreoffice] [PATCH] RTL_CONSTASCII_USTRINGPARAM in svx

2010-11-09 Thread Joost Eekhoorn
Is it correct to have the RTL_CONSTASCII_USTRINGPARAM directly in the *.hxx file. If so, why not do that also at other places? MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 4f1f256..c6e4117 100644 ---

Re: [Libreoffice] [PUSHED] Re: large swathes of commented/#if 0 code removed

2010-11-08 Thread Joost Eekhoorn
I am not a perl expert, but I have figured out this command: perl -i.bak -wpl -e 's/ +$//g;' *.cxx The original files are save as *.bak and can be removed if the revoval of taling spaces was correct. Joost 2010/11/8 Caolán McNamara caol...@redhat.com On Mon, 2010-11-08 at 02:36 -0500, Kevin

[Libreoffice] EasyHack RTL_CONSTASCII_USTRINGPARAM in sc

2010-11-02 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ Joost diff --git a/sc/source/ui/vba/vbaassistant.cxx b/sc/source/ui/vba/vbaassistant.cxx index 43ab458..b52a165 100644 --- a/sc/source/ui/vba/vbaassistant.cxx +++ b/sc/source/ui/vba/vbaassistant.cxx @@ -38,12 +38,12 @@ using namespace ooo::vba; using namespace

[Libreoffice] EasyHack RTL_CONSTASCII_USTRINGPARAM in cui

2010-10-31 Thread Joost Eekhoorn
MPL 1.1 / GPLv3+ / LGPLv3+ In ./cui/source/tabpages/numpages.cxx (line 2852): String sMsg( RTL_CONSTASCII_USTRINGPARAM( Preview) ); Should that not be RTL_CONSTASCII_STRINGPARAM, because sMsg is a String and not a OUString? Joost diff --git a/cui/source/tabpages/autocdlg.cxx

[Libreoffice] easy task c++ to do

2010-10-24 Thread Joost Eekhoorn
Hi, How can I contribute with an easy task? I am a medior C++ programmer, using Qt4 for the GUI. I am running Ubuntu in an virtual machine with only 20 Gb disk space. One bz2 was corrupted and I have downloaded that again manually. To get it running, I had to run autogen.sh as follows: