Update NEWS; fix lyx::mkdir?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1141 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-10-19 10:04:36 +00:00
parent 8fd0a9f2d7
commit edbcab7c2d
4 changed files with 33 additions and 10 deletions

View File

@ -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.

24
NEWS
View File

@ -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

View 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);
///

View 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));
}