Commit Graph

26236 Commits

Author SHA1 Message Date
Richard Heck
346f3aa503 Clean up this code a little bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35540 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:14:20 +00:00
Richard Heck
4e799ee358 Simplify Buffer::allRelatives() now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35539 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:07:12 +00:00
Richard Heck
5a46224f73 Remove the magic boolean in getChildren() from the public interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35538 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 13:05:57 +00:00
Richard Heck
a6d22abf03 Keep the "find the master" recursion in masterDocument().
We should probably be checking for recursive includes here, and we want
to do that in one place.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35537 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:55:39 +00:00
Richard Heck
da0f528287 Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35536 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:50:45 +00:00
Richard Heck
d07c00032a Simplify some of the find and replace code now, since allRelatives() is
stable and always has the root document at the beginning.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:50:24 +00:00
Richard Heck
6a85b8a96e I am pretty sure we do not want duplicates here. What's worse, recursive
includes could crash this if we allow them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35534 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:30:31 +00:00
Richard Heck
2f1af8892b I prefer this style....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35533 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:19:57 +00:00
Richard Heck
1def3de92e This doesn't need to be a vector. Should be no change of behavior.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35532 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:19:23 +00:00
Richard Heck
7ff1a60d12 Introduce Buffer::hasChildren() and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35531 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 12:17:24 +00:00
Richard Heck
f5696b8872 Use getChildren() to collect all the relatives. Note that this makes
allRelatives() "stable", in the sense that what it returns does not
depend upon which Buffer we start with.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35530 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 11:59:31 +00:00
Richard Heck
2291614a6c Introduce a typedef for vector<Buffer *>. No change in behavior
anticipated.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35529 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 11:55:10 +00:00
Uwe Stöhr
efc2747a5c missing part from r35523
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 02:29:04 +00:00
Stephan Witt
39645b33b4 correct the Qt framework names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35527 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 19:27:10 +00:00
Richard Heck
b05e674e6f Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35526 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 18:35:04 +00:00
Stephan Witt
1a681aaf24 #6917 move forward after adding a word to personal dictionary or the list of ignored words
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35525 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 15:09:06 +00:00
Stephan Witt
d18995cd79 #6874 prepare configure based build with Qt4 frameworks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35524 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 15:07:07 +00:00
Uwe Stöhr
edef4cb8df thesis template:
- update preamble
- use new customHeaderFooter module
- add appendix file
- use new suppress date feature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35523 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 04:01:24 +00:00
Uwe Stöhr
6d7fe7552a customHeadersFooters.module: new module to defined header/footer lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35522 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 02:29:07 +00:00
Uwe Stöhr
f7a9b8a4ac German and French Customization.lyx: add missing local layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35520 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-28 01:54:00 +00:00
Richard Heck
73000814be Customization updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35519 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 12:57:12 +00:00
Uwe Stöhr
8fc1cd6bc5 Japanese EmbeddedObjects.lyx: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35518 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:30:48 +00:00
Uwe Stöhr
03a2216981 InsetGraphics.cpp and InsetInclude.cpp: whitespace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35517 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:21:59 +00:00
Uwe Stöhr
bf846fe90f Japanese EmbeddedObjects.lyx and Math.lyx: replace phantom TeX code with the new phantom insets as already done in the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35516 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:17:22 +00:00
Uwe Stöhr
5799fd0263 documentation files: remove preamble code for the greyed-out note color that we now support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35515 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 03:15:53 +00:00
Uwe Stöhr
b33182bc3d filetools.cpp: introduce a new method to be able to distinguish between valid LaTeX filenames and filenames causing troubles on some DVI viewers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35514 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 02:39:22 +00:00
Uwe Stöhr
ea3e3a05cd UserGuide.lyx: simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35513 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 01:46:55 +00:00
Uwe Stöhr
abda49f2e7 Japanese UserGuide.lyx: update it to the state of the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 00:24:15 +00:00
Uwe Stöhr
3662d088ea - documentation files: squash some LaTeX and KOMA-script warnings
- Japanese Customization.lyx: transfer new information

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35511 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 18:38:26 +00:00
Uwe Stöhr
ffb2398ae7 Customization.lyx:
- modified sec. 5.1 a bit, see latest post o the list
- adapt the other language versions accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 17:55:10 +00:00
Richard Heck
29f93c0f86 Update note for Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:25:59 +00:00
Richard Heck
4ca52c2f78 Updates to LaTeX package stuff re Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35506 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:20:43 +00:00
Jürgen Spitzmüller
0ef2b213f1 * ectaart.layout: fix whitespace issues in label strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35505 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 13:20:33 +00:00
Uwe Stöhr
c85df45932 Customization.lyx: rewrote section how to install LaTeX-packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 03:57:21 +00:00
Uwe Stöhr
a72a4baf59 UserGuide.lyx: accept changes and transfer them to the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 03:56:40 +00:00
Uwe Stöhr
671fc0ac36 endnotes.module, foottoend.module: ERT -> TeX-code (we try to avoid to use ERT in documentation because it is a meaningless abbreviation for most of the users)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 21:23:17 +00:00
Uwe Stöhr
0f4c815b41 de.po: correct a strange translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35501 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 21:21:10 +00:00
Uwe Stöhr
f772315090 filetools.cpp: revert r35499 until we found a proper solution as discussed in http://article.gmane.org/gmane.editors.lyx.devel/129471
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 16:04:52 +00:00
Uwe Stöhr
052f689daa filetools.cpp: fix #6916 - round parentheses are valid in filenames (they are even standard in paths in WinXP 64bit); they should also make no problems on UNIX systems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 14:25:19 +00:00
Uwe Stöhr
9fa49ecafa GuiPainter.cpp: correct attempt from r35491
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-25 14:14:50 +00:00
Richard Heck
7192937ab5 Revert the beamer changes from a while ago. They work with some documents,
but not with all. There's a general problem here that will take more work.
I've got most of it licked, but the lyx2lyx issue is difficult. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 22:34:52 +00:00
Richard Heck
4244a15ca3 Keeping the comma leads to bug #6914, since we end up with mangled names
like:
  0_tmp_the,_test_tst.bib
and then code like:
  \bibliography{0_tmp_the,_test_tst}
which confuses LaTeX. Easy solution: Mangle the comma.

Jurgen, this is in branch, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 16:12:02 +00:00
Edwin Leuven
ad12fa6eb5 correct icon size in math panels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:59:43 +00:00
Pavel Sanda
b1b1e13ad4 My compilator issues warning. Uwe, please check that this was intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 12:26:28 +00:00
Uwe Stöhr
3c9928285a LineUi.ui: Qt's designer use XML as default - revert this from previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35489 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:29:07 +00:00
Uwe Stöhr
e81dd2aa29 UserGuide.lyx: describe horiz. line feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:26:50 +00:00
Uwe Stöhr
1557a6f2f9 LineUi.ui: a line has a thickness rather then a height
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:26:13 +00:00
Uwe Stöhr
121ded490b Math.lyx: describe new matrix decoration feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35486 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 04:07:16 +00:00
Uwe Stöhr
7aac2c0502 GuiMathMatrix:
- decorated matrices can have horizontal alignment
- remove unused void

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-24 03:44:34 +00:00
Uwe Stöhr
6efb08e86f Math.lyx: describe new supported font \mathscr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35484 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-22 22:37:38 +00:00