Abdelrazak Younes
4291d4b0ff
pimpl_ is too verbose to write.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 17:46:49 +00:00
Abdelrazak Younes
f8b7c56580
* 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
2007-11-30 17:41:27 +00:00
Abdelrazak Younes
f1f7718282
Add FIXMEs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 09:49:35 +00:00
Abdelrazak Younes
ace8ea9495
revert erroneous commit in r21874.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21875 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 09:34:08 +00:00
Abdelrazak Younes
377ae30bd8
lyxlib.h:sum -> FileName::checksum()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 09:23:44 +00:00
Abdelrazak Younes
334a76e1d7
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 08:35:54 +00:00
Uwe Stöhr
6cfb3e1344
LyXFunc.cpp: add missing case
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 00:04:44 +00:00
André Pönitz
c3c40d3332
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
2007-11-29 22:48:35 +00:00
André Pönitz
81f21577b7
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
2007-11-29 22:38:53 +00:00
André Pönitz
b06df568f3
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
2007-11-29 22:12:19 +00:00
André Pönitz
2506e0d643
assimilate BOOST_CURRENT_FUNCTION
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 21:10:35 +00:00
Richard Heck
cc245f3d6d
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 20:11:54 +00:00
André Pönitz
b949317f64
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 20:02:50 +00:00
André Pönitz
0ef0cbbf1a
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 19:56:25 +00:00
André Pönitz
1aafa6ff77
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
2007-11-29 19:19:39 +00:00
André Pönitz
28afd72c65
compile fix / cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21862 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 18:29:57 +00:00
André Pönitz
5a4a9484d1
potential compile fix for Kornel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 17:57:06 +00:00
André Pönitz
5a646574ca
potential compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 17:51:58 +00:00
Abdelrazak Younes
b1546aa703
MSVC compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21858 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 09:00:28 +00:00
Abdelrazak Younes
06d65218c0
- 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
2007-11-29 08:55:43 +00:00
Abdelrazak Younes
f3a4424408
MSVC compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 08:53:39 +00:00
André Pönitz
9b93a45374
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:41:23 +00:00
André Pönitz
9bb1652ae4
re-enable "safety hack"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:32:39 +00:00
André Pönitz
9160d824d8
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:24:55 +00:00
André Pönitz
efbf9fec5e
some de-boostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:11:08 +00:00
André Pönitz
9d0ea8aeff
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
2007-11-29 07:04:28 +00:00
Enrico Forestieri
acc3bb88b8
needless declaration
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 23:55:55 +00:00
André Pönitz
150cf11651
hand-crafted LyXErr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 22:12:03 +00:00
Abdelrazak Younes
89435b2857
* makeLatexName(): port to FileName.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 18:07:09 +00:00
Abdelrazak Younes
c886bc68c2
* 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
2007-11-28 15:25:07 +00:00
Abdelrazak Younes
25a4523860
Remove the full assertion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 12:28:33 +00:00
Abdelrazak Younes
d2b0c5e87d
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
2007-11-28 12:24:10 +00:00
Abdelrazak Younes
f07105d0e5
* 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
2007-11-28 09:01:49 +00:00
Uwe Stöhr
163d6f3a11
revert r21813 part 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 00:05:54 +00:00
Uwe Stöhr
396dba93b7
revert r21813
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 00:03:11 +00:00
Uwe Stöhr
6aa2f13132
MetricsInfo.cpp: compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 23:53:13 +00:00
Uwe Stöhr
50b792122e
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
2007-11-27 23:39:44 +00:00
André Pönitz
31ea0bb04d
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 23:09:06 +00:00
André Pönitz
7c108afd14
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 22:19:36 +00:00
André Pönitz
ab16324b4a
unneeded declaration
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 21:45:00 +00:00
André Pönitz
0e40512c86
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
2007-11-27 21:43:46 +00:00
André Pönitz
0c9dedfe01
use macro instead of unconditional evaluation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 21:09:14 +00:00
André Pönitz
caf732d4c4
use strfwd.h if possible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:51:20 +00:00
André Pönitz
6436401cc8
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:37:08 +00:00
André Pönitz
c8fd502b56
some de-boostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:30:22 +00:00
Peter Kümmel
22146b270d
finsih renaming ->Debug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 20:25:18 +00:00
Peter Kümmel
8fc0bf6030
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
2007-11-27 20:01:23 +00:00
André Pönitz
8b56472233
remove indirect typedef
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:56:19 +00:00
Peter Kümmel
ee8483fdca
fix line endings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:54:01 +00:00
André Pönitz
f5d02d7dc6
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 19:30:59 +00:00
Abdelrazak Younes
1ecd06410a
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
2007-11-27 10:06:59 +00:00
Abdelrazak Younes
c23db901ec
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
2007-11-27 10:01:34 +00:00
Abdelrazak Younes
3df451b6d0
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
2007-11-27 09:43:30 +00:00
Abdelrazak Younes
623389fdcc
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
2007-11-27 08:24:56 +00:00
Abdelrazak Younes
f7ab948b9f
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
2007-11-27 08:07:49 +00:00
Uwe Stöhr
116740d7e3
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
2007-11-27 01:38:50 +00:00
Uwe Stöhr
cf11abec63
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
2007-11-27 00:15:45 +00:00
André Pönitz
bb21756817
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
2007-11-26 23:59:51 +00:00
André Pönitz
089c21ba76
no need to cast anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 23:55:16 +00:00
André Pönitz
69f195acd1
make dialog stay above the main window
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 23:42:51 +00:00
Abdelrazak Younes
c06f45a66f
Adjust comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 23:04:01 +00:00
Abdelrazak Younes
1060f922f0
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
2007-11-26 22:45:17 +00:00
Pavel Sanda
b8e1e86676
Source highlighting of comments (by Bernhard Reiter)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 21:48:41 +00:00
Bernhard Roider
c875c119b4
PCH compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 19:56:25 +00:00
Abdelrazak Younes
f844782cd1
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
2007-11-26 19:52:57 +00:00
Bo Peng
3f30fe7421
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
2007-11-26 15:45:54 +00:00
Abdelrazak Younes
de8ce17784
* 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
2007-11-26 15:29:54 +00:00
Abdelrazak Younes
1133419a59
Cleanup LyXFunc::dispatch() following JMarc advice.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 14:36:50 +00:00
Jürgen Spitzmüller
27442f7c9e
* 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
2007-11-26 10:59:32 +00:00
Abdelrazak Younes
d918eac0d1
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
2007-11-26 10:58:00 +00:00
Abdelrazak Younes
d3f0a07af7
remove debug code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21794 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 10:32:00 +00:00
Abdelrazak Younes
c42ec8cf50
* 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
2007-11-26 10:29:04 +00:00
Abdelrazak Younes
09ff5016cd
Inline qstring_helpers methods.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 10:26:03 +00:00
Abdelrazak Younes
504fe5343b
Fix initialisation bug introduced in r21788.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 10:22:28 +00:00
André Pönitz
134a72d555
use plain C++ instead of boost
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21788 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 23:25:00 +00:00
Abdelrazak Younes
23c291bb6c
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
2007-11-25 23:21:39 +00:00
Uwe Stöhr
0ef6b7c5fe
- 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
2007-11-25 22:39:04 +00:00
Uwe Stöhr
98a856a301
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
2007-11-25 21:53:39 +00:00
Abdelrazak Younes
b897636173
Free src/ from boost::filesystem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:21:03 +00:00
Uwe Stöhr
9608e4971b
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
2007-11-25 21:09:01 +00:00
André Pönitz
65f9f3c22b
add signal/slot implementation 'framework'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21781 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 19:46:22 +00:00
Peter Kümmel
75ac7cb3ad
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
2007-11-25 19:25:05 +00:00
Uwe Stöhr
12f7869ac0
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
2007-11-25 18:34:37 +00:00
Uwe Stöhr
58135f8b27
support to set the examples folder in the preferences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:26:58 +00:00
Abdelrazak Younes
49051b32ea
Remove unused pure virtual method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:18:23 +00:00
Peter Kümmel
ff78ddc4fc
don't declare if already done in a header
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21772 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 17:57:08 +00:00
Peter Kümmel
3f8ea42032
remove warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21771 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 17:56:07 +00:00
Peter Kümmel
23bf70368a
fix compile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 17:55:27 +00:00
André Pönitz
d95451ae5c
s/isFileReadable/isReadableFile;
...
introduce isReadableDirectory
replace isReadable by either isReadableFile or isReadableDirectory
remove isReadable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 11:18:16 +00:00
André Pönitz
e7317582fb
less boost, just plain C++.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21768 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 22:15:52 +00:00
Uwe Stöhr
650c2a816c
tex2lyx/text.cpp: - support for LyX 1.6's hyperlink inset (\href)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21765 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 20:07:05 +00:00
Uwe Stöhr
cf87469cb2
tex2lyx/text.cpp:
...
- support for \newline
- support for framed and shaded notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 18:04:26 +00:00
Uwe Stöhr
88a9c58a10
Paragraph.cpp: remove unneeded include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21762 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 13:31:58 +00:00
Abdelrazak Younes
94c0fc55de
Getting rid of Application::createView()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21760 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 08:51:11 +00:00
Abdelrazak Younes
662b5dba03
Introducing Application::getStatus() and Application::dispatch(). Transferring some LFUNs to those.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21759 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 07:58:12 +00:00
Abdelrazak Younes
c201e0dde7
Fix crash with InsetHFill. The inset position was not cached in the CoordCache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21758 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 07:47:01 +00:00
Enrico Forestieri
6820b61afa
Fix some other thinkos in r21048
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21757 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 01:34:46 +00:00
André Pönitz
2e79520f6b
merge LoaderQueue into Loader
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21755 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 00:02:58 +00:00
André Pönitz
502125671a
only called once
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21754 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 23:57:11 +00:00
André Pönitz
7df235d649
missed that part
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21753 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 23:08:40 +00:00
André Pönitz
b89d0e2eb7
simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21752 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 22:57:11 +00:00
André Pönitz
d971afe2aa
remove spurious include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21751 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 22:41:07 +00:00
André Pönitz
c610af7ccd
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 22:15:17 +00:00
André Pönitz
f0230e1d9a
remove unneeded default argument value
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 21:49:58 +00:00
André Pönitz
adcb084ea2
merge frontend::Painter into GuiPainter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 21:39:51 +00:00
André Pönitz
7bf3b204fa
remove line noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21746 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 20:31:52 +00:00
Jürgen Spitzmüller
04574322f6
* src/output_latex.cpp:
...
- prevent wrong whitespace by trailing '%' on line endings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21742 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 14:59:35 +00:00
Abdelrazak Younes
b8cd772329
some more LFUN transfer from LyXFunc to GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 12:37:09 +00:00
Abdelrazak Younes
47f54dd68b
get rid of LyXView::errors(). This was redundant with GuiBufferDelegate::errors().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:53:10 +00:00
Abdelrazak Younes
f745a9c3c5
Take care of cursor update flags correctly and redraw if needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21739 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:45:20 +00:00
Abdelrazak Younes
3eb9c09679
Fix crash on exit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:19:42 +00:00
Pavel Sanda
cf5ff50617
Fix dialog handling of Insert Plain Text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21737 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 10:54:19 +00:00
Abdelrazak Younes
10cc0a8842
Simplify Dialog::name() handling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21736 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 10:45:14 +00:00
Abdelrazak Younes
d4b02ad711
simplify window creation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 09:56:33 +00:00
Abdelrazak Younes
42015a8ebd
Transfer some more dialog related code from core to frontend:
...
- LFUN_INSET_APPLY handling goes to GuiView.
- Dialog needs a GuiView instead of a LyXView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21734 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 09:44:02 +00:00
Uwe Stöhr
97aa558cac
support for \pagebreak:
...
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
André Pönitz
95b1b94e32
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21721 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:47:13 +00:00
André Pönitz
b43ce80676
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:34:57 +00:00
André Pönitz
dcac6d3375
small simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:29:53 +00:00
Abdelrazak Younes
573722b8de
compile fix. Sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 22:49:11 +00:00
Abdelrazak Younes
baa9153134
Remove unused code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 22:20:51 +00:00
Jürgen Spitzmüller
74dfd86649
* src/insets/InsetTabular.cpp (doDispatch):
...
- add missing recordUndo to LFUN_CLIPBOARD_PASTE /
LFUN_PRIMARY_SELECTION_PASTE (bug 4371)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 09:09:39 +00:00
Abdelrazak Younes
b9d2666b98
Move Dialog.{h,cpp} and ButtonPolicy.{h,cpp} to frontends/qt4/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 08:01:09 +00:00
Abdelrazak Younes
d3887a2ce0
fix MSVC warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 07:49:25 +00:00
Abdelrazak Younes
b42e2d61d8
Updates controls after reinitialization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 07:33:18 +00:00
André Pönitz
e5fe3a68c7
forgot those
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21708 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 00:04:19 +00:00
André Pönitz
4c3e546375
remove one <boost/shared_ptr.hpp>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21707 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 00:03:18 +00:00
André Pönitz
5d16f8030d
use strfwd.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21706 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:55:42 +00:00
André Pönitz
98ddc514da
remove a few uses of boost::scoped_ptr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21705 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:47:47 +00:00
André Pönitz
d33cedef34
replace boost::noncopyable by plain C++ idiom
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21704 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:31:12 +00:00
André Pönitz
974924a5d5
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21703 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:54:10 +00:00
Abdelrazak Younes
a3315920a2
Some more cleanup of LyXView:
...
- transfer GuiBufferDelegate and GuiBufferViewDelegate to GuiView
- delete showDialog() and use LFUN_DIALOG_SHOW in LyXFunc::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:48:13 +00:00
André Pönitz
24ec082d8e
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:04:50 +00:00
Abdelrazak Younes
4b1812a791
set eol-style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21696 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:18:04 +00:00
André Pönitz
02a7584d5a
get rid of a boost::signals::connection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21695 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:15:23 +00:00
Abdelrazak Younes
a37a73e3c9
Introducing GuiMenubar::init() to avoid destructing the object in order to re-initialize it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:14:34 +00:00
André Pönitz
77a89e1486
remove unneeded #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21693 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 20:32:17 +00:00
Abdelrazak Younes
8460c9a072
Introducing Application::resetGui() that will reset all dialogs in all lyx windows (including toolbars and menubars).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 15:12:47 +00:00
Abdelrazak Younes
0f56650139
Fix initial disabling of the layout combo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:29:17 +00:00
Abdelrazak Younes
e615380e42
Fix crash when closing a buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:23:06 +00:00
Abdelrazak Younes
ba3fa9bd03
- Cleanup and simplify the layout list GUI handling.
...
- Transfer toolbar, statusbar and layoutlist handling to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:03:56 +00:00
Abdelrazak Younes
359ced5e65
Transfer some LFUNs from LyXFunc to GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 20:56:05 +00:00
Abdelrazak Younes
14dbb6ca3d
correct comment. Thanks Martin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 14:13:06 +00:00
Abdelrazak Younes
37a5647be1
Transfer LyXView::loadLyXFile() to lyxFunc::loadAndViewFile(). This enables to get rid of the flashing tabbar bug and is more correct anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 12:03:38 +00:00
Abdelrazak Younes
7e9cf3cec1
Resize bug correction. The tabbar hiding trick did not interact correctly with resize events :-(
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 11:21:45 +00:00
Abdelrazak Younes
c0a9d2587c
Painting tweaks:
...
- avoid one redraw on file loading due to a resize event.
- fix the initial offset_ref_ value of BufferView.
- add new TabWorkArea::addWorkArea() method.
- avoid tab bar flashing when only one file is opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21674 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 10:04:14 +00:00
Abdelrazak Younes
dba4159cc2
Remove some methods from GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21672 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:49:52 +00:00
Abdelrazak Younes
6feb6a8947
use sizeof instead of hardcoded value.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:46:15 +00:00
Abdelrazak Younes
c61ff2e0b8
cleanup and reorder initialisation code of GuiView and GuiToolbars. Move some things to GuiView::Private.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21670 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:30:41 +00:00
Abdelrazak Younes
7d209e5c32
Fix long standing initialisation FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21669 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:51:58 +00:00
Abdelrazak Younes
9f26cdda31
rev 21667: Forgot this!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:29:58 +00:00
Abdelrazak Younes
01470ddcb7
Remove unused methods.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:27:04 +00:00
Abdelrazak Younes
b3ae9f9b71
ParagraphMetrics::computeRowSignature(): Fix crc computing; char_type is 4 bytes!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 21:47:46 +00:00
Abdelrazak Younes
1b147f12b0
Spoiling some fun from Andre': put Application on a diet and remove unnecessary string conversions and method indirections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 20:36:52 +00:00
André Pönitz
7bd8477a60
less string conversions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 10:14:43 +00:00
André Pönitz
d5fc2425a9
consolidate showDialog() incarnations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21662 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:39:15 +00:00
André Pönitz
55b4fbcf21
merge GuiView/Dialogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:01:14 +00:00
Pavel Sanda
ae4535adb3
Fix initialization warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:55:30 +00:00
André Pönitz
719a7beb48
make Application slimmer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:37:33 +00:00
André Pönitz
12f435035a
move view_ids from Application to GuiApplication
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:25:42 +00:00
André Pönitz
d837643c95
make frontend::Application a bit slimmer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:11:11 +00:00
André Pönitz
1005c166c2
merge frontend::Gui and frontend::Application
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 20:47:50 +00:00
Abdelrazak Younes
bdf33a2a32
Fix mouse selection drawing by brute force.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21655 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 18:17:19 +00:00
Pavel Sanda
49094adfa2
Implement --enable-monolithic-{insets,mathed,core}
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21654 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 15:37:29 +00:00
André Pönitz
dac06728cb
shuffle code around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21653 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 15:32:12 +00:00
Jürgen Spitzmüller
fa07bad49c
* LaTeXFeatures.cpp (useLanguage):
...
- require the CJK package for CJK languages.
* BufferParams.cpp (writeEncodingPreamble):
- load CJK package if required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21652 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 12:37:18 +00:00
Abdelrazak Younes
926abae753
Simplify single par drawing:
...
* ParagraphMetrics::computeRowSignature(): Integrate row's dimensions and selection status in the row signature.
* TextMetrics::drawParagraph(): compute the row signature here and rely on that to decide if a redraw is needed or not.
* BufferView::Private: get rid of the ViewMetricsInfo member. Just keep the ScreenUpdateStrategy.
* BufferView::draw(): full screen update even for singlePar case because the row signature will detect if something needs to be redrawn.
* Text3.cpp: get rid of hack following architecture update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 11:27:03 +00:00
Abdelrazak Younes
fd34bd3914
Cosmetics and cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21649 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 23:00:57 +00:00
Abdelrazak Younes
7a4c9a258e
row selection tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:52:15 +00:00
Abdelrazak Younes
92b4b75a8f
add '-' between LyX and version.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:21:40 +00:00
Abdelrazak Younes
d9194a2fcf
Add version to application name in session info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:10:35 +00:00
Abdelrazak Younes
ce46ca8653
Hopefully fix the ignored -geometry option under X11.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 21:52:04 +00:00
Abdelrazak Younes
e0a62da75a
Change organization name to LyX.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:28:50 +00:00
Abdelrazak Younes
ce84d0b6fc
Work around X11 Windows manager limitations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21643 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:19:46 +00:00
Jean-Marc Lasgouttes
70a25df0ee
remove properly [[context]] strings from translated messages
...
src/Messages.cpp: general cleanup.
(cleanTranslation): remove [[context]] strings from a docstring. Use
plain string manupulation instead of regular expressions.
(get): use cleanTranslation also on strings that got translated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21641 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 14:31:16 +00:00
Jean-Marc Lasgouttes
8b1cc5bfef
* src/Text2.cpp (deleteEmptyParagraphMechanism): do not reset the
...
appendix marker if the deleted paragraph was the last one (bug 4352)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21639 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 13:33:21 +00:00
Martin Vermeer
3ea8ddf7f9
Fix font bug reported by Helge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 12:39:10 +00:00
Abdelrazak Younes
ded737b109
WIN32 compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 11:26:05 +00:00
André Pönitz
72e3177e3d
shuffle some code around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 22:30:16 +00:00
André Pönitz
bb5f33e4d9
merge the two parts of the implementation of frontends::Dialogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 21:57:00 +00:00
André Pönitz
e1ce2f92db
reduce line noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
Abdelrazak Younes
79e12182cb
cosmetics and comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 19:46:30 +00:00
Abdelrazak Younes
f46454fb7a
Avoid unnecessary redraw when selecting text.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21629 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 18:01:04 +00:00
Abdelrazak Younes
8c1f803b83
simplify text selection drawing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 17:01:38 +00:00
Abdelrazak Younes
bba8891efb
Add InsetOptArg to standard insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21627 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 15:40:01 +00:00
Abdelrazak Younes
e73f8040fe
Use QSettings for session management of windows geometry. This commit also removes the possibility to fix the window dimensions in the RC file. Instead we have now a single check box for enabling/disabling geometry session management.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:58:44 +00:00
Abdelrazak Younes
55217e352c
Remove support for Qt < 4.2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21624 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:51:03 +00:00
Pavel Sanda
a5449f2b7d
Add format hint for command line export
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21623 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:14:39 +00:00
Abdelrazak Younes
fa2693ae3d
compile fix when ENABLE_NLS is not defined.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 09:03:30 +00:00
Enrico Forestieri
067e21046f
Fix bug that files with nonascii filenames are always reported
...
as externally modified.
* src/Buffer.cpp (Buffer::readFile): filenames are always stored
as UTF-8 in the FileName class.
* src/support/FileName.h: correct comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21620 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 23:30:13 +00:00
André Pönitz
a3393e63b8
unneeded stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21619 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 22:29:20 +00:00
André Pönitz
f0fee538c2
more strfwd
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21618 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:57:43 +00:00
André Pönitz
f4292fcec7
usr strfwd
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:36:01 +00:00
André Pönitz
e6042e15f3
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21616 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:24:18 +00:00
Stefan Schimanski
41ebe5e752
* added forgotton undo call for LFUN_MATH_MACRO_REMOVE_OPTIONAL_PARAM
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21614 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:59:58 +00:00
Abdelrazak Younes
b716616322
cleanups and cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:39:16 +00:00
Stefan Schimanski
240e59ae0d
* fixed bug #4357 when pasting a macro with script index
...
* fixed some other unreported bug when the cursor is not inside or near the macro during fold/unfold
* fixed the bug that the cursor jumped into the first parameter when pasting a macro. This should only happen when the macro was entered interactively
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21611 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:33:49 +00:00
Abdelrazak Younes
3ab1031f97
Fix wrong setting of language when only font change is requested.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 15:07:08 +00:00
Abdelrazak Younes
a97fcadb9d
fix drawing issues following removal of WorkArea::width() and height().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:34:55 +00:00
Abdelrazak Younes
1f4e5c926a
Bump the Qt requirement to version 4.0.0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21607 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:24:59 +00:00
Abdelrazak Younes
e5eabfe067
Transfer geometry related session code from LyX::newLyXView() to GuiView::setGeometry().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 13:56:13 +00:00
Abdelrazak Younes
9c928fba07
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 12:31:31 +00:00
Abdelrazak Younes
e4fff1a3df
Header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21601 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 12:29:42 +00:00
Abdelrazak Younes
0c6306060e
Fix the disappearing minibuffer by don't pretending we are flexible.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21600 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 11:14:06 +00:00
Abdelrazak Younes
dd0ff2d0f7
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21599 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 08:17:55 +00:00
Pavel Sanda
1098ca796f
Fix bug 2738: Wrong sorting of languages in Document dialog
...
http://bugzilla.lyx.org/show_bug.cgi?id=2738
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 02:01:50 +00:00
André Pönitz
d93679c1db
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:21:31 +00:00
André Pönitz
5609f23db4
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21595 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:09:52 +00:00
André Pönitz
cc7b2d438f
compile fix;
...
cosmetics;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:04:00 +00:00
André Pönitz
f625dd7ea0
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:50:28 +00:00
André Pönitz
cf9d42c670
shuffle stuff around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:21:29 +00:00
Enrico Forestieri
a53e2ac8dc
Fix thinko in r21048
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:06:40 +00:00
Enrico Forestieri
12aa33ff01
Fix thinko in r21047
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:05:02 +00:00
André Pönitz
0ee7c6e283
remove #includes; cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:00:36 +00:00
Abdelrazak Younes
12ecafd76e
Transfer createView() from Application to GuiApplication and get rid of LyXView::setGeometry() pure virtual interface. The goal is to switch to Qt session handling for geometry instead of our own house made one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:29:15 +00:00
Abdelrazak Younes
f8490161bd
Transfer some LFUNs from LyXFunc to GuiView and get rid of GuiView methods.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:49:50 +00:00
Abdelrazak Younes
fcdc4f8a6b
Some more cosmetics and removal of unused methods in GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:04:32 +00:00
Abdelrazak Younes
f111a8e322
Some cosmetics and a gcc compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21581 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 13:23:44 +00:00
Abdelrazak Younes
37d4a67e0d
brown paper bag...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:47:40 +00:00
Abdelrazak Younes
e2aba1b550
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:31:37 +00:00
Abdelrazak Younes
4fc7593ab6
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21578 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:24:34 +00:00
Abdelrazak Younes
4eb2740a0d
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21577 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:20:55 +00:00
Martin Vermeer
979239a248
Make URL a standard inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21576 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:03:16 +00:00
Abdelrazak Younes
c4db1d0f5a
Push latest Andre's changes toward their true direction:
...
* WorkArea.h and LyXView.h: remove unneeded pure virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 09:52:28 +00:00
Stefan Schimanski
066de606d2
cosmetic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 07:58:52 +00:00
Richard Heck
038d2b494e
Stupid mistake. Thanks TC.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 01:06:49 +00:00
Enrico Forestieri
7bfa3826d2
Fix slot connections
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 00:38:21 +00:00
André Pönitz
107568e9fe
remove unneeded #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:45:02 +00:00
André Pönitz
ffd3c159bf
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21569 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:41:13 +00:00
André Pönitz
c256661047
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21568 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:37:34 +00:00
André Pönitz
600db8e21d
small refactoring
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21567 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:26:51 +00:00
André Pönitz
309232d26b
make LyXView almost pure virtual. Merge implementation with GuiView
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21566 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:23:19 +00:00
André Pönitz
36136efb78
de-boostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21561 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:35:43 +00:00
André Pönitz
bc20c9f382
remove unneeded functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:23:45 +00:00
André Pönitz
34859c9a4f
make WorkArea a pure interface, move all implementation to GuiWorkArea
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:15:51 +00:00
Stefan Schimanski
963470c60e
* fix crash due to a missing test whether thisSlice is -1 or a valid slice number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21556 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:12:39 +00:00
André Pönitz
adaad6e2e5
simplify class structure
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 20:18:19 +00:00
Abdelrazak Younes
fe8bce6676
Transfer readOnly() and updateWindowTitle() from Delegates to WorkArea/WorkAreaManager. This permits to automatically update Windows and Tabs titles (thanks to Qt signal/slot connections).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21551 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 22:30:21 +00:00
André Pönitz
656724ffd0
undef unwanted X11 macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21547 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 12:14:06 +00:00
Abdelrazak Younes
2480fa573c
* GuiView:
...
- addTabWorkArea(): Implement split view.
- maintain current_work_area_ pointer for the need of future embedded workAreas.
- transfer and some code to GuiView::Private and simplify some other things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 10:09:48 +00:00
Uwe Stöhr
565e446e26
FileName.cpp: MSVC compile fix for r21492
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21545 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 20:36:22 +00:00
André Pönitz
8d06b3049b
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 13:44:50 +00:00
Jürgen Spitzmüller
873ee23697
* src/LyXRC.cpp (lyxrcTags[]):
...
- fix ordering (broken in r21536).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21543 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:39:49 +00:00
Jürgen Spitzmüller
c159b9ece9
* src/LyXFunc.cpp (actOnUpdatedPrefs):
...
- add missing case LyXRC::RC_DEFFILE (and shut up compiler)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:22:19 +00:00
Jürgen Spitzmüller
208feabc07
* src/Text.cpp:
...
- safer (but slightly less nice) fix for bug 4334. Fixes bug 4347 that was introduced in r21489.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 11:05:38 +00:00
Pavel Sanda
87bd0e79ad
Fix bug 2739: Option for alphabetical sorting of environments in the toolbar
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21536 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 00:21:42 +00:00
Enrico Forestieri
2a03009a75
Much ado about nothing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 10:54:45 +00:00
Abdelrazak Younes
5d906055af
revert 21523.
...
Sorry Uwe but if this does not compile it is a problem on your system.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-09 10:36:56 +00:00
Uwe Stöhr
5cd5bf695e
GuiFloat.cpp: fix the regression that float placement dialog has no title
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21525 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 23:05:48 +00:00
Uwe Stöhr
803a4be927
FileName.cpp: compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21523 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 22:48:23 +00:00
André Pönitz
f4e883c475
use strfwd when appropriate
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21520 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 21:52:09 +00:00
André Pönitz
fdd5134a24
#undef I_AM_NOT_AFRAID_OF_HEADER_LIBRARIES
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21519 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 21:38:10 +00:00
Enrico Forestieri
edb6c9ede4
Always forward declare string as it is not guaranteed that the
...
iosfwd header already does it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21518 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 13:32:56 +00:00
Stefan Schimanski
d51c3cd2f8
* added comment to describe why we are in monochrome mode at this point.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 10:14:18 +00:00
Abdelrazak Younes
b9eecfab8a
optimizations (halves the number of multiplication).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 08:00:31 +00:00
Abdelrazak Younes
3a1290815e
Fix compilation for MSVC.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 07:47:31 +00:00
Enrico Forestieri
4a35906da7
Fix problems with odocstream on "exotic" systems caused by the strfwd gimmick.
...
* src/support/docstream.{cpp,h}:
Move insertion operator for char types from docstream.h to
docstream.cpp and compile it only when USE_WCHAR_T is not defined.
* src/support/strfwd.h:
Implement forward declarations in standard C++ way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 06:05:19 +00:00
André Pönitz
14f7e7fffe
shuffle stuff around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-08 00:09:58 +00:00
Abdelrazak Younes
c1c5e5b50e
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:39:12 +00:00
Abdelrazak Younes
4bf0bed36a
Adjust headers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21508 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:34:45 +00:00
Abdelrazak Younes
6904f34e48
adjust comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21507 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:27:17 +00:00
Abdelrazak Younes
cdf1378200
Introducing TextClassPtr.h to minimize header dependencies.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21506 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 23:25:08 +00:00
Abdelrazak Younes
b7cc721833
Move InsetLayout definition to insets/InsetLayout.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21502 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:31:07 +00:00
Abdelrazak Younes
dec166d5e3
compil fix. No guaranty that it works but at least it compiles with MSVC
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:20:13 +00:00
André Pönitz
319f70b839
use support::FileName
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21500 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 22:04:02 +00:00
André Pönitz
9746bda072
forgot this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21499 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:59:19 +00:00
Abdelrazak Younes
4aa5f6cd2d
cleanups
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21498 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:57:19 +00:00
André Pönitz
be85a6fcb5
--boost; style issues.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21497 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:52:11 +00:00
André Pönitz
a1eb7cac0e
more of it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 21:25:22 +00:00
André Pönitz
5253f5f17d
Abdel?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21495 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:44:36 +00:00
André Pönitz
a15472ecfe
compile fix?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21494 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:22:46 +00:00
André Pönitz
b55a179d51
more de-boostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21493 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:14:30 +00:00
André Pönitz
cf7b238479
more use of support::FileName.
...
Would be nice if people tested read/write, and Bo perhaps the 'embedded'
feature?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21492 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 19:52:11 +00:00
Abdelrazak Younes
e61bae3dbb
revert rev 21490.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 16:41:48 +00:00
Abdelrazak Younes
5a8a8b6b0c
integrate lengthcommon.cpp into Length.cpp.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21490 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 15:55:59 +00:00
Jürgen Spitzmüller
cd4c58fb92
* src/Text.cpp (getPossibleLabel):
...
- remove line breaks from label proposals (fixes bug 4334)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21489 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 15:30:08 +00:00
André Pönitz
a88884aaa2
simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21483 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 22:20:05 +00:00
André Pönitz
688c186614
we assume (more or less) conforming compilers nowadays.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21482 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:45:24 +00:00
André Pönitz
a8ea5cc493
rmove unused file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21481 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:18:39 +00:00
André Pönitz
f6fd9f1172
compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21480 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 21:00:00 +00:00
André Pönitz
8995e86584
some consolidation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 20:57:29 +00:00
André Pönitz
f09222007f
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21477 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 20:38:35 +00:00
Abdelrazak Younes
216775d3c7
gcc compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21476 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 19:24:05 +00:00
Jürgen Spitzmüller
ddbcee01ac
* src/BufferView.cpp:
...
- move the LFUN_OUTLINE_*'s out of here ...
* src/Text3.cpp:
- to this place. This fixes a crash (bug 4330).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21475 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 17:13:43 +00:00
Abdelrazak Younes
bac194f5db
Revision 21471: Forgot that.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 14:18:09 +00:00
Abdelrazak Younes
0b0c27ef59
* BufferView: Make use of ScreenUpdateStrategy::NoScreenUpdate, avoid a screen redraw when it is not really needed.
...
* Painter.h: move isDrawingEnabled() to public Area.
* TextMetrics::drawParagraph(): backup and restore original drawing state of the Painter.
* InsetTabular::draw(): ditto.
* InsetMathNest::drawSelection(): ditto.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21471 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 14:07:49 +00:00
Jürgen Spitzmüller
f9dd4b000e
* src/frontends/qt4/GuiSpellchecker.cpp:
...
- reanimate the spellchecker.
- fix bug 2218 (spellchecher skips first word)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 13:40:31 +00:00
Abdelrazak Younes
d69115d9db
Avoid unnecessary redraw.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 13:16:27 +00:00
Abdelrazak Younes
e660f44001
Current update architecture doesn't need multiParSel() special case anymore.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:34:16 +00:00
Jürgen Spitzmüller
3c5ff007e0
* src/mathed/InsetMathBig.cpp:
...
- add missing include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:30:33 +00:00
Abdelrazak Younes
52ee452334
some documentation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21465 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 09:09:29 +00:00
Abdelrazak Younes
257117ac1e
Oups...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21464 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 08:57:48 +00:00
Abdelrazak Younes
f84080f01c
* Bufferview::updateMetrics(): Separate out the SinglePar optimization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 08:32:25 +00:00
Martin Vermeer
dd0c77d063
Fix bug 4329
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21460 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-06 07:07:15 +00:00
André Pönitz
9daf07588f
#include cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:46:17 +00:00
Dov Feldstern
7bf4f48a4a
Use forceLTR instead of inset codes in order to determine whether an inset
...
should be surrounded by external \L{} in bidi text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21458 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:44:47 +00:00
André Pönitz
31617cf92a
remove unneeded #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21457 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 23:01:18 +00:00
André Pönitz
9cca7a0c1a
remove unneeded Cursor.h include;
...
use strfwd
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21456 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 22:54:53 +00:00
André Pönitz
77821e11c1
merge helper files;
...
remove duplicated lyx::frontend::setAutoTextCB(QCheckBox*, QLineEdit*, LengthCombo*)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 22:20:23 +00:00
André Pönitz
7ced3deb52
use forward declaration...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21454 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-05 21:42:08 +00:00