Re: [dev] java rdf problem again
Sorry I'm a bit confused, and browsing the site and using google I'm not able to get a solution. I've also tried with XURI nodeTableName = URI.create(m_xContext, tableName); but I get this error: CURI::initialize: argument not splittable: no separator [#/:] Could you please give me a sample snippet ? cheers, kiuma 2010/3/24 Niklas Nebel niklas.ne...@sun.com On 03/24/10 16:33, Andrea Chiumenti wrote: XURI nodeTableName = URI.create(m_xContext, gam3:tableName); The code generates this rdf file: ?xml version=1.0 encoding=utf-8? rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; rdf:Description rdf:about=http://.wingstech.it/gam3/v1.0; ns1:tableId xmlns:ns1=gam3:A_TABLE/ns1:tableId ns2:tableName xmlns:ns2=gam3:12345/ns2:tableName /rdf:Description /rdf:RDF What I needed was instead something like this: ?xml version=1.0 encoding=utf-8? rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; rdf:Description rdf:about=http://.wingstech.it/gam3/v1.0; gam3:tableIdA_TABLE/gam3:tableId gam3:tableName12345/gam3:tableName /rdf:Description /rdf:RDF In the URI.create call, the parameter should include the namespace URI, not the prefix. A prefix (like ns1) is then generated. You can see it in the example output: If gam3: was replaced by something like http://www.wingstech.it/gam3/v1.0/;, it would be equivalent to the second fragment (except for the namespace definition, which is missing there). Niklas - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: [l10n-dev] Re: [dev] Spanish NL Community requests for funding help on acquiring a local build box
Santiago Bosio schrieb: Pavel Janík escribió: Hi, On 18.3.2010, at 0:03, Alexandro Colorado wrote: The request is to partially fund the buildbox, so given the response, my guess is that most people are ok with this. Please let's try to approve the budget so we can move on. The platform would be on linux and will improve the spanish locale. I won't approve the machine just for one locale, sorry. I'd like to see similar system as is for the windows machine we approved a month ago or so. Pavel: I don't know what system you are talking about. Can you give me more details? 8 core, 12 GB RAM, 100 MBit connected Linux 64bit box, with virtualboxed based Windows instances running, Martin We need a platform where we can make our builds on demand. We have discussed different alternatives, but no one seems to fit. The buildbot infrastructure is something that resembles what we need, but we can't use it because we can't do our own CWS that modify directly the l10n files. And as I said, we can't do it also because if we work on the current translation we will introduce more confusing terms on the next releases, provided that this revision surely will span over some of them. We can't integrate changes from a partial revision. So, we need to make builds using a local working copy where we can control the SDF file used for l10n, without bothering others (like you :-), probably) to make us a build. I don't know if there are any other NL communities that have the same scenario as we do, or at least interested on having a platform like this. I would like to get a final answer from all budget deciders about this request to know how can we move forward. If it is a no, and it is decided to have a more open platform where all NL communities can be involved, we kindly ask this to be resolved on a short term. Best regards, Santiago PS: cross-posting to devel list, because this talk originated there. - To unsubscribe, e-mail: dev-unsubscr...@l10n.openoffice.org For additional commands, e-mail: dev-h...@l10n.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] 65,000 lines on calc
On 03/24/10 22:30, Camillem wrote: If you mean the 65536 lines limit, I hasn't yet (at least not in Dev75) http://www.openoffice.org/issues/show_bug.cgi?id=30215 Interesting details on Kohei Yoshida's blog : http://kohei.us/2010/02/20/increasing-calcs-row-limit-to-1-million/ Right. Fixes for the remaining problems are still in progress. We don't want to cause performance problems for those who don't use the larger number of rows. See issue 110116 for an extreme example. The quick dirty solution of enlarging the broadcast slot sizes would slow down recalculation a bit. We'll try to avoid that. Niklas - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] java rdf problem again
On 03/25/10 08:47, Andrea Chiumenti wrote: Sorry I'm a bit confused, and browsing the site and using google I'm not able to get a solution. I've also tried with XURI nodeTableName = URI.create(m_xContext, tableName); but I get this error: CURI::initialize: argument not splittable: no separator [#/:] Could you please give me a sample snippet ? Just use something like XURI nodeTableName = URI.create(m_xContext, http://www.wingstech.it/gam3/v1.0/tableName;); One more thing: To get the URI for removeMetadataFile, you shouldn't use getURL from the XModel interface. Better use the document's XURI interface (parent of XDocumentMetadataAccess), so you always get the exact URI that the rdf implementation expects. Niklas - 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, 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. Best regards, T. Vataire - Mail Original - De: Regina Henschel rb.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
[dev] Mac OS X 10.6 (Snow Leopard) build problems with OOO320
I'm trying to build on Mac OS X and having difficulties. I have followed the instructions on http://wiki.services.openoffice.org/wiki/AquaBuild as best I can but I'm not sure how up to date they are. Does anyone have experience of doing this successfully? The build kicks off and runs for a couple of minutes but then fail. Snippet from the end of the build log: gcc -o out/Darwin_SINGLE_SHLIB/drbg.o -c -O2 -fPIC -Di386 -Wmost -fpascal-strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\dylib\ -DSHLIB_PREFIX=\lib\ -DSHLIB_VERSION=\3\ -DSOFTOKEN_SHLIB_VERSION=\3\ -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -DUSE_UTIL_DIRECTLY -DMP_API_COMPATIBLE -I../../../../dist/out/include -I../../../../dist/public/nss -I../../../../dist/private/nss -Impi -Iecl drbg.c drbg.c: In function 'RNG_RandomUpdate': drbg.c:516: error: size of array 'arg' is negative make[3]: *** [out/Darwin_SINGLE_SHLIB/drbg.o] Error 1 make[2]: *** [libs] Error 2 make[1]: *** [libs] Error 2 make: *** [libs] Error 2 dmake: Error code 2, while making './unxmacxi.pro/misc/build/so_built_nss' drbg.c:516 is: PR_STATIC_ASSERT(sizeof(size_t) = 4); Comment in file says: * if 'sizeof(size_t) = 4' is triggered, it means that we were expecting * sizeof(size_t) to be less than or equal to 4, but it wasn't. Setting * NS_PTR_GT_32 will correct that mistake. Then I tried export NS_PTR_GT_32=1 but get the same error on retrying the build. So far I have done the following: - Obtained source for v3.2.0 (using svn: svn checkout svn://svn.services.openoffice.org/ooo/tags/OpenOffice_3_2_0/) into directory OOO320 - [patch --dry-run -p0 moz2seamonkey_connectivity.diff reported the patch was already installed, so I skipped that] - copied: http://tools.openoffice.org/moz_prebuild/OOo3.2/MACOSXGCCIinc.zip http://tools.openoffice.org/moz_prebuild/OOo3.2/MACOSXGCCIlib.zip http://tools.openoffice.org/moz_prebuild/OOo3.2/MACOSXGCCIruntime.zip into OOO320/moz/zipped - Created build.sh as http://wiki.services.openoffice.org/wiki/AquaBuild instructs and run it - Run: ./bootstrap source MacOSXX86Env.Set.sh cd instsetoo_native export TMP=/tmp export SYSTEM_OPENSSL=YES build --all -P4 --dlv_switch -link --dontgraboutput --html --html_path /Users/$USER/Sites My system: - Mac OS X 10.6.2 - Xcode 3.2.1 Many thanks for any help you can give. -- Ben Staveley-Taylor - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Mac OS X 10.6 (Snow Leopard) build problems with OOO320
Hi, Le 25 mars 10 à 11:31, Ben Staveley-Taylor a écrit : I'm trying to build on Mac OS X and having difficulties. I have followed the instructions on http://wiki.services.openoffice.org/ wiki/AquaBuild as best I can but I'm not sure how up to date they are. Does anyone have experience of doing this successfully? Some time ago, I was -something like- the main maintainer of this page, I don't have even one machine running Snow Leopard, nor even Leopard (all my machines, including PowerPC, run Tiger), so I no longer maintain the AquaBuild page. This explains why you will face some build issues, but I hope someone will answer you. The build kicks off and runs for a couple of minutes but then fail. Snippet from the end of the build log: gcc -o out/Darwin_SINGLE_SHLIB/drbg.o -c -O2 -fPIC -Di386 -Wmost - fpascal-strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR - DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\dylib\ -DSHLIB_PREFIX= \lib\ -DSHLIB_VERSION=\3\ -DSOFTOKEN_SHLIB_VERSION=\3\ - DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -DUSE_UTIL_DIRECTLY - DMP_API_COMPATIBLE -I../../../../dist/out/include -I../../../../ dist/public/nss -I../../../../dist/private/nss -Impi -Iecl drbg.c drbg.c: In function 'RNG_RandomUpdate': drbg.c:516: error: size of array 'arg' is negative I guess you are building mozilla seamonkey when the build broke ? make[3]: *** [out/Darwin_SINGLE_SHLIB/drbg.o] Error 1 make[2]: *** [libs] Error 2 make[1]: *** [libs] Error 2 make: *** [libs] Error 2 dmake: Error code 2, while making './unxmacxi.pro/misc/build/ so_built_nss' drbg.c:516 is: PR_STATIC_ASSERT(sizeof(size_t) = 4); Comment in file says: * if 'sizeof(size_t) = 4' is triggered, it means that we were expecting * sizeof(size_t) to be less than or equal to 4, but it wasn't. Setting * NS_PTR_GT_32 will correct that mistake. Then I tried export NS_PTR_GT_32=1 but get the same error on retrying the build. Yes, probably because this constant has probably to be set in the configure, not in the environment. So far I have done the following: - Obtained source for v3.2.0 (using svn: svn checkout svn:// svn.services.openoffice.org/ooo/tags/OpenOffice_3_2_0/) into directory OOO320 - [patch --dry-run -p0 moz2seamonkey_connectivity.diff reported the patch was already installed, so I skipped that] Good idea. Was the patch I used all the time, until seamonkey01 cws was integrated. But since, it is completely useless, and we should remove that too :) - copied: http://tools.openoffice.org/moz_prebuild/OOo3.2/MACOSXGCCIinc.zip http://tools.openoffice.org/moz_prebuild/OOo3.2/MACOSXGCCIlib.zip http://tools.openoffice.org/moz_prebuild/OOo3.2/ MACOSXGCCIruntime.zip into OOO320/moz/zipped If you use that, you need to use --disable-build-mozilla option (or someting similar, that ./configure --help | grep mozilla will tell you) at configure time, if I remember correctly, (and if things have not been changed since). - Created build.sh as http://wiki.services.openoffice.org/wiki/ AquaBuild instructs and run it - Run: ./bootstrap source MacOSXX86Env.Set.sh cd instsetoo_native export TMP=/tmp export SYSTEM_OPENSSL=YES build --all -P4 --dlv_switch -link --dontgraboutput --html -- html_path /Users/$USER/Sites My system: - Mac OS X 10.6.2 - Xcode 3.2.1 Many thanks for any help you can give. HTH :) Eric Bachard -- qɔᴉɹə
Re: [dev] Mac OS X 10.6 (Snow Leopard) build problems with OOO320
On 03/25/10 11:31, Ben Staveley-Taylor wrote: I'm trying to build on Mac OS X and having difficulties. I have followed the instructions on http://wiki.services.openoffice.org/wiki/AquaBuild as best I can but I'm not sure how up to date they are. Does anyone have experience of doing this successfully? Some time ago I posted at http://porting.openoffice.org/servlets/ReadMsg?list=macmsgNo=7851 how to build the *DEV300* line on Snow Leopard. With the most recent DEV300_m75, the mechanism described in that post is simplified even further. Instead of the six patches discussed there, only two modifications remain for now: 1 Using gcc-4.0 instead of gcc-4.2 is fixed as http://qa.openoffice.org/issues/show_bug.cgi?id=110061 (not yet integrated) and for now requires to apply the two patches http://hg.services.openoffice.org/cws/sb120/rev/dde95ea68684 and http://hg.services.openoffice.org/cws/sb120/rev/7319e4d72cb3. However, with those patches, you no longer need to explicitly pass CC=gcc-4.0 and CXX=g++-4.0 to configure. 2 Using the Python from the 10.4 SDK is fixed as http://qa.openoffice.org/issues/show_bug.cgi?id=106059 (not yet integrated) and for now requires to apply the patch http://hg.services.openoffice.org/cws/sb120/rev/9f7ed09e2d72. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Re: 4 key points
Maximilian Odendahl wrote: I really think a code rewrite inevitable if we want to keep OOo competitive. are you actually being serious? Certain parts definitely, but certainly not everything. He's just another spammer. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] How best to use {OpenGrok?
Greetings, It seems that the {OpenGrok search hosted at svn.services.openoffice.org does not cover files created during the build process. This has caused me some confusion: differences between search results there and output from gdb made me think that my eyes were going funny. In particular, a search for definitions of DateTime did not turn up solver/300/unxlngi6/inc/offuh/com/sun/star/util/DateTime.hpp. What remains is a question of how I can use {OpenGrok for reassurance that I have looked at all relevant code as I consider an issue. I invite your guidance. Cheers, Terry. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] java rdf problem again
why every now and then I have a failure message from mailer-dae...@powermail.ce.net.cn ? 2010/3/25 Niklas Nebel niklas.ne...@sun.com On 03/25/10 08:47, Andrea Chiumenti wrote: Sorry I'm a bit confused, and browsing the site and using google I'm not able to get a solution. I've also tried with XURI nodeTableName = URI.create(m_xContext, tableName); but I get this error: CURI::initialize: argument not splittable: no separator [#/:] Could you please give me a sample snippet ? Just use something like XURI nodeTableName = URI.create(m_xContext, http://www.wingstech.it/gam3/v1.0/tableName;); One more thing: To get the URI for removeMetadataFile, you shouldn't use getURL from the XModel interface. Better use the document's XURI interface (parent of XDocumentMetadataAccess), so you always get the exact URI that the rdf implementation expects. Niklas - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Community Council Elections: Introducing the Nominees
Hi, Regarding my candidature as the code contributor representative for the Community Council elections I'll write a few words about me. First my standard short bio for those who don't know that already: ---%---snip---%--- Born and living in Hamburg, Germany. Started working with computers in 1986, developed software for computer-aided production data acquisition. Joined StarDivision in 1993, and the StarCalc spreadsheet application's team in 1994. Working on the spreadsheet core engine, formula compiler and interpreter. Since the year 2000 also deeply involved with the OpenOffice.org internationalization (i18n) framework, partly arisen from the various needs of the number parser/formatter used in Calc and other OOo applications, coordinating the related work. Co-Lead of the OpenOffice.org Calc spreadsheet application project. Co-Lead of the localization (l10n) project for the i18n framework. Since 2006 a member of the OASIS OpenDocument Format (ODF) committee, working on the formula specification (ODFF aka OpenFormula). Since 2008 a liaison member of the Unicode Consortium, representing OpenOffice.org. Working full time on OpenOffice.org, employed by Sun Microsystems. ---%---snap---%--- Well, yes, soon Oracle once the legal entity combination will be completed in Germany. So, to answer Christoph's questions: * What is your idea by the work/tasks of the council? My idea is clearly influenced by http://council.openoffice.org/#council and http://council.openoffice.org/councilcharter12.html ;-) I don't know to say much else because those pages exactly describe what the work of the CC is and what it is not. I could only summarize it as represent the project and the community and provide guidance. * Do you have any special areas of interest/ideas? As a code contributor I of course want to improve the code base of OOo. Other than maybe recommending development in certain areas, which is one of the CC's tasks, to attract developers I regard the planned OOo Internship and a bounty program as important. The existing bounty program is not attractive enough, almost unused, badly maintained, not prominent and not adequately advertised. We certainly could do better. * Is there enough spare time for the work in the council? There's never enough spare time, no matter for what ;-) Seriously, I hope my employer will set aside a few work hours a month, but I'm also willing to spend some of my spare time. Did this answer your questions sufficiently? Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgpDSNK8XcTfC.pgp Description: PGP signature
[dev] ID-utils and ctags (was: [dev] How best to use {OpenGrok?)
Hi Terrence, On Thursday, 2010-03-25 13:33:41 -0400, Terrence Enger wrote: It seems that the {OpenGrok search hosted at svn.services.openoffice.org does not cover files created during the build process. Of course not, by nature, it does only index the source repository. What remains is a question of how I can use {OpenGrok for reassurance that I have looked at all relevant code as I consider an issue. Take a look at http://wiki.services.openoffice.org/wiki/Little_Helpers ID-utils and ctags are your friends. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks. pgpOT3ZfwaiVk.pgp Description: PGP signature
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
[dev] Re: Community Council Elections: Introducing the Nominees
Christoph Noack wrote: I would like to start - so please answer the following questions: * What is your idea by the work/tasks of the council? Hi Chris, all, so Eike already linked to the definitive, authoritative page about the council charta - to paraphrase, the council is largely a place where arbitration happens, in terms of (interpersonal) conflicts, funds, and overall project interests. Overall, the council has limited powers, so the trick is to be quite persuasive - I'm at least not extremely bad at that. Plus, I'm patient. ;) * Do you have any special areas of interest/ideas? Besides being a code contributor since almost nine years (in areas like gui toolkit, applications, build system filters), a focus on testability code quality, and working in the relevant standardization committees for office file formats, I'm actually passionate about connecting OOo with other free software projects, ideally sharing the work, and code. Events like FOSDEM or LGM are excellent opportunities to connect with other projects, and I make it a priority to attend there. Other than that, I find it very rewarding to mentor people for doing OOo hacking, and have used countless occasions to do so (like GSoC, new hires, and of course education project students). I'm personally convinced that getting pupils and students in touch with FLOSS is the biggest single opportunity we're facing. * Is there enough spare time for the work in the council? I can safely say that most of my spare time goes into OOo already, so this will only shift tasks towards doing less coding/mentoring and more talking/mailing; I've personally no doubts that I'll be able to invest the time over the course of the election period. Apart from that, it seems, since my employer (Novell) endorses my nomination, I might even be able to do this on company time. :) A few words about my person: I work on OOo code since 2001, first for Sun, now sponsored by Novell. I'm a computer scientist by education, and a free software enthusiast by heart. I have two kids, and live close to Hamburg in Germany. My blog: http://blog.thebehrens.net/ My (mostly incoherent) dents: http://identi.ca/thb I was hopefully able to at least convey a rough idea about who I am, but please don't hesitate to ask me for further details, either here, via PM, or on irc. You find me hanging out on channels like #dev.openoffice.org, #education.openoffice.org and #go-oo (all freenode.net). I'm thorsten there. Cheers, -- Thorsten pgpPSCMLpiNqN.pgp Description: PGP signature