Commit Graph

26724 Commits

Author SHA1 Message Date
Richard Heck
0e2828917b Utility functions for converting preference files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37230 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 19:51:02 +00:00
Richard Heck
4f4a8203b3 Fix bug #7239, or at least try to do so. We need to output the command
here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37229 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 19:14:14 +00:00
Kornel Benko
7381892892 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37228 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 18:13:37 +00:00
Peter Kümmel
d9a4a443e7 return empty EdgePath() on error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37227 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 09:53:56 +00:00
Richard Heck
a26dd20159 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37226 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 04:02:59 +00:00
Richard Heck
f97bc9b9e7 A little more work on prefs2prefs.
More to come, Pavel!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37225 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 03:59:43 +00:00
Peter Kümmel
726b602329 start the timer in the correct thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37224 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 22:39:46 +00:00
Peter Kümmel
b5216b25f7 update other build systems, use lyx::Mutex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37223 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 21:40:09 +00:00
Peter Kümmel
06f26e85df Fix crash on Windows:
1. open LYX
2. CRTL-N
3. CRTL-D hold D --> crash

Graph must be thread save to fix this.

And for sure, we need a mutex also later.

Mutex is a simple wrapper around QMutex, with
pseudo-value semantic.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37222 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 21:06:28 +00:00
Pavel Sanda
aac2310ea0 Some very old spots from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:51:20 +00:00
Pavel Sanda
a33aa0632d Make sweave example working. Patch from Liviu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37220 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:30:02 +00:00
Pavel Sanda
9d76ec23d5 Add comment to sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:11:02 +00:00
Pavel Sanda
6aca54134f add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37218 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:06:13 +00:00
Peter Kümmel
e1f8907816 fix #7240 Random crashes: iconv() is not thread save
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37217 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 19:52:55 +00:00
Stephan Witt
fa632bfd7e make thesaurus usable for readonly documents
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37216 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 12:09:23 +00:00
Pavel Sanda
ce7a4d2e2b * id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 08:10:50 +00:00
Georg Baum
7a74bbf06b Ignore \protect if it is directly in front of \LyX{} (otherwise it would
accumulate for each round trip, since LyX  writes \protect if needed)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37214 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 20:06:15 +00:00
Georg Baum
cfd6767ec1 Import notefontcolor (one more step towards a working roundtrip for the LyX documentation)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37213 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 20:00:55 +00:00
Richard Heck
1b98ec3e99 Don't need these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 18:25:00 +00:00
Pavel Sanda
61b931596d * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37211 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 17:49:56 +00:00
Pavel Sanda
c317b59ea9 * id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37210 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 07:29:19 +00:00
Richard Heck
35540efe52 Allow the warning to be disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37209 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:31:14 +00:00
Richard Heck
b0676249eb Update to documentation concerning unavailable packages, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37208 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:25:10 +00:00
Richard Heck
28e08b23e2 Fix bug #7044: Better error messages when modules are unavailable. Patch
from Julien Rioux, modified by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37207 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:19:14 +00:00
Richard Heck
1b263187cd Proper longtable support for XHTML output. This fixes bug #6995.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37206 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:04:52 +00:00
Enrico Forestieri
ca2ee03ba1 Fix bug #7231 (Math macro arguments miss braces when input into a file)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37205 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:01:29 +00:00
Richard Heck
eb26d1f2d2 These do sometimes get called when we do not know whether it is a
longtable or not, e.g., in the docbook and xhtml output routines.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37204 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 20:19:15 +00:00
Richard Heck
790f75759b This should be const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37203 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 18:30:24 +00:00
Richard Heck
b0eaa25e77 Doc for NoCounter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37202 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 15:52:59 +00:00
Richard Heck
4def4c34de Fix #7238.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37201 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 15:46:53 +00:00
Peter Kümmel
a874b38455 no shared lyx libraries are supported
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37200 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 14:31:02 +00:00
Richard Heck
152aba682f OK, the previous idea, that we don't need to check the masters of other
counters, was silly. So here we do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37198 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 01:47:41 +00:00
Richard Heck
1ff710d0b6 Add comment.
The reason we don't need to do what I say we don't need to do is that a
given counter doesn't really care about whether it has a master. It's
when the master is stepped that we check for which other ones to reset.
So if the master doesn't exist, nothing will happen, anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37197 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:22:06 +00:00
Richard Heck
874e867953 Update all layouts to format 31.
Should have done this first!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:20:07 +00:00
Richard Heck
a9411446ee Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:19:02 +00:00
Richard Heck
d32ed4ff4e Add NoCounter lines to inc files that need them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:12:28 +00:00
Richard Heck
49436e4c2d Add NoCounter layout tag. When working on output of equation numbers, I
noticed that article, for example, still has a counter "chapter". This
surprised me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:53:41 +00:00
Richard Heck
4b1777d2fa Inset::addToToc() can and should be const. It wasn't, I take it, because
of things like:
  pit.push_back(CursorSlice(*this));
