mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Add a bunch of using directives for dec cxx. Does not compile yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@404 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8dccec5c46
commit
69c0db9984
24
ChangeLog
24
ChangeLog
@ -1,3 +1,21 @@
|
|||||||
|
2000-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
|
||||||
|
* src/buffer.C (pop_tag): fix a dubious for() loop initialization.
|
||||||
|
Did I get that right?
|
||||||
|
|
||||||
|
* src/lyxlex.h: add a "using" directive or two.
|
||||||
|
* src/Spacing.h: ditto.
|
||||||
|
* src/insets/figinset.C: ditto.
|
||||||
|
* src/support/filetools.C: ditto.
|
||||||
|
* src/support/lstrings.C: ditto.
|
||||||
|
* src/BufferView.C: ditto.
|
||||||
|
* src/bufferlist.C: ditto.
|
||||||
|
* src/lyx_cb.C: ditto.
|
||||||
|
* src/lyxlex.C: ditto.
|
||||||
|
|
||||||
|
* NEWS: add some changes for 1.1.4.
|
||||||
|
|
||||||
2000-01-06 Lars Gullik Bjønnes <larsbj@lyx.org>
|
2000-01-06 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||||
|
|
||||||
* src/BufferView.C: first go at a TextCache to speed up switching
|
* src/BufferView.C: first go at a TextCache to speed up switching
|
||||||
@ -202,7 +220,7 @@
|
|||||||
defined.
|
defined.
|
||||||
|
|
||||||
* src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
|
* src/bmtable.c: new file, a C'ified copy of bmtable.C, this is
|
||||||
compiled by a C compilator not C++.
|
compiled by a C compiler not C++.
|
||||||
|
|
||||||
* src/layout.h (LyXTextClass): added typedef for const_iterator
|
* src/layout.h (LyXTextClass): added typedef for const_iterator
|
||||||
(LyXTextClassList): added typedef for const_iterator + member
|
(LyXTextClassList): added typedef for const_iterator + member
|
||||||
@ -310,8 +328,8 @@
|
|||||||
ENABLE_ASSERTIONS
|
ENABLE_ASSERTIONS
|
||||||
* src/support/lyxstring.h: ditto
|
* src/support/lyxstring.h: ditto
|
||||||
|
|
||||||
* src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by
|
* src/Bullet.[Ch]: replace DEBUG_AS_DEFAULT by ENABLE_ASSERTIONS.
|
||||||
ENABLE_ASSERTIONS. Use LAssert.h instead of plain assert().
|
Use LAssert.h instead of plain assert().
|
||||||
|
|
||||||
* src/support/lstrings.h: add LAssert.h, in case it is needed.
|
* src/support/lstrings.h: add LAssert.h, in case it is needed.
|
||||||
|
|
||||||
|
23
NEWS
23
NEWS
@ -1,3 +1,26 @@
|
|||||||
|
What's new in LyX version 1.1.4?
|
||||||
|
--------------------------------
|
||||||
|
|
||||||
|
More internals have been rethought. In particular, most of the file IO
|
||||||
|
routines of LyX have been rewritten to use real C++ streams. Many
|
||||||
|
changes have also been done to help compile LyX with Sun CC 5.0 and
|
||||||
|
SGI STL 3.2.
|
||||||
|
|
||||||
|
In the user-visible department, we find:
|
||||||
|
|
||||||
|
- new command line option -x (or --execute) and -e (or --export). Now
|
||||||
|
direct conversion from .lyx to .tex (.dvi, .ps, ...) is possible
|
||||||
|
('lyx file.lyx --export latex') Unfortunately, X is still needed and
|
||||||
|
the GUI pops up during the process...
|
||||||
|
|
||||||
|
- better placement of accents for characters that LyX draws by itself;
|
||||||
|
|
||||||
|
- improved translations, in particular in finnish (overhauled UI
|
||||||
|
translation), dutch (tutorial and examples), german
|
||||||
|
|
||||||
|
And of course, a lot of old bugs have been replaced by new ones ;)
|
||||||
|
|
||||||
|
|
||||||
What's new in LyX version 1.1.3?
|
What's new in LyX version 1.1.3?
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
using std::for_each;
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
|
|
||||||
@ -119,10 +121,11 @@ BufferView::~BufferView()
|
|||||||
// Among others this mean:
|
// Among others this mean:
|
||||||
// - When a document is closed all trace of it must be removed from
|
// - When a document is closed all trace of it must be removed from
|
||||||
// the TextCache.
|
// the TextCache.
|
||||||
// Senarios:
|
// Scenarios:
|
||||||
// I belive there are only three possible senarios where the two first
|
// I believe there are only three possible scenarios where the two first
|
||||||
// are also covered by the third.
|
// are also covered by the third.
|
||||||
// - The simplest senario is what we have now, a single BufferView only.
|
// - The simplest scenario is what we have now, a single
|
||||||
|
// BufferView only.
|
||||||
// o Opening
|
// o Opening
|
||||||
// Nothing to do with the TextCache is done when opening a file.
|
// Nothing to do with the TextCache is done when opening a file.
|
||||||
// o Switching
|
// o Switching
|
||||||
@ -130,12 +133,12 @@ BufferView::~BufferView()
|
|||||||
// * A's text is cached in TextCache.
|
// * A's text is cached in TextCache.
|
||||||
// * We make a search for a text in TextCache that fits B
|
// * We make a search for a text in TextCache that fits B
|
||||||
// (same buffer and same width).
|
// (same buffer and same width).
|
||||||
// o Horisontal resize
|
// o Horizontal resize
|
||||||
// If the BufferView's width (LyXView) is horisontaly changed all
|
// If the BufferView's width (LyXView) is horizontally changed all
|
||||||
// the entries in the TextCache is deleted. (This causes
|
// the entries in the TextCache are deleted. (This causes
|
||||||
// reformat of all loaded documents when next viewed)
|
// reformat of all loaded documents when next viewed)
|
||||||
// o Close
|
// o Close
|
||||||
// When a buffer is closed we don't have to do anything, becuase
|
// When a buffer is closed we don't have to do anything, because
|
||||||
// to close a single buffer it is required to only exist in the
|
// to close a single buffer it is required to only exist in the
|
||||||
// BufferView and not in the TextCache. Upon LFUN_QUIT we
|
// BufferView and not in the TextCache. Upon LFUN_QUIT we
|
||||||
// don't really care since everything is deleted anyway.
|
// don't really care since everything is deleted anyway.
|
||||||
@ -150,7 +153,7 @@ BufferView::~BufferView()
|
|||||||
// * If B is viewed in another BufferView we make a copy of its
|
// * If B is viewed in another BufferView we make a copy of its
|
||||||
// text and use that, else we search in TextCache for a match.
|
// text and use that, else we search in TextCache for a match.
|
||||||
// (same buffer same width)
|
// (same buffer same width)
|
||||||
// o Horisontal resize
|
// o Horizontal resize
|
||||||
// If the BufferView's width (LyXView) is horisontaly changed all
|
// If the BufferView's width (LyXView) is horisontaly changed all
|
||||||
// the entries in the TextCache is deleted. (This causes
|
// the entries in the TextCache is deleted. (This causes
|
||||||
// reformat of all loaded documents when next viewed)
|
// reformat of all loaded documents when next viewed)
|
||||||
@ -163,7 +166,7 @@ BufferView::~BufferView()
|
|||||||
// Nothing to do with the TextCache is done when opening a file.
|
// Nothing to do with the TextCache is done when opening a file.
|
||||||
// o Switching
|
// o Switching
|
||||||
// We switch from buffer A to buffer B.
|
// We switch from buffer A to buffer B.
|
||||||
// o Horisontal resize
|
// o Horisontal rezize
|
||||||
// o Close
|
// o Close
|
||||||
|
|
||||||
typedef vector<LyXText*> TextCache;
|
typedef vector<LyXText*> TextCache;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#else
|
#else
|
||||||
#include <strstream>
|
#include <strstream>
|
||||||
#endif
|
#endif
|
||||||
|
using std::istringstream;
|
||||||
|
|
||||||
#include "support/LOstream.h"
|
#include "support/LOstream.h"
|
||||||
|
|
||||||
|
@ -17,6 +17,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
#include <fstream>
|
||||||
|
using std::ifstream;
|
||||||
|
using std::ofstream;
|
||||||
|
using std::ios;
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
#include "bufferlist.h"
|
#include "bufferlist.h"
|
||||||
|
@ -41,6 +41,7 @@ extern long int background_pixels;
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
using std::ofstream;
|
using std::ofstream;
|
||||||
|
using std::ifstream;
|
||||||
|
|
||||||
#include "figinset.h"
|
#include "figinset.h"
|
||||||
#include "lyx.h"
|
#include "lyx.h"
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
|
#include <fstream>
|
||||||
|
using std::ifstream;
|
||||||
|
|
||||||
#include "LString.h"
|
#include "LString.h"
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "lyx_main.h"
|
#include "lyx_main.h"
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "support/filetools.h"
|
#include "support/filetools.h"
|
||||||
|
|
||||||
|
using std::ios;
|
||||||
|
|
||||||
LyXLex::LyXLex(keyword_item * tab, int num)
|
LyXLex::LyXLex(keyword_item * tab, int num)
|
||||||
: is(&fb__), table(tab), no_items(num)
|
: is(&fb__), table(tab), no_items(num)
|
||||||
{
|
{
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
using std::filebuf;
|
||||||
|
|
||||||
#include "LString.h"
|
#include "LString.h"
|
||||||
|
|
||||||
///
|
///
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
using std::fstream;
|
||||||
|
using std::ios;
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
using std::make_pair;
|
using std::make_pair;
|
||||||
using std::pair;
|
using std::pair;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#ifdef __GLIBCPP__
|
#ifdef __GLIBCPP__
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#else
|
#else
|
||||||
@ -13,6 +14,7 @@
|
|||||||
#else
|
#else
|
||||||
#include <strstream>
|
#include <strstream>
|
||||||
#endif
|
#endif
|
||||||
|
using std::ostringstream;
|
||||||
|
|
||||||
#include "LString.h"
|
#include "LString.h"
|
||||||
#include "lstrings.h"
|
#include "lstrings.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user