Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-02 Thread Steven Butler
in moz\zipped I found some info on the openoffice.org wiki. The next hurdle seems to be getting the MS SDK. I'm d/l the win7 version as its smaller and hopefully okay but it is looking like it will take all night. I might have this working in a couple of weeks at this rate. Also, I noticed

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-02 Thread Tor Lillqvist
On 2011-02-02 at 13:56, tlillqv...@novell.com wrote: checking size of long... 0!! Equally fun is the one that follows immediately: checking whether byte ordering is bigendian... yes The result of that test must not be really used anywhere either. I will remove it, too.

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-02 Thread Tor Lillqvist
No chance it's used to support writing some of the binary file formats out uniformly across different endians? Nope. OOo/LibreOffice has its own stuff for all such things, since very long times. The configure script is a relatively late addition to OOo/LibreOffice. Anyway, I noticed that

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-02 Thread Steven Butler
Hurray, I have finally got past bootstrap phase and I'm leaving it build in the background today while I'm at work. I had a number of small issues that I had to resolve, including being unable to execute some of the installers that were downloaded. A chmod 755 src/*.exe src/*.EXE seemed to

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-02 Thread Steven Butler
Sorry Tor - forgot to reply-all and sent only to you previously... resending to the list. On 3 February 2011 10:35, Steven Butler sebut...@gmail.com wrote: I will send an update tonight if all goes well. It seems to have failed building VCL - there is an error stating f268: Error: The

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-01 Thread Steven Butler
On 1 February 2011 07:53, Tor Lillqvist tlillqv...@novell.com wrote: With the clarification that it is the *Cygwin* command line, yes. seems I already have gnu make in my path on windows from the mingw Nah, that is not usable for this. It must be the Cygwin make that is used for this (and

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-01 Thread Steven Butler
Hi, On 1 February 2011 22:26, Michael Meeks michael.me...@novell.com wrote: Hi Steve, 3. In Cygwin shell, the autogen failed with an odd error related to Native programs and symlinks.  I got past this by doing the following:     cd /bin     rm /usr/bin/awk       cp /usr/bin/gawk.exe

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-01 Thread Andras Timar
2011/2/1 Steven Butler sebut...@gmail.com:        configure: error: Building SeaMonkey is supported with Microsoft Visual Studio 2005 only. 8. I downloaded prebuilt seamonkey from here: http://tools.openoffice.org/moz_prebuild/OOo3.2/        grabbed 3 files started with WNT but I'm not sure

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-02-01 Thread Jesús Corrius
On Tue, Feb 1, 2011 at 11:44 PM, Steven Butler sebut...@gmail.com wrote: Hi, On 1 February 2011 22:26, Michael Meeks michael.me...@novell.com wrote: Hi Steve, 3. In Cygwin shell, the autogen failed with an odd error related to Native programs and symlinks.  I got past this by doing the

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-31 Thread Caolán McNamara
On Mon, 2011-01-31 at 15:17 +, Michael Meeks wrote: Hi Steve, On Sat, 2011-01-29 at 21:45 +1000, Steve Butler wrote: If the thesaurus is only loaded when the user pops it up, then couldn't mythes be taught to generate its own in-memory index from the dictionary and not bother with an

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-31 Thread Steven Butler
Hi Michael On 1 February 2011 01:17, Michael Meeks michael.me...@novell.com wrote: Hi Steve,        Sure - so; in response to user input I suspect we can take a second to parse the thesaurus; we have around 20Mb of text to load for en_US; perhaps 32Mb is a reasonable upper-bound; it does

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-31 Thread Steven Butler
On 1 February 2011 06:30, Caolán McNamara caol...@redhat.com wrote: FWIW, I'm sure Nemeth would be interested if you e.g. wanted to create a reimpl of mythes that was faster than the original and perhaps simply designate the optimized version the new mythes version with an API/ABI change :-)

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-31 Thread Steven Butler
On 31 January 2011 23:14, Tor Lillqvist tlillqv...@novell.com wrote: (Hmm, was this message intentionally not to the list?) An accident, list ccd. So after looking at the wiki I wasn't able to find any instructions on how one would go about building the Windows installer.  Are the

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-30 Thread Steve Butler
Hi Michael, On 29 January 2011 21:45, Steve Butler sebut...@gmail.com wrote: I thought I would discuss your idea about not using the index at all to see what reception it gets, but I think you may also have been suggesting a similar thing: are the index files even useful on modern gear? I

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-30 Thread Norbert Thiebaud
On Sun, Jan 30, 2011 at 4:32 AM, Steve Butler sebut...@gmail.com wrote: Hi Michael, On 29 January 2011 21:45, Steve Butler sebut...@gmail.com wrote: Here's some comparison timings on the above system (measured with gettimeofday either side of the call in swriter). Using an INDEX FILE: US

Re: [Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-30 Thread Steve Butler
Hi Norbert, I have only skimmed this thread, so forgive me if i missed the mark but: why not generate the index at install time ? that will still achieve the goal of reducing the size of the installer, without the performance hit at runtime no? The option to build the index at install

[Libreoffice] Should the Thesaurus/mythes use a precomputed index (installer file size)

2011-01-29 Thread Steve Butler
Hi Michael,        Then 'mythes' seems to be used in lingucomponent/ somewhere - I suppose that is where to be digging for the user code. I suspect if we can read and index this file in two seconds - and it is used in response to user input - there may not really be a lot of value in