]>
git.lyx.org Git - lyx.git/log
Vincent van Ravesteijn [Mon, 2 Nov 2009 04:01:45 +0000 (04:01 +0000)]
Fix some remains of handling INSET_DISSOLVE (see r31756):
- change cur.inset().nargs() to nargs() as we might actually be in the inset called nextInset(),
- set the enabling flag of the status struct, don't return this value,
- return whether we handled this request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31822
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 2 Nov 2009 02:21:10 +0000 (02:21 +0000)]
Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31821
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 1 Nov 2009 23:23:54 +0000 (23:23 +0000)]
GuiBox.cpp: fix typo is comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31820
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 1 Nov 2009 22:16:49 +0000 (22:16 +0000)]
Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31819
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 1 Nov 2009 02:49:05 +0000 (02:49 +0000)]
tufte-handout.layout: remove code that is already inherited from tufte-book.layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31816
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:14:21 +0000 (18:14 +0000)]
Fix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab() function to hideCurrentTab().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31815
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:10:18 +0000 (18:10 +0000)]
Close the correct tab when clicking one while the active tab is in another tabworkarea. This was fixed in r31072 for the cornerbutton; now it is fixed for the buttons on the tabs themselves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31814
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 31 Oct 2009 01:00:29 +0000 (01:00 +0000)]
French UserGuide.lyx: correct a string as proposed by Abdel: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155387.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31813
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:33:54 +0000 (15:33 +0000)]
Do not issue the warning introduced in r31809 if we are setting the parent for the first time, or we are removing the parent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31810
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:24:35 +0000 (15:24 +0000)]
Issue a warning if a document has two parents. We should do something smart then, but what?
- Do we want to ask the user which of the parents he would like to be the document's parent ?
- Do we want to disable any functionality related to parents ? Like references, bibliography, document outline etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31809
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:14:23 +0000 (15:14 +0000)]
* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31807
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Oct 2009 14:57:21 +0000 (14:57 +0000)]
Fix LyX after r31772 (bug #6294).
The declaration should match the definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31806
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Fri, 30 Oct 2009 06:06:28 +0000 (06:06 +0000)]
Added Spacing.cpp to the list for tex2lyx too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31805
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 30 Oct 2009 03:33:52 +0000 (03:33 +0000)]
UserGuide.lyx: "Close Tab Group" was renamed to "Close Current View"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31802
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 30 Oct 2009 02:12:50 +0000 (02:12 +0000)]
tufte-handout.lyx:
- part is a valid section heading, (if you don't use it, you even won't see PDF bookmarks in the output)
- use starred section headings since the tufte classes by default omit numbers of section headings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31799
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Fri, 30 Oct 2009 00:33:56 +0000 (00:33 +0000)]
Standard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses the MultiPar property, it is necessary to set it correctly.
see r31793.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31798
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:28:08 +0000 (23:28 +0000)]
Fix part of bug #6251: When closing a buffer, only close the direct children. All grandchildren will be closed recursively by the children _and_ before it will be close by the grandparent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31797
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:22:50 +0000 (23:22 +0000)]
Dissect closeWorkArea and closeBuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31796
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:46:04 +0000 (22:46 +0000)]
Remove parameter from cur.reset(). All calls had buffer().inset() as parameter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31795
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:13:48 +0000 (22:13 +0000)]
These shouldn't be there as they have nothing to do with the layout of the Inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31794
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:08:05 +0000 (22:08 +0000)]
Text3.cpp: fix unintended fall-throughs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31793
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:06:27 +0000 (22:06 +0000)]
Move the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_BRANCH_ADD. Now, the sequence "branch-add A" + "branch-insert A" doesn't result in an undefined branch Inset in the document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31792
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 21:02:19 +0000 (21:02 +0000)]
Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31791
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Thu, 29 Oct 2009 13:36:22 +0000 (13:36 +0000)]
Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31790
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 29 Oct 2009 13:24:02 +0000 (13:24 +0000)]
Better fix for bug #6270. The outer braces are swallowed only for user
defined macros, so better use a brace inset only when strictly needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31789
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Thu, 29 Oct 2009 02:59:06 +0000 (02:59 +0000)]
tufte-handout.layout: the layout inherits everything from tufte-book, therefore remove unused code and load the tufte-book.layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31787
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 28 Oct 2009 23:51:42 +0000 (23:51 +0000)]
scons/scons_manifest.py: remove unneeded includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31786
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 28 Oct 2009 18:35:46 +0000 (18:35 +0000)]
CompareUi: set scaledContents, resave in 4.4 designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31785
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 28 Oct 2009 10:07:10 +0000 (10:07 +0000)]
remove special TEX2LYX code in Spacing,h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31783
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Wed, 28 Oct 2009 06:18:56 +0000 (06:18 +0000)]
Added FontInfo.cpp to tex2lyx sources to make it compilable again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31782
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 27 Oct 2009 23:07:50 +0000 (23:07 +0000)]
scons_manifest.py: fix SCons after r31772
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31781
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 19:51:30 +0000 (19:51 +0000)]
What we mean by a label in HTML output and what LyX means by a label
aren't the same thing, so we won't be generating default CSS for those.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31778
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 19:46:47 +0000 (19:46 +0000)]
We should have a default tag for InsetLayout, too, I think. So here it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31777
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 19:17:52 +0000 (19:17 +0000)]
Put the InsetLayout default CSS stuff to use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31776
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 19:17:44 +0000 (19:17 +0000)]
Shouldn't have removed this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31775
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 19:03:30 +0000 (19:03 +0000)]
Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31774
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 18:23:53 +0000 (18:23 +0000)]
A bit more cleanup, after JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31773
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 27 Oct 2009 16:16:15 +0000 (16:16 +0000)]
Move some functions that only required a FontInfo parameter from Font.*
to FontInfo.*
This allows tex2lyx to use the plain FontInfo object (via Layout), and to remove
several '#ifdef TEX2LYX' in the code
Reorder a bit the makefile in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31772
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 14:33:01 +0000 (14:33 +0000)]
Default CSS for InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31771
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 14:32:45 +0000 (14:32 +0000)]
Forgot this in a previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31770
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 14:14:24 +0000 (14:14 +0000)]
Renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31769
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:58:23 +0000 (13:58 +0000)]
We need to do some cleanup on the layout name before we can
use it as a class name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31768
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:39:39 +0000 (13:39 +0000)]
Fix up some of the HTML tags now that we have default CSS.
There's more to be done here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31767
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:30:53 +0000 (13:30 +0000)]
Add routine to create default CSS for layouts.
JMarc (or others), please check the #ifdef here. If you'd prefer to
do this some other way, let me know.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31766
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:29:26 +0000 (13:29 +0000)]
Rename some things to improve clarity.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31765
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:27:26 +0000 (13:27 +0000)]
Since LyX uses "INHERIT" as a default, we do not want it for HTML.
Also reformat things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31764
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 13:04:13 +0000 (13:04 +0000)]
Fix typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31763
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 27 Oct 2009 12:13:34 +0000 (12:13 +0000)]
Clearer function names, thanks to Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31762
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 27 Oct 2009 03:14:27 +0000 (03:14 +0000)]
tufte-book.layout: correct date of last change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31761
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 27 Oct 2009 03:12:18 +0000 (03:12 +0000)]
- tufte-handout: new layout
- tufte-book.layout; synchronize with the tufte-handout.layout
- tufte-book.lyx: add important note and improve the documentation according the example file for the similar tufte-handout class
- biblioExample.bib: new entry used by the tufte example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31760
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 27 Oct 2009 01:46:16 +0000 (01:46 +0000)]
new layout: tufte-book
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31759
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Tue, 27 Oct 2009 00:11:56 +0000 (00:11 +0000)]
Fix bug #6193: Crash when navigating away from an empty super/subscript.
I still don't know why it is that bad that this call is made below, but this seems to fix the problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31758
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Oct 2009 23:49:43 +0000 (23:49 +0000)]
Move (part of) LFUN_DISSOLVE_INSET into InsetText.
- put the InsetFlex specific part into InsetFlex,
- honor the argument given to the LFUN also for normal Insets as the description already stated,
- fix bug #6285: context menu action goes to the wrong inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31756
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Mon, 26 Oct 2009 22:21:07 +0000 (22:21 +0000)]
* InsetTabular.h: Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31755
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 21:35:35 +0000 (21:35 +0000)]
Initial work for the layout2css stuff. Basically, we have a routine
here, and lots of support, that writes font information to CSS format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31754
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 20:53:46 +0000 (20:53 +0000)]
Try to deal with one of the big problems here, namely, that we
can't just output Standard as <p>, or anything else, because we
have structures like:
this is text <branch>and more text</branch> and more
which would then come out as:
<p>this is text <p>and more text</p> and more</p>
So we use the OutputParam html_in_par to try to signal when we
are already in a paragraph. It is expected that we will need to
do some bug fixing here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31753
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 20:47:12 +0000 (20:47 +0000)]
Rename one output param and add a new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31752
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 20:45:29 +0000 (20:45 +0000)]
Move the defaults to Layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31751
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 16:13:09 +0000 (16:13 +0000)]
Some framework stuff for default-generated CSS.
The actual generation is still to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31749
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 26 Oct 2009 15:45:33 +0000 (15:45 +0000)]
fix linking of Compare.o with autotools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31748
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 26 Oct 2009 15:45:01 +0000 (15:45 +0000)]
fix Ui of GuiCompare to work with Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31747
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 02:51:51 +0000 (02:51 +0000)]
Allow the suppression of LyX's own labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31746
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 02:37:31 +0000 (02:37 +0000)]
Don't wrap empty labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31745
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 02:21:59 +0000 (02:21 +0000)]
This commit does two things.
First, it introduces some sensible defaults for the html
output; these are described in layout.h and implemented in
the openTag, etc, routines.
Second, it modifies the way standard environments are handled.
The previous version was outputing the label for each paragraph
of e.g. a theorem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31744
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 02:19:07 +0000 (02:19 +0000)]
Revert previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31743
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 26 Oct 2009 01:38:40 +0000 (01:38 +0000)]
- UserGuide.lyx: describe the new features
- preview size
- option for pilcrows
- English UserGuide.lyx: accept changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31741
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 26 Oct 2009 01:04:31 +0000 (01:04 +0000)]
Some initial HTML for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31739
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 25 Oct 2009 14:00:29 +0000 (14:00 +0000)]
Remove const modifier from the correct function.
see r31737.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31738
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 25 Oct 2009 13:56:44 +0000 (13:56 +0000)]
Don't set the read-only flags of the documents. The GuiCompare is modal anyway, so the user shouldn't be able to change something.
This reverts part of r31736.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31737
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 25 Oct 2009 13:41:46 +0000 (13:41 +0000)]
Call the Compare thread from the GuiCompare dialog.
Furthermore:
- increase safety,
- improve error handling,
- minor cleanups,
- set documents to read-only while running the thread.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31736
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sun, 25 Oct 2009 10:43:16 +0000 (10:43 +0000)]
Adds the threaded Compare class, which will eventually do the comparison between two documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31734
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 25 Oct 2009 09:28:02 +0000 (09:28 +0000)]
Fix warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31728
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sun, 25 Oct 2009 09:15:18 +0000 (09:15 +0000)]
* PrefDisplayUi.ui: add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31725
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 25 Oct 2009 02:22:36 +0000 (02:22 +0000)]
A couple comments and some very minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31720
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 25 Oct 2009 01:48:14 +0000 (01:48 +0000)]
Add an HTML output flavor, and do something with it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31719
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 24 Oct 2009 20:25:35 +0000 (20:25 +0000)]
More typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31718
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 24 Oct 2009 20:21:54 +0000 (20:21 +0000)]
Fix a couple typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31717
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 24 Oct 2009 18:21:39 +0000 (18:21 +0000)]
scons_manifest.py: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31716
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 24 Oct 2009 17:06:53 +0000 (17:06 +0000)]
* Makefile.am: add missing file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31714
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 17:04:09 +0000 (17:04 +0000)]
Change to camelbumpstyle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31713
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sat, 24 Oct 2009 16:49:42 +0000 (16:49 +0000)]
Remove unused compile script that dates back to my initial Qt4 port...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31712
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 16:17:24 +0000 (16:17 +0000)]
Make trunk compile for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31711
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 16:15:28 +0000 (16:15 +0000)]
set eol-styles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31709
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 24 Oct 2009 15:54:03 +0000 (15:54 +0000)]
Fix another problem related to bug #6284.
When pasting "# a" within \mbox{} through Ctrl+Shift+V, the space is
correctly retained. However, using Ctrl+Shift+V for pasting "^ a" into
\mbox{}, the space gets swallowed. This is fixed by this patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31708
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 15:47:05 +0000 (15:47 +0000)]
Adds the user interface for the new Comparison feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31707
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 14:57:28 +0000 (14:57 +0000)]
Add a global accessible function loadIfNeeded().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31705
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 14:20:00 +0000 (14:20 +0000)]
Changes in buffer_funcs.cpp::newUnnamedFile():
- the prefix can now be supplied,
- there can be more types of unnamed files,
- the code is made more concise,
- templatefile parameter is made optional,
- "newfile" is made translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31704
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sat, 24 Oct 2009 12:31:59 +0000 (12:31 +0000)]
Fix a typo and clarify the logic around the return value. Note that this
would allow us to do something after copying, if we should later want to
do that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31703
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 24 Oct 2009 00:55:28 +0000 (00:55 +0000)]
ext_copy.py: fix #6234 for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31698
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Sat, 24 Oct 2009 00:02:41 +0000 (00:02 +0000)]
Fix bug #6280: Wrong context menu is opened in an auto-opened inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31697
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 23 Oct 2009 16:50:40 +0000 (16:50 +0000)]
Disable forking on Mac OS X. This should fix crashes on Snow Leopard.
It would be better to
* detect OS X version at run time (how??)
or
* use proper threads for autosave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31696
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 23 Oct 2009 16:48:55 +0000 (16:48 +0000)]
Paragraph::write: buffer normal characters into a docstring, in order to reduce the number of calls to to_qstr().
THis leads to a big speedup of the buffer-write function (>60%). The goal is to make autosave less noticeable.
This patch should be safe as long as transforming a docstring to utf8 is equivalent to transforming the characters one by one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31695
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Fri, 23 Oct 2009 15:00:36 +0000 (15:00 +0000)]
Fix the rest of bug #6284.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31694
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Fri, 23 Oct 2009 09:01:51 +0000 (09:01 +0000)]
* LaTeXFeatures.cpp:
- do not eat space at the beginning of \lyxadded macro (bug 6282).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31692
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 21 Oct 2009 03:11:14 +0000 (03:11 +0000)]
installer: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31691
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Wed, 21 Oct 2009 03:08:18 +0000 (03:08 +0000)]
Tutorial.lyx: fixes of issues spotted by John Hudson and revision of the document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31689
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 20 Oct 2009 15:26:22 +0000 (15:26 +0000)]
Better fix for bug #6284. There's no need to check for spaces here
as they are already accounted for during the tokenization phase.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31687
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Tue, 20 Oct 2009 01:45:33 +0000 (01:45 +0000)]
tex2lyx/preamble.cpp: improve the fix from r31440:
- when languages are given in the documentclass options _and_ the babel options, babel takes the last language option of the \usepackage call
- there is no quote language "ngerman", it is in both cases "german"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31685
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 19 Oct 2009 23:44:11 +0000 (23:44 +0000)]
- gen_lfuns.py: reduce the space between items in LFUNs.lyx to save whitespace
- LFUNs.lyx: rebuilt with changed gen_lfuns.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31681
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Mon, 19 Oct 2009 23:11:36 +0000 (23:11 +0000)]
Fix bug #6284: missing space between # and text in math mode when using \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31680
a592a061 -630c-0410-9148-
cb99ea01b6c8