Commit Graph

29054 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
4fcbb93e39 Do not give access to the actual data of the CoordCache. This prevents the use of the stored pointers which might be invalid.
See also r38011.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38012 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 17:43:13 +00:00
Vincent van Ravesteijn
f4767138de Fix bug #7376. After deleting an inset, we try to update the screen using the singlePar optimization. One of the consequences is that the coordcache is not refreshed. Therefore, it is possible that the pointers to the insets in the coordcache are invalid and we should not access inset->name().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38011 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 16:25:43 +00:00
Pavel Sanda
5f15aabfe2 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38010 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:49:45 +00:00
Pavel Sanda
558e2169bc Forget makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38009 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:30:53 +00:00
Pavel Sanda
c24093a9cf Kill classic.ui, which is for years unmaintained
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg166534.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38008 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:30:10 +00:00
Pavel Sanda
0c1a8fd4f2 Move unmaintained bindings to attic
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg166533.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38007 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:28:55 +00:00
Pavel Sanda
40ad67e5f1 comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38006 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 14:52:18 +00:00
Pavel Sanda
ed0d9b23cc Sv updates from Jim Rotmalm
* sv.po, splash.lyx
- added Shortcuts.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38004 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 14:36:57 +00:00
Pavel Sanda
44c0b9d7da Fix samba related crashes
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg166543.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38003 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 14:28:23 +00:00
Jürgen Spitzmüller
a671dc5851 try to clarify a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38002 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 14:15:46 +00:00
Enrico Forestieri
64bdffbac4 Let the icon set decide what the normal size is, but bound it to the
range between the hardcoded small and large sizes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38000 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-22 23:41:26 +00:00
Jürgen Spitzmüller
1546326762 * de.po: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37997 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-22 16:57:48 +00:00
Jürgen Spitzmüller
546333d1ed * de.po: better translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37993 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-22 16:24:16 +00:00
Jean-Marc Lasgouttes
6b88f5bcb7 streamline hunspell checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37988 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 22:30:36 +00:00
Jean-Marc Lasgouttes
30d9ea948b whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37987 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 22:30:17 +00:00
Jean-Marc Lasgouttes
5b2b94fe95 Do not forget to save menu=export format flag to LyXRC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37986 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 22:25:47 +00:00
Georg Baum
013b2c5be0 small preparation for the layout translation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37985 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 19:11:53 +00:00
Jean-Marc Lasgouttes
edd51121d8 Almost finish fixing bug http://www.lyx.org/trac/ticket/6623
Now we specify the output file for sweave explicitely for robustness reasons.
We also specify prefix.string (in order to have the temp files generated in lyx tmp directory.

The only annoying file now is Rplots.pdf, but I am not sure why it is generated... 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37984 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 14:48:22 +00:00
Joost Verburg
7832d3c275 Windows XP or later is required
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37982 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 10:22:32 +00:00
Pavel Sanda
e966a492ae Note from Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37980 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 00:46:15 +00:00
Joost Verburg
2851d2c0a6 add Python logging lib
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37979 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 22:26:03 +00:00
Joost Verburg
3fa21f5637 fix appending of path prefix to lyxrc.dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37978 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 22:19:54 +00:00
Abdelrazak Younes
c0c7729a83 coding style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37977 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 15:44:40 +00:00
Georg Baum
85df237aff fix bug 7351 part 3: Do not count inline formulas for eqn number counter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37976 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 12:12:08 +00:00
Jürgen Spitzmüller
729ac126be * LaTeXFeatures.cpp (getI18nPreamble):
addition to r37974: if English is used as a secondary language, we have to propose an English translation,
	since the original string is in the document's main language!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37975 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 11:39:02 +00:00
Jürgen Spitzmüller
a9878d52ed * LaTeXFeatures.cpp (getI18nPreamble):
- do not propose translations for bultin floats (they are translated anyway)
	- only propose translations for floats if we have something different to the English source

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37974 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:50:43 +00:00
Pavel Sanda
ef0c490d4d Yet another update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37973 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:49:11 +00:00
Pavel Sanda
ab96e1c4df * fr.po from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37972 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 10:49:08 +00:00
Kornel Benko
4f8f2057f3 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37971 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 08:23:33 +00:00
Kornel Benko
903c7d36ae Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37970 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-20 08:23:12 +00:00
Vincent van Ravesteijn
19263a634b Fix bug #7314: Workareas not redrawn. This is caused because the current_workarea doesn't get updated anymore while LyX is busy. However, when LyX stops being busy, the current workarea might have changed, and we are missing out on an update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37969 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 19:20:42 +00:00
Vincent van Ravesteijn
c07bd1ab52 Fix bug #7261: Assertion when moving up
There are two possibilities to add an Inset to the CoordCache:
- 1), use CoordCache::add(Inset * p, int x, int y),
- 2), use CoordCache::add(Inset * p, Dimension dim).

In the latter case, the x and y are happily initialized as 0.
Also, when one call CoordCache::has(Inset * p), it will happily
return true because the cache knows something about this inset.

In #7261, LyX asked for the (x,y) position of an Inset and
received (0,0) as an answer, although that is not the position
of the Inset.

By adding some defaults for x,y in case of initializing with
dim only will give an extra check whether the cache really
"has" the position object.

In the long run, we might want to split the cache for
dimensions and positions.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37968 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 17:54:21 +00:00
Jürgen Spitzmüller
a360fcd220 whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37967 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 17:52:00 +00:00
Jürgen Spitzmüller
900b896fdc * Menus.cpp: fix accelerator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37966 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 16:16:49 +00:00
Vincent van Ravesteijn
559fd36cb5 Fix bug #7362: Typo in installer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37965 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 15:46:41 +00:00
Vincent van Ravesteijn
75f45e3912 Add mnemonic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37964 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 14:56:54 +00:00
Vincent van Ravesteijn
2b689dd834 Fix bug #7275: Overcrowding of context menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37963 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 14:55:32 +00:00
Jürgen Spitzmüller
7f0671f069 * lyx.pro: remove non-existant files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37962 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 13:16:45 +00:00
Vincent van Ravesteijn
49459f6fc4 Fix bug #7345: Crash when right clicking on displayed math with selection
Two things have been fixed here:
1) the selection should not be cleared when the user right clicks a math inset that is part of the selection,
2) the type of context menu should be determined at mouse-press, because that is the moment when the cursor is set. However, we should do it after setting the cursor, because setting the cursor might change the selection status and this influences the choice for the type of context menu.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37961 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 13:14:13 +00:00
Vincent van Ravesteijn
72ad0bdfbf Simplify logic in InsetRef::latex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37960 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:37:24 +00:00
Vincent van Ravesteijn
eec88b7e5e Revert wrong previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37959 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:34:59 +00:00
Vincent van Ravesteijn
e52af5f897 Simplify logic in InsetRef::latex().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37958 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-19 10:31:43 +00:00
Enrico Forestieri
c6eca6e90b Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37957 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 22:02:07 +00:00
Georg Baum
d40c9f0548 Fix the reset buttom for the greyed out text color:
Reset to the default greyed out text color, not to the note background color


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37956 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 21:13:05 +00:00
Richard Heck
8eaed90043 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37955 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 18:56:05 +00:00
Enrico Forestieri
397c03b433 Fix bug #7361 (Assertion when a latex error occurs in the first (empty) paragraph)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37954 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 17:26:17 +00:00
Jürgen Spitzmüller
6169919428 * de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37953 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 16:52:09 +00:00
Jürgen Spitzmüller
d999c98bad * GuiPrefs.cpp: no need to exclude greyedouttext and shaded colors from prefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37952 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 15:12:03 +00:00
Kornel Benko
a3d7011a50 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37951 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:53:20 +00:00
Kornel Benko
95d6dd8456 Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37950 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-18 14:52:57 +00:00