2 2003-11-17 André Pönitz <poenitz@gmx.net>
4 * insettext.C (setViewCache): don't call LyXText::init() anymore
6 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
9 * insetcollapsable.[Ch]:
10 * insetert.[Ch]: remove bufferview parameter in methods
11 open, close, status, and updateStatus.
13 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
15 * insetcollapsable.[Ch]:
17 * insettext.[Ch] (getCursorDim): squash unused variable
19 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
21 * insettext.C (edit): x0_,y0_ -> xo_,yo_
23 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
25 * insettext.C (draw): sets LyXText absolute coordinates
27 2003-11-20 Angus Leeming <leeming@lyx.org>
29 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
30 about unused parameters.
32 * insetcollapsable.C (open):
33 * insettabular.C (pasteSelection):
34 * insettoc.C (draw): ditto.
36 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
40 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
41 remove mouse_x mouse_y etc.
43 2003-11-17 André Pönitz <poenitz@gmx.net>
45 * insettext.[Ch] (cx, cy): remove
47 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
49 2003-11-13 André Pönitz <poenitz@gmx.net>
52 * insetcollapsable.[Ch]:
54 * insettext.[Ch] (deleteLyXText): remove
56 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
58 * insetcollapsable.[Ch] (fitInsetCursor): remove
59 * insettabular.[Ch] (fitInsetCursor): remove
60 * insettext.[Ch] (fitInsetCursor): remove
61 * updatableinset.[Ch] (fitInsetCursor): remove
62 (getCursorDIm): add virtual
64 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
66 * src/insets/Makefile.am:
68 * src/insets/insetcharstyle.C:
69 * src/insets/insetcharstyle.h: The Character Style /XML short
72 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
74 * insettext.C: remove all update calls
75 * insetcollapsable.C: remove all update calls
77 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
79 * insettext.C (updateLocal, insertInset, setFont): remove
82 2003-11-10 André Pönitz <poenitz@gmx.net>
84 * inset.h: remove Inset::id_
86 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
89 2003-11-10 André Pönitz <poenitz@gmx.net>
93 * insetcollapsable.[Ch]:
100 * updatableinset.[Ch]: remove inset locking & adjust
102 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
104 * inset.h (allowSpellCheck): add (return true)
105 * insetert.h (allowSpellCheck): add (return false)
107 2003-11-05 José Matos <jamatos@lyx.org>
115 * insetcollapsable.[Ch]:
119 * insetexternal.[Ch]:
121 * insetfloatlist.[Ch]:
123 * insetgraphics.[Ch]:
128 * insetlatexaccent.[Ch]:
131 * insetmarginal.[Ch]:
132 * insetminipage.[Ch]:
136 * insetpagebreak.[Ch]:
140 * insetspecialchar.[Ch]:
146 * insetwrap.[Ch]: rename ascii to plaintext
147 and LatexRunParams to OutputParams.
149 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
151 * insetcollapsable.C (edit): add open() all
152 * insettext.C (edit): add setViewCache call
154 2003-11-04 André Pönitz <poenitz@gmx.net>
156 * inset.h (edit): move locking code from dispatch() to edit()
162 * insetcollapsable.[Ch]:
165 * insetexternal.[Ch]:
166 * insetgraphics.[Ch]:
172 * insettext.[Ch]: adjust
174 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
177 * insetcollapsable.[Ch]:
181 * updatableinset.[Ch]: remove dead search code
183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
186 * insetcollapsable.[Ch]:
190 * updatableinset.[Ch]: remove dead spellcheck code
192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
194 * insettabular.C (lockInsetInInset): small fix
196 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
198 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
199 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
200 from here. Be stricter on DispatchResult returned.
202 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
204 * Inset::dispatch's: adjust for new DispatchResult semantics.
206 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
208 * render_base.h: make clone return an auto_ptr
209 * render_button.C (clone): adjust
210 * render_graphic.C (clone): adjust
211 * render_preview.C (clone): adjust
213 * insettheorem.C (clone): return an auto_ptr
215 * insettext.C (priv_dispatch): exception safety
217 * insettabular.C: store the file scope variable paste_tabular in a
218 scoped_ptr, adjust usage.
220 * insetexternal.C (setParams): exception safety
222 * insetbibitem.C (clone): exception safety
224 2003-11-03 André Pönitz <poenitz@gmx.net>
227 * insetcollapsable.[Ch]:
229 * insettext.[Ch]: remove Inset::id and related functions
231 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
233 * insets: adjust for DispatchResult changes.
235 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * insetpagebreak.C: fix screen representation & ascii output.
239 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
244 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
246 2003-10-31 José Matos <jamatos@lyx.org>
248 * inset.h (ascii, linuxdoc, docbook):
249 * insetbox.[Ch] (ascii, linuxdoc, docbook):
250 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
251 * insetcaption.[Ch] (ascii, docbook):
252 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
253 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
254 * insetert.[Ch] (ascii, linuxdoc, docbook):
255 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
256 * insetfloat.[Ch] (linuxdoc, docbook):
257 * insetfloatlist.[Ch] (ascii):
258 * insetfoot.[Ch] (docbook):
259 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
260 * insethfill.[Ch] (ascii, linuxdoc, docbook):
261 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
262 * insetindex.[Ch] (docbook):
263 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
264 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
265 * insetline.[Ch] (ascii, linuxdoc, docbook):
266 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
267 * insetnote.[Ch] (ascii, linuxdoc, docbook):
268 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
269 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
270 * insetref.[Ch] (ascii, linuxdoc, docbook):
271 * insetspace.[Ch] (ascii, linuxdoc, docbook):
272 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
273 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
274 * insettext.[Ch] (ascii, linuxdoc, docbook):
275 * insettoc.[Ch] (ascii, linuxdoc, docbook):
276 * inseturl.[Ch] (ascii, linuxdoc, docbook):
277 * insetwrap.[Ch] (docbook):
278 add LatexRunParams argument.
280 2003-10-30 José Matos <jamatos@lyx.org>
282 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
284 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
286 * updatableinset.C (priv_dispatch):
287 * insetwrap.C (priv_dispatch):
288 * inseturl.C (priv_dispatch):
289 * insettoc.C (priv_dispatch):
290 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
291 (moveLeftIntern, moveUp, moveDown):
292 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
293 (moveLeft, moveUp, moveDown):
294 * insetref.C (priv_dispatch):
295 * insetnote.C (priv_dispatch):
296 * insetminipage.C (priv_dispatch):
297 * insetlabel.C (priv_dispatch):
298 * insetindex.C (priv_dispatch):
299 * insetinclude.C (priv_dispatch):
300 * insetgraphics.C (priv_dispatch):
301 * insetfloatlist.C (priv_dispatch):
302 * insetfloat.C (priv_dispatch):
303 * insetexternal.C (priv_dispatch):
304 * insetert.C (priv_dispatch):
305 * insetcommand.C (priv_dispatch):
306 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
307 * insetcite.C (priv_dispatch):
308 * insetbranch.C (priv_dispatch):
309 * insetbox.C (priv_dispatch):
310 * insetbibtex.C (priv_dispatch):
311 * insetbibitem.C (priv_dispatch):
312 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
314 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
316 * insettext.C: small refactoring of docbook stuff
318 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
320 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
321 (priv_dispatch): adjust for operator dispatch_result_t removal
323 * insettabular.C (lfunMouseRelease): put the result of a dispatch
324 in a DispatchResult, adjust accordingly.
325 (priv_dispatch): use strange >= construct... (will be removed later)
327 * most insets: dispatch_result -> DispatchResult
329 * insetbase.h: move DispatchResult out to dispatchresult.h
331 2003-10-27 André Pönitz <poenitz@gmx.net>
333 * insetpagebreak.[Ch]: new inset for page breaks
335 * insetline.[Ch]: new inset for vertical lines
340 2003-10-25 Angus Leeming <leeming@lyx.org>
342 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
343 new virtual member functions, specialised...
344 * render_button.h (asButton):
345 * render_graphic.h (asGraphic):
346 * render_preview.h (asPreview, asMonitoredPreview): ... here.
348 * insetexternal.C: use these new functions rather than dynamic_cast.
349 Various other small simplifications.
351 2003-10-22 Angus Leeming <leeming@lyx.org>
353 * insetexternal.[Ch]: add the ability to 'preview' the external file
356 * insetinclude.C: changes due to the changes in the RenderPreview
359 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
360 message if the preview image is not available. Only initiate the
361 loading of the preview from draw(). Ditto, start the monitoring
362 of an external file from RenderMonitoredPreview::draw.
364 2003-10-22 Angus Leeming <leeming@lyx.org>
366 * insetcite.[Ch] (setLoadingBuffer): removed.
367 (getNatbibLabel): use the new Buffer::fully_loaded member function to
368 ascertain whether to proceed with the (expensive) task of computing
369 the natbib-style label. Remove the home-grown hack providing
370 similar functionality.
372 2003-10-22 Angus Leeming <leeming@lyx.org>
374 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
375 class and into an anonymous namespace.
377 2003-10-22 Angus Leeming <leeming@lyx.org>
379 * insetcommand.h: remove the display method.
383 * insetindex.h (InsetPrintIndex):
384 * insettoc.h: add a display method, returning true.
386 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
388 * insetcollapsable.h:
392 * insetinclude.h: (1) finish off the inset display() work;
393 (2) fix the "is a bit silly" bug (accessing char
396 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
400 * insetfootlike.h: re-introduce display() for insets,
401 fixing the various bugs (stretch of line above, math inset
404 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * insetbase.C (dispatch): new func
407 (priv_dispatch): new func replaces...
408 (localDispatch): this, deleted.
410 * all insets with dispatch modified for new code.
412 2003-10-15 André Pönitz <poenitz@gmx.net>
414 * insetcollapsable.[Ch]
416 * inset.h: re-add some edit(bv, index) method called by undo
418 2003-10-14 Angus Leeming <leeming@lyx.org>
420 * insetexternal.[Ch] (view, cache, view_):
421 * insetgraphics.[Ch] (view, cache, view_):
422 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
423 (statusChanged): call LyX::cref().updateInset.
425 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
426 the BufferView cache.
428 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
431 2003-10-14 Angus Leeming <leeming@lyx.org>
433 * insetinclude.C (metrics, draw): only draw the preview when previews
436 2003-10-14 André Pönitz <poenitz@gmx.net>
438 * insetcollapsable.[Ch]:
441 * inset.h: getText() as alternative to getParagraphs()
443 2003-10-13 Angus Leeming <leeming@lyx.org>
446 * insetgraphicsParams.C: displayTranslator is now a function.
448 2003-10-13 Angus Leeming <leeming@lyx.org>
450 * insetinclude.C: remove #include "PreviewImage.h".
452 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
455 * ExternalTransforms.C:
457 * insetbox.h: ws changes only
459 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * insetinclude.C (localDispatch): do not call
462 InsetOld::localDispatch, just return UNDISPATCHED
463 * insetgraphics.C (localDispatch): ditto
464 * insetcommand.C (localDispatch): ditto
466 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
468 * inset.h: get rid of RESULT typedef for dispatch_result
470 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
471 * insetert.[Ch] (localDispatch): ditto
472 * insettabular.[Ch] (localDispatch): ditto
477 * insettext.[Ch] (localDispatch): ditto
480 (moveRightIntern): ditto
481 (moveLeftIntern): ditto
484 * updatableinset.[Ch] (localDispatch): ditto
486 2003-10-12 Angus Leeming <leeming@lyx.org>
488 * renderbase.h (view, view_): removed.
489 * renderbase.C: removed.
490 * Makefile.am: remove render_base.C. The shortest lived file in
493 * renderbutton.C (draw):
494 * render_graphic.C (draw): don't cache the BufferView.
496 * insetabase.h (cache, view): removed.
498 * inset.h (generatePreview) removed.
500 * insetcallapsable.[Ch] (cache, view, view_): removed.
502 * insetcollapsable.C (draw): don't cache the BufferView.
504 * insetcommand.[Ch] (view): removed.
506 * insetexternal.[Ch] (cache, view, view_):
507 * insetgraphics.[Ch] (cache, view, view_):
508 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
510 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
511 when you have direct access to it. In fact, don't use the cache at all.
513 2003-10-10 Angus Leeming <leeming@lyx.org>
515 * insetinclude.C (metrics): use preview_->metrics.
516 (draw): use preview_->draw.
518 * render_preview.[Ch] (pimage): removed.
520 2003-10-10 Angus Leeming <leeming@lyx.org>
522 * renderers.[Ch]: removed.
525 * render_button.[Ch]:
526 * render_graphic.[Ch]:
527 * render_preview.[Ch]: new files. The first three are split out of
528 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
529 contains a re-worked InsetInclude::PreviewImpl also.
531 * Makefile.am: reflect the changed files.
534 * insetexternal.[Ch]:
535 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
537 * insetinclude.[Ch]: changes reflecting the change from
538 InsetInclude::PreviewImpl to RenderMonitoredPreview.
544 * inseturl.C: add #include "support/std_ostream.h"
546 2003-10-09 Angus Leeming <leeming@lyx.org>
548 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
549 to PreviewedInset::previewReady.
551 2003-10-09 Angus Leeming <leeming@lyx.org>
553 * insetexternal.[Ch] (statusChanged):
554 * insetgraphics.[Ch] (statusChanged): make a const member function.
556 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
559 2003-10-09 Angus Leeming <leeming@lyx.org>
561 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
562 to PreviewedInset's previewReady and removePreview member functions.
564 2003-10-08 André Pönitz <poenitz@gmx.net>
566 * insetcollapsable.C:
567 * insettext.[Ch]: saner 'init' structure
569 * updatableinset.[Ch]: remove unneeded code
571 2003-10-08 Angus Leeming <leeming@lyx.org>
573 Fix doxygen warnings.
575 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
576 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
578 2003-10-07 Angus Leeming <leeming@lyx.org>
580 * ExternalTransforms.[Ch]: new files, detailing transforms that can
581 be applied to InsetExternal.
583 * Makefile.am: add these new files.
585 * ExternalTemplate.[Ch]: add a list of available transforms to
586 class Template and a list of factory functions for transformer classes
587 that can act on this data to class Format.
589 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
591 * ExternalSupport.C: Add code to replace transform placeholders
592 with appropriate output.
594 2003-10-07 Angus Leeming <leeming@lyx.org>
596 * ExternalSupport.[Ch]: new files, moving the private member functions
597 and namespace anon functions out of insetexternal.C to here, so making
598 it easier to understand what is going on in insetexternal itself.
600 * Makefile.am: add new files.
602 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
603 allowing the class to be forward declared. (Also consistent with
604 all other Params classes.)
605 (write): moved out of the class. Move this function and those in
606 namespace anon to ExternalSupport.[Ch].
608 2003-10-07 Angus Leeming <leeming@lyx.org>
610 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
611 non-const member function.
613 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
618 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
620 2003-10-02 André Pönitz <poenitz@gmx.net>
622 * insettext.C (read): make sure there is at least one par
623 in the text after reading.
625 2003-10-01 José Matos <jamatos@lyx.org>
627 * insetbranch.C (linuxdoc, docbook): minor fix.
629 2003-10-01 Angus Leeming <leeming@lyx.org>
631 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
633 * insetexternal.[Ch]: changes due to the introduction of
634 namespace lyx::external.
636 2003-09-30 Angus Leeming <leeming@lyx.org>
638 * insetexternal.[Ch] (Params::read, write): new member functions.
640 2003-09-25 Angus Leeming <leeming@lyx.org>
642 * insetexternal.[Ch] (TempName): new (private) nested struct with
643 fake copy semantics. Enables us to use the generated copy c-tor
644 in the Params struct.
645 (Params::templatename, Params::tempname): use accessor functions.
647 2003-09-25 Angus Leeming <leeming@lyx.org>
649 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
650 function, returning a const pointer.
652 2003-09-23 Angus Leeming <leeming@lyx.org>
654 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
655 store them in a vector, preambleNames.
657 * insetexternal.C (validate): loop over all preambleNames and call
658 LaTeXFeatures::addExternalPreamble with each.
660 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
662 * insetbranch.C: bug fix in branches
664 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
666 * insetnote.C: small clean-up.
668 2003-09-19 Angus Leeming <leeming@lyx.org>
670 * inset.h (generatePreview): passed a 'Buffer const &' arg.
672 * insetcommand.C (string2params): clear params using the default c-tor.
674 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
675 InsetInclude::Params. No more data in this struct than in
676 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
677 (c-tor): no need to pass a 'Buffer const &' arg anymore.
678 (clone): remove #warning as it's now redundant.
679 (set): add a 'Buffer const &' arg. Make private.
680 (loadIfNeeded) move out of the class definition and into namespace anon.
681 (getMasterFilename, getFileName): ditto.
683 2003-09-18 Angus Leeming <leeming@lyx.org>
685 * insetcommand.C (setParams): use the params' copy constructor.
687 2003-09-18 Angus Leeming <leeming@lyx.org>
689 * insetinsetbase.h (getLabelList):
690 * insetinsetcollapsable.[Ch] (getLabelList):
691 * insetinsetinclude.[Ch] (getLabelList):
692 * insetinsetlabel.[Ch] (getLabelList):
693 * insetinsettabular.[Ch] (getLabelList):
694 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
695 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
697 2003-09-18 Angus Leeming <leeming@lyx.org>
699 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
700 redundant baggage from yesteryear.
701 Remove Params::flag as it is redundant; the info is present in
704 2003-09-18 Angus Leeming <leeming@lyx.org>
706 * insetinclude.C (latexString): add a Buffer const & arg.
708 2003-09-18 Angus Leeming <leeming@lyx.org>
713 * insettext.h: rename EnumLColor as LColor_color.
715 2003-09-18 Angus Leeming <leeming@lyx.org>
717 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
718 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
720 2003-09-16 Angus Leeming <leeming@lyx.org>
722 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
723 set before trying to generate a preview, else we trigger an assert.
725 2003-09-16 Angus Leeming <leeming@lyx.org>
727 * insetinclude.C (PreviewImpl::parent): return a const reference.
729 2003-09-16 Angus Leeming <leeming@lyx.org>
731 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
733 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
735 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
736 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
738 * insetminipage.C (metrics):
739 * insetnote.C (metrics):
740 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
741 access collapsed_ directly.
743 2003-09-16 Angus Leeming <leeming@lyx.org>
745 * insetbibitem.C: add #include "lyxfont.h".
747 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * insetbibtex.C: use namespace alias for lyx::support::os
752 2003-09-16 Angus Leeming <leeming@lyx.org>
754 * insetcollapsable.h: remove unused framecolor variable.
755 Remove #include "LColor.h".
757 * insetcollapsable.C: remove unused framecolor variable.
760 * insetcollapsable.C:
768 Add #include "LColor.h".
770 2003-09-16 Angus Leeming <leeming@lyx.org>
772 * insettext.[Ch] (frameColor): new accessor function.
773 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
779 add #include "LColor.h".
781 * insetcollapsable.h: add #include "LColor.h"
782 (for its framecolor member variable).
784 2003-09-16 Angus Leeming <leeming@lyx.org>
786 * insetenv.C (constructor): use accessor functions to access InsetText variables.
788 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
789 rename frame_color as frame_color_. Make private.
791 * insettext.C: associated changes.
793 2003-09-16 Angus Leeming <leeming@lyx.org>
795 * inset.h: store background_color_ as an int, not as an LColor::color to
796 get LColor.h out of the header file.
799 * insetlatexaccent.C:
802 * insetspecialchar.C:
804 add #include "LColor.h".
806 2003-09-16 Angus Leeming <leeming@lyx.org>
808 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
811 2003-09-15 Angus Leeming <leeming@lyx.org>
813 * inset.[Ch] (setBackgroundColor, backgroundColor):
814 * insettext.[Ch] (setFrameColor):
815 pass EnumLColor args, rather than LColor::color ones.
817 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * insetwrap.C: remove usage of STRCONV
829 2003-09-15 Angus Leeming <leeming@lyx.org>
831 * renderers.C (draw):
832 * insetlatexaccent.C (draw): explicitly define the color passed to
835 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
837 * insettext.C: remove block causing problems in lockInsetInInset
838 (mentioned erroneously under Bug #1366)
840 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
842 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
845 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
847 * several files: change Assert to BOOST_ASSERT
849 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
851 * insettext.[Ch]: remove drawText[XY]Offset
853 2003-09-08 Angus Leeming <leeming@lyx.org>
855 * insetcollapsable.C:
860 * insetspecialchar.C:
863 * insettoc.C: remove redundant using directives.
865 2003-09-07 Angus Leeming <leeming@lyx.org>
868 * insetspecialchar.h: remove #include "support/std_string.h".
870 2003-09-06 Angus Leeming <leeming@lyx.org>
872 * renderers.C: add #include "insets/inset.h"
874 2003-09-05 Angus Leeming <leeming@lyx.org>
876 * *.C: strip out redundant #includes. (193 in total.)
878 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
880 * insets/insetbibtex.[Ch]:
881 * insets/insetcommand.h:
882 * insets/insetfloatlist.[Ch]:
883 * insets/insetinclude.[Ch]:
884 * insets/insettoc.[Ch]: Restricts the mouse click functionality
885 of insets like bibtex, include, toc and floatlist to the visible
886 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
887 up the dialogs. Cursor has to be in front of the inset (i.e.
888 start of row) for this to function.
890 2003-09-04 Angus Leeming <leeming@lyx.org>
892 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
893 structure outside of the Format struct. Format::preambleName refers to
894 an item in the map of all preamble snippets.
895 Make use of the new Debug::EXTERNAL flag.
897 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
898 (validate): Small change due to the changed storage of preamble snippets.
900 2003-09-04 Angus Leeming <leeming@lyx.org>
902 * insetgraphics.C: #include "support/os.h"
904 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
905 * insettabular.h: move #include "FuncStatus.h" out of the header file.
906 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
908 * insetcollapsable.h:
910 * insetnote.C: move #include "funcrequest.h" out of the header file.
912 2003-09-03 Angus Leeming <leeming@lyx.org>
914 * insetexternal.C (updateExternal):
915 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
918 2003-09-03 Angus Leeming <leeming@lyx.org>
920 * insetexternal.C: don't bring namespace lyx::support into the global
923 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
925 * insetbranch.C: Add Branch: to label
927 2003-09-02 John Levon <levon@movementarian.org>
930 * insettext.C: remove cursor.i[xy]()
932 2003-08-28 Angus Leeming <leeming@lyx.org>
934 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
935 "sh ", enabling the conversion to be carried out even if the script
938 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * most files: change to use const Buffer refs
942 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
944 * insetfootlike.C: whitespace.
946 2003-08-26 John Levon <levon@movementarian.org>
950 * insetindex.h: remove remaining mentions of needFullRow()
952 2003-08-26 André Pönitz <poenitz@gmx.net>
958 * inset.[Ch]: remove InsetOld::par_owner_ & handling
960 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
962 * insetbranch.C: Small fix to prevent a crash on loading.
964 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
969 * insetcollapsable.h:
971 * insetfloatlist.[Ch]:
972 * insetfootlike.[Ch]:
980 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
981 altogether, putting the logic in metrics/draw in the insets.=20
982 Draws short single row insets with more or less realistic metrics.
984 2003-08-19 André Pönitz <poenitz@gmx.net>
986 * insettext.C: use new RowPainter interface
988 2003-08-18 John Levon <levon@movementarian.org>
990 * insetref.C: require amsmath for eqref
992 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
996 * insetbranch.[Ch]: implements the 'branch inset'
997 idea. This allows the output of various versions of a document
998 from a single source version, selectively outputing or suppressing
999 output of parts of the text.
1000 This implementation contains a 'branch list editor' in a separate
1001 tab of the document settings dialog. Branches are user definable
1002 and have a "display colour" to distinguish them on-screen.
1004 ColorHandler was somewhat cleaned up.
1005 (1) make possible a dynamically growing LColor list by allowing
1006 the graphic context cache to grow along (vector);
1007 (2) eliminate an IMHO unnecessary step in colour allocation.
1009 2003-08-15 André Pönitz <poenitz@gmx.net>
1011 * insettext.[Ch]: adjust after rowlist split
1013 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1015 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1016 rename valign-center to valign-middle;
1017 rename VALIGN_CENTER to VALIGN_MIDDLE
1019 2003-08-11 André Pönitz <poenitz@gmx.net>
1021 * inset.h: remove resizeLyXText
1024 * insetcollapsable.[Ch]:
1026 * insettabular.[Ch]: adjust
1028 * insettext.[Ch]: remove saveLyXTextState,
1029 restoreLyXTextStat, sstate, reinitLyXText
1031 2003-08-07 André Pönitz <poenitz@gmx.net>
1033 * inset.[Ch]: move non-crucial functions out-of-line
1035 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1036 remove duplicated code.
1038 2003-08-05 André Pönitz <poenitz@gmx.net>
1041 * insetcollapsable.[Ch]:
1051 * insettabular.[Ch]:
1054 * updatableinset.[Ch]: rip out "deep update"
1056 * insettext.C (localDispatch): merge cases with default branch
1058 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1060 * insettabular.[Ch] (updateLocal): simplify logic
1062 2003-08-04 André Pönitz <poenitz@gmx.net>
1064 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1065 is 'FULL' all the time.
1067 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * insetert.C (get_new_label): only add ... to the (closed) label
1070 when the string has been shortened
1072 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1074 * Always use std::endl with lyxerr
1076 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1078 * insetnote.C: update \author list
1080 2003-07-31 André Pönitz <poenitz@gmx.net>
1082 * insetcollapsable.h:
1083 * insettabular.[Ch]:
1084 * insettext.[Ch]: remove toggleSelection
1086 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1088 (with help from Juergen Spitzmueller)
1089 * insetnote.C: add add i18n support. Use Prefs-definable
1090 colours for Comment and Greyedout.
1092 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1094 * insetcollapsable.[Ch]:
1096 * insetert.C: factor out the detection of clicking on the inset
1097 button as 'hitButton'. John Levon contributed.
1099 2003-07-30 André Pönitz <poenitz@gmx.net>
1101 * insetcollapsable.C:
1103 * insettabular.C: parantheses, localize vars etc.
1105 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1107 * insetnote.C: Implement a newenvironment in preamble for
1108 greyedout. Patch provided by Jürgen Spitzmüller.
1110 2003-07-29 Angus Leeming <leeming@lyx.org>
1112 * insetcommand.C (localDispatch): default to
1113 InsetOld::localDispatch.
1115 * insetbibitem.C (localDispatch):
1116 * insetbibtex.C (localDispatch): remove call to
1117 ChangeCitationsIfUnique.
1119 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1121 * insetexternal.C (read): use pushpophelper.
1123 2003-07-28 José Matos <jamatos@lyx.org>
1125 * insetext.C (read): \end_document replaces \the_end.
1127 2003-07-28 José Matos <jamatos@fep.up.pt>
1129 * insetert.C (write): \layout -> \begin_layout.
1130 Add missing \end_layout.
1132 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * insetquotes.C: document a bit the format
1136 * insettabular.C (write): remove extra space
1138 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1139 * insetnote.C: Umpf. Hope I *now* get it right :-(
1141 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1142 *insetnote.C: did the right fix to greyedout: \color
1143 instead of \textcolor.
1145 2003-07-28 Angus Leeming <leeming@lyx.org>
1147 * insetbibtex.h: remove extraneous forward declaration.
1150 * insetbibtex.h: Also remove long-dead Holder member class
1153 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1155 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1158 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * insetwrap.C (addToToc): adjust for lyx::toc
1162 * insetfloatlist.C (ascii): adjust for lyx::toc
1164 * insetfloat.C (addToToc): adjust for lyx::toc
1166 2003-07-27 José Matos <jamatos@fep.up.pt>
1168 * insetnote.h (linuxdoc,docbook): update support.
1170 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * insetfloat.C (wide): add a space to label, for consistency
1174 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * insettext.C (nextChange): adjust for lyx::find
1177 (searchForward): ditto
1178 (searchBackward): ditto
1180 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * insetgraphicsParams.C:
1183 * insetexternal.C: declare extern displayTranslator
1186 * renderers.C: add #include "support/LAssert.h"
1188 2003-07-27 José Matos <jamatos@fep.up.pt>
1190 * insetfloat.[Ch] (linuxdoc):
1191 * insetgraphics.C (linuxdoc):
1192 * insettabular.C (linuxdoc):
1193 * insettext.[Ch] (linuxdoc): add support for tables and figures
1196 2003-07-27 José Matos <jamatos@fep.up.pt>
1198 * insetinclude (latex): comply with makeLaTeXFile argument change.
1200 2003-07-26 Asger Alstrup <alstrup@local>
1202 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1203 the undo crashes. We'll see what problems other places this will
1206 2003-07-26 Angus Leeming <leeming@lyx.org>
1208 * insetgraphics.C: remove unused declaration of system_tempdir.
1210 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * rename Inset to InsetOld
1214 * all inset files (clone): return a auto_ptr<InsetBase>
1216 2003-07-23 Angus Leeming <leeming@lyx.org>
1218 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1220 2003-07-23 Angus Leeming <leeming@lyx.org>
1222 * mailinset.[Ch] (inset2string):
1223 * insetcommand.[Ch] (inset2string):
1224 * insetert.[Ch] (inset2string):
1225 * insetexternal.[Ch] (inset2string):
1226 * insetfloat.[Ch] (inset2string):
1227 * insetgraphics.[Ch] (inset2string):
1228 * insetinclude.[Ch] (inset2string):
1229 * insetminipage.[Ch] (inset2string):
1230 * insetnote.[Ch] (inset2string):
1231 * insettabular.[Ch] (inset2string):
1232 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1234 * insetexternal.[Ch]:
1235 * insetgraphics.[Ch]: get rid of the view() function. Associated
1236 changes to the mailers' string2params and params2string functions.
1238 2003-07-23 Angus Leeming <leeming@lyx.org>
1240 * insetexternal.[Ch]: store the external file name in a FileName
1241 member variable rather than a string + associated changes.
1243 2003-07-21 Angus Leeming <leeming@lyx.org>
1245 * insetgraphicsParams.[Ch]: store the graphics file name in
1246 a FileName member variable rather than a string.
1248 * insetgraphics.[Ch]:
1249 * insetgraphicsParams.[Ch]: Associated changes.
1251 2003-07-21 Angus Leeming <leeming@lyx.org>
1253 * insetgraphics.[Ch] (string2params, params2string): passed a
1254 buffer_path argument.
1257 2003-07-21 Angus Leeming <leeming@lyx.org>
1260 * insetgraphicsParams.[Ch]:
1262 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1264 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1266 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1268 2003-07-18 André Pönitz <poenitz@gmx.net>
1271 * insetminipage.[Ch]:
1272 * insettabular.[Ch]:
1275 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1277 2003-07-18 André Pönitz <poenitz@gmx.net>
1281 * insetcollapsable.C:
1285 * insetgraphics.[Ch]:
1286 * insetlatexaccent.[Ch]:
1291 * insetspecialchar.C:
1292 * insettabular.[Ch]:
1294 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1296 2003-07-17 André Pönitz <poenitz@gmx.net>
1298 * insetcollapsable.C:
1300 * insettext.C: don't call Inset::update() anymore
1303 * insettabular.[Ch]: remove unneeded in_update_ members
1305 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1307 2003-07-16 André Pönitz <poenitz@gmx.net>
1309 * insettext.C (selectAll): remove
1311 2003-07-16 John Levon <levon@movementarian.org>
1314 * insetnote.C: implement showInsetDialog()
1316 2003-07-15 André Pönitz <poenitz@gmx.net>
1319 * insettext.C: refresh_status tristate -> need_update bool
1321 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1323 * insettext.C: adjust call to LyXText::init
1325 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1327 * insettext.C: use bufferview_funcs->replaceSelection()
1328 to delete selections in some cases (bugs 441, 673, 702, 954).
1330 2003-07-14 André Pönitz <poenitz@gmx.net>
1332 * insettext.C (draw): use slimmed down rowpainter interface
1334 2003-07-14 André Pönitz <poenitz@gmx.net>
1336 * insetcollapsable.C:
1338 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1339 remove unused BufferView * argument
1341 2003-07-14 André Pönitz <poenitz@gmx.net>
1343 * insettext.[Ch]: used cached metrics a bit more
1345 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1347 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1349 2003-07-10 André Pönitz <poenitz@gmx.net>
1352 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1354 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * introduce namespace lyx::graphics
1358 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * introduce namespace lyx::support
1362 2003-06-30 André Pönitz <poenitz@gmx.net>
1364 * insetcite.C (localDispatch): fix case of missing return value
1366 * insetcite.C (ascii): remove unneeded temporary
1368 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * insetspace.h: fix \file
1372 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1373 * insetinclude.C (fillWithBibKeys): ditto
1375 * insetbibitem.C: fix type const order
1377 * inset.C (getLyXText): add varname for arg
1379 * ExternalTemplate.h: fix type const order
1381 2003-06-27 André Pönitz <poenitz@gmx.net>
1383 * insettext.C: take care of removed LyXCursor::row_ member
1385 * insettext.[Ch]: use new TextCursor struct for sstate
1387 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1389 * inseterror.[Ch]: removed
1391 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1393 * insetinclude.C (docbook): use parseError instead of sgmlError
1395 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1397 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1398 of BufferList::loadLyXFile
1400 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * insettext.C (update): simplify
1403 (updateLocal): remove commented code
1404 (insetUnlock): simplify
1405 (lockInset): simplify
1406 (updateInsetInInset): simplify
1407 (localDispatch): simplify
1409 (resizeLyXText): simplify
1410 (collapseParagraphs): simplify
1412 * insetert.C (get_new_label): simplify
1414 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1416 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1417 pasteSelection with index
1419 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1423 2003-06-16 André Pönitz <poenitz@gmx.net>
1425 * insetbase.h: new virtual base function clone()
1427 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1428 Inset * clone() -> InsetBase * clone()
1430 2003-06-13 André Pönitz <poenitz@gmx.net>
1432 * insettabular.[Ch]: make tabular a proper member
1434 2003-06-12 André Pönitz <poenitz@gmx.net>
1436 * insettabular.[Ch]: some renaming plus whitespace
1438 2003-06-11 Angus Leeming <leeming@lyx.org>
1440 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1443 * insetbutton.[Ch]: removed.
1444 * graphicinset.[Ch]: renamed as renderers.[Ch].
1446 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1447 Create a new class ButtonRenderer using the InsetButton::metrics() and
1449 Derive both from a common RenderedInset base class.
1451 * insetcommand.[Ch]:
1452 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1453 Give it a ButtonRenderer member variable. Use it.
1454 Give the classes working copy c-tors.
1455 No longer derive from boost::noncopyable.
1457 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1458 display its contents as a button or as a graphic.
1460 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1463 2003-06-11 Angus Leeming <leeming@lyx.org>
1465 * insetcite.C (localDispatch): reformat.
1467 * insetref.C (localDispatch): enable dialog to be lauched.
1469 2003-06-11 John Levon <levon@movementarian.org>
1471 * insettabular.C: correctly mark all cells as erased
1473 2003-06-11 Angus Leeming <leeming@lyx.org>
1475 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1476 ExternalTemplate but its name, templatename. This means that a file
1477 containing a reference to an External Template not installed on the
1478 current machine will be saved retaining this info rather than inserting
1479 the first "valid" template from the list of templates.
1481 As a by product, the visual statement that the Template is missing is
1484 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1486 * insettext.C (appendParagraphs): remove some commented code.
1488 2003-06-10 Angus Leeming <leeming@lyx.org>
1490 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1493 * insetexternal.[Ch]: move tempname_ into the Params struct.
1494 (Params d-tor): new function, to clean-up this temp file.
1495 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1497 (editExternal, doSubstitution): move out of class.
1499 2003-06-10 Angus Leeming <leeming@lyx.org>
1501 * graphicinset.[Ch] (params): removed.
1502 * graphicinset.h (operator=): declared private but not defined.
1503 (statusMessage): made private.
1505 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1507 2003-06-07 John Levon <levon@movementarian.org>
1509 * insetert.C (latex): make a newline mean just that not
1512 2003-06-07 José Matos <jamatos@fep.up.pt>
1514 * insethfill.[Ch] (linuxdoc, docbook): implement output
1515 * insetspace.C (linuxdoc, docbook): remove coments as the code
1518 2003-06-06 José Matos <jamatos@fep.up.pt>
1520 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1522 2003-06-06 André Pönitz <poenitz@gmx.net>
1524 * insetwrap.[Ch]: code compactification
1526 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1528 * mailinset.C (updateDialog): use Dialogs::visible
1530 2003-06-04 Angus Leeming <leeming@lyx.org>
1532 * graphicinset.C (draw): add a comment for the #if 0 block.
1534 * insetexternal.h: remove Params::parameters variable.
1535 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1536 and read it back making full use of LyXLex.
1538 2003-06-04 André Pönitz <poenitz@gmx.net>
1540 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1542 2003-06-04 John Levon <levon@movementarian.org>
1544 * insettabular.C: back out tall table speed up. It was broken
1546 2003-06-03 Angus Leeming <leeming@lyx.org>
1548 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1549 Remove ViewCommand and UpdateCommand.
1551 * graphicinset.C (update): bug fix. Set the params before calling the
1553 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1554 BufferView cache to enable the InsetExternal::editCommand to be invoked
1555 from the frontends. Would not be needed if this were dispatched properly.
1556 (old_ascent_): variable removed.
1558 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1559 do any necessary conversions of external material. Also use the
1560 new GraphicsInset to display the inset within LyX.
1562 2003-06-03 Angus Leeming <leeming@lyx.org>
1564 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1565 and move it somewhere where InsetExternal can use it too.
1567 * Makefile.am: add the new files.
1569 * insetgraphics.[Ch]: make use of the new GraphicInset.
1571 2003-06-03 John Levon <levon@movementarian.org>
1574 * insetbibitem.[Ch]:
1577 * insetcommand.[Ch]:
1581 * insetexternal.[Ch]:
1585 * insetgraphics.[Ch]:
1587 * insetinclude.[Ch]:
1590 * insetlatexaccent.[Ch]:
1591 * insetmarginal.[Ch]:
1592 * insetminipage.[Ch]:
1599 * insetspecialchar.[Ch]:
1600 * insettabular.[Ch]:
1602 * insetthereom.[Ch]:
1605 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1607 * insetgraphics.[Ch]:
1608 * insetgraphicsParams.[Ch]: always store an absolute
1611 2003-06-02 André Pönitz <poenitz@gmx.net>
1615 * insetlatexaccent.C: remove duplicated call to metrics()
1617 2003-06-02 John Levon <levon@movementarian.org>
1619 * insettabular.C: fix resize of column width
1621 2003-06-02 John Levon <levon@movementarian.org>
1626 * insetparent.C: remove insetparent
1628 2003-06-02 André Pönitz <poenitz@gmx.net>
1635 * insetcollapsable.[Ch]:
1639 * insetgraphics.[Ch]:
1640 * insetinclude.[Ch]:
1641 * insetlatexaccent.[Ch]:
1642 * insetminipage.[Ch]:
1643 * insetnewline.[Ch]:
1646 * insetspecialchar.[Ch]:
1647 * insettabular.[Ch]:
1648 * insettext.[Ch]: unify first drawing phase
1651 * insetbase.h: move validate() to the base
1653 2003-05-31 Angus Leeming <leeming@lyx.org>
1655 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1657 2003-05-30 André Pönitz <poenitz@gmx.net>
1662 * insetcaption.[Ch]:
1663 * insetcollapsable.[Ch]:
1666 * insetgraphics.[Ch]:
1667 * insetinclude.[Ch]:
1668 * insetlatexaccent.[Ch]:
1669 * insetnewline.[Ch]:
1672 * insetspecialchar.[Ch]:
1673 * insettabular.[Ch]:
1675 * updatableinset.[Ch]: unify second drawing phase
1677 2003-05-30 John Levon <levon@movementarian.org>
1679 * insetgraphics.C: fix a bformat
1681 2003-05-29 John Levon <levon@movementarian.org>
1683 * insettabular.C: remove unused bufferOwner()
1685 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * insettext.C (lockInsetInInset): adjust
1688 (getLabelList): use const_iterator, adjust
1689 (getInsetFromID): use const_iterator, adjust
1690 (addPreview): use const_iterator, adjust
1692 * insetwrap.C (clone): remove const_cast
1694 * insetnote.C (clone): remove const_cast
1696 * insetminipage.C (clone): remove const_cast
1698 * insetmarginal.C (clone): remove const_cast
1700 * insetfoot.C (clone): remove const_cast
1702 * insetfloat.C (clone): remove const_cast
1704 * insetert.C (clone): remove const_cast
1706 * delete commented same_id functions from a lot of files.
1708 2003-05-28 John Levon <levon@movementarian.org>
1714 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1716 * insetminipage.C: fix metrics (bug 1144)
1718 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * insettext.C (saveLyXTextState): adjust
1721 (restoreLyXTextState): adjust
1724 (unlockInsetInInset): adjust
1725 (localDispatch): adjust
1726 (getLyXText): adjust
1728 * insettabular.C (insertAsciiString): adjust
1730 2003-05-27 André Pönitz <poenitz@gmx.net>
1733 * insetcollapsable.C:
1736 * insetlatexaccent.C:
1741 * insetspecialchar.C:
1743 * insettext.C: dim.w -> dim.wid
1745 2003-05-26 John Levon <levon@movementarian.org>
1747 * insettabular.C: avoid drawing all of a long table
1748 if it's not needed. A big speedup
1750 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * remove same_id from function signatures, adjust
1754 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * insettext.C (InsetText): adjust
1758 (setParagraphData): separate same_id cases, adjust
1759 (appendParagraphs): adjust
1760 (appendParagraphs): adjust
1762 2003-05-23 André Pönitz <poenitz@gmx.net>
1764 * insetbutton.h: whitespace
1766 * insettabular.C: more compact code
1768 * updatableinset.C: remove const_cast
1771 2003-05-23 Angus Leeming <leeming@lyx.org>
1773 * insetexternal.C (write): check how many lines are output.
1774 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1775 if the template has defined it.
1777 2003-05-23 Angus Leeming <leeming@lyx.org>
1779 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1781 2003-05-23 Angus Leeming <leeming@lyx.org>
1783 * insetfoot.C (latex):
1784 * inseturl.C (latex): rename fragile as moving_arg.
1786 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * inseterror.C (localDispatch): comment out unused var.
1790 2003-05-22 Angus Leeming <leeming@lyx.org>
1792 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1793 passed through the LatexRunParams arg.
1795 2003-05-22 Angus Leeming <leeming@lyx.org>
1797 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1798 through the LatexRunParams arg.
1800 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1801 arg rather than through a global var.
1803 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * insetspecialchar.C (dimension): use a string.
1807 2003-05-22 Angus Leeming <leeming@lyx.org>
1809 * insetbibtex.C (latex):
1810 * insetgraphics.C (latex):
1811 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1812 runparams rather than from the buffer itself.
1814 2003-05-22 Angus Leeming <leeming@lyx.org>
1816 * inset*.[Ch] (latex):
1817 passed a LatexRunParams parameter.
1819 * insetgraphics.C (latex): actually use it ;-)
1821 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1823 * insetfloat.C (addToToc): trivial compile fix
1825 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * insettext.[Ch] (paragraph): delete unused function
1829 * insetfloat.C (addToToc): parlist simplfication
1831 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1833 * insetspace.[Ch]: added (new space insets)
1835 * inset.h: handle new space insets
1837 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * insetfloat.C (addToToc): adjust
1841 2003-05-21 André Pönitz <poenitz@gmx.net>
1843 * insettext.[Ch]: fix drawing bug introduced earlier
1845 2003-05-19 André Pönitz <poenitz@gmx.net>
1847 * insetspecialchar.C: fix bug introduced yesterday
1849 2003-05-19 André Pönitz <poenitz@gmx.net>
1853 * insetcollapsable.[Ch]:
1857 * insetgraphics.[Ch]:
1858 * insetgraphicsParams.[Ch]:
1859 * insetlatexaccent.[Ch]:
1860 * insetminipage.[Ch]:
1861 * insetnewline.[Ch]:
1863 * insetspecialchar.[Ch]:
1864 * insettabular.[Ch]:
1865 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1867 2003-05-19 André Pönitz <poenitz@gmx.net>
1870 * insettext.C: more insetenv
1872 2003-05-16 André Pönitz <poenitz@gmx.net>
1875 * insetminimpage.[Ch]:
1876 * insetcollapsable.[Ch]: fix #832
1878 2003-05-16 André Pönitz <poenitz@gmx.net>
1881 * insetbibitem.[Ch]:
1885 * insetcollapsable.[Ch]:
1886 * insetcommand.[Ch]:
1889 * insetexternal.[Ch]:
1890 * insetfloatlist.[Ch]:
1891 * insetgraphics.[Ch]:
1892 * insetinclude.[Ch]:
1895 * insetlatexaccent.[Ch]:
1898 * insettabular.[Ch]:
1902 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1904 2003-05-13 André Pönitz <poenitz@gmx.net>
1907 * insetcollapsable.C:
1911 * insetwrap.C: tostr from own header
1923 * insetwrap.C: STRCONV
1926 2003-05-12 André Pönitz <poenitz@gmx.net>
1938 * insetwwrap.C: boost::format -> bformat all over the place
1940 2003-05-05 André Pönitz <poenitz@gmx.net>
1942 * insettext.h: add missing #include <map>
1944 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * insettext.C (InsetText): parlist cleanup
1949 (insetUnlock): ditto
1951 (lockInsetInInset): ditto
1955 (searchBackward): ditto
1956 (collapseParagraphs): ditto
1958 2003-05-06 John Levon <levon@movementarian.org>
1960 * insetcaption.C: don't cast wrap inset to InsetFloat
1963 * insetfloat.C: remove unneeded type() function
1965 2003-05-05 André Pönitz <poenitz@gmx.net>
1969 * insettabular.[Ch]:
1970 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1971 replace getFirstParagraph() by getParagraphs()
1973 2003-05-03 John Levon <levon@movementarian.org>
1975 * insetcollapsable.h:
1976 * insetcollapsable.C:
1982 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1983 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1984 getCursor(). Remove explicit cursor hides.
1986 2003-05-02 André Pönitz <poenitz@gmx.net>
1988 * insettext.C: remove unneeded &*
1990 2003-04-30 John Levon <levon@movementarian.org>
1992 * insettabular.C: fix edit message
1994 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * insettext.C (setFont): do not convert iterator -> pointer
1998 * insettabular.C (localDispatch): do not convert iterator -> pointer
2000 (tabularFeatures): ditto
2002 2003-04-29 André Pönitz <poenitz@gmx.net>
2004 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2006 2003-04-28 André Pönitz <poenitz@gmx.net>
2008 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2011 2003-04-25 André Pönitz <poenitz@gmx.net>
2013 * insetenv.C: derive from InsetText instead of InsetCollapsable
2015 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * insetexternal.C (string2params): dont do anything if the string
2019 * insetgraphics.C (string2params): ditto
2020 * insetcommand.C (string2params): ditto
2021 * insetert.C (string2params): ditto
2022 * insetfloat.C (string2params): ditto
2023 * insetinclude.C (string2params): ditto
2024 * insetminipage.C (string2params): ditto
2025 * insettabular.C (string2params): ditto
2026 * insetwrap.C (string2params): ditto
2028 2003-04-24 André Pönitz <poenitz@gmx.net>
2030 * insetref.C: support for eqref
2032 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2034 * insetert.C (read): use ParagraphList::iterator.
2036 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * insetquotes.C (latex): comment some code and add warnings.
2040 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2042 * insetexternal.C (localDispatch): added a missing DISPATCHED
2044 2003-04-12 John Levon <levon@movementarian.org>
2046 * insetwrap.C (addToToc): fix a crash, conversion
2047 from while to for loop forgot to remove the explicit
2050 2003-04-10 John Levon <levon@movementarian.org>
2052 * insettabular.C (tabularFeature): make sure
2053 to update the dialog when we change something
2056 (getStatus): don't disable some lfuns (bug 939)
2058 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * insettext.C (saveLyXTextState): adjust
2061 (localDispatch): adjust
2067 * insettabular.C (localDispatch): adjust
2069 (tabularFeatures): adjust
2071 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2073 * insettabular.C (searchForward,searchBackward): fix bug 782
2075 2003-04-07 John Levon <levon@movementarian.org>
2078 * insettext.C: clear status message on inset exit
2080 2003-04-03 John Levon <levon@movementarian.org>
2082 * insetcommand.C: return dispatched on DIALOG_UPDATE
2084 2003-04-02 John Levon <levon@movementarian.org>
2086 * insettabular.C: tab lfuns renamed
2088 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2090 * insettext.C (update): move towards ParagraphList
2091 (updateLocal): ditto
2093 (insetUnlock): ditto
2095 (lockInsetInInset): ditto
2096 (updateInsetInInset): ditto
2097 (localDispatch): ditto
2100 (resizeLyXText): ditto
2101 (searchBackward): ditto
2102 (collapseParagraphs): ditto
2105 * insetwrap.C (InsetWrap): adjust
2106 (addToToc): adjust and rewrite loop
2108 * insettext.[Ch] (paragraph): delete function
2110 * insettabular.C (moveNextCell): adjust
2111 (movePrevCell): adjust
2112 (insertAsciiString): adjust
2114 * insetfloat.C (InsetFloat): adjust
2117 * insetert.C (InsetERT): adjust
2118 (write): adjust, and rewrite loop
2119 (latex): adjust, and rewrite loop
2120 (linuxdoc): adjust, and rewrite loop
2121 (docbook): adjust, and rewrite loop
2122 (localDispatch): adjust
2123 (get_new_label): adjust
2125 2003-04-01 John Levon <levon@movementarian.org>
2127 From Alfredo Braunstein
2130 * insetbutton.C: add localDispatch()
2132 * insetcommand.C: return DISPATCHED when edit() called
2134 * insettext.C: fix bug 967
2136 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * insettext.C: adjust
2140 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * insettext.C (draw): adjust
2143 (crow): return a RowList::iterator not a Row*
2145 * insetminipage.C (localDispatch): adjust
2147 * insetert.C (localDispatch): adjust
2149 2003-03-31 John Levon <levon@movementarian.org>
2152 * insetgraphicsParams.C: use_gui moved to lyx_gui
2154 2003-03-31 John Levon <levon@movementarian.org>
2156 * insettext.C: Alert fix
2158 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * insettext.C (ascent): adjust for RowList
2163 (getLyXText): adjust
2164 (toggleSelection): adjust
2166 * insetminipage.C (localDispatch): adjust for RowList
2168 * insetert.C (localDispatch): adjust for RowList
2169 (getMaxWidth): adjust for RowList
2171 2003-03-29 John Levon <levon@movementarian.org>
2173 * insetert.C: Alert cleanup
2175 2003-03-29 John Levon <levon@movementarian.org>
2177 * insettabular.C: Alert fix
2179 2003-03-28 John Levon <levon@movementarian.org>
2181 * insetfloat.C: reset label on INSET_MODIFY
2183 2003-03-28 John Levon <levon@movementarian.org>
2185 * insetgraphicsParams.C: read subcaptionText as a whole line
2188 2003-03-28 John Levon <levon@movementarian.org>
2190 * insettext.C: remove unused prototypes
2192 2003-03-25 Angus Leeming <leeming@lyx.org>
2194 * insetbibitem.C (localDispatch): repaint the view after modifying
2195 a bibitem inset in case the maximum InsetBibitem width has changed.
2197 2003-03-25 John Levon <levon@movementarian.org>
2200 * insettabular.C: LyXText renamings
2202 2003-03-24 John Levon <levon@movementarian.org>
2204 * insettext.C: remove some dead code. Fix bug 972 and
2205 related by posting a repaint in updateLocal(), and making
2206 the SEL functions set SELECTION.
2208 2003-03-22 John Levon <levon@movementarian.org>
2211 * inset.C: remove no-longer-needed topx_set
2213 * insetcollapsable.h:
2214 * insetcollapsable.C: remove dead code
2217 * insetert.C: rebreak the rows when a possible
2218 change in size is made, and reset the cursor
2221 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2223 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2224 topx_set. Fix drawing errors for clearInset(). Remove
2225 some unnecessary uses of topx, which should die.
2227 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2228 is no longer needed. Replace it with an ugly hack.
2230 2003-03-20 John Levon <levon@movementarian.org>
2233 * insetcollapsable.h:
2234 * insetcollapsable.C:
2242 * insettext.C: remove spurious font parameter
2243 from update(). Fix drawing of ERT insets inside
2244 insets (bug 966). Remove unused mark_dirty from
2245 tabular's updateLocal()
2247 2003-03-19 John Levon <levon@movementarian.org>
2256 * insetwrap.C: remove unused getter/setters
2258 2003-03-19 John Levon <levon@movementarian.org>
2260 * several files: bv->updateInset() doesn't take
2261 a bool mark_dirty any more
2263 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * adjust for BufferView* arg removal from lyxtext.
2267 2003-03-17 John Levon <levon@movementarian.org>
2269 * most files: remove the "cleared" parameter
2270 to draw in favour of always clearing. Associated
2273 2003-03-16 John Levon <levon@movementarian.org>
2275 * insettext.C: remove unused s.refresh
2277 2003-03-13 Angus Leeming <leeming@lyx.org>
2279 * insettext.C (edit): replace Dialogs::updateParagraph with
2280 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2282 2003-03-13 André Pönitz <poenitz@gmx.net>
2284 * Makefile.am: insert insetenv
2286 * insethenv.[Ch]: new files, currently inactive
2288 2003-03-12 John Levon <levon@movementarian.org>
2298 * insettext.C: use new insetnewline
2300 2003-03-12 John Levon <levon@movementarian.org>
2302 * insettext.C: readToken became readParagraph
2304 2003-03-12 John Levon <levon@movementarian.org>
2306 * insettext.C: use parlist iterator for reading contents
2308 2003-03-12 John Levon <levon@movementarian.org>
2310 * insettext.C: name change to readToken()
2312 2003-03-11 André Pönitz <poenitz@gmx.net>
2314 * Makefile.am: insert insethfill
2316 * insethfill.[Ch]: new files
2318 2003-03-10 Angus Leeming <leeming@lyx.org>
2320 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2322 (hideDialog): calls the new static Dialogs::hide() method.
2324 * insetbibitem.C (edit):
2325 * insetbibtex.C (edit):
2326 * insetcite.C (edit):
2327 * insetcommand.C (localDispatch):
2328 * inseterror.C (d-tor):
2329 * insetert.C (showInsetDialog):
2330 * insetexternal.C (localDispatch, edit):
2331 * insetfloat.C (localDispatch, showInsetDialog):
2332 * insetfloatlist.C (edit):
2333 * insetgraphics.C (localDispatch, edit):
2334 * insetinclude.C (localDispatch, edit):
2335 * insetindex.C (edit):
2336 * insetlabel.C (edit):
2337 * insetminipage.C (localDispatch, showInsetDialog):
2338 * insetref.C (edit):
2339 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2340 resetPos, showInsetDialog, openLayoutDialog):
2341 * insettoc.C (edit):
2342 * inseturl.C (edit):
2343 * insetwrap.C (localDispatch, showInsetDialog):
2344 changes due to the changed MailInset interface.
2346 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2348 * insetfloat.h: Set default placement to an empty string.
2350 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2352 * insettext.C (latex): adjust call to latexParagraphs.
2354 2003-03-10 Angus Leeming <leeming@lyx.org>
2356 * mailinset.C: warn the user if the BufferView has not been cached.
2358 2003-03-10 Angus Leeming <leeming@lyx.org>
2360 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2362 * insetcommand.h (inset):
2363 * insetert.h (inset):
2364 * insetexternal.h (inset):
2365 * insetfloat.h (inset):
2366 * insetgraphics.h (inset):
2367 * insetinclude.h (inset):
2368 * insetminipage.h (inset):
2369 * insettabular.h (inset):
2370 * insetwrap.h (inset):
2371 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2373 2003-03-10 Angus Leeming <leeming@lyx.org>
2375 * insetcommand.C (string2params):
2376 * insetexternal.C (string2params):
2377 * insetfloat.C (string2params):
2378 * insetgraphics.C (string2params):
2379 * insetinclude.C (string2params):
2380 * insetminipage.C (string2params):
2381 * insettabular.C (string2params):
2382 * insetwrap.C (string2params): cure warning message about missing
2385 2003-03-09 Angus Leeming <leeming@lyx.org>
2387 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2388 it to communicate with the frontend dialogs.
2390 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2391 contents of this inset!
2393 2003-03-07 Angus Leeming <leeming@lyx.org>
2395 * inseterror.C (localDispatch): new method; calls edit() on
2398 2003-03-07 Angus Leeming <leeming@lyx.org>
2400 * insetbibitem.C (localDispatch):
2401 * insetbibtex.C (localDispatch):
2402 * insetlabel.C (localDispatch):
2403 rewrite as a switch.
2405 2003-03-07 Angus Leeming <leeming@lyx.org>
2407 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2408 it to communicate with the frontend dialogs.
2410 2003-03-07 Angus Leeming <leeming@lyx.org>
2412 * insetexternal.C: remove operator== and operator!= for
2413 InsetExternal::Params. They were used only by the old controller
2416 2003-03-07 Angus Leeming <leeming@lyx.org>
2418 * insetcommand.C (localDispatch):
2419 * insetexternal.C (localDispatch):
2420 * insetfloat.C (localDispatch):
2421 * insetinclude.C (localDispatch):
2422 * insetminipage.C (localDispatch):
2423 * insetwrap.C (localDispatch):
2424 add LFUN_INSET_DIALOG_UPDATE to the switch.
2426 2003-03-07 Angus Leeming <leeming@lyx.org>
2428 * insetcommand.C (string2params):
2429 * insetexternal.C (string2params):
2430 * insetfloat.C (string2params):
2431 * insetinclude.C (string2params):
2432 * insetwrap.C (string2params): use LyXLeX more.
2435 * insetexternal.[Ch]:
2437 * insetinclude.[Ch]:
2438 * insetwrap.[Ch]: change Mailer::name_ to be static.
2440 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2441 it to communicate with the frontend dialogs.
2443 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2446 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2448 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * insettext.C (updateLocal): un-const function
2451 (updateLocal): adjust
2452 (collapseParagraphs): un-const function
2453 (collapseParagraphs): adjust
2455 2003-03-05 Angus Leeming <leeming@lyx.org>
2457 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2458 it to communicate with the frontend dialogs.
2460 2003-03-05 Angus Leeming <leeming@lyx.org>
2462 * insetcollapsable.C (draw): cache the BufferView.
2464 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2465 it to communicate with the frontend dialogs.
2467 2003-03-05 Angus Leeming <leeming@lyx.org>
2469 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2472 2003-03-05 Angus Leeming <leeming@lyx.org>
2474 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2476 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2477 it to communicate with the frontend dialogs.
2479 2003-03-05 Angus Leeming <leeming@lyx.org>
2481 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2482 it to communicate with the frontend dialogs.
2484 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * insettext.C (collapseParagraphs): adjust
2487 (appendParagraphs): make it take a Buffer* instead of a
2488 BufferParams& as arg.
2489 (appendParagraphs): adjust
2491 2003-03-04 Angus Leeming <leeming@lyx.org>
2493 * insetbibitem.C (localDispatch):
2494 * insetbibtex.C (localDispatch):
2495 * insetcommand.C (localDispatch):
2496 * insetert.C (localDispatch):
2497 * insetlabel.C (localDispatch):
2498 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2500 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * insettext.C (latex): adjust for ParagraphList::iterator
2504 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * insetbutton.C (view): adjust for boost 1.30.0
2507 * insetcollapsable.C (view): ditto
2508 * insetgraphics.C (statusChanged): ditto
2510 * insettext.h: move paragraphs to be public.
2512 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2514 * insetnote.[Ch] (InsetNote): remove unused constructor
2516 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2518 * insetgraphics.C: added include "format.h"
2520 2003-02-27 Angus Leeming <leeming@lyx.org>
2522 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2525 2003-02-27 Angus Leeming <leeming@lyx.org>
2527 * insetbibitem.C (localDispatch):
2528 * insetbibtex.C (localDispatch):
2531 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2533 2003-02-26 Angus Leeming <leeming@lyx.org>
2535 * insetbibitem.[Ch] (localDispatch):
2536 * insetbibtex.[Ch] (localDispatch):
2537 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2539 * insetcommand.C (localDispatch):
2540 act only on receipt of LFUN_XYZ_APPLY.
2542 * insetert.C (localDispatch): reformat.
2543 add LFUN_XYZ_APPLY to the switch.
2545 2003-02-26 John Levon <levon@movementarian.org>
2547 * insettext.C: use RowPainter
2549 * inset.h: make helpers take const *
2551 2003-02-26 Angus Leeming <leeming@lyx.org>
2553 * insetcommand.[Ch] (localDispatch): new method.
2555 2003-02-26 Angus Leeming <leeming@lyx.org>
2557 * insetinclude.C (draw): cache the BufferView* using cache not
2558 PreviewImpl::setView
2560 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2562 * insetgraphics.C (draw)
2563 * insetinclude.C (draw): Eliminate also the other argument (owner
2564 inset inset) in the call to PreviewImage::image
2566 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2568 * insetgraphics.C (draw)
2569 * insetinclude.C (draw): Eliminate Buferview argument in call to
2572 2003-02-25 John Levon <levon@movementarian.org>
2574 * insetgraphicsParams.h:
2575 * insetgraphics.C: don't start a load process if
2576 the inset is set to NoDisplay (bug #920)
2578 2003-02-22 John Levon <levon@movementarian.org>
2581 * insetwrap.C: TocItem changed API (bug 913)
2583 2003-02-21 Angus Leeming <leeming@lyx.org>
2585 * insetcollapsable.[Ch] (cache, edit):
2586 * insetbutton.[Ch] (cache, edit): new methods to cache the
2587 BufferView in the draw method.
2589 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2590 simplify comunication between InsetCommand-derived classes and
2593 * insetbibitem.[Ch]:
2597 * insetfloatlist.[Ch]:
2601 * inseturl.[Ch]: small changes to reflect the new interface to the
2604 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2605 other, similar classes.
2607 * Makefile.am: add new files.
2609 2003-02-21 Angus Leeming <leeming@lyx.org>
2611 * updatableinset.h (setView, view): remove.
2612 * inset.h (view, cache): to be replaced by these.
2614 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2617 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2620 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2622 2003-02-21 Allan Rae <rae@lyx.org>
2624 * insetinclude.C (loadIfNeeded): ensure loading also works when
2625 child document is under version control.
2627 2003-02-17 André Pönitz <poenitz@gmx.net>
2629 * insetbib.[Ch]: Adjust access to bibkeys
2631 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2633 * insetquotes.C (dispString): remove use of acute accent for "'"
2636 2003-02-14 John Levon <levon@movementarian.org>
2638 * insettabular.C: changed method names in tabular.C
2640 2003-02-14 John Levon <levon@movementarian.org>
2644 * insetcollapsable.h:
2645 * insetcollapsable.C:
2649 * insettext.C: remove unused getParFromID()
2651 2003-02-13 John Levon <levon@movementarian.org>
2654 * insettext.C: remove unused beginningofMainBody()
2656 2003-02-08 John Levon <levon@movementarian.org>
2660 * insetcollapsable.h:
2661 * insetcollapsable.C:
2666 add nextChange(). Make allowSpellcheck() const. Add markErased().
2668 * insetert.C: ignore deleted text
2670 * insettabular.C: make sure to keep change tracking working
2673 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2678 * insettext.C: Use error messages with identical spelling and punctuation
2680 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2682 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2684 2002-12-17 Juergen Vigna <jug@lyx.org>
2686 * insettext.C (localDispatch): hopefully fixed cursor up down
2687 movement on leaving other insets.
2689 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2691 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2694 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2696 * insetgraphics.C (prepareFile): do not remove the extension of
2697 the file name if it is not the default extension for the given
2698 format (that is, in latex output, remove extension from foo.eps,
2699 but not from foo.epsi)
2701 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2703 * insettext.C (lfunMouseRelease): hackish solution to the "double
2706 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * insetfloat.C (addToToc): use the floats name not its type
2709 * insetwrap.C (addToToc): ditto
2711 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2713 * insetnote.C (init): make label font smaller
2715 2002-12-04 John Levon <levon@movementarian.org>
2717 * insetinclude.C: ressurect setting of command name
2719 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2721 * insetquotes.C (dispString): disambiguate insert call
2723 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * several files: ws changes
2727 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * insetquotes.C (dispString): use string::insert for prepending a
2732 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2734 * insetparent.C (getScreenLabel): use boost::format
2736 * insetgraphics.C (prepareFile): use boost::format
2739 * insetfloatlist.C (latex): use boost::format
2741 * insetcaption.C (draw): use boost::format
2743 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2745 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2748 2002-11-20 Juergen Vigna <jug@sad.it>
2750 * insettabular.C (resetPos): temporary fix for endless loop in
2751 this function on a redraw.
2753 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * insettabular.C (copySelection): STRCONV
2757 * insetinclude.C (uniqueID): STRCONV
2758 (latexString): ditto
2760 * insetgraphics.C: put VersionNumber inside anon namespace
2761 (createLatexOptions): STRCONV
2763 * insetcommandparams.C: include config.h
2765 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2767 * insetgraphicsParams.C (Write): use lyx::float_equal.
2768 Write height data correctly.
2769 (Read): zero scale when reading height data.
2771 2002-10-30 John Levon <levon@movementarian.org>
2773 * insetfloat.C (addToTOC): recursively traverse all
2774 contents looking for captions (fix #568)
2776 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2778 * insetexternal.C (doSubstitution): do not try to replace
2779 environment variables, this is done when executing the command
2781 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2783 * insetexternal.C (doSubstitution): change order of substitution
2784 to work around ReplaceEnvironmentPath brokenness
2786 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2788 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2790 * insetgraphicsParams.C (init, Write): associated changes
2791 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2792 InsetGraphicsParams::scale.
2794 2002-10-21 John Levon <levon@movementarian.org>
2796 * inset.h: remove unused DISPATCH_RESULT
2798 * insettext.C: sgml open/close tag now in sgml namespace
2800 2002-10-21 Angus Leeming <leeming@lyx.org>
2802 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2803 file path subdir/fig.eps when pasting it into a buffer in a different
2806 2002-10-16 John Levon <levon@movementarian.org>
2808 * insetspecialchar.C: remove \\protected_separator parsing
2810 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2812 * insetquote.C: fix LaTeX output of quotation marks.
2814 2002-10-14 Juergen Vigna <jug@sad.it>
2816 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2817 Backspace functions which confused the Undo handling.
2819 2002-10-09 Angus Leeming <leeming@lyx.org>
2821 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2822 BufferView::dispatch that turns off this optimisation when a new inset
2825 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2826 reload the BibTeX keys.
2828 2002-10-11 André Pönitz <poenitz@gmx.net>
2830 * insettext.h: handle LFUN_PRIOR/NEXT
2832 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2834 * insetfloat.C: fix bug with float settings
2835 (document default != float default).
2837 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2839 * insetwrap.C (addToToc): New method.
2840 (InsetWrap): Set layout to caption.
2842 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2846 2002-09-16 John Levon <levon@movementarian.org>
2848 * insettabular.h: hasSelection() needs to be public
2850 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2852 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2854 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2856 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2858 2002-09-11 André Pönitz <poenitz@gmx.net>
2860 * insettabular.C: implement LFUN_WORDSEL
2862 2002-09-10 John Levon <levon@movementarian.org>
2864 * insetinclude.h: remove unused param
2866 2002-09-09 John Levon <levon@movementarian.org>
2869 * insetinclude.C: remove noload, default to input
2871 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2873 * insetgraphics.C: disfuscated use of ']' in built output string.
2875 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2879 2002-08-29 Juergen Vigna <jug@sad.it>
2881 * insettabular.C (lfunMousePress): Pay attention where you set
2882 the x/y values as they depend on which inset in the tabular is
2883 actually locked. So you surely have to reset them if you (un)lock
2886 2002-08-29 André Pönitz <poenitz@gmx.net>
2888 * insetfootlike.h: rename include guard to ALL CAPS
2890 * insettext.C: swap object and first parameter for checkInsetHit calls
2891 as this functions has moved from BufferView to LyXText
2894 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2896 * insetgraphicsParams.C: remove local displayTranslator and use
2897 the one from graphics/GraphicsTypes.h.
2899 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2901 * insetfloat.C (wide): add BufferParams parameter
2903 * insetfloatlist.C (read):
2906 * insetfloat.C (latex):
2908 * insetcaption.C (draw): use LyXTextClass::floats()
2910 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2912 * insetoptarg.h: add std:: qualifier.
2914 2002-08-26 Juergen Vigna <jug@sad.it>
2916 * insettext.C (localDispatch): ditto.
2918 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2920 2002-08-25 John Levon <levon@movementarian.org>
2922 * inseturl.C: elide long URLs (bug 404)
2924 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2926 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2927 remove "Format Version <version_no.>" string from inset header
2930 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2932 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2933 a member of "grfx::Params" anymore.
2935 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2937 2002-08-24 John Levon <levon@movementarian.org>
2940 * insetoptarg.C: ws, pedantry ...
2942 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2944 * insettext.C (collapseParagraphs): pasteParagraph now in global
2946 (appendParagraphs): ditto
2948 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2950 * insetcite.C (latex): Remove spaces only after commmas.
2952 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * insettext.C: remove NO_COMPABILITY stuff
2956 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * insettext.C (edit): use ParagraphList iterators
2960 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2961 (bibitemWidest): ditto
2963 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * insettext.C: include <boost/bind.hpp>
2966 add using std::for_each
2967 (saveLyXTextState): use ParagraphsList::iterator
2968 (init): use for_each on paragraphlist iterators
2969 (InsetText): remove superflous setting cached_bview to 0
2970 (latex): reformat a bit
2971 (ascii): use paragraphlist iterators
2972 (validate): use for_each + boost bind
2973 (getLabelList): use paragraphlist iterators
2974 (deleteLyXText): use for_each + boost::bind
2975 (resizeLyXText): ditto
2976 (reinitLyXText): ditto
2977 (removeNewlines): use paragraphlist iterators
2978 (getParFromID): ditto
2979 (paragraph): use for_each + boost::bind
2980 (getInsetFromID): use paragraphlist iterators
2981 (getLabelList): typo fix
2983 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * insettext.C (read): assign tmp to paragraphs after return from
2986 call to parseSingleLyXformat2Token
2989 2002-08-13 Angus Leeming <leeming@lyx.org>
3008 changes due to the changed LyXView interface that now returns references
3009 to member variables not pointers.
3011 2002-08-13 Angus Leeming <leeming@lyx.org>
3014 * insetcollapsable.h:
3017 * insettext.h: forward-declare WordLangTuple
3018 (selectNextWordToSpellcheck) constify return type.
3021 * insetcollapsable.C:
3024 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3026 2002-08-12 Angus Leeming <leeming@lyx.org>
3028 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3030 2002-08-12 Juergen Vigna <jug@sad.it>
3032 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3035 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3038 (bibitemWidest): ditto
3039 * insettext.[Ch]: ditto
3041 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3045 2002-08-09 Angus Leeming <leeming@lyx.org>
3047 * insetinclude.C (latexString): remove fudge now that I've found out
3048 how to enable LaTeX to find the file using input@path.
3050 2002-08-09 John Levon <levon@movementarian.org>
3053 * insettext.C: remove unused xpos
3055 2002-08-07 Juergen Vigna <jug@lyx.org>
3057 * insettabular.C (localDispatch): make delete not put the stuff
3058 in the clipboard only do this on a cut operation.
3060 * insettext.C (localDispatch): make delete and backspace not put
3061 selected stuff to the clipboard.
3063 2002-08-07 André Pönitz <poenitz@gmx.net>
3066 * insetcollapsable.[Ch]:
3070 * insettabular.[Ch]:
3071 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3073 2002-08-06 John Levon <levon@movementarian.org>
3077 * insetcollapsable.h:
3078 * insetcollapsable.C:
3084 * insettext.C: use WordLangTuple for spellcheck
3086 2002-08-06 Angus Leeming <leeming@lyx.org>
3088 * insetinclude.C: add a monitor to the previewed image, so that the
3089 image is refreshed if the \input-ed file changes.
3091 2002-08-04 John Levon <levon@movementarian.org>
3094 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3096 2002-08-02 Angus Leeming <leeming@lyx.org>
3098 * insetcommandparams.[Ch] (preview): new methods returning and setting
3099 a new bool preview_ flag.
3100 (read): read this flag.
3101 (operator==): add flag to check.
3103 * insetinclude.C (write): output new preview() flag.
3104 (previewWanted): use this flag.
3106 2002-08-02 Angus Leeming <leeming@lyx.org>
3108 * insetcollapsable.[Ch] (addPreview):
3109 * insettabular.[Ch] (addPreview):
3110 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3111 for insets in insets.
3113 2002-08-02 Angus Leeming <leeming@lyx.org>
3115 * insetcite.C: fix typo.
3117 * insetgraphics.C: kill current_view and instead cache the BufferView
3120 * insetinclude.C: kill current_view and pass the BufferView to the
3121 PreviewedInset so that it can cache it.
3123 2002-08-01 Angus Leeming <leeming@lyx.org>
3125 * inset.h (generatePreview): renamed as addPreview.
3126 (generatePreview): new method. Allows code to be moved out of
3127 math_nestinset.C and into the new PreviewedInset class.
3129 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3130 add previews to the inset when \input-ing LaTeX.
3132 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * several files: strip,frontStrip -> trim,ltrim,rtrim
3136 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * insetbib.C (latex): modify because of strip changes
3140 * insetnote.C (InsetNote): ditto
3142 2002-07-26 Juergen Vigna <jug@sad.it>
3144 * insettabular.C (searchForward): check for lastcell if we
3145 had a locking inset.
3147 2002-07-25 Juergen Vigna <jug@sad.it>
3149 * insettabular.C (insetMotionNotify): Don't update the screen
3150 if we didn't do nothing.
3151 (searchForward): last cell was not checked.
3153 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3155 * insetfloat.C (read, write): Allow default placement
3156 (floatPlacement_ is empty).
3158 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * insetminipage.h (noFontChange):
3161 * insettabular.h (noFontChange):
3162 * insetfootlike.h (noFontChange):
3163 * insetfloat.h (noFontChange): return true
3165 * inset.h (noFontChange): new method, defaulting to false
3167 2002-07-22 Herbert Voss <voss@lyx.org>
3169 * insetgraphicsParams.[Ch]: support size_type for old docs
3171 2002-07-22 Herbert Voss <voss@lyx.org>
3174 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3177 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3179 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3181 * insetlatexaccent.h: do not include "lyxlex.h"
3183 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3186 * insetlatexaccent.C:
3190 * insetbib.C: #include "lyxlex.h"
3196 * insettext.C: use BufferParams::getLyXTextClass
3199 * insetfloat.C (addToToc): new method. Add to toclist the entries
3200 corresponding to Caption layouts
3201 (InsetFloat): when creating a new float, set the layout to "Caption"
3203 2002-07-21 Herbert Voss <voss@lyx.org>
3205 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3206 image relevant part into graphics/GraphicsImgae.C
3208 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3210 * insettoc.C (ascii):
3211 * insetfloatlist.C (ascii): change to use the new Toc functions
3212 instead of stuff that was in Buffer
3214 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3216 * insettext.C (localDispatch): BufferView::Dispatch has been
3217 renamed to BufferView::dispatch
3219 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3221 * insetgraphicsParams.C (as_grfxParams): use the new
3222 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3223 1.2.0 patch, and I do not really know how to adapt it to the new
3224 grfx::Cache world. Angus, please could you have a look?
3226 2002-05-01 Herbert Voss <voss@lyx.org>
3228 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3230 2002-07-18 Angus Leeming <leeming@lyx.org>
3232 * insetgraphics.C: clean-up comments (from Herbert).
3233 add a new checksum variable to the cache. Use it in PrepareFile.
3234 (draw): start monitoring the file for a change.
3235 (prepareFile): re-arrange a little to avoid unnecessary steps.
3237 2002-07-17 Angus Leeming <leeming@lyx.org>
3239 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3240 a method rather than to the signal directly.
3242 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3244 * insettext.C: use view_state_changed, switchKeyMap
3246 2002-07-17 Herbert Voss <voss@perce.de>
3248 * insetgraphics.C (prepareFile): keep the extension when
3249 exporting to nice file
3251 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3253 * insetcite.C (getNatbibLabel):
3254 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3256 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3258 * insetgraphics.C: use ->isDrawable()
3260 2002-07-12 Angus Leeming <leeming@lyx.org>
3262 * insetgraphics.C: use the new smart loading capabilities of the image
3265 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3267 * insettabular.C (edit): Move into correct cell when entering a
3270 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3273 2002-07-05 Angus Leeming <leeming@lyx.org>
3275 * inset.h (generatePreview): new virtual method.
3277 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3279 * insetcommandparams.[Ch] (operator=): move out of class
3280 (operator!): move out of class
3282 2002-07-04 André Pönitz <poenitz@gmx.net>
3284 * insetcommandparams.[Ch]: new files
3286 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3288 2002-06-15 Herbert Voss <voss@perce.de>
3290 * insetgraphics.C (prepareFile): bugfix; return always
3291 files without extension
3293 2002-06-28 Angus Leeming <leeming@lyx.org>
3295 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3296 rename asGParams -> as_grfxParams.
3298 * insetgraphics.C: reflect above change.
3300 2002-06-26 Angus Leeming <leeming@lyx.org>
3302 * insetgraphics.h: use boost::scoped_ptr in preference to
3305 2002-06-26 Angus Leeming <leeming@lyx.org>
3307 * insetgraphics.C: moved the image loading stuff into a new class
3308 grfx::Loader. Simplifies this file enormously.
3310 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3312 * insetgraphicsParams.C: changes aassociated with moving
3313 grfx::DisplayType out of grfx::GParams.
3315 2002-06-26 André Pönitz <poenitz@gmx.net>
3317 * insetgraphics.C: use os::external_path where necesaary according to a
3318 patch from Claus Hentschel)
3320 2002-06-25 Angus Leeming <leeming@lyx.org>
3322 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3323 generating a pixmap once the graphics file is loaded into memory.
3324 The current_view ugliness that was in grfx::ModifiedImage has been
3325 moved here now that grfx::ModifiedImage is no more.
3327 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3329 * insettext.C: layout as layout
3331 2002-05-28 André Pönitz <poenitz@gmx.net>
3333 * insetfloatlist.h: remove source of compiler warning
3335 * insetref.C: tiny whitespace
3337 2002-06-15 Herbert Voss <voss@perce.de>
3339 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3340 and take always convert when no userdefined converter was
3342 (latex) small changes in the lyxerr output
3344 2002-06-15 LyX Development team <lyx@rilke>
3346 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3347 mixed content. Small white spaces clean.
3349 2002-06-14 Angus Leeming <leeming@lyx.org>
3351 * inseetexternal.C: remove the using std::difftime declaration.
3353 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3355 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3357 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3359 * insetquotes.C (draw): fix drawing of double quotes
3361 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3363 * insettabular.C: s/scrollCB/scrollDocView/
3365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3367 * insettext.C: change of topCursorVisible()
3370 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3373 * insettext.C: rename/change of LyXScreen
3375 2002-06-07 Angus Leeming <leeming@lyx.org>
3377 Fixes needed to compile with Compaq cxx 6.5.
3379 all c-library variables have been moved into namespace std.
3380 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3382 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3384 * insetinclude.C (uniqueID):
3385 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3386 conflicted with some AIX headers.
3388 2002-05-31 Juergen Vigna <jug@sad.it>
3390 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3394 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3396 * insetexternal.C (clone): fix () bug when using new
3397 (updateExternal): don't only look for difftime in global scope
3399 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3401 * insettabular.C: add const
3403 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3405 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3406 file name, in case there are weird characters like ',' in there.
3409 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3411 * switch from SigC signals to boost::signals.
3413 2002-05-28 André Pönitz <poenitz@gmx.net>
3415 * insets/insetgraphicsParams.[Ch]:
3416 put in inset related stuff from src/graphic
3418 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3426 * insetcollapsable.C:
3427 * insetcollapsable.h:
3455 * inseturl.h: use mouse_state. Kill insetKeyPress
3457 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3462 * insetcollapsable.C:
3465 * insetlatexaccent.C:
3467 * insetspecialchar.C:
3469 * insettext.C: name change for font metrics
3471 2002-05-24 Juergen Vigna <jug@sad.it>
3473 * insetgraphics.h: include inset.h first (for LString.h)
3475 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3477 * insettext.C: screen moved
3479 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3497 * inseturl.C: LyXView moved into frontends/
3499 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3504 * insetcollapsable.C:
3508 * insetgraphicsParams.C:
3509 * insetlatexaccent.C:
3511 * insetspecialchar.C:
3513 * insettext.C: move Painter to frontends/
3515 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3517 * insettabular.h: use more specific smart_ptr header.
3518 * insettext.h: ditto
3520 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3523 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3525 * insettext.C: clear selection on paste (bug 393)
3527 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3529 * insettext.C (latex): Honor the moving_arg argument.
3531 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3533 * insetfoot.C (latex): if a footnote is in a title layout, then it
3534 is a \thanks. And then, its contents is a moving argument.
3536 2002-05-14 Juergen Vigna <jug@sad.it>
3538 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3541 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3543 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3544 when using options "Full author list" or "Upper case".
3546 2002-05-14 Herbert Voss <voss@perce.de>
3548 * insetgraphics.C (prepareFile): allow files with same name
3550 (readFigInset): set the flags from old figinset in the right
3552 (findTargetFormat): more comments
3554 2002-05-14 Juergen Vigna <jug@sad.it>
3556 * insettext.C (edit): tell checkAndActivateInset() that we don't
3557 have a button press.
3558 (checkAndActivateInset): if button < 0 we don't have a button press
3559 on the inset and os we won't call edit on it if it's not a Highly
3560 editable inset (then we have to enter it).
3562 2002-05-13 Juergen Vigna <jug@sad.it>
3564 * insetcollapsable.C (insetButtonRelease): returned wrong return
3567 2002-05-09 Juergen Vigna <jug@sad.it>
3569 * insetcollapsable.C (edit): first_after_edit should only be
3570 set to true if we enter this inset and it was collapsed so we
3571 open it up. This is needed to reclose it after a search/replace
3572 or spellcheck function opened it and was negative.
3574 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3576 * insetfloat.C (latex): Return correct value.
3578 2002-05-04 Herbert Voss <voss@perce.de>
3580 * InsetgraphicsParams.C (read): fix bug with WH
3582 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3584 * insetfloat.C (latex): More sensible latex output
3585 (fix the problem with endfloat).
3587 2002-05-02 José Matos <jamatos@fep.up.pt>
3589 * insetgraphics.C (validate): acess params as everyone else.
3591 2002-05-03 Juergen Vigna <jug@sad.it>
3593 * insettabular.C (fitInsetCursor): recalculate the cursor position
3596 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3598 * InsetgraphicsParams.[Ch]: whitespace.
3600 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3602 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3603 float type do not exist.
3605 2002-04-28 Herbert Voss <voss@perce.de>
3607 * insetgraphics.C (latex): fix bug with missing file-extension.
3608 LaTeX still allows a missing "eps" or "ps".
3610 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3612 * insetfloat.C (c-tor, wide): translate the name of the float.
3614 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3616 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3617 when using natbib and make it work efficiently. Must emphasise that the
3618 real work is Herbert's.
3620 2002-04-23 Herbert Voss <voss@perce.de>
3622 * insetgraphic.C (prepareFile): fix bug with overwriting and
3623 deleting an existing *.eps-file in the doc-dir
3625 2002-04-23 Juergen Vigna <jug@sad.it>
3627 * insettabular.C (drawCellSelection): fix off by 1 error.
3629 2002-04-22 Juergen Vigna <jug@sad.it>
3631 * insettabular.C (setFont): rewoke full selection if it was asked,
3632 after we changed all we had to change.
3634 * insettext.C (insetUnlock): code was uninitialized in some situations.
3636 2002-04-19 Herbert Voss <voss@perce.de>
3638 * insetgraphic.C (prepareFile): return filename without
3639 extension if we only export without compiling
3641 2002-04-19 Juergen Vigna <jug@sad.it>
3643 * insettext.C (draw): call a fullRebreak on the row where we had a
3644 change and reset the cursor and selection-cursors.
3646 * insettabular.C (insetUnlock):
3647 (insetButtonPress): call an update before setting the_locking_inset = 0
3648 as otherwise we don't repaint!
3649 (update): reset the cursor position when we changed dimensions as
3650 otherwise our cursor may be on the wrong spot.
3652 2002-04-18 Juergen Vigna <jug@sad.it>
3654 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3655 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3656 redraw otherwise we won't redraw.
3658 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3659 not really right before, but I only discovered this with the last
3660 changes to Page up/down.
3662 2002-04-17 Juergen Vigna <jug@sad.it>
3664 * insettext.C (checkAndActivateInset): simplified as we now have the
3665 edit(bv, bool) call.
3667 * insettext.h: changed behind variables to front variables to be
3668 equal to the one in the edit call (as it is for that they are used).
3670 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3672 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3673 not output anything at all!
3675 2002-04-16 Juergen Vigna <jug@sad.it>
3677 * insettabular.C (insetButtonPress):
3678 (insetUnlock): call a redraw on unlocking the cell inset.
3680 * insettext.C (insetButtonPress): same as below.
3681 (lockInset): new function to set initial values when inset should
3683 (insetButtonPress): use above function.
3684 (insetUnlock): don't force a repaint only set the updateStatus. The
3685 outside world should repaint if it thinks it should be done!
3687 * insettabular.C (insetButtonPress): init values if not set as locked
3688 as we are locked if someone presses on us and don't call the edit()
3689 call of the InsetText to lock it do it as BufferView does it!
3691 * inset.h (insetInInsetY): make func const and return an int.
3694 * insetcollapsable.C: adapt the above changed function.
3696 2002-04-15 Juergen Vigna <jug@sad.it>
3698 * insettext.C (getCursorPos): return relative position as to be able
3699 to give them directly to the edit() call.
3700 (edit): we have to set also x_fix as it is not set inside the
3701 setCursorFromCoordinates call!
3702 (insetMotionNotify): ditto.
3704 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3706 * insetbib.C (getKeys): strip leading '\t's from the line too.
3707 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3709 2002-04-12 Juergen Vigna <jug@sad.it>
3711 * insettext.h: added cix() helper function and use it where appropriate
3713 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3715 * insetgraphics.C (prepareFile): fix bug when graphics is a
3718 2002-04-12 Juergen Vigna <jug@sad.it>
3720 * insettext.C (insertInset): remove unneeded code!
3721 (updateLocal): fitCursor() fixes.
3722 (collapseParagraphs): fix a possible problem when having a selection
3723 and collapsing the paragraphs.
3725 2002-04-08 Herbert Voss <voss@perce.de>
3727 * insetgraphic.C (write): write the rotating angle as
3728 a float as is. test only for != 0.0
3730 2002-04-11 Juergen Vigna <jug@sad.it>
3732 * insettext.C: new function ciy() and use it for setting inset_y.
3734 * insetert.C (draw): fix the x return for collapsed version.
3736 2002-04-07 Herbert Voss <voss@perce.de>
3738 * insetgraphic.C (readFigInset): fix bug with subcaption and
3741 2002-04-08 Herbert Voss <voss@lyx.org>
3743 * insetgraphicsparam.C: forgot special option and delete old
3746 2002-04-05 Juergen Vigna <jug@sad.it>
3748 * insettext.C (localDispatch): make a CURSOR update if we inserted
3751 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3753 * insetfloatlist.C (getScreenLabel):
3754 (latex): use Floating::listName
3755 (validate): new method
3757 2002-04-03 José Matos <jamatos@fep.up.pt>
3759 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3761 * insetfoot.[Ch] (docbook): added forgotten method.
3763 2002-04-03 Juergen Vigna <jug@sad.it>
3765 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3766 way as in Bufferview_pimpl.
3768 2002-04-03 Allan Rae <rae@lyx.org>
3770 * insetgraphics.C (latex): one % too many makes living on the bleeding
3771 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3773 2002-03-28 Herbert Voss <voss@lyx.org>
3775 * insetgraphic.C (latex): simplify the code for the latex
3776 output when the file doesn't exist
3778 2002-03-29 Juergen Vigna <jug@sad.it>
3780 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3783 * insettabular.C (edit): call fitCursor().
3785 * insettext.C (insetButtonPress): change behaviour of no_selection
3786 to the one in the BufferView selection_possible and fix the spurious
3787 selection bug with it.
3788 (localDispatch): revoke selection on BREAK... functions.
3790 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3792 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3794 2002-03-28 Juergen Vigna <jug@sad.it>
3796 * insettabular.C (insetAllowed): return true as default value otherwise
3797 we're not able to insert insets inside paragraphs of an not locked
3800 2002-03-27 Herbert Voss <voss@lyx.org>
3802 * insetgraphicsparam.C: change c%, p% to col%, page%
3804 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3806 * insetspecialchar.C (isLineSeparator): disable the nice code to
3807 allow linebreaks after hyphenation and menu separators.
3809 2002-03-26 Herbert Voss <voss@lyx.org>
3811 * insetgraphics.C (figinsetRead): set the right lyxview
3813 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3815 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3816 $\backslash$ and pass a "string const &" to the function.
3817 (prepareFile, latex): use Path rather than MakeAbsPath.
3819 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3821 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3822 proper fix to the graphics cache.
3823 (latex): "really" nice output if the file is not found ;-)
3825 2002-03-26 Juergen Vigna <jug@sad.it>
3827 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3828 (collapseParagraphs): fixed inserting of separator ' '
3830 * insettabular.C (insertAsciiString): only check for buffer lenght
3831 not if we have \t or \n inside the buffer as if we don't have we only
3832 have 1 cell and that's it!
3834 * insetert.C (close): don't collapse if inlined.
3836 2002-03-25 Herbert Voss <voss@lyx.org>
3838 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3839 graphics file does not exist.
3841 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3843 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3844 path when preparing export.
3846 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3847 no longer MakeRelPath.
3849 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3851 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3852 Used to determine the absolute path to the graphics file in the
3853 graphics cache and only in the graphics cache.
3854 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3855 make graphics file name absolute if it is stored as a relative path.
3857 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3858 make graphics file name absolute if it is stored as a relative path.
3860 * insettext.C (edit): emit an updateParagraph signal on entering a text
3861 inset. Needs to be emitted when leaving the inset also.
3863 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3865 * all files: ws cleanup
3867 * Makefile.am: remove ld -r stuff
3869 2002-03-21 Juergen Vigna <jug@sad.it>
3871 * insettext.C (appendParagraphs): new function added to append
3872 the paragraphs to this insets paragraphs.
3874 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3876 * Makefile.am: special rules if partial linking
3878 2002-03-19 Juergen Vigna <jug@sad.it>
3880 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3882 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3884 * insetgraphics.C: Clean up Baruch's comments a little.
3885 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3887 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3890 * insettheorem.C: wrap warnings
3892 * insetgraphics.C: improve messages, move cached_status_
3893 setting to safer place
3895 2002-03-18 Juergen Vigna <jug@sad.it>
3897 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3899 (localDispatch): ditto
3901 * insettext.C (edit): removed unneeded showCursor calls.
3902 (localDispatch): ditto.
3904 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3906 * insetgraphics.h: remove display() method.
3908 2002-03-11 Juergen Vigna <jug@sad.it>
3910 * insetgraphics.C (draw): hack to fix the redrawing bug.
3911 (draw): seems this fixes #268 (force redraw of row if we changed).
3913 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3914 this inset text (don't know why I missed this earlier).
3916 2002-03-08 Juergen Vigna <jug@sad.it>
3918 * insettabular.C (updateLocal): do a FULL update if we're not locked
3919 and only a CELL update is asked.
3921 * insettext.C (updateInsetInInset): update insets inside inset also
3922 if it isn't inside the_locking_inset.
3924 * insettabular.C (updateInsetInInset): ditto.
3926 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3928 * insetexternal.C (doSubstitution): check whether we are using a
3929 temp dir for defining $$FPath
3931 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3934 * insettext.C: remove #include "WorkArea.h".
3936 2002-03-06 Juergen Vigna <jug@sad.it>
3938 * insettext.C (draw): fixed frame redrawing.
3939 (clear): forgot to set the inset_owner of the paragraph.
3941 * insetert.C (status): pay attention the bv can be 0 here!
3942 (getMaxWidth): add the default leftMargin
3944 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3946 * insetert.C (getMaxWidth): make w unsigned int.
3948 2002-03-05 Juergen Vigna <jug@sad.it>
3950 * insetert.C (status): change behaviour of Inlined.
3951 (getMaxWidth): added for new inlined behaviour.
3953 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3955 * insetnote.h (linuxdoc, docbook): add empty methods.
3956 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3957 before being initialized.
3959 2002-03-05 Juergen Vigna <jug@sad.it>
3961 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3962 only that one in the inset. Should be enough.
3963 (updateLocal): set the selection cursor always if we don't have a
3964 selection to be sure it's set!
3966 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3968 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3970 * insettext.C (clear): a gross hack to set layout on a newly
3973 2002-03-04 Juergen Vigna <jug@sad.it>
3975 * insettabular.C (localDispatch): inserted handling of
3976 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3977 (insertAsciiString): new helper function.
3979 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3981 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3984 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3986 * insettext.C (InsetText): initalize newly created par with
3987 default layout. add bufferparams parameter
3990 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3991 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3992 * insetert.[Ch] (InsetERT): ditto
3993 * insetfloat.[Ch] (InsetFloat): ditto
3994 * insetfoot.[Ch] (InsetFoot): ditto
3995 * insetfootlike.[Ch] (InsetFootLike): ditto
3996 * insetmarginal.[Ch] (InsetMarginal): ditto
3997 * insetminipage.[Ch] (InsetMinipage): ditto
3998 * insetnote.[Ch] (InsetNote): ditto
3999 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4001 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4003 * insettext.C: layout as string
4005 * insetinclude.C: layout as string
4007 * insetert.C: layout as string
4009 * insetbib.C: layout as string
4011 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4014 * insettabular.C: remove #include "lyx_gui_misc.h".
4016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4021 * inset.h: remove figinset, yahoo !
4023 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4025 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4026 copy c-tor and initialise member variables in the correct order.
4028 2002-02-28 Juergen Vigna <jug@sad.it>
4030 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4032 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4034 * inset.h: ... and add a better one here.
4036 * insetcommand.C (insetButtonRelease): remove that one which was a
4039 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4041 * insetcommand.C (insetButtonRelease): ... and move it here.
4043 * inseturl.h: remove insetButtonRelease from there...
4045 2002-02-26 Juergen Vigna <jug@sad.it>
4047 * inseturl.h: Added a insetButtonRelease call returning true as
4050 * insetlabel.C (edit): Fixed wrong update handling after change I
4051 leave in the wrong code for the one who wrote it to remove and have
4052 a look what he did wrong.
4054 * insettabular.C (localDispatch): force a SELECTION update if we
4055 had a selection and we passed the event down to the inset (fix #213)
4056 (localDispatch): handle font changing stuff when we have a cell
4057 selection so that the selection is not rewoked. I don't really like
4058 this fix, but it's the only way I see to do it right now.
4060 2002-02-22 Juergen Vigna <jug@sad.it>
4062 * insettext.C (insetUnlock): set the cursor to the second paragraph
4063 if available and if the first one is empty (fix #191).
4065 2002-02-20 Juergen Vigna <jug@sad.it>
4067 * insettext.C (getDrawFont): implemented this function to call the
4068 one of the owner if present as the owner normally knows what to do
4071 * insetert.C: implement getDrawFont() function and comment out all
4072 the crap for setting a special latex font inside this inset.
4073 (InsetERT): added a Lanugage parameter to this constructor.
4075 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4076 change the font for being drawn on screen (used only in InsetERT for
4079 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4080 and also above (was missing).
4081 (updateLocal): don't remove the cell selection if we have one this
4082 should be done where we really want to remove it.
4084 2002-02-20 José Matos <jamatos@fep.up.pt>
4086 * insetinclude.h: include_label made string const.
4088 * insetinclude.C (InsetInclude): moved include_label initialization.
4091 (validate): fix support for temporary directory, for docbook and
4094 * insetgraphics.h : new private member, graphic_label, that holds
4095 the entity name that defines the graphics location (SGML).
4097 * insetgraphics.C (unique_id): new function to give a unique label
4100 (validate): the file locatation is given by an entity reference.
4102 2002-02-18 Herbert Voss <voss@lyx.org>
4104 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4106 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4108 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4109 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4111 2002-02-18 José Matos <jamatos@fep.up.pt>
4113 * insetinclude.C (validate): some code only applies to latex buffers,
4114 it was made conditional.
4116 2002-02-12 Herbert Voss <voss@lyx.org>
4118 * insetgraphics.C: (prepareFile) do not check at this time
4119 if the file is present.
4121 2002-02-12 Herbert Voss <voss@lyx.org>
4123 * insetgraphics.C: latex(), return the correct newlines
4125 2002-02-13 José Matos <jamatos@fep.up.pt>
4127 * inseturl.C (docbook): escape & in url.
4129 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4131 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4132 after HYPHENATION and MENU_SEPARATOR
4134 * inset.h (isLineSeparator): new method, returns false by default.
4136 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4138 * insetert.C (status): do not update the text inset, but the ERT
4141 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4143 * insetnote.C: use notebg for background
4145 2002-02-08 Herbert Voss <voss@lyx.org>
4148 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4149 prevent LyX from unzipping when this should be handled
4150 by latex vis the graphic.cfg.
4153 2002-02-08 Herbert Voss <voss@lyx.org>
4155 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4156 exists, than return filename with extension
4158 2002-02-06 Herbert Voss <voss@lyx.org>
4160 * insetgraphic.C: prepareFile(): don't convert the file, when
4161 it's not viewed in LyX. Saves a lot of time when opening a
4164 2002-02-05 Herbert Voss <voss@lyx.org>
4167 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4168 and adding a rotate bool similiar to subcaption
4170 2002-02-04 Herbert Voss <voss@lyx.org>
4173 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4174 similiar view to the LaTeX one. Get zipped files work.
4176 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4178 * insetgraphicsParams.C (init): set display to DEFAULT.
4179 No longer #include "lyxrc.h".
4181 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4183 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4184 for now (so that the code compiles).
4186 2002-02-02 Herbert Voss <voss@lyx.org>
4188 * insetgraphic.C: delete inVariant() and some minor changes
4189 * insetgraphicsParams.[C]:
4191 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4193 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4194 interogate lyxrc.display_graphics before diaplaying the graphic.
4196 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4197 InsetGraphicsParams::DisplayType.
4199 2002-01-31 Herbert Voss <voss@lyx.org>
4201 * insetgraphic.C: (readfigInset) set display to pref-default
4203 2002-01-30 Herbert Voss <voss@lyx.org>
4205 * insetgraphic.C: get the filetyp from it's contents
4206 * insetgraphicparams.C: add token scale and lyxrc.display when
4207 creating a new inset
4209 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4211 * figinset.C: added using std::ios directive.
4213 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4215 * figinset.C (runqueue): open translation file in binary mode (for
4218 2002-01-27 Herbert Voss <voss@lyx.org>
4220 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4221 all options and to be sure that the old figinsets are correct
4223 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4224 structure and to support all lengths as LyXLength. The Parameter
4225 structure changed again, but reading of "old" 1.2 graphic insets
4228 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4230 * insetert.h (forceDefaultParagraphs): Added
4232 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4234 * insettabular.C (getMaxWidth):
4235 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4237 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4239 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4240 of LyXLength::inPixels
4242 * inset.C (latexTextWidth):
4243 * insetminipage.C (latexTextWidth): new method, which implements
4244 the equivalent of the LaTeX macro \textwidth
4246 * insetminipage.C (getMaxWidth): use latexTextWidth
4248 2002-01-18 Juergen Vigna <jug@sad.it>
4250 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4252 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4254 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4256 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4259 2002-01-17 Juergen Vigna <jug@sad.it>
4261 * insettabular.C (lockInsetInInset): same change as in insettext.
4263 * insettext.C (draw): width() function was called without setting
4264 the right top_x which could lead to wrong insetWidth setting!
4265 (lockInsetInInset): call edit instead of calling lockInset if we
4266 have to lock an inset inside!
4267 (edit): we have to also tell the inset that we have to redraw the
4268 frame on an edit call if this inset draws a frame only if locked.
4270 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4272 * insetbib.C (getFiles): uncomment Path variable.
4274 2002-01-16 Juergen Vigna <jug@sad.it>
4276 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4279 2002-01-16 Allan Rae <rae@lyx.org>
4281 * insetinclude.C (docbook): someone forgot a ";"
4283 2002-01-16 José Matos <jamatos@fep.up.pt>
4285 * figinset.C (docbook): removed a old place holder "@".
4286 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4287 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4288 ascii text version, clearly guarded inside a CDATA section.
4289 (docbook): in docbook 4, inlinegraphics is empty.
4290 * insettabular.C (linuxdoc): export the ascii version of the table
4291 inside a CDATA section.
4293 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4295 * insetparent.C (InsetParent):
4296 * insetgraphicsParams.C (Write):
4298 * insetgraphics.C (prepareFile):
4301 * insetexternal.C (executeCommand):
4302 (doSubstitution): use Buffer::filePath
4304 * insetbib.C (getFiles): add a #warning for Angus
4306 * insetgraphics.C: Add a remark about how filenames should be
4307 considered to be relative to buffer (but absolute is still allowed)
4308 (draw): do not try to get status if lyxrc.use_gui is false
4310 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4313 * insetcollapsable.[Ch]:
4314 * insettabular.[Ch] (searchForward, searchBackward): change the
4315 bool const & params to bool.
4317 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4318 to avoid the name clash with InsetCollapsable's methods of the same
4319 names but different functionality.
4321 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4323 * insettext.C (ascii): use lyx::count rather than countChar.
4325 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4327 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4329 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4331 * insetgraphics.C (updateInset): do not try to render image if
4332 lyxrc.use_gui is false (bug #104)
4334 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4335 if file does not exist
4337 * figinset.C (browseFile): add shortcuts to directory buttons
4339 * insettext.C (updateLocal): update menubar and toolbar here too.
4341 2002-01-13 Allan Rae <rae@lyx.org>
4343 * insettabular.C (InsetTabular): Both constructors now initialise
4344 all class variables.
4346 2002-01-11 Juergen Vigna <jug@sad.it>
4348 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4350 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4352 * insettabular.C (getStatus): add forgotten brace around multiline
4355 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4357 * insetfloat.C (validate): require "float" instead of "floats".
4359 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4361 * insettabular.C (getStatus): use FuncStatus
4363 2002-01-08 Juergen Vigna <jug@sad.it>
4365 * insettabular.C (insetButtonRelease): now this should work too
4368 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4369 if the width is a percentage.
4371 * inset.h: added isChar() function and implemented this for
4372 insetspecialchar insetquotes and insetlatexaccent.
4373 added forceDefaultParagraphs() and implemented it for insettabular.
4375 2002-01-07 Juergen Vigna <jug@sad.it>
4377 * insettext.C (getLyXText): Fixed this function. An insert into the
4378 map is only done if we REALLY have a new BufferView.
4380 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4382 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4384 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4386 * insetinclude.C: fix use of FileInfo
4388 2002-01-07 Juergen Vigna <jug@sad.it>
4390 * insettabular.C (draw): fixed clearing of cell around inset.
4392 2002-01-05 Juergen Vigna <jug@sad.it>
4394 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4395 variables are updated.
4397 * insettabular.C (resetPos): set always the inset_y as it may be
4398 needed in another function.
4399 (searchBackward): don't draw while searching.
4401 2002-01-04 Juergen Vigna <jug@sad.it>
4403 * insettext.C (lockInsetInInset): forgot to set a cursor.
4405 2002-01-02 Juergen Vigna <jug@sad.it>
4407 * insettext.C (insertInset): make the correct undo informations on
4408 inserting new insets.
4410 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4412 * insettabular.C: correct single-cell select vertically
4414 2001-12-27 Juergen Vigna <jug@sad.it>
4416 * insettabular.C (ascii): export as tab-separated-values if the
4417 function was not called from export (f.ex.: clipboard).
4419 * insetcollapsable.h: added default support for ascii, linuxdoc and
4420 docbook export (the insettext is exported by default!)
4422 * insettabular.C (copySelection): suff the clipboard with the tabular
4423 data in a tab separated format, seems more naturals then with all the
4426 2001-12-24 Juergen Vigna <jug@sad.it>
4428 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4429 to check for REAL mouseMotion.
4431 2001-12-20 Juergen Vigna <jug@sad.it>
4433 * inset.C (cursor): return the owners cursor if available instead of
4434 always only the bv->text->cursor.
4436 * insettabular.C (checkLongtableSpecial): works now.
4438 2001-12-19 Juergen Vigna <jug@sad.it>
4440 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4441 this has to be always row + 1 as 0 means not selected!
4442 (checkLongtableSpecial): added
4443 (tabularFeatures): better longtable options support
4445 * insettext.C (resizeLyXText): reinit the text always also on a
4448 2001-12-18 Juergen Vigna <jug@sad.it>
4450 * insettext.C (updateInsetInInset): look if we have to autocollapse
4451 paragraps and return if the update is requested for ourself.
4453 * insetert.C (status): update the insettext not myself as that is what
4456 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4457 function only return if the update was requested with myself.
4459 * insettext.C (insetButtonPress): fixed stupid bug.
4460 (various functions): pay attention that lt is cleared BEFORE calling
4461 updateLocal() and try to use it in the right manner (don't use it
4462 if it's not really neccessary!)
4463 (collapseParagraphs): insert a blank between collapsing paragraphs
4464 if neccessary (not already there!).
4466 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4468 * insettabular.C: move includes around a bit, add a couple of
4471 * insettext.[Ch]: move includes around a bit, other ws changes and
4474 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4476 * insettext.C (insetButtonRelease): fix compile problem
4478 2001-12-17 Juergen Vigna <jug@sad.it>
4480 * insettext.C (insetButtonPress): set the selection cursor!
4481 (insetButtonPress): clear the selection (and set with that the
4482 selection.cursor) if we only hit an inset!
4484 * insetert.C (read): removed piece of compatibility code only needed
4487 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4490 * insetcollapsable.C (insetButtonRelease): changed so that it can
4491 open eventual existing popup dialogs on mousebutton==3.
4493 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4495 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4497 * inset.C (insetButtonRelease): return a bool for telling the outer
4498 world that we opened a dialog.
4500 2001-12-07 Juergen Vigna <jug@sad.it>
4502 * insettext.C (paragraph): remove the deleteing of paragraphs as
4503 it was a WRONG move!
4505 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4508 * insettabular.C: use new setSelection(). Allow
4509 selection of single cells.
4511 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4513 * insetquotes.C (latex): fix to use the local language setting at
4514 the point where the inset is inserted (different macros for
4515 different french packages)
4517 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4519 * inset.h: add par_owner_ member variable and parOwner
4522 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4524 * insettabular.C (everywhere): adapt because widths are now real
4525 widths and not strings
4527 * insettext.C (draw): re-introduce the calls to width(), ascent()
4528 and descent() to initialize the caching variables.
4530 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4532 * insettext.C (draw):
4533 (drawFrame): use insetWidth instead of last_width
4535 * insettext.h: remove variable last_width (insetWidth is exactly
4536 the same) and last_height (computed but never used!)
4538 2001-12-10 Allan Rae <rae@lyx.org>
4540 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4544 * insettext.C (insetAllowed): add comment
4546 2001-12-05 Juergen Vigna <jug@sad.it>
4548 * insettext.C (insetAllowed): fixed for the case that we directly
4549 ask the insettext from its LyXText.
4550 (paragraph): fixed the crash when assigning the par->next() from
4551 the EmptyParagraphMechanism!
4553 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4557 * insettext.C: change "while(" to "while ("
4559 2001-12-04 Juergen Vigna <jug@sad.it>
4561 * insetert.C (edit): handle Inlined status.
4563 * insettext.C (insertInset): trying John's fix for the trailing cursor
4565 * insetert.C (insetButtonPress): added to handle inlined status
4566 (insetMotionNotify): ditto.
4568 * insettext.C (clearInset): changed Painter & in BufferView * param,
4569 to be able to call ascent,descent methods.
4571 2001-12-03 Juergen Vigna <jug@sad.it>
4573 * insettext.C (updateInsetInInset): use lt variable to forbid
4574 changes of LyXText in an update call.
4575 (updateInsetInInset): fixed updating of non locked insets!
4577 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4579 * insettabular.C: capture some more functions to prevent
4580 selection drawing problems. Bug #451274
4582 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4585 * insetgraphicsParams.C: fix inverted sense of float_equal
4587 2001-11-30 Juergen Vigna <jug@sad.it>
4589 * insettabular.C (InsetTabular): use the save_id flag to create also
4590 the tabular with the same id's.
4592 * insettext.C (setParagraphData): added a same_id function for undo
4593 to set the same paragraph id's as of the paragraph we are setting.
4595 2001-11-30 José Matos <jamatos@fep.up.pt>
4598 * insettoc.[Ch]: DocBook -> docbook.
4600 2001-11-29 André Pönitz <poenitz@gmx.net>
4603 * insettext.C: further reduction of header dependencies by using
4604 lyx::layout_type and lyx::textclass_type from support/types.h
4606 2001-11-29 Juergen Vigna <jug@sad.it>
4608 * insettext.C: inserted a reinitLyXText function everywhere I delete
4609 the paragraphs! This should fixe the crashes we had.
4610 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4611 (paragraph): set the InsetOwner() of the new paragraphs!
4613 2001-11-28 André Pönitz <poenitz@gmx.net>
4615 * insetnote.C: add pos initialization that I removed without
4618 2001-11-28 Juergen Vigna <jug@sad.it>
4620 * insettabular.C (resetPos): hack to not crash with infinite paints.
4622 * insettabular.h: insert missing function allowSpellcheck()!
4624 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4626 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4629 * insetfloatlist.C: derive from InsetCommand so gui can use it
4632 2001-11-26 André Pönitz <poenitz@gmx.net>
4636 * insetnote.C: reduce header dependencies, introduce type for
4639 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4641 * various: update for Alert.h
4643 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4645 * inset.h: fix comment
4647 * insettext.C: use par->isInset()
4649 2001-11-22 Allan Rae <rae@lyx.org>
4651 * insetcollapsable.h:
4652 * inset.h: Changes to checkInsertChar() behaviour.
4653 Now return value indicates whether chars can be inserted.
4655 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4657 * various: updated to use the new LaTeXFeatures
4659 2001-11-14 José Matos <jamatos@fep.up.pt>
4661 * insetspecialchar.C (linuxdoc):
4662 (docbook): don't give a name to a unused variable.
4664 * insettext.C (docbook): removed unused variable.
4666 2001-11-13 Herbert Voss <voss@perce.de>
4668 * insetgraphic.C: fix scale bug
4670 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4672 * inset.h (isSpace):
4673 (isLetter): new virtual methods.
4675 * insetspecialchar.C (isSpace):
4676 (isLetter): implement here.
4678 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4680 * inset.h: new inline helpers
4682 * insettext.C: use new helpers
4684 2001-11-07 José Matos <jamatos@fep.up.pt>
4686 * insettext.C (docbook): full support for paragraphs inside insettext.
4688 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4690 * insetindex.C: added header file for std::ostream.
4692 2001-11-03 José Matos <jamatos@fep.up.pt>
4694 * insetindex.C: added using std::ostream that I forgot yesterday.
4696 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4698 * insetindex.h (docbook):
4699 * insetindex.C (docbook): added support for docbook export.
4701 2001-11-02 José Matos <jamatos@fep.up.pt>
4703 * insetcaption.C(docbook): added support for docbook export.
4705 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4707 * insetexternal.C (updateExternal): Do not run update command if
4708 result file exists and is up to date.
4710 * ExternalTemplate.C (readFormat): Support the updateresult token.
4712 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4714 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4715 external_templates) to use the buffer->fileName() but only if
4716 previewing. Generating a TeX file should make FPath return
4719 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4722 * insetert.C: fix some problems
4724 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4726 * insetexternal.C (doSubstitution): Added $$FPath token
4727 to list of usable substitutions in external inset templates.
4729 2001-10-24 Juergen Vigna <jug@sad.it>
4731 * insettabular.C: use new ltType struct for setting longtable
4732 header and footers also new UNSET enums.
4734 2001-10-24 José Matos <jamatos@fep.up.pt>
4736 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4737 (docbook): If the table is not inside a float then wrap it inside
4738 <informaltable>...</informaltable>.
4740 2001-10-23 José Matos <jamatos@fep.up.pt>
4742 * insetref.C (docbook): removed / terminator to conform SGML.
4744 * insetspecialchar.C (linuxdoc):
4745 (docbook): Added support for special chars, more than ascii export.
4747 2001-10-22 Juergen Vigna <jug@sad.it>
4749 * insettext.C (checkInsertChar): added for REALLY checking the
4750 font of the inserted char in the right inset!
4752 2001-10-19 Juergen Vigna <jug@sad.it>
4754 * inset.h: added method allowSpellcheck() so that insets who do
4755 not have anything to spellcheck can tell and so they are over-jumped.
4756 Implemented for InsetText and co.
4758 2001-10-18 Juergen Vigna <jug@sad.it>
4760 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4762 2001-10-15 José Matos <jamatos@fep.up.pt>
4764 * insetert.C: allow export for docbook and linuxdoc
4766 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4768 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4770 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4772 * insetquotes.C (dispString): fix handling of latin9 quotes
4774 2001-10-03 Juergen Vigna <jug@sad.it>
4778 * insetcollapsable.C: change updateInset calls to not tell BV that
4779 we have changed status.
4781 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4783 * insettabular.C (deletable): make const
4785 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4787 * insetert.C (latex): Fix the returned value
4789 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4791 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4792 Returns string(), so nothing in an ERT inset is spellchecked.
4794 * insetgraphics.C (draw): print the filename if not displaying the
4796 (width): make sure that the width and draw methods are consistent.
4797 (updateInset): don't even load the image into cache if not displaying
4800 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4802 * various files (selectNextWord): renamed as
4803 selectNextWordToSpellcheck.
4805 * insetgraphics.C (draw): remove the previous change. Right place
4806 is in imageLoaderXPM.C.
4807 (draw): don't display the image if params.display == NONE.
4809 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4811 * figinset.C (runqueue):
4812 * insetgraphics.C (draw): set background colour of inset from
4813 background to the user-configurable graphicsbg.
4815 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4817 * insetquotes.C (InsetQuotes): when trying to decide the side of
4818 the quote, choose `left' only after a space or '('
4820 2001-09-04 José Matos <jamatos@fep.up.pt>
4825 * insetcollapsable.h
4843 * insetlatexaccent.C
4844 * insetlatexaccent.h
4849 * insetspecialchar.C
4850 * insetspecialchar.h
4854 * insettext.C (docbook): rename docBook method to docbook.
4856 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4858 * inset.h (getFirstParagraph): New virtual method.
4860 2001-08-20 Herbert Voss <voss@perce.de>
4861 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4862 in the the bibtex-database-gui for inserting a line
4865 If no style is given than there is no tex-output.
4867 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4869 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4873 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4875 * insetert.C (latex): Fix output for multiple paragraphs.
4876 (write): New code for writing paragraph data.
4877 (read): Set font after reading the inset.
4878 (localDispatch): Call set_latex_font() for more cases.
4880 * insetnote.h: Add empty validate method.
4883 * insetnote.C (InsetNote): Set language to the language of the
4886 2001-08-16 Juergen Vigna <jug@sad.it>
4888 * insettext.C: implemented the new FINISHED states.
4890 * insettabular.C: ditto
4892 * inset.h: added more FINISHED states for cursor right,up,down
4894 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4896 * insetfloatlist.C: use "FloatName List"
4898 2001-08-14 Juergen Vigna <jug@sad.it>
4900 * insetert.C (edit): forgot to set status_ in edit calls!
4902 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4904 * insettext.C: Compilation fix
4906 2001-08-13 Juergen Vigna <jug@sad.it>
4908 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4910 * insetcollapsable.C (edit): don't recollapse an already open inset.
4912 * insettext.C: fixed problem when reinitializing LyXText by not doing
4913 it while lt is in use and post this to the next possible time in
4915 (searchForward): fixed not unlocking of inset if nothing found.
4916 (edit): set cursor behind right (was set -1 pos).
4918 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4920 * insettabular.C (tabularFeatures): fixed fix where deleting the
4921 last row didn't get the right actcell!
4923 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4925 * insettext.C (localDispatch): Change language only when the inset
4928 2001-08-10 Juergen Vigna <jug@sad.it>
4930 * insettabular.C (selectNextWordInt): use the front using edit call.
4932 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4933 the parameter overwrite class variable inset.
4935 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4937 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4938 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4940 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4941 update only for fixed with cells.
4942 (resetPos): try to fix the lockup on spellchecking or s&r.
4944 * insettext.C (update): comment this out as it seems first wrong
4945 and second not needed anymore!
4946 (some functions): call reinitLyXText() only in update() in all other
4947 positions set only need_update = INIT.
4949 2001-08-08 Juergen Vigna <jug@sad.it>
4951 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4953 * insettext.C (insetUnlock): remove double-space on inset unlock.
4955 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4957 * insettabular.C (update): fixed cursor positon after an insert.
4958 (insetAllowed): do not allow to insert insets when not inside the
4960 (draw): clear below an inset too as it could have changed height.
4962 * inset.C (getMaxWidth): fixed width for inset in inset.
4964 * insettext.C (update): small fix.
4966 * insettabular.C (tabularFeatures): added selection support to
4967 DELETE_ROW/DELETE_COLUMN.
4969 2001-08-07 Juergen Vigna <jug@sad.it>
4971 * inset.C (getMaxWidth): recoded and all it's implementations!
4973 * insettext.C (init,setParagraph+constructors): cleanups
4974 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4975 are new and I want do a save/restore of the cursor position which is
4976 not possible anymore.
4978 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4979 (searchBackward): ditto
4980 (selectNextWord): ditto
4982 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4984 * insetlatexaccent.C (checkContents): Add some debug messages
4986 2001-08-07 Juergen Vigna <jug@sad.it>
4988 * insetert.C (read): don't use InsetCollapsable::read as we don't
4989 write the collapsed status anymore only the status.
4992 2001-08-06 Juergen Vigna <jug@sad.it>
4994 * insetert.C (set_latex_font): use LyXText's setFont directly.
4996 * insettext.C (drawFrame): fixed one time more the right position
4997 and size of the frame!
4999 * insetert.C (~InsetERT): hide the dialog.
5000 (showInsetDialog): added implementation
5003 (status): new function for the status of the ERT inset (3-state).
5004 (write): output also the status of the inset for readback!
5005 (read): readback the status if available otherwise use collapsed_.
5007 * insettext.C (edit): small fix of setting the position, which could
5010 * insetert.C (width): implement this function for inlined viewing.
5011 Added minimum width of 10 pixels!
5013 * insetminipage.C (InsetMinipage): just change the colors a bit so
5014 that border/background is a bit more visible. We will remove this
5017 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5018 function for getting the important widths for drawing in various
5019 functions and in LyXText.
5020 (draw): fixed up a bit (frame drawing/clearing)
5022 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5024 * inset.C (convertFont): delete method. not used.
5026 2001-08-03 Juergen Vigna <jug@sad.it>
5028 * insettext.C (setFont): don't call for a draw update if we're just
5029 changing the cursor font!
5031 2001-08-02 Juergen Vigna <jug@sad.it>
5033 * insettext.C (draw): clear the background with the right color if
5034 needed. Update myself if x&max-width changed and return without doing
5035 anything. Let the update code handle the right stuff.
5037 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5038 inside another inset.
5040 2001-08-01 Juergen Vigna <jug@sad.it>
5042 * insetcollapsable.C (update): added an in_update bool so we avoid
5045 * insettabular.C (update): added an in_update bool so we avoid
5048 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5050 (update): added an in_update bool so we avoid reentering.
5052 * insettabular.C (localDispatch): clear col/row selection when doing
5053 something else inside an inset.
5055 * insettext.C (getLyXText): fixed bug when requesting a recursive
5058 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5060 * insetcite.C (latex): Paranoia check. Make sure that there is no
5061 whitespace between the citation keys.
5063 2001-07-31 Juergen Vigna <jug@sad.it>
5065 * inset.h (nodraw): make the set function also const so that this
5066 can be called from inside other const functions.
5068 * insetcollapsable.h: removed inline variable and moved it over
5069 to the only user InsetERT.
5071 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5072 inset opening immediately therein lying insets dialogs!
5074 * insetert.C (localDispatch): set the font also if we don't have any
5075 chars in this paragraph, otherwise if we delete all of em and start
5076 writing we have the wrong font.
5078 (draw): implemented for inline support
5079 (insetButtonRelease): ditto.
5081 2001-07-30 Juergen Vigna <jug@sad.it>
5083 * insettext.C (reinitLyXText): new function to reinit the insets
5084 text after lot's of paragraph changes. Use this instead of the
5085 cache.clear() which is VERY dangerous.
5087 * insetfloat.C (insetButtonRelease): we should only show the dialog
5088 if we press on the label otherwise we have problems to open mouse
5089 button 3 dialogs inside this float (f.ex. of a tabular!)
5091 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5093 * insetert.C: change back to "ERT"
5095 * insetfloat.C: handliign of RMB on label added.
5097 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5099 * insetgraphicsParams.C: #include LOstream.h here.
5101 * insetfoot.h: remove InsetFoot:: qualifier.
5103 2001-07-29 Baruch Even <baruch@lyx.org>
5105 * ChangeLog: Hiding time travel evidence.
5107 * insetgraphicsParams.h:
5108 * insetgraphicsParams.C:
5109 * insetgraphics.C: Added horizontal scale option, it actually scales both
5110 directions since it keeps image proportions.
5112 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5114 2001-07-29 Baruch Even <baruch@lyx.org>
5116 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5117 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5119 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5121 2001-07-29 Baruch Even <baruch@lyx.org>
5123 * insetgraphics.C: Added EPSI to be an alias of EPS.
5125 2001-07-29 Baruch Even <baruch@lyx.org>
5127 * insetgraphics.C: Change GRAPHICS to Graphics.
5128 Changed image conversion rules (documented at the beginning of file).
5130 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5132 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5135 * insetgraphics.C: added a using std::endl directive.
5137 * insetcommand.h (getScreenLabel): removed pure virtual function,
5138 as it duplicates that in InsetButton.
5140 * insetbib.[Ch] (getScreenLabel):
5141 * insetbutton.[Ch] (getScreenLabel):
5142 * insetcite.[Ch] (getScreenLabel):
5143 * insetert.[Ch] (getScreenLabel):
5144 * insetexternal.[Ch] (getScreenLabel):
5145 * insetfloatlist.[Ch] (getScreenLabel):
5146 * insetinclude.[Ch] (getScreenLabel):
5147 * insetindex.[Ch] (getScreenLabel):
5148 * insetlabel.h (getScreenLabel):
5149 * insetparent.[Ch] (getScreenLabel):
5150 * insetref.[Ch] (getScreenLabel):
5151 * insettoc.[Ch] (getScreenLabel):
5152 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5154 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5156 (validate): remove check on "cite" when using natbib.
5158 2001-07-26 Baruch Even <baruch@lyx.org>
5160 * insetgraphics.C (draw): changed casting to be in one place rather than
5161 all over the function.
5164 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5166 * insetgraphicsParams.h:
5167 * insetgraphicsParams.C:
5168 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5170 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5172 * insetfoot.C (validate): Added method to ensure that the
5173 right bit of LaTeX is emitted.
5175 * insetfoot.h: Added validate method to set the correct
5176 LaTeXFeatures bit for the special footnote code.
5178 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5180 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5183 2001-07-27 Juergen Vigna <jug@sad.it>
5185 * inset.h: remove not used font variable in parameter.
5186 removed checkInsertChar in UpdatableInset as it was equal to
5187 the one in Inset and so not needed.
5189 * insetert.C (checkInsertChar): implementation of function
5192 * inset.h: added new function checkInsertChar.
5194 * various files: added c-tor and clone() function.
5196 * insetcollapsable.h: removed clone function here as this should
5197 be only realized in REAL insets and added it to all collapsable
5198 insets! (with the copy-constructor).
5200 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5202 * insetminipage.C (read): handle missing parameters more gracefully
5204 * insetcollapsable.C (read): handel missing collapsed more gracefully
5206 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5208 * insetfloat.C (read): handle missing parameters.
5210 * insettext.C (read): handle old latex end_inset
5212 * insetert.C (setButtonLabel): new method
5213 (init): use it, to set the dynamic label correctly
5216 * Makefile.am (EXTRA_DIST): add files that is not part or the
5219 * insetcollapsable.h: remove autocollapsable (no users), remove
5220 draw_label, change_label_with_text and companion code. Remove args
5222 * insetert.[Ch]: move here instead (only user)
5224 * inset.h: rename private variable name to name_, make
5225 selectNextWord return a const string. make getInsetName return a
5226 string const &. Remove bool from open, add close.
5228 * Makefile.am: don't compile insetlist, insetsection
5231 2001-07-24 Juergen Vigna <jug@sad.it>
5233 * insetert.C (InsetERT): put init after the paragraph initialization,
5234 as otherwise we don't set the draw_label right.
5236 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5237 insets with the mouse without having strange selections.
5238 (edit): if the inset was collapsed and we open it here then put the
5239 cursor always at the beginning of the inset.
5240 (get_new_label): 15 instead of 10 max chars in the label.
5242 * insetert.C (localDispatch): added and handle various stuff we
5243 need to handle here (font setting on paragraph break, not permitted
5244 layout setting, etc.).
5246 * inset.h: added default copy-consturctor and implemented this in
5247 various insets with the change to use this in the clone function!
5249 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5251 * insetminipage.C (InsetMinipage): set background color to red :)
5253 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5255 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5256 draw frame mode is LOCKED.
5258 * insetcollapsable.C (edit):
5259 (insetButtonRelease): set update status to full when
5262 * insettext.C (clearInset):
5263 * insettabular.C (draw):
5264 * insetlatexaccent.C (draw): honor background color.
5266 * inset.h: new member background_color_, initialized to
5269 * inset.C (backgroundColor): new method.
5270 (setBackgroundColor): new method.
5272 * insetert.C (init): new method, called by the ctors.
5273 (InsetERT): when inserting contents, make sure the font is
5276 * insetnote.C (InsetNote): when inserting content, remove trailing
5278 (init): set background color to LColor::note
5280 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5282 * insetcollapsable.C: adjust
5284 * insetbutton.C: adjust
5286 2001-07-23 Juergen Vigna <jug@sad.it>
5288 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5289 parameter on the _collapsed function (was not needed) and call
5290 always width_collapsed().
5292 * insetert.C (InsetERT): use setLabel with "true" flag.
5294 * insetcollapsable.C: modified various functions to set the draw_label
5295 string right in any condition.
5296 (setLabel): added a bool parameter to set change_label_with_text.
5298 * insetcollapsable.h: added draw_label string which is set to the
5299 actual drawn label-string, while label is the original static label
5300 of this collapsable inset. Added bool change_label_with_text to set
5301 if we want that the label changes to the start of the InsetText's
5302 text when collabpsed. You can set this flag with the setLabel funciton.
5303 Added bool inlined for inlined collapsable insets, but not handled
5306 * insetcollapsable.C (get_new_label): added should get a new label
5307 from the InsetText beginning (for now 10 chars).
5309 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5311 * insetquotes.C (latex): fix the handling of french double quotes
5312 when not using the french pachage.
5314 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5316 * insetcollapsable.h: make WidthCollapsed mutable.
5318 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5319 InsetPrintIndex returns INDEX_PRINT_CODE.
5321 * inset.h: add INDEX_PRINT_CODE
5323 * insetcollapsable.C (draw): init widthCollapsed if necessary
5326 * insetquotes.C (width): use the local language, not the document
5329 (dispString): add additional spacing for all french languages,
5331 (validate): make it work when there is no default language
5333 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5335 * insetnote.C (init): new method, called by the constructors
5336 (InsetNote): new constructor with contents passed as a string
5338 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5340 * insetfootlike.C (insetAllowed): disallow float in footlike.
5342 * insetert.C (InsetERT): add collapsed argument to the constrctor
5345 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5347 * insetindex.h: shut off warning
5349 2001-07-20 Juergen Vigna <jug@sad.it>
5351 * insetcollapsable.C (update): recoded hopefully works now!
5353 2001-07-19 Juergen Vigna <jug@sad.it>
5355 * most files: implemented the below new introduced function.
5357 * inset.h: added new edit(BufferView *, bool front) method to be able
5358 to enter an inset from the front/back without knowing x/y positions
5359 and baselines inside the inset. So I just can tell the inset activate
5360 me and set the cursor on the front/back of yourself.
5362 2001-07-18 Juergen Vigna <jug@sad.it>
5364 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5365 is given to the InsetText.
5366 (insetButtonPress): ditto
5367 (insetButtonRelease): ditto
5368 (insetMotionNotify): ditto
5370 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5372 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5373 LIGATURE_BREAK, since the name is so stupid.
5375 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5377 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5378 the default InsetCollapsable methods. I.e., it can insert anything.
5379 (write) output the name of the inset, not some silly hack for
5380 compatability with the old InsetInfo.
5382 * insetinfo.[Ch]: removed.
5383 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5384 now collapsable, but functionality is otherwise identical to InsetInfo.
5386 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5388 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5390 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5393 * insetquotes.C: general cleanup
5394 (dispString): add spaces inside french double quotes.
5395 (latex): ditto. Moreover, treat first the case where the frenchb
5396 or french options have been given.
5398 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5400 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5403 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5405 * figinset.C (RegisterFigure): Print debug message only when
5406 current_view is available.
5408 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5410 * many files: update to match the change below
5412 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5413 implement the version which takes an inset here.
5415 * insetcollapsable.[Ch]: implement open and isOpen
5417 * inset.h: remove insertInsetAllowed from Inset
5418 (open): new method, to open or close an inset
5419 (isOpen): returns the status of an inset
5420 (isCollapsable, colapse): removed
5422 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5424 * insetquotes.C (dispString): display french guillemets when using
5427 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5429 * insetcollapsable.h: remove bogus return statements
5431 2001-07-18 Juergen Vigna <jug@sad.it>
5433 * insettabular.C (selectNextWord): fixed spellchecking for the
5434 first cell of a tabular (wasn't entered!)
5435 (getLyXText): changed to enter automatically insettext and return
5436 it's LyXText if we're locked.
5438 2001-07-17 Juergen Vigna <jug@sad.it>
5440 * various files: implemented the below functions.
5442 * inset.h: added functions
5443 - virtual string selectNextWord(BufferView *, float & value) const;
5444 - virtual void selectSelectedWord(BufferView *) { return; }
5445 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5446 needed for spellchecking correctly!
5448 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5450 * insetert.C (latex): write out all paragraphs.
5452 2001-07-17 Baruch Even <baruch@lyx.org>
5454 * insetgraphics.C (draw): Removed unneeded casts.
5456 2001-07-16 Juergen Vigna <jug@sad.it>
5458 * insettext.C (update): fixed small oversight (reset lt to 0).
5460 2001-07-14 Baruch Even <baruch@lyx.org>
5463 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5465 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5467 Consistent use of Lsstream.h:
5468 * figinset.C: removed using std::ostringstream directive.
5470 * insetgraphics.C (createLatexOptions):
5471 * insetinclude.C (unique_id):
5472 std::ostringstream -> ostringstream.
5473 * insettext.C (localDispatch): std::istringstream -> istringstream.
5475 2001-07-13 Juergen Vigna <jug@sad.it>
5477 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5479 * insetcollapsable.C (getLockingInset): ditto.
5481 2001-07-12 Juergen Vigna <jug@sad.it>
5483 * insetcollapsable.h: added implementation of new function for
5486 * various files: added implementation of new insertInsetAllowed-func
5487 and redone the function a bit more.
5489 * inset.h: added isCollapsable(), bool collapsed(),
5490 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5492 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5494 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5495 LyXText which is marked for removal while we're using it!
5497 * insettext.h: added private LyXText * lt to use it to assure we are
5498 not deleting our LyXText while we're using it!
5500 2001-07-11 Juergen Vigna <jug@sad.it>
5502 * insettext.C (insertInset): check if we are before the inset after
5503 inserting it! This check IS needed. Remove the Undo-Call as it is
5504 called in LyXText::insertInset!
5506 * insettext.h: added struct InnerCache.
5508 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5509 that we ONLY delete the LyXText in the getLyXText() routine. So we
5510 are sure we don't delete LyXText while someone is working with it!
5512 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5514 * insetexternal.C: (*it). -> it->
5515 * insettext.C: ditto
5517 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5519 * insetcollapsable.C (edit): always open collapsed insets (even if
5520 they are not autocollapsable)
5522 * insetcommand.C (operator=): simplify.
5524 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5526 * insetert.C (latex): handle META_NEWLINE
5528 2001-07-09 Juergen Vigna <jug@sad.it>
5530 * insetert.h: a normal InsetText can insert insets, but we won't.
5532 * inset.h: return default "false" on insertInsetAllowed and implement
5533 this function where a returnvalue != "false" is needed.
5535 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5537 * insetert.C (InsetERT): new contructor
5539 2001-07-06 Juergen Vigna <jug@sad.it>
5541 * a lot of files: added implementation of the below new functions
5542 and the change to clone(). Also the call of the new undo-functions
5545 * inset.h: added an inset_id, added functions getParFromID,
5546 getInsetFromID, firstParagraph, cursor and id functions, added
5547 bool same_ids to clone function.
5549 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5551 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5552 of BufferView * and shared_ptr<LyXText>
5554 2001-07-05 Juergen Vigna <jug@sad.it>
5556 * insettext.C (clear): deleted also the cache not only LyXText.
5557 (setParagraphData): ditto.
5559 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5561 * insetfloat.C (latex): let the specific placement take presedence
5562 if set, otherwise choose document placement if set, otherwise just
5563 use float default placement.
5565 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5567 * insettext.C (localDispatch): call CutAndPaste::'s static method
5570 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5572 * insetbib.C: no meed to include forms.h here.
5574 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5576 * insettext.C: added using std::make_pair directive.
5578 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5580 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5582 (deleteLyXText): ditto
5583 (resizeLyXText): ditto
5585 2001-07-02 Juergen Vigna <jug@sad.it>
5587 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5588 following calls are only returned the right pointer without the over
5589 head to search in the map.
5590 (various funcs): reset the cached_bview variable as this signs that
5591 the cache is not valid anymore.
5593 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5595 * insettabular.C (clone): do not copy the LyXTabular twice
5597 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5599 * insettext.h (TEXT): delete method
5601 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5603 * insetmarginal.C (latex):
5604 * insetfoot.C (latex): fix spacing of notes in LaTeX
5606 * insettext.C (localDispatch): use .c_str() on istringstream
5607 constructor argument.
5609 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5614 * inseturl.C: fix method names in these to begin
5615 with small char too, so they inherit
5617 2001-06-28 Juergen Vigna <jug@sad.it>
5619 * insettext.C (setFont): fixed font settings using toggleFree()
5620 instead of setFont().
5622 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * Change a lot of method names to begin with a small char.
5625 Changes to a lot of files because of this.
5627 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5629 * insetfloatlist.C (Write): std:: qualify ostream
5632 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5636 * insetgraphics.C: send debug output to Debug::INFO instead of
5639 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5642 * insettabular.C (getStatus): update to use func_status
5644 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5646 * insetref.C (DocBook): added support for cross-references without
5649 2001-06-26 The LyX Project <jug@sad.it>
5654 * insetlabel.h: removed escape method and moved it to
5657 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5659 * insettabular.C (getMaxWidth): do the speedup in a different way,
5662 2001-06-24 The LyX Project <Asger>
5664 * insettabular.C (getMaxWidth): We cache a mapping from
5665 inset to cell in order to speed this method up.
5667 2001-06-24 The LyX Project <Asger>
5669 * insettext.C: Optimized InsetText::draw or something.
5671 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5673 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5675 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5677 * inset.h: name change from lyxinset.h
5679 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5681 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5683 2001-06-14 Juergen Vigna <jug@sad.it>
5685 * insettext.C (draw): removed warnings.
5687 2001-06-13 Juergen Vigna <jug@sad.it>
5689 * insettabular.C (nodraw): only go down the tree if we don't have
5690 that flag set otherwise it's obvious that we don't want to draw.
5691 (LocalDispatch): do also an update if we have an undispached result.
5693 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5696 * insetgraphicsParams.C:
5697 * insettext.C: removed // -*- C++ -*- as first line.
5699 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5701 * lyxinset.h (resizeLyXText): shut off warning about unused
5704 2001-06-07 Juergen Vigna <jug@sad.it>
5706 * insettext.C (resizeLyXText): honor the new force flag.
5708 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5710 * insettabular.C (deleteLyXText): new function
5712 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5720 * insetcollapsable.C:
5721 * insetcaption.C: LColor tidy
5723 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5725 * figinset.C: fix typo
5727 2001-06-01 Juergen Vigna <jug@sad.it>
5729 * insettabular.C (resetPos): small hack so that scroll is not set to
5730 0 when we are in the last column of a tabular. This is a problem we
5731 have because of constats 20 offset on both directions, so this can
5732 cause on the limit an endless loop.
5734 * insettext.C (SetFont): forgot that we can have locking insets ;)
5736 2001-05-31 Juergen Vigna <jug@sad.it>
5738 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5740 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5742 * figinset.C: add using std:: directive for the C functions which
5745 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5747 * insetfloat.C (Write): write out wide info
5748 (Read): read the wide info
5749 (Latex): use the wide info when creating latex.
5751 * insettext.C: adjust
5753 * insetgraphics.[Ch] (statusMessage): change to return string
5757 * figinset.C (runqueue): add std::
5760 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5762 * insetcite.C (Ascii): add std:: qualifier
5764 2001-05-28 Juergen Vigna <jug@sad.it>
5766 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5767 a endless-width inset (maxWidth < 0).
5768 (Edit): change language only if not equal.
5770 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5772 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5774 2001-05-16 Juergen Vigna <jug@sad.it>
5776 * insettext.C (selectAll): added
5777 (clearSelection): added
5779 * insettabular.C (SetFont): now we may set a font on a whole selection!
5780 (getSelection): added helper function.
5782 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5784 * insetcite.C (Ascii): Add method.
5786 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5789 * insetbib.C: fix path for OS/2 & Win32
5791 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * insetfoot.C (Latex): don't use % after footnote.
5795 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5797 * insettext.C (Read): use clear
5798 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5800 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5802 * insetfloatlist.h: add a bunch of std:: qualifiers.
5804 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5807 FLOAT_LIST_CODE, renumber code list.
5809 * insettoc.C (getScreenLabel): remove support for float lists
5813 * insetfloatlist.[Ch]: new files
5815 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5817 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5819 * insettabular.C (LocalDispatch):
5820 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5823 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * insettext.C: remvoe !NEW_INSETS cruft
5827 * insettabular.C: remove !NEW_INSETS cruft
5829 * insetcollapsable.h: remove !NEW_INSETS cruft
5831 * insetbib.C: remove !NEW_INSETS cruft
5833 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * insettoc.C: hack to make listof algorithm work
5837 2001-04-20 Juergen Vigna <jug@sad.it>
5839 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5841 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5843 * insetquotes.C (Latex): improve the guard against
5844 unwanted !` and ?` ligatures. This should really be done in
5845 another place (to catch all this ligatures at low-level).
5847 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5849 * insettext.C (init): remvoe leftovers from cursor_visible change
5850 (draw): use c++ cast
5851 (LocalDispatch): dispatch LFUN_MESSAGE
5853 * insettabular.C (InsetTabular): remove leftovers from
5854 cursor_visible, and scoped_ptr changes
5855 (draw): use c++ cast
5857 * insetcollapsable.C (draw): use c++ cast
5859 * ExternalTemplate.h: inherit privaely from noncopyable
5860 * insetcommand.h: ditto
5861 * insetinclude.h: ditto
5863 2001-04-16 Allan Rae <rae@lyx.org>
5865 * insettoc.C (Ascii):
5866 * insettext.C (draw):
5867 * insettabular.C (setPos):
5868 * insetminipage.C (Read):
5869 * insetfloat.C (placement):
5870 * insetcaption.C (Ascii, DocBook):
5871 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5872 an unrecognised preprocessor directive. So ensure they're wrapped.
5874 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5877 * insetexternal.C: set view on Clone. Add _ to private members.
5879 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5881 * insettext.C (InsetText): fix new
5882 (InsetText): reindent some, simplify deletion of par list
5883 (clear): simplify deletion of par list, fix new
5884 (SetParagraphData): simplify deletion of par list
5886 * insettabular.[Ch] (getLabelList): implement new method
5888 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5890 * lyxinset.h: do not include gettext.h...
5898 * insetlatexaccent.C:
5902 * inseturl.C: ... and do it here instead
5904 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5908 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5910 * insetcollapsable.[Ch] (getLabelList): implement
5912 * insettext.[Ch] (getLabelList): implement
5914 * insettext.h: reindent
5916 * insettabular.h: make tabular a scoped_ptr
5918 * insettext.C (init): adjust for cursor_visible
5919 (ToggleInsetCursor): constify asc and desc, font, adjust for
5921 (ShowInsetCursor): constify asc and desc, font, adjust for
5923 (HideInsetCursor): adjust for cursor_visible
5925 * insettabular.C: reindent some
5926 (InsetTabular): adjust for scoped_ptr and cursor_visible
5927 (InsetTabular): ditto
5928 (~InsetTabular): delete delete
5929 (Clone): adjust for scoped_ptr
5930 (Read): constify old_format, adjust for scoped_ptr, move init of
5932 (draw): constify tx, localize loop vars.
5933 some other localization of variables, remove double initilizatons.
5935 * insetfoot.C: remove using std::ostream, add ostream where needed
5937 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * lyxinset.h: some reindentaion, use initializer list for
5941 UpdatableInset: make cursor_visible a private var add
5942 public isCursorVisible(), add protected toggleCursorVisible() and
5943 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5945 * insettoc.C: remvoe using decl
5946 (getScreenLabel): make cmdname donst
5949 (Ascii): don't use endl
5951 * insetfootlike.C: remove using decl at file scope and add std::
5953 * insetmarginal.C: ditto
5955 * insetfoot.C: some reformatting
5957 * insetfloat.C (InsetButtonRelease): adjust the hit area
5959 * insetert.C (SetFont): some reformatting
5961 * insetcollapsable.C: some reformatting and constification
5962 (Clone): comment out.
5963 * insetcollapsable.h: some reformatting
5964 (Clone): comment out.
5969 2001-03-30 Juergen Vigna <jug@sad.it>
5971 * insetcollapsable.h: changen *inset to be a InsetText inset.
5973 * some files: changed to reflect the above change.
5975 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5977 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5978 InsetExternal::Params.
5979 Added operator==() and operator!=() for the Params struct.
5981 2001-03-29 Juergen Vigna <jug@sad.it>
5983 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5986 * insetminipage.C: removed widthp_ and all it's functions and changed
5987 to use new %-lengths of LyXLength.
5989 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5991 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5993 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5995 * insetgraphicsParams.C (operator!=): new function, needed by the
5996 ControlGraphics class.
5998 2001-03-28 Juergen Vigna <jug@sad.it>
6000 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6001 (checkAndActivateInset): don't use the values returned from
6002 call to bv->checkInsetHit.
6004 * insetminipage.C (Clone): set special minipage values.
6006 * insetcollapsable.C (draw): changed to draw the button in the
6007 upper left corner outside the textinset.
6008 (ascent): changed because of different drawing
6012 (InsetButtonPress): ditto
6013 (InsetButtonRelease): ditto
6014 (InsetMotionNotify): ditto
6016 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6018 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6022 2001-03-26 Juergen Vigna <jug@sad.it>
6024 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6026 * insettext.C (ShowInsetDialog): implemented above function.
6028 * insettabular.C (ShowInsetDialog): ditto
6030 * insetminipage.C (ShowInsetDialog): ditto
6032 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6034 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6035 InsetInclude::Params. Don't store a buffer * in Params. Store the
6036 master file name instead.
6038 2001-03-23 Juergen Vigna <jug@sad.it>
6040 * insetcollapsable.C (InsetMotionNotify):
6041 (InsetButtonRelease):
6042 (InsetButtonPress): fixed y-offset (minipages).
6044 * insettext.C (draw): force a FULL update if cleared == true.
6046 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6047 routine to draw the minipages on its position-flag.
6048 (InsetInInsetY): give back the right y position, because of minipage
6051 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6054 * insetfloat.C (DocBook): docbook export code.
6056 2001-03-22 Juergen Vigna <jug@sad.it>
6058 * insetminipage.C (getMaxWidth): added function to set the drawing
6060 (Read): should work now!
6062 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6063 if we create a new inset.
6065 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6067 * figinset.C (fl_set_preemptive_callback): moved definition outside
6070 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6072 * insetminipage.C (Read): prepare for reading of minipage arguments.
6074 2001-03-18 Baruch Even <baruch@lyx.org>
6076 * insetgraphics.C: Minor cleanups of the comments and code.
6078 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6080 * insetminipage.C (InsetMinipage): default to not collapsed
6082 2001-03-16 Juergen Vigna <jug@sad.it>
6084 * insetminipage.C (width): modified with to be a string
6085 (widthp): added widthp (for % width) support functions.
6086 (InsetButtonRelease): added to open the options dialog on button==3.
6087 (~InsetMinipage): added to hide the dialog.
6089 * insetminipage.h: added hideDialog signal
6091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6093 * insetminipage.h: change the order or Position to match
6094 LyXParagraph::MINIPAGE_ALIGNMENT
6096 * several files: remvoe CXX_WORKING_NAMESPACES
6098 * ExternalTemplate.h: noncopyable is in namespace boost
6099 * insetinclude.h: ditto
6100 * insetcommand.h: ditto
6102 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6104 * insettext.C (Edit): #else# -> #else.
6105 * insettoc.C: added using directive.
6107 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6109 * insetminipage.h: add pos, inner_pos, width and height. + getters
6110 and setters for all of them.
6112 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6114 * insetinclude.C (Latex): Do not exit when the textclass of the
6115 included file differ from the textclass of the parent file.
6117 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6119 * ExternalTemplate.C (read): the reading of external insets now checks
6120 for \end_inset and removes it form the input stream.
6122 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6124 * ExternalTemplate.h:
6125 * ExternalTemplate.C:
6127 * insetexternal.C: move form to GUII
6129 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6132 * insetinclude.C: add InsetIncludeParams, use
6133 composition rather than derivation of InsetCommand
6135 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6137 * insettoc.C (Ascii): use the Buffer typedefs
6139 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6141 * insettoc.C (Ascii): implement for dynamic number of lists
6143 * insetcaption.[Ch]: update from new_insets branch
6144 * insetfloat.[Ch]: ditto
6146 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6149 * figinset.C: use new File Dialog
6151 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6153 * insettext.C: changes becuase of ParagraphParameters.
6155 2001-02-28 Baruch Even <baruch@ev-en.org>
6157 * insetgraphics.C (updateInset): Changed due to the change in
6160 2001-02-26 Juergen Vigna <jug@sad.it>
6162 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6163 handled in LyXText).
6165 2001-02-23 Juergen Vigna <jug@sad.it>
6167 * insettext.C (draw): some small repainting fixes.
6168 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6170 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6171 should be) and not an int.
6173 * insettabular.C (LocalDispatch): ditto
6175 * insettext.C (LocalDispatch): ditto
6177 * insetcollapsable.C (LocalDispatch): ditto
6179 2001-02-22 Juergen Vigna <jug@sad.it>
6181 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6182 DISPATCH it and we don't have a locking_inset.
6184 2001-02-21 Baruch Even <baruch@ev-en.org>
6186 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6187 instead of GraphicsCacheItem *.
6189 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6191 * insetcollapsable.C (getLyXText): add const qualifier to second
6194 2001-02-22 Juergen Vigna <jug@sad.it>
6196 * insettext.C (getLyXText): honor the recursive parameter.
6197 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6199 * inset.C (getLyXText): added bool recursive parameter.
6201 * insettext.C (SetUpdateStatus): or the update codes.
6202 (draw): check need_update with &.
6203 (InsetButtonPress): set no_selection to not put a selection when
6204 entering an inset and it is redraws in another spot.
6206 * insettext.h: made need_update an int.
6208 2001-02-20 Baruch Even <baruch@ev-en.org>
6211 * insetgraphisc.C: Changed to use better semantics when loading images
6212 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6214 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6218 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6219 consistent with InsetTabular.
6221 2001-02-19 Juergen Vigna <jug@sad.it>
6223 * insettabular.C (LocalDispatch): implement PAGE up/down.
6225 * insettext.C (draw): clear all of it on need_update==INIT too!
6227 * insettabular.C (InsetUnlock): always clear the selection.
6229 * inset.C (scroll): normally we only want to scroll the inset until
6230 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6232 2001-02-14 Juergen Vigna <jug@sad.it>
6234 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6235 (resetPos): fixed scroll behaviour.
6236 (LocalDispatch): do an update if moving cursor inside a table cell
6237 requests a scroll of the tabular.
6239 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6241 * insettext.C (textWidth): constify local var
6243 * insettabular.C: small cleanup.
6245 * insetfoot.C (Latex): constify local var
6247 * insetcollapsable.C: small cleanup.
6249 * figinset.C (runqueue): use compare instead of strcmp
6251 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6254 * insetinfo.C: remove cruft
6256 2001-02-14 Juergen Vigna <jug@sad.it>
6258 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6260 2001-02-13 Juergen Vigna <jug@sad.it>
6262 * insettext.C (InsertInset): don't move left (is this right?)
6264 * insettabular.C (LocalDispatch): use of the no_draw variable
6266 * insettabular.h: new no_draw variable to stop redraw
6268 * insettabular.C (TabularFeatures): fixed update for alignment change
6270 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6274 * insetbib.C: move dialogs to frontends/
6276 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6278 * insettext.C (LocalDispatch): Restore the language if the inset
6281 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6283 * insettext.C (moveRightIntern): Update the selection cursor.
6284 (moveLeftIntern): Ditto.
6286 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * Makefile.am: remove BoundingBox.h
6290 * BoundingBox.h: removed
6292 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6294 * insettext.C (LocalDispatch): Update selection cursor when moving
6295 cursor to the right.
6296 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6297 (moveLeftIntern): Ditto.
6299 2001-02-05 Baruch Even <baruch.even@writeme.com>
6301 * insetgraphics.C: Updated automatic image conversion, it now goes into
6302 temporary directory instead of with the image itself.
6304 2001-01-21 Baruch Even <baruch@ev-en.org>
6306 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6307 to EPS or PNG when needed (support bitmap graphics).
6309 2000-11-02 Baruch Even <baruch@ev-en.org>
6312 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6313 and removal of commented out code.
6315 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6317 * insetbib.C (callback): Update citations if the key has changed.
6319 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6321 * insetbib.C (InsetBibKey): Better computation of default key.
6322 (getScreenLabel) Show both the key and the label.
6323 (getBibLabel): New method.
6324 (callback): Force a redraw if the inset have been changed.
6326 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6328 * insetref.C (getType, getName): Move methods from
6329 src/frontends/xforms/FormRef.C.
6331 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6333 * insettabular.C: Various improvements (use only one dummy position).
6335 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6337 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6338 par->bibkey->width. This fixes the crashes when running without
6339 gui or when having included documents.
6341 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6343 * insetcommand.C (getAsString, setFromString): Cleanup.
6345 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6347 * insetref.C: Add the array InsetRef::types that contains
6348 information about all supported reference types.
6350 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6352 * lyxinset.h: remove trailing comma in enum.
6354 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6356 * insettext.C: kill LyXBell.