]> git.lyx.org Git - lyx.git/log
lyx.git
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

16 years agoRemove the full assertion.
Abdelrazak Younes [Wed, 28 Nov 2007 12:28:33 +0000 (12:28 +0000)]
Remove the full assertion.

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

16 years agoFileName(): Remove isAbsolute() assertion. This is not needed because FileName now...
Abdelrazak Younes [Wed, 28 Nov 2007 12:24:10 +0000 (12:24 +0000)]
FileName(): Remove isAbsolute() assertion. This is not needed because FileName now caches a QFileInfo instead if the passed path.

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

16 years agoEnable HAVE_DECL_ISTREAMBUF_ITERATOR checking as istreambuf_iterator exists and work...
Abdelrazak Younes [Wed, 28 Nov 2007 09:53:45 +0000 (09:53 +0000)]
Enable HAVE_DECL_ISTREAMBUF_ITERATOR checking as istreambuf_iterator exists and work correctly with MSVC2005

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

16 years ago* FileName:
Abdelrazak Younes [Wed, 28 Nov 2007 09:01:49 +0000 (09:01 +0000)]
* FileName:
- removeFile(): replace unlink
- copyTo(): add 'overwrite' parameter.

* getcwd.cpp: simplify.

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

16 years agorevert r21813 part 2
Uwe Stöhr [Wed, 28 Nov 2007 00:05:54 +0000 (00:05 +0000)]
revert r21813 part 2

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

16 years agorevert r21813
Uwe Stöhr [Wed, 28 Nov 2007 00:03:11 +0000 (00:03 +0000)]
revert r21813

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

16 years agoMetricsInfo.cpp: compile fix
Uwe Stöhr [Tue, 27 Nov 2007 23:53:13 +0000 (23:53 +0000)]
MetricsInfo.cpp: compile fix

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

16 years agoGuiPrefs.cpp: fix copy/paste error from r21776
Uwe Stöhr [Tue, 27 Nov 2007 23:39:44 +0000 (23:39 +0000)]
GuiPrefs.cpp: fix copy/paste error from r21776

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

16 years agocosmetics
André Pönitz [Tue, 27 Nov 2007 23:09:06 +0000 (23:09 +0000)]
cosmetics

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

16 years agocosmetics
André Pönitz [Tue, 27 Nov 2007 22:19:36 +0000 (22:19 +0000)]
cosmetics

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

16 years agounneeded declaration
André Pönitz [Tue, 27 Nov 2007 21:45:00 +0000 (21:45 +0000)]
unneeded declaration

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

16 years agouse LYXERR macro to avoid unneeded argument evaluations...
André Pönitz [Tue, 27 Nov 2007 21:43:46 +0000 (21:43 +0000)]
use LYXERR macro to avoid unneeded argument evaluations...

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

16 years agouse macro instead of unconditional evaluation
André Pönitz [Tue, 27 Nov 2007 21:09:14 +0000 (21:09 +0000)]
use macro instead of unconditional evaluation

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

16 years agouse strfwd.h if possible
André Pönitz [Tue, 27 Nov 2007 20:51:20 +0000 (20:51 +0000)]
use strfwd.h if possible

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

16 years agocosmetics
André Pönitz [Tue, 27 Nov 2007 20:37:08 +0000 (20:37 +0000)]
cosmetics

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

16 years agotime goes by
Peter Kümmel [Tue, 27 Nov 2007 20:32:25 +0000 (20:32 +0000)]
time goes by

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

16 years agosome de-boostification
André Pönitz [Tue, 27 Nov 2007 20:30:22 +0000 (20:30 +0000)]
some de-boostification

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

16 years agofinsih renaming ->Debug
Peter Kümmel [Tue, 27 Nov 2007 20:25:18 +0000 (20:25 +0000)]
finsih renaming ->Debug

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

16 years agoadd new helper script
André Pönitz [Tue, 27 Nov 2007 20:21:47 +0000 (20:21 +0000)]
add new helper script

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

16 years agouse the same mechanism to trigger moc as in frontends/qt4
Peter Kümmel [Tue, 27 Nov 2007 20:01:23 +0000 (20:01 +0000)]
use the same mechanism to trigger moc as in frontends/qt4

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

16 years agocmake: remove boost_filesystem, add automoc to support, link against QtCore
Peter Kümmel [Tue, 27 Nov 2007 19:57:03 +0000 (19:57 +0000)]
cmake: remove boost_filesystem, add automoc to support, link against QtCore

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

16 years agoremove indirect typedef
André Pönitz [Tue, 27 Nov 2007 19:56:19 +0000 (19:56 +0000)]
remove indirect typedef

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