Jürgen Spitzmüller
88421aaeda
Fix bug 5851: Branch definitions not shown in Insert>Branch menu if master is set.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28934 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:44:40 +00:00
Jürgen Spitzmüller
5be56b517a
Fix bug 5827 (validate date-insert argument):
...
* src/support/os*.{cpp,h}:
- new function is_valid_strftime that validates strftime arguments,
OS dependant (win32 differs here)
* src/Text3.cpp:
- use is_valid_strftime in LFUN_DATE_INSERT status check.
* src/frontends/qt4/GuiPrefs.{cpp, h}:
- new GUI validator for strftime.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28932 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:22:54 +00:00
Jürgen Spitzmüller
e47e1cd751
* PrefPaths.ui:
...
- fix some "buddies" (accelerators).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28931 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:27:45 +00:00
Vincent van Ravesteijn
d0b6aebd39
Fix r28909: check for texted.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 23:08:47 +00:00
Pavel Sanda
cfb86427df
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28922 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 13:31:16 +00:00
Richard Heck
837661a255
Enhance LyX by fixing bug 5872.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 12:29:54 +00:00
Vincent van Ravesteijn
74741ca5b9
Some cleanup in InsetInclude:
...
* use the UpdateScope, introduced recently, to prevent the 'strange' calls to setParent which also causes the update mechanism to run,
* remove the buffer parameter of loadIfNeeded and all function,
* remove doubled code from getChildBuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28919 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:48:32 +00:00
Vincent van Ravesteijn
b0d53e3250
Fix bug 5526: screen-recenter LFUN doesn't work
...
http://bugzilla.lyx.org/show_bug.cgi?id=5526
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28916 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:09:16 +00:00
Vincent van Ravesteijn
b133fa44ab
Revert cs 28908: wrong fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 22:40:04 +00:00
Vincent van Ravesteijn
9d1f4a3d98
Fix bug 5435: DEPM doesn't function when leaving an inset
...
http://bugzilla.lyx.org/show_bug.cgi?id=5435
The code for this was already present, but was never reached.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:21:00 +00:00
Vincent van Ravesteijn
7ad10f7403
Fix bug 5434: DEPM not executed for PgUp/PgDown
...
http://bugzilla.lyx.org/show_bug.cgi?id=5434
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28909 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 21:00:34 +00:00
Vincent van Ravesteijn
06cfe568bb
Fill the paragraph metrics cache before checkInsetHit is called and asserts in getPitNearY. LyX asserts when the mouse is over the buffer when it is created. Only trunk and qt4.5 (?)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28908 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 20:40:43 +00:00
Richard Heck
b0177410b0
Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open
...
but not shown.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 14:34:42 +00:00
Vincent van Ravesteijn
08467b3ddc
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:49:52 +00:00
Richard Heck
9761d953dc
Tooltips for InsetCitation. Please check if this works with RTL.
...
I think it should.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28896 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:43 +00:00
Richard Heck
a0e266734d
Cache the location of an InsetInclude's associated Buffer.
...
Abdel says this will be OK. ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28895 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:23:07 +00:00
Richard Heck
d1c255d99d
Whitespace (and a commit check).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 12:14:24 +00:00
Abdelrazak Younes
660d86948a
header ordering.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 08:31:46 +00:00
Richard Heck
af68d27725
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 19:36:37 +00:00
Enrico Forestieri
350e43c482
More Ui tweaks for Qt 4.2.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 15:14:13 +00:00
Enrico Forestieri
9925d1f88a
Fix reference dialog layout for Qt 4.2.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28877 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 14:14:50 +00:00
Jürgen Spitzmüller
8d8462afaf
* GuiView.cpp (closeEvent):
...
- store child documents in session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:31:02 +00:00
Jean-Marc Lasgouttes
a6d6c632fd
Overhaul of the tex2lyx manpage
...
- make it autogenerated
- clean up the markup
- remove obsolete information
- try to update in general
Hopefully I did not break the markup...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:31:22 +00:00
Jean-Marc Lasgouttes
eb74cde19b
use $version_suffix instead of $program_suffix in man pages (the later can come up as NONE)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 22:29:40 +00:00
Pavel Sanda
627f08f9f1
Revert r28853
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg148960.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 15:57:12 +00:00
Enrico Forestieri
aba488dea8
Fix display of release date with Qt 4.2.
...
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 23:17:33 +00:00
Jean-Marc Lasgouttes
8bb055a973
fix "make check" with gcc 4.3
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:49:51 +00:00
Vincent van Ravesteijn
1a94a63db8
Adjust the comment about QFileInfo::operator==().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:49:11 +00:00
Richard Heck
22e1e85c8e
Fix bug 1492.
...
Please let me know if this doesn't work right with various langauges, makes things worse, or what have you. I posted a note to devel about this but didn't get any response, so I'm guessing it's OK. If not, we'll revert it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 18:47:42 +00:00
Pavel Sanda
3f299e466b
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28854 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:29:45 +00:00
Pavel Sanda
e8e363338c
Context-branch menu uselessly shows both open/close items.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28853 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:21:06 +00:00
Enrico Forestieri
12d1cb2076
Fixes for gcc4 on cygwin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 22:35:55 +00:00
Jürgen Spitzmüller
44e35d1cd4
* VCBackend.cpp:
...
- some spelling and grammar fixes (a native EN speaker will have to double-check).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 11:06:28 +00:00
Jürgen Spitzmüller
13a1390271
* InsetMathCases.cpp:
...
- fix string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28835 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:47:55 +00:00
Jürgen Spitzmüller
d4f11c17e9
* Fix encoding problem following a Listing (bug 5783).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28830 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 09:25:52 +00:00
Jürgen Spitzmüller
4e61a40a92
* LaTeX.cpp:
...
- perform extra LaTeX run when requested by lettre.cls (bug 5818).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28828 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 05:09:18 +00:00
Richard Heck
ce8babd5b0
Fix bug 5782.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28823 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 20:10:57 +00:00
Pavel Sanda
7112e9bbdb
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28821 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:50:18 +00:00
Jean-Marc Lasgouttes
c7a08d57ce
implement new lfuns inset-begin/end and their -select versions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 13:33:27 +00:00
Richard Heck
31d355d4f5
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 21:21:45 +00:00
Jürgen Spitzmüller
629e2073fc
please Lars.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28799 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 15:53:17 +00:00
Vincent van Ravesteijn
cdfc9575a9
* GuiCommandBuffer: Fix bad programming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28794 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:20:15 +00:00
Jürgen Spitzmüller
53877ef28f
* GuiDelimiter.cpp:
...
- do not auto-apply if "match" is not chosen (bug 5789).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:15:24 +00:00
Vincent van Ravesteijn
d3cca37860
Fix bug 5695. Now for the Include dialog.
...
http://bugzilla.lyx.org/show_bug.cgi?id=5695
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28784 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 19:29:03 +00:00
Richard Heck
22ba8256b2
So we do, sometimes, need the setBuffer calls that were removed in r28720.
...
This patch encapsulates the needed call in Buffer::setBuffersForInsets(),
and calls it from Undo::Private::textUndoOrRedo(). As noted in the FIXME,
this is still a bit of a "hammer" and ought to be replaced with the sort of
more refined approach taken in r28709. But I don't at the moment see how to
do that. The place to do it, though, is in doTextUndoOrRed().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28757 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-12 20:10:46 +00:00
Richard Heck
3aecc2c4ff
Use an enum to make things a little clearer here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28756 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-12 20:02:12 +00:00
Vincent van Ravesteijn
d757c34e79
gcc compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28755 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-12 19:44:40 +00:00
Vincent van Ravesteijn
26529a1732
Fix a few peculiarities wrt graphics. E.g., an InsetGraphic with a non-existing image showed the message that the image was loaded, instead of "No file found!".
...
* CacheItem::Impl::tryDisplayFormat
- Enhance description of the return value.
- Negate the return values to match the description.
* CacheItem::tryDisplayFormat
- Impl::tryDisplayFormat returns whether a conversion is needed, not whether the try was successful. Therefore, we should check the status as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28754 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-12 19:25:07 +00:00
Pavel Sanda
d1a00c53b3
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28752 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-11 11:58:16 +00:00
Uwe Stöhr
662846f227
preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5846
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28751 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-10 23:55:25 +00:00
Vincent van Ravesteijn
83dc36d66c
Fix an infinite loop with Qt4.5 when creating two unnamed files.
...
In Qt4.5, QFileInfo::operator==() compares the file locations instead of the files themselves. Therefore, an extra check is needed.
see Qt4.5 documentation:
http://doc.trolltech.com/4.5/qfileinfo.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28748 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 23:30:08 +00:00
Vincent van Ravesteijn
8988dffe7c
Remove black box around GuiWorkarea which is visible with Qt4.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28747 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 22:29:02 +00:00
Vincent van Ravesteijn
8768fa7251
Proper fix to avoid an infinite loop with Qt4.5.
...
see:
http://www.qtsoftware.com/developer/faqs/why-does-qstring-indexof-qregexp-cause-a-crash-or-hang-in-qt-4.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28746 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:54:47 +00:00
Vincent van Ravesteijn
e7e4f9fd55
Revert cs 28742:28744 to prepare for a proper fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28745 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:47:46 +00:00
Richard Heck
ea0ed17421
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28744 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:12:02 +00:00
Abdelrazak Younes
500add162b
Stupid me.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28743 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 17:59:17 +00:00
Abdelrazak Younes
2cefb12b22
Avoid infinite loop with Qt4.5 (asserts instead).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28742 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 17:38:35 +00:00
Jean-Marc Lasgouttes
76d0ead2b6
make the lyxclient man page autogenerated
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 14:49:40 +00:00
Jean-Marc Lasgouttes
9c0b6cf700
really reset the LANGUAGE variable to its old value, instead of some other guessed value
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28737 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 13:49:53 +00:00
Jean-Marc Lasgouttes
fc1fb61336
allow to read Flex insets with a space in their name
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 13:48:09 +00:00
Enrico Forestieri
bd8788f377
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/trunk@28732 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 06:47:26 +00:00
Enrico Forestieri
3175a28893
Fix bug 5836 ( http://bugzilla.lyx.org/show_bug.cgi?id=5836 )
...
Cyrillic formatted text in mathmode
If some other letters from some script need to be typeset in italic,
it will suffice adding the flag "mathalpha" to the unicodesymbols file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28731 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 06:34:00 +00:00
Vincent van Ravesteijn
1827aeda46
Fix scrolling regression ( http://www.lyx.org/trac/changeset/28397 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28730 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 21:23:31 +00:00
Jürgen Spitzmüller
c4f0fb88f1
* tex2lyx/Makefile.am:
...
- add tex2lyx.1 to the distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 10:49:06 +00:00
Vincent van Ravesteijn
8e633570bf
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/trunk@28727 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 10:21:33 +00:00
Vincent van Ravesteijn
8bb4c7bfe9
Fix bug 5695: Default button in GuiHyperlink must be "OK"
...
http://bugzilla.lyx.org/show_bug.cgi?id=5695
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28726 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 09:42:16 +00:00
Richard Heck
80c7326663
Remove setBuffer() calls that are no longer needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28720 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 21:09:41 +00:00
Jürgen Spitzmüller
d7601a684b
fix bug 5833
...
* Buffer.{cpp, h}:
- new method getChildren() that returns included (and sub-included) files
* GuiView.cpp (closeEvent):
- do not just close dirty child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 16:33:03 +00:00
Jürgen Spitzmüller
0bee8a3b56
* CutAndPaste.cpp:
...
- correctly set buffer on paste. This fixes a crash on pasting branches
within child documents (bug 5813)
(patch by rgheck)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 11:45:41 +00:00
Jean-Marc Lasgouttes
f24870ea9b
In math matrices, make sure that only the align-type tablar-feature can get a check box in menus (with some themes, empty check boxes are visible)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28703 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-04 17:07:05 +00:00
Jean-Marc Lasgouttes
7bd971ff32
isAvailable is static
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-04 17:02:22 +00:00
Uwe Stöhr
fd051070a1
InsetMathCases.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=4141
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-04 01:30:08 +00:00
Jürgen Spitzmüller
2b24e2a45b
InsetCollapsable.cpp (resetFonts):
...
- correctly initialize font (language) for PassThru insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28672 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-02 10:24:07 +00:00
Vincent van Ravesteijn
ab3be86f96
* InsetTabular.cpp: Make sure the caption is inserted in the correct cell. This means we first have to reset the cursor to point to the new multicolumn, and then insert the caption.
...
See:
http://www.lyx.org/trac/changeset/28440
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28651 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-01 15:50:46 +00:00
Vincent van Ravesteijn
2e78ca5a47
Fix bug 5819: Close button of tabbar closes wrong document
...
http://bugzilla.lyx.org/show_bug.cgi?id=5819 .
If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28641 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-28 13:56:41 +00:00
Uwe Stöhr
ff9f9c92ae
support for \cfrac in mathed, fixes bug 2473 and can also go to LyX 1.6.3
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-28 02:43:26 +00:00
Vincent van Ravesteijn
07dba7f761
Fix^3 of bug 4346.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28633 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 00:04:28 +00:00
Vincent van Ravesteijn
7580efc7f3
* Cursor.cpp: cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28630 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 21:37:58 +00:00
Vincent van Ravesteijn
f03d2fb6ef
Fix bug 5765: http://bugzilla.lyx.org/show_bug.cgi?id=5765 .
...
[visual cursor] Crash when cutting a figure caption and moving the cursor.
Avoid negative positions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28629 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 21:29:19 +00:00
Vincent van Ravesteijn
4b775f5393
* Cursor.cpp: compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28628 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 21:17:34 +00:00
Vincent van Ravesteijn
e990b98cfd
* Cursor.cpp: cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28627 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 21:13:50 +00:00
Vincent van Ravesteijn
28cb308313
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/trunk@28626 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 21:01:35 +00:00
Vincent van Ravesteijn
3919eeafe4
Fix warning similar to bug 5799: http://bugzilla.lyx.org/show_bug.cgi?id=5799 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 20:52:47 +00:00
Vincent van Ravesteijn
36aa11863b
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/trunk@28620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 00:24:12 +00:00
Pavel Sanda
17cb2e992b
Add comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 00:13:47 +00:00
Pavel Sanda
5d2456ad90
Add dbg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 00:06:20 +00:00
Pavel Sanda
9874a917df
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28613 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 23:46:55 +00:00
Pavel Sanda
37f82f7c2b
Squash zillion warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28612 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 23:26:09 +00:00
Vincent van Ravesteijn
0b082f852a
Put back the FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28611 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 22:41:29 +00:00
Vincent van Ravesteijn
7eb04d61d9
Fix the fix for bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346 .
...
Synchronizing insets asserts with two views open
This finishes the change of http://www.lyx.org/trac/changeset/28587 .
Replace the setButtonLabels functions that need a BufferView by buttonLabel functions. These functions modify the label at drawing time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 22:35:41 +00:00
Enrico Forestieri
654600486b
Fix bug 5541: http://bugzilla.lyx.org/show_bug.cgi?id=5541
...
This was due to a thinko in http://www.lyx.org/trac/changeset/26002
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28605 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 12:16:56 +00:00
Vincent van Ravesteijn
708e38ddb3
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/trunk@28596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 00:39:55 +00:00
Pavel Sanda
303177ad81
Case-insensitive reference sorting.
...
Patch from Manoj Rajagopalan.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147931.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 22:56:57 +00:00
Pavel Sanda
316764c611
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28592 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 22:42:41 +00:00
Vincent van Ravesteijn
1907b28770
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/trunk@28589 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-23 19:06:43 +00:00
Vincent van Ravesteijn
8e2babb833
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/trunk@28588 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-23 19:00:23 +00:00
Vincent van Ravesteijn
92d90a0be3
Fix bug 5799. Warning when opening the document settings dialog. http://bugzilla.lyx.org/show_bug.cgi?id=5799 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-22 23:02:35 +00:00
Peter Kümmel
f0edb3dfb3
fix merge build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28581 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-22 12:42:10 +00:00
Richard Heck
90c64a5f5e
A couple things noticed by Andre.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28578 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:49:56 +00:00
Uwe Stöhr
bf730bda7c
LayoutModuleList.cpp: correct include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:19:12 +00:00
Uwe Stöhr
2bab705f62
LayoutModuleList: - make LyX compile
...
- fix SCons after r28575
- set EOL to native
@ Richard: For new files please always set the EOL flag to native. If possible it would be nice if you can also update SCons manifest file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 21:04:27 +00:00
Richard Heck
c67c0da43d
Whoops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 19:38:10 +00:00
Richard Heck
f946b6ed0b
Move some more code around so as to make module-related routines available
...
to tex2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28574 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 16:45:37 +00:00
Vincent van Ravesteijn
aedfb81808
Fix bug 4346: http://bugzilla.lyx.org/show_bug.cgi?id=4346 .
...
Synchronizing insets asserts with two views open
It changes the autoOpen_ member of InsetCollapsable into a map, such that an autoOpen value can be specified for each bufferView. Now, the assertion is avoided and insetCollapsable can be open in one bufferview and be closed in the other in very special cases that the cursor end up in a closed inset.
Compare with the MathMacro::editing_ member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28573 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-21 16:27:00 +00:00
Jürgen Spitzmüller
3ccf39a084
* tex2lyx/preamble.cpp:
...
- fix thinko that caused tex2lyx to silently drop custom preamble entries in non-LyX-generated tex files.
(bug 5788). Patch from Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28567 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-20 09:46:03 +00:00
Vincent van Ravesteijn
90feb482db
Fix bug 5787-part_2 (Labels in Listings Children Don't Update Properly).
...
It was still possible to set the label of an included Program Listing to an already existing label (if there was no label specified yet).
See also:
http://www.lyx.org/trac/changeset/28556
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28564 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 21:33:07 +00:00
Vincent van Ravesteijn
bc5bc24812
Fix a crash when removing the label of an included Program Listing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28563 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 20:53:35 +00:00
Vincent van Ravesteijn
3373aa588c
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28562 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 19:41:41 +00:00
Vincent van Ravesteijn
90258a0dd3
Remove the GuiRef::sort_ member. It was a relic of the old days.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 19:24:42 +00:00
Richard Heck
084de459fb
Make Andre a little happier.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 19:10:59 +00:00
Richard Heck
00f5adcfe3
Rename a routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 17:24:37 +00:00
Richard Heck
072ed23ffc
Patch from Bo. Fixes problem with labels in child docs of the listings type:
...
Duplicate labels were not being updated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 04:50:25 +00:00
Richard Heck
ae6462af96
Fix more of bug 5751.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28555 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 04:42:30 +00:00
Richard Heck
e2d20d4386
Fix bug 5751.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28554 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 04:18:31 +00:00
Pavel Sanda
45134ce20b
gcc compil fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 04:05:44 +00:00
Richard Heck
7ca8f5a5ec
Cosmetics, and comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 03:24:51 +00:00
Vincent van Ravesteijn
0aca981637
Fix bug 5699 (crash when using outliner in child document while the master is not opened).
...
The problem was that, if the master is not opened, no respective guiDelegate exists, and the functions that update the toc do not trigger. The fix is to update the child's toc backend and toc items directly in such cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28551 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 00:29:04 +00:00
Vincent van Ravesteijn
c85e24b066
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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28547 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-18 23:45:00 +00:00
Georg Baum
9aad4bc27f
Better fix for bug 1476 (following an idea by Jean-Marc).
...
Don't go into an endless loop if layout2layout cannot produce the desired file format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
Jean-Marc Lasgouttes
53dc4ae015
compilation warning: add exta braces around assignment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:08:18 +00:00
Jean-Marc Lasgouttes
f1c6bfdc9d
compilation warning: scale is unsigned
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:07:16 +00:00
Jean-Marc Lasgouttes
22e13587b3
compilation warning: comparison of two char *
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:06:24 +00:00
Jean-Marc Lasgouttes
29117ed909
compilation warning: unused parameter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:05:40 +00:00
Uwe Stöhr
8d69d174c5
InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5777
...
Also OK for branch?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28494 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 21:39:15 +00:00
Vincent van Ravesteijn
fe980636db
Compile fix for r28492.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28493 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 16:57:52 +00:00
Vincent van Ravesteijn
d1074d1dbc
Fix a crash on exit when the child documents are already unloaded.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 16:49:28 +00:00
Jürgen Spitzmüller
37d89378ca
* Buffer.cpp:
...
- avoid wrong console message while loading a child from a master
that lead me on the wrong track when debugging bug 5699.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 14:21:59 +00:00
Jürgen Spitzmüller
93aff2c611
* Buffer.h: cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28489 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-14 13:52:10 +00:00
Uwe Stöhr
ba086ee65d
InsetTabular.cpp: Reverting r28472 and part of r28461 - this would have been a regression, therefore readding it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 23:48:19 +00:00
Pavel Sanda
9212d03426
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 14:00:03 +00:00
Pavel Sanda
93ea6ec214
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28479 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 13:58:49 +00:00
Pavel Sanda
e59dbac2ed
Introduce jump-back navigation through bookmark 0
...
http://bugzilla.lyx.org/show_bug.cgi?id=898
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147949.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 13:46:08 +00:00
Uwe Stöhr
39aae243dc
InsetTabular.cpp: I was over eager in r28442: there can only be one caption, but several header/footer rows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 03:17:01 +00:00
Uwe Stöhr
256ba59d5f
InsetTabular.cpp: when there is no first header or last footer, then don't mention it in the LaTeX code, otherwise the header/footer will not appear on the first page.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 23:59:31 +00:00
Pavel Sanda
8044f9e4f3
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28469 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 23:46:16 +00:00
Richard Heck
08d7f7885a
Next step: LayoutModuleList is now a thin wrapper around a list<string>.
...
It'll get its own methods later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28468 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 15:07:22 +00:00
Richard Heck
4ae0333a99
Redundancy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 15:01:12 +00:00
Richard Heck
9bf18ee38e
Squash warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 14:30:29 +00:00
Uwe Stöhr
a12e81fe06
GuiTabular.cpp, InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5773
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 03:02:34 +00:00
Uwe Stöhr
ff677ecfdb
InsetTabular.cpp: output the caption for docbook according to the docbook documentation http://docbook.org/tdg/en/html/caption.html and this example: http://sources.redhat.com/ml/docbook/2004-06/msg00017.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:37:14 +00:00
Uwe Stöhr
cb81a4e0d4
InsetTabular.cpp: output the caption for docbook
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:31:00 +00:00
Uwe Stöhr
21cab38549
InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5772
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 02:23:48 +00:00
Richard Heck
52d3a1e426
Move some code around in an effort to make information about modules
...
available to tex2lyx. The point is to move the crucial routines that
deal with modules out of BufferParams.cpp, which tex2lyx does not have,
and into TextClass.cpp, which it does.
This is all cleanup that makes a lot of sense independently.
Note that LayoutModuleList will shortly become a real class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 23:22:10 +00:00
Richard Heck
7e4d4d2641
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 20:02:53 +00:00
Richard Heck
9db713da16
Author info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:59:25 +00:00
Richard Heck
0a5514d2a4
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:51:56 +00:00
Richard Heck
61bef3b043
Access private data directly.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28452 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:48:54 +00:00
Richard Heck
4407eb186f
Use the typedef.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 19:35:22 +00:00
Richard Heck
2ebd679192
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:16:05 +00:00
Richard Heck
ee36483a8e
Let's have a little more info.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 17:08:51 +00:00
Jean-Marc Lasgouttes
24e29ad498
compilation fix on openbsd (bug 5650)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28445 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:34:40 +00:00
Jean-Marc Lasgouttes
209f2167f0
fix compilation with external boost
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 14:27:42 +00:00
Uwe Stöhr
b9df3d88c9
InsetTabular.cpp: partly reverting r28437, 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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 03:18:16 +00:00
Uwe Stöhr
8bbd9f254d
InsetTabular.cpp: Insert a caption, when a longtable row is marked to be the caption, otherwise the LaTeX output would be is incorrect
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28440 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-11 01:30:20 +00:00
Jean-Marc Lasgouttes
2d66dbb678
Fix bug 5666: assertion when an inset is outside of workwidth
...
http://bugzilla.lyx.org/show_bug.cgi?id=5666
Check whether an inset is in the coordcache before reading this cache (doh!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28439 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 22:27:43 +00:00
Uwe Stöhr
e029b216b7
GuiTabular, InsetTabular: fix http://bugzilla.lyx.org/show_bug.cgi?id=5752
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 18:08:09 +00:00
Jürgen Spitzmüller
0c3109e2d3
* 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/trunk@28432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 08:32:34 +00:00
Pavel Sanda
7cfe885af1
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5082
...
(Outliner uninitialized after lyx launch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 00:10:45 +00:00
Vincent van Ravesteijn
0be0516d28
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/trunk@28427 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 00:02:39 +00:00
André Pönitz
20d5148dca
move ColorSet to a header of its own to reduce #include dependencies
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Vincent van Ravesteijn
c912d253f2
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/trunk@28425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:20:52 +00:00
Vincent van Ravesteijn
09a0e37b15
Replace the PainterInfo::erased_ member by a proper Change object and remove the Color_deletedtext from InsetTabular.
...
see:
http://thread.gmane.org/gmane.editors.lyx.devel/114326
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 21:14:23 +00:00
Vincent van Ravesteijn
26c5e8a83b
Fix bug 5629: http://bugzilla.lyx.org/show_bug.cgi?id=5629 .
...
Hard to distinguish between added and deleted text.
* Changes.cpp/h: add a merge_color for deletions and change the return type to Color.
* ColorCode.h/Color.cpp: add a new customizable color that indicates the merge color for deletion.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28423 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:47:32 +00:00
Vincent van Ravesteijn
438aaf2ec9
Add a new member to FontInfo denoting the color to be used when painting.
...
* rowpainter.cpp: now the color for painting selected text and changed text is set via FontInfo::setColor. However, this color should remain a ColorCode as this color is used in e.g. the GuiCharacter dialog and for LateX output. Therefore I use now the FontInfo::setPaintColor function.
* FontInfo.cpp/h: new members paint_color_ and setPaintColor(). The function realColor is updated to return the paintColor when it is set.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:22:48 +00:00
Vincent van Ravesteijn
a37eaf4f0b
Use the new Color class (see r28420) in the Painter code.
...
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:10:11 +00:00
Vincent van Ravesteijn
2e7698c4e6
Add a new Color class. This class makes it possible to specify a color as a merging of two other colors. The actual computation of the new color is done in ColorCache::get.
...
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28420 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:00:31 +00:00
Vincent van Ravesteijn
74163aa0cf
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/trunk@28419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 19:39:28 +00:00
Vincent van Ravesteijn
71c44aa9d0
Add a comment for r28404.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28408 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 09:14:38 +00:00
Vincent van Ravesteijn
96eac2ca3f
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/trunk@28407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 09:02:50 +00:00
Uwe Stöhr
ff12fcb01b
GuiTabular.cpp: a whitespace fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 00:06:32 +00:00
Pavel Sanda
887ba34eeb
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5767
...
(disabled keep&sort buttons on ToC in readonly mode)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 23:45:17 +00:00
Vincent van Ravesteijn
adac53cbb2
Prevent assertion when closing LyX with GuiTabular open.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28404 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 19:44:53 +00:00
Vincent van Ravesteijn
72fdd1b861
Fix bug 5604: http://bugzilla.lyx.org/show_bug.cgi?id=5604 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28400 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 18:33:01 +00:00
Vincent van Ravesteijn
0730c9235a
Fix bug 5764: http://bugzilla.lyx.org/show_bug.cgi?id=5764 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 14:14:30 +00:00
Vincent van Ravesteijn
24cd681863
Fix bug 5573. http://bugzilla.lyx.org/show_bug.cgi?id=5573 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28397 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 12:35:14 +00:00
Vincent van Ravesteijn
78bc661ff8
* MathAutoCorrect: kill compiler warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:21:54 +00:00
Vincent van Ravesteijn
2daac3125f
* InsetMathNest.cpp: Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:14:48 +00:00
Vincent van Ravesteijn
814a8411eb
Reverse unwanted commits.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:11:27 +00:00
Vincent van Ravesteijn
f694cf7135
* InsetMathNest.cpp: Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:01:15 +00:00
Vincent van Ravesteijn
4706961841
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/trunk@28385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 15:24:47 +00:00
Jürgen Spitzmüller
1f58d53deb
Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float.
...
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28382 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 12:27:24 +00:00
Jean-Marc Lasgouttes
26751d83ee
Move the half baked code that guesses whether to default on metric or
...
imperial units in only one place (instead of thousands of slightly different
copies). Functionally equivalent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 21:24:13 +00:00
Richard Heck
0a1abacc42
Thanks, Pavel...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28379 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 20:49:37 +00:00
Richard Heck
a864caf6f4
Move some stuff from InsetFlex to InsetCollapsable, and make use of the
...
InToc tag in a couple places.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 17:56:47 +00:00
Richard Heck
5ee35ace6f
Introduce the InToc tag for InsetLayout.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 17:54:33 +00:00
Vincent van Ravesteijn
22f7d3b3ba
* InsetTabular.cpp cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28369 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 22:14:57 +00:00
Richard Heck
875163f7e6
This routine does even less. Bye bye.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28367 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 22:02:15 +00:00
Richard Heck
0439d04f9b
This routine actually turns out to do nothing: The name gets read and set
...
in factory.cpp. Bye bye routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28366 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 22:01:12 +00:00
Uwe Stöhr
8a0d98e67e
- stdmenus.inc: Phantom can contain other things as well, not only text
...
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)
The Phantom feature should now be complete. Thanks to all who contributed and helped.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00
Vincent van Ravesteijn
4b1d73775c
Allow commands with parameters in InsetMathGrid. For example 'tabular-feature append-row 4'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28363 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 16:19:38 +00:00
Uwe Stöhr
7a48ee4349
Color.cpp: use a bit darker gray color for phantom text for better readability
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 15:47:48 +00:00
Pavel Sanda
6d74fca5f7
next bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28358 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:25:58 +00:00
Georg Baum
cd27d171d5
Partial fix of bug 1476:
...
Implement infrastructure to add translations to layout files and translate one .inc file.
Some others are missing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:06:50 +00:00
Pavel Sanda
c676061c2e
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28354 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 19:03:16 +00:00
Jean-Marc Lasgouttes
8979fed151
fix undo bug with phantom inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28352 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 17:52:28 +00:00
Richard Heck
e20156cc5f
Constness.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28351 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 17:39:33 +00:00
Jean-Marc Lasgouttes
289600e413
some cleanups to the phantom inset. Undo still broken for unknown reasons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 16:18:43 +00:00
Jean-Marc Lasgouttes
1106072176
Oops! forgot to set a sane layout (bug 4859 again)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28347 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 14:23:16 +00:00
Jean-Marc Lasgouttes
a5e8cc750b
avoid creating empty paragraph list also in the case of an inner insettext (bug 4859 again)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28346 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 11:28:29 +00:00
Jean-Marc Lasgouttes
deac053e36
avoid a crash on empty documents (bug 4859)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28345 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 10:46:54 +00:00
Jean-Marc Lasgouttes
9622577c60
fix faulty documentation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28344 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 09:52:10 +00:00
Vincent van Ravesteijn
45f62ed5de
Fix bug 5736: http://bugzilla.lyx.org/show_bug.cgi?id=5736 .
...
If the current TextMetrics does not contain the paragraph the cursor is in, the screen is recentered. Now, the current TextMetrics should be updated to one that does contain the cursor (as we have just recentered)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28341 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 23:18:41 +00:00
Richard Heck
ac4e461898
Move a couple routines from InsetFlex to InsetCollapsable so the CustomPars
...
and ForcePlain tags will work not just with InsetFlex but all InsetCollapsables.
Thanks to Jurgen and JMarc for reminding me I'd meant to do this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28340 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 21:12:59 +00:00
Richard Heck
6d90ee1f40
Typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28339 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 21:11:05 +00:00
Jürgen Spitzmüller
b6f67e1d0b
some InsetPhantom fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28336 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 10:38:13 +00:00
Jürgen Spitzmüller
96f45fc163
* InsetPhantom.cpp (toolTip):
...
- fix compiler warning, l7n, simplify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28335 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 10:03:47 +00:00
Vincent van Ravesteijn
036e61dd17
Fix bug 5731. http://bugzilla.lyx.org/show_bug.cgi?id=5731\nInsert column after the current one, then copy the current one to the new one
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 21:44:37 +00:00
Jürgen Spitzmüller
48d5e2a579
please Jean-Marc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:53:41 +00:00
Jürgen Spitzmüller
66e455ba29
* InsetMathHull (numbered):
...
- prevent NULL pointer (bug 5688).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:27:57 +00:00
Jean-Marc Lasgouttes
9adde5af52
disable math functions in places like ERT insets (bug 5703)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28318 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 11:27:30 +00:00
Pavel Sanda
77d824af42
more robust version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 23:46:41 +00:00
Pavel Sanda
1f5c703bae
Squash warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 23:27:58 +00:00
Pavel Sanda
edd6631e25
VCS: constify, thanks Andre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28314 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 23:23:01 +00:00
Uwe Stöhr
63efb1ffce
InsetPhantom.cpp: don't draw a frame around phantom insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28312 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 21:21:38 +00:00
Uwe Stöhr
e900790be8
- InsetPhantom.h: remove unneeded declarations
...
- InsetPhantom.cpp: add tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28311 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 20:18:52 +00:00
Uwe Stöhr
6e506647ab
InsetPhantom.cpp: metrics fix for the horizontal arrow
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28308 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-01 18:48:48 +00:00
Pavel Sanda
50f4601c20
VCS: add GUI notification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28304 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-31 18:17:36 +00:00
Pavel Sanda
7ff5bd4c54
VCS: adjust internal structure
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28303 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-31 18:01:48 +00:00
Pavel Sanda
6c412e9e90
VCS: add svn locking mechanism
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28302 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-31 17:10:56 +00:00
Pavel Sanda
b3adfd3d26
Better safe than sorry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28299 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 23:40:53 +00:00
Pavel Sanda
80e87042b4
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 21:01:32 +00:00
Jean-Marc Lasgouttes
f83ae91f05
Add a new command line parameter -e that sets the default (latex) encoding.
...
This is overridden by any subsequent inputenc command.
The current encoding is also passed down to \input or \included files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28295 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 14:47:06 +00:00
Jean-Marc Lasgouttes
a4391b65ca
now that tex2lyx reads the files as utf8, file names should be correct
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28294 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 14:42:35 +00:00
Uwe Stöhr
09c05e6725
FuncCode.h: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 01:04:10 +00:00
Uwe Stöhr
b742ff6406
support for the LaTeX commands \*phantom, fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-30 00:56:37 +00:00
Pavel Sanda
1f94bc302a
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28291 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-28 23:44:27 +00:00
Pavel Sanda
3124fff5c8
* lfun doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28287 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-28 20:53:53 +00:00
Jürgen Spitzmüller
72b195fa4b
* LyXFileDialog.cpp:
...
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
(related to bug 4513).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-27 08:50:19 +00:00
Uwe Stöhr
6a0cdc2a1e
revert r28281
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 23:50:54 +00:00
Uwe Stöhr
5ae52b3b6c
remove the no longer used GuiNote
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:48:38 +00:00
Jürgen Spitzmüller
0f830027a3
* GuiApplication.cpp:
...
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
- rename to tabular-feature_m-[v]align-*.png:
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:04:57 +00:00
Pavel Sanda
86ea78391e
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5627
...
(painting problems after load of instant preview image)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147622.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28276 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 12:24:03 +00:00
Jürgen Spitzmüller
241ea2fc88
* GuiViewSource.cpp:
...
- enable widget in read-only mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28270 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-24 12:38:05 +00:00
Pavel Sanda
2c9c081e09
Enhance variables for Convertes - add input and original paths.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147425.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28263 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:08:07 +00:00
Pavel Sanda
5e3d6fe9d5
When more windows are opened ensureBufferClean tries to save different document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 14:46:18 +00:00
Uwe Stöhr
5f3ef27629
LyXFunc.cpp: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 01:04:48 +00:00
Uwe Stöhr
32d26cd44e
FuncCode.h: correct comment character
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 00:38:21 +00:00
Uwe Stöhr
783884d3be
InsetNote.cpp: fix comment typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-19 23:59:57 +00:00
Vincent van Ravesteijn
cf40884454
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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 21:50:23 +00:00
Vincent van Ravesteijn
7da84afa62
Adjust the comment for r28242.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:28:25 +00:00
Vincent van Ravesteijn
83f13982fc
Avoid crash due to an infinite recursive loop when inset is NULL.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28242 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:21:57 +00:00
Vincent van Ravesteijn
d87030a353
Make the Apply button of the GuiCharacter dialog buffer dependent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:43:03 +00:00
Vincent van Ravesteijn
2afc45c538
Make the GuiCharacter dialog use the new ButtonPolicy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:41:12 +00:00
Vincent van Ravesteijn
160b0868c9
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:37:14 +00:00
Vincent van Ravesteijn
780742b73a
New ButtonPolicy for dialogs with an auto-apply option.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:33:51 +00:00
Jürgen Spitzmüller
9485531ca0
* LaTeXFeatures.cpp:
...
- make lyxarrow robust, since \@ifstar is fragile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28235 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:00:43 +00:00
Richard Heck
0596363567
Localize a couple strings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:12:02 +00:00
Richard Heck
4856342a1e
Whoops. Was programming in perl yesterday....
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28218 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:04:54 +00:00
Pavel Sanda
8883d5438e
Recognize also dia's compressed format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28216 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 16:31:59 +00:00
Pavel Sanda
aa2aee5c9b
Squash warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28205 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:49:49 +00:00