Re: rc4 release schedule

2008-10-23 Thread Abdelrazak Younes

On 22/10/2008 21:56, Stefan Schimanski wrote:


Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.

Fixed. See patch attached to the bug report.


Thanks, thanks, and  thanks again! Very impressive !!!

Is there a reason why you committed the first two patches, but not 
the Pixmap-one ?


Because I am not sure it is completely correct. My question:

   Shouldn't we call the normal text painting code if the width is 
negative?


I think so.


Is it correct to just drop the character?


No.

Abdel.



Re: rc4 release schedule

2008-10-23 Thread Abdelrazak Younes

On 23/10/2008 00:43, Bennett Helm wrote:

On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski[EMAIL PROTECTED]  wrote:

   

Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:


 

Stefan Schimanski wrote:

   

http://bugzilla.lyx.org/show_bug.cgi?id=5327
 

Crash with Pixmap Cache and special unicode characters.

 

Fixed. See patch attached to the bug report.
   

Thanks, thanks, and  thanks again! Very impressive !!!
   
 

And from me too!
   


I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


Abdel.




Re: rc4 release schedule

2008-10-23 Thread Helge Hafting

Bo Peng wrote:

Fixed as well. See patch attached in Bugzilla.


http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
someone knows how to quote a string with  properly.


Easy enough. The common way in unix is to use the
backslash as an escape character.
So you use \ in order to treat the  sign as any
other letter.

The same approach works for any other character that
has special interpretation. Put a backslash in front
in order to _not_ treat it specially. (Might be useful
for single quotes, spaces, ...)

And if you need a backslash then the backslash can be
escaped too, so use \\ to get a single normal backslash.

If the backslash is inconvenient for some reason, such as
already being in heavy use - find some other escape character instead.


The escape character trick is so common in unix, I'd be surprised if 
there isn't already a library offering this functionality.



There are other approaches, like using single quotes around
strings containing double quoutes and vice-versa. Those approaches
tend to be less robust - there are usually some strings containing _all_ 
the quote characters that cannot be represented. The escape character 
way works for all cases, and is considered easy to implement too. There 
is only one special case - the escape character. The trick is well known 
and well tested in unix environments. It is what you use when someone

makes a file name that contains various quote characters and spaces...

Helge Hafting


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Abdelrazak Younes schrieb:

On 23/10/2008 00:43, Bennett Helm wrote:
On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski[EMAIL PROTECTED]  
wrote:


  

Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:

  

http://bugzilla.lyx.org/show_bug.cgi?id=5327


Crash with Pixmap Cache and special unicode characters.

 

Fixed. See patch attached to the bug report.
   

Thanks, thanks, and  thanks again! Very impressive !!!
   
 

And from me too!
   


I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


Abdel.


Currently I may confirm the the Pixmap Cache patch works (I didn't had a crash
before and its ok after svn update too).
But I cannot View-PDF the users guide because of missing latex macros for
Apples keyboard symbols (command key, alt key, shift key). Maybe I have to 
download
and install additional LaTeX-packages...
...but it looks like a bad start for Joe Average.

The other problem I have is the building of an Universal Binary Package. I'm 
lost
with the different build systems, Mac OS versions, SDKs, Qt-Libraries. I have 
to start
over later.
(The script I got from Konrad Hofbauer is useful but I have to rebuild Qt for 
universal
packages first)

Stephan

---


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

Stephan Witt wrote:
Currently I may confirm the the Pixmap Cache patch works (I didn't had a 
crash

before and its ok after svn update too).
But I cannot View-PDF the users guide because of missing latex macros for
Apples keyboard symbols (command key, alt key, shift key). Maybe I have 
to download

and install additional LaTeX-packages...


Look in the archive, there was a discussion about those symbols earlier.
Problem at that time was that the standard Latex-fonts do not have those 
symbols, but there were some special packages that provide them.
If you want, you can check if one of those packages made it into ctan / 
MacTex/TexLive 2008 by now (then we could use them), or come up with a 
way how to include them in LyX. (There was no immediate solution at that 
time, but maybe we could just include some images...)



The other problem I have is the building of an Universal Binary Package. 
I'm lost
with the different build systems, Mac OS versions, SDKs, Qt-Libraries. I 
have to start

over later.


I failed to build universals with cmake/XCode. My conclusion was that it 
should be possible, but that it would need good knowledge of cmake and 
some changes to CMakeLists.txt, so I gave up went the autotools path.


(The script I got from Konrad Hofbauer is useful but I have to rebuild 
Qt for universal packages first)


And, Qt needs to be built statically. Plus, if the file should be for 
distribution, one needs to make sure to build against the SDK instead of 
the local libraries (that is why all the effort in the script is 
needed). Otherwise, people experience all sorts of strange bugs.


/Konrad

P.S. But for programming and testing locally, there is no need for all 
of this (static, universal, SDK, ...).


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

Abdelrazak Younes wrote:
I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


There would be http://bugzilla.lyx.org/show_bug.cgi?id=3852
(multiple cursors in all dialogs), but it is just a GUI glitch.

Maybe better 'save' Stefan's time for the critical stuff! :)

/Konrad


Re: rc4 release schedule

2008-10-23 Thread rgheck

Konrad Hofbauer wrote:

Abdelrazak Younes wrote:
I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


There would be http://bugzilla.lyx.org/show_bug.cgi?id=3852
(multiple cursors in all dialogs), but it is just a GUI glitch.


That's cross-platform and seems to be a Qt bug.

rh



Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Pavel Sanda schrieb:

José Matos wrote:
	In order to do that I would like to release rc4 (the final rc) next Thursday. 
After that only major bugs would be solved before releasing 1.6.0.


sorry for the bunch of last minute commits, i wrongly interpreted what
the 'next' thursday means! :)

pavel


Currently I'm  failing to build Mac OS X package because of broken make 
install.

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?

Stephan

---


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

rgheck wrote:

Konrad Hofbauer wrote:

There would be http://bugzilla.lyx.org/show_bug.cgi?id=3852
(multiple cursors in all dialogs), but it is just a GUI glitch.


That's cross-platform and seems to be a Qt bug.


I doubt it is a Qt bug.

1) It would be a very blatant Qt bug.

2) Look for example at the new VLC, it is also based on Qt 4.4, and it 
works just fine there.


/Konrad

P.S. See for example also the Pixmap-Cache bug - we (I) were also 
blaming Qt, but it wasn't the culprit.


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Stephan Witt [EMAIL PROTECTED] writes:
 Currently I'm  failing to build Mac OS X package because of broken make 
 install.

 There are dependencies on FAQ.lyx in lib/doc/Makefile.in

 Did anyone got the same problem?

It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a make distclean; ./autogen.sh; configure [...] may be
enough.

JMarc


Re: rc4 release schedule

2008-10-23 Thread rgheck

Jean-Marc Lasgouttes wrote:

Stephan Witt [EMAIL PROTECTED] writes:
  

Currently I'm  failing to build Mac OS X package because of broken make 
install.

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?



It is related to the removal of FAQ, I guess.

  
Good guess. Seems the TOC.lyx building thing wants it. If we're going to 
have to fix this, then, maybe it's the right time to rip that out.


