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

16 years agofix line endings
Peter Kümmel [Tue, 27 Nov 2007 19:54:01 +0000 (19:54 +0000)]
fix line endings

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

16 years agoadd -I.
André Pönitz [Tue, 27 Nov 2007 19:48:49 +0000 (19:48 +0000)]
add -I.

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

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

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

16 years agoremove boost/filesystem/*
Abdelrazak Younes [Tue, 27 Nov 2007 10:07:49 +0000 (10:07 +0000)]
remove boost/filesystem/*

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

16 years agotex2lyx.cpp does not need boost::filesystem. Only remaining use is in the lyx client...
Abdelrazak Younes [Tue, 27 Nov 2007 10:06:59 +0000 (10:06 +0000)]
tex2lyx.cpp does not need boost::filesystem. Only remaining use is in the lyx client. Somebody on linux should take care of that.

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

16 years agoGetting rid of normalizePath() which is unneeded for FileName purpose (the path is...
Abdelrazak Younes [Tue, 27 Nov 2007 10:01:34 +0000 (10:01 +0000)]
Getting rid of normalizePath() which is unneeded for FileName purpose (the path is always normalized internally). This commit frees up src/ from boost::filesystem. Some remaining references stays in src/client and src/tex2lyx.

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

16 years agoIntroducing FileName::dirList() to replace the one in filetools.cpp
Abdelrazak Younes [Tue, 27 Nov 2007 09:43:30 +0000 (09:43 +0000)]
Introducing FileName::dirList() to replace the one in filetools.cpp

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

16 years agoMove inclusion of "frontends/Delegates.h" to qt4/GuiView.h
Abdelrazak Younes [Tue, 27 Nov 2007 08:24:56 +0000 (08:24 +0000)]
Move inclusion of "frontends/Delegates.h" to qt4/GuiView.h

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

16 years agoThe obligatory checking has been entirely removed since boost 1.34
Abdelrazak Younes [Tue, 27 Nov 2007 08:07:49 +0000 (08:07 +0000)]
The obligatory checking has been entirely removed since boost 1.34

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

16 years agovery big tex2lyx patch:
Uwe Stöhr [Tue, 27 Nov 2007 01:38:50 +0000 (01:38 +0000)]
very big tex2lyx patch:

tex2lyx Version 0.1.5

Commands

- support for \lyxline
- fix for bug 27:
  - support for \selectlanguage
  - support for \foreignlanguage
  - support for \inputencoding
- updated support for \printindex
- support for \printnomenclature
- updated support for \listof
- updated support for \tableofcontents

Environments

- support for hyperlink
- support for shaded note
- support for framed note

Preamble

- support for font settings
- updated preamble format to lyxformat 303
  (tex2lyx will still use lyxformat 245 for a while)
- updated language support
- support for multi-language documents that use babel
  (CJK follows later)
- fix bug 2310:
  - support for document encoding

Packages

- support for esint
- updated support for amsmath

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

16 years agoParagraph.cpp: revert r21801 because it broke the LaTeX-output of \newline, \\, and...
Uwe Stöhr [Tue, 27 Nov 2007 00:15:45 +0000 (00:15 +0000)]
Paragraph.cpp: revert r21801 because it broke the LaTeX-output of \newline, \\, and \linebreak

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

16 years agoless code and the DUUOB award for output_docbook.cpp
André Pönitz [Mon, 26 Nov 2007 23:59:51 +0000 (23:59 +0000)]
less code and the DUUOB award for output_docbook.cpp

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

16 years agono need to cast anymore
André Pönitz [Mon, 26 Nov 2007 23:55:16 +0000 (23:55 +0000)]
no need to cast anymore

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

16 years agomake dialog stay above the main window
André Pönitz [Mon, 26 Nov 2007 23:42:51 +0000 (23:42 +0000)]
make dialog stay above the main window

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

16 years agoAdjust comment.
Abdelrazak Younes [Mon, 26 Nov 2007 23:04:01 +0000 (23:04 +0000)]
Adjust comment.

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

16 years agoPlease JMarc: Make sure we always pass through LyXFunc::dispatch() even if this is...
Abdelrazak Younes [Mon, 26 Nov 2007 22:45:17 +0000 (22:45 +0000)]
Please JMarc: Make sure we always pass through LyXFunc::dispatch() even if this is a waste of CPU.

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

16 years agolyx2lyx/lyx_1_6.py: revert \linebreak and \pagebreak correctly to ERT
Uwe Stöhr [Mon, 26 Nov 2007 22:36:49 +0000 (22:36 +0000)]
lyx2lyx/lyx_1_6.py: revert \linebreak and \pagebreak correctly to ERT

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

16 years agostdmenus.inc: fix doubled shortcut
Uwe Stöhr [Mon, 26 Nov 2007 22:10:54 +0000 (22:10 +0000)]
stdmenus.inc: fix doubled shortcut

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

16 years agoSource highlighting of comments (by Bernhard Reiter)
Pavel Sanda [Mon, 26 Nov 2007 21:48:41 +0000 (21:48 +0000)]
Source highlighting of comments  (by Bernhard Reiter)

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

16 years agoPCH compile fix
Bernhard Roider [Mon, 26 Nov 2007 19:56:25 +0000 (19:56 +0000)]
PCH compile fix

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

16 years agoParagraph::latexInset(): return early for the NEWLINE_CODE special case. This put...
Abdelrazak Younes [Mon, 26 Nov 2007 19:52:57 +0000 (19:52 +0000)]
Paragraph::latexInset(): return early for the NEWLINE_CODE special case. This put back the code in line with what was there in revision 17939.

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

16 years agoIf there exists a local layout file, use the local copy instead of the system one.
Bo Peng [Mon, 26 Nov 2007 15:45:54 +0000 (15:45 +0000)]
If there exists a local layout file, use the local copy instead of the system one.

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

16 years ago* TextMetrics::getPitNearY(): Fix crash when navigating with up and down arrow keys...
Abdelrazak Younes [Mon, 26 Nov 2007 15:29:54 +0000 (15:29 +0000)]
* TextMetrics::getPitNearY(): Fix crash when navigating with up and down arrow keys. The problem was that the passed y coordinates was not necessarily out of screen. Also the paragraph position was not correctly updated.

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

16 years agoCleanup LyXFunc::dispatch() following JMarc advice.
Abdelrazak Younes [Mon, 26 Nov 2007 14:36:50 +0000 (14:36 +0000)]
Cleanup LyXFunc::dispatch() following JMarc advice.

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

16 years ago* src/lfuns.h:
Jürgen Spitzmüller [Mon, 26 Nov 2007 10:59:32 +0000 (10:59 +0000)]
* src/lfuns.h:
- fix numbering in lfuns table.

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

16 years agoFileName::destroyDirectory(): Continue deleting even if if a delete operation failed.
Abdelrazak Younes [Mon, 26 Nov 2007 10:58:00 +0000 (10:58 +0000)]
FileName::destroyDirectory(): Continue deleting even if if a delete operation failed.

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

16 years agoremove debug code.
Abdelrazak Younes [Mon, 26 Nov 2007 10:32:00 +0000 (10:32 +0000)]
remove debug code.

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

16 years ago* support/FileName:
Abdelrazak Younes [Mon, 26 Nov 2007 10:29:04 +0000 (10:29 +0000)]
* support/FileName:
- simplify copyTo(), the second argument was never used.
- move string manipulations to FileName::Private
- replace platform specific code with Qt equivalent.

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

16 years agoInline qstring_helpers methods.
Abdelrazak Younes [Mon, 26 Nov 2007 10:26:03 +0000 (10:26 +0000)]
Inline qstring_helpers methods.

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

16 years agoFix initialisation bug introduced in r21788.
Abdelrazak Younes [Mon, 26 Nov 2007 10:22:28 +0000 (10:22 +0000)]
Fix initialisation bug introduced in r21788.

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

16 years agoadjust
André Pönitz [Sun, 25 Nov 2007 23:49:48 +0000 (23:49 +0000)]
adjust

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

16 years agoremove boost/iostreams. Not used.
André Pönitz [Sun, 25 Nov 2007 23:47:56 +0000 (23:47 +0000)]
remove boost/iostreams. Not used.

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

16 years agouse plain C++ instead of boost
André Pönitz [Sun, 25 Nov 2007 23:25:00 +0000 (23:25 +0000)]
use plain C++ instead of boost

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

16 years agoFree support/FileName.cpp from boost::filesystem. Please use '-dbg files' in order...
Abdelrazak Younes [Sun, 25 Nov 2007 23:21:39 +0000 (23:21 +0000)]
Free support/FileName.cpp from boost::filesystem. Please use '-dbg files' in order to verify that everything works correctly.

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

16 years ago- remove Serbocroatian from the language list because this was a fake. Croatian was...
Uwe Stöhr [Sun, 25 Nov 2007 22:39:04 +0000 (22:39 +0000)]
- remove Serbocroatian from the language list because this was a fake. Croatian was used under the hood but we already have Croatian separately.

- implement Serbian

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

16 years agoadd a new color to distinguish \newpage from \pagebreak
Uwe Stöhr [Sun, 25 Nov 2007 21:53:39 +0000 (21:53 +0000)]
add a new color to distinguish \newpage from \pagebreak

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

16 years agoFree src/ from boost::filesystem.
Abdelrazak Younes [Sun, 25 Nov 2007 21:21:03 +0000 (21:21 +0000)]
Free src/ from boost::filesystem.

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

16 years agosupport for the languages Latin and North Sami
Uwe Stöhr [Sun, 25 Nov 2007 21:09:01 +0000 (21:09 +0000)]
support for the languages Latin and North Sami

- fileformat change

(I wonder why support for them was removed (must be before LyX 1.3), because the old reLyX script listed them as supported)

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

16 years agoremove boost/iostream form build
André Pönitz [Sun, 25 Nov 2007 20:25:21 +0000 (20:25 +0000)]
remove boost/iostream form build

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

16 years agoadd signal/slot implementation 'framework'
André Pönitz [Sun, 25 Nov 2007 19:46:22 +0000 (19:46 +0000)]
add signal/slot implementation 'framework'

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

16 years agofix compile, but it breaks cmake's merged build
Peter Kümmel [Sun, 25 Nov 2007 19:25:05 +0000 (19:25 +0000)]
fix compile, but it breaks cmake's merged build

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

16 years agosupport for \linebreak:
Uwe Stöhr [Sun, 25 Nov 2007 18:34:37 +0000 (18:34 +0000)]
support for \linebreak:

- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return

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