1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2024-12-14 17:39:58 +00:00
Commit Graph

230 Commits

Author SHA1 Message Date
Uwe Stöhr
5c9e3284e9 preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5846 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28801 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 16:44:07 +00:00
Enrico Forestieri
64aa11b124 Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
Japanese char between math insets becomes wrong in TeX output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 14:08:09 +00:00
Vincent van Ravesteijn
0f93daf6a3 branch: UI Command Buffer improvements.
* the history is stored in the session file and restored in the next LyX session,
* the lists now disappear when the mouse is released in stead of pressed,
* correct enabling/disabling of the up/down button,
* hide the lists when clicked outside the list. Now using the function event() and check for a mouseButtonPressEvent instead of using mouseReleaseEvent(). The latter is only called when the mouse button is released inside the widget, but we want to use this event to detect a mouseclick outside the list.

see:
http://www.lyx.org/trac/changeset/28250
http://www.lyx.org/trac/changeset/28794

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28796 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:31:37 +00:00
Jürgen Spitzmüller
bb2a811816 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28795 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:20:32 +00:00
Vincent van Ravesteijn
936e0af90e * status.16x: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28786 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 20:46:12 +00:00
Vincent van Ravesteijn
3f6dae8123 branch: Fix bug 5769: http://bugzilla.lyx.org/show_bug.cgi?id=5769.
Copy content vanishes on Quit.

The work-around to clear the clipboard was needed to work around bug 4846. This bug has been resolved by the fix for bug 5472, so the work-around isn't needed anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 18:32:31 +00:00
Vincent van Ravesteijn
5bbf48b743 branch: Fix bug 5799. Warning when opening the document settings and preferences dialogs: http://bugzilla.lyx.org/show_bug.cgi?id=5799.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28782 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 18:24:09 +00:00
Vincent van Ravesteijn
9a912afd42 branch: Fix bug 5357: Close tab possible without close tab icon
http://bugzilla.lyx.org/show_bug.cgi?id=5357


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:56:26 +00:00
Vincent van Ravesteijn
e007ee91da branch: Fix bug 5088: Incorrect cursor movement
http://bugzilla.lyx.org/show_bug.cgi?id=5088

After executing DEPM to remove a double space, the position of the cursor was only 'fixed' if the cursor remained in the same par. This patch corrects this
to fix the position of the cursor also when the cursor is in a nested inset which is in the same par. This is needed because otherwise the cursor would not
point to the inset but one pos after it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28780 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:41:19 +00:00
Vincent van Ravesteijn
73db05c0bb branch: Fix bug 1802: http://bugzilla.lyx.org/show_bug.cgi?id=1802.
* allows the selection of a whole cell with shift+key
* shift-movement between empty cells with a single keystroke 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:31:11 +00:00
Jürgen Spitzmüller
d056614c3b * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28775 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 15:00:04 +00:00
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