From edbcab7c2dd1050bf879d9b3082c332a11cdaf45 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 19 Oct 2000 10:04:36 +0000 Subject: [PATCH] Update NEWS; fix lyx::mkdir? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1141 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 12 +++++++++++- NEWS | 24 +++++++++++++++++++----- src/support/lyxlib.h | 3 +-- src/support/mkdir.C | 4 ++-- 4 files changed, 33 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4bdcde29f..f2593aa0ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-10-19 Jean-Marc Lasgouttes + + * src/support/lyxlib.h: changed second argument of mkdir to + unsigned long int (unsigned int would probably have been enough, + but...). Removed header. + * src/support/mkdir.C (mkdir): ditto. + + * NEWS: update. + 2000-10-19 Juergen Vigna * src/lyxfunc.C (MenuNew): small fix (form John) @@ -12,7 +21,7 @@ 2000-10-18 Juergen Vigna * 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! @@ -23,6 +32,7 @@ so that variables are localized. 2000-10-18 Angus Leeming + * src/support/lstrings.C (lowercase, uppercase): use explicit casts to remove compiler warnings. diff --git a/NEWS b/NEWS index 630f979fa8..496f01181a 100644 --- a/NEWS +++ b/NEWS @@ -51,12 +51,26 @@ Other major changes in 1.1.6 include: 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?] +- 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). -- included files work now with docbook and linuxdoc. - New layout docbook-book. +- 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 diff --git a/src/support/lyxlib.h b/src/support/lyxlib.h index 4f955a4486..acaa2b0e4e 100644 --- a/src/support/lyxlib.h +++ b/src/support/lyxlib.h @@ -13,7 +13,6 @@ #define LYX_LIB_H #include "LString.h" -#include // 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 @@ -48,7 +47,7 @@ namespace lyx { /// void abort(); /// - int mkdir(string const & pathname, mode_t mode); + int mkdir(string const & pathname, unsigned long int mode); /// int putenv(char const * str); /// diff --git a/src/support/mkdir.C b/src/support/mkdir.C index 66f148821e..67851cb6ff 100644 --- a/src/support/mkdir.C +++ b/src/support/mkdir.C @@ -9,7 +9,7 @@ #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)); }