+2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * configure.ac: set version to 1.4.0pre1
+
2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* README:
dnl Process with autoconf to generate configure script -*- sh -*-
-AC_INIT(lyx,1.4.0cvs,lyx-devel@lists.lyx.org)
+AC_INIT(lyx,1.4.0pre1,lyx-devel@lists.lyx.org)
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR(src/main.C)
AM_CONFIG_HEADER([src/config.h])
AC_CONFIG_AUX_DIR(config)
PACKAGE=lyx${program_suffix}
-VERSION="1.4.0cvs"
+VERSION="1.4.0pre1"
LYX_CHECK_VERSION
dnl default maintainer mode to true for development versions
+2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * messages.C: supress some lyxerr messages
+
2005-07-18 Juergen Vigna <jug@lyx.org>
* text.C (drawSelection): honor boundary when asking for cursorX.
+2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * insetbase.C (edit,editXY,index): supress some lyxerr messages
+
2005-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insettabular.C (doDispatch): try to fix handling of cursor UP/DOWN.
void InsetBase::edit(LCursor &, bool)
{
- lyxerr << "InsetBase: edit left/right" << std::endl;
+ lyxerr[Debug::INSETS] << BOOST_CURRENT_FUNCTION
+ << ": edit left/right" << std::endl;
}
InsetBase * InsetBase::editXY(LCursor &, int x, int y)
{
- lyxerr << "InsetBase: editXY x:" << x << " y: " << y << std::endl;
+ lyxerr[Debug::INSETS] << BOOST_CURRENT_FUNCTION
+ << ": x=" << x << " y= " << y
+ << std::endl;
return this;
}
InsetBase::idx_type InsetBase::index(row_type row, col_type col) const
{
if (row != 0)
- lyxerr << "illegal row: " << row << std::endl;
+ lyxerr << BOOST_CURRENT_FUNCTION
+ << ": illegal row: " << row << std::endl;
if (col != 0)
- lyxerr << "illegal col: " << col << std::endl;
+ lyxerr << BOOST_CURRENT_FUNCTION
+ << ": illegal col: " << col << std::endl;
return 0;
}
// strip off any encoding suffix, i.e., assume 8-bit po files
string::size_type i = lang_.find(".");
lang_ = lang_.substr(0, i);
- lyxerr << "Messages: language(" << lang_ << ")" << std::endl;
+ lyxerr[Debug::DEBUG] << BOOST_CURRENT_FUNCTION
+ << ": language(" << lang_ << ")" << std::endl;
}
~Pimpl() {}
char const * c = bindtextdomain(PACKAGE, package().locale_dir().c_str());
int e = errno;
if (e) {
- lyxerr << "Error code: " << errno << std::endl;
- lyxerr << "Lang, mess: " << lang_ << " " << m << std::endl;
- lyxerr << "Directory: " << package().locale_dir() << std::endl;
- lyxerr << "Rtn value: " << c << std::endl;
+ lyxerr[Debug::DEBUG]
+ << BOOST_CURRENT_FUNCTION << '\n'
+ << "Error code: " << errno << '\n'
+ << "Lang, mess: " << lang_ << " " << m << '\n'
+ << "Directory : " << package().locale_dir() << '\n'
+ << "Rtn value : " << c << std::endl;
}
textdomain(PACKAGE);
const char* msg = gettext(m.c_str());