Commit Graph

24060 Commits

Author SHA1 Message Date
Richard Heck
2098f1d8c2 Routines for calculating numerical labels for BibTeX citations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:13 +00:00
Richard Heck
295b84e8fb Fix a BibTeX caching bug. Because we only set the last modified time
when the cache was valid, we did not set it the first time through and
so always read the cache twice.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:18:05 +00:00
Richard Heck
473f25bbec Paragraph ndentation doesn't work well after quotations and the like.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:13:37 +00:00
Richard Heck
5214a9271c Unnecessary whitespace is bad in XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:13:07 +00:00
Richard Heck
012be55afd Move the collection of citations and sorting routines into BiblioInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:40:41 +00:00
Enrico Forestieri
9da28dca29 Add support for the newly released Cygwin 1.7.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:21:43 +00:00
Jean-Marc Lasgouttes
b692466769 set max number of iterations to 10000 in inset-forall ; try to keep the cursor where it was (I am not sure that the effect of fixIfBroken seems natural though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 15:57:25 +00:00
Richard Heck
58505db819 Remove unused UI file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:54:35 +00:00
Richard Heck
eeb1c45edb Typos etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:31 +00:00
Richard Heck
c615a2eeea Do not reload on check-in if check-in is cancelled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:15 +00:00
Tommaso Cucinotta
95cf410456 Removed unneeded assert firing when closing LyX with F&R WA selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:32:25 +00:00
Tommaso Cucinotta
090435cf27 Let the LyX logo show up when closing last document with the F&R dialog open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:29:17 +00:00
Jürgen Spitzmüller
7e9aea6773 * de.po: some updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32877 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:21:42 +00:00
Abdelrazak Younes
cf3baab621 On the road to fix #6415. The texrow object contains the correspondance
table between tex rows and the lyx paragraph ids.
Not fixed yet it seems as the texrow object do not copy correctly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:00:28 +00:00
Vincent van Ravesteijn
d95aaa0e5b Move reloadBuffer from GuiView to Buffer.
This fixes bug #6314: reloading master document makes emergencies of modified children.

Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00
Vincent van Ravesteijn
41270b98b4 typo ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 01:51:52 +00:00
Uwe Stöhr
2d54882d58 - Slovak Tutorial.lyx: sync file settings with the other language versions of the tutorial
- Slovak splash.lyx: fix encoding (spotted by Pavel)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 00:19:56 +00:00
Uwe Stöhr
52e884a581 Intro.lyx:
- fix a typo spotted by a user
- whitespace fix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 00:06:08 +00:00
Uwe Stöhr
1f26c13c16 Intro.lyx:
- accept Richard's changes

Please keep the doc files in sync with branch if possible. So when there is no change related to LyX 2.0svn, please do the change in branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:53:38 +00:00
Richard Heck
8b41e032b9 A few more symbols.
This seems to be about all I can do. If someone needs one we don't have,
then we can deal with that later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 22:25:28 +00:00
Richard Heck
7a3720dfaf More symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32859 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 21:29:05 +00:00
Tommaso Cucinotta
3f1c690723 Prevent display of meaningless internal buffer title(s) to the user
(e.g., while entering text to find in the F&R WA, window title keeps
showing the filename of the document where matches are searched for).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:54:42 +00:00
Richard Heck
e674f6bdc6 How about if we write a script to do some of this and stop doing it
manually? Done. Now back to manual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:27:45 +00:00
Richard Heck
4c1ada1a10 More entities for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:18:08 +00:00
Richard Heck
d4ab671ed3 A bit of User Guide documentation for XHTML output.
Uwe, I've used change-tracking to mark what I've added.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 18:17:53 +00:00
Richard Heck
994dc05884 Change the name of the XHTML format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 18:01:35 +00:00
Richard Heck
649e932955 Typos. Minor update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:55:24 +00:00
Richard Heck
c30d479080 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32852 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:42 +00:00
Richard Heck
9aca8e4eb5 A little more XHTML documentation. This is on generated CSS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:12 +00:00
Pavel Sanda
60ea64c67f Never get this right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:45 +00:00
Richard Heck
9893a40269 Notes update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:38 +00:00
Richard Heck
d6fe6cba94 Done now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:42 +00:00
Richard Heck
f99f0d7790 Documentation for float XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:28 +00:00
Richard Heck
ebfb4c09ad Make the float interface for XHTML consistent with the others.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Pavel Sanda
aec9fc1c5b Next comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:27:58 +00:00
Pavel Sanda
d753f2b25a Document this hack before forgeting the purpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:15:26 +00:00
Richard Heck
40c735f4d1 Initial documentation, at least, for the XHTML-related layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:12:10 +00:00
Pavel Sanda
532ab0fb1b Some comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:51 +00:00
Pavel Sanda
9d5750e01b Fix typo spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:48 +00:00
Vincent van Ravesteijn
fc91b00bc8 *VCBackend: Code simplification, constify, and adding an article.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:02:02 +00:00
Vincent van Ravesteijn
2146ca143e * stdmenus.inc: Stick to the casing rules for "Update Local Directory From Repository".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:57:10 +00:00
Enrico Forestieri
5ea9ace195 Give the progress widget a minimum height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:39:17 +00:00
Pavel Sanda
346da75166 LFuns generation is currently sensitive to tabs in the descriptions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:37:38 +00:00
Enrico Forestieri
3e00591082 This workaround is also needed for Qt 4.3 as the bug was fixed in Qt 4.4.0:
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=101276


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:32:33 +00:00
Pavel Sanda
e21867818e Fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:26:52 +00:00
Jean-Marc Lasgouttes
f2e6a5ecf8 Implement new inset-forall lfun. This function iterates over all insets in
current buffer and applies a given function at cursor position before the 
inset. It is actually possible to filter on the type of inset.


Remove all index insets:
inset-forall Index delete-char-forward

Remove all (!!) insets:
inset-forall * delete-char-forward

Close all Notes (also works for a particular branch, for example)
inset-forall Note inset-toggle close

Close only yellow sticky notes
inset-forall Note:Note inset-toggle close

Of course, things may become weird:
Put LyX in an infinite loop if there is at least a Note
inset-forall Note char-backward

In this case, the code will stop after 1000 iterations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:47:58 +00:00
Enrico Forestieri
d555c5c7bc Really fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:19:36 +00:00
Vincent van Ravesteijn
785418bd2b Correct ugly/wrong code introduced in r32738. parent will never be equal to buf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:25:15 +00:00
Jean-Marc Lasgouttes
a6b3f1e42d avoid a few warnings on qt<=4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:20:58 +00:00