[EMAIL PROTECTED] lib]$ grep -Ir FAQ.lyx *
doc/Makefile:ca/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/ca/Intro.lyx
doc/Makefile:cs/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/cs/Tutorial.lyx
doc/Makefile:da/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/da/Intro.lyx
doc/Makefile:de/TOC.lyx: $(srcdir)/FAQ.lyx 
$(srcdir)/de/Customization.lyx $(srcdir)/de/EmbeddedObjects.lyx 
$(srcdir)/de/Extended.lyx $(srcdir)/de/Intro.lyx $(srcdir)/de/Math.lyx 
$(srcdir)/de/Tutorial.lyx $(srcdir)/de/UserGuide.lyx
doc/Makefile:TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx 
$(srcdir)/UserGuide.lyx
doc/Makefile:es/TOC.lyx: $(srcdir)/Customization.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/es/EmbeddedObjects.lyx $(srcdir)/es/Extended.lyx 
$(srcdir)/es/Intro.lyx $(srcdir)/es/Math.lyx $(srcdir)/es/Tutorial.lyx 
$(srcdir)/es/UserGuide.lyx
doc/Makefile:eu/TOC.lyx: $(srcdir)/EmbeddedObjects.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/eu/Customization.lyx 
$(srcdir)/eu/Extended.lyx $(srcdir)/eu/Intro.lyx 
$(srcdir)/eu/Tutorial.lyx $(srcdir)/eu/UserGuide.lyx
doc/Makefile:fr/TOC.lyx: $(srcdir)/FAQ.lyx 
$(srcdir)/fr/Customization.lyx $(srcdir)/fr/EmbeddedObjects.lyx 
$(srcdir)/fr/Extended.lyx $(srcdir)/fr/Intro.lyx $(srcdir)/fr/Math.lyx 
$(srcdir)/fr/Tutorial.lyx $(srcdir)/fr/UserGuide.lyx
doc/Makefile:gl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/gl/Intro.lyx 
$(srcdir)/gl/Tutorial.lyx
doc/Makefile:he/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/he/Intro.lyx 
$(srcdir)/he/Tutorial.lyx
doc/Makefile:hu/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/hu/Intro.lyx 
$(srcdir)/hu/Tutorial.lyx
doc/Makefile:it/TOC.lyx: $(srcdir)/EmbeddedObjects.lyx 
$(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx $(srcdir)/Math.lyx 
$(srcdir)/it/Customization.lyx $(srcdir)/it/Intro.lyx 
$(srcdir)/it/Tutorial.lyx $(srcdir)/it/UserGuide.lyx
doc/Makefile:ja/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/ja/Intro.lyx $(srcdir)/ja/Tutorial.lyx 
$(srcdir)/ja/UserGuide.lyx
doc/Makefile:nb/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/nb/Intro.lyx
doc/Makefile:nl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/nl/Intro.lyx 
$(srcdir)/nl/Tutorial.lyx
doc/Makefile:pl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/FAQ.lyx $(srcdir)/Math.lyx 
$(srcdir)/UserGuide.lyx $(srcdir)/pl/Extended.lyx $(srcdir)/pl/Intro.lyx 
$(srcdir)/pl/Tutorial.lyx
doc/Makefile:pt/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/pt/Intro.lyx 
$(srcdir)/pt/Tutorial.lyx
doc/Makefile:ro/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/ro/Intro.lyx
doc/Makefile:ru/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/ru/Intro.lyx 
$(srcdir)/ru/Tutorial.lyx
doc/Makefile:sk/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/sk/Tutorial.lyx 
$(srcdir)/sk/UserGuide.lyx
doc/Makefile:sl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx 

Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Helge Hafting [EMAIL PROTECTED] writes:

 Bo Peng wrote:
 Fixed as well. See patch attached in Bugzilla.

 http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
 someone knows how to quote a string with  properly.

 Easy enough. The common way in unix is to use the
 backslash as an escape character.
 So you use \ in order to treat the  sign as any
 other letter.

We have escapeCommand in LyXRC.cpp, which could be turned into a
quoteString inLexRC (which would add the  around the string).

Then it is amusing the see how many quoteFoo commands we have in the
code, all doing slightly different things:

pegase: grep -r 'string.*escape' src|grep cpp
src/mathed/MathParser.cpp:docstring escapeSpecialChars(docstring const  str, 
bool textmode)
src/frontends/qt4/GuiCitation.cpp:static docstring 
escape_special_chars(docstring const  expr)
src/frontends/tests/biblio.cpp:string const escape_special_chars(string const  
expr)
src/support/lstrings.cpp:docstring const escape(docstring const  lab)
src/sgml.cpp:docstring sgml::escapeChar(char_type c)
src/sgml.cpp:docstring sgml::escapeString(docstring const  raw)
src/LyXRC.cpp:  string escapeCommand(string const  str) {

Of these, only the last one is relevant to us. However, some renaming
would be useful.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
 We have escapeCommand in LyXRC.cpp, which could be turned into a
 quoteString inLexRC (which would add the  around the string).

Actually quoteString already exists. I am working on a patch.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Helge Hafting [EMAIL PROTECTED] writes:

 Bo Peng wrote:
 Fixed as well. See patch attached in Bugzilla.

 http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
 someone knows how to quote a string with  properly.

 Easy enough. The common way in unix is to use the
 backslash as an escape character.
 So you use \ in order to treat the  sign as any
 other letter.

Should be fixed now.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Konrad Hofbauer [EMAIL PROTECTED] writes:
 Look in the archive, there was a discussion about those symbols earlier.
 Problem at that time was that the standard Latex-fonts do not have
 those symbols, but there were some special packages that provide them.
 If you want, you can check if one of those packages made it into ctan
 / MacTex/TexLive 2008 by now (then we could use them), or come up with
 a way how to include them in LyX. (There was no immediate solution at
 that time, but maybe we could just include some images...)

Or we could turn them in Command or option in the manual itself. I
think that it is what Apple recommends to to anyway.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Jean-Marc Lasgouttes schrieb:

Stephan Witt [EMAIL PROTECTED] writes:

Currently I'm  failing to build Mac OS X package because of broken make 
install.

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?


It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a make distclean; ./autogen.sh; configure [...] may be
enough.


Really? I tried ./autogen.sh; ./configure already...
I guess it is directly coded in lib/doc/Makefile.in.
I did a (temporarily) svn up -r 27006 lib/doc/FAQ.lyx as a workaround.

Stephan
---


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Stephan Witt schrieb:

Jean-Marc Lasgouttes schrieb:

Stephan Witt [EMAIL PROTECTED] writes:
Currently I'm  failing to build Mac OS X package because of broken 
make install.


There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?


It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a make distclean; ./autogen.sh; configure [...] may be
enough.


Really? I tried ./autogen.sh; ./configure already...
I guess it is directly coded in lib/doc/Makefile.in.
I did a (temporarily) svn up -r 27006 lib/doc/FAQ.lyx as a workaround.


The correct(?) solution is the attached patch.

Stephan
---
Index: lib/doc/depend.py
===
--- lib/doc/depend.py   (revision 27055)
+++ lib/doc/depend.py   (working copy)
@@ -30,7 +30,7 @@
 
 import re
 
-possible_documents = (Intro, Tutorial, UserGuide, EmbeddedObjects, 
Extended, Math, Customization, FAQ)
+possible_documents = (Intro, Tutorial, UserGuide, EmbeddedObjects, 
Extended, Math, Customization)
 
 def documents(srcdir, lang, dir_prefix = None):
 '''Return documents for specified language. Translated files are in lang 


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Stephan Witt [EMAIL PROTECTED] writes:

 Really? I tried ./autogen.sh; ./configure already...
 I guess it is directly coded in lib/doc/Makefile.in.
 I did a (temporarily) svn up -r 27006 lib/doc/FAQ.lyx as a workaround.

 The correct(?) solution is the attached patch.

I did that already.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Abdelrazak Younes

On 22/10/2008 21:56, Stefan Schimanski wrote:


Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:


Crash with Pixmap Cache and special unicode characters.

Fixed. See patch attached to the bug report.


Thanks, thanks, and  thanks again! Very impressive !!!

Is there a reason why you committed the first two patches, but not 
the Pixmap-one ?


Because I am not sure it is completely correct. My question:

   Shouldn't we call the normal text painting code if the width is 
negative?


I think so.


Is it correct to just drop the character?


No.

Abdel.



Re: rc4 release schedule

2008-10-23 Thread Abdelrazak Younes

On 23/10/2008 00:43, Bennett Helm wrote:

On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski<[EMAIL PROTECTED]>  wrote:

   

Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:


 

Stefan Schimanski wrote:

   


 

Crash with Pixmap Cache and special unicode characters.

 

Fixed. See patch attached to the bug report.
   

Thanks, thanks, and  thanks again! Very impressive !!!
   
 

And from me too!
   


I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


Abdel.




Re: rc4 release schedule

2008-10-23 Thread Helge Hafting

Bo Peng wrote:

Fixed as well. See patch attached in Bugzilla.


http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
someone knows how to quote a string with " properly.


Easy enough. The common way in unix is to use the
backslash as an escape character.
So you use \" in order to treat the " sign as any
other letter.

The same approach works for any other character that
has special interpretation. Put a backslash in front
in order to _not_ treat it specially. (Might be useful
for single quotes, spaces, ...)

And if you need a backslash then the backslash can be
escaped too, so use \\ to get a single normal backslash.

If the backslash is inconvenient for some reason, such as
already being in heavy use - find some other escape character instead.


The escape character trick is so common in unix, I'd be surprised if 
there isn't already a library offering this functionality.



There are other approaches, like using single quotes around
strings containing double quoutes and vice-versa. Those approaches
tend to be less robust - there are usually some strings containing _all_ 
the quote characters that cannot be represented. The "escape character" 
way works for all cases, and is considered easy to implement too. There 
is only one special case - the escape character. The trick is well known 
and well tested in unix environments. It is what you use when someone

makes a file name that contains various quote characters and spaces...

Helge Hafting


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Abdelrazak Younes schrieb:

On 23/10/2008 00:43, Bennett Helm wrote:
On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski<[EMAIL PROTECTED]>  
wrote:


  

Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:

  




Crash with Pixmap Cache and special unicode characters.

 

Fixed. See patch attached to the bug report.
   

Thanks, thanks, and  thanks again! Very impressive !!!
   
 

And from me too!
   


I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


Abdel.


Currently I may confirm the the Pixmap Cache patch works (I didn't had a crash
before and its ok after svn update too).
But I cannot View-PDF the users guide because of missing latex macros for
Apples keyboard symbols (command key, alt key, shift key). Maybe I have to 
download
and install additional LaTeX-packages...
...but it looks like a bad start for Joe Average.

The other problem I have is the building of an Universal Binary Package. I'm 
lost
with the different build systems, Mac OS versions, SDKs, Qt-Libraries. I have 
to start
over later.
(The script I got from Konrad Hofbauer is useful but I have to rebuild Qt for 
universal
packages first)

Stephan

---


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

Stephan Witt wrote:
Currently I may confirm the the Pixmap Cache patch works (I didn't had a 
crash

before and its ok after svn update too).
But I cannot View-PDF the users guide because of missing latex macros for
Apples keyboard symbols (command key, alt key, shift key). Maybe I have 
to download

and install additional LaTeX-packages...


Look in the archive, there was a discussion about those symbols earlier.
Problem at that time was that the standard Latex-fonts do not have those 
symbols, but there were some special packages that provide them.
If you want, you can check if one of those packages made it into ctan / 
MacTex/TexLive 2008 by now (then we could use them), or come up with a 
way how to include them in LyX. (There was no immediate solution at that 
time, but maybe we could just include some images...)



The other problem I have is the building of an Universal Binary Package. 
I'm lost
with the different build systems, Mac OS versions, SDKs, Qt-Libraries. I 
have to start

over later.


I failed to build universals with cmake/XCode. My conclusion was that it 
should be possible, but that it would need good knowledge of cmake and 
some changes to CMakeLists.txt, so I gave up went the autotools path.


(The script I got from Konrad Hofbauer is useful but I have to rebuild 
Qt for universal packages first)


And, Qt needs to be built statically. Plus, if the file should be for 
distribution, one needs to make sure to build against the SDK instead of 
the local libraries (that is why all the effort in the script is 
needed). Otherwise, people experience all sorts of strange bugs.


/Konrad

P.S. But for programming and testing locally, there is no need for all 
of this (static, universal, SDK, ...).


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

Abdelrazak Younes wrote:
I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


There would be 
(multiple cursors in all dialogs), but it is just a GUI glitch.

Maybe better 'save' Stefan's time for the critical stuff! :)

/Konrad


Re: rc4 release schedule

2008-10-23 Thread rgheck

Konrad Hofbauer wrote:

Abdelrazak Younes wrote:
I suggest making a list of remaining Mac bugs while you have Stefan's 
attention ;-)


There would be 
(multiple cursors in all dialogs), but it is just a GUI glitch.


That's cross-platform and seems to be a Qt bug.

rh



Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Pavel Sanda schrieb:

José Matos wrote:
	In order to do that I would like to release rc4 (the final rc) next Thursday. 
After that only major bugs would be solved before releasing 1.6.0.


sorry for the bunch of last minute commits, i wrongly interpreted what
the 'next' thursday means! :)

pavel


Currently I'm  failing to build Mac OS X package because of broken "make 
install".

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?

Stephan

---


Re: rc4 release schedule

2008-10-23 Thread Konrad Hofbauer

rgheck wrote:

Konrad Hofbauer wrote:

There would be 
(multiple cursors in all dialogs), but it is just a GUI glitch.


That's cross-platform and seems to be a Qt bug.


I doubt it is a Qt bug.

1) It would be a very blatant Qt bug.

2) Look for example at the new VLC, it is also based on Qt 4.4, and it 
works just fine there.


/Konrad

P.S. See for example also the Pixmap-Cache bug - we (I) were also 
blaming Qt, but it wasn't the culprit.


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Stephan Witt <[EMAIL PROTECTED]> writes:
> Currently I'm  failing to build Mac OS X package because of broken "make 
> install".
>
> There are dependencies on FAQ.lyx in lib/doc/Makefile.in
>
> Did anyone got the same problem?

It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a "make distclean; ./autogen.sh; configure [...]" may be
enough.

JMarc


Re: rc4 release schedule

2008-10-23 Thread rgheck

Jean-Marc Lasgouttes wrote:

Stephan Witt <[EMAIL PROTECTED]> writes:
  

Currently I'm  failing to build Mac OS X package because of broken "make 
install".

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?



It is related to the removal of FAQ, I guess.

  
Good guess. Seems the TOC.lyx building thing wants it. If we're going to 
have to fix this, then, maybe it's the right time to rip that out.


[EMAIL PROTECTED] lib]$ grep -Ir FAQ.lyx *
doc/Makefile:ca/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/ca/Intro.lyx
doc/Makefile:cs/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/cs/Tutorial.lyx
doc/Makefile:da/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/da/Intro.lyx
doc/Makefile:de/TOC.lyx: $(srcdir)/FAQ.lyx 
$(srcdir)/de/Customization.lyx $(srcdir)/de/EmbeddedObjects.lyx 
$(srcdir)/de/Extended.lyx $(srcdir)/de/Intro.lyx $(srcdir)/de/Math.lyx 
$(srcdir)/de/Tutorial.lyx $(srcdir)/de/UserGuide.lyx
doc/Makefile:TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx 
$(srcdir)/UserGuide.lyx
doc/Makefile:es/TOC.lyx: $(srcdir)/Customization.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/es/EmbeddedObjects.lyx $(srcdir)/es/Extended.lyx 
$(srcdir)/es/Intro.lyx $(srcdir)/es/Math.lyx $(srcdir)/es/Tutorial.lyx 
$(srcdir)/es/UserGuide.lyx
doc/Makefile:eu/TOC.lyx: $(srcdir)/EmbeddedObjects.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/eu/Customization.lyx 
$(srcdir)/eu/Extended.lyx $(srcdir)/eu/Intro.lyx 
$(srcdir)/eu/Tutorial.lyx $(srcdir)/eu/UserGuide.lyx
doc/Makefile:fr/TOC.lyx: $(srcdir)/FAQ.lyx 
$(srcdir)/fr/Customization.lyx $(srcdir)/fr/EmbeddedObjects.lyx 
$(srcdir)/fr/Extended.lyx $(srcdir)/fr/Intro.lyx $(srcdir)/fr/Math.lyx 
$(srcdir)/fr/Tutorial.lyx $(srcdir)/fr/UserGuide.lyx
doc/Makefile:gl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/gl/Intro.lyx 
$(srcdir)/gl/Tutorial.lyx
doc/Makefile:he/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/he/Intro.lyx 
$(srcdir)/he/Tutorial.lyx
doc/Makefile:hu/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/hu/Intro.lyx 
$(srcdir)/hu/Tutorial.lyx
doc/Makefile:it/TOC.lyx: $(srcdir)/EmbeddedObjects.lyx 
$(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx $(srcdir)/Math.lyx 
$(srcdir)/it/Customization.lyx $(srcdir)/it/Intro.lyx 
$(srcdir)/it/Tutorial.lyx $(srcdir)/it/UserGuide.lyx
doc/Makefile:ja/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/ja/Intro.lyx $(srcdir)/ja/Tutorial.lyx 
$(srcdir)/ja/UserGuide.lyx
doc/Makefile:nb/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/nb/Intro.lyx
doc/Makefile:nl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/nl/Intro.lyx 
$(srcdir)/nl/Tutorial.lyx
doc/Makefile:pl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/FAQ.lyx $(srcdir)/Math.lyx 
$(srcdir)/UserGuide.lyx $(srcdir)/pl/Extended.lyx $(srcdir)/pl/Intro.lyx 
$(srcdir)/pl/Tutorial.lyx
doc/Makefile:pt/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/pt/Intro.lyx 
$(srcdir)/pt/Tutorial.lyx
doc/Makefile:ro/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/Tutorial.lyx $(srcdir)/UserGuide.lyx 
$(srcdir)/ro/Intro.lyx
doc/Makefile:ru/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Math.lyx $(srcdir)/UserGuide.lyx $(srcdir)/ru/Intro.lyx 
$(srcdir)/ru/Tutorial.lyx
doc/Makefile:sk/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx $(srcdir)/Extended.lyx $(srcdir)/FAQ.lyx 
$(srcdir)/Intro.lyx $(srcdir)/Math.lyx $(srcdir)/sk/Tutorial.lyx 
$(srcdir)/sk/UserGuide.lyx
doc/Makefile:sl/TOC.lyx: $(srcdir)/Customization.lyx 
$(srcdir)/EmbeddedObjects.lyx 

Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Helge Hafting <[EMAIL PROTECTED]> writes:

> Bo Peng wrote:
>>> Fixed as well. See patch attached in Bugzilla.
>>
>> http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
>> someone knows how to quote a string with " properly.
>
> Easy enough. The common way in unix is to use the
> backslash as an escape character.
> So you use \" in order to treat the " sign as any
> other letter.

We have escapeCommand in LyXRC.cpp, which could be turned into a
quoteString inLexRC (which would add the "" around the string).

Then it is amusing the see how many quoteFoo commands we have in the
code, all doing slightly different things:

pegase: grep -r 'string.*escape' src|grep cpp
src/mathed/MathParser.cpp:docstring escapeSpecialChars(docstring const & str, 
bool textmode)
src/frontends/qt4/GuiCitation.cpp:static docstring 
escape_special_chars(docstring const & expr)
src/frontends/tests/biblio.cpp:string const escape_special_chars(string const & 
expr)
src/support/lstrings.cpp:docstring const escape(docstring const & lab)
src/sgml.cpp:docstring sgml::escapeChar(char_type c)
src/sgml.cpp:docstring sgml::escapeString(docstring const & raw)
src/LyXRC.cpp:  string escapeCommand(string const & str) {

Of these, only the last one is relevant to us. However, some renaming
would be useful.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> We have escapeCommand in LyXRC.cpp, which could be turned into a
> quoteString inLexRC (which would add the "" around the string).

Actually quoteString already exists. I am working on a patch.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Helge Hafting <[EMAIL PROTECTED]> writes:

> Bo Peng wrote:
>>> Fixed as well. See patch attached in Bugzilla.
>>
>> http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
>> someone knows how to quote a string with " properly.
>
> Easy enough. The common way in unix is to use the
> backslash as an escape character.
> So you use \" in order to treat the " sign as any
> other letter.

Should be fixed now.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Konrad Hofbauer <[EMAIL PROTECTED]> writes:
> Look in the archive, there was a discussion about those symbols earlier.
> Problem at that time was that the standard Latex-fonts do not have
> those symbols, but there were some special packages that provide them.
> If you want, you can check if one of those packages made it into ctan
> / MacTex/TexLive 2008 by now (then we could use them), or come up with
> a way how to include them in LyX. (There was no immediate solution at
> that time, but maybe we could just include some images...)

Or we could turn them in "Command" or "option" in the manual itself. I
think that it is what Apple recommends to to anyway.

JMarc


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Jean-Marc Lasgouttes schrieb:

Stephan Witt <[EMAIL PROTECTED]> writes:

Currently I'm  failing to build Mac OS X package because of broken "make 
install".

There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?


It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a "make distclean; ./autogen.sh; configure [...]" may be
enough.


Really? I tried ./autogen.sh; ./configure already...
I guess it is directly coded in lib/doc/Makefile.in.
I did a (temporarily) "svn up -r 27006 lib/doc/FAQ.lyx" as a workaround.

Stephan
---


Re: rc4 release schedule

2008-10-23 Thread Stephan Witt

Stephan Witt schrieb:

Jean-Marc Lasgouttes schrieb:

Stephan Witt <[EMAIL PROTECTED]> writes:
Currently I'm  failing to build Mac OS X package because of broken 
"make install".


There are dependencies on FAQ.lyx in lib/doc/Makefile.in

Did anyone got the same problem?


It is related to the removal of FAQ, I guess.

You can try for now to run make install in src/...

Otherwise, a "make distclean; ./autogen.sh; configure [...]" may be
enough.


Really? I tried ./autogen.sh; ./configure already...
I guess it is directly coded in lib/doc/Makefile.in.
I did a (temporarily) "svn up -r 27006 lib/doc/FAQ.lyx" as a workaround.


The correct(?) solution is the attached patch.

Stephan
---
Index: lib/doc/depend.py
===
--- lib/doc/depend.py   (revision 27055)
+++ lib/doc/depend.py   (working copy)
@@ -30,7 +30,7 @@
 
 import re
 
-possible_documents = ("Intro", "Tutorial", "UserGuide", "EmbeddedObjects", 
"Extended", "Math", "Customization", "FAQ")
+possible_documents = ("Intro", "Tutorial", "UserGuide", "EmbeddedObjects", 
"Extended", "Math", "Customization")
 
 def documents(srcdir, lang, dir_prefix = None):
 '''Return documents for specified language. Translated files are in lang 


Re: rc4 release schedule

2008-10-23 Thread Jean-Marc Lasgouttes
Stephan Witt <[EMAIL PROTECTED]> writes:

>> Really? I tried ./autogen.sh; ./configure already...
>> I guess it is directly coded in lib/doc/Makefile.in.
>> I did a (temporarily) "svn up -r 27006 lib/doc/FAQ.lyx" as a workaround.
>
> The correct(?) solution is the attached patch.

I did that already.

JMarc


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Stephan Witt schrieb:

Konrad Hofbauer schrieb:

Stephan Witt wrote:


Currently, I'm trying to start building LyX on Mac OS X.



The first experiment to configure with an Qt-dmg from Trolltech failed.



So I'm trying it as described in INSTALL.MacOSX and now I'm building



my privat Qt-Library. It's not ready now. Then I hope to proceed



succesfully



with configure  make of LyX.




This is what I do (on Intel 10.4.11):



Some explanation... snipped here. (Will read them later, have to go now.)



I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


It turned out to be relativly simple.
(All on Intel Version 10.5.5)

* I installed all utilities from ports. (automake gettext [cmake])
* I configured Qt 4.4.3 as mentioned in INSTALL.MacOSX
* I built my own qt4 and installed it into /opt/qt4.
* I configured lyx (svn-version) and built it in some parallel build tree.
  (Don't know why, but I had to do svn update to get the .po directory 
working)

* I can run src/lyx from this tree
* and will test the cmake build tomorrow


This is the cmake state now:
I had to change the BOOST_USER_CONFIG define (again?), patch attached.

After that change I was able to open the XCode project. (I'm using Xcode 3.0)

Then I did a full build succesfully.

To run the executable I created the symlink (as mentioned in INSTALL.cmake)
lyx-cmake/bin/Resources - ../../lyx-devel/lib

To do some more useful I have to figure out how to pass command line arguments.
I know of the Arguments tab of the Info button for the lyx executable.
And I need a pointer to a recipe to reproduce one of the mentioned problems.

Thank you for guiding (I looked up some facts in mailing lists).

Stephan
---
Index: development/cmake/CMakeLists.txt
===
--- development/cmake/CMakeLists.txt(revision 27006)
+++ development/cmake/CMakeLists.txt(working copy)
@@ -193,7 +193,7 @@
 message()
 
 
-add_definitions(-DBOOST_USER_CONFIG=config.h)
+add_definitions(-DBOOST_USER_CONFIG=config.h)

 if(MSVC AND NOT disable-pch AND NOT MERGE_FILES)
message(-)


Re: rc4 release schedule

2008-10-22 Thread Konrad Hofbauer

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command line 
arguments.

I know of the Arguments tab of the Info button for the lyx executable.


So? If i add e.g. -version there, I get the same as when calling from 
Terminal $ /Applications/LyX.app/Contents/MacOS/lyx -version


I do not understand your problem.

And I need a pointer to a recipe to reproduce one of the mentioned 
problems.


Have you looked at the bugzilla entries?

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.

http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


Hope this helps, and thanks for _your_ help!

/Konrad


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command line 
arguments.
I know of the Arguments tab of the Info button for the lyx 
executable.


So? If i add e.g. -version there, I get the same as when calling from 
Terminal $ /Applications/LyX.app/Contents/MacOS/lyx -version


I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a command line guy.
But you told me now how to use a Mac binary inside a bundle. Interesting...

And I need a pointer to a recipe to reproduce one of the mentioned 
problems.


Have you looked at the bugzilla entries?

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.

http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


I'll have a look ASAP.

Stephan

---


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:

...

Have you looked at the bugzilla entries?


I'll answer this mail because I got no bugzilla email after
commenting on bug 5327...


http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.


Cannot confirm currently with
SVN revision 27006,
Qt-4.4.3 (qt-mac-opensource-4.4.3.dmg)
cmake 2.6, Xcode 3.0
Mac OS X 10.5.5

I'll have to check a release build to be sure...
Looking up the HOWTO currently.


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.


Confirmed. I tried it several times. Every time the
funny special menu item appears and the crash on exit occured.

The backtrace is on my macbook and difficult to paste here. But
it is like Bennetts comment #2.

The action in stack level #2 lyx::dispatch ([EMAIL PROTECTED]) at LyX.cpp:1132
(line 1128 in revision 27006) varies.
Once it was lyx::LFUN_DELETE_BACKCHAR and now it is lyx::LFUN_LINE_DELETE.


http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


This one I cannot confirm.

The menu is intact after closing the last document and the splash screen 
appears.


Stephan
---


Re: rc4 release schedule

2008-10-22 Thread Konrad Hofbauer

Stephan Witt wrote:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.


Cannot confirm currently with
SVN revision 27006,
Qt-4.4.3 (qt-mac-opensource-4.4.3.dmg)
cmake 2.6, Xcode 3.0
Mac OS X 10.5.5


Interesting. Could you try with a self-compiled Qt ?


I'll have to check a release build to be sure...
Looking up the HOWTO currently.


The docs are probably a bit out-of-date. But see the shell script I 
posted earlier in this thread...



http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


This one I cannot confirm.

The menu is intact after closing the last document and the splash screen 
appears.


My above description was wrong. (Should read 'window' instead of 
'document'.) Added clarification to 
http://bugzilla.lyx.org/show_bug.cgi?id=5217


/Konrad



Re: rc4 release schedule

2008-10-22 Thread José Matos
On Wednesday 22 October 2008 09:05:18 Stephan Witt wrote:

 This is the cmake state now:
 I had to change the BOOST_USER_CONFIG define (again?), patch attached.

 After that change I was able to open the XCode project. (I'm using Xcode
 3.0)

 Then I did a full build succesfully.

What about this patch Peter?

I would like to release rc4 tomorrow and if possible it would be nice to have 
all easy fixes like this one-liner.

 Stephan
 ---


-- 
José Abílio


Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the Arguments tab of the Info button for the lyx  
executable.
So? If i add e.g. -version there, I get the same as when calling  
from Terminal $ /Applications/LyX.app/Contents/MacOS/lyx -version

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the mentioned  
problems.

Have you looked at the bugzilla entries?
http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.
http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.


Fixed in the attached patch.



http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


This really looks strange. Our global menu bar does not show up at all.

Stefan



Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 18:33 schrieb Stefan Schimanski:



Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the Arguments tab of the Info button for the lyx  
executable.
So? If i add e.g. -version there, I get the same as when calling  
from Terminal $ /Applications/LyX.app/Contents/MacOS/lyx -version

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the  
mentioned problems.

Have you looked at the bugzilla entries?
http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.
http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.


Fixed in the attached patch.



http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


This really looks strange. Our global menu bar does not show up at  
all.


Fixed as well. See patch attached in Bugzilla.

Stefan


Re: rc4 release schedule

2008-10-22 Thread Abdelrazak Younes

On 22/10/2008 18:33, Stefan Schimanski wrote:


Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command 
line arguments.
I know of the Arguments tab of the Info button for the lyx 
executable.
So? If i add e.g. -version there, I get the same as when calling 
from Terminal $ /Applications/LyX.app/Contents/MacOS/lyx -version

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a command 
line guy.
But you told me now how to use a Mac binary inside a bundle. 
Interesting...


And I need a pointer to a recipe to reproduce one of the mentioned 
problems.

Have you looked at the bugzilla entries?
http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.
http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.


Fixed in the attached patch.


I was inspired to ask you ;-)

I am OK with the patch.

Thanks,
Abdel.



Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 18:51 schrieb Stefan Schimanski:



Am 22.10.2008 um 18:33 schrieb Stefan Schimanski:



Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the Arguments tab of the Info button for the lyx  
executable.
So? If i add e.g. -version there, I get the same as when  
calling from Terminal $ /Applications/LyX.app/Contents/MacOS/lyx  
-version

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the  
mentioned problems.

Have you looked at the bugzilla entries?
http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.


Fixed. See patch attached to the bug report.

Stefan


Re: rc4 release schedule

2008-10-22 Thread Bo Peng

 Fixed as well. See patch attached in Bugzilla.

http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
someone knows how to quote a string with  properly.

Bo


Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash with Pixmap Cache and special unicode characters.

Fixed. See patch attached to the bug report.


Thanks, thanks, and  thanks again! Very impressive !!!

Is there a reason why you committed the first two patches, but not  
the Pixmap-one ?


Because I am not sure it is completely correct. My question:

   Shouldn't we call the normal text painting code if the width is  
negative? Is it correct to just drop the character?


Stefan


Re: rc4 release schedule

2008-10-22 Thread Bennett Helm
On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski [EMAIL PROTECTED] wrote:


 Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:



 Stefan Schimanski wrote:

 http://bugzilla.lyx.org/show_bug.cgi?id=5327
 Crash with Pixmap Cache and special unicode characters.

 Fixed. See patch attached to the bug report.


 Thanks, thanks, and  thanks again! Very impressive !!!


And from me too!

Bennett


Re: rc4 release schedule

2008-10-22 Thread Pavel Sanda
José Matos wrote:
   In order to do that I would like to release rc4 (the final rc) next 
 Thursday. 
 After that only major bugs would be solved before releasing 1.6.0.

sorry for the bunch of last minute commits, i wrongly interpreted what
the 'next' thursday means! :)

pavel


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Stephan Witt schrieb:

Konrad Hofbauer schrieb:

Stephan Witt wrote:


Currently, I'm trying to start building LyX on Mac OS X.



The first experiment to configure with an Qt-dmg from Trolltech failed.



So I'm trying it as described in INSTALL.MacOSX and now I'm building



my privat Qt-Library. It's not ready now. Then I hope to proceed



succesfully



with configure && make of LyX.




This is what I do (on Intel 10.4.11):



Some explanation... snipped here. (Will read them later, have to go now.)



I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


It turned out to be relativly simple.
(All on Intel Version 10.5.5)

* I installed all utilities from ports. (automake gettext [cmake])
* I configured Qt 4.4.3 as mentioned in INSTALL.MacOSX
* I built my own qt4 and installed it into /opt/qt4.
* I configured lyx (svn-version) and built it in some parallel build tree.
  (Don't know why, but I had to do svn update to get the .po directory 
working)

* I can run src/lyx from this tree
* and will test the cmake build tomorrow


This is the cmake state now:
I had to change the BOOST_USER_CONFIG define (again?), patch attached.

After that change I was able to open the XCode project. (I'm using Xcode 3.0)

Then I did a full build succesfully.

To run the executable I created the symlink (as mentioned in INSTALL.cmake)
lyx-cmake/bin/Resources -> ../../lyx-devel/lib

To do some more useful I have to figure out how to pass command line arguments.
I know of the "Arguments" tab of the "Info" button for the lyx executable.
And I need a pointer to a recipe to reproduce one of the mentioned problems.

Thank you for guiding (I looked up some facts in mailing lists).

Stephan
---
Index: development/cmake/CMakeLists.txt
===
--- development/cmake/CMakeLists.txt(revision 27006)
+++ development/cmake/CMakeLists.txt(working copy)
@@ -193,7 +193,7 @@
 message("")
 
 
-add_definitions(-DBOOST_USER_CONFIG="")
+add_definitions(-DBOOST_USER_CONFIG=)

 if(MSVC AND NOT disable-pch AND NOT MERGE_FILES)
message("-")


Re: rc4 release schedule

2008-10-22 Thread Konrad Hofbauer

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command line 
arguments.

I know of the "Arguments" tab of the "Info" button for the lyx executable.


So? If i add e.g. "-version" there, I get the same as when calling from 
Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx -version"


I do not understand your problem.

And I need a pointer to a recipe to reproduce one of the mentioned 
problems.


Have you looked at the bugzilla entries?


Crash with Pixmap Cache and special unicode characters.


Restart needed after changing preferences.


Restart needed after closing the last document.


Hope this helps, and thanks for _your_ help!

/Konrad


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command line 
arguments.
I know of the "Arguments" tab of the "Info" button for the lyx 
executable.


So? If i add e.g. "-version" there, I get the same as when calling from 
Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx -version"


I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a command line guy.
But you told me now how to use a Mac binary inside a bundle. Interesting...

And I need a pointer to a recipe to reproduce one of the mentioned 
problems.


Have you looked at the bugzilla entries?


Crash with Pixmap Cache and special unicode characters.


Restart needed after changing preferences.


Restart needed after closing the last document.


I'll have a look ASAP.

Stephan

---


Re: rc4 release schedule

2008-10-22 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:

...

Have you looked at the bugzilla entries?


I'll answer this mail because I got no bugzilla email after
commenting on bug 5327...



Crash with Pixmap Cache and special unicode characters.


Cannot confirm currently with
SVN revision 27006,
Qt-4.4.3 (qt-mac-opensource-4.4.3.dmg)
cmake 2.6, Xcode 3.0
Mac OS X 10.5.5

I'll have to check a release build to be sure...
Looking up the HOWTO currently.



Restart needed after changing preferences.


Confirmed. I tried it several times. Every time the
"funny" special menu item appears and the crash on exit occured.

The backtrace is on my macbook and difficult to paste here. But
it is like Bennetts comment #2.

The action in stack level #2 lyx::dispatch ([EMAIL PROTECTED]) at LyX.cpp:1132
(line 1128 in revision 27006) varies.
Once it was lyx::LFUN_DELETE_BACKCHAR and now it is lyx::LFUN_LINE_DELETE.



Restart needed after closing the last document.


This one I cannot confirm.

The menu is intact after closing the last document and the splash screen 
appears.


Stephan
---


Re: rc4 release schedule

2008-10-22 Thread Konrad Hofbauer

Stephan Witt wrote:


Crash with Pixmap Cache and special unicode characters.


Cannot confirm currently with
SVN revision 27006,
Qt-4.4.3 (qt-mac-opensource-4.4.3.dmg)
cmake 2.6, Xcode 3.0
Mac OS X 10.5.5


Interesting. Could you try with a self-compiled Qt ?


I'll have to check a release build to be sure...
Looking up the HOWTO currently.


The docs are probably a bit out-of-date. But see the shell script I 
posted earlier in this thread...




Restart needed after closing the last document.


This one I cannot confirm.

The menu is intact after closing the last document and the splash screen 
appears.


My above description was wrong. (Should read 'window' instead of 
'document'.) Added clarification to 
http://bugzilla.lyx.org/show_bug.cgi?id=5217


/Konrad



Re: rc4 release schedule

2008-10-22 Thread José Matos
On Wednesday 22 October 2008 09:05:18 Stephan Witt wrote:
>
> This is the cmake state now:
> I had to change the BOOST_USER_CONFIG define (again?), patch attached.
>
> After that change I was able to open the XCode project. (I'm using Xcode
> 3.0)
>
> Then I did a full build succesfully.

What about this patch Peter?

I would like to release rc4 tomorrow and if possible it would be nice to have 
all easy fixes like this one-liner.

> Stephan
> ---
>

-- 
José Abílio


Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the "Arguments" tab of the "Info" button for the lyx  
executable.
So? If i add e.g. "-version" there, I get the same as when calling  
from Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx -version"

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the mentioned  
problems.

Have you looked at the bugzilla entries?

Crash with Pixmap Cache and special unicode characters.

Restart needed after changing preferences.


Fixed in the attached patch.




Restart needed after closing the last document.


This really looks strange. Our global menu bar does not show up at all.

Stefan



Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 18:33 schrieb Stefan Schimanski:



Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the "Arguments" tab of the "Info" button for the lyx  
executable.
So? If i add e.g. "-version" there, I get the same as when calling  
from Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx -version"

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the  
mentioned problems.

Have you looked at the bugzilla entries?

Crash with Pixmap Cache and special unicode characters.

Restart needed after changing preferences.


Fixed in the attached patch.




Restart needed after closing the last document.


This really looks strange. Our global menu bar does not show up at  
all.


Fixed as well. See patch attached in Bugzilla.

Stefan


Re: rc4 release schedule

2008-10-22 Thread Abdelrazak Younes

On 22/10/2008 18:33, Stefan Schimanski wrote:


Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command 
line arguments.
I know of the "Arguments" tab of the "Info" button for the lyx 
executable.
So? If i add e.g. "-version" there, I get the same as when calling 
from Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx -version"

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a command 
line guy.
But you told me now how to use a Mac binary inside a bundle. 
Interesting...


And I need a pointer to a recipe to reproduce one of the mentioned 
problems.

Have you looked at the bugzilla entries?

Crash with Pixmap Cache and special unicode characters.

Restart needed after changing preferences.


Fixed in the attached patch.


I was inspired to ask you ;-)

I am OK with the patch.

Thanks,
Abdel.



Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 18:51 schrieb Stefan Schimanski:



Am 22.10.2008 um 18:33 schrieb Stefan Schimanski:



Am 22.10.2008 um 13:14 schrieb Stephan Witt:


Konrad Hofbauer schrieb:

Stephan Witt wrote:
To do some more useful I have to figure out how to pass command  
line arguments.
I know of the "Arguments" tab of the "Info" button for the lyx  
executable.
So? If i add e.g. "-version" there, I get the same as when  
calling from Terminal "$ /Applications/LyX.app/Contents/MacOS/lyx  
-version"

I do not understand your problem.


I have no problem (yet). I didn't use it until now. And I'm a  
command line guy.
But you told me now how to use a Mac binary inside a bundle.  
Interesting...


And I need a pointer to a recipe to reproduce one of the  
mentioned problems.

Have you looked at the bugzilla entries?

Crash with Pixmap Cache and special unicode characters.


Fixed. See patch attached to the bug report.

Stefan


Re: rc4 release schedule

2008-10-22 Thread Bo Peng
>
> Fixed as well. See patch attached in Bugzilla.

http://bugzilla.lyx.org/show_bug.cgi?id=5349 is easy to fix as long as
someone knows how to quote a string with " properly.

Bo


Re: rc4 release schedule

2008-10-22 Thread Stefan Schimanski


Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:




Stefan Schimanski wrote:


Crash with Pixmap Cache and special unicode characters.

Fixed. See patch attached to the bug report.


Thanks, thanks, and  thanks again! Very impressive !!!

Is there a reason why you committed the first two patches, but not  
the Pixmap-one ?


Because I am not sure it is completely correct. My question:

   Shouldn't we call the normal text painting code if the width is  
negative? Is it correct to just drop the character?


Stefan


Re: rc4 release schedule

2008-10-22 Thread Bennett Helm
On Wed, Oct 22, 2008 at 3:56 PM, Stefan Schimanski <[EMAIL PROTECTED]> wrote:

>
> Am 22.10.2008 um 21:52 schrieb Konrad Hofbauer:
>
>
>>
>> Stefan Schimanski wrote:
>>
>>> 
>>> Crash with Pixmap Cache and special unicode characters.
>>>
>> Fixed. See patch attached to the bug report.
>>>
>>
>> Thanks, thanks, and  thanks again! Very impressive !!!
>
>
And from me too!

Bennett


Re: rc4 release schedule

2008-10-22 Thread Pavel Sanda
José Matos wrote:
>   In order to do that I would like to release rc4 (the final rc) next 
> Thursday. 
> After that only major bugs would be solved before releasing 1.6.0.

sorry for the bunch of last minute commits, i wrongly interpreted what
the 'next' thursday means! :)

