]> git.lyx.org Git - lyx.git/log
lyx.git
16 years ago* docstream: factorize out some code and introduce odocfstream::reset()
Abdelrazak Younes [Wed, 5 Dec 2007 13:56:53 +0000 (13:56 +0000)]
* docstream: factorize out some code and introduce odocfstream::reset()

* Buffer::makeLaTeXFile(): try to catch one more iconv exception. Fix bug 4385 (http://bugzilla.lyx.org/show_bug.cgi?id=4385)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21967 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRevert part of 21965 which was debugging code.
Abdelrazak Younes [Wed, 5 Dec 2007 10:45:19 +0000 (10:45 +0000)]
Revert part of 21965 which was debugging code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21966 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoIntroducing FileNameList, cleanup some headers and put back dirList() into FileName.
Abdelrazak Younes [Wed, 5 Dec 2007 10:32:49 +0000 (10:32 +0000)]
Introducing FileNameList, cleanup some headers and put back dirList() into FileName.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21965 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoHeader cleanup.
Abdelrazak Younes [Wed, 5 Dec 2007 09:23:19 +0000 (09:23 +0000)]
Header cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21964 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAvoid a second confirmation when reverting a Buffer.
Abdelrazak Younes [Tue, 4 Dec 2007 23:07:14 +0000 (23:07 +0000)]
Avoid a second confirmation when reverting a Buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21963 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoSanitize the way Buffers are saved, renamed and closed.
Abdelrazak Younes [Tue, 4 Dec 2007 22:21:25 +0000 (22:21 +0000)]
Sanitize the way Buffers are saved, renamed and closed.

* LyXFunc: Transfer and simplify LFUN_BUFFER_WRITE, LFUN_BUFFER_WRITE_AS  and LFUN_BUFFER_WRITE_ALL to GuiView.

* BufferList: Transfer quitWriteAll() and close() to GuiView.

* Buffer: Transfer writeAs() and menuWrite() functionalities to GuiView.

* LyXView::closeBuffer(): new pure virtual method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21960 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopreamble.cpp: update the list of supported languages to the one of LyX 1.4.5.1
Uwe Stöhr [Tue, 4 Dec 2007 21:35:08 +0000 (21:35 +0000)]
preamble.cpp: update the list of supported languages to the one of LyX 1.4.5.1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21959 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPatch from Sven Hoexter. Use 'xdg-open' and 'sensible-editor' when
André Pönitz [Tue, 4 Dec 2007 21:25:46 +0000 (21:25 +0000)]
Patch from Sven Hoexter. Use 'xdg-open' and 'sensible-editor' when
available

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21957 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPatch from Sven Hoexter. Fix non-ASCII char in name.
André Pönitz [Tue, 4 Dec 2007 21:10:50 +0000 (21:10 +0000)]
Patch from Sven Hoexter. Fix non-ASCII char in name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21956 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoscons/SConstruct: disable assertions for stable releases
Uwe Stöhr [Tue, 4 Dec 2007 21:05:41 +0000 (21:05 +0000)]
scons/SConstruct: disable assertions for stable releases

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21955 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopreamble.cpp: small cleanup
Uwe Stöhr [Tue, 4 Dec 2007 20:53:43 +0000 (20:53 +0000)]
preamble.cpp: small cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21953 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopreamble.cpp, text.cpp:
Uwe Stöhr [Tue, 4 Dec 2007 20:09:40 +0000 (20:09 +0000)]
preamble.cpp, text.cpp:
 - fix bug 27
 - support for multi-language files
 - code cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21950 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/frontends/qt4/ui/PrintUi.ui:
Jürgen Spitzmüller [Tue, 4 Dec 2007 11:32:40 +0000 (11:32 +0000)]
* src/frontends/qt4/ui/PrintUi.ui:
- fix bug 4345.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21949 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/frontends/qt4/GuiBox.cpp:
Jürgen Spitzmüller [Tue, 4 Dec 2007 11:29:43 +0000 (11:29 +0000)]
* src/frontends/qt4/GuiBox.cpp:
- Fix button activation with pagebreak CB.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21948 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* lib/layouts.memoir.layout:
Jürgen Spitzmüller [Tue, 4 Dec 2007 10:27:27 +0000 (10:27 +0000)]
* lib/layouts.memoir.layout:
- memoir.cls provides framed.sty.
* src/LaTeXFeatures.cpp:
- also output the shadecolor definition if framed.sty
  is provided by a class.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21947 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoforgot this ...
Jürgen Spitzmüller [Tue, 4 Dec 2007 09:48:57 +0000 (09:48 +0000)]
forgot this ...

* lib/ui/stdmenus.ui:
- remove Shaded and Framed notes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21946 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoframed.sty goes InsetBox:
Jürgen Spitzmüller [Tue, 4 Dec 2007 09:25:50 +0000 (09:25 +0000)]
framed.sty goes InsetBox:

* src/insets/InsetBox.{cpp,h}:
* src/frontends/qt4/GuiBox.{cpp,h}:
* src/frontends/qt4/ui/BoxUi.ui:
- add and handle Framed and Shaded boxes
- use more descriptive label names
- implement name() function for Box:Shaded's sake

* src/insets/InsetNote.{cpp,h}:
* src/frontends/qt4/GuiNote.cpp:
* src/frontends/qt4/ui/NoteUi.ui:
- remove Framed and Shaded.

* lib/layouts/stdinsets.inc:
- remove Note:Framed and Note:Shaded
- add Box:Shaded

* Buffer.cpp:
- bump format to 304.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add conversion/reversion of framed/shaded notes to boxes.

* development/FORMAT:
- document file format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21945 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoinclude intl/libintl.h that is relative to $TOP_SRCDIR/src
Bo Peng [Tue, 4 Dec 2007 03:55:02 +0000 (03:55 +0000)]
include intl/libintl.h that is relative to $TOP_SRCDIR/src

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21943 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agolanguages: sort only
Uwe Stöhr [Tue, 4 Dec 2007 00:02:47 +0000 (00:02 +0000)]
languages: sort only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21942 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopreamble.cpp: update fileformat
Uwe Stöhr [Mon, 3 Dec 2007 22:17:38 +0000 (22:17 +0000)]
preamble.cpp: update fileformat

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21941 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/BufferParams.cpp (readToken):
Jürgen Spitzmüller [Mon, 3 Dec 2007 16:42:43 +0000 (16:42 +0000)]
* src/BufferParams.cpp (readToken):
- initialize pair<bool, lyx::textclass_type> pp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21939 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd some documentation.
Abdelrazak Younes [Mon, 3 Dec 2007 15:24:53 +0000 (15:24 +0000)]
Add some documentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21937 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosimplify C-sytle code
Peter Kümmel [Mon, 3 Dec 2007 06:40:51 +0000 (06:40 +0000)]
simplify C-sytle code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21935 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix typo
Pavel Sanda [Sun, 2 Dec 2007 23:55:38 +0000 (23:55 +0000)]
Fix typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21933 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCmdDef:
Bernhard Roider [Sun, 2 Dec 2007 22:10:26 +0000 (22:10 +0000)]
CmdDef:
- deboostification
- correct comments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21931 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* BufferView:
Abdelrazak Younes [Sun, 2 Dec 2007 20:05:17 +0000 (20:05 +0000)]
* BufferView:
- dispatch(): transfer LFUN_FILE_INSERT_PLAINTEXT_* to GuiView::dispatch()
- insertPlaintextFile(): split in BufferView::insertPlaintextFile() and GuiView::insertPlaintextFile()

This patch get rid of FileDialog use in BufferView. Remains Buffer, Converters and LyXFunc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21930 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix memory leaks
Peter Kümmel [Sun, 2 Dec 2007 18:39:05 +0000 (18:39 +0000)]
fix memory leaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21928 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoexport when building vld
Peter Kümmel [Sun, 2 Dec 2007 18:37:58 +0000 (18:37 +0000)]
export when building vld

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21927 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd vld info
Peter Kümmel [Sun, 2 Dec 2007 18:35:11 +0000 (18:35 +0000)]
add vld info

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21926 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/BufferParams.cpp (readToken):
Jürgen Spitzmüller [Sun, 2 Dec 2007 17:59:53 +0000 (17:59 +0000)]
* src/BufferParams.cpp (readToken):
- fix assertion introduced with rev. 21800 (bug 4395).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21925 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* BufferView:
Abdelrazak Younes [Sun, 2 Dec 2007 17:50:08 +0000 (17:50 +0000)]
* BufferView:
- dispatch(): transfer LFUN_FILE_INSERT to GuiView::dispatch()
- menuInsertLyXFile(): split in BufferView::insertLyXFile() and GuiView::insertLyXFile()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21923 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/insets/InsetTabular.cpp:
Jürgen Spitzmüller [Sun, 2 Dec 2007 15:19:39 +0000 (15:19 +0000)]
* src/insets/InsetTabular.cpp:
- sanitize cursor after insertion via LFUN_CLIPBOARD_PASTE
   or LFUN_FILE_INSERT_PLAINTEXT (bug 4368).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21920 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- Some small Tutorial corrections spotted by Siegfried
Uwe Stöhr [Sun, 2 Dec 2007 13:45:40 +0000 (13:45 +0000)]
- Some small Tutorial corrections spotted by Siegfried
- French EmbeddedObjects translation update also by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21919 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agovld: prepare adding Qt to leak detection. Beware: it could be that vld has problems...
Peter Kümmel [Sun, 2 Dec 2007 12:20:20 +0000 (12:20 +0000)]
vld: prepare adding Qt to leak detection. Beware: it could be that vld has problems with the statics of Qt

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21917 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocmake: disable warning 4355
Peter Kümmel [Sun, 2 Dec 2007 12:08:52 +0000 (12:08 +0000)]
cmake: disable warning 4355

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21916 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* FileName::fileContents(): new argument to define the file encoding.
Abdelrazak Younes [Sun, 2 Dec 2007 11:55:25 +0000 (11:55 +0000)]
* FileName::fileContents(): new argument to define the file encoding.

* BufferView:
- insertPlaintextString(): now accept a FileName.
- contentsOfPlaintextFile(): ditto and use FileName::fileContents().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21915 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agovld LyX/cmake integration
Peter Kümmel [Sun, 2 Dec 2007 11:19:39 +0000 (11:19 +0000)]
vld LyX/cmake integration

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21913 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agovld LyX/cmake integration
Peter Kümmel [Sun, 2 Dec 2007 11:17:01 +0000 (11:17 +0000)]
vld LyX/cmake integration

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21912 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoadd leak tool for msvc 'Visual Leak Detection' 1.9f: original files
Peter Kümmel [Sun, 2 Dec 2007 11:05:21 +0000 (11:05 +0000)]
add leak tool for msvc 'Visual Leak Detection' 1.9f: original files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21911 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoalso compile without pchs
Peter Kümmel [Sun, 2 Dec 2007 10:52:18 +0000 (10:52 +0000)]
also compile without pchs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21910 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoreduce <vector> include from 73 to 3
Peter Kümmel [Sun, 2 Dec 2007 10:43:11 +0000 (10:43 +0000)]
reduce <vector> include from 73 to 3

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21909 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocmake: buffer msvc's compiler settings
Peter Kümmel [Sun, 2 Dec 2007 10:29:25 +0000 (10:29 +0000)]
cmake: buffer msvc's compiler settings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21908 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompile also without pch
Peter Kümmel [Sun, 2 Dec 2007 09:59:26 +0000 (09:59 +0000)]
compile also without pch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21907 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopch fix
Peter Kümmel [Sun, 2 Dec 2007 09:58:23 +0000 (09:58 +0000)]
pch fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21906 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix memory leak. addMenu does not take ownership, a Qt bug?
Peter Kümmel [Sun, 2 Dec 2007 09:27:02 +0000 (09:27 +0000)]
fix memory leak. addMenu does not take ownership, a Qt bug?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21905 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix merge build
Peter Kümmel [Sun, 2 Dec 2007 09:24:26 +0000 (09:24 +0000)]
fix merge build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21904 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomove funtion with std::vector to filetools
Peter Kümmel [Sun, 2 Dec 2007 09:19:43 +0000 (09:19 +0000)]
move funtion with std::vector to filetools

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21903 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics.
Abdelrazak Younes [Sun, 2 Dec 2007 08:09:16 +0000 (08:09 +0000)]
cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21902 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompil Fix.
Abdelrazak Younes [Sun, 2 Dec 2007 07:52:28 +0000 (07:52 +0000)]
compil Fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21901 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoupdate scons/scons_manifest.py
Uwe Stöhr [Sat, 1 Dec 2007 22:24:35 +0000 (22:24 +0000)]
update scons/scons_manifest.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21900 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix crash on exit (when using http://dmoulding.googlepages.com/vld)
Peter Kümmel [Sat, 1 Dec 2007 12:17:00 +0000 (12:17 +0000)]
fix crash on exit (when using http://dmoulding.googlepages.com/vld)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21899 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix memory leak
Peter Kümmel [Sat, 1 Dec 2007 10:52:52 +0000 (10:52 +0000)]
fix memory leak

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21898 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocmake merge: declare before instantiate
Peter Kümmel [Sat, 1 Dec 2007 10:24:48 +0000 (10:24 +0000)]
cmake merge: declare before instantiate

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21897 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix memory leak, cleanup FileName interface
Peter Kümmel [Sat, 1 Dec 2007 10:23:16 +0000 (10:23 +0000)]
fix memory leak, cleanup FileName interface

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21896 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix copy&paste bug in rev 21883.
Abdelrazak Younes [Sat, 1 Dec 2007 09:51:45 +0000 (09:51 +0000)]
Fix copy&paste bug in rev 21883.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21895 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComment out unneeded debug output and add some in checksum().
Abdelrazak Younes [Sat, 1 Dec 2007 08:48:17 +0000 (08:48 +0000)]
Comment out unneeded debug output and add some in checksum().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21894 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoDon't warn when the file being deleted does not really exist.
Enrico Forestieri [Sat, 1 Dec 2007 00:30:12 +0000 (00:30 +0000)]
Don't warn when the file being deleted does not really exist.
This happens when opening the External Material dialog, where
a temporary filename is generated but the corresponding file
is not yet created.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21893 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Sat, 1 Dec 2007 00:12:03 +0000 (00:12 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21892 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompile fix for mingw
Enrico Forestieri [Sat, 1 Dec 2007 00:10:04 +0000 (00:10 +0000)]
compile fix for mingw

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21891 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomove chdir to FileName
André Pönitz [Sat, 1 Dec 2007 00:06:50 +0000 (00:06 +0000)]
move chdir to FileName

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21890 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agounused
André Pönitz [Fri, 30 Nov 2007 22:47:02 +0000 (22:47 +0000)]
unused

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21889 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agounneeded
André Pönitz [Fri, 30 Nov 2007 22:18:37 +0000 (22:18 +0000)]
unneeded

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21888 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComments.
Richard Heck [Fri, 30 Nov 2007 22:16:02 +0000 (22:16 +0000)]
Comments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21887 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Fri, 30 Nov 2007 22:02:33 +0000 (22:02 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21885 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoI'll find a solution for the 'dirList problem', Abdel.
André Pönitz [Fri, 30 Nov 2007 20:57:53 +0000 (20:57 +0000)]
I'll find a solution for the 'dirList problem', Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21884 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago~Buffer: Move wa_ destruction to Buffer::~Impl()
Abdelrazak Younes [Fri, 30 Nov 2007 20:30:09 +0000 (20:30 +0000)]
~Buffer: Move wa_ destruction to Buffer::~Impl()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21883 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoallow boost/current_function to be used again
André Pönitz [Fri, 30 Nov 2007 18:48:35 +0000 (18:48 +0000)]
allow boost/current_function to be used again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21882 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofix crash.
Abdelrazak Younes [Fri, 30 Nov 2007 18:34:25 +0000 (18:34 +0000)]
fix crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21881 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopimpl_ is too verbose to write.
Abdelrazak Younes [Fri, 30 Nov 2007 17:46:49 +0000 (17:46 +0000)]
pimpl_ is too verbose to write.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21880 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Buffer:
Abdelrazak Younes [Fri, 30 Nov 2007 17:41:27 +0000 (17:41 +0000)]
* Buffer:
- tocBackend(), errorList(), texrow(), etc: now const.
- masterBuffer(): get rid of non const access.
- setParent(): set parent Buffer, replace setParentName()
- parent(), resetChildDocuments(): new.

* InsetInclude.{h,cpp}: new resetParentBuffer() method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21879 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAdd FIXMEs
Abdelrazak Younes [Fri, 30 Nov 2007 09:49:35 +0000 (09:49 +0000)]
Add FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21876 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorevert erroneous commit in r21874.
Abdelrazak Younes [Fri, 30 Nov 2007 09:34:08 +0000 (09:34 +0000)]
revert erroneous commit in r21874.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21875 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agolyxlib.h:sum -> FileName::checksum()
Abdelrazak Younes [Fri, 30 Nov 2007 09:23:44 +0000 (09:23 +0000)]
lyxlib.h:sum -> FileName::checksum()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21874 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompile fix.
Abdelrazak Younes [Fri, 30 Nov 2007 08:35:54 +0000 (08:35 +0000)]
compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21873 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoLyXFunc.cpp: add missing case
Uwe Stöhr [Fri, 30 Nov 2007 00:04:44 +0000 (00:04 +0000)]
LyXFunc.cpp: add missing case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21872 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoupdate scons/scons_manifest.py
Uwe Stöhr [Fri, 30 Nov 2007 00:03:31 +0000 (00:03 +0000)]
update scons/scons_manifest.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21871 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agofive lines plain loop vs seven lines fancy boost & algorithm
André Pönitz [Thu, 29 Nov 2007 22:48:35 +0000 (22:48 +0000)]
five lines plain loop  vs  seven lines fancy  boost & algorithm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21870 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agono need for pointers, not even leaking ones...
André Pönitz [Thu, 29 Nov 2007 22:38:53 +0000 (22:38 +0000)]
no need for pointers, not even leaking ones...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21869 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agouse structure with named members instead of pair<int, int>...
André Pönitz [Thu, 29 Nov 2007 22:12:19 +0000 (22:12 +0000)]
use structure with named members instead of  pair<int, int>...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21868 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoassimilate BOOST_CURRENT_FUNCTION
André Pönitz [Thu, 29 Nov 2007 21:10:35 +0000 (21:10 +0000)]
assimilate BOOST_CURRENT_FUNCTION

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21867 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCompile fix.
Richard Heck [Thu, 29 Nov 2007 20:11:54 +0000 (20:11 +0000)]
Compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21866 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Thu, 29 Nov 2007 20:02:50 +0000 (20:02 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21865 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Thu, 29 Nov 2007 19:56:25 +0000 (19:56 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21864 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agomerge the Forked* machinery into a single pair of files
André Pönitz [Thu, 29 Nov 2007 19:19:39 +0000 (19:19 +0000)]
merge the Forked* machinery into a single pair of files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21863 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocompile fix / cosmetics
André Pönitz [Thu, 29 Nov 2007 18:29:57 +0000 (18:29 +0000)]
compile fix / cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21862 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopotential compile fix for Kornel
André Pönitz [Thu, 29 Nov 2007 17:57:06 +0000 (17:57 +0000)]
potential compile fix for Kornel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21861 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agopotential compile fix
André Pönitz [Thu, 29 Nov 2007 17:51:58 +0000 (17:51 +0000)]
potential compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21860 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCMake fix by Kornel Benko.
Abdelrazak Younes [Thu, 29 Nov 2007 09:34:20 +0000 (09:34 +0000)]
CMake fix by Kornel Benko.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21859 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMSVC compile fix.
Abdelrazak Younes [Thu, 29 Nov 2007 09:00:28 +0000 (09:00 +0000)]
MSVC compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21858 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- Get rid of unneeded time_type typedef.
Abdelrazak Younes [Thu, 29 Nov 2007 08:55:43 +0000 (08:55 +0000)]
- Get rid of unneeded time_type typedef.
- MSVC compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21857 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMSVC compile fix.
Abdelrazak Younes [Thu, 29 Nov 2007 08:53:39 +0000 (08:53 +0000)]
MSVC compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21856 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Thu, 29 Nov 2007 07:41:23 +0000 (07:41 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21855 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agore-enable "safety hack"
André Pönitz [Thu, 29 Nov 2007 07:32:39 +0000 (07:32 +0000)]
re-enable "safety hack"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21854 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Thu, 29 Nov 2007 07:24:55 +0000 (07:24 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21853 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agosome de-boostification
André Pönitz [Thu, 29 Nov 2007 07:11:08 +0000 (07:11 +0000)]
some de-boostification

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21852 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMove debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
André Pönitz [Thu, 29 Nov 2007 07:04:28 +0000 (07:04 +0000)]
Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoneedless declaration
Enrico Forestieri [Wed, 28 Nov 2007 23:55:55 +0000 (23:55 +0000)]
needless declaration

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21850 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agohand-crafted LyXErr
André Pönitz [Wed, 28 Nov 2007 22:12:03 +0000 (22:12 +0000)]
hand-crafted LyXErr

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21849 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* makeLatexName(): port to FileName.
Abdelrazak Younes [Wed, 28 Nov 2007 18:07:09 +0000 (18:07 +0000)]
* makeLatexName(): port to FileName.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21848 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* FileName:
Abdelrazak Younes [Wed, 28 Nov 2007 15:25:07 +0000 (15:25 +0000)]
* FileName:
- introduce changeExtension(): the goal is to replace progressively the one in filetools.cpp
- get rid of internal_path() checking for Win32 as the path is always normalized with slashes with QFileInfo.

* BufferParams: get rid of filepath member. This was used only once and was fixing a path in BufferParam was wrong anyway.

* Buffer::filePath(): always regenerate instead of caching it in BufferParams.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21847 a592a061-630c-0410-9148-cb99ea01b6c8