+2000-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/lyxlib.h: changed second argument of mkdir to
+ unsigned long int (unsigned int would probably have been enough,
+ but...). Removed <sys/types.h> header.
+ * src/support/mkdir.C (mkdir): ditto.
+
+ * NEWS: update.
+
2000-10-19 Juergen Vigna <jug@sad.it>
* src/lyxfunc.C (MenuNew): small fix (form John)
2000-10-18 Juergen Vigna <jug@sad.it>
* src/text2.C (ClearSelection): if we clear the selection we need
- more refresh so set the status aprpriate
+ more refresh so set the status apropriately
* src/insets/insettext.C (draw): hopefully finally fixed draw
problems!
so that variables are localized.
2000-10-18 Angus Leeming <a.leeming@ic.ac.uk>
+
* src/support/lstrings.C (lowercase, uppercase):
use explicit casts to remove compiler warnings.
images in your document. It will even do an approximate ascii
rendering when you do Ascii export if you have gifscii installed.
-- the code which converts from LyX format to anything else (for
- viewing or exporting purpose) has been rewritten. In particular, the
- PDF format is now supported [Dekel, details?]
-
-- included files work now with docbook and linuxdoc.
- New layout docbook-book.
+- The code which converts from LyX format to anything else (for
+ viewing or exporting purposes) has been rewritten. In particular, the
+ PDF format is now supported. In fact it's now possible to add
+ new export formats without recompiling LyX by specifying external
+ programs or scripts in lyxrc settings (note that the old export lyxrc
+ settings no longer work).
+
+- LyX can do command line exports without opening any GUI components.
+
+- The multilingual support was improved. It is now possible to use in a
+ document languages with different encodings, e.g. German (iso8859-1) and
+ Czech (iso8859-2). Such a document can be viewed on screen using an
+ iso10646-1 (Unicode) font. However, it is (currently) not possible to
+ have differently encoded languages in the same paragraph.
+ The languages and the encodings are defined in text files.
+
+- Improved support for Hebrew and Arabic (already present in 1.1.5fix2).
+
+- included files work now with docbook and linuxdoc; new layout
+ docbook-book.
And finally, there have been a lot of smaller changes, which are
mentioned here for your information
#define LYX_LIB_H
#include "LString.h"
-#include <sys/types.h>
// Where can I put this? I found the occurence of the same code
// three/four times. Don't you think it better to use a macro definition
///
void abort();
///
- int mkdir(string const & pathname, mode_t mode);
+ int mkdir(string const & pathname, unsigned long int mode);
///
int putenv(char const * str);
///
#include "lyxlib.h"
-int lyx::mkdir(string const & pathname, mode_t mode)
+int lyx::mkdir(string const & pathname, unsigned long int mode)
{
- return ::mkdir(pathname.c_str(), mode);
+ return ::mkdir(pathname.c_str(), mode_t(mode));
}