]> git.lyx.org Git - lyx.git/commitdiff
Update NEWS; fix lyx::mkdir?
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 19 Oct 2000 10:04:36 +0000 (10:04 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 19 Oct 2000 10:04:36 +0000 (10:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1141 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
NEWS
src/support/lyxlib.h
src/support/mkdir.C

index e4bdcde29f2d433e781449e01e9b8e138bf822b8..f2593aa0efe137ca7cabafb2eb567b30dac8e61f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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)
@@ -12,7 +21,7 @@
 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!
@@ -23,6 +32,7 @@
        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.
 
diff --git a/NEWS b/NEWS
index 630f979fa8f742c4f27cf38a228db5b4322ed563..496f01181a43d4bef0f80329707b1aa1466c9592 100644 (file)
--- 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?]
-
-- 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
index 4f955a44868b34b0c29aea9702be94f176d979fd..acaa2b0e4eb70f065d89683d6d8f0ddb5f25791a 100644 (file)
@@ -13,7 +13,6 @@
 #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
@@ -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);
         ///
index 66f148821e4b02c67a4ba2d94d2d87d3cca2b375..67851cb6ff17f9feb3929d5f51e26a0d9eff4c47 100644 (file)
@@ -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));
 }