+2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * boost/crc.hpp (detail): re-apply the cxx patch from 2001-06-07.
+
2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
* boost/config.hpp: update
typedef typename base_type::least least;
typedef typename base_type::fast fast;
+#ifdef __DECCXX
+ static const least high_bit = 1ul << (Bits - 1u);
+ static const fast high_bit_fast = 1ul << (Bits - 1u);
+#else
BOOST_STATIC_CONSTANT( least, high_bit = (least( 1u ) << ( Bits
- 1u )) );
BOOST_STATIC_CONSTANT( fast, high_bit_fast = (fast( 1u ) << ( Bits
- 1u )) );
+#endif
}; // boost::detail::high_uint_t
BOOST_STATIC_CONSTANT( fast, high_bit_fast = base_type::high_bit_fast );
#endif
+#ifdef __DECCXX
+ static const least sig_bits = (~( ~(0ul) << Bits));
+#else
BOOST_STATIC_CONSTANT( least, sig_bits = (~( ~(least( 0u )) << Bits )) );
+#endif
BOOST_STATIC_CONSTANT( fast, sig_bits_fast = fast(sig_bits) );
}; // boost::detail::mask_uint_t
+2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * layouts/dinbrief.layout:
+ * layouts/egs.layout:
+ * layouts/iletter.layout:
+ * layouts/stdletter.inc: remove bogus use of the now defunct Latex
+ tag
+
2001-09-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* examples/da_splash.lyx: new translation from Claus Hindsgaul
Shape Italic
Size Small
Color blue
- Latex no_latex
EndFont
End
Shape Italic
Size Small
Color blue
- Latex no_latex
EndFont
End
Shape Italic
Size Small
Color blue
- Latex no_latex
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
# standard font definition
Font
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
LabelFont
Series Bold
Shape Italic
- Latex Latex
+ Color red
EndFont
End
+2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lyxfont.h (isSymbolFont): shut off warning
+
+ * text.C (setHeightOfRow):
+ (getVisibleRow): fix crash with empty paragraphs which have a
+ bottom line
+
2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
* lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
+2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * Toolbar_pimpl.C (setLayout):
+ (layoutSelected): make them work even when gettext has been
+ translating the interface.
+
2001-09-07 Angus Leeming <a.leeming@ic.ac.uk>
* FormPreferences.C (build): Fix bug: if you start LyX and open the
} // namespace anon
-// this one is not "C" because combox callbacks are really C++ %-|
-void Toolbar::Pimpl::layoutSelectedCB(int, void * arg, Combox *)
-{
- Toolbar::Pimpl * tb = reinterpret_cast<Toolbar::Pimpl *>(arg);
-
- tb->layoutSelected();
-}
-
-
-void Toolbar::Pimpl::layoutSelected()
-{
- owner->getLyXFunc()->dispatch(LFUN_LAYOUT, combox->getline());
-}
-
-
void Toolbar::Pimpl::activate()
{
ToolbarList::const_iterator p = toollist.begin();
}
+// this one is not "C" because combox callbacks are really C++ %-|
+void Toolbar::Pimpl::layoutSelectedCB(int, void * arg, Combox *)
+{
+ Toolbar::Pimpl * tb = reinterpret_cast<Toolbar::Pimpl *>(arg);
+
+ tb->layoutSelected();
+}
+
+
+void Toolbar::Pimpl::layoutSelected()
+{
+ string const & layoutguiname = combox->getline();
+ LyXTextClass const & tc =
+ textclasslist.TextClass(owner->buffer()->
+ params.textclass);
+
+ LyXTextClass::const_iterator end = tc.end();
+ for (LyXTextClass::const_iterator cit = tc.begin();
+ cit != end; ++cit) {
+ if (_(cit->name()) == layoutguiname) {
+ owner->getLyXFunc()->dispatch(LFUN_LAYOUT, cit->name());
+ return;
+ }
+ }
+ lyxerr << "ERROR (Toolbar::Pimpl::layoutSelected): layout not found!"
+ << endl;
+}
+
+
void Toolbar::Pimpl::setLayout(int layout) {
if (combox) {
LyXTextClass const & tc =
textclasslist.TextClass(owner->buffer()->
params.textclass);
- combox->select(tc[layout].name());
+ combox->select(_(tc[layout].name()));
}
}
+2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * insetquotes.C (InsetQuotes): when trying to decide the side of
+ the quote, choose `left' only after a space or '('
+
2001-09-04 José Matos <jamatos@fep.up.pt>
* figinset.C
* figinset.h
{
// Decide whether left or right
switch (c) {
- case ' ': case '(': case '{': case '[': case '-': case ':':
+ case ' ': case '(':
case Paragraph::META_HFILL:
case Paragraph::META_NEWLINE:
side_ = LeftQ; // left quote
default:
return false;
}
- return false;
}
///
if (it != insetlist.end() && it->pos == pos)
return it->inset;
- lyxerr << "ERROR (Paragraph::GetInset): "
+ lyxerr << "ERROR (Paragraph::getInset): "
"Inset does not exist: " << pos << endl;
//::raise(SIGSTOP);
if (firstpar->params().lineBottom())
maxdesc += 2 * lyxfont::ascent('x',
getFont(bview->buffer(),
- par, par->size() - 1));
+ par,
+ max(Paragraph::size_type(0), par->size() - 1)));
// and now the pagebreaks
if (firstpar->params().pagebreakBottom())
y_bottom -= lyxfont::ascent('x',
getFont(bview->buffer(),
par,
- par->size() - 1));
+ max(Paragraph::size_type(0), par->size() - 1)));
int const w = (inset_owner ?
inset_owner->width(bview, font) : ww);
int const xp = static_cast<int>(inset_owner ? x : 0);
y_bottom -= lyxfont::ascent('x',
getFont(bview->buffer(),
par,
- par->size() - 1));
+ max(Paragraph::size_type(0), par->size() - 1)));
}
// draw an endlabel