On Nov 15, 2006, at 10:29 AM, Bennett Helm wrote:
On Nov 14, 2006, at 12:18 PM, Abdelrazak Younes wrote:
Hello,
Between two chunk of work, I've managed to finish the patch, so
here it is.
With this patch, when you click anywhere, including within nested
text insets (not for mathed), there is no redrawing at _all_. This
is an improvement over lyx-1.4 where the full screen were redrawn
two times on each mouse click.
I think this is a necessary improvement for Mac so, Jose, do you
want it for this alpha or shall I wait until it is released? I
think I have tested it enough already but I will understand if
you'd like to wait. On the other hand, this is the typical feature
that needs a lot of testing so the sooner users can test it, the
better... you decide.
Right now, I can't run LyX: it hangs in on reconfiguring. Here's
the backtrace:
False alarm. Something was messed up on my computer causing this
problem; a restart fixed it. This is fine now.
Speed in insets seems fine with the patch. (There are still some
drawing issues with nested insets that existed even prior to the patch.)
Note also that it is still impossible to run LyX on Mac via the GUI
(i.e., by double-clicking on the icon); only running via command
line works.
This is still an issue.
By the way, I haven't gotten profiling to work now that I've
switched over to Intel Mac. Shark gives me a "No samples taken.
[CHUDDataSource]" message. Any idea what I'm doing wrong?
(I've also got my PPC Mac for a little while, yet. I'm compiling
now, but it's slow.)
... And here I get a compilation error:
if g++-dp-4.2 -DHAVE_CONFIG_H -I. -I. -I. -I../boost -Wextra -
Wall -g -Os -MT ConverterCache.o -MD -MP -MF ".deps/
ConverterCache.Tpo" -c -o ConverterCache.o ConverterCache.C; \
then mv -f ".deps/ConverterCache.Tpo" ".deps/ConverterCache.Po"; else
rm -f ".deps/ConverterCache.Tpo"; exit 1; fi
ConverterCache.C:89: warning: 'lyx::ConverterCache::Impl' has a field
'lyx::ConverterCache::Impl::cache' whose type uses the anonymous
namespace
ConverterCache.C: In member function 'void lyx::ConverterCache::add
(const std::string&, const std::string&, const std::string&) const':
ConverterCache.C:219: error: 'BOOST_CURRENT_FUNCTION' was not
declared in this scope
ConverterCache.C: In member function 'void lyx::ConverterCache::remove
(const std::string&, const std::string&) const':
ConverterCache.C:274: error: 'BOOST_CURRENT_FUNCTION' was not
declared in this scope
ConverterCache.C: In member function 'bool
lyx::ConverterCache::inCache(const std::string&, const std::string&)
const':
ConverterCache.C:296: error: 'BOOST_CURRENT_FUNCTION' was not
declared in this scope
ConverterCache.C: In member function 'const std::string
lyx::ConverterCache::cacheName(const std::string&, const
std::string&) const':
ConverterCache.C:323: error: 'BOOST_CURRENT_FUNCTION' was not
declared in this scope
ConverterCache.C: In member function 'bool lyx::ConverterCache::copy
(const std::string&, const std::string&, const std::string&) const':
ConverterCache.C:338: error: 'BOOST_CURRENT_FUNCTION' was not
declared in this scope
make[3]: *** [ConverterCache.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Bennett