+1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/syscall.C (Systemcalls::kill):
+ src/support/filetools.C (PutEnv, PutEnvPath):
+ src/lyx_cb.C (addNewlineAndDepth):
+ src/FontInfo.C (FontInfo::resize): condition some #warning
+ directives with WITH_WARNINGS.
+
+
1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/form1.C (create_form_Figure): added a couple fo "no-c-format"
1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/form1.C (create_form_Figure): added a couple fo "no-c-format"
and Digital C++ version 6.1. Please tell us your experience with other
compilers.
and Digital C++ version 6.1. Please tell us your experience with other
compilers.
-If you compile LyX with gcc, you should not need to have libg++ installed
-on most systems. However, see the note in the section `Problems'.
-
If you make modifications to files in src/ (for example by applying a
patch), you will need to have the GNU gettext package installed, due to
some dependencies in the makefiles. You can find the latest (alpha)
If you make modifications to files in src/ (for example by applying a
patch), you will need to have the GNU gettext package installed, due to
some dependencies in the makefiles. You can find the latest (alpha)
/// Build newly sized font string
string FontInfo::resize(string const & font, int size) const {
// Find the position of the size spec
/// Build newly sized font string
string FontInfo::resize(string const & font, int size) const {
// Find the position of the size spec
#warning rewrite to use std::string constructs
#warning rewrite to use std::string constructs
int cut = 0, before = 0, after = 0;
for (string::size_type i = 0; i < font.length(); ++i) {
if (font[i] == '-') {
int cut = 0, before = 0, after = 0;
for (string::size_type i = 0; i < font.length(); ++i) {
if (font[i] == '-') {
// I know we shouldn't put anything in here but this seems the fastest
// way to do this (and the cleanest for now). This function just inserts
// a newline in the string and the inserts 'depth'-spaces so that the
// I know we shouldn't put anything in here but this seems the fastest
// way to do this (and the cleanest for now). This function just inserts
// a newline in the string and the inserts 'depth'-spaces so that the
bool PutEnv(string const & envstr)
{
bool PutEnv(string const & envstr)
{
#warning Look at and fix this.
#warning Look at and fix this.
// f.ex. what about error checking?
int retval = 0;
#if HAVE_PUTENV
// f.ex. what about error checking?
int retval = 0;
#if HAVE_PUTENV
bool PutEnvPath(string const & envstr)
{
string pathlist = envstr;
bool PutEnvPath(string const & envstr)
{
string pathlist = envstr;
#warning Verify that this is correct.
#warning Verify that this is correct.
#ifdef __EMX__
pathlist = subst(pathlist, ':', ';');
pathlist = subst(pathlist, '/', '\\');
#ifdef __EMX__
pathlist = subst(pathlist, ':', ';');
pathlist = subst(pathlist, '/', '\\');
// Here, we should add the PID to a list of
// waiting processes to kill if they are not
// dead without tolerance seconds
// Here, we should add the PID to a list of
// waiting processes to kill if they are not
// dead without tolerance seconds
#warning Implement this using the timer of the singleton systemcontroller (Asger)
#warning Implement this using the timer of the singleton systemcontroller (Asger)