Commit Graph

18390 Commits

Author SHA1 Message Date
Richard Heck
28bf6a66ac Fix #6948.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:43:13 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Stephan Witt
3167edeb48 #6945 correct refresh range maximum on char erase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35616 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 19:05:47 +00:00
Richard Heck
2a63b2d1cb Customize getLayout for InsetFlex and change how we report name() back
to the simple version. We need to do it this way because we should NOT
really require the "Flex" prefix and, in fact, should permit other
prefixes to be used. Next commit for that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:37:02 +00:00
Richard Heck
226853c060 style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35611 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:07:27 +00:00
Richard Heck
d4634167cc Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
suggestion of JMarc's. Docs to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Uwe Stöhr
e8a1fed47c InsetBibtex.cpp:
- fix #1881, fileformat change
- fix #6470

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-11 01:05:20 +00:00
Uwe Stöhr
5606b7d875 InsetBibitem.cpp: fix #5786
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-09 16:02:19 +00:00
Stephan Witt
034ee290b7 add implementation for CVS::checkOut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35575 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:40:16 +00:00
Stephan Witt
fd341b3a0e correct typo of button link init of open-from-template dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35574 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:34:48 +00:00
Stephan Witt
1b93af1009 add some tests for LFUN_VC_REVERT and LFUN_VC_REPO_UPDATE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:30:07 +00:00
Stephan Witt
de5aab29d4 add missing implementation of the check method for repo-update availability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35572 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:26:12 +00:00
Stephan Witt
d87cdfa5e1 #5970 more exact modifier check for Tab keys filter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:23:59 +00:00
Stephan Witt
0dc22fb82f cell movement inside tables should not mark the document as modified
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-08 05:21:19 +00:00
Richard Heck
3b87f59e42 Fix bug #6929.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35564 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-05 15:21:14 +00:00
Uwe Stöhr
27423f93ba InsetTabular.cpp: fix #6907, patch by goriccardo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35561 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-05 01:14:34 +00:00
Stephan Witt
eec0a82dec shift misspelled line slightly lower when inside running change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35558 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-04 18:18:37 +00:00
Stephan Witt
f9956c2d36 shift misspelled line slightly lower when inside running change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35557 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-04 16:26:12 +00:00
Stephan Witt
4127f57e32 #6796 add sizePolicy to get the size of pushbuttons proper in spell checker and find/replace ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35544 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-30 06:43:04 +00:00
Stephan Witt
e32396ba76 add missing spell check request on early return for deletion of text in change tracking mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35543 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 19:32:41 +00:00
Stephan Witt
cc7db294e2 #6917 correct spell check for deleted text in change tracking mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35542 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 19:31:16 +00:00
Stephan Witt
029ac601a8 disable the check box for compound word handling because of missing API for it with apples native spell checker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35541 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-29 19:05:28 +00:00
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
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
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
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
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
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
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
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
Pavel Sanda
e7dd1bf9dd Add lilypond-book module and add support for instant preview.
Patch by Julien Rioux.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg162042.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-21 16:34:30 +00:00
Enrico Forestieri
4a2243135c Instead of specifically addressing glibc, use NULL as second argument
of realpath() when PATH_MAX is not defined in limits.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 17:53:40 +00:00
Pavel Sanda
90e1f226b8 Squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35464 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 14:37:58 +00:00