Commit Graph

14649 Commits

Author SHA1 Message Date
Pavel Sanda
c697f9f6b9 Small glitch in RCS registering procedure, useless parse of wrong file (part of 5389).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 01:06:24 +00:00
Pavel Sanda
232564ed12 Change debug message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 00:27:31 +00:00
Enrico Forestieri
cb2933147c The LaTeX control space "\ " is a special char, too. In mathed, it should
be represented on screen as a visible space rather than as an empty macro.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 18:32:25 +00:00
Richard Heck
6b0e349980 Revert r27129. We can't get rid of these until we have something else positive to do.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 16:05:19 +00:00
Jürgen Spitzmüller
57e1ab3e63 * GuiDocument.cpp (less_textclass_avail_desc):
- fix bug 5410 (use translateIfPossible() instead of _() for strings that come from
	  layout files).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 09:48:11 +00:00
Richard Heck
d6f1915684 This optional argument to the InsetCollapsable constructor
is more trouble than it is worth.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:25:57 +00:00
Richard Heck
2e81620979 The last commit was, uhh, not what I intended.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 02:14:30 +00:00
Richard Heck
9e3b4803fe The two lines deleted here attempt to call virtual functions from a constructor. They have no effect, basically. Patch that does what these try to do forthcoming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 01:18:26 +00:00
Richard Heck
e275289600 Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:41:39 +00:00
Richard Heck
90d118cf56 Fixme comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27112 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:25:46 +00:00
Richard Heck
fec782342f At least partially fix problem noted by Vincent. We were being over-agressive
with the fix at r26163.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27111 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 15:10:54 +00:00
Richard Heck
976a59af1b Fix another part of 5403, again to do with case sensitivity.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 14:02:25 +00:00
Richard Heck
53252839ea Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27105 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:41:02 +00:00
Richard Heck
70d5f953c9 Fix for another part of 5403, and related bugs, anyway. The InsetLayout
tags should not be so case-dependent, and we ought to use an Enum instead.
of relying upon string comparisons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:32:54 +00:00
Abdelrazak Younes
05168225c4 bug fix from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27103 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:27:53 +00:00
Richard Heck
1104cd200c Fix from Vincent for citation display issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27102 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:26:30 +00:00
Richard Heck
bdc1d80151 More general fix for part of 5403.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 12:49:49 +00:00
Pavel Sanda
e4808961c9 Another selection painting patch, PainterInfo::backgroundColor introduced.
Patch by Vincent.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145438.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 10:47:38 +00:00
Uwe Stöhr
bed3844f30 InsetLayout.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5403
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27095 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 01:55:55 +00:00
Uwe Stöhr
b18251d61b LayoutFile.cpp: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27093 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 00:01:36 +00:00
Uwe Stöhr
fea9fef1dc Text3.cpp: comment by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 23:09:27 +00:00
Stefan Schimanski
d51c31ca85 * complete fix for #5327: switch back to normal drawing code if the cache
pixmap would have non-positive width or height.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 22:49:17 +00:00
Uwe Stöhr
2a69828508 Text3.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5166, patch by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27090 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 20:56:38 +00:00
Pavel Sanda
b309ee82a0 Fix bug 5399.
Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27087 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 16:59:11 +00:00
Jean-Marc Lasgouttes
754ead5010 Fix bug 5310: http://bugzilla.lyx.org/show_bug.cgi?id=5310
* BufferView.cpp (dispatch): make sure to repaint the document after
	jumping to a new change.
	* lyxfind.cpp (findNextChange): do not ignore the last character when 
	a change extends to the end of an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 15:46:44 +00:00
Abdelrazak Younes
de94db1bcb Attenuate bug 4346 impact: crash -> assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27079 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 08:49:31 +00:00
Pavel Sanda
bdd405d70d * doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27072 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 23:09:44 +00:00
Stefan Schimanski
0334876ca6 * temporary fix for the crash of the pixmap cache on Mac with Qt 4.4.
A better patch will follow soon, but this should go in for rc4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:47:11 +00:00
Stefan Schimanski
e8d264e998 * don't rely on the restartCursor call to update the dialog on fullscreen switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:53 +00:00
Stefan Schimanski
df79293cc1 * fix fullscreen TOC switching between dock and drawer mode on Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27063 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:03 +00:00
Enrico Forestieri
62530e98e0 Get rid of superfluous conversions and else statement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27062 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 19:30:51 +00:00
Jean-Marc Lasgouttes
0790ad1b72 fix bug 5349: properly quote InsetInfo argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27055 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 13:12:19 +00:00
Jean-Marc Lasgouttes
78cd051f4a Revert r27051 because:
(1) I do not owe pavel a beer

(2) I removed the assert in isLoaded instead

(3) this fix is wrong anyway since there are other calls to this method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:35:20 +00:00
Jean-Marc Lasgouttes
536f1d4878 remove useless assertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27052 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:25:52 +00:00
Richard Heck
ba396d2966 Fix suggested by Abdel. JMarc owes Pavel a beer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27051 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 12:21:12 +00:00
Jean-Marc Lasgouttes
616d27a377 clean-up other uses of buffer in LyXFunc::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27047 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 07:08:12 +00:00
Jean-Marc Lasgouttes
9c0f812e8d make sure in LyXFunc::dispatch that we handle undo groups and undo flags on the right buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27046 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 06:59:31 +00:00
Enrico Forestieri
7d4ec3f944 Fix bug 5393
http://bugzilla.lyx.org/show_bug.cgi?id=5393


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27044 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:48:06 +00:00
Enrico Forestieri
bcf3db2dd5 Initialize return variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27043 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:39:13 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Stefan Schimanski
82e603cf0c * create a new window for a help file if there is none
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27024 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:15:09 +00:00
Stefan Schimanski
90ea041ada * create global Mac menu just before filling it (fixes #5217)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27023 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:14:30 +00:00
Stefan Schimanski
eb80fcdf69 * fix crashing special menu items on Mac after preferences have been changed.
* fix duplicated special menu items in Mac (fixed bug #5168)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27022 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:02:09 +00:00
Enrico Forestieri
946287b882 Fix bug 5263
http://bugzilla.lyx.org/show_bug.cgi?id=5263


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27020 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 09:11:42 +00:00
Jean-Marc Lasgouttes
ee81b844d3 remove useless comments in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 21:27:12 +00:00
Jürgen Spitzmüller
9c432a9935 * output_latex.cpp:
- fix CJK nesting in child documents (bug 5358).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27014 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 17:03:49 +00:00
Stefan Schimanski
c8f87b06fb * Added Uwe's comment and a word about \global
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27013 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 15:44:15 +00:00
Jean-Marc Lasgouttes
a9e54b7ece inset-edit should not make a buffer dirty (it edits the external files used by the inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27012 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 13:24:22 +00:00
Stefan Schimanski
5baf9d3f20 * use \long for \def macros (fixes http://bugzilla.lyx.org/show_bug.cgi?id=5371, patch due to Uwe)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27011 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 13:04:22 +00:00
Edwin Leuven
29f052bc3d make error dialog more comprehensible:
1. selects the 1st error so that the error message shows
2. adds labels to the listwidgets in the dialog
3. adds a tooltip to the error listwidget

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27007 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 09:07:15 +00:00