Commit Graph

18228 Commits

Author SHA1 Message Date
Uwe Stöhr
8a04c411ae Spanish EmbeddedObjects.lyx: translation update by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25178 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 01:36:52 +00:00
Abdelrazak Younes
39a78a09d2 previous commit: forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:54:28 +00:00
Abdelrazak Younes
374ec4be57 Simplify and optimize image on screen visualization. Fix one bug or two along the way WRT combined image effects (egg: rotation and grayscale).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25175 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:51:11 +00:00
Abdelrazak Younes
87cbf97c91 X-Ref dialog: Hide the buffer combo now that child document labels are integrated within the parent's. This should be re-enables if/when the xr package is supported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 22:30:30 +00:00
Uwe Stöhr
ee1066597a - po remerge
- de.po: some translation updates

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25173 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 19:13:54 +00:00
Pavel Sanda
8eec505ac9 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25172 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 18:24:16 +00:00
Jean-Marc Lasgouttes
60b34bddb8 set gettext version to 0.14.5 for now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 17:14:47 +00:00
Richard Heck
7f6721a4e9 Clean up a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 16:02:52 +00:00
Richard Heck
08d8a8034f Fix citation dialog bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:53:02 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00
Abdelrazak Younes
896cb74fe2 Optimize the graphics loader: don't put the image in the queue if it is directly loadable and no conversion is needed. No more temporary preview image, yeah!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25166 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 13:30:38 +00:00
Abdelrazak Younes
e4a5278060 start image loading at metrics time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:39:43 +00:00
Abdelrazak Younes
21f59b816b RenderGraphic::metrics(): return early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:34:27 +00:00
Abdelrazak Younes
9d00e2ec0a Move loadableImageFormats() to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:29:58 +00:00
Abdelrazak Younes
264f32ec37 Simplify image loading on screen which is not asynchronous, never was...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:52:02 +00:00
Abdelrazak Younes
20b45450f6 move GuiImage::loadableFormats() to support/imagetools.{h,cpp} and simplify this whole stuff. What a mess!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:34:49 +00:00
Pavel Sanda
c6ecad82c9 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25160 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 11:06:23 +00:00
Pavel Sanda
ed1ca813ef LFUN_ERROR_NEXT removal.
http://www.nabble.com/LFUN_ERROR_NEXT-td17667485.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 10:29:14 +00:00
Abdelrazak Younes
5fe7778d28 Fix disconnection on escaped dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25158 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 10:00:33 +00:00
Abdelrazak Younes
fb1d57d24c oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:49:09 +00:00
Abdelrazak Younes
af050ab1b0 Some polish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25156 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:33:24 +00:00
Abdelrazak Younes
b4213b9fe5 LFUN_INFO_INSERT: avoid static_cast.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25155 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:01:55 +00:00
Abdelrazak Younes
81cc98a500 InsetInfo: Some fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:45:58 +00:00
Abdelrazak Younes
062bec11d0 * Dialog::inset(): make it const.
* InsetInfo::validate(): new method for checking dispatch argument. Not implemented yet.

* GuiInfo: remove non working code and rework the dialog following my vision of an ideal info dialog :-) not every thing works yet.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:01:59 +00:00
Bo Peng
3c142cdd47 GuiInfo: display and initialize the information dialog, can not apply yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 04:10:42 +00:00
Bo Peng
f5101ebec8 InsetInfo: allow select and copy of text inside InsetInfo, trigger the info dialog correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:25:36 +00:00
Richard Heck
95a5be2891 Prevent a crash when destroying insets whose Buffers have been closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25150 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:11:56 +00:00
Jürgen Spitzmüller
03e91b088d fix bug 4925.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 19:22:47 +00:00
Jürgen Spitzmüller
0f07e83733 Wrap figures can also have subfloats. I simply forgot that when implementing subfloat support.
Well, here it is. Fixes one part of bug 4927. There's a remaining problem on conversion of onld subfigs with LaTeX content (e.g. \label). I'll fix that in a second step.

There's 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:05:52 +00:00
Abdelrazak Younes
ccea2a5cd9 Move inset lookup to Dialog class as this is generic enough to be reused by other dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:03:08 +00:00
Abdelrazak Younes
6e4494b9b7 InsetInfo::inset(): look also for next inset as InsetInfo cannot be entered with the cursor (yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:48:29 +00:00
Abdelrazak Younes
34739e59f7 The inset connection is not needed as the dialog will retrieve the inset from the cursor location.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:28:27 +00:00
Abdelrazak Younes
f276338227 Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Abdelrazak Younes
cf466ab567 Mac compil fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 14:40:41 +00:00
Abdelrazak Younes
a1756319b3 Mac compil and warning fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 13:27:37 +00:00
Pavel Sanda
e327d63c91 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25141 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 12:24:27 +00:00
Abdelrazak Younes
e060218986 * InsetInfo: use Application::iconName().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:49:19 +00:00
Abdelrazak Younes
b1002fc32c Provide a generic way to retrieve icons from the frontend.
* Application: new iconName() pure virtual interface.

* GuiApplication: transfer icon searching code from GuiToolbar.cpp.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25139 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:31:22 +00:00
Richard Heck
f65bb20bfe Forgot this bit.
The only remaining problem here is that, if you edit the TEXT that goes with
an InsetBibitem, then the information in the citation will not get updated
until something else invalidates the cache.  The only way to fix this, given
the existing system, would seem to be to check, every time anything gets 
edited, whether we're in a Bibliography environment or not, and if so to
invalidate the cache. I'm not sure that is worth it. Really, it points to a
more general issue with InsetBibitem, IMHO: It ought to be a kind of combined
inset, a hybrid of sorts between an InsetCollapsable and an InsetCommand. But
that would be for 1.7.x at least.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:59:35 +00:00
Richard Heck
8a64579d9c More cache fixing. Similar fix as for InsetBibtex, and I've renamed the key routine.
Unfortunately, we can't do a one-short fix for InsetCommand, requiring that it take
a Buffer & in the constructor, due to problems in mathed, specifically, here:
void InsetMathHull::label(row_type row, docstring const & label)
{
...
label_[row] = new InsetLabel(p);
if (buffer_)
label_[row]->setBuffer(buffer());
}
If InsetLabel has to have a Buffer, then buffer_ has to be set, which means InsetMathHull needs a Buffer. But then truckloads of these are created in Parser, where we don't really seem to have access to a Buffer.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:55:34 +00:00
Richard Heck
2ea039ba99 Fix some of the BibTeX cache issues. We need to be able to invalidate the cache when
InsetBibtex's get created and destroyed, or modified.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:42:53 +00:00
Jürgen Spitzmüller
d7eaaba900 ** support for CJK font argument. File Format change **
* src/BufferParams.{cpp,h}:
	- new param fontsCJK (font_cjk).

* src/output_latex.cpp:
	- use fontsCJK param.

* src/Buffer.cpp:
	- increase file format

* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/FontUi.ui:
	- GUI for the CJK font param

* lib/lyx2lyx/lyx_1_6.py:
	- remove font_cjk param on reversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25135 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:18:34 +00:00
Richard Heck
45a8fed1d5 Fix bug 4899. My bad.
There are still some problems here, also related to the cache.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25134 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:46:49 +00:00
Richard Heck
ad76cb5c5f Give an error message here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:48 +00:00
Richard Heck
96fbd90e92 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25132 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:19 +00:00
Richard Heck
592dbb3284 The UserGuide now exports happily to 1.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25131 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:00:53 +00:00
Richard Heck
d12eea121c Conversion and reversion routines for Standard --> PlainLayout --> Plain Layout business.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25130 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:54:18 +00:00
Bo Peng
c6565b4209 Add InsetInfo::SHORTCUTS_INFO and ICON_INFO
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:41:35 +00:00
Uwe Stöhr
b733c626f0 installer: whitespace and changelog entry I forgot yesterday
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25128 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 23:51:55 +00:00
Richard Heck
a54ede0aff Some comments on future cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:37:09 +00:00