Commit Graph

219 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
cc55eca74a back to work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28773 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 14:20:37 +00:00
Vincent van Ravesteijn
9ad1428486 Fix an infinite loop with Qt4.5 when creating two unnamed files.
In Qt4.5, QFileInfo::operator==() always returns true when comparing two non-existing files. Therefore, an extra check is needed. 

see 
http://www.lyx.org/trac/changeset/28748


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28768 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 10:47:29 +00:00
Vincent van Ravesteijn
7238dc91e8 branch: change the use of QString::indexOf(RegExp) into RegExp::indexIn(QString) to avoid crashes and infinite loops with Qt4.5.
See:
http://www.lyx.org/trac/changeset/28746

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28767 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 10:39:27 +00:00
Jürgen Spitzmüller
f86581d59d updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28765 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-13 13:14:24 +00:00
Richard Heck
e6443c25a6 Put that in the right place. Fix a typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28763 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-13 12:19:39 +00:00
Richard Heck
8faf385ac8 Fix import of empty index insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28761 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-13 12:17:21 +00:00
Jürgen Spitzmüller
00795a665b updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28760 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-13 12:13:05 +00:00
Jürgen Spitzmüller
ec43e0e071 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28714 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 16:37:43 +00:00
Jürgen Spitzmüller
6fc2eff9ab * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 11:41:10 +00:00
Uwe Stöhr
b9f8b0ecc5 new Spanish translation of the linguistics.lyx file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28705 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-06 22:50:50 +00:00
Uwe Stöhr
4e4195b2cd new Ukrainian translation of the splash.lyx file from Yuri
(Can a Make user please check if the splash file correctly appears when you start LyX with Ukrainian menu names?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-03 22:44:34 +00:00
Uwe Stöhr
4e7a66ded7 Tutorial.lyx, Spanish UserGuide.lyx: updates and bugfixes by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28688 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-03 22:25:21 +00:00
Jürgen Spitzmüller
dbee2e9774 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28671 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-02 10:14:26 +00:00
Jürgen Spitzmüller
90a8fc9f79 * status.16x: tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-01 17:13:16 +00:00
Jürgen Spitzmüller
947f2f4440 * German translation of the Linguistics manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-01 14:57:11 +00:00
Vincent van Ravesteijn
d39be32421 branch: Fix bug 5762: http://bugzilla.lyx.org/show_bug.cgi?id=5762.
[visual cursor] Crash when moving left in table in an RTL document 
Avoid negative positions. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 22:59:54 +00:00
Jürgen Spitzmüller
064b2ff648 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28635 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 16:41:48 +00:00
Vincent van Ravesteijn
10dfb843e5 branch: Fix bug 5806: http://bugzilla.lyx.org/show_bug.cgi?id=5806.
Branch names with spaces impossible

Read the whole line to catch the whole branch name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28623 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 19:43:01 +00:00
Vincent van Ravesteijn
33228fba67 branch: Fix bug 5744: http://bugzilla.lyx.org/show_bug.cgi?id=5744.
Crash with completion in mathed.

When deleting an inset, the stored DocIterator might contain a reference to a non-existent Inset and Text. Therefore, if we detect that the depth has changed, we are (for sure) not in the same paragraph, but we should make sure not to ask for the innerParagraph.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28608 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 21:08:46 +00:00
Enrico Forestieri
ac85e637eb Update status.16x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28607 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 12:25:49 +00:00
Vincent van Ravesteijn
2f695eb436 branch: Fix bug 5797: http://bugzilla.lyx.org/show_bug.cgi?id=5797.
GetStatus of an InsetCollapsable asserts for unhandled commands.

When you add a command to the context menu of an InsetCollapsable of which the getStatus method does not handle this command, an assertion will be raised. This happens when getStatus doesn't handle a command it is forwarded to text::getStatus which asserts because cur.text() is the text the inset is in, while this is the text of the inset. So, we only dispatch to text_ if the cursor is inside the text_. This is not the case for e.g. context menus.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 08:47:20 +00:00
Vincent van Ravesteijn
7399607f0e * status.16x update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28590 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-23 21:44:58 +00:00
Jürgen Spitzmüller
d0d0ce8a8b * status.16x: add bug number.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28571 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 10:29:52 +00:00
Vincent van Ravesteijn
a9e9e03ce9 branch: Fix a crash when removing the label of an included Program Listing.
See also:
http://www.lyx.org/trac/changeset/28563

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 19:36:19 +00:00
Jürgen Spitzmüller
c0714cb5be * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28569 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 09:48:11 +00:00
Vincent van Ravesteijn
97f2db1754 branch: Fix bug 5785: http://bugzilla.lyx.org/show_bug.cgi?id=5785.
Reference dialog update crash for read-only documents. 
Comments: 
* -1 is a valid return of bufferCO->currentIndex() so we need to test for it. 
* set the correct enabling of the button in case no call to updateContents follows. 
* remove unneeded call to setFocusProxy. The widget is either disabled or the focus proxy is set in updateRefs. 

See also:
http://www.lyx.org/trac/changeset/28547

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 21:49:37 +00:00
Jürgen Spitzmüller
3904d47391 some release preparations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28558 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 14:16:19 +00:00
Vincent van Ravesteijn
32c16755f3 branch: Fix a crash on exit when the child documents are already unloaded (r28492).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 00:07:53 +00:00
Uwe Stöhr
7c51a9193b status.16x: update translation status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-18 21:20:15 +00:00
Jürgen Spitzmüller
d07f01354f * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28528 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 15:19:32 +00:00
Pavel Sanda
7f29fcb581 forgot status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 23:54:10 +00:00
Uwe Stöhr
13d6f8a0f7 InsetTabular.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5777 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 17:33:49 +00:00
Uwe Stöhr
bd881cfea6 elsarticle.lyx: remove the trouble-making frontmatter environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-15 16:46:05 +00:00
Uwe Stöhr
1248178b79 InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5772 and http://bugzilla.lyx.org/show_bug.cgi?id=5773 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 00:30:38 +00:00
Jean-Marc Lasgouttes
66ae46b359 compilation fix on openbsd (bug 5650)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:15:16 +00:00
Jean-Marc Lasgouttes
11f11038ab forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:46:08 +00:00
Uwe Stöhr
b920bcd5a5 - InsetTabular.cpp: partly reverting r28441, because I was wrong: it is totally valid to have several rows to be the header and also several rows can have a caption, my own EmebeddedObjects manual has examples for this - stupid me!
Bug 5752 is nevertheless still fixed.

- status.16x: add entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 03:21:12 +00:00
Vincent van Ravesteijn
8dac774bd5 branch: Fix bug 5753: http://bugzilla.lyx.org/show_bug.cgi?id=5753.
Crash when setting caption on a row with a multicolumn. 
If there is already a multicolumn on the row, the number of cells is different from column_info.size(). 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28436 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:52:52 +00:00
Vincent van Ravesteijn
3b70e49fd1 branch: Fix bug 5711: http://bugzilla.lyx.org/show_bug.cgi?id=5711.
Add button in Citation dialog grayed out when key matches the start of an already selected key. 
One parameter of match() was forgotten, so the MatchFlags? were basically ignored, i.e. the standard flags were used always. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28435 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:47:56 +00:00
Vincent van Ravesteijn
396000e56f branch: Fix bug 5766: http://bugzilla.lyx.org/show_bug.cgi?id=5766.
Crash when selecting a row and doing "Delete column" in a table with multicolumns. 
The check "column + 1 < column_info.size()" checks whether there is at least one column after this one. However, this check is no longer valid if we remove the column from column_info first. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 17:44:10 +00:00
Pavel Sanda
25ac6ec204 Backport fix for 5082
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 16:31:17 +00:00
Jürgen Spitzmüller
da5c1995b1 * TocWidget.cpp:
- improve performance with Outliner open with Qt >= 4.3 by using native methods instead of home-brewn code.
	  This should especially pay off on the Mac, if the Outliner shows as a drawer (bug 4443).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28431 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 08:24:55 +00:00
Uwe Stöhr
0c7423a383 - Japanese UserGuide.lyx: updates from Koji
- status.16x: fix typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 03:58:56 +00:00
Vincent van Ravesteijn
ea02d9aac2 branch: Fix bug 5750: http://bugzilla.lyx.org/show_bug.cgi?id=5750.
Wrong width display of multicolumn cells.

When changing a custom width cell into a multicolumn, the isFixedWidth bool should be set to false. Now, the function setFixedWidth could only set isFixedWidth to true when needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 18:12:39 +00:00
Vincent van Ravesteijn
e3eb569ba6 * status.16x update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 18:06:45 +00:00
Vincent van Ravesteijn
cd81bb016e branch: Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 18:03:24 +00:00
Vincent van Ravesteijn
af485b4896 branch: Fix bug 5604: http://bugzilla.lyx.org/show_bug.cgi?id=5604.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28412 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 17:56:52 +00:00
Vincent van Ravesteijn
ade35c0625 branch: Prevent assertion when closing LyX with GuiTabular open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28411 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 17:47:43 +00:00
Pavel Sanda
8be06af03e Backport 5767 bugfix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 11:41:31 +00:00
Uwe Stöhr
9bc9321369 - Math.lyx, es.po: translation updates by Ignacio
- Braille.lyx: new Spanish translation by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28401 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 18:56:27 +00:00