[dev] Re: delvolper help?
Hi Oliver, since nobody els has answered, I'd like to offer some advice. If you're serious about learning to program, I suggest you start with something smaller than OpenOffice.org. OOo consists of millions of lines of C++ code, which is daunting even for a seasoned developer. If you want to learn C++, a good way is to google for C++ tutorials on the web or - if you have the money - to buy a beginner's book. Microsoft is offering the free Visual C++ Express Edition, which I consider a good choice for a beginner. You could also ask your school, if they have computer courses. Last but not least there are also a lot of computer programming summer camps. I hope this helps a little. If you have more questions, don't hesitate to ask. Greetings eymux On Sun, Jun 12, 2011 at 6:40 PM, grooby...@gmail.com wrote: Dear Sir/Madam I was hoping to be able to develop for OpenOffice, however I’m only 13 and my programing is experience is little, I can make a web browser in visual basic and that's about it. I was wondering if it would be possible to get my ideas through to you or if you could make a program to help me program for you. I hope you can help me. I look forward to your reply, Yours Faithfully Oliver Grooby -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Debugging UNO references in gdb
Hello, I'm trying to debug an issue with bookmarks in the Writer import filter. Right now my biggest problem is, that I don't know how to get information from the UNO reference objects. The import filter uses cursors and text ranges to insert the bookmarks into the document. I'm pretty sure, that the problem lies somewhere here, but I can't query the cursors and text ranges to make sure. Is there a helper function for gdb or a trick to do this? Greetings eymux -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Build OOo 3.2.1 with MediaWiki extension
Hi, I used the configure switch --enable-wiki-publisher to activate the MediaWiki extension. The extension is dutifully built and copied to the solver. But it is not included in the Debian packages and therefore not installed. Am I missing something or is this how it is supposed to be? Thanks eymux -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: SIGSEGV in SwModify::_Remove
Could you think of a quick and dirty hack to work around this? I'm building my own OOo, so I wouldn't mind using a hack as long as it works :). Sadly I'm stuck with OOo 3.2.1 for quite some time. On Fri, May 6, 2011 at 4:24 PM, Michael Stahl michael.x.st...@oracle.com wrote: On 06/05/2011 14:39, Andor E wrote: Hi, we have created an extension for OpenOffice.org, that implements a custom mail merge function. For every record in a datasource the function appends all the pages from the source document to an output document. The function uses insertDocumentFromURL. After 200-300 loops OpenOffice.org crashes with a SIGSGEV in SwModify::_Remove. As far as I could ascertain, the Iterator pClientIters gets corrupted. Some of its elements aren't valid pointers. I guess, that this is a racing condition. Probably more than one element from the iterator are removed at the same time. Do you know a way to avoid this? Is it possible to disable the SwModify functionality during the processing of the document? Thanks eymux http://openoffice.org/bugzilla/show_bug.cgi?id=105557 this is a known race condition (well, actually two different kinds of race condition, occuring in most of the writer API implementation): it's only partially fixed since OOo 3.3; actually, the only way i know to reliably crash due to this is to run our Bookmark unit test (before OOo 3.3). you're probably the first user to find it :) only known workaround is to restart OOo when it crashes. -- Invention, it must be humbly admitted, does not consist in creating out of void but out of chaos. Any artist knows these truths, no matter how deeply he or she submerges that knowing. -- Jonathan Lethem (quoting Mary Shelley) -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] SIGSEGV in SwModify::_Remove
Hi, we have created an extension for OpenOffice.org, that implements a custom mail merge function. For every record in a datasource the function appends all the pages from the source document to an output document. The function uses insertDocumentFromURL. After 200-300 loops OpenOffice.org crashes with a SIGSGEV in SwModify::_Remove. As far as I could ascertain, the Iterator pClientIters gets corrupted. Some of its elements aren't valid pointers. I guess, that this is a racing condition. Probably more than one element from the iterator are removed at the same time. Do you know a way to avoid this? Is it possible to disable the SwModify functionality during the processing of the document? Thanks eymux -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] OOo Build on Win: unopkg prints debug info
Hi, I'm building OOo 3.2.1 on Windows. For some reason unopkg and other command line tools print trace info (inserting new mapping) to the console. I'm quite certain, that I didn't create a debug build. I've even defined an envionment variable DEBUG=false. But it's still printing these annoying lines. According to my build log the variable OSL_DEBUG_LEVEL, which supposedly governs the trace output, is set to 0. How do I disable the trace output? eymux -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: OOo Build on Win: unopkg prints debug info
I didn't use debug=t and setting or not setting the DEBUG variable made no differenceA as far as I can tell. This message (http://markmail.org/message/eqk2lwr6ut4c3msb) from a SUN employee suggests, that OSL_DEBUG_LEVEL will always be greate than 1 for non-pro builds. Does this by any chance mean, that I have to use Visual Studio Professional? Any other ideas? eymux On Tue, Mar 15, 2011 at 9:37 AM, Stephan Bergmann stephan.bergm...@oracle.com wrote: On 03/15/11 09:24, Andor E wrote: I'm building OOo 3.2.1 on Windows. For some reason unopkg and other command line tools print trace info (inserting new mapping) to the console. I'm quite certain, that I didn't create a debug build. I've even defined an envionment variable DEBUG=false. But it's still printing these annoying lines. According to my build log the variable OSL_DEBUG_LEVEL, which supposedly governs the trace output, is set to 0. How do I disable the trace output? Setting the DEBUG environment variable to any non-empty value (even false) causes it to take effect (i.e., you do a debug build). -Stephan -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
Re: [dev] Packing custom XCU with custom build
I'm sorry. I should have noted, that I'm building OOo 3.2.1. main.xcd and postprocess/packregistry seem to be new to OOo 3.3. Is there an equivalent in OOo 3.2.1? On Thu, Jan 27, 2011 at 9:30 AM, Stephan Bergmann stephan.bergm...@oracle.com wrote: On 01/26/11 16:22, Andor E wrote: I have created a custom XCU and schema. I want to distribute these files with my own OOo build. I have modified already a lot of makefiles and .lst files, but the build script doesn't pack my files. I haven't found any documentation either. Which files do I have to change, to add my files to the build process? Do I have to localize a XCU? What's the meaning of all the constants in build.lst? I haven't found any reference to the names anywhere else. The easiest approach might be to add your xcs and xcu files to existing directories underneath officecfg/registry/schema and officecfg/registry/data, resp., modify the makefile.mk files in those directories appropriately (sections XCSFILES and XCUFILES, resp.), and have them included in main.xcd in postprocess/packregistry/makefile.mk. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Packing custom XCU with custom build
Thanks. That's what I was looking for. On Thu, Jan 27, 2011 at 10:47 AM, Stephan Bergmann stephan.bergm...@oracle.com wrote: On 01/27/11 10:19, Andor E wrote: I'm sorry. I should have noted, that I'm building OOo 3.2.1. main.xcd and postprocess/packregistry seem to be new to OOo 3.3. Is there an equivalent in OOo 3.2.1? No, in 3.2.1, you will have to include your individual xcs/xcu files in scp2. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Packing custom XCU with custom build
Hi, I have created a custom XCU and schema. I want to distribute these files with my own OOo build. I have modified already a lot of makefiles and .lst files, but the build script doesn't pack my files. I haven't found any documentation either. Which files do I have to change, to add my files to the build process? Do I have to localize a XCU? What's the meaning of all the constants in build.lst? I haven't found any reference to the names anywhere else. Thanks eymux
[dev] Provoke crash reporter on Windows
Hi, I'm trying to create my own crash reporter for OOo. My problem is, that I'm unable to crash OOo in a reliable way on Windows. On Linux it's quite easy with the kill command. But Windows has no equivalent. So how do I test on Windows, if the crash reporter is actually working as planned? There must be a better way, than using defective documents from the issue tracker. With regards eymux
Re: [dev] Provoke crash reporter on Windows
Thanks for the tip. That's exactly what I was looking for. eymux On Fri, Dec 17, 2010 at 9:36 AM, Stephan Bergmann stephan.bergm...@oracle.com wrote: On 12/17/10 09:28, Andor E wrote: I'm trying to create my own crash reporter for OOo. My problem is, that I'm unable to crash OOo in a reliable way on Windows. On Linux it's quite easy with the kill command. But Windows has no equivalent. So how do I test on Windows, if the crash reporter is actually working as planned? There must be a better way, than using defective documents from the issue tracker. See http://qa.openoffice.org/issues/show_bug.cgi?id=108411. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] Document Compatibility OOo 3.0.1 - 3.2
Hi, we are currently considering a switch from OOo 3.0.1 to OOo 3.2.1. Since not all our users can make the switch at the same time, they have asked for reassurance, that documents created in both versions are interchangeable. So I have wondered if there is a list of changes or known problems in the document formats between versions. I also would be very grateful for any experiences you have made with exchanging documents between these versions of OOo. Kind regards eymux