which I've had to change to:
  pit.push_back(CursorSlice(const_cast<InsetCaption &>(*this)));
and similarly in a few other places.

If anyone thinks we should instead have:
  explicit CursorSlice(Inset const &);
then we can also do that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37192 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:23:27 +00:00
Georg Baum
7c83f74f26 Exclude more conditional commands from preamble parsing:
LyX would output the parsed stuff unconditionally, so we must not translate
it in LyX document settings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37191 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:03:15 +00:00
Richard Heck
ee351906e0 Fix bug #7230. Changes at r36974 had not been done properly. But this is
better than what we had, anyway, since we do not calculate the tocstring
unless we need it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37190 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:25:45 +00:00
Georg Baum
b8d6c10e6c add list of missing tex2lyx features
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37189 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:19:01 +00:00
Georg Baum
acd57ccaaf Fix language handling in tex2lyx:
- Add missing babel synonyms (taken from a standard TeXLive 2010 install).
  Some synonyms might still be missing (if they are defined not by babel
  itself, but additional packages). Adding these is now simple: Only
  known_languages and known_coded_languages need to be touched.
- Translate babel language name arguments of \foreignlanguage and
  \selectlanguage to LyX names.
- Translate second argument of \foreignlanguage to LyX.
- Cleanup mixed language names in the preamble parser: Now all checks are
  done with LyX names, not a mix of babel and LyX names. This sets correct
  quotes even if the language as given as an alias.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:04:39 +00:00
Georg Baum
c99a8a702c Fix bug #7233: amsthm does not work with the redefined \[ command of fixltx2e.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37187 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 19:54:46 +00:00
Richard Heck
645f9fdf6d Fix bug #6894. We save counter information during updateBuffer(), and
then output \setcounter macros during snippet generation, so that we get
the right equation values.

Note: It would be possible to use this same machinery to fix bugs in
instant preview, e.g., that you always get things like (0.3) as equation
numbers, if you use equations numbered by section. I'll perhaps post a
patch for that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 16:04:59 +00:00
Richard Heck
f1a54ebe18 Complete fix for bug #7225.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37185 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 13:50:46 +00:00
Richard Heck
f3c472e769 Remove obsolete comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37184 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 13:40:47 +00:00
Pavel Sanda
a20882a270 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 13:30:34 +00:00
Pavel Sanda
2e3953cb03 Update enumitem module and add documentation for it.
From Guenter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 10:12:14 +00:00
Richard Heck
68c43a2b18 XHTML output was a mess for grids output as LaTeX. This will probably
still be a mess in many cases, but hopefully we won't have to go here
very often.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37181 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-11 23:55:20 +00:00
Richard Heck
fe9aabf34a Fix equation number output for MathML+HTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37180 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-11 23:34:59 +00:00