pavel


Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug session 
is all what is needed to solve them...


I'm not Stefan, but...

Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.
So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed succesfully
with configure  make of LyX.

Stephan

---


Re: rc4 release schedule

2008-10-21 Thread Stefan Schimanski


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs  
for 1.6:


http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is win/ 
mac-only, so if nobody has time to look into it, then just remove/ 
disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug  
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech  
failed.

So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed  
succesfully

with configure  make of LyX.


No idea about the configure way of building LyX. With cmake the Qt dmg  
works fine.


Stefan

Re: rc4 release schedule

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:29, Stephan Witt wrote:

Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 
1.6:


http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


... but you are very welcome :-)



Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.


I think our CMake build system supports the binary Qt package. It even 
produce Xcode project IIRC. That may be better for development I guess. 
INSTALL.Cmake for more info.



So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed 
succesfully

with configure  make of LyX.


Looking forward to it.

Abdel.



Re: rc4 release schedule

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:33, Stefan Schimanski wrote:


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs 
for 1.6:


http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Thanks.

Abdel.



Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Stefan Schimanski schrieb:


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 
1.6:


http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.
So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed 
succesfully

with configure  make of LyX.


No idea about the configure way of building LyX. With cmake the Qt dmg 
works fine.


No idea about the cmake way of building LyX here.
At least I didn't find a recipe in INSTALL.MacOSX.
I would prefer the Qt dmg...

Stephan

---


Re: rc4 release schedule

2008-10-21 Thread Konrad Hofbauer

Stephan Witt wrote:
 Currently, I'm trying to start building LyX on Mac OS X.
 The first experiment to configure with an Qt-dmg from Trolltech failed.
 So I'm trying it as described in INSTALL.MacOSX and now I'm building
 my privat Qt-Library. It's not ready now. Then I hope to proceed
 succesfully
 with configure  make of LyX.

This is what I do (on Intel 10.4.11):

 Qt *

./configure -prefix ~/qt-443 -release -static -fast -no-exceptions 
-universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake examples -nomake 
tools -nomake demos -no-libtiff


make
make install

%Now remove *.la from /path/to/qt-4.4-install/lib/.
rm  ~/qt-443/lib/*.la


 LyX *

Use the attached ...-dbg.sh to build LyX with debug-symbols (and 
Intel-only). The other script is what Bennett and I currently use for 
release builds (universal binary).




 Build from svn **

I do not remember exactly what is all needed, but install automake, 
gettext and pkgconfig. I highly recommend macports for doing this 
(super-simple, and keeps everything tidy in its own directory tree in 
/opt/...).


Then check out the LyX source, run autogen.sh, and configure as above.





I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


/Konrad

P.S. I've tried using cmake/XCode before, and it works, too (not for 
release builds though).


LyX-Mac-binary-release_1.6.0rc3-dbg.sh
Description: Bourne shell script


LyX-Mac-binary-release_1.6.0rc3.sh
Description: Bourne shell script


Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:


Currently, I'm trying to start building LyX on Mac OS X.



The first experiment to configure with an Qt-dmg from Trolltech failed.



So I'm trying it as described in INSTALL.MacOSX and now I'm building



my privat Qt-Library. It's not ready now. Then I hope to proceed



succesfully



with configure  make of LyX.




This is what I do (on Intel 10.4.11):



Some explanation... snipped here. (Will read them later, have to go now.)



I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


It turned out to be relativly simple.
(All on Intel Version 10.5.5)

* I installed all utilities from ports. (automake gettext [cmake])
* I configured Qt 4.4.3 as mentioned in INSTALL.MacOSX
* I built my own qt4 and installed it into /opt/qt4.
* I configured lyx (svn-version) and built it in some parallel build tree.
  (Don't know why, but I had to do svn update to get the .po directory working)
* I can run src/lyx from this tree
* and will test the cmake build tomorrow

Currently lyx-1.6svn reports some memory leaks on exit (some darwin feature?)
but is usable at the first glance.

Stephan

---


Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:


Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug session 
is all what is needed to solve them...


I'm not Stefan, but...

Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.
So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed succesfully
with configure && make of LyX.

Stephan

---


Re: rc4 release schedule

2008-10-21 Thread Stefan Schimanski


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs  
for 1.6:



Crash. No idea what Pixmap cache is good for, docu says it is win/ 
mac-only, so if nobody has time to look into it, then just remove/ 
disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug  
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech  
failed.

So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed  
succesfully

with configure && make of LyX.


No idea about the configure way of building LyX. With cmake the Qt dmg  
works fine.


Stefan

Re: rc4 release schedule

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:29, Stephan Witt wrote:

Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 
1.6:



Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


... but you are very welcome :-)



Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.


I think our CMake build system supports the binary Qt package. It even 
produce Xcode project IIRC. That may be better for development I guess. 
INSTALL.Cmake for more info.



So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed 
succesfully

with configure && make of LyX.


Looking forward to it.

Abdel.



Re: rc4 release schedule

2008-10-21 Thread Abdelrazak Younes

On 21/10/2008 09:33, Stefan Schimanski wrote:


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs 
for 1.6:



Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Thanks.

Abdel.



Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Stefan Schimanski schrieb:


Am 21.10.2008 um 09:29 schrieb Stephan Witt:


Abdelrazak Younes schrieb:

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

   Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 
1.6:



Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.
Stefan, could you give us a hand for those three bugs? A debug 
session is all what is needed to solve them...


I'm not Stefan, but...


I am :)

I hope to find some time later today.


Currently, I'm trying to start building LyX on Mac OS X.
The first experiment to configure with an Qt-dmg from Trolltech failed.
So I'm trying it as described in INSTALL.MacOSX and now I'm building
my privat Qt-Library. It's not ready now. Then I hope to proceed 
succesfully

with configure && make of LyX.


No idea about the configure way of building LyX. With cmake the Qt dmg 
works fine.


No idea about the cmake way of building LyX here.
At least I didn't find a recipe in INSTALL.MacOSX.
I would prefer the Qt dmg...

Stephan

---


Re: rc4 release schedule

2008-10-21 Thread Konrad Hofbauer

Stephan Witt wrote:
> Currently, I'm trying to start building LyX on Mac OS X.
> The first experiment to configure with an Qt-dmg from Trolltech failed.
> So I'm trying it as described in INSTALL.MacOSX and now I'm building
> my privat Qt-Library. It's not ready now. Then I hope to proceed
> succesfully
> with configure && make of LyX.

This is what I do (on Intel 10.4.11):

 Qt *

./configure -prefix ~/qt-443 -release -static -fast -no-exceptions 
-universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -nomake examples -nomake 
tools -nomake demos -no-libtiff


make
make install

%Now remove *.la from /path/to/qt-4.4-install/lib/.
rm  ~/qt-443/lib/*.la


 LyX *

Use the attached ...-dbg.sh to build LyX with debug-symbols (and 
Intel-only). The other script is what Bennett and I currently use for 
release builds (universal binary).




 Build from svn **

I do not remember exactly what is all needed, but install automake, 
gettext and pkgconfig. I highly recommend macports for doing this 
(super-simple, and keeps everything tidy in its own directory tree in 
/opt/...).


Then check out the LyX source, run autogen.sh, and configure as above.





I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


/Konrad

P.S. I've tried using cmake/XCode before, and it works, too (not for 
release builds though).


LyX-Mac-binary-release_1.6.0rc3-dbg.sh
Description: Bourne shell script


LyX-Mac-binary-release_1.6.0rc3.sh
Description: Bourne shell script


Re: rc4 release schedule

2008-10-21 Thread Stephan Witt

Konrad Hofbauer schrieb:

Stephan Witt wrote:


Currently, I'm trying to start building LyX on Mac OS X.



The first experiment to configure with an Qt-dmg from Trolltech failed.



So I'm trying it as described in INSTALL.MacOSX and now I'm building



my privat Qt-Library. It's not ready now. Then I hope to proceed



succesfully



with configure && make of LyX.




This is what I do (on Intel 10.4.11):



Some explanation... snipped here. (Will read them later, have to go now.)



I might have forgotten something. If something does not work, let me 
know (I probably ran into the same problem, before). :)


It turned out to be relativly simple.
(All on Intel Version 10.5.5)

* I installed all utilities from ports. (automake gettext [cmake])
* I configured Qt 4.4.3 as mentioned in INSTALL.MacOSX
* I built my own qt4 and installed it into /opt/qt4.
* I configured lyx (svn-version) and built it in some parallel build tree.
  (Don't know why, but I had to do svn update to get the .po directory working)
* I can run src/lyx from this tree
* and will test the cmake build tomorrow

Currently lyx-1.6svn reports some memory leaks on exit (some darwin feature?)
but is usable at the first glance.

Stephan

---


Re: rc4 release schedule

2008-10-20 Thread Abdelrazak Younes

On 20/10/2008 13:52, Jürgen Spitzmüller wrote:

Konrad Hofbauer wrote:
   

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is
win/mac-only, so if nobody has time to look into it, then just
remove/disable this feature on Mac?
 


Well, this optimisation is especially useful on older Mac/PPC so, if we 
disable it, we could as well remove it altogether.




This very much looks like a Qt bug. I have enabled the Pixmap cache on Linux
and failed to reproduce the crash.
I don't remember the reason why the cache was disabled for X11 but you 
did set USE_PIXMAP_CACHE to 1 in GuiPainter right?


If the old reason was a crash or something and it is fixed now, we could 
remove the #ifdef.


Abdel.



Re: rc4 release schedule

2008-10-20 Thread Abdelrazak Younes

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug session 
is all what is needed to solve them...


Abdel.



Re: rc4 release schedule

2008-10-20 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote:
  This very much looks like a Qt bug. I have enabled the Pixmap cache on
  Linux and failed to reproduce the crash.

 I don't remember the reason why the cache was disabled for X11 but you
 did set USE_PIXMAP_CACHE to 1 in GuiPainter right?

Yes.

 If the old reason was a crash or something and it is fixed now, we could
 remove the #ifdef.

Dunno.

Jürgen


Re: rc4 release schedule

2008-10-20 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
 http://bugzilla.lyx.org/show_bug.cgi?id=5327
 Crash. No idea what Pixmap cache is good for, docu says it is
 win/mac-only, so if nobody has time to look into it, then just
 remove/disable this feature on Mac?

This very much looks like a Qt bug. I have enabled the Pixmap cache on Linux 
and failed to reproduce the crash. What Qt version is this? Did you try an 
alternative version?

Jürgen


Re: rc4 release schedule

2008-10-20 Thread Konrad Hofbauer

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:

http://bugzilla.lyx.org/show_bug.cgi?id=5327
Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?


http://bugzilla.lyx.org/show_bug.cgi?id=5168
Restart needed after changing preferences.

http://bugzilla.lyx.org/show_bug.cgi?id=5217
Restart needed after closing the last document.

This is all I can see right now.

Thanks,
Konrad

P.S. And, of course, there is the good-old-multiple-cursor friend 
http://bugzilla.lyx.org/show_bug.cgi?id=3852, but it is not critical.




Re: rc4 release schedule

2008-10-20 Thread Abdelrazak Younes

On 20/10/2008 13:52, Jürgen Spitzmüller wrote:

Konrad Hofbauer wrote:
   


Crash. No idea what Pixmap cache is good for, docu says it is
win/mac-only, so if nobody has time to look into it, then just
remove/disable this feature on Mac?
 


Well, this optimisation is especially useful on older Mac/PPC so, if we 
disable it, we could as well remove it altogether.




This very much looks like a Qt bug. I have enabled the Pixmap cache on Linux
and failed to reproduce the crash.
I don't remember the reason why the cache was disabled for X11 but you 
did set USE_PIXMAP_CACHE to 1 in GuiPainter right?


If the old reason was a crash or something and it is fixed now, we could 
remove the #ifdef.


Abdel.



Re: rc4 release schedule

2008-10-20 Thread Abdelrazak Younes

On 20/10/2008 13:41, Konrad Hofbauer wrote:

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:


Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.


Stefan, could you give us a hand for those three bugs? A debug session 
is all what is needed to solve them...


Abdel.



Re: rc4 release schedule

2008-10-20 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote:
> > This very much looks like a Qt bug. I have enabled the Pixmap cache on
> > Linux and failed to reproduce the crash.
>
> I don't remember the reason why the cache was disabled for X11 but you
> did set USE_PIXMAP_CACHE to 1 in GuiPainter right?

Yes.

> If the old reason was a crash or something and it is fixed now, we could
> remove the #ifdef.

Dunno.

Jürgen


Re: rc4 release schedule

2008-10-20 Thread Jürgen Spitzmüller
Konrad Hofbauer wrote:
> 
> Crash. No idea what Pixmap cache is good for, docu says it is
> win/mac-only, so if nobody has time to look into it, then just
> remove/disable this feature on Mac?

This very much looks like a Qt bug. I have enabled the Pixmap cache on Linux 
and failed to reproduce the crash. What Qt version is this? Did you try an 
alternative version?

Jürgen


Re: rc4 release schedule

2008-10-20 Thread Konrad Hofbauer

José Matos wrote:

Comments are welcome,


On the Mac-side of things, there would be one/three mustfix-bugs for 1.6:


Crash. No idea what Pixmap cache is good for, docu says it is 
win/mac-only, so if nobody has time to look into it, then just 
remove/disable this feature on Mac?



Restart needed after changing preferences.


Restart needed after closing the last document.

This is all I can see right now.

Thanks,
Konrad

P.S. And, of course, there is the good-old-multiple-cursor friend 
, but it is not critical.




RE: rc4 release schedule

2008-10-19 Thread leuven edwin
Comments are welcome,

how can anyone disagree...


RE: rc4 release schedule

2008-10-19 Thread leuven edwin
>Comments are welcome,

how can anyone disagree...