Commit Graph

14799 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e4c9689906 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27458 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 15:14:44 +00:00
Jean-Marc Lasgouttes
6419342fbf let Parser store the stream it is working on
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27457 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 15:09:59 +00:00
Jean-Marc Lasgouttes
fa3ea10057 break parser::tokenize in parts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27454 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:38:27 +00:00
Jean-Marc Lasgouttes
0aaed41dd7 rename man page
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27453 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:36:52 +00:00
Pavel Sanda
1f145abeb8 remove unwanted commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27452 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 14:13:14 +00:00
Abdelrazak Younes
ee3be72735 forgot this;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27451 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:59:42 +00:00
Abdelrazak Younes
fb41750883 gcc warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:56:39 +00:00
Abdelrazak Younes
b879aa5ade gcc warning fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27448 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:52:15 +00:00
Jean-Marc Lasgouttes
357a148282 remove stuff that was actually relevant to reLyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:20:33 +00:00
Jean-Marc Lasgouttes
3caf85d510 and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27444 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:11:44 +00:00
Jean-Marc Lasgouttes
c8b2234f39 move test files in their own directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27442 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:04:15 +00:00
Abdelrazak Younes
6b6d80212b remove unneeded header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 12:55:40 +00:00
André Pönitz
1516e79855 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27440 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 12:44:11 +00:00
Jean-Marc Lasgouttes
363d5e2d36 remove unused method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27438 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:46:05 +00:00
Jürgen Spitzmüller
16fee5c01d * InsetMathHull (eolString):
- revert rev. 27412. This is more complicated.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27437 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:04:35 +00:00
Pavel Sanda
44895b7c0d comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27430 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:39:15 +00:00
André Pönitz
95cd89f6d6 revert accidental change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27428 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:33:15 +00:00
Abdelrazak Younes
1c211e6473 lyxbreaker: don't crash in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27427 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:30:31 +00:00
André Pönitz
7ffa606290 introduce unneeded whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27426 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 16:16:45 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
André Pönitz
baa22609da latin1->utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27424 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:29:47 +00:00
André Pönitz
1fc477efac thrid attempt at changing the naming pattern of the intermediated 'mocced' files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 14:28:50 +00:00
Jürgen Spitzmüller
c8ecd8d24a * InsetMathHull (eolString):
- Properly escape non-ASCII characters in equation labels (bug 5512).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 10:05:07 +00:00
Jürgen Spitzmüller
233d7958a3 * Paragraph.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 20:24:08 +00:00
Jürgen Spitzmüller
3cc2dda65e * InsetLabel.cpp:
- no duplicate check for unchanged parameters (bug 5496).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 18:51:36 +00:00
Abdelrazak Younes
7e6af45b0d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5491 without reintroducing http://bugzilla.lyx.org/show_bug.cgi?id=5409 . The first part of r27162 was enough for fixing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:28:44 +00:00
Abdelrazak Younes
c8c3487036 MSVC/Cmake compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:22:42 +00:00
Richard Heck
b83564d82c Inset::textString --> Inset::tocString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 22:45:14 +00:00
Enrico Forestieri
3fe8463ddf Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467
(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 23:44:43 +00:00
José Matox
bd64e75489 Fix bug 5411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:17:35 +00:00
Jean-Marc Lasgouttes
4804b60f1c do not show Index contents in ToC (note that Inset::textString is only for this use)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 13:06:20 +00:00
Richard Heck
c573ab4976 Fix final default-module-related bug reported by Philippe. The comments
in the code should explain what the problem was.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-06 14:59:14 +00:00
Richard Heck
3ac4460c07 Forgot to change this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:46:22 +00:00
Richard Heck
362d6e468f This patch fixes a set of bugs reported by Philippe relating to excluded
and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:42:16 +00:00
Richard Heck
5e45cd4c44 Revert the last few patches. I'll commit a more general fix all at once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:32:37 +00:00
Richard Heck
3a9a0fc3e6 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:15:09 +00:00
Richard Heck
c94d0da408 More fixes for bugs noticed by Philippe.
We want to do all the excluding before we do any of the adding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:13:25 +00:00
Richard Heck
df475c2002 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:07:52 +00:00
Richard Heck
b0035f07b1 Fix bug reported by Philippe relating to excluded modules: Excluded
modules need to be removed before anything else is done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:01:59 +00:00
Jürgen Spitzmüller
b65ef30b34 * GuiDocument.cpp (formatStrVec):
- module names can have non-ASCII chars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:37:47 +00:00
Enrico Forestieri
5ec13cc15b Correct include dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:25:24 +00:00
Jean-Marc Lasgouttes
4e2c8c4f9b Make sure that the contents of the inset uses the buffer language (in order to
avoid the ugly blue line).

Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 16:40:18 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Stefan Schimanski
def9ca797c * style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:07:42 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Pavel Sanda
1b7ef75ccb Update headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 22:32:06 +00:00
Jürgen Spitzmüller
05a3f9b3f9 * GuiDocument.cpp:
* add some unicode FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:44:02 +00:00
Jürgen Spitzmüller
006f5683e0 * GuiDocument.cpp:
* module names and descriptions might contain non-ASCII chars, so
	  we must use translateIfPossible instead of the native _().
	  Alas, some manual conversion is necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:38:37 +00:00
Richard Heck
727f4b2ee8 Thinko. Fixes bug reported by Philippe Charpentier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 14:37:53 +00:00
Jürgen Spitzmüller
9d2f8a4c34 * GuiCitation.cpp:
- set initial focus (bug 5448).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 07:27:02 +00:00
Enrico Forestieri
0681cb4e60 Fixbug 5280
http://bugzilla.lyx.org/show_bug.cgi?id=5280


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:59:07 +00:00
Enrico Forestieri
33f0bb6ac3 Fix bug 5216
http://bugzilla.lyx.org/show_bug.cgi?id=5216


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 22:57:51 +00:00
Jürgen Spitzmüller
a73c6c72dc * InsetInfo.cpp (toolTip):
- use bformat for proper syntactic translatability
	  (the tooltips of this inset look rather weird in generals, though).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27242 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 17:36:28 +00:00
Jean-Marc Lasgouttes
84395acfb5 * insets/InsetText.cpp (addToToc):
* TocBackend.cpp (updateItem): pass option AS_STR_INSETS to asString,
	so that insets get a chance to be displayed in ToC.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:47:12 +00:00
Jürgen Spitzmüller
043c362dab * output_latex.cpp:
- slightly change FIXME comment. This only applies to the newly added condition.
	  The other conditions should be left untouched, even if we find a way to access the TeXRow.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:43:33 +00:00
Richard Heck
ff9d8584f9 Fix bug 5436, at least for the time being.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 13:07:30 +00:00
Jean-Marc Lasgouttes
7356fcd2cf Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5339
* InsetInfo.cpp (updateInfo): insert the text using inherit_font
	so that there is not an extra \textsf output to LaTeX; change
	"shortcut" to display the first shortcut, not the last (if only
	to be consistent with menus).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 11:12:52 +00:00
Jean-Marc Lasgouttes
7f61a18d2b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5421
* GuiKeySymbol.cpp (print): when asked for Portable representation of
	KeySequences, qt outputs Ctrl+x instead of Command-x. Therefore, we 
	we do it by hand.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:55:50 +00:00
Jean-Marc Lasgouttes
247113c819 revert r27209 (for real)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:08:01 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Stefan Schimanski
97740523fe * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5396
On Mac clicking on a LyX file in Finder might open another GuiView which is
  asked to open the file. The reload logic though closes this and the dispatcher
  will run into a current_view_ which is null (until the other GuiView gets the
  focus again).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:25:59 +00:00
Stefan Schimanski
4040382f46 * fix for r27091: draw the newly created pixmap. The reordering of the code has removed this case. So much about trivial program transformation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 07:40:18 +00:00
Jürgen Spitzmüller
10e05161fb * InsetWrap (updateLabels):
- use master buffer if necessary (fixes bug 5431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-02 16:49:48 +00:00
Dov Feldstern
13cf13c690 fix a bug in visual cursor movement
The setting of boundary need to take the paragraph's direction (LTR/RTL) into
account.

This bug was discovered by Vincent, while trying to solve bug #5061.

While this fixes the original manifestation of bug #5061, it doesn't really
solve the underlying issue, which is that on a boundary, after typing
Ctrl-Enter, the cursor is painted on the same line as the newline symbol
rather than on the new line. See bugzilla for further discussion of this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-01 17:00:58 +00:00
Richard Heck
fe25e93e92 Whoops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-01 14:45:39 +00:00
Richard Heck
87dbdca653 Add some constness and remove some useless code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 23:32:52 +00:00
Edwin Leuven
864fd8d7de fix broken layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 18:21:46 +00:00
Richard Heck
3f4cab9808 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 16:41:52 +00:00
Richard Heck
bd9cdad48f Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:37:34 +00:00
Richard Heck
ae9ef7c30f If we're doing this test elsewhere, we should also do it here.
(All of these commits, by the way, are just stuff I'm stumbling
across while trying to deal with the newline bug.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:36:08 +00:00
Richard Heck
ce379265a6 Some FIXMEs for later, and a little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:33:48 +00:00
Enrico Forestieri
28fe97b553 Avoid creating bad math insets with Ctrl+M
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 15:19:39 +00:00
Richard Heck
fa4801bdc9 This was the wrong check.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:58:53 +00:00
Richard Heck
262ca78599 A (very) little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:53:49 +00:00
Richard Heck
2ace7ba9e6 Fix doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27211 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 14:13:44 +00:00
Jean-Marc Lasgouttes
d8265b90fe make sure that exported tex files are "nice" even in literate format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 13:53:58 +00:00
Jean-Marc Lasgouttes
adf48d1f51 Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5421
Make InsetInfo shortcuts use Portable representation of KeySequence.

	* KeyMap.cpp (printBindings): add format parameter

	* LyXFunc.cpp (sendDispatchMessage):
	* insets/InsetInfo.cpp (updateInfo): adapt.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 11:19:16 +00:00
Jean-Marc Lasgouttes
53fdda3e7a fix crash when filtering layout combox with non-ascii character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 09:26:59 +00:00
Uwe Stöhr
e47d4dee70 output_latex.cpp: revert last commit as it is too risky so short before the release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 01:26:11 +00:00
Uwe Stöhr
1a4e481111 output_latex.cpp: fix regression, reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145738.html
I tested it carefully but in case this makes problems, please revert this immediately.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27205 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 23:19:21 +00:00
Pavel Sanda
de7c7ea360 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5430 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145723.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27197 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 13:47:41 +00:00
Richard Heck
76c074f19a Fix for 5429 from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 11:49:18 +00:00
Abdelrazak Younes
84eec959c5 Revert 27186 which fixed an invalid bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27189 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 15:33:52 +00:00
Jean-Marc Lasgouttes
da83b636ea when showing full source, do not define \input@path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27188 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 14:04:10 +00:00
Jean-Marc Lasgouttes
673c2a3ec5 remove obsolete workaround
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27187 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 13:42:09 +00:00
Abdelrazak Younes
8939303131 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5392
The problem is that, for an unknown reason, an InsetMathHull is used *inside* an InsetMathHull. This is the reason why we have two levels of instant preview. I don't know if that was intended.

When moving the cursor, only the doDispatch() of the enclosing InsetMathHull is
called, not the inner one; so we don't have a chance to detect that the inner InsetMathHull should leave its preview mode.

The new leavePreview() method ensures that the screen will be redrawn if needed with cursor movement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27186 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 09:24:54 +00:00
Abdelrazak Younes
46b4a8428b Style, const access and small optimizations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27185 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-29 08:03:26 +00:00
Abdelrazak Younes
db062da6cb revert hazardous part of r26957 and add a comment, take 3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 18:00:21 +00:00
Abdelrazak Younes
2f3fcfcb66 revert hazardous part of r26957 and add a comment, take 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:55:00 +00:00
Abdelrazak Younes
070d75f1c6 revert hazardous part of r26957 and add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:51:08 +00:00
Abdelrazak Younes
bc79c203a9 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5423
This regression was introduced by at r26957, sorry about that.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27168 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 17:41:56 +00:00
Richard Heck
4fb3e609d0 A little const'ness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 16:02:33 +00:00
Richard Heck
f7acec3bdc From Vincent:
> Hi all, 
> > 
> > A. 
> > 1. create a new document (doc1),
> > 2. insert a label,
> > 3. insert a cross-ref
> > 4. create a new document (doc2)
> > 5. insert a cross-ref (in doc2)
> > then the labels in the cross-ref dialog are those from doc1.
> > 

This is solved by the attached patch.

We should not restore the last used buffer if the active buffer has
changed. Especially not when you cannot choose the buffer which is now
still the case.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 15:38:28 +00:00
Richard Heck
f771d9a994 This is a conservative fix for the layout setting bug discussed in
this thread:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145547.html
The more dramatic fix suggested there can wait.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 14:11:24 +00:00
Abdelrazak Younes
0b0f0942c0 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5409
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 06:46:27 +00:00
Enrico Forestieri
b92e30fbdd Remove dead code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 23:09:08 +00:00
Pavel Sanda
194f14bf65 Fix the worst part of http://bugzilla.lyx.org/show_bug.cgi?id=5409 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 14:54:53 +00:00
Jean-Marc Lasgouttes
a47deb4897 fix warning and reindent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 10:36:38 +00:00
Stefan Schimanski
09399b45f7 * Trivial fix to set the icon size to normal, not 32 as Qt sets it by default on Mac (fixes #5388)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 09:06:50 +00:00