Commit Graph

19661 Commits

Author SHA1 Message Date
Kornel Benko
e307b60811 Revert the not needed part for 'Run in place', as it was already done
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38805 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 14:15:55 +00:00
Kornel Benko
9190519e98 1.) Run in place feature: If everything fails, try with source path
2.) Read the PATCH_VERSION from configure.ac too
3.) Ident-text in script


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38804 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 13:48:45 +00:00
Vincent van Ravesteijn
a522dd5035 Whitespace: correct whitespace after r38779 and r38789.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38799 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 10:44:27 +00:00
Peter Kümmel
282c245c20 cmake: also fixup on win32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38794 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-20 22:26:46 +00:00
Richard Heck
ddc585317c Revert r38779. I guess even the most innocent seeming of these will need more work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38789 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 11:56:36 +00:00
Stephan Witt
46d1f8a03c #7564 move the text cursor to the end of the word after replace of the misspelled with suggested text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38786 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 05:54:47 +00:00
Stephan Witt
56960daa7c #7564 add new argument to the documentation of LFUN_WORD_REPLACE, make the default of the new argument backward compatible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38785 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-19 05:50:55 +00:00
Stephan Witt
cec318896c #7564 make the move forward to next match after text replacement optional and suppress it when replace a word by selected suggestion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38781 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-18 20:33:57 +00:00
Peter Kümmel
4e922727e6 cmake: fix .dmg creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38780 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-17 21:53:05 +00:00
Richard Heck
17af57ed0c This should not need doing, as we are called from
BufferView::dispatch(), and the screen update is done properly there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38779 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-17 01:58:52 +00:00
Richard Heck
08cfe6c46b Check the return status of Lexer::setFile().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38778 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-16 18:17:39 +00:00
Peter Kümmel
41a0adcb47 cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38765 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-15 13:21:18 +00:00
Peter Kümmel
b4fc66621d improve function name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38756 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 13:03:48 +00:00
Peter Kümmel
1af61e659c run in-place: don't speculate where the lyx binary is, search for it at the common places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38753 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 12:26:11 +00:00
Peter Kümmel
145680fcf2 cmake: more logs for intl support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38751 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 09:26:47 +00:00
Peter Kümmel
1e7e6fd8e9 cmake: sorry for the noise, seems may source dir was not clean
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38749 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 07:47:18 +00:00
Richard Heck
605d3121f8 Minor fixups thanks to Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38744 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 22:26:35 +00:00
Richard Heck
78a623e3d6 The point of the previous commit: We just need the params here, not
the whole buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38743 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 19:40:04 +00:00
Richard Heck
5db4b7eb16 Move a bunch of code from Buffer to BufferParams. The point of this
is contained in the next commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38742 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 19:39:56 +00:00
Enrico Forestieri
f4919265f1 Warn user about the TeX engine detection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38740 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 13:07:25 +00:00
Enrico Forestieri
6d7bfd663b Fix bug #7557 (TeX engine cannot be switched on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38739 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 12:31:19 +00:00
Enrico Forestieri
249639fe9c actOnUpdatedPrefs: In order to act on updated preferences, actually do as done
in LyXRC::write(), i.e., by listing RC_LAST as the first item in the switch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38738 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 11:47:38 +00:00
Enrico Forestieri
1139d6cb87 For consistency, use lyxrc_new (which is a reference to lyxrc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38737 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 09:40:38 +00:00
Enrico Forestieri
2095c85fa2 Make actOnUpdatedPrefs() actually act on updated preferences.
Always wondered why I had to restart LyX after changing the PATH prefix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38736 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 09:29:48 +00:00
Enrico Forestieri
9f0642d975 Remove NOOP code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38735 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-13 09:18:54 +00:00
Enrico Forestieri
129e00aa24 Fix bug #7553 (Crash on latex import, also on html import)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38734 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 23:08:50 +00:00
Peter Kümmel
eef204ca33 cmake on mac: also build with LYX_NLS=0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38733 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 22:06:06 +00:00
Peter Kümmel
e481d312f0 cmake on mac: build with internal libintl, cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38730 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 21:25:56 +00:00
Peter Kümmel
6a953f81ad cmake on mac: build with external libintl, find gettext, build merged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 21:11:35 +00:00
Richard Heck
da03e5b1c4 Make sure we do not crash here in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38720 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:28:23 +00:00
Richard Heck
d7de1f2a1e Fix XHTML output for fractions and fix a crash reported on the list
by Jan Paul Imhoff. The problem was that we were assuming (as we still
do in some places) that there are always at least two cells.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38717 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:16:36 +00:00
Tommaso Cucinotta
b5399db9c5 Fixing positioning of cells in multi-row align environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38714 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 19:44:27 +00:00
Tommaso Cucinotta
bca9a6ca73 Fix #7549, due to a problem in exporting to plaintext a
multicell inset, where we now export all of the cells
separated by "\t", instead of only the first cell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38712 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 18:59:54 +00:00
Richard Heck
6a18a06673 Fix multirow output for XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38706 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:20:24 +00:00
Richard Heck
929b7a7d31 Fix bug #7547. We need to check whether we are in a multirow here.
Otherwise, we were asking to construct strings of random size at a
certain point, e.g., two 2GB strings, in one case I saw.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38704 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:12:00 +00:00
Richard Heck
88cdfb0d42 Fix bugs #7110 and #7160 by reverting r36521.
This was an attempt to fix #2743 without re-working the InsetBibitem
mess. It didn't work, so we have to do that.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38702 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 12:44:39 +00:00
Kornel Benko
5c1666c0e1 In colaboration with Stephan Witt, adapted to our libintl to MAC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38695 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 19:18:44 +00:00
Peter Kümmel
897edc10c0 cmake: move CMakeLists.txt into source dir (multiple steps)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 17:44:41 +00:00
Abdelrazak Younes
33f7c028a2 gcc 4.5 warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38687 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 15:03:49 +00:00
Enrico Forestieri
cdb1f9a000 Add tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38686 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 10:08:02 +00:00
Enrico Forestieri
1717ef203c Introduce the possibility of setting a prefix for the TEXINPUTS environment
variable. This is done in the preferences, much like as the PATH prefix.
A single '.' in the paths will get replaced with the current document dir
and also non-absolute paths will be prefixed with that dir.

The default semantics of TEXINPUTS apply, such that, for example, if a
path is terminated with a double slash, all subdirectories will be also
searched by both the TeX engine and ancillary programs such as dvi
previewers or dvips. As an example, if the prefix is set to ".:figs", the
TEXINPUTS variable will be set as ".:<docdir>:<docdir>/figs:$ORIGTEXINPUTS",
where <docdir> is the document directory.

The initial '.' is necessary to address the actual current dir (this will
be the temp dir at preview time), while if TEXINPUTS was initially unset,
such that $ORIGTEXINPUTS is empty, a colon (or semicolon on Windows) will
end the path list. This is very important, because we don't want to replace
the system directories but to complement them and, in order to do that, an
empty element has to be present in the list. Indeed, according to the
TEXINPUTS semantics, an empty element means the standard search path.
This works whether TEXINPUTS is originally set or not, because if the
original TEXINPUTS starts with a colon (meaning that the standard search
path is wanted there) we will have an empty element at that point,
otherwise the final colon will simply serve as a path separator.

Of course, on Windows a ';' has to be used as a path separator. LyX will
take care of transforming the platform path list into one understandable
by the TeX engine. For example, this will be the case for a Cygwin version
of LyX using a native Windows TeX engine or viceversa. I tested all of
this and it works for me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38681 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 23:25:51 +00:00
Richard Heck
161e60b7ea Fix for bug #7319. This is an attempt to fix the bug cheaply.
We clear the refernce cache so that we won't get conflicts with labels
that get pasted into the buffer. We should update this before its being
empty matters. If not (i.e., if we encounter bugs), then this should
instead be:
  cur.buffer().updateBuffer();
But we'll try the cheaper solution in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 23:23:24 +00:00
Richard Heck
3526e67e24 We need to do the update here simply because of the inset deletion.
It must have been wrong before the updateBuffer() refactoring, too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38676 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 21:50:35 +00:00
Richard Heck
45b57a0966 Fix crash reported by John Kennan.
We are missing the updateBuffer() call when we go through
mouseEventDispatch(). A consequence of the massive updateBuffer()
refactoring. Wish it had been caught before...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38667 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 18:05:31 +00:00
Edwin Leuven
3034bc266d ensure that latex output for decimally aligned columns does NOT depend on cached metrics info (the member decimal_width)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38655 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 12:33:32 +00:00
Tommaso Cucinotta
c23eef3abf Still addressing #6560: instead of cloning the BufferParams, which might cause
a number of unforeseen issues (like the inheritance of the default master, as
pointed out in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg168225.html),
now we simply set the language into the search & replace buffers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38647 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 23:51:44 +00:00
Pavel Sanda
84f3f109d3 typo, closing #7427
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38642 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 12:28:54 +00:00
Georg Baum
eed26c2ca6 Fix bug #7511 by moving the old label instead of creating a new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 11:19:55 +00:00
Georg Baum
8356e9e2c0 remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:56:53 +00:00
Georg Baum
467bf135e9 Partial fox for bug #6622: Display \undertilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38636 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:23:56 +00:00