1 2003-10-31 José Matos <jamatos@lyx.org>
3 * inset.h (ascii, linuxdoc, docbook):
4 * insetbox.[Ch] (ascii, linuxdoc, docbook):
5 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
6 * insetcaption.[Ch] (ascii, docbook):
7 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
8 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
9 * insetert.[Ch] (ascii, linuxdoc, docbook):
10 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
11 * insetfloat.[Ch] (linuxdoc, docbook):
12 * insetfloatlist.[Ch] (ascii):
13 * insetfoot.[Ch] (docbook):
14 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
15 * insethfill.[Ch] (ascii, linuxdoc, docbook):
16 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
17 * insetindex.[Ch] (docbook):
18 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
19 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
20 * insetline.[Ch] (ascii, linuxdoc, docbook):
21 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
22 * insetnote.[Ch] (ascii, linuxdoc, docbook):
23 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
24 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
25 * insetref.[Ch] (ascii, linuxdoc, docbook):
26 * insetspace.[Ch] (ascii, linuxdoc, docbook):
27 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
28 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
29 * insettext.[Ch] (ascii, linuxdoc, docbook):
30 * insettoc.[Ch] (ascii, linuxdoc, docbook):
31 * inseturl.[Ch] (ascii, linuxdoc, docbook):
32 * insetwrap.[Ch] (docbook):
33 add LatexRunParams argument.
35 2003-10-30 José Matos <jamatos@lyx.org>
37 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
39 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
41 * updatableinset.C (priv_dispatch):
42 * insetwrap.C (priv_dispatch):
43 * inseturl.C (priv_dispatch):
44 * insettoc.C (priv_dispatch):
45 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
46 (moveLeftIntern, moveUp, moveDown):
47 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
48 (moveLeft, moveUp, moveDown):
49 * insetref.C (priv_dispatch):
50 * insetnote.C (priv_dispatch):
51 * insetminipage.C (priv_dispatch):
52 * insetlabel.C (priv_dispatch):
53 * insetindex.C (priv_dispatch):
54 * insetinclude.C (priv_dispatch):
55 * insetgraphics.C (priv_dispatch):
56 * insetfloatlist.C (priv_dispatch):
57 * insetfloat.C (priv_dispatch):
58 * insetexternal.C (priv_dispatch):
59 * insetert.C (priv_dispatch):
60 * insetcommand.C (priv_dispatch):
61 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
62 * insetcite.C (priv_dispatch):
63 * insetbranch.C (priv_dispatch):
64 * insetbox.C (priv_dispatch):
65 * insetbibtex.C (priv_dispatch):
66 * insetbibitem.C (priv_dispatch):
67 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
69 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
71 * insettext.C: small refactoring of docbook stuff
73 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
76 (priv_dispatch): adjust for operator dispatch_result_t removal
78 * insettabular.C (lfunMouseRelease): put the result of a dispatch
79 in a DispatchResult, adjust accordingly.
80 (priv_dispatch): use strange >= construct... (will be removed later)
82 * most insets: dispatch_result -> DispatchResult
84 * insetbase.h: move DispatchResult out to dispatchresult.h
86 2003-10-27 André Pönitz <poenitz@gmx.net>
88 * insetpagebreak.[Ch]: new inset for page breaks
90 * insetline.[Ch]: new inset for vertical lines
95 2003-10-25 Angus Leeming <leeming@lyx.org>
97 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
98 new virtual member functions, specialised...
99 * render_button.h (asButton):
100 * render_graphic.h (asGraphic):
101 * render_preview.h (asPreview, asMonitoredPreview): ... here.
103 * insetexternal.C: use these new functions rather than dynamic_cast.
104 Various other small simplifications.
106 2003-10-22 Angus Leeming <leeming@lyx.org>
108 * insetexternal.[Ch]: add the ability to 'preview' the external file
111 * insetinclude.C: changes due to the changes in the RenderPreview
114 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
115 message if the preview image is not available. Only initiate the
116 loading of the preview from draw(). Ditto, start the monitoring
117 of an external file from RenderMonitoredPreview::draw.
119 2003-10-22 Angus Leeming <leeming@lyx.org>
121 * insetcite.[Ch] (setLoadingBuffer): removed.
122 (getNatbibLabel): use the new Buffer::fully_loaded member function to
123 ascertain whether to proceed with the (expensive) task of computing
124 the natbib-style label. Remove the home-grown hack providing
125 similar functionality.
127 2003-10-22 Angus Leeming <leeming@lyx.org>
129 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
130 class and into an anonymous namespace.
132 2003-10-22 Angus Leeming <leeming@lyx.org>
134 * insetcommand.h: remove the display method.
138 * insetindex.h (InsetPrintIndex):
139 * insettoc.h: add a display method, returning true.
141 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
143 * insetcollapsable.h:
147 * insetinclude.h: (1) finish off the inset display() work;
148 (2) fix the "is a bit silly" bug (accessing char
151 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
155 * insetfootlike.h: re-introduce display() for insets,
156 fixing the various bugs (stretch of line above, math inset
159 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * insetbase.C (dispatch): new func
162 (priv_dispatch): new func replaces...
163 (localDispatch): this, deleted.
165 * all insets with dispatch modified for new code.
167 2003-10-15 André Pönitz <poenitz@gmx.net>
169 * insetcollapsable.[Ch]
171 * inset.h: re-add some edit(bv, index) method called by undo
173 2003-10-14 Angus Leeming <leeming@lyx.org>
175 * insetexternal.[Ch] (view, cache, view_):
176 * insetgraphics.[Ch] (view, cache, view_):
177 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
178 (statusChanged): call LyX::cref().updateInset.
180 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
181 the BufferView cache.
183 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
186 2003-10-14 Angus Leeming <leeming@lyx.org>
188 * insetinclude.C (metrics, draw): only draw the preview when previews
191 2003-10-14 André Pönitz <poenitz@gmx.net>
193 * insetcollapsable.[Ch]:
196 * inset.h: getText() as alternative to getParagraphs()
198 2003-10-13 Angus Leeming <leeming@lyx.org>
201 * insetgraphicsParams.C: displayTranslator is now a function.
203 2003-10-13 Angus Leeming <leeming@lyx.org>
205 * insetinclude.C: remove #include "PreviewImage.h".
207 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * ExternalTransforms.C:
212 * insetbox.h: ws changes only
214 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
216 * insetinclude.C (localDispatch): do not call
217 InsetOld::localDispatch, just return UNDISPATCHED
218 * insetgraphics.C (localDispatch): ditto
219 * insetcommand.C (localDispatch): ditto
221 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * inset.h: get rid of RESULT typedef for dispatch_result
225 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
226 * insetert.[Ch] (localDispatch): ditto
227 * insettabular.[Ch] (localDispatch): ditto
232 * insettext.[Ch] (localDispatch): ditto
235 (moveRightIntern): ditto
236 (moveLeftIntern): ditto
239 * updatableinset.[Ch] (localDispatch): ditto
241 2003-10-12 Angus Leeming <leeming@lyx.org>
243 * renderbase.h (view, view_): removed.
244 * renderbase.C: removed.
245 * Makefile.am: remove render_base.C. The shortest lived file in
248 * renderbutton.C (draw):
249 * render_graphic.C (draw): don't cache the BufferView.
251 * insetabase.h (cache, view): removed.
253 * inset.h (generatePreview) removed.
255 * insetcallapsable.[Ch] (cache, view, view_): removed.
257 * insetcollapsable.C (draw): don't cache the BufferView.
259 * insetcommand.[Ch] (view): removed.
261 * insetexternal.[Ch] (cache, view, view_):
262 * insetgraphics.[Ch] (cache, view, view_):
263 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
265 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
266 when you have direct access to it. In fact, don't use the cache at all.
268 2003-10-10 Angus Leeming <leeming@lyx.org>
270 * insetinclude.C (metrics): use preview_->metrics.
271 (draw): use preview_->draw.
273 * render_preview.[Ch] (pimage): removed.
275 2003-10-10 Angus Leeming <leeming@lyx.org>
277 * renderers.[Ch]: removed.
280 * render_button.[Ch]:
281 * render_graphic.[Ch]:
282 * render_preview.[Ch]: new files. The first three are split out of
283 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
284 contains a re-worked InsetInclude::PreviewImpl also.
286 * Makefile.am: reflect the changed files.
289 * insetexternal.[Ch]:
290 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
292 * insetinclude.[Ch]: changes reflecting the change from
293 InsetInclude::PreviewImpl to RenderMonitoredPreview.
299 * inseturl.C: add #include "support/std_ostream.h"
301 2003-10-09 Angus Leeming <leeming@lyx.org>
303 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
304 to PreviewedInset::previewReady.
306 2003-10-09 Angus Leeming <leeming@lyx.org>
308 * insetexternal.[Ch] (statusChanged):
309 * insetgraphics.[Ch] (statusChanged): make a const member function.
311 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
314 2003-10-09 Angus Leeming <leeming@lyx.org>
316 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
317 to PreviewedInset's previewReady and removePreview member functions.
319 2003-10-08 André Pönitz <poenitz@gmx.net>
321 * insetcollapsable.C:
322 * insettext.[Ch]: saner 'init' structure
324 * updatableinset.[Ch]: remove unneeded code
326 2003-10-08 Angus Leeming <leeming@lyx.org>
328 Fix doxygen warnings.
330 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
331 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
333 2003-10-07 Angus Leeming <leeming@lyx.org>
335 * ExternalTransforms.[Ch]: new files, detailing transforms that can
336 be applied to InsetExternal.
338 * Makefile.am: add these new files.
340 * ExternalTemplate.[Ch]: add a list of available transforms to
341 class Template and a list of factory functions for transformer classes
342 that can act on this data to class Format.
344 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
346 * ExternalSupport.C: Add code to replace transform placeholders
347 with appropriate output.
349 2003-10-07 Angus Leeming <leeming@lyx.org>
351 * ExternalSupport.[Ch]: new files, moving the private member functions
352 and namespace anon functions out of insetexternal.C to here, so making
353 it easier to understand what is going on in insetexternal itself.
355 * Makefile.am: add new files.
357 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
358 allowing the class to be forward declared. (Also consistent with
359 all other Params classes.)
360 (write): moved out of the class. Move this function and those in
361 namespace anon to ExternalSupport.[Ch].
363 2003-10-07 Angus Leeming <leeming@lyx.org>
365 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
366 non-const member function.
368 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
373 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
375 2003-10-02 André Pönitz <poenitz@gmx.net>
377 * insettext.C (read): make sure there is at least one par
378 in the text after reading.
380 2003-10-01 José Matos <jamatos@lyx.org>
382 * insetbranch.C (linuxdoc, docbook): minor fix.
384 2003-10-01 Angus Leeming <leeming@lyx.org>
386 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
388 * insetexternal.[Ch]: changes due to the introduction of
389 namespace lyx::external.
391 2003-09-30 Angus Leeming <leeming@lyx.org>
393 * insetexternal.[Ch] (Params::read, write): new member functions.
395 2003-09-25 Angus Leeming <leeming@lyx.org>
397 * insetexternal.[Ch] (TempName): new (private) nested struct with
398 fake copy semantics. Enables us to use the generated copy c-tor
399 in the Params struct.
400 (Params::templatename, Params::tempname): use accessor functions.
402 2003-09-25 Angus Leeming <leeming@lyx.org>
404 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
405 function, returning a const pointer.
407 2003-09-23 Angus Leeming <leeming@lyx.org>
409 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
410 store them in a vector, preambleNames.
412 * insetexternal.C (validate): loop over all preambleNames and call
413 LaTeXFeatures::addExternalPreamble with each.
415 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
417 * insetbranch.C: bug fix in branches
419 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
421 * insetnote.C: small clean-up.
423 2003-09-19 Angus Leeming <leeming@lyx.org>
425 * inset.h (generatePreview): passed a 'Buffer const &' arg.
427 * insetcommand.C (string2params): clear params using the default c-tor.
429 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
430 InsetInclude::Params. No more data in this struct than in
431 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
432 (c-tor): no need to pass a 'Buffer const &' arg anymore.
433 (clone): remove #warning as it's now redundant.
434 (set): add a 'Buffer const &' arg. Make private.
435 (loadIfNeeded) move out of the class definition and into namespace anon.
436 (getMasterFilename, getFileName): ditto.
438 2003-09-18 Angus Leeming <leeming@lyx.org>
440 * insetcommand.C (setParams): use the params' copy constructor.
442 2003-09-18 Angus Leeming <leeming@lyx.org>
444 * insetinsetbase.h (getLabelList):
445 * insetinsetcollapsable.[Ch] (getLabelList):
446 * insetinsetinclude.[Ch] (getLabelList):
447 * insetinsetlabel.[Ch] (getLabelList):
448 * insetinsettabular.[Ch] (getLabelList):
449 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
450 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
452 2003-09-18 Angus Leeming <leeming@lyx.org>
454 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
455 redundant baggage from yesteryear.
456 Remove Params::flag as it is redundant; the info is present in
459 2003-09-18 Angus Leeming <leeming@lyx.org>
461 * insetinclude.C (latexString): add a Buffer const & arg.
463 2003-09-18 Angus Leeming <leeming@lyx.org>
468 * insettext.h: rename EnumLColor as LColor_color.
470 2003-09-18 Angus Leeming <leeming@lyx.org>
472 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
473 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
475 2003-09-16 Angus Leeming <leeming@lyx.org>
477 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
478 set before trying to generate a preview, else we trigger an assert.
480 2003-09-16 Angus Leeming <leeming@lyx.org>
482 * insetinclude.C (PreviewImpl::parent): return a const reference.
484 2003-09-16 Angus Leeming <leeming@lyx.org>
486 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
488 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
490 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
491 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
493 * insetminipage.C (metrics):
494 * insetnote.C (metrics):
495 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
496 access collapsed_ directly.
498 2003-09-16 Angus Leeming <leeming@lyx.org>
500 * insetbibitem.C: add #include "lyxfont.h".
502 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
505 * insetbibtex.C: use namespace alias for lyx::support::os
507 2003-09-16 Angus Leeming <leeming@lyx.org>
509 * insetcollapsable.h: remove unused framecolor variable.
510 Remove #include "LColor.h".
512 * insetcollapsable.C: remove unused framecolor variable.
515 * insetcollapsable.C:
523 Add #include "LColor.h".
525 2003-09-16 Angus Leeming <leeming@lyx.org>
527 * insettext.[Ch] (frameColor): new accessor function.
528 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
534 add #include "LColor.h".
536 * insetcollapsable.h: add #include "LColor.h"
537 (for its framecolor member variable).
539 2003-09-16 Angus Leeming <leeming@lyx.org>
541 * insetenv.C (constructor): use accessor functions to access InsetText variables.
543 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
544 rename frame_color as frame_color_. Make private.
546 * insettext.C: associated changes.
548 2003-09-16 Angus Leeming <leeming@lyx.org>
550 * inset.h: store background_color_ as an int, not as an LColor::color to
551 get LColor.h out of the header file.
554 * insetlatexaccent.C:
557 * insetspecialchar.C:
559 add #include "LColor.h".
561 2003-09-16 Angus Leeming <leeming@lyx.org>
563 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
566 2003-09-15 Angus Leeming <leeming@lyx.org>
568 * inset.[Ch] (setBackgroundColor, backgroundColor):
569 * insettext.[Ch] (setFrameColor):
570 pass EnumLColor args, rather than LColor::color ones.
572 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * insetwrap.C: remove usage of STRCONV
584 2003-09-15 Angus Leeming <leeming@lyx.org>
586 * renderers.C (draw):
587 * insetlatexaccent.C (draw): explicitly define the color passed to
590 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
592 * insettext.C: remove block causing problems in lockInsetInInset
593 (mentioned erroneously under Bug #1366)
595 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
597 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
600 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
602 * several files: change Assert to BOOST_ASSERT
604 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
606 * insettext.[Ch]: remove drawText[XY]Offset
608 2003-09-08 Angus Leeming <leeming@lyx.org>
610 * insetcollapsable.C:
615 * insetspecialchar.C:
618 * insettoc.C: remove redundant using directives.
620 2003-09-07 Angus Leeming <leeming@lyx.org>
623 * insetspecialchar.h: remove #include "support/std_string.h".
625 2003-09-06 Angus Leeming <leeming@lyx.org>
627 * renderers.C: add #include "insets/inset.h"
629 2003-09-05 Angus Leeming <leeming@lyx.org>
631 * *.C: strip out redundant #includes. (193 in total.)
633 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
635 * insets/insetbibtex.[Ch]:
636 * insets/insetcommand.h:
637 * insets/insetfloatlist.[Ch]:
638 * insets/insetinclude.[Ch]:
639 * insets/insettoc.[Ch]: Restricts the mouse click functionality
640 of insets like bibtex, include, toc and floatlist to the visible
641 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
642 up the dialogs. Cursor has to be in front of the inset (i.e.
643 start of row) for this to function.
645 2003-09-04 Angus Leeming <leeming@lyx.org>
647 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
648 structure outside of the Format struct. Format::preambleName refers to
649 an item in the map of all preamble snippets.
650 Make use of the new Debug::EXTERNAL flag.
652 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
653 (validate): Small change due to the changed storage of preamble snippets.
655 2003-09-04 Angus Leeming <leeming@lyx.org>
657 * insetgraphics.C: #include "support/os.h"
659 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
660 * insettabular.h: move #include "FuncStatus.h" out of the header file.
661 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
663 * insetcollapsable.h:
665 * insetnote.C: move #include "funcrequest.h" out of the header file.
667 2003-09-03 Angus Leeming <leeming@lyx.org>
669 * insetexternal.C (updateExternal):
670 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
673 2003-09-03 Angus Leeming <leeming@lyx.org>
675 * insetexternal.C: don't bring namespace lyx::support into the global
678 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
680 * insetbranch.C: Add Branch: to label
682 2003-09-02 John Levon <levon@movementarian.org>
685 * insettext.C: remove cursor.i[xy]()
687 2003-08-28 Angus Leeming <leeming@lyx.org>
689 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
690 "sh ", enabling the conversion to be carried out even if the script
693 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
695 * most files: change to use const Buffer refs
697 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
699 * insetfootlike.C: whitespace.
701 2003-08-26 John Levon <levon@movementarian.org>
705 * insetindex.h: remove remaining mentions of needFullRow()
707 2003-08-26 André Pönitz <poenitz@gmx.net>
713 * inset.[Ch]: remove InsetOld::par_owner_ & handling
715 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
717 * insetbranch.C: Small fix to prevent a crash on loading.
719 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
724 * insetcollapsable.h:
726 * insetfloatlist.[Ch]:
727 * insetfootlike.[Ch]:
735 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
736 altogether, putting the logic in metrics/draw in the insets.=20
737 Draws short single row insets with more or less realistic metrics.
739 2003-08-19 André Pönitz <poenitz@gmx.net>
741 * insettext.C: use new RowPainter interface
743 2003-08-18 John Levon <levon@movementarian.org>
745 * insetref.C: require amsmath for eqref
747 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
751 * insetbranch.[Ch]: implements the 'branch inset'
752 idea. This allows the output of various versions of a document
753 from a single source version, selectively outputing or suppressing
754 output of parts of the text.
755 This implementation contains a 'branch list editor' in a separate
756 tab of the document settings dialog. Branches are user definable
757 and have a "display colour" to distinguish them on-screen.
759 ColorHandler was somewhat cleaned up.
760 (1) make possible a dynamically growing LColor list by allowing
761 the graphic context cache to grow along (vector);
762 (2) eliminate an IMHO unnecessary step in colour allocation.
764 2003-08-15 André Pönitz <poenitz@gmx.net>
766 * insettext.[Ch]: adjust after rowlist split
768 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
770 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
771 rename valign-center to valign-middle;
772 rename VALIGN_CENTER to VALIGN_MIDDLE
774 2003-08-11 André Pönitz <poenitz@gmx.net>
776 * inset.h: remove resizeLyXText
779 * insetcollapsable.[Ch]:
781 * insettabular.[Ch]: adjust
783 * insettext.[Ch]: remove saveLyXTextState,
784 restoreLyXTextStat, sstate, reinitLyXText
786 2003-08-07 André Pönitz <poenitz@gmx.net>
788 * inset.[Ch]: move non-crucial functions out-of-line
790 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
791 remove duplicated code.
793 2003-08-05 André Pönitz <poenitz@gmx.net>
796 * insetcollapsable.[Ch]:
809 * updatableinset.[Ch]: rip out "deep update"
811 * insettext.C (localDispatch): merge cases with default branch
813 * insettext.C (frame_x,y,w,h): replace member with automatic variables
815 * insettabular.[Ch] (updateLocal): simplify logic
817 2003-08-04 André Pönitz <poenitz@gmx.net>
819 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
820 is 'FULL' all the time.
822 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * insetert.C (get_new_label): only add ... to the (closed) label
825 when the string has been shortened
827 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
829 * Always use std::endl with lyxerr
831 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
833 * insetnote.C: update \author list
835 2003-07-31 André Pönitz <poenitz@gmx.net>
837 * insetcollapsable.h:
839 * insettext.[Ch]: remove toggleSelection
841 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
843 (with help from Juergen Spitzmueller)
844 * insetnote.C: add add i18n support. Use Prefs-definable
845 colours for Comment and Greyedout.
847 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
849 * insetcollapsable.[Ch]:
851 * insetert.C: factor out the detection of clicking on the inset
852 button as 'hitButton'. John Levon contributed.
854 2003-07-30 André Pönitz <poenitz@gmx.net>
856 * insetcollapsable.C:
858 * insettabular.C: parantheses, localize vars etc.
860 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
862 * insetnote.C: Implement a newenvironment in preamble for
863 greyedout. Patch provided by Jürgen Spitzmüller.
865 2003-07-29 Angus Leeming <leeming@lyx.org>
867 * insetcommand.C (localDispatch): default to
868 InsetOld::localDispatch.
870 * insetbibitem.C (localDispatch):
871 * insetbibtex.C (localDispatch): remove call to
872 ChangeCitationsIfUnique.
874 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
876 * insetexternal.C (read): use pushpophelper.
878 2003-07-28 José Matos <jamatos@lyx.org>
880 * insetext.C (read): \end_document replaces \the_end.
882 2003-07-28 José Matos <jamatos@fep.up.pt>
884 * insetert.C (write): \layout -> \begin_layout.
885 Add missing \end_layout.
887 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * insetquotes.C: document a bit the format
891 * insettabular.C (write): remove extra space
893 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
894 * insetnote.C: Umpf. Hope I *now* get it right :-(
896 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
897 *insetnote.C: did the right fix to greyedout: \color
898 instead of \textcolor.
900 2003-07-28 Angus Leeming <leeming@lyx.org>
902 * insetbibtex.h: remove extraneous forward declaration.
905 * insetbibtex.h: Also remove long-dead Holder member class
908 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
910 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
913 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * insetwrap.C (addToToc): adjust for lyx::toc
917 * insetfloatlist.C (ascii): adjust for lyx::toc
919 * insetfloat.C (addToToc): adjust for lyx::toc
921 2003-07-27 José Matos <jamatos@fep.up.pt>
923 * insetnote.h (linuxdoc,docbook): update support.
925 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * insetfloat.C (wide): add a space to label, for consistency
929 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * insettext.C (nextChange): adjust for lyx::find
932 (searchForward): ditto
933 (searchBackward): ditto
935 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
937 * insetgraphicsParams.C:
938 * insetexternal.C: declare extern displayTranslator
941 * renderers.C: add #include "support/LAssert.h"
943 2003-07-27 José Matos <jamatos@fep.up.pt>
945 * insetfloat.[Ch] (linuxdoc):
946 * insetgraphics.C (linuxdoc):
947 * insettabular.C (linuxdoc):
948 * insettext.[Ch] (linuxdoc): add support for tables and figures
951 2003-07-27 José Matos <jamatos@fep.up.pt>
953 * insetinclude (latex): comply with makeLaTeXFile argument change.
955 2003-07-26 Asger Alstrup <alstrup@local>
957 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
958 the undo crashes. We'll see what problems other places this will
961 2003-07-26 Angus Leeming <leeming@lyx.org>
963 * insetgraphics.C: remove unused declaration of system_tempdir.
965 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * rename Inset to InsetOld
969 * all inset files (clone): return a auto_ptr<InsetBase>
971 2003-07-23 Angus Leeming <leeming@lyx.org>
973 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
975 2003-07-23 Angus Leeming <leeming@lyx.org>
977 * mailinset.[Ch] (inset2string):
978 * insetcommand.[Ch] (inset2string):
979 * insetert.[Ch] (inset2string):
980 * insetexternal.[Ch] (inset2string):
981 * insetfloat.[Ch] (inset2string):
982 * insetgraphics.[Ch] (inset2string):
983 * insetinclude.[Ch] (inset2string):
984 * insetminipage.[Ch] (inset2string):
985 * insetnote.[Ch] (inset2string):
986 * insettabular.[Ch] (inset2string):
987 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
989 * insetexternal.[Ch]:
990 * insetgraphics.[Ch]: get rid of the view() function. Associated
991 changes to the mailers' string2params and params2string functions.
993 2003-07-23 Angus Leeming <leeming@lyx.org>
995 * insetexternal.[Ch]: store the external file name in a FileName
996 member variable rather than a string + associated changes.
998 2003-07-21 Angus Leeming <leeming@lyx.org>
1000 * insetgraphicsParams.[Ch]: store the graphics file name in
1001 a FileName member variable rather than a string.
1003 * insetgraphics.[Ch]:
1004 * insetgraphicsParams.[Ch]: Associated changes.
1006 2003-07-21 Angus Leeming <leeming@lyx.org>
1008 * insetgraphics.[Ch] (string2params, params2string): passed a
1009 buffer_path argument.
1012 2003-07-21 Angus Leeming <leeming@lyx.org>
1015 * insetgraphicsParams.[Ch]:
1017 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1019 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1021 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1023 2003-07-18 André Pönitz <poenitz@gmx.net>
1026 * insetminipage.[Ch]:
1027 * insettabular.[Ch]:
1030 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1032 2003-07-18 André Pönitz <poenitz@gmx.net>
1036 * insetcollapsable.C:
1040 * insetgraphics.[Ch]:
1041 * insetlatexaccent.[Ch]:
1046 * insetspecialchar.C:
1047 * insettabular.[Ch]:
1049 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1051 2003-07-17 André Pönitz <poenitz@gmx.net>
1053 * insetcollapsable.C:
1055 * insettext.C: don't call Inset::update() anymore
1058 * insettabular.[Ch]: remove unneeded in_update_ members
1060 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1062 2003-07-16 André Pönitz <poenitz@gmx.net>
1064 * insettext.C (selectAll): remove
1066 2003-07-16 John Levon <levon@movementarian.org>
1069 * insetnote.C: implement showInsetDialog()
1071 2003-07-15 André Pönitz <poenitz@gmx.net>
1074 * insettext.C: refresh_status tristate -> need_update bool
1076 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1078 * insettext.C: adjust call to LyXText::init
1080 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1082 * insettext.C: use bufferview_funcs->replaceSelection()
1083 to delete selections in some cases (bugs 441, 673, 702, 954).
1085 2003-07-14 André Pönitz <poenitz@gmx.net>
1087 * insettext.C (draw): use slimmed down rowpainter interface
1089 2003-07-14 André Pönitz <poenitz@gmx.net>
1091 * insetcollapsable.C:
1093 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1094 remove unused BufferView * argument
1096 2003-07-14 André Pönitz <poenitz@gmx.net>
1098 * insettext.[Ch]: used cached metrics a bit more
1100 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1102 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1104 2003-07-10 André Pönitz <poenitz@gmx.net>
1107 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1109 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1111 * introduce namespace lyx::graphics
1113 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * introduce namespace lyx::support
1117 2003-06-30 André Pönitz <poenitz@gmx.net>
1119 * insetcite.C (localDispatch): fix case of missing return value
1121 * insetcite.C (ascii): remove unneeded temporary
1123 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * insetspace.h: fix \file
1127 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1128 * insetinclude.C (fillWithBibKeys): ditto
1130 * insetbibitem.C: fix type const order
1132 * inset.C (getLyXText): add varname for arg
1134 * ExternalTemplate.h: fix type const order
1136 2003-06-27 André Pönitz <poenitz@gmx.net>
1138 * insettext.C: take care of removed LyXCursor::row_ member
1140 * insettext.[Ch]: use new TextCursor struct for sstate
1142 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1144 * inseterror.[Ch]: removed
1146 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1148 * insetinclude.C (docbook): use parseError instead of sgmlError
1150 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1152 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1153 of BufferList::loadLyXFile
1155 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1157 * insettext.C (update): simplify
1158 (updateLocal): remove commented code
1159 (insetUnlock): simplify
1160 (lockInset): simplify
1161 (updateInsetInInset): simplify
1162 (localDispatch): simplify
1164 (resizeLyXText): simplify
1165 (collapseParagraphs): simplify
1167 * insetert.C (get_new_label): simplify
1169 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1171 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1172 pasteSelection with index
1174 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1178 2003-06-16 André Pönitz <poenitz@gmx.net>
1180 * insetbase.h: new virtual base function clone()
1182 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1183 Inset * clone() -> InsetBase * clone()
1185 2003-06-13 André Pönitz <poenitz@gmx.net>
1187 * insettabular.[Ch]: make tabular a proper member
1189 2003-06-12 André Pönitz <poenitz@gmx.net>
1191 * insettabular.[Ch]: some renaming plus whitespace
1193 2003-06-11 Angus Leeming <leeming@lyx.org>
1195 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1198 * insetbutton.[Ch]: removed.
1199 * graphicinset.[Ch]: renamed as renderers.[Ch].
1201 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1202 Create a new class ButtonRenderer using the InsetButton::metrics() and
1204 Derive both from a common RenderedInset base class.
1206 * insetcommand.[Ch]:
1207 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1208 Give it a ButtonRenderer member variable. Use it.
1209 Give the classes working copy c-tors.
1210 No longer derive from boost::noncopyable.
1212 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1213 display its contents as a button or as a graphic.
1215 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1218 2003-06-11 Angus Leeming <leeming@lyx.org>
1220 * insetcite.C (localDispatch): reformat.
1222 * insetref.C (localDispatch): enable dialog to be lauched.
1224 2003-06-11 John Levon <levon@movementarian.org>
1226 * insettabular.C: correctly mark all cells as erased
1228 2003-06-11 Angus Leeming <leeming@lyx.org>
1230 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1231 ExternalTemplate but its name, templatename. This means that a file
1232 containing a reference to an External Template not installed on the
1233 current machine will be saved retaining this info rather than inserting
1234 the first "valid" template from the list of templates.
1236 As a by product, the visual statement that the Template is missing is
1239 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1241 * insettext.C (appendParagraphs): remove some commented code.
1243 2003-06-10 Angus Leeming <leeming@lyx.org>
1245 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1248 * insetexternal.[Ch]: move tempname_ into the Params struct.
1249 (Params d-tor): new function, to clean-up this temp file.
1250 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1252 (editExternal, doSubstitution): move out of class.
1254 2003-06-10 Angus Leeming <leeming@lyx.org>
1256 * graphicinset.[Ch] (params): removed.
1257 * graphicinset.h (operator=): declared private but not defined.
1258 (statusMessage): made private.
1260 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1262 2003-06-07 John Levon <levon@movementarian.org>
1264 * insetert.C (latex): make a newline mean just that not
1267 2003-06-07 José Matos <jamatos@fep.up.pt>
1269 * insethfill.[Ch] (linuxdoc, docbook): implement output
1270 * insetspace.C (linuxdoc, docbook): remove coments as the code
1273 2003-06-06 José Matos <jamatos@fep.up.pt>
1275 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1277 2003-06-06 André Pönitz <poenitz@gmx.net>
1279 * insetwrap.[Ch]: code compactification
1281 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1283 * mailinset.C (updateDialog): use Dialogs::visible
1285 2003-06-04 Angus Leeming <leeming@lyx.org>
1287 * graphicinset.C (draw): add a comment for the #if 0 block.
1289 * insetexternal.h: remove Params::parameters variable.
1290 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1291 and read it back making full use of LyXLex.
1293 2003-06-04 André Pönitz <poenitz@gmx.net>
1295 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1297 2003-06-04 John Levon <levon@movementarian.org>
1299 * insettabular.C: back out tall table speed up. It was broken
1301 2003-06-03 Angus Leeming <leeming@lyx.org>
1303 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1304 Remove ViewCommand and UpdateCommand.
1306 * graphicinset.C (update): bug fix. Set the params before calling the
1308 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1309 BufferView cache to enable the InsetExternal::editCommand to be invoked
1310 from the frontends. Would not be needed if this were dispatched properly.
1311 (old_ascent_): variable removed.
1313 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1314 do any necessary conversions of external material. Also use the
1315 new GraphicsInset to display the inset within LyX.
1317 2003-06-03 Angus Leeming <leeming@lyx.org>
1319 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1320 and move it somewhere where InsetExternal can use it too.
1322 * Makefile.am: add the new files.
1324 * insetgraphics.[Ch]: make use of the new GraphicInset.
1326 2003-06-03 John Levon <levon@movementarian.org>
1329 * insetbibitem.[Ch]:
1332 * insetcommand.[Ch]:
1336 * insetexternal.[Ch]:
1340 * insetgraphics.[Ch]:
1342 * insetinclude.[Ch]:
1345 * insetlatexaccent.[Ch]:
1346 * insetmarginal.[Ch]:
1347 * insetminipage.[Ch]:
1354 * insetspecialchar.[Ch]:
1355 * insettabular.[Ch]:
1357 * insetthereom.[Ch]:
1360 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1362 * insetgraphics.[Ch]:
1363 * insetgraphicsParams.[Ch]: always store an absolute
1366 2003-06-02 André Pönitz <poenitz@gmx.net>
1370 * insetlatexaccent.C: remove duplicated call to metrics()
1372 2003-06-02 John Levon <levon@movementarian.org>
1374 * insettabular.C: fix resize of column width
1376 2003-06-02 John Levon <levon@movementarian.org>
1381 * insetparent.C: remove insetparent
1383 2003-06-02 André Pönitz <poenitz@gmx.net>
1390 * insetcollapsable.[Ch]:
1394 * insetgraphics.[Ch]:
1395 * insetinclude.[Ch]:
1396 * insetlatexaccent.[Ch]:
1397 * insetminipage.[Ch]:
1398 * insetnewline.[Ch]:
1401 * insetspecialchar.[Ch]:
1402 * insettabular.[Ch]:
1403 * insettext.[Ch]: unify first drawing phase
1406 * insetbase.h: move validate() to the base
1408 2003-05-31 Angus Leeming <leeming@lyx.org>
1410 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1412 2003-05-30 André Pönitz <poenitz@gmx.net>
1417 * insetcaption.[Ch]:
1418 * insetcollapsable.[Ch]:
1421 * insetgraphics.[Ch]:
1422 * insetinclude.[Ch]:
1423 * insetlatexaccent.[Ch]:
1424 * insetnewline.[Ch]:
1427 * insetspecialchar.[Ch]:
1428 * insettabular.[Ch]:
1430 * updatableinset.[Ch]: unify second drawing phase
1432 2003-05-30 John Levon <levon@movementarian.org>
1434 * insetgraphics.C: fix a bformat
1436 2003-05-29 John Levon <levon@movementarian.org>
1438 * insettabular.C: remove unused bufferOwner()
1440 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * insettext.C (lockInsetInInset): adjust
1443 (getLabelList): use const_iterator, adjust
1444 (getInsetFromID): use const_iterator, adjust
1445 (addPreview): use const_iterator, adjust
1447 * insetwrap.C (clone): remove const_cast
1449 * insetnote.C (clone): remove const_cast
1451 * insetminipage.C (clone): remove const_cast
1453 * insetmarginal.C (clone): remove const_cast
1455 * insetfoot.C (clone): remove const_cast
1457 * insetfloat.C (clone): remove const_cast
1459 * insetert.C (clone): remove const_cast
1461 * delete commented same_id functions from a lot of files.
1463 2003-05-28 John Levon <levon@movementarian.org>
1469 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1471 * insetminipage.C: fix metrics (bug 1144)
1473 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * insettext.C (saveLyXTextState): adjust
1476 (restoreLyXTextState): adjust
1479 (unlockInsetInInset): adjust
1480 (localDispatch): adjust
1481 (getLyXText): adjust
1483 * insettabular.C (insertAsciiString): adjust
1485 2003-05-27 André Pönitz <poenitz@gmx.net>
1488 * insetcollapsable.C:
1491 * insetlatexaccent.C:
1496 * insetspecialchar.C:
1498 * insettext.C: dim.w -> dim.wid
1500 2003-05-26 John Levon <levon@movementarian.org>
1502 * insettabular.C: avoid drawing all of a long table
1503 if it's not needed. A big speedup
1505 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * remove same_id from function signatures, adjust
1509 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * insettext.C (InsetText): adjust
1513 (setParagraphData): separate same_id cases, adjust
1514 (appendParagraphs): adjust
1515 (appendParagraphs): adjust
1517 2003-05-23 André Pönitz <poenitz@gmx.net>
1519 * insetbutton.h: whitespace
1521 * insettabular.C: more compact code
1523 * updatableinset.C: remove const_cast
1526 2003-05-23 Angus Leeming <leeming@lyx.org>
1528 * insetexternal.C (write): check how many lines are output.
1529 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1530 if the template has defined it.
1532 2003-05-23 Angus Leeming <leeming@lyx.org>
1534 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1536 2003-05-23 Angus Leeming <leeming@lyx.org>
1538 * insetfoot.C (latex):
1539 * inseturl.C (latex): rename fragile as moving_arg.
1541 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * inseterror.C (localDispatch): comment out unused var.
1545 2003-05-22 Angus Leeming <leeming@lyx.org>
1547 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1548 passed through the LatexRunParams arg.
1550 2003-05-22 Angus Leeming <leeming@lyx.org>
1552 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1553 through the LatexRunParams arg.
1555 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1556 arg rather than through a global var.
1558 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * insetspecialchar.C (dimension): use a string.
1562 2003-05-22 Angus Leeming <leeming@lyx.org>
1564 * insetbibtex.C (latex):
1565 * insetgraphics.C (latex):
1566 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1567 runparams rather than from the buffer itself.
1569 2003-05-22 Angus Leeming <leeming@lyx.org>
1571 * inset*.[Ch] (latex):
1572 passed a LatexRunParams parameter.
1574 * insetgraphics.C (latex): actually use it ;-)
1576 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1578 * insetfloat.C (addToToc): trivial compile fix
1580 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * insettext.[Ch] (paragraph): delete unused function
1584 * insetfloat.C (addToToc): parlist simplfication
1586 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1588 * insetspace.[Ch]: added (new space insets)
1590 * inset.h: handle new space insets
1592 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * insetfloat.C (addToToc): adjust
1596 2003-05-21 André Pönitz <poenitz@gmx.net>
1598 * insettext.[Ch]: fix drawing bug introduced earlier
1600 2003-05-19 André Pönitz <poenitz@gmx.net>
1602 * insetspecialchar.C: fix bug introduced yesterday
1604 2003-05-19 André Pönitz <poenitz@gmx.net>
1608 * insetcollapsable.[Ch]:
1612 * insetgraphics.[Ch]:
1613 * insetgraphicsParams.[Ch]:
1614 * insetlatexaccent.[Ch]:
1615 * insetminipage.[Ch]:
1616 * insetnewline.[Ch]:
1618 * insetspecialchar.[Ch]:
1619 * insettabular.[Ch]:
1620 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1622 2003-05-19 André Pönitz <poenitz@gmx.net>
1625 * insettext.C: more insetenv
1627 2003-05-16 André Pönitz <poenitz@gmx.net>
1630 * insetminimpage.[Ch]:
1631 * insetcollapsable.[Ch]: fix #832
1633 2003-05-16 André Pönitz <poenitz@gmx.net>
1636 * insetbibitem.[Ch]:
1640 * insetcollapsable.[Ch]:
1641 * insetcommand.[Ch]:
1644 * insetexternal.[Ch]:
1645 * insetfloatlist.[Ch]:
1646 * insetgraphics.[Ch]:
1647 * insetinclude.[Ch]:
1650 * insetlatexaccent.[Ch]:
1653 * insettabular.[Ch]:
1657 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1659 2003-05-13 André Pönitz <poenitz@gmx.net>
1662 * insetcollapsable.C:
1666 * insetwrap.C: tostr from own header
1678 * insetwrap.C: STRCONV
1681 2003-05-12 André Pönitz <poenitz@gmx.net>
1693 * insetwwrap.C: boost::format -> bformat all over the place
1695 2003-05-05 André Pönitz <poenitz@gmx.net>
1697 * insettext.h: add missing #include <map>
1699 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1701 * insettext.C (InsetText): parlist cleanup
1704 (insetUnlock): ditto
1706 (lockInsetInInset): ditto
1710 (searchBackward): ditto
1711 (collapseParagraphs): ditto
1713 2003-05-06 John Levon <levon@movementarian.org>
1715 * insetcaption.C: don't cast wrap inset to InsetFloat
1718 * insetfloat.C: remove unneeded type() function
1720 2003-05-05 André Pönitz <poenitz@gmx.net>
1724 * insettabular.[Ch]:
1725 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1726 replace getFirstParagraph() by getParagraphs()
1728 2003-05-03 John Levon <levon@movementarian.org>
1730 * insetcollapsable.h:
1731 * insetcollapsable.C:
1737 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1738 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1739 getCursor(). Remove explicit cursor hides.
1741 2003-05-02 André Pönitz <poenitz@gmx.net>
1743 * insettext.C: remove unneeded &*
1745 2003-04-30 John Levon <levon@movementarian.org>
1747 * insettabular.C: fix edit message
1749 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * insettext.C (setFont): do not convert iterator -> pointer
1753 * insettabular.C (localDispatch): do not convert iterator -> pointer
1755 (tabularFeatures): ditto
1757 2003-04-29 André Pönitz <poenitz@gmx.net>
1759 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1761 2003-04-28 André Pönitz <poenitz@gmx.net>
1763 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1766 2003-04-25 André Pönitz <poenitz@gmx.net>
1768 * insetenv.C: derive from InsetText instead of InsetCollapsable
1770 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * insetexternal.C (string2params): dont do anything if the string
1774 * insetgraphics.C (string2params): ditto
1775 * insetcommand.C (string2params): ditto
1776 * insetert.C (string2params): ditto
1777 * insetfloat.C (string2params): ditto
1778 * insetinclude.C (string2params): ditto
1779 * insetminipage.C (string2params): ditto
1780 * insettabular.C (string2params): ditto
1781 * insetwrap.C (string2params): ditto
1783 2003-04-24 André Pönitz <poenitz@gmx.net>
1785 * insetref.C: support for eqref
1787 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1789 * insetert.C (read): use ParagraphList::iterator.
1791 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * insetquotes.C (latex): comment some code and add warnings.
1795 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1797 * insetexternal.C (localDispatch): added a missing DISPATCHED
1799 2003-04-12 John Levon <levon@movementarian.org>
1801 * insetwrap.C (addToToc): fix a crash, conversion
1802 from while to for loop forgot to remove the explicit
1805 2003-04-10 John Levon <levon@movementarian.org>
1807 * insettabular.C (tabularFeature): make sure
1808 to update the dialog when we change something
1811 (getStatus): don't disable some lfuns (bug 939)
1813 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * insettext.C (saveLyXTextState): adjust
1816 (localDispatch): adjust
1822 * insettabular.C (localDispatch): adjust
1824 (tabularFeatures): adjust
1826 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1828 * insettabular.C (searchForward,searchBackward): fix bug 782
1830 2003-04-07 John Levon <levon@movementarian.org>
1833 * insettext.C: clear status message on inset exit
1835 2003-04-03 John Levon <levon@movementarian.org>
1837 * insetcommand.C: return dispatched on DIALOG_UPDATE
1839 2003-04-02 John Levon <levon@movementarian.org>
1841 * insettabular.C: tab lfuns renamed
1843 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * insettext.C (update): move towards ParagraphList
1846 (updateLocal): ditto
1848 (insetUnlock): ditto
1850 (lockInsetInInset): ditto
1851 (updateInsetInInset): ditto
1852 (localDispatch): ditto
1855 (resizeLyXText): ditto
1856 (searchBackward): ditto
1857 (collapseParagraphs): ditto
1860 * insetwrap.C (InsetWrap): adjust
1861 (addToToc): adjust and rewrite loop
1863 * insettext.[Ch] (paragraph): delete function
1865 * insettabular.C (moveNextCell): adjust
1866 (movePrevCell): adjust
1867 (insertAsciiString): adjust
1869 * insetfloat.C (InsetFloat): adjust
1872 * insetert.C (InsetERT): adjust
1873 (write): adjust, and rewrite loop
1874 (latex): adjust, and rewrite loop
1875 (linuxdoc): adjust, and rewrite loop
1876 (docbook): adjust, and rewrite loop
1877 (localDispatch): adjust
1878 (get_new_label): adjust
1880 2003-04-01 John Levon <levon@movementarian.org>
1882 From Alfredo Braunstein
1885 * insetbutton.C: add localDispatch()
1887 * insetcommand.C: return DISPATCHED when edit() called
1889 * insettext.C: fix bug 967
1891 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * insettext.C: adjust
1895 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * insettext.C (draw): adjust
1898 (crow): return a RowList::iterator not a Row*
1900 * insetminipage.C (localDispatch): adjust
1902 * insetert.C (localDispatch): adjust
1904 2003-03-31 John Levon <levon@movementarian.org>
1907 * insetgraphicsParams.C: use_gui moved to lyx_gui
1909 2003-03-31 John Levon <levon@movementarian.org>
1911 * insettext.C: Alert fix
1913 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * insettext.C (ascent): adjust for RowList
1918 (getLyXText): adjust
1919 (toggleSelection): adjust
1921 * insetminipage.C (localDispatch): adjust for RowList
1923 * insetert.C (localDispatch): adjust for RowList
1924 (getMaxWidth): adjust for RowList
1926 2003-03-29 John Levon <levon@movementarian.org>
1928 * insetert.C: Alert cleanup
1930 2003-03-29 John Levon <levon@movementarian.org>
1932 * insettabular.C: Alert fix
1934 2003-03-28 John Levon <levon@movementarian.org>
1936 * insetfloat.C: reset label on INSET_MODIFY
1938 2003-03-28 John Levon <levon@movementarian.org>
1940 * insetgraphicsParams.C: read subcaptionText as a whole line
1943 2003-03-28 John Levon <levon@movementarian.org>
1945 * insettext.C: remove unused prototypes
1947 2003-03-25 Angus Leeming <leeming@lyx.org>
1949 * insetbibitem.C (localDispatch): repaint the view after modifying
1950 a bibitem inset in case the maximum InsetBibitem width has changed.
1952 2003-03-25 John Levon <levon@movementarian.org>
1955 * insettabular.C: LyXText renamings
1957 2003-03-24 John Levon <levon@movementarian.org>
1959 * insettext.C: remove some dead code. Fix bug 972 and
1960 related by posting a repaint in updateLocal(), and making
1961 the SEL functions set SELECTION.
1963 2003-03-22 John Levon <levon@movementarian.org>
1966 * inset.C: remove no-longer-needed topx_set
1968 * insetcollapsable.h:
1969 * insetcollapsable.C: remove dead code
1972 * insetert.C: rebreak the rows when a possible
1973 change in size is made, and reset the cursor
1976 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1978 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1979 topx_set. Fix drawing errors for clearInset(). Remove
1980 some unnecessary uses of topx, which should die.
1982 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1983 is no longer needed. Replace it with an ugly hack.
1985 2003-03-20 John Levon <levon@movementarian.org>
1988 * insetcollapsable.h:
1989 * insetcollapsable.C:
1997 * insettext.C: remove spurious font parameter
1998 from update(). Fix drawing of ERT insets inside
1999 insets (bug 966). Remove unused mark_dirty from
2000 tabular's updateLocal()
2002 2003-03-19 John Levon <levon@movementarian.org>
2011 * insetwrap.C: remove unused getter/setters
2013 2003-03-19 John Levon <levon@movementarian.org>
2015 * several files: bv->updateInset() doesn't take
2016 a bool mark_dirty any more
2018 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * adjust for BufferView* arg removal from lyxtext.
2022 2003-03-17 John Levon <levon@movementarian.org>
2024 * most files: remove the "cleared" parameter
2025 to draw in favour of always clearing. Associated
2028 2003-03-16 John Levon <levon@movementarian.org>
2030 * insettext.C: remove unused s.refresh
2032 2003-03-13 Angus Leeming <leeming@lyx.org>
2034 * insettext.C (edit): replace Dialogs::updateParagraph with
2035 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2037 2003-03-13 André Pönitz <poenitz@gmx.net>
2039 * Makefile.am: insert insetenv
2041 * insethenv.[Ch]: new files, currently inactive
2043 2003-03-12 John Levon <levon@movementarian.org>
2053 * insettext.C: use new insetnewline
2055 2003-03-12 John Levon <levon@movementarian.org>
2057 * insettext.C: readToken became readParagraph
2059 2003-03-12 John Levon <levon@movementarian.org>
2061 * insettext.C: use parlist iterator for reading contents
2063 2003-03-12 John Levon <levon@movementarian.org>
2065 * insettext.C: name change to readToken()
2067 2003-03-11 André Pönitz <poenitz@gmx.net>
2069 * Makefile.am: insert insethfill
2071 * insethfill.[Ch]: new files
2073 2003-03-10 Angus Leeming <leeming@lyx.org>
2075 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2077 (hideDialog): calls the new static Dialogs::hide() method.
2079 * insetbibitem.C (edit):
2080 * insetbibtex.C (edit):
2081 * insetcite.C (edit):
2082 * insetcommand.C (localDispatch):
2083 * inseterror.C (d-tor):
2084 * insetert.C (showInsetDialog):
2085 * insetexternal.C (localDispatch, edit):
2086 * insetfloat.C (localDispatch, showInsetDialog):
2087 * insetfloatlist.C (edit):
2088 * insetgraphics.C (localDispatch, edit):
2089 * insetinclude.C (localDispatch, edit):
2090 * insetindex.C (edit):
2091 * insetlabel.C (edit):
2092 * insetminipage.C (localDispatch, showInsetDialog):
2093 * insetref.C (edit):
2094 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2095 resetPos, showInsetDialog, openLayoutDialog):
2096 * insettoc.C (edit):
2097 * inseturl.C (edit):
2098 * insetwrap.C (localDispatch, showInsetDialog):
2099 changes due to the changed MailInset interface.
2101 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2103 * insetfloat.h: Set default placement to an empty string.
2105 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2107 * insettext.C (latex): adjust call to latexParagraphs.
2109 2003-03-10 Angus Leeming <leeming@lyx.org>
2111 * mailinset.C: warn the user if the BufferView has not been cached.
2113 2003-03-10 Angus Leeming <leeming@lyx.org>
2115 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2117 * insetcommand.h (inset):
2118 * insetert.h (inset):
2119 * insetexternal.h (inset):
2120 * insetfloat.h (inset):
2121 * insetgraphics.h (inset):
2122 * insetinclude.h (inset):
2123 * insetminipage.h (inset):
2124 * insettabular.h (inset):
2125 * insetwrap.h (inset):
2126 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2128 2003-03-10 Angus Leeming <leeming@lyx.org>
2130 * insetcommand.C (string2params):
2131 * insetexternal.C (string2params):
2132 * insetfloat.C (string2params):
2133 * insetgraphics.C (string2params):
2134 * insetinclude.C (string2params):
2135 * insetminipage.C (string2params):
2136 * insettabular.C (string2params):
2137 * insetwrap.C (string2params): cure warning message about missing
2140 2003-03-09 Angus Leeming <leeming@lyx.org>
2142 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2143 it to communicate with the frontend dialogs.
2145 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2146 contents of this inset!
2148 2003-03-07 Angus Leeming <leeming@lyx.org>
2150 * inseterror.C (localDispatch): new method; calls edit() on
2153 2003-03-07 Angus Leeming <leeming@lyx.org>
2155 * insetbibitem.C (localDispatch):
2156 * insetbibtex.C (localDispatch):
2157 * insetlabel.C (localDispatch):
2158 rewrite as a switch.
2160 2003-03-07 Angus Leeming <leeming@lyx.org>
2162 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2163 it to communicate with the frontend dialogs.
2165 2003-03-07 Angus Leeming <leeming@lyx.org>
2167 * insetexternal.C: remove operator== and operator!= for
2168 InsetExternal::Params. They were used only by the old controller
2171 2003-03-07 Angus Leeming <leeming@lyx.org>
2173 * insetcommand.C (localDispatch):
2174 * insetexternal.C (localDispatch):
2175 * insetfloat.C (localDispatch):
2176 * insetinclude.C (localDispatch):
2177 * insetminipage.C (localDispatch):
2178 * insetwrap.C (localDispatch):
2179 add LFUN_INSET_DIALOG_UPDATE to the switch.
2181 2003-03-07 Angus Leeming <leeming@lyx.org>
2183 * insetcommand.C (string2params):
2184 * insetexternal.C (string2params):
2185 * insetfloat.C (string2params):
2186 * insetinclude.C (string2params):
2187 * insetwrap.C (string2params): use LyXLeX more.
2190 * insetexternal.[Ch]:
2192 * insetinclude.[Ch]:
2193 * insetwrap.[Ch]: change Mailer::name_ to be static.
2195 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2196 it to communicate with the frontend dialogs.
2198 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2201 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2203 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * insettext.C (updateLocal): un-const function
2206 (updateLocal): adjust
2207 (collapseParagraphs): un-const function
2208 (collapseParagraphs): adjust
2210 2003-03-05 Angus Leeming <leeming@lyx.org>
2212 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2213 it to communicate with the frontend dialogs.
2215 2003-03-05 Angus Leeming <leeming@lyx.org>
2217 * insetcollapsable.C (draw): cache the BufferView.
2219 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2220 it to communicate with the frontend dialogs.
2222 2003-03-05 Angus Leeming <leeming@lyx.org>
2224 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2227 2003-03-05 Angus Leeming <leeming@lyx.org>
2229 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2231 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2232 it to communicate with the frontend dialogs.
2234 2003-03-05 Angus Leeming <leeming@lyx.org>
2236 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2237 it to communicate with the frontend dialogs.
2239 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * insettext.C (collapseParagraphs): adjust
2242 (appendParagraphs): make it take a Buffer* instead of a
2243 BufferParams& as arg.
2244 (appendParagraphs): adjust
2246 2003-03-04 Angus Leeming <leeming@lyx.org>
2248 * insetbibitem.C (localDispatch):
2249 * insetbibtex.C (localDispatch):
2250 * insetcommand.C (localDispatch):
2251 * insetert.C (localDispatch):
2252 * insetlabel.C (localDispatch):
2253 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2255 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * insettext.C (latex): adjust for ParagraphList::iterator
2259 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * insetbutton.C (view): adjust for boost 1.30.0
2262 * insetcollapsable.C (view): ditto
2263 * insetgraphics.C (statusChanged): ditto
2265 * insettext.h: move paragraphs to be public.
2267 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * insetnote.[Ch] (InsetNote): remove unused constructor
2271 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2273 * insetgraphics.C: added include "format.h"
2275 2003-02-27 Angus Leeming <leeming@lyx.org>
2277 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2280 2003-02-27 Angus Leeming <leeming@lyx.org>
2282 * insetbibitem.C (localDispatch):
2283 * insetbibtex.C (localDispatch):
2286 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2288 2003-02-26 Angus Leeming <leeming@lyx.org>
2290 * insetbibitem.[Ch] (localDispatch):
2291 * insetbibtex.[Ch] (localDispatch):
2292 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2294 * insetcommand.C (localDispatch):
2295 act only on receipt of LFUN_XYZ_APPLY.
2297 * insetert.C (localDispatch): reformat.
2298 add LFUN_XYZ_APPLY to the switch.
2300 2003-02-26 John Levon <levon@movementarian.org>
2302 * insettext.C: use RowPainter
2304 * inset.h: make helpers take const *
2306 2003-02-26 Angus Leeming <leeming@lyx.org>
2308 * insetcommand.[Ch] (localDispatch): new method.
2310 2003-02-26 Angus Leeming <leeming@lyx.org>
2312 * insetinclude.C (draw): cache the BufferView* using cache not
2313 PreviewImpl::setView
2315 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2317 * insetgraphics.C (draw)
2318 * insetinclude.C (draw): Eliminate also the other argument (owner
2319 inset inset) in the call to PreviewImage::image
2321 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2323 * insetgraphics.C (draw)
2324 * insetinclude.C (draw): Eliminate Buferview argument in call to
2327 2003-02-25 John Levon <levon@movementarian.org>
2329 * insetgraphicsParams.h:
2330 * insetgraphics.C: don't start a load process if
2331 the inset is set to NoDisplay (bug #920)
2333 2003-02-22 John Levon <levon@movementarian.org>
2336 * insetwrap.C: TocItem changed API (bug 913)
2338 2003-02-21 Angus Leeming <leeming@lyx.org>
2340 * insetcollapsable.[Ch] (cache, edit):
2341 * insetbutton.[Ch] (cache, edit): new methods to cache the
2342 BufferView in the draw method.
2344 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2345 simplify comunication between InsetCommand-derived classes and
2348 * insetbibitem.[Ch]:
2352 * insetfloatlist.[Ch]:
2356 * inseturl.[Ch]: small changes to reflect the new interface to the
2359 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2360 other, similar classes.
2362 * Makefile.am: add new files.
2364 2003-02-21 Angus Leeming <leeming@lyx.org>
2366 * updatableinset.h (setView, view): remove.
2367 * inset.h (view, cache): to be replaced by these.
2369 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2372 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2375 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2377 2003-02-21 Allan Rae <rae@lyx.org>
2379 * insetinclude.C (loadIfNeeded): ensure loading also works when
2380 child document is under version control.
2382 2003-02-17 André Pönitz <poenitz@gmx.net>
2384 * insetbib.[Ch]: Adjust access to bibkeys
2386 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2388 * insetquotes.C (dispString): remove use of acute accent for "'"
2391 2003-02-14 John Levon <levon@movementarian.org>
2393 * insettabular.C: changed method names in tabular.C
2395 2003-02-14 John Levon <levon@movementarian.org>
2399 * insetcollapsable.h:
2400 * insetcollapsable.C:
2404 * insettext.C: remove unused getParFromID()
2406 2003-02-13 John Levon <levon@movementarian.org>
2409 * insettext.C: remove unused beginningofMainBody()
2411 2003-02-08 John Levon <levon@movementarian.org>
2415 * insetcollapsable.h:
2416 * insetcollapsable.C:
2421 add nextChange(). Make allowSpellcheck() const. Add markErased().
2423 * insetert.C: ignore deleted text
2425 * insettabular.C: make sure to keep change tracking working
2428 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2433 * insettext.C: Use error messages with identical spelling and punctuation
2435 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2437 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2439 2002-12-17 Juergen Vigna <jug@lyx.org>
2441 * insettext.C (localDispatch): hopefully fixed cursor up down
2442 movement on leaving other insets.
2444 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2446 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2449 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2451 * insetgraphics.C (prepareFile): do not remove the extension of
2452 the file name if it is not the default extension for the given
2453 format (that is, in latex output, remove extension from foo.eps,
2454 but not from foo.epsi)
2456 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2458 * insettext.C (lfunMouseRelease): hackish solution to the "double
2461 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * insetfloat.C (addToToc): use the floats name not its type
2464 * insetwrap.C (addToToc): ditto
2466 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2468 * insetnote.C (init): make label font smaller
2470 2002-12-04 John Levon <levon@movementarian.org>
2472 * insetinclude.C: ressurect setting of command name
2474 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * insetquotes.C (dispString): disambiguate insert call
2478 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * several files: ws changes
2482 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * insetquotes.C (dispString): use string::insert for prepending a
2487 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2489 * insetparent.C (getScreenLabel): use boost::format
2491 * insetgraphics.C (prepareFile): use boost::format
2494 * insetfloatlist.C (latex): use boost::format
2496 * insetcaption.C (draw): use boost::format
2498 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2500 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2503 2002-11-20 Juergen Vigna <jug@sad.it>
2505 * insettabular.C (resetPos): temporary fix for endless loop in
2506 this function on a redraw.
2508 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * insettabular.C (copySelection): STRCONV
2512 * insetinclude.C (uniqueID): STRCONV
2513 (latexString): ditto
2515 * insetgraphics.C: put VersionNumber inside anon namespace
2516 (createLatexOptions): STRCONV
2518 * insetcommandparams.C: include config.h
2520 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2522 * insetgraphicsParams.C (Write): use lyx::float_equal.
2523 Write height data correctly.
2524 (Read): zero scale when reading height data.
2526 2002-10-30 John Levon <levon@movementarian.org>
2528 * insetfloat.C (addToTOC): recursively traverse all
2529 contents looking for captions (fix #568)
2531 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2533 * insetexternal.C (doSubstitution): do not try to replace
2534 environment variables, this is done when executing the command
2536 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2538 * insetexternal.C (doSubstitution): change order of substitution
2539 to work around ReplaceEnvironmentPath brokenness
2541 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2543 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2545 * insetgraphicsParams.C (init, Write): associated changes
2546 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2547 InsetGraphicsParams::scale.
2549 2002-10-21 John Levon <levon@movementarian.org>
2551 * inset.h: remove unused DISPATCH_RESULT
2553 * insettext.C: sgml open/close tag now in sgml namespace
2555 2002-10-21 Angus Leeming <leeming@lyx.org>
2557 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2558 file path subdir/fig.eps when pasting it into a buffer in a different
2561 2002-10-16 John Levon <levon@movementarian.org>
2563 * insetspecialchar.C: remove \\protected_separator parsing
2565 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2567 * insetquote.C: fix LaTeX output of quotation marks.
2569 2002-10-14 Juergen Vigna <jug@sad.it>
2571 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2572 Backspace functions which confused the Undo handling.
2574 2002-10-09 Angus Leeming <leeming@lyx.org>
2576 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2577 BufferView::dispatch that turns off this optimisation when a new inset
2580 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2581 reload the BibTeX keys.
2583 2002-10-11 André Pönitz <poenitz@gmx.net>
2585 * insettext.h: handle LFUN_PRIOR/NEXT
2587 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2589 * insetfloat.C: fix bug with float settings
2590 (document default != float default).
2592 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2594 * insetwrap.C (addToToc): New method.
2595 (InsetWrap): Set layout to caption.
2597 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2601 2002-09-16 John Levon <levon@movementarian.org>
2603 * insettabular.h: hasSelection() needs to be public
2605 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2607 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2609 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2611 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2613 2002-09-11 André Pönitz <poenitz@gmx.net>
2615 * insettabular.C: implement LFUN_WORDSEL
2617 2002-09-10 John Levon <levon@movementarian.org>
2619 * insetinclude.h: remove unused param
2621 2002-09-09 John Levon <levon@movementarian.org>
2624 * insetinclude.C: remove noload, default to input
2626 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2628 * insetgraphics.C: disfuscated use of ']' in built output string.
2630 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2634 2002-08-29 Juergen Vigna <jug@sad.it>
2636 * insettabular.C (lfunMousePress): Pay attention where you set
2637 the x/y values as they depend on which inset in the tabular is
2638 actually locked. So you surely have to reset them if you (un)lock
2641 2002-08-29 André Pönitz <poenitz@gmx.net>
2643 * insetfootlike.h: rename include guard to ALL CAPS
2645 * insettext.C: swap object and first parameter for checkInsetHit calls
2646 as this functions has moved from BufferView to LyXText
2649 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2651 * insetgraphicsParams.C: remove local displayTranslator and use
2652 the one from graphics/GraphicsTypes.h.
2654 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2656 * insetfloat.C (wide): add BufferParams parameter
2658 * insetfloatlist.C (read):
2661 * insetfloat.C (latex):
2663 * insetcaption.C (draw): use LyXTextClass::floats()
2665 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2667 * insetoptarg.h: add std:: qualifier.
2669 2002-08-26 Juergen Vigna <jug@sad.it>
2671 * insettext.C (localDispatch): ditto.
2673 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2675 2002-08-25 John Levon <levon@movementarian.org>
2677 * inseturl.C: elide long URLs (bug 404)
2679 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2681 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2682 remove "Format Version <version_no.>" string from inset header
2685 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2687 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2688 a member of "grfx::Params" anymore.
2690 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2692 2002-08-24 John Levon <levon@movementarian.org>
2695 * insetoptarg.C: ws, pedantry ...
2697 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2699 * insettext.C (collapseParagraphs): pasteParagraph now in global
2701 (appendParagraphs): ditto
2703 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2705 * insetcite.C (latex): Remove spaces only after commmas.
2707 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * insettext.C: remove NO_COMPABILITY stuff
2711 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * insettext.C (edit): use ParagraphList iterators
2715 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2716 (bibitemWidest): ditto
2718 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * insettext.C: include <boost/bind.hpp>
2721 add using std::for_each
2722 (saveLyXTextState): use ParagraphsList::iterator
2723 (init): use for_each on paragraphlist iterators
2724 (InsetText): remove superflous setting cached_bview to 0
2725 (latex): reformat a bit
2726 (ascii): use paragraphlist iterators
2727 (validate): use for_each + boost bind
2728 (getLabelList): use paragraphlist iterators
2729 (deleteLyXText): use for_each + boost::bind
2730 (resizeLyXText): ditto
2731 (reinitLyXText): ditto
2732 (removeNewlines): use paragraphlist iterators
2733 (getParFromID): ditto
2734 (paragraph): use for_each + boost::bind
2735 (getInsetFromID): use paragraphlist iterators
2736 (getLabelList): typo fix
2738 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * insettext.C (read): assign tmp to paragraphs after return from
2741 call to parseSingleLyXformat2Token
2744 2002-08-13 Angus Leeming <leeming@lyx.org>
2763 changes due to the changed LyXView interface that now returns references
2764 to member variables not pointers.
2766 2002-08-13 Angus Leeming <leeming@lyx.org>
2769 * insetcollapsable.h:
2772 * insettext.h: forward-declare WordLangTuple
2773 (selectNextWordToSpellcheck) constify return type.
2776 * insetcollapsable.C:
2779 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2781 2002-08-12 Angus Leeming <leeming@lyx.org>
2783 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2785 2002-08-12 Juergen Vigna <jug@sad.it>
2787 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2790 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2793 (bibitemWidest): ditto
2794 * insettext.[Ch]: ditto
2796 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2798 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2800 2002-08-09 Angus Leeming <leeming@lyx.org>
2802 * insetinclude.C (latexString): remove fudge now that I've found out
2803 how to enable LaTeX to find the file using input@path.
2805 2002-08-09 John Levon <levon@movementarian.org>
2808 * insettext.C: remove unused xpos
2810 2002-08-07 Juergen Vigna <jug@lyx.org>
2812 * insettabular.C (localDispatch): make delete not put the stuff
2813 in the clipboard only do this on a cut operation.
2815 * insettext.C (localDispatch): make delete and backspace not put
2816 selected stuff to the clipboard.
2818 2002-08-07 André Pönitz <poenitz@gmx.net>
2821 * insetcollapsable.[Ch]:
2825 * insettabular.[Ch]:
2826 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2828 2002-08-06 John Levon <levon@movementarian.org>
2832 * insetcollapsable.h:
2833 * insetcollapsable.C:
2839 * insettext.C: use WordLangTuple for spellcheck
2841 2002-08-06 Angus Leeming <leeming@lyx.org>
2843 * insetinclude.C: add a monitor to the previewed image, so that the
2844 image is refreshed if the \input-ed file changes.
2846 2002-08-04 John Levon <levon@movementarian.org>
2849 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2851 2002-08-02 Angus Leeming <leeming@lyx.org>
2853 * insetcommandparams.[Ch] (preview): new methods returning and setting
2854 a new bool preview_ flag.
2855 (read): read this flag.
2856 (operator==): add flag to check.
2858 * insetinclude.C (write): output new preview() flag.
2859 (previewWanted): use this flag.
2861 2002-08-02 Angus Leeming <leeming@lyx.org>
2863 * insetcollapsable.[Ch] (addPreview):
2864 * insettabular.[Ch] (addPreview):
2865 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2866 for insets in insets.
2868 2002-08-02 Angus Leeming <leeming@lyx.org>
2870 * insetcite.C: fix typo.
2872 * insetgraphics.C: kill current_view and instead cache the BufferView
2875 * insetinclude.C: kill current_view and pass the BufferView to the
2876 PreviewedInset so that it can cache it.
2878 2002-08-01 Angus Leeming <leeming@lyx.org>
2880 * inset.h (generatePreview): renamed as addPreview.
2881 (generatePreview): new method. Allows code to be moved out of
2882 math_nestinset.C and into the new PreviewedInset class.
2884 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2885 add previews to the inset when \input-ing LaTeX.
2887 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2889 * several files: strip,frontStrip -> trim,ltrim,rtrim
2891 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * insetbib.C (latex): modify because of strip changes
2895 * insetnote.C (InsetNote): ditto
2897 2002-07-26 Juergen Vigna <jug@sad.it>
2899 * insettabular.C (searchForward): check for lastcell if we
2900 had a locking inset.
2902 2002-07-25 Juergen Vigna <jug@sad.it>
2904 * insettabular.C (insetMotionNotify): Don't update the screen
2905 if we didn't do nothing.
2906 (searchForward): last cell was not checked.
2908 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2910 * insetfloat.C (read, write): Allow default placement
2911 (floatPlacement_ is empty).
2913 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2915 * insetminipage.h (noFontChange):
2916 * insettabular.h (noFontChange):
2917 * insetfootlike.h (noFontChange):
2918 * insetfloat.h (noFontChange): return true
2920 * inset.h (noFontChange): new method, defaulting to false
2922 2002-07-22 Herbert Voss <voss@lyx.org>
2924 * insetgraphicsParams.[Ch]: support size_type for old docs
2926 2002-07-22 Herbert Voss <voss@lyx.org>
2929 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2932 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2934 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2936 * insetlatexaccent.h: do not include "lyxlex.h"
2938 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2941 * insetlatexaccent.C:
2945 * insetbib.C: #include "lyxlex.h"
2951 * insettext.C: use BufferParams::getLyXTextClass
2954 * insetfloat.C (addToToc): new method. Add to toclist the entries
2955 corresponding to Caption layouts
2956 (InsetFloat): when creating a new float, set the layout to "Caption"
2958 2002-07-21 Herbert Voss <voss@lyx.org>
2960 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2961 image relevant part into graphics/GraphicsImgae.C
2963 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2965 * insettoc.C (ascii):
2966 * insetfloatlist.C (ascii): change to use the new Toc functions
2967 instead of stuff that was in Buffer
2969 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2971 * insettext.C (localDispatch): BufferView::Dispatch has been
2972 renamed to BufferView::dispatch
2974 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2976 * insetgraphicsParams.C (as_grfxParams): use the new
2977 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2978 1.2.0 patch, and I do not really know how to adapt it to the new
2979 grfx::Cache world. Angus, please could you have a look?
2981 2002-05-01 Herbert Voss <voss@lyx.org>
2983 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2985 2002-07-18 Angus Leeming <leeming@lyx.org>
2987 * insetgraphics.C: clean-up comments (from Herbert).
2988 add a new checksum variable to the cache. Use it in PrepareFile.
2989 (draw): start monitoring the file for a change.
2990 (prepareFile): re-arrange a little to avoid unnecessary steps.
2992 2002-07-17 Angus Leeming <leeming@lyx.org>
2994 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2995 a method rather than to the signal directly.
2997 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2999 * insettext.C: use view_state_changed, switchKeyMap
3001 2002-07-17 Herbert Voss <voss@perce.de>
3003 * insetgraphics.C (prepareFile): keep the extension when
3004 exporting to nice file
3006 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3008 * insetcite.C (getNatbibLabel):
3009 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3011 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3013 * insetgraphics.C: use ->isDrawable()
3015 2002-07-12 Angus Leeming <leeming@lyx.org>
3017 * insetgraphics.C: use the new smart loading capabilities of the image
3020 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3022 * insettabular.C (edit): Move into correct cell when entering a
3025 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3028 2002-07-05 Angus Leeming <leeming@lyx.org>
3030 * inset.h (generatePreview): new virtual method.
3032 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3034 * insetcommandparams.[Ch] (operator=): move out of class
3035 (operator!): move out of class
3037 2002-07-04 André Pönitz <poenitz@gmx.net>
3039 * insetcommandparams.[Ch]: new files
3041 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3043 2002-06-15 Herbert Voss <voss@perce.de>
3045 * insetgraphics.C (prepareFile): bugfix; return always
3046 files without extension
3048 2002-06-28 Angus Leeming <leeming@lyx.org>
3050 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3051 rename asGParams -> as_grfxParams.
3053 * insetgraphics.C: reflect above change.
3055 2002-06-26 Angus Leeming <leeming@lyx.org>
3057 * insetgraphics.h: use boost::scoped_ptr in preference to
3060 2002-06-26 Angus Leeming <leeming@lyx.org>
3062 * insetgraphics.C: moved the image loading stuff into a new class
3063 grfx::Loader. Simplifies this file enormously.
3065 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3067 * insetgraphicsParams.C: changes aassociated with moving
3068 grfx::DisplayType out of grfx::GParams.
3070 2002-06-26 André Pönitz <poenitz@gmx.net>
3072 * insetgraphics.C: use os::external_path where necesaary according to a
3073 patch from Claus Hentschel)
3075 2002-06-25 Angus Leeming <leeming@lyx.org>
3077 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3078 generating a pixmap once the graphics file is loaded into memory.
3079 The current_view ugliness that was in grfx::ModifiedImage has been
3080 moved here now that grfx::ModifiedImage is no more.
3082 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3084 * insettext.C: layout as layout
3086 2002-05-28 André Pönitz <poenitz@gmx.net>
3088 * insetfloatlist.h: remove source of compiler warning
3090 * insetref.C: tiny whitespace
3092 2002-06-15 Herbert Voss <voss@perce.de>
3094 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3095 and take always convert when no userdefined converter was
3097 (latex) small changes in the lyxerr output
3099 2002-06-15 LyX Development team <lyx@rilke>
3101 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3102 mixed content. Small white spaces clean.
3104 2002-06-14 Angus Leeming <leeming@lyx.org>
3106 * inseetexternal.C: remove the using std::difftime declaration.
3108 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3110 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3112 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3114 * insetquotes.C (draw): fix drawing of double quotes
3116 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3118 * insettabular.C: s/scrollCB/scrollDocView/
3120 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3122 * insettext.C: change of topCursorVisible()
3125 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3128 * insettext.C: rename/change of LyXScreen
3130 2002-06-07 Angus Leeming <leeming@lyx.org>
3132 Fixes needed to compile with Compaq cxx 6.5.
3134 all c-library variables have been moved into namespace std.
3135 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3137 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3139 * insetinclude.C (uniqueID):
3140 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3141 conflicted with some AIX headers.
3143 2002-05-31 Juergen Vigna <jug@sad.it>
3145 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3149 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3151 * insetexternal.C (clone): fix () bug when using new
3152 (updateExternal): don't only look for difftime in global scope
3154 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3156 * insettabular.C: add const
3158 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3161 file name, in case there are weird characters like ',' in there.
3164 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3166 * switch from SigC signals to boost::signals.
3168 2002-05-28 André Pönitz <poenitz@gmx.net>
3170 * insets/insetgraphicsParams.[Ch]:
3171 put in inset related stuff from src/graphic
3173 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3181 * insetcollapsable.C:
3182 * insetcollapsable.h:
3210 * inseturl.h: use mouse_state. Kill insetKeyPress
3212 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3217 * insetcollapsable.C:
3220 * insetlatexaccent.C:
3222 * insetspecialchar.C:
3224 * insettext.C: name change for font metrics
3226 2002-05-24 Juergen Vigna <jug@sad.it>
3228 * insetgraphics.h: include inset.h first (for LString.h)
3230 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3232 * insettext.C: screen moved
3234 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3252 * inseturl.C: LyXView moved into frontends/
3254 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3259 * insetcollapsable.C:
3263 * insetgraphicsParams.C:
3264 * insetlatexaccent.C:
3266 * insetspecialchar.C:
3268 * insettext.C: move Painter to frontends/
3270 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3272 * insettabular.h: use more specific smart_ptr header.
3273 * insettext.h: ditto
3275 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3278 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3280 * insettext.C: clear selection on paste (bug 393)
3282 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3284 * insettext.C (latex): Honor the moving_arg argument.
3286 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3288 * insetfoot.C (latex): if a footnote is in a title layout, then it
3289 is a \thanks. And then, its contents is a moving argument.
3291 2002-05-14 Juergen Vigna <jug@sad.it>
3293 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3296 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3298 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3299 when using options "Full author list" or "Upper case".
3301 2002-05-14 Herbert Voss <voss@perce.de>
3303 * insetgraphics.C (prepareFile): allow files with same name
3305 (readFigInset): set the flags from old figinset in the right
3307 (findTargetFormat): more comments
3309 2002-05-14 Juergen Vigna <jug@sad.it>
3311 * insettext.C (edit): tell checkAndActivateInset() that we don't
3312 have a button press.
3313 (checkAndActivateInset): if button < 0 we don't have a button press
3314 on the inset and os we won't call edit on it if it's not a Highly
3315 editable inset (then we have to enter it).
3317 2002-05-13 Juergen Vigna <jug@sad.it>
3319 * insetcollapsable.C (insetButtonRelease): returned wrong return
3322 2002-05-09 Juergen Vigna <jug@sad.it>
3324 * insetcollapsable.C (edit): first_after_edit should only be
3325 set to true if we enter this inset and it was collapsed so we
3326 open it up. This is needed to reclose it after a search/replace
3327 or spellcheck function opened it and was negative.
3329 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3331 * insetfloat.C (latex): Return correct value.
3333 2002-05-04 Herbert Voss <voss@perce.de>
3335 * InsetgraphicsParams.C (read): fix bug with WH
3337 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3339 * insetfloat.C (latex): More sensible latex output
3340 (fix the problem with endfloat).
3342 2002-05-02 José Matos <jamatos@fep.up.pt>
3344 * insetgraphics.C (validate): acess params as everyone else.
3346 2002-05-03 Juergen Vigna <jug@sad.it>
3348 * insettabular.C (fitInsetCursor): recalculate the cursor position
3351 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3353 * InsetgraphicsParams.[Ch]: whitespace.
3355 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3357 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3358 float type do not exist.
3360 2002-04-28 Herbert Voss <voss@perce.de>
3362 * insetgraphics.C (latex): fix bug with missing file-extension.
3363 LaTeX still allows a missing "eps" or "ps".
3365 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3367 * insetfloat.C (c-tor, wide): translate the name of the float.
3369 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3371 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3372 when using natbib and make it work efficiently. Must emphasise that the
3373 real work is Herbert's.
3375 2002-04-23 Herbert Voss <voss@perce.de>
3377 * insetgraphic.C (prepareFile): fix bug with overwriting and
3378 deleting an existing *.eps-file in the doc-dir
3380 2002-04-23 Juergen Vigna <jug@sad.it>
3382 * insettabular.C (drawCellSelection): fix off by 1 error.
3384 2002-04-22 Juergen Vigna <jug@sad.it>
3386 * insettabular.C (setFont): rewoke full selection if it was asked,
3387 after we changed all we had to change.
3389 * insettext.C (insetUnlock): code was uninitialized in some situations.
3391 2002-04-19 Herbert Voss <voss@perce.de>
3393 * insetgraphic.C (prepareFile): return filename without
3394 extension if we only export without compiling
3396 2002-04-19 Juergen Vigna <jug@sad.it>
3398 * insettext.C (draw): call a fullRebreak on the row where we had a
3399 change and reset the cursor and selection-cursors.
3401 * insettabular.C (insetUnlock):
3402 (insetButtonPress): call an update before setting the_locking_inset = 0
3403 as otherwise we don't repaint!
3404 (update): reset the cursor position when we changed dimensions as
3405 otherwise our cursor may be on the wrong spot.
3407 2002-04-18 Juergen Vigna <jug@sad.it>
3409 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3410 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3411 redraw otherwise we won't redraw.
3413 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3414 not really right before, but I only discovered this with the last
3415 changes to Page up/down.
3417 2002-04-17 Juergen Vigna <jug@sad.it>
3419 * insettext.C (checkAndActivateInset): simplified as we now have the
3420 edit(bv, bool) call.
3422 * insettext.h: changed behind variables to front variables to be
3423 equal to the one in the edit call (as it is for that they are used).
3425 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3427 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3428 not output anything at all!
3430 2002-04-16 Juergen Vigna <jug@sad.it>
3432 * insettabular.C (insetButtonPress):
3433 (insetUnlock): call a redraw on unlocking the cell inset.
3435 * insettext.C (insetButtonPress): same as below.
3436 (lockInset): new function to set initial values when inset should
3438 (insetButtonPress): use above function.
3439 (insetUnlock): don't force a repaint only set the updateStatus. The
3440 outside world should repaint if it thinks it should be done!
3442 * insettabular.C (insetButtonPress): init values if not set as locked
3443 as we are locked if someone presses on us and don't call the edit()
3444 call of the InsetText to lock it do it as BufferView does it!
3446 * inset.h (insetInInsetY): make func const and return an int.
3449 * insetcollapsable.C: adapt the above changed function.
3451 2002-04-15 Juergen Vigna <jug@sad.it>
3453 * insettext.C (getCursorPos): return relative position as to be able
3454 to give them directly to the edit() call.
3455 (edit): we have to set also x_fix as it is not set inside the
3456 setCursorFromCoordinates call!
3457 (insetMotionNotify): ditto.
3459 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3461 * insetbib.C (getKeys): strip leading '\t's from the line too.
3462 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3464 2002-04-12 Juergen Vigna <jug@sad.it>
3466 * insettext.h: added cix() helper function and use it where appropriate
3468 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3470 * insetgraphics.C (prepareFile): fix bug when graphics is a
3473 2002-04-12 Juergen Vigna <jug@sad.it>
3475 * insettext.C (insertInset): remove unneeded code!
3476 (updateLocal): fitCursor() fixes.
3477 (collapseParagraphs): fix a possible problem when having a selection
3478 and collapsing the paragraphs.
3480 2002-04-08 Herbert Voss <voss@perce.de>
3482 * insetgraphic.C (write): write the rotating angle as
3483 a float as is. test only for != 0.0
3485 2002-04-11 Juergen Vigna <jug@sad.it>
3487 * insettext.C: new function ciy() and use it for setting inset_y.
3489 * insetert.C (draw): fix the x return for collapsed version.
3491 2002-04-07 Herbert Voss <voss@perce.de>
3493 * insetgraphic.C (readFigInset): fix bug with subcaption and
3496 2002-04-08 Herbert Voss <voss@lyx.org>
3498 * insetgraphicsparam.C: forgot special option and delete old
3501 2002-04-05 Juergen Vigna <jug@sad.it>
3503 * insettext.C (localDispatch): make a CURSOR update if we inserted
3506 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3508 * insetfloatlist.C (getScreenLabel):
3509 (latex): use Floating::listName
3510 (validate): new method
3512 2002-04-03 José Matos <jamatos@fep.up.pt>
3514 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3516 * insetfoot.[Ch] (docbook): added forgotten method.
3518 2002-04-03 Juergen Vigna <jug@sad.it>
3520 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3521 way as in Bufferview_pimpl.
3523 2002-04-03 Allan Rae <rae@lyx.org>
3525 * insetgraphics.C (latex): one % too many makes living on the bleeding
3526 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3528 2002-03-28 Herbert Voss <voss@lyx.org>
3530 * insetgraphic.C (latex): simplify the code for the latex
3531 output when the file doesn't exist
3533 2002-03-29 Juergen Vigna <jug@sad.it>
3535 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3538 * insettabular.C (edit): call fitCursor().
3540 * insettext.C (insetButtonPress): change behaviour of no_selection
3541 to the one in the BufferView selection_possible and fix the spurious
3542 selection bug with it.
3543 (localDispatch): revoke selection on BREAK... functions.
3545 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3547 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3549 2002-03-28 Juergen Vigna <jug@sad.it>
3551 * insettabular.C (insetAllowed): return true as default value otherwise
3552 we're not able to insert insets inside paragraphs of an not locked
3555 2002-03-27 Herbert Voss <voss@lyx.org>
3557 * insetgraphicsparam.C: change c%, p% to col%, page%
3559 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3561 * insetspecialchar.C (isLineSeparator): disable the nice code to
3562 allow linebreaks after hyphenation and menu separators.
3564 2002-03-26 Herbert Voss <voss@lyx.org>
3566 * insetgraphics.C (figinsetRead): set the right lyxview
3568 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3570 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3571 $\backslash$ and pass a "string const &" to the function.
3572 (prepareFile, latex): use Path rather than MakeAbsPath.
3574 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3576 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3577 proper fix to the graphics cache.
3578 (latex): "really" nice output if the file is not found ;-)
3580 2002-03-26 Juergen Vigna <jug@sad.it>
3582 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3583 (collapseParagraphs): fixed inserting of separator ' '
3585 * insettabular.C (insertAsciiString): only check for buffer lenght
3586 not if we have \t or \n inside the buffer as if we don't have we only
3587 have 1 cell and that's it!
3589 * insetert.C (close): don't collapse if inlined.
3591 2002-03-25 Herbert Voss <voss@lyx.org>
3593 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3594 graphics file does not exist.
3596 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3598 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3599 path when preparing export.
3601 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3602 no longer MakeRelPath.
3604 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3606 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3607 Used to determine the absolute path to the graphics file in the
3608 graphics cache and only in the graphics cache.
3609 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3610 make graphics file name absolute if it is stored as a relative path.
3612 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3613 make graphics file name absolute if it is stored as a relative path.
3615 * insettext.C (edit): emit an updateParagraph signal on entering a text
3616 inset. Needs to be emitted when leaving the inset also.
3618 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3620 * all files: ws cleanup
3622 * Makefile.am: remove ld -r stuff
3624 2002-03-21 Juergen Vigna <jug@sad.it>
3626 * insettext.C (appendParagraphs): new function added to append
3627 the paragraphs to this insets paragraphs.
3629 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3631 * Makefile.am: special rules if partial linking
3633 2002-03-19 Juergen Vigna <jug@sad.it>
3635 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3637 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3639 * insetgraphics.C: Clean up Baruch's comments a little.
3640 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3642 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3645 * insettheorem.C: wrap warnings
3647 * insetgraphics.C: improve messages, move cached_status_
3648 setting to safer place
3650 2002-03-18 Juergen Vigna <jug@sad.it>
3652 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3654 (localDispatch): ditto
3656 * insettext.C (edit): removed unneeded showCursor calls.
3657 (localDispatch): ditto.
3659 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3661 * insetgraphics.h: remove display() method.
3663 2002-03-11 Juergen Vigna <jug@sad.it>
3665 * insetgraphics.C (draw): hack to fix the redrawing bug.
3666 (draw): seems this fixes #268 (force redraw of row if we changed).
3668 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3669 this inset text (don't know why I missed this earlier).
3671 2002-03-08 Juergen Vigna <jug@sad.it>
3673 * insettabular.C (updateLocal): do a FULL update if we're not locked
3674 and only a CELL update is asked.
3676 * insettext.C (updateInsetInInset): update insets inside inset also
3677 if it isn't inside the_locking_inset.
3679 * insettabular.C (updateInsetInInset): ditto.
3681 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3683 * insetexternal.C (doSubstitution): check whether we are using a
3684 temp dir for defining $$FPath
3686 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3689 * insettext.C: remove #include "WorkArea.h".
3691 2002-03-06 Juergen Vigna <jug@sad.it>
3693 * insettext.C (draw): fixed frame redrawing.
3694 (clear): forgot to set the inset_owner of the paragraph.
3696 * insetert.C (status): pay attention the bv can be 0 here!
3697 (getMaxWidth): add the default leftMargin
3699 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3701 * insetert.C (getMaxWidth): make w unsigned int.
3703 2002-03-05 Juergen Vigna <jug@sad.it>
3705 * insetert.C (status): change behaviour of Inlined.
3706 (getMaxWidth): added for new inlined behaviour.
3708 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3710 * insetnote.h (linuxdoc, docbook): add empty methods.
3711 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3712 before being initialized.
3714 2002-03-05 Juergen Vigna <jug@sad.it>
3716 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3717 only that one in the inset. Should be enough.
3718 (updateLocal): set the selection cursor always if we don't have a
3719 selection to be sure it's set!
3721 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3723 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3725 * insettext.C (clear): a gross hack to set layout on a newly
3728 2002-03-04 Juergen Vigna <jug@sad.it>
3730 * insettabular.C (localDispatch): inserted handling of
3731 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3732 (insertAsciiString): new helper function.
3734 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3736 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3739 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3741 * insettext.C (InsetText): initalize newly created par with
3742 default layout. add bufferparams parameter
3745 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3746 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3747 * insetert.[Ch] (InsetERT): ditto
3748 * insetfloat.[Ch] (InsetFloat): ditto
3749 * insetfoot.[Ch] (InsetFoot): ditto
3750 * insetfootlike.[Ch] (InsetFootLike): ditto
3751 * insetmarginal.[Ch] (InsetMarginal): ditto
3752 * insetminipage.[Ch] (InsetMinipage): ditto
3753 * insetnote.[Ch] (InsetNote): ditto
3754 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3756 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3758 * insettext.C: layout as string
3760 * insetinclude.C: layout as string
3762 * insetert.C: layout as string
3764 * insetbib.C: layout as string
3766 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3769 * insettabular.C: remove #include "lyx_gui_misc.h".
3771 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3776 * inset.h: remove figinset, yahoo !
3778 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3780 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3781 copy c-tor and initialise member variables in the correct order.
3783 2002-02-28 Juergen Vigna <jug@sad.it>
3785 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3787 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3789 * inset.h: ... and add a better one here.
3791 * insetcommand.C (insetButtonRelease): remove that one which was a
3794 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * insetcommand.C (insetButtonRelease): ... and move it here.
3798 * inseturl.h: remove insetButtonRelease from there...
3800 2002-02-26 Juergen Vigna <jug@sad.it>
3802 * inseturl.h: Added a insetButtonRelease call returning true as
3805 * insetlabel.C (edit): Fixed wrong update handling after change I
3806 leave in the wrong code for the one who wrote it to remove and have
3807 a look what he did wrong.
3809 * insettabular.C (localDispatch): force a SELECTION update if we
3810 had a selection and we passed the event down to the inset (fix #213)
3811 (localDispatch): handle font changing stuff when we have a cell
3812 selection so that the selection is not rewoked. I don't really like
3813 this fix, but it's the only way I see to do it right now.
3815 2002-02-22 Juergen Vigna <jug@sad.it>
3817 * insettext.C (insetUnlock): set the cursor to the second paragraph
3818 if available and if the first one is empty (fix #191).
3820 2002-02-20 Juergen Vigna <jug@sad.it>
3822 * insettext.C (getDrawFont): implemented this function to call the
3823 one of the owner if present as the owner normally knows what to do
3826 * insetert.C: implement getDrawFont() function and comment out all
3827 the crap for setting a special latex font inside this inset.
3828 (InsetERT): added a Lanugage parameter to this constructor.
3830 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3831 change the font for being drawn on screen (used only in InsetERT for
3834 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3835 and also above (was missing).
3836 (updateLocal): don't remove the cell selection if we have one this
3837 should be done where we really want to remove it.
3839 2002-02-20 José Matos <jamatos@fep.up.pt>
3841 * insetinclude.h: include_label made string const.
3843 * insetinclude.C (InsetInclude): moved include_label initialization.
3846 (validate): fix support for temporary directory, for docbook and
3849 * insetgraphics.h : new private member, graphic_label, that holds
3850 the entity name that defines the graphics location (SGML).
3852 * insetgraphics.C (unique_id): new function to give a unique label
3855 (validate): the file locatation is given by an entity reference.
3857 2002-02-18 Herbert Voss <voss@lyx.org>
3859 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3861 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3863 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3864 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3866 2002-02-18 José Matos <jamatos@fep.up.pt>
3868 * insetinclude.C (validate): some code only applies to latex buffers,
3869 it was made conditional.
3871 2002-02-12 Herbert Voss <voss@lyx.org>
3873 * insetgraphics.C: (prepareFile) do not check at this time
3874 if the file is present.
3876 2002-02-12 Herbert Voss <voss@lyx.org>
3878 * insetgraphics.C: latex(), return the correct newlines
3880 2002-02-13 José Matos <jamatos@fep.up.pt>
3882 * inseturl.C (docbook): escape & in url.
3884 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3886 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3887 after HYPHENATION and MENU_SEPARATOR
3889 * inset.h (isLineSeparator): new method, returns false by default.
3891 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3893 * insetert.C (status): do not update the text inset, but the ERT
3896 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3898 * insetnote.C: use notebg for background
3900 2002-02-08 Herbert Voss <voss@lyx.org>
3903 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3904 prevent LyX from unzipping when this should be handled
3905 by latex vis the graphic.cfg.
3908 2002-02-08 Herbert Voss <voss@lyx.org>
3910 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3911 exists, than return filename with extension
3913 2002-02-06 Herbert Voss <voss@lyx.org>
3915 * insetgraphic.C: prepareFile(): don't convert the file, when
3916 it's not viewed in LyX. Saves a lot of time when opening a
3919 2002-02-05 Herbert Voss <voss@lyx.org>
3922 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3923 and adding a rotate bool similiar to subcaption
3925 2002-02-04 Herbert Voss <voss@lyx.org>
3928 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3929 similiar view to the LaTeX one. Get zipped files work.
3931 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3933 * insetgraphicsParams.C (init): set display to DEFAULT.
3934 No longer #include "lyxrc.h".
3936 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3938 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3939 for now (so that the code compiles).
3941 2002-02-02 Herbert Voss <voss@lyx.org>
3943 * insetgraphic.C: delete inVariant() and some minor changes
3944 * insetgraphicsParams.[C]:
3946 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3948 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3949 interogate lyxrc.display_graphics before diaplaying the graphic.
3951 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3952 InsetGraphicsParams::DisplayType.
3954 2002-01-31 Herbert Voss <voss@lyx.org>
3956 * insetgraphic.C: (readfigInset) set display to pref-default
3958 2002-01-30 Herbert Voss <voss@lyx.org>
3960 * insetgraphic.C: get the filetyp from it's contents
3961 * insetgraphicparams.C: add token scale and lyxrc.display when
3962 creating a new inset
3964 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3966 * figinset.C: added using std::ios directive.
3968 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3970 * figinset.C (runqueue): open translation file in binary mode (for
3973 2002-01-27 Herbert Voss <voss@lyx.org>
3975 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3976 all options and to be sure that the old figinsets are correct
3978 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3979 structure and to support all lengths as LyXLength. The Parameter
3980 structure changed again, but reading of "old" 1.2 graphic insets
3983 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3985 * insetert.h (forceDefaultParagraphs): Added
3987 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3989 * insettabular.C (getMaxWidth):
3990 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3992 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3994 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3995 of LyXLength::inPixels
3997 * inset.C (latexTextWidth):
3998 * insetminipage.C (latexTextWidth): new method, which implements
3999 the equivalent of the LaTeX macro \textwidth
4001 * insetminipage.C (getMaxWidth): use latexTextWidth
4003 2002-01-18 Juergen Vigna <jug@sad.it>
4005 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4007 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4011 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4014 2002-01-17 Juergen Vigna <jug@sad.it>
4016 * insettabular.C (lockInsetInInset): same change as in insettext.
4018 * insettext.C (draw): width() function was called without setting
4019 the right top_x which could lead to wrong insetWidth setting!
4020 (lockInsetInInset): call edit instead of calling lockInset if we
4021 have to lock an inset inside!
4022 (edit): we have to also tell the inset that we have to redraw the
4023 frame on an edit call if this inset draws a frame only if locked.
4025 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4027 * insetbib.C (getFiles): uncomment Path variable.
4029 2002-01-16 Juergen Vigna <jug@sad.it>
4031 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4034 2002-01-16 Allan Rae <rae@lyx.org>
4036 * insetinclude.C (docbook): someone forgot a ";"
4038 2002-01-16 José Matos <jamatos@fep.up.pt>
4040 * figinset.C (docbook): removed a old place holder "@".
4041 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4042 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4043 ascii text version, clearly guarded inside a CDATA section.
4044 (docbook): in docbook 4, inlinegraphics is empty.
4045 * insettabular.C (linuxdoc): export the ascii version of the table
4046 inside a CDATA section.
4048 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4050 * insetparent.C (InsetParent):
4051 * insetgraphicsParams.C (Write):
4053 * insetgraphics.C (prepareFile):
4056 * insetexternal.C (executeCommand):
4057 (doSubstitution): use Buffer::filePath
4059 * insetbib.C (getFiles): add a #warning for Angus
4061 * insetgraphics.C: Add a remark about how filenames should be
4062 considered to be relative to buffer (but absolute is still allowed)
4063 (draw): do not try to get status if lyxrc.use_gui is false
4065 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4068 * insetcollapsable.[Ch]:
4069 * insettabular.[Ch] (searchForward, searchBackward): change the
4070 bool const & params to bool.
4072 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4073 to avoid the name clash with InsetCollapsable's methods of the same
4074 names but different functionality.
4076 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4078 * insettext.C (ascii): use lyx::count rather than countChar.
4080 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4082 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4084 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4086 * insetgraphics.C (updateInset): do not try to render image if
4087 lyxrc.use_gui is false (bug #104)
4089 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4090 if file does not exist
4092 * figinset.C (browseFile): add shortcuts to directory buttons
4094 * insettext.C (updateLocal): update menubar and toolbar here too.
4096 2002-01-13 Allan Rae <rae@lyx.org>
4098 * insettabular.C (InsetTabular): Both constructors now initialise
4099 all class variables.
4101 2002-01-11 Juergen Vigna <jug@sad.it>
4103 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4105 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4107 * insettabular.C (getStatus): add forgotten brace around multiline
4110 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4112 * insetfloat.C (validate): require "float" instead of "floats".
4114 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4116 * insettabular.C (getStatus): use FuncStatus
4118 2002-01-08 Juergen Vigna <jug@sad.it>
4120 * insettabular.C (insetButtonRelease): now this should work too
4123 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4124 if the width is a percentage.
4126 * inset.h: added isChar() function and implemented this for
4127 insetspecialchar insetquotes and insetlatexaccent.
4128 added forceDefaultParagraphs() and implemented it for insettabular.
4130 2002-01-07 Juergen Vigna <jug@sad.it>
4132 * insettext.C (getLyXText): Fixed this function. An insert into the
4133 map is only done if we REALLY have a new BufferView.
4135 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4137 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4139 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4141 * insetinclude.C: fix use of FileInfo
4143 2002-01-07 Juergen Vigna <jug@sad.it>
4145 * insettabular.C (draw): fixed clearing of cell around inset.
4147 2002-01-05 Juergen Vigna <jug@sad.it>
4149 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4150 variables are updated.
4152 * insettabular.C (resetPos): set always the inset_y as it may be
4153 needed in another function.
4154 (searchBackward): don't draw while searching.
4156 2002-01-04 Juergen Vigna <jug@sad.it>
4158 * insettext.C (lockInsetInInset): forgot to set a cursor.
4160 2002-01-02 Juergen Vigna <jug@sad.it>
4162 * insettext.C (insertInset): make the correct undo informations on
4163 inserting new insets.
4165 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4167 * insettabular.C: correct single-cell select vertically
4169 2001-12-27 Juergen Vigna <jug@sad.it>
4171 * insettabular.C (ascii): export as tab-separated-values if the
4172 function was not called from export (f.ex.: clipboard).
4174 * insetcollapsable.h: added default support for ascii, linuxdoc and
4175 docbook export (the insettext is exported by default!)
4177 * insettabular.C (copySelection): suff the clipboard with the tabular
4178 data in a tab separated format, seems more naturals then with all the
4181 2001-12-24 Juergen Vigna <jug@sad.it>
4183 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4184 to check for REAL mouseMotion.
4186 2001-12-20 Juergen Vigna <jug@sad.it>
4188 * inset.C (cursor): return the owners cursor if available instead of
4189 always only the bv->text->cursor.
4191 * insettabular.C (checkLongtableSpecial): works now.
4193 2001-12-19 Juergen Vigna <jug@sad.it>
4195 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4196 this has to be always row + 1 as 0 means not selected!
4197 (checkLongtableSpecial): added
4198 (tabularFeatures): better longtable options support
4200 * insettext.C (resizeLyXText): reinit the text always also on a
4203 2001-12-18 Juergen Vigna <jug@sad.it>
4205 * insettext.C (updateInsetInInset): look if we have to autocollapse
4206 paragraps and return if the update is requested for ourself.
4208 * insetert.C (status): update the insettext not myself as that is what
4211 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4212 function only return if the update was requested with myself.
4214 * insettext.C (insetButtonPress): fixed stupid bug.
4215 (various functions): pay attention that lt is cleared BEFORE calling
4216 updateLocal() and try to use it in the right manner (don't use it
4217 if it's not really neccessary!)
4218 (collapseParagraphs): insert a blank between collapsing paragraphs
4219 if neccessary (not already there!).
4221 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4223 * insettabular.C: move includes around a bit, add a couple of
4226 * insettext.[Ch]: move includes around a bit, other ws changes and
4229 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4231 * insettext.C (insetButtonRelease): fix compile problem
4233 2001-12-17 Juergen Vigna <jug@sad.it>
4235 * insettext.C (insetButtonPress): set the selection cursor!
4236 (insetButtonPress): clear the selection (and set with that the
4237 selection.cursor) if we only hit an inset!
4239 * insetert.C (read): removed piece of compatibility code only needed
4242 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4245 * insetcollapsable.C (insetButtonRelease): changed so that it can
4246 open eventual existing popup dialogs on mousebutton==3.
4248 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4250 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4252 * inset.C (insetButtonRelease): return a bool for telling the outer
4253 world that we opened a dialog.
4255 2001-12-07 Juergen Vigna <jug@sad.it>
4257 * insettext.C (paragraph): remove the deleteing of paragraphs as
4258 it was a WRONG move!
4260 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4263 * insettabular.C: use new setSelection(). Allow
4264 selection of single cells.
4266 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * insetquotes.C (latex): fix to use the local language setting at
4269 the point where the inset is inserted (different macros for
4270 different french packages)
4272 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4274 * inset.h: add par_owner_ member variable and parOwner
4277 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4279 * insettabular.C (everywhere): adapt because widths are now real
4280 widths and not strings
4282 * insettext.C (draw): re-introduce the calls to width(), ascent()
4283 and descent() to initialize the caching variables.
4285 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4287 * insettext.C (draw):
4288 (drawFrame): use insetWidth instead of last_width
4290 * insettext.h: remove variable last_width (insetWidth is exactly
4291 the same) and last_height (computed but never used!)
4293 2001-12-10 Allan Rae <rae@lyx.org>
4295 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4297 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4299 * insettext.C (insetAllowed): add comment
4301 2001-12-05 Juergen Vigna <jug@sad.it>
4303 * insettext.C (insetAllowed): fixed for the case that we directly
4304 ask the insettext from its LyXText.
4305 (paragraph): fixed the crash when assigning the par->next() from
4306 the EmptyParagraphMechanism!
4308 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4312 * insettext.C: change "while(" to "while ("
4314 2001-12-04 Juergen Vigna <jug@sad.it>
4316 * insetert.C (edit): handle Inlined status.
4318 * insettext.C (insertInset): trying John's fix for the trailing cursor
4320 * insetert.C (insetButtonPress): added to handle inlined status
4321 (insetMotionNotify): ditto.
4323 * insettext.C (clearInset): changed Painter & in BufferView * param,
4324 to be able to call ascent,descent methods.
4326 2001-12-03 Juergen Vigna <jug@sad.it>
4328 * insettext.C (updateInsetInInset): use lt variable to forbid
4329 changes of LyXText in an update call.
4330 (updateInsetInInset): fixed updating of non locked insets!
4332 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4334 * insettabular.C: capture some more functions to prevent
4335 selection drawing problems. Bug #451274
4337 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4340 * insetgraphicsParams.C: fix inverted sense of float_equal
4342 2001-11-30 Juergen Vigna <jug@sad.it>
4344 * insettabular.C (InsetTabular): use the save_id flag to create also
4345 the tabular with the same id's.
4347 * insettext.C (setParagraphData): added a same_id function for undo
4348 to set the same paragraph id's as of the paragraph we are setting.
4350 2001-11-30 José Matos <jamatos@fep.up.pt>
4353 * insettoc.[Ch]: DocBook -> docbook.
4355 2001-11-29 André Pönitz <poenitz@gmx.net>
4358 * insettext.C: further reduction of header dependencies by using
4359 lyx::layout_type and lyx::textclass_type from support/types.h
4361 2001-11-29 Juergen Vigna <jug@sad.it>
4363 * insettext.C: inserted a reinitLyXText function everywhere I delete
4364 the paragraphs! This should fixe the crashes we had.
4365 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4366 (paragraph): set the InsetOwner() of the new paragraphs!
4368 2001-11-28 André Pönitz <poenitz@gmx.net>
4370 * insetnote.C: add pos initialization that I removed without
4373 2001-11-28 Juergen Vigna <jug@sad.it>
4375 * insettabular.C (resetPos): hack to not crash with infinite paints.
4377 * insettabular.h: insert missing function allowSpellcheck()!
4379 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4381 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4384 * insetfloatlist.C: derive from InsetCommand so gui can use it
4387 2001-11-26 André Pönitz <poenitz@gmx.net>
4391 * insetnote.C: reduce header dependencies, introduce type for
4394 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4396 * various: update for Alert.h
4398 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4400 * inset.h: fix comment
4402 * insettext.C: use par->isInset()
4404 2001-11-22 Allan Rae <rae@lyx.org>
4406 * insetcollapsable.h:
4407 * inset.h: Changes to checkInsertChar() behaviour.
4408 Now return value indicates whether chars can be inserted.
4410 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4412 * various: updated to use the new LaTeXFeatures
4414 2001-11-14 José Matos <jamatos@fep.up.pt>
4416 * insetspecialchar.C (linuxdoc):
4417 (docbook): don't give a name to a unused variable.
4419 * insettext.C (docbook): removed unused variable.
4421 2001-11-13 Herbert Voss <voss@perce.de>
4423 * insetgraphic.C: fix scale bug
4425 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4427 * inset.h (isSpace):
4428 (isLetter): new virtual methods.
4430 * insetspecialchar.C (isSpace):
4431 (isLetter): implement here.
4433 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4435 * inset.h: new inline helpers
4437 * insettext.C: use new helpers
4439 2001-11-07 José Matos <jamatos@fep.up.pt>
4441 * insettext.C (docbook): full support for paragraphs inside insettext.
4443 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4445 * insetindex.C: added header file for std::ostream.
4447 2001-11-03 José Matos <jamatos@fep.up.pt>
4449 * insetindex.C: added using std::ostream that I forgot yesterday.
4451 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4453 * insetindex.h (docbook):
4454 * insetindex.C (docbook): added support for docbook export.
4456 2001-11-02 José Matos <jamatos@fep.up.pt>
4458 * insetcaption.C(docbook): added support for docbook export.
4460 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4462 * insetexternal.C (updateExternal): Do not run update command if
4463 result file exists and is up to date.
4465 * ExternalTemplate.C (readFormat): Support the updateresult token.
4467 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4469 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4470 external_templates) to use the buffer->fileName() but only if
4471 previewing. Generating a TeX file should make FPath return
4474 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4477 * insetert.C: fix some problems
4479 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4481 * insetexternal.C (doSubstitution): Added $$FPath token
4482 to list of usable substitutions in external inset templates.
4484 2001-10-24 Juergen Vigna <jug@sad.it>
4486 * insettabular.C: use new ltType struct for setting longtable
4487 header and footers also new UNSET enums.
4489 2001-10-24 José Matos <jamatos@fep.up.pt>
4491 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4492 (docbook): If the table is not inside a float then wrap it inside
4493 <informaltable>...</informaltable>.
4495 2001-10-23 José Matos <jamatos@fep.up.pt>
4497 * insetref.C (docbook): removed / terminator to conform SGML.
4499 * insetspecialchar.C (linuxdoc):
4500 (docbook): Added support for special chars, more than ascii export.
4502 2001-10-22 Juergen Vigna <jug@sad.it>
4504 * insettext.C (checkInsertChar): added for REALLY checking the
4505 font of the inserted char in the right inset!
4507 2001-10-19 Juergen Vigna <jug@sad.it>
4509 * inset.h: added method allowSpellcheck() so that insets who do
4510 not have anything to spellcheck can tell and so they are over-jumped.
4511 Implemented for InsetText and co.
4513 2001-10-18 Juergen Vigna <jug@sad.it>
4515 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4517 2001-10-15 José Matos <jamatos@fep.up.pt>
4519 * insetert.C: allow export for docbook and linuxdoc
4521 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4523 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4525 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4527 * insetquotes.C (dispString): fix handling of latin9 quotes
4529 2001-10-03 Juergen Vigna <jug@sad.it>
4533 * insetcollapsable.C: change updateInset calls to not tell BV that
4534 we have changed status.
4536 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4538 * insettabular.C (deletable): make const
4540 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4542 * insetert.C (latex): Fix the returned value
4544 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4546 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4547 Returns string(), so nothing in an ERT inset is spellchecked.
4549 * insetgraphics.C (draw): print the filename if not displaying the
4551 (width): make sure that the width and draw methods are consistent.
4552 (updateInset): don't even load the image into cache if not displaying
4555 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4557 * various files (selectNextWord): renamed as
4558 selectNextWordToSpellcheck.
4560 * insetgraphics.C (draw): remove the previous change. Right place
4561 is in imageLoaderXPM.C.
4562 (draw): don't display the image if params.display == NONE.
4564 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4566 * figinset.C (runqueue):
4567 * insetgraphics.C (draw): set background colour of inset from
4568 background to the user-configurable graphicsbg.
4570 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4572 * insetquotes.C (InsetQuotes): when trying to decide the side of
4573 the quote, choose `left' only after a space or '('
4575 2001-09-04 José Matos <jamatos@fep.up.pt>
4580 * insetcollapsable.h
4598 * insetlatexaccent.C
4599 * insetlatexaccent.h
4604 * insetspecialchar.C
4605 * insetspecialchar.h
4609 * insettext.C (docbook): rename docBook method to docbook.
4611 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4613 * inset.h (getFirstParagraph): New virtual method.
4615 2001-08-20 Herbert Voss <voss@perce.de>
4616 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4617 in the the bibtex-database-gui for inserting a line
4620 If no style is given than there is no tex-output.
4622 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4624 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4628 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4630 * insetert.C (latex): Fix output for multiple paragraphs.
4631 (write): New code for writing paragraph data.
4632 (read): Set font after reading the inset.
4633 (localDispatch): Call set_latex_font() for more cases.
4635 * insetnote.h: Add empty validate method.
4638 * insetnote.C (InsetNote): Set language to the language of the
4641 2001-08-16 Juergen Vigna <jug@sad.it>
4643 * insettext.C: implemented the new FINISHED states.
4645 * insettabular.C: ditto
4647 * inset.h: added more FINISHED states for cursor right,up,down
4649 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4651 * insetfloatlist.C: use "FloatName List"
4653 2001-08-14 Juergen Vigna <jug@sad.it>
4655 * insetert.C (edit): forgot to set status_ in edit calls!
4657 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4659 * insettext.C: Compilation fix
4661 2001-08-13 Juergen Vigna <jug@sad.it>
4663 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4665 * insetcollapsable.C (edit): don't recollapse an already open inset.
4667 * insettext.C: fixed problem when reinitializing LyXText by not doing
4668 it while lt is in use and post this to the next possible time in
4670 (searchForward): fixed not unlocking of inset if nothing found.
4671 (edit): set cursor behind right (was set -1 pos).
4673 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4675 * insettabular.C (tabularFeatures): fixed fix where deleting the
4676 last row didn't get the right actcell!
4678 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4680 * insettext.C (localDispatch): Change language only when the inset
4683 2001-08-10 Juergen Vigna <jug@sad.it>
4685 * insettabular.C (selectNextWordInt): use the front using edit call.
4687 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4688 the parameter overwrite class variable inset.
4690 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4692 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4693 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4695 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4696 update only for fixed with cells.
4697 (resetPos): try to fix the lockup on spellchecking or s&r.
4699 * insettext.C (update): comment this out as it seems first wrong
4700 and second not needed anymore!
4701 (some functions): call reinitLyXText() only in update() in all other
4702 positions set only need_update = INIT.
4704 2001-08-08 Juergen Vigna <jug@sad.it>
4706 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4708 * insettext.C (insetUnlock): remove double-space on inset unlock.
4710 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4712 * insettabular.C (update): fixed cursor positon after an insert.
4713 (insetAllowed): do not allow to insert insets when not inside the
4715 (draw): clear below an inset too as it could have changed height.
4717 * inset.C (getMaxWidth): fixed width for inset in inset.
4719 * insettext.C (update): small fix.
4721 * insettabular.C (tabularFeatures): added selection support to
4722 DELETE_ROW/DELETE_COLUMN.
4724 2001-08-07 Juergen Vigna <jug@sad.it>
4726 * inset.C (getMaxWidth): recoded and all it's implementations!
4728 * insettext.C (init,setParagraph+constructors): cleanups
4729 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4730 are new and I want do a save/restore of the cursor position which is
4731 not possible anymore.
4733 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4734 (searchBackward): ditto
4735 (selectNextWord): ditto
4737 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4739 * insetlatexaccent.C (checkContents): Add some debug messages
4741 2001-08-07 Juergen Vigna <jug@sad.it>
4743 * insetert.C (read): don't use InsetCollapsable::read as we don't
4744 write the collapsed status anymore only the status.
4747 2001-08-06 Juergen Vigna <jug@sad.it>
4749 * insetert.C (set_latex_font): use LyXText's setFont directly.
4751 * insettext.C (drawFrame): fixed one time more the right position
4752 and size of the frame!
4754 * insetert.C (~InsetERT): hide the dialog.
4755 (showInsetDialog): added implementation
4758 (status): new function for the status of the ERT inset (3-state).
4759 (write): output also the status of the inset for readback!
4760 (read): readback the status if available otherwise use collapsed_.
4762 * insettext.C (edit): small fix of setting the position, which could
4765 * insetert.C (width): implement this function for inlined viewing.
4766 Added minimum width of 10 pixels!
4768 * insetminipage.C (InsetMinipage): just change the colors a bit so
4769 that border/background is a bit more visible. We will remove this
4772 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4773 function for getting the important widths for drawing in various
4774 functions and in LyXText.
4775 (draw): fixed up a bit (frame drawing/clearing)
4777 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4779 * inset.C (convertFont): delete method. not used.
4781 2001-08-03 Juergen Vigna <jug@sad.it>
4783 * insettext.C (setFont): don't call for a draw update if we're just
4784 changing the cursor font!
4786 2001-08-02 Juergen Vigna <jug@sad.it>
4788 * insettext.C (draw): clear the background with the right color if
4789 needed. Update myself if x&max-width changed and return without doing
4790 anything. Let the update code handle the right stuff.
4792 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4793 inside another inset.
4795 2001-08-01 Juergen Vigna <jug@sad.it>
4797 * insetcollapsable.C (update): added an in_update bool so we avoid
4800 * insettabular.C (update): added an in_update bool so we avoid
4803 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4805 (update): added an in_update bool so we avoid reentering.
4807 * insettabular.C (localDispatch): clear col/row selection when doing
4808 something else inside an inset.
4810 * insettext.C (getLyXText): fixed bug when requesting a recursive
4813 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4815 * insetcite.C (latex): Paranoia check. Make sure that there is no
4816 whitespace between the citation keys.
4818 2001-07-31 Juergen Vigna <jug@sad.it>
4820 * inset.h (nodraw): make the set function also const so that this
4821 can be called from inside other const functions.
4823 * insetcollapsable.h: removed inline variable and moved it over
4824 to the only user InsetERT.
4826 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4827 inset opening immediately therein lying insets dialogs!
4829 * insetert.C (localDispatch): set the font also if we don't have any
4830 chars in this paragraph, otherwise if we delete all of em and start
4831 writing we have the wrong font.
4833 (draw): implemented for inline support
4834 (insetButtonRelease): ditto.
4836 2001-07-30 Juergen Vigna <jug@sad.it>
4838 * insettext.C (reinitLyXText): new function to reinit the insets
4839 text after lot's of paragraph changes. Use this instead of the
4840 cache.clear() which is VERY dangerous.
4842 * insetfloat.C (insetButtonRelease): we should only show the dialog
4843 if we press on the label otherwise we have problems to open mouse
4844 button 3 dialogs inside this float (f.ex. of a tabular!)
4846 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4848 * insetert.C: change back to "ERT"
4850 * insetfloat.C: handliign of RMB on label added.
4852 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4854 * insetgraphicsParams.C: #include LOstream.h here.
4856 * insetfoot.h: remove InsetFoot:: qualifier.
4858 2001-07-29 Baruch Even <baruch@lyx.org>
4860 * ChangeLog: Hiding time travel evidence.
4862 * insetgraphicsParams.h:
4863 * insetgraphicsParams.C:
4864 * insetgraphics.C: Added horizontal scale option, it actually scales both
4865 directions since it keeps image proportions.
4867 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4869 2001-07-29 Baruch Even <baruch@lyx.org>
4871 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4872 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4874 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4876 2001-07-29 Baruch Even <baruch@lyx.org>
4878 * insetgraphics.C: Added EPSI to be an alias of EPS.
4880 2001-07-29 Baruch Even <baruch@lyx.org>
4882 * insetgraphics.C: Change GRAPHICS to Graphics.
4883 Changed image conversion rules (documented at the beginning of file).
4885 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4887 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4890 * insetgraphics.C: added a using std::endl directive.
4892 * insetcommand.h (getScreenLabel): removed pure virtual function,
4893 as it duplicates that in InsetButton.
4895 * insetbib.[Ch] (getScreenLabel):
4896 * insetbutton.[Ch] (getScreenLabel):
4897 * insetcite.[Ch] (getScreenLabel):
4898 * insetert.[Ch] (getScreenLabel):
4899 * insetexternal.[Ch] (getScreenLabel):
4900 * insetfloatlist.[Ch] (getScreenLabel):
4901 * insetinclude.[Ch] (getScreenLabel):
4902 * insetindex.[Ch] (getScreenLabel):
4903 * insetlabel.h (getScreenLabel):
4904 * insetparent.[Ch] (getScreenLabel):
4905 * insetref.[Ch] (getScreenLabel):
4906 * insettoc.[Ch] (getScreenLabel):
4907 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4909 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4911 (validate): remove check on "cite" when using natbib.
4913 2001-07-26 Baruch Even <baruch@lyx.org>
4915 * insetgraphics.C (draw): changed casting to be in one place rather than
4916 all over the function.
4919 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4921 * insetgraphicsParams.h:
4922 * insetgraphicsParams.C:
4923 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4925 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4927 * insetfoot.C (validate): Added method to ensure that the
4928 right bit of LaTeX is emitted.
4930 * insetfoot.h: Added validate method to set the correct
4931 LaTeXFeatures bit for the special footnote code.
4933 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4935 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4938 2001-07-27 Juergen Vigna <jug@sad.it>
4940 * inset.h: remove not used font variable in parameter.
4941 removed checkInsertChar in UpdatableInset as it was equal to
4942 the one in Inset and so not needed.
4944 * insetert.C (checkInsertChar): implementation of function
4947 * inset.h: added new function checkInsertChar.
4949 * various files: added c-tor and clone() function.
4951 * insetcollapsable.h: removed clone function here as this should
4952 be only realized in REAL insets and added it to all collapsable
4953 insets! (with the copy-constructor).
4955 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4957 * insetminipage.C (read): handle missing parameters more gracefully
4959 * insetcollapsable.C (read): handel missing collapsed more gracefully
4961 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4963 * insetfloat.C (read): handle missing parameters.
4965 * insettext.C (read): handle old latex end_inset
4967 * insetert.C (setButtonLabel): new method
4968 (init): use it, to set the dynamic label correctly
4971 * Makefile.am (EXTRA_DIST): add files that is not part or the
4974 * insetcollapsable.h: remove autocollapsable (no users), remove
4975 draw_label, change_label_with_text and companion code. Remove args
4977 * insetert.[Ch]: move here instead (only user)
4979 * inset.h: rename private variable name to name_, make
4980 selectNextWord return a const string. make getInsetName return a
4981 string const &. Remove bool from open, add close.
4983 * Makefile.am: don't compile insetlist, insetsection
4986 2001-07-24 Juergen Vigna <jug@sad.it>
4988 * insetert.C (InsetERT): put init after the paragraph initialization,
4989 as otherwise we don't set the draw_label right.
4991 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4992 insets with the mouse without having strange selections.
4993 (edit): if the inset was collapsed and we open it here then put the
4994 cursor always at the beginning of the inset.
4995 (get_new_label): 15 instead of 10 max chars in the label.
4997 * insetert.C (localDispatch): added and handle various stuff we
4998 need to handle here (font setting on paragraph break, not permitted
4999 layout setting, etc.).
5001 * inset.h: added default copy-consturctor and implemented this in
5002 various insets with the change to use this in the clone function!
5004 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5006 * insetminipage.C (InsetMinipage): set background color to red :)
5008 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5010 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5011 draw frame mode is LOCKED.
5013 * insetcollapsable.C (edit):
5014 (insetButtonRelease): set update status to full when
5017 * insettext.C (clearInset):
5018 * insettabular.C (draw):
5019 * insetlatexaccent.C (draw): honor background color.
5021 * inset.h: new member background_color_, initialized to
5024 * inset.C (backgroundColor): new method.
5025 (setBackgroundColor): new method.
5027 * insetert.C (init): new method, called by the ctors.
5028 (InsetERT): when inserting contents, make sure the font is
5031 * insetnote.C (InsetNote): when inserting content, remove trailing
5033 (init): set background color to LColor::note
5035 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5037 * insetcollapsable.C: adjust
5039 * insetbutton.C: adjust
5041 2001-07-23 Juergen Vigna <jug@sad.it>
5043 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5044 parameter on the _collapsed function (was not needed) and call
5045 always width_collapsed().
5047 * insetert.C (InsetERT): use setLabel with "true" flag.
5049 * insetcollapsable.C: modified various functions to set the draw_label
5050 string right in any condition.
5051 (setLabel): added a bool parameter to set change_label_with_text.
5053 * insetcollapsable.h: added draw_label string which is set to the
5054 actual drawn label-string, while label is the original static label
5055 of this collapsable inset. Added bool change_label_with_text to set
5056 if we want that the label changes to the start of the InsetText's
5057 text when collabpsed. You can set this flag with the setLabel funciton.
5058 Added bool inlined for inlined collapsable insets, but not handled
5061 * insetcollapsable.C (get_new_label): added should get a new label
5062 from the InsetText beginning (for now 10 chars).
5064 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5066 * insetquotes.C (latex): fix the handling of french double quotes
5067 when not using the french pachage.
5069 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5071 * insetcollapsable.h: make WidthCollapsed mutable.
5073 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5074 InsetPrintIndex returns INDEX_PRINT_CODE.
5076 * inset.h: add INDEX_PRINT_CODE
5078 * insetcollapsable.C (draw): init widthCollapsed if necessary
5081 * insetquotes.C (width): use the local language, not the document
5084 (dispString): add additional spacing for all french languages,
5086 (validate): make it work when there is no default language
5088 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5090 * insetnote.C (init): new method, called by the constructors
5091 (InsetNote): new constructor with contents passed as a string
5093 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5095 * insetfootlike.C (insetAllowed): disallow float in footlike.
5097 * insetert.C (InsetERT): add collapsed argument to the constrctor
5100 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5102 * insetindex.h: shut off warning
5104 2001-07-20 Juergen Vigna <jug@sad.it>
5106 * insetcollapsable.C (update): recoded hopefully works now!
5108 2001-07-19 Juergen Vigna <jug@sad.it>
5110 * most files: implemented the below new introduced function.
5112 * inset.h: added new edit(BufferView *, bool front) method to be able
5113 to enter an inset from the front/back without knowing x/y positions
5114 and baselines inside the inset. So I just can tell the inset activate
5115 me and set the cursor on the front/back of yourself.
5117 2001-07-18 Juergen Vigna <jug@sad.it>
5119 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5120 is given to the InsetText.
5121 (insetButtonPress): ditto
5122 (insetButtonRelease): ditto
5123 (insetMotionNotify): ditto
5125 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5127 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5128 LIGATURE_BREAK, since the name is so stupid.
5130 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5132 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5133 the default InsetCollapsable methods. I.e., it can insert anything.
5134 (write) output the name of the inset, not some silly hack for
5135 compatability with the old InsetInfo.
5137 * insetinfo.[Ch]: removed.
5138 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5139 now collapsable, but functionality is otherwise identical to InsetInfo.
5141 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5143 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5145 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5148 * insetquotes.C: general cleanup
5149 (dispString): add spaces inside french double quotes.
5150 (latex): ditto. Moreover, treat first the case where the frenchb
5151 or french options have been given.
5153 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5155 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5158 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5160 * figinset.C (RegisterFigure): Print debug message only when
5161 current_view is available.
5163 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5165 * many files: update to match the change below
5167 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5168 implement the version which takes an inset here.
5170 * insetcollapsable.[Ch]: implement open and isOpen
5172 * inset.h: remove insertInsetAllowed from Inset
5173 (open): new method, to open or close an inset
5174 (isOpen): returns the status of an inset
5175 (isCollapsable, colapse): removed
5177 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5179 * insetquotes.C (dispString): display french guillemets when using
5182 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5184 * insetcollapsable.h: remove bogus return statements
5186 2001-07-18 Juergen Vigna <jug@sad.it>
5188 * insettabular.C (selectNextWord): fixed spellchecking for the
5189 first cell of a tabular (wasn't entered!)
5190 (getLyXText): changed to enter automatically insettext and return
5191 it's LyXText if we're locked.
5193 2001-07-17 Juergen Vigna <jug@sad.it>
5195 * various files: implemented the below functions.
5197 * inset.h: added functions
5198 - virtual string selectNextWord(BufferView *, float & value) const;
5199 - virtual void selectSelectedWord(BufferView *) { return; }
5200 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5201 needed for spellchecking correctly!
5203 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5205 * insetert.C (latex): write out all paragraphs.
5207 2001-07-17 Baruch Even <baruch@lyx.org>
5209 * insetgraphics.C (draw): Removed unneeded casts.
5211 2001-07-16 Juergen Vigna <jug@sad.it>
5213 * insettext.C (update): fixed small oversight (reset lt to 0).
5215 2001-07-14 Baruch Even <baruch@lyx.org>
5218 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5220 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5222 Consistent use of Lsstream.h:
5223 * figinset.C: removed using std::ostringstream directive.
5225 * insetgraphics.C (createLatexOptions):
5226 * insetinclude.C (unique_id):
5227 std::ostringstream -> ostringstream.
5228 * insettext.C (localDispatch): std::istringstream -> istringstream.
5230 2001-07-13 Juergen Vigna <jug@sad.it>
5232 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5234 * insetcollapsable.C (getLockingInset): ditto.
5236 2001-07-12 Juergen Vigna <jug@sad.it>
5238 * insetcollapsable.h: added implementation of new function for
5241 * various files: added implementation of new insertInsetAllowed-func
5242 and redone the function a bit more.
5244 * inset.h: added isCollapsable(), bool collapsed(),
5245 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5247 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5249 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5250 LyXText which is marked for removal while we're using it!
5252 * insettext.h: added private LyXText * lt to use it to assure we are
5253 not deleting our LyXText while we're using it!
5255 2001-07-11 Juergen Vigna <jug@sad.it>
5257 * insettext.C (insertInset): check if we are before the inset after
5258 inserting it! This check IS needed. Remove the Undo-Call as it is
5259 called in LyXText::insertInset!
5261 * insettext.h: added struct InnerCache.
5263 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5264 that we ONLY delete the LyXText in the getLyXText() routine. So we
5265 are sure we don't delete LyXText while someone is working with it!
5267 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5269 * insetexternal.C: (*it). -> it->
5270 * insettext.C: ditto
5272 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5274 * insetcollapsable.C (edit): always open collapsed insets (even if
5275 they are not autocollapsable)
5277 * insetcommand.C (operator=): simplify.
5279 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5281 * insetert.C (latex): handle META_NEWLINE
5283 2001-07-09 Juergen Vigna <jug@sad.it>
5285 * insetert.h: a normal InsetText can insert insets, but we won't.
5287 * inset.h: return default "false" on insertInsetAllowed and implement
5288 this function where a returnvalue != "false" is needed.
5290 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5292 * insetert.C (InsetERT): new contructor
5294 2001-07-06 Juergen Vigna <jug@sad.it>
5296 * a lot of files: added implementation of the below new functions
5297 and the change to clone(). Also the call of the new undo-functions
5300 * inset.h: added an inset_id, added functions getParFromID,
5301 getInsetFromID, firstParagraph, cursor and id functions, added
5302 bool same_ids to clone function.
5304 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5306 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5307 of BufferView * and shared_ptr<LyXText>
5309 2001-07-05 Juergen Vigna <jug@sad.it>
5311 * insettext.C (clear): deleted also the cache not only LyXText.
5312 (setParagraphData): ditto.
5314 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5316 * insetfloat.C (latex): let the specific placement take presedence
5317 if set, otherwise choose document placement if set, otherwise just
5318 use float default placement.
5320 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5322 * insettext.C (localDispatch): call CutAndPaste::'s static method
5325 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5327 * insetbib.C: no meed to include forms.h here.
5329 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5331 * insettext.C: added using std::make_pair directive.
5333 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5335 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5337 (deleteLyXText): ditto
5338 (resizeLyXText): ditto
5340 2001-07-02 Juergen Vigna <jug@sad.it>
5342 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5343 following calls are only returned the right pointer without the over
5344 head to search in the map.
5345 (various funcs): reset the cached_bview variable as this signs that
5346 the cache is not valid anymore.
5348 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5350 * insettabular.C (clone): do not copy the LyXTabular twice
5352 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5354 * insettext.h (TEXT): delete method
5356 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5358 * insetmarginal.C (latex):
5359 * insetfoot.C (latex): fix spacing of notes in LaTeX
5361 * insettext.C (localDispatch): use .c_str() on istringstream
5362 constructor argument.
5364 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5369 * inseturl.C: fix method names in these to begin
5370 with small char too, so they inherit
5372 2001-06-28 Juergen Vigna <jug@sad.it>
5374 * insettext.C (setFont): fixed font settings using toggleFree()
5375 instead of setFont().
5377 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5379 * Change a lot of method names to begin with a small char.
5380 Changes to a lot of files because of this.
5382 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5384 * insetfloatlist.C (Write): std:: qualify ostream
5387 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5391 * insetgraphics.C: send debug output to Debug::INFO instead of
5394 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5397 * insettabular.C (getStatus): update to use func_status
5399 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5401 * insetref.C (DocBook): added support for cross-references without
5404 2001-06-26 The LyX Project <jug@sad.it>
5409 * insetlabel.h: removed escape method and moved it to
5412 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5414 * insettabular.C (getMaxWidth): do the speedup in a different way,
5417 2001-06-24 The LyX Project <Asger>
5419 * insettabular.C (getMaxWidth): We cache a mapping from
5420 inset to cell in order to speed this method up.
5422 2001-06-24 The LyX Project <Asger>
5424 * insettext.C: Optimized InsetText::draw or something.
5426 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5428 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5430 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5432 * inset.h: name change from lyxinset.h
5434 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5436 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5438 2001-06-14 Juergen Vigna <jug@sad.it>
5440 * insettext.C (draw): removed warnings.
5442 2001-06-13 Juergen Vigna <jug@sad.it>
5444 * insettabular.C (nodraw): only go down the tree if we don't have
5445 that flag set otherwise it's obvious that we don't want to draw.
5446 (LocalDispatch): do also an update if we have an undispached result.
5448 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5451 * insetgraphicsParams.C:
5452 * insettext.C: removed // -*- C++ -*- as first line.
5454 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5456 * lyxinset.h (resizeLyXText): shut off warning about unused
5459 2001-06-07 Juergen Vigna <jug@sad.it>
5461 * insettext.C (resizeLyXText): honor the new force flag.
5463 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5465 * insettabular.C (deleteLyXText): new function
5467 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5475 * insetcollapsable.C:
5476 * insetcaption.C: LColor tidy
5478 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5480 * figinset.C: fix typo
5482 2001-06-01 Juergen Vigna <jug@sad.it>
5484 * insettabular.C (resetPos): small hack so that scroll is not set to
5485 0 when we are in the last column of a tabular. This is a problem we
5486 have because of constats 20 offset on both directions, so this can
5487 cause on the limit an endless loop.
5489 * insettext.C (SetFont): forgot that we can have locking insets ;)
5491 2001-05-31 Juergen Vigna <jug@sad.it>
5493 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5495 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5497 * figinset.C: add using std:: directive for the C functions which
5500 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5502 * insetfloat.C (Write): write out wide info
5503 (Read): read the wide info
5504 (Latex): use the wide info when creating latex.
5506 * insettext.C: adjust
5508 * insetgraphics.[Ch] (statusMessage): change to return string
5512 * figinset.C (runqueue): add std::
5515 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5517 * insetcite.C (Ascii): add std:: qualifier
5519 2001-05-28 Juergen Vigna <jug@sad.it>
5521 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5522 a endless-width inset (maxWidth < 0).
5523 (Edit): change language only if not equal.
5525 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5527 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5529 2001-05-16 Juergen Vigna <jug@sad.it>
5531 * insettext.C (selectAll): added
5532 (clearSelection): added
5534 * insettabular.C (SetFont): now we may set a font on a whole selection!
5535 (getSelection): added helper function.
5537 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5539 * insetcite.C (Ascii): Add method.
5541 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5544 * insetbib.C: fix path for OS/2 & Win32
5546 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * insetfoot.C (Latex): don't use % after footnote.
5550 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5552 * insettext.C (Read): use clear
5553 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5555 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5557 * insetfloatlist.h: add a bunch of std:: qualifiers.
5559 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5561 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5562 FLOAT_LIST_CODE, renumber code list.
5564 * insettoc.C (getScreenLabel): remove support for float lists
5568 * insetfloatlist.[Ch]: new files
5570 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5572 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5574 * insettabular.C (LocalDispatch):
5575 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5578 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5580 * insettext.C: remvoe !NEW_INSETS cruft
5582 * insettabular.C: remove !NEW_INSETS cruft
5584 * insetcollapsable.h: remove !NEW_INSETS cruft
5586 * insetbib.C: remove !NEW_INSETS cruft
5588 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5590 * insettoc.C: hack to make listof algorithm work
5592 2001-04-20 Juergen Vigna <jug@sad.it>
5594 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5596 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5598 * insetquotes.C (Latex): improve the guard against
5599 unwanted !` and ?` ligatures. This should really be done in
5600 another place (to catch all this ligatures at low-level).
5602 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5604 * insettext.C (init): remvoe leftovers from cursor_visible change
5605 (draw): use c++ cast
5606 (LocalDispatch): dispatch LFUN_MESSAGE
5608 * insettabular.C (InsetTabular): remove leftovers from
5609 cursor_visible, and scoped_ptr changes
5610 (draw): use c++ cast
5612 * insetcollapsable.C (draw): use c++ cast
5614 * ExternalTemplate.h: inherit privaely from noncopyable
5615 * insetcommand.h: ditto
5616 * insetinclude.h: ditto
5618 2001-04-16 Allan Rae <rae@lyx.org>
5620 * insettoc.C (Ascii):
5621 * insettext.C (draw):
5622 * insettabular.C (setPos):
5623 * insetminipage.C (Read):
5624 * insetfloat.C (placement):
5625 * insetcaption.C (Ascii, DocBook):
5626 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5627 an unrecognised preprocessor directive. So ensure they're wrapped.
5629 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5632 * insetexternal.C: set view on Clone. Add _ to private members.
5634 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5636 * insettext.C (InsetText): fix new
5637 (InsetText): reindent some, simplify deletion of par list
5638 (clear): simplify deletion of par list, fix new
5639 (SetParagraphData): simplify deletion of par list
5641 * insettabular.[Ch] (getLabelList): implement new method
5643 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5645 * lyxinset.h: do not include gettext.h...
5653 * insetlatexaccent.C:
5657 * inseturl.C: ... and do it here instead
5659 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5661 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5663 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5665 * insetcollapsable.[Ch] (getLabelList): implement
5667 * insettext.[Ch] (getLabelList): implement
5669 * insettext.h: reindent
5671 * insettabular.h: make tabular a scoped_ptr
5673 * insettext.C (init): adjust for cursor_visible
5674 (ToggleInsetCursor): constify asc and desc, font, adjust for
5676 (ShowInsetCursor): constify asc and desc, font, adjust for
5678 (HideInsetCursor): adjust for cursor_visible
5680 * insettabular.C: reindent some
5681 (InsetTabular): adjust for scoped_ptr and cursor_visible
5682 (InsetTabular): ditto
5683 (~InsetTabular): delete delete
5684 (Clone): adjust for scoped_ptr
5685 (Read): constify old_format, adjust for scoped_ptr, move init of
5687 (draw): constify tx, localize loop vars.
5688 some other localization of variables, remove double initilizatons.
5690 * insetfoot.C: remove using std::ostream, add ostream where needed
5692 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * lyxinset.h: some reindentaion, use initializer list for
5696 UpdatableInset: make cursor_visible a private var add
5697 public isCursorVisible(), add protected toggleCursorVisible() and
5698 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5700 * insettoc.C: remvoe using decl
5701 (getScreenLabel): make cmdname donst
5704 (Ascii): don't use endl
5706 * insetfootlike.C: remove using decl at file scope and add std::
5708 * insetmarginal.C: ditto
5710 * insetfoot.C: some reformatting
5712 * insetfloat.C (InsetButtonRelease): adjust the hit area
5714 * insetert.C (SetFont): some reformatting
5716 * insetcollapsable.C: some reformatting and constification
5717 (Clone): comment out.
5718 * insetcollapsable.h: some reformatting
5719 (Clone): comment out.
5724 2001-03-30 Juergen Vigna <jug@sad.it>
5726 * insetcollapsable.h: changen *inset to be a InsetText inset.
5728 * some files: changed to reflect the above change.
5730 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5732 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5733 InsetExternal::Params.
5734 Added operator==() and operator!=() for the Params struct.
5736 2001-03-29 Juergen Vigna <jug@sad.it>
5738 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5741 * insetminipage.C: removed widthp_ and all it's functions and changed
5742 to use new %-lengths of LyXLength.
5744 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5746 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5748 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5750 * insetgraphicsParams.C (operator!=): new function, needed by the
5751 ControlGraphics class.
5753 2001-03-28 Juergen Vigna <jug@sad.it>
5755 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5756 (checkAndActivateInset): don't use the values returned from
5757 call to bv->checkInsetHit.
5759 * insetminipage.C (Clone): set special minipage values.
5761 * insetcollapsable.C (draw): changed to draw the button in the
5762 upper left corner outside the textinset.
5763 (ascent): changed because of different drawing
5767 (InsetButtonPress): ditto
5768 (InsetButtonRelease): ditto
5769 (InsetMotionNotify): ditto
5771 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5773 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5777 2001-03-26 Juergen Vigna <jug@sad.it>
5779 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5781 * insettext.C (ShowInsetDialog): implemented above function.
5783 * insettabular.C (ShowInsetDialog): ditto
5785 * insetminipage.C (ShowInsetDialog): ditto
5787 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5789 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5790 InsetInclude::Params. Don't store a buffer * in Params. Store the
5791 master file name instead.
5793 2001-03-23 Juergen Vigna <jug@sad.it>
5795 * insetcollapsable.C (InsetMotionNotify):
5796 (InsetButtonRelease):
5797 (InsetButtonPress): fixed y-offset (minipages).
5799 * insettext.C (draw): force a FULL update if cleared == true.
5801 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5802 routine to draw the minipages on its position-flag.
5803 (InsetInInsetY): give back the right y position, because of minipage
5806 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5809 * insetfloat.C (DocBook): docbook export code.
5811 2001-03-22 Juergen Vigna <jug@sad.it>
5813 * insetminipage.C (getMaxWidth): added function to set the drawing
5815 (Read): should work now!
5817 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5818 if we create a new inset.
5820 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5822 * figinset.C (fl_set_preemptive_callback): moved definition outside
5825 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5827 * insetminipage.C (Read): prepare for reading of minipage arguments.
5829 2001-03-18 Baruch Even <baruch@lyx.org>
5831 * insetgraphics.C: Minor cleanups of the comments and code.
5833 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5835 * insetminipage.C (InsetMinipage): default to not collapsed
5837 2001-03-16 Juergen Vigna <jug@sad.it>
5839 * insetminipage.C (width): modified with to be a string
5840 (widthp): added widthp (for % width) support functions.
5841 (InsetButtonRelease): added to open the options dialog on button==3.
5842 (~InsetMinipage): added to hide the dialog.
5844 * insetminipage.h: added hideDialog signal
5846 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5848 * insetminipage.h: change the order or Position to match
5849 LyXParagraph::MINIPAGE_ALIGNMENT
5851 * several files: remvoe CXX_WORKING_NAMESPACES
5853 * ExternalTemplate.h: noncopyable is in namespace boost
5854 * insetinclude.h: ditto
5855 * insetcommand.h: ditto
5857 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5859 * insettext.C (Edit): #else# -> #else.
5860 * insettoc.C: added using directive.
5862 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5864 * insetminipage.h: add pos, inner_pos, width and height. + getters
5865 and setters for all of them.
5867 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5869 * insetinclude.C (Latex): Do not exit when the textclass of the
5870 included file differ from the textclass of the parent file.
5872 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5874 * ExternalTemplate.C (read): the reading of external insets now checks
5875 for \end_inset and removes it form the input stream.
5877 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5879 * ExternalTemplate.h:
5880 * ExternalTemplate.C:
5882 * insetexternal.C: move form to GUII
5884 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5887 * insetinclude.C: add InsetIncludeParams, use
5888 composition rather than derivation of InsetCommand
5890 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5892 * insettoc.C (Ascii): use the Buffer typedefs
5894 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5896 * insettoc.C (Ascii): implement for dynamic number of lists
5898 * insetcaption.[Ch]: update from new_insets branch
5899 * insetfloat.[Ch]: ditto
5901 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5904 * figinset.C: use new File Dialog
5906 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5908 * insettext.C: changes becuase of ParagraphParameters.
5910 2001-02-28 Baruch Even <baruch@ev-en.org>
5912 * insetgraphics.C (updateInset): Changed due to the change in
5915 2001-02-26 Juergen Vigna <jug@sad.it>
5917 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5918 handled in LyXText).
5920 2001-02-23 Juergen Vigna <jug@sad.it>
5922 * insettext.C (draw): some small repainting fixes.
5923 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5925 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5926 should be) and not an int.
5928 * insettabular.C (LocalDispatch): ditto
5930 * insettext.C (LocalDispatch): ditto
5932 * insetcollapsable.C (LocalDispatch): ditto
5934 2001-02-22 Juergen Vigna <jug@sad.it>
5936 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5937 DISPATCH it and we don't have a locking_inset.
5939 2001-02-21 Baruch Even <baruch@ev-en.org>
5941 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5942 instead of GraphicsCacheItem *.
5944 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5946 * insetcollapsable.C (getLyXText): add const qualifier to second
5949 2001-02-22 Juergen Vigna <jug@sad.it>
5951 * insettext.C (getLyXText): honor the recursive parameter.
5952 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5954 * inset.C (getLyXText): added bool recursive parameter.
5956 * insettext.C (SetUpdateStatus): or the update codes.
5957 (draw): check need_update with &.
5958 (InsetButtonPress): set no_selection to not put a selection when
5959 entering an inset and it is redraws in another spot.
5961 * insettext.h: made need_update an int.
5963 2001-02-20 Baruch Even <baruch@ev-en.org>
5966 * insetgraphisc.C: Changed to use better semantics when loading images
5967 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5969 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5973 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5974 consistent with InsetTabular.
5976 2001-02-19 Juergen Vigna <jug@sad.it>
5978 * insettabular.C (LocalDispatch): implement PAGE up/down.
5980 * insettext.C (draw): clear all of it on need_update==INIT too!
5982 * insettabular.C (InsetUnlock): always clear the selection.
5984 * inset.C (scroll): normally we only want to scroll the inset until
5985 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5987 2001-02-14 Juergen Vigna <jug@sad.it>
5989 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5990 (resetPos): fixed scroll behaviour.
5991 (LocalDispatch): do an update if moving cursor inside a table cell
5992 requests a scroll of the tabular.
5994 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5996 * insettext.C (textWidth): constify local var
5998 * insettabular.C: small cleanup.
6000 * insetfoot.C (Latex): constify local var
6002 * insetcollapsable.C: small cleanup.
6004 * figinset.C (runqueue): use compare instead of strcmp
6006 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6009 * insetinfo.C: remove cruft
6011 2001-02-14 Juergen Vigna <jug@sad.it>
6013 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6015 2001-02-13 Juergen Vigna <jug@sad.it>
6017 * insettext.C (InsertInset): don't move left (is this right?)
6019 * insettabular.C (LocalDispatch): use of the no_draw variable
6021 * insettabular.h: new no_draw variable to stop redraw
6023 * insettabular.C (TabularFeatures): fixed update for alignment change
6025 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6029 * insetbib.C: move dialogs to frontends/
6031 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6033 * insettext.C (LocalDispatch): Restore the language if the inset
6036 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6038 * insettext.C (moveRightIntern): Update the selection cursor.
6039 (moveLeftIntern): Ditto.
6041 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6043 * Makefile.am: remove BoundingBox.h
6045 * BoundingBox.h: removed
6047 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6049 * insettext.C (LocalDispatch): Update selection cursor when moving
6050 cursor to the right.
6051 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6052 (moveLeftIntern): Ditto.
6054 2001-02-05 Baruch Even <baruch.even@writeme.com>
6056 * insetgraphics.C: Updated automatic image conversion, it now goes into
6057 temporary directory instead of with the image itself.
6059 2001-01-21 Baruch Even <baruch@ev-en.org>
6061 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6062 to EPS or PNG when needed (support bitmap graphics).
6064 2000-11-02 Baruch Even <baruch@ev-en.org>
6067 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6068 and removal of commented out code.
6070 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6072 * insetbib.C (callback): Update citations if the key has changed.
6074 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6076 * insetbib.C (InsetBibKey): Better computation of default key.
6077 (getScreenLabel) Show both the key and the label.
6078 (getBibLabel): New method.
6079 (callback): Force a redraw if the inset have been changed.
6081 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6083 * insetref.C (getType, getName): Move methods from
6084 src/frontends/xforms/FormRef.C.
6086 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6088 * insettabular.C: Various improvements (use only one dummy position).
6090 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6092 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6093 par->bibkey->width. This fixes the crashes when running without
6094 gui or when having included documents.
6096 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6098 * insetcommand.C (getAsString, setFromString): Cleanup.
6100 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6102 * insetref.C: Add the array InsetRef::types that contains
6103 information about all supported reference types.
6105 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6107 * lyxinset.h: remove trailing comma in enum.
6109 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6111 * insettext.C: kill LyXBell.