1 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * updatableinset.C (priv_dispatch):
4 * insetwrap.C (priv_dispatch):
5 * inseturl.C (priv_dispatch):
6 * insettoc.C (priv_dispatch):
7 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
8 (moveLeftIntern, moveUp, moveDown):
9 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
10 (moveLeft, moveUp, moveDown):
11 * insetref.C (priv_dispatch):
12 * insetnote.C (priv_dispatch):
13 * insetminipage.C (priv_dispatch):
14 * insetlabel.C (priv_dispatch):
15 * insetindex.C (priv_dispatch):
16 * insetinclude.C (priv_dispatch):
17 * insetgraphics.C (priv_dispatch):
18 * insetfloatlist.C (priv_dispatch):
19 * insetfloat.C (priv_dispatch):
20 * insetexternal.C (priv_dispatch):
21 * insetert.C (priv_dispatch):
22 * insetcommand.C (priv_dispatch):
23 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
24 * insetcite.C (priv_dispatch):
25 * insetbranch.C (priv_dispatch):
26 * insetbox.C (priv_dispatch):
27 * insetbibtex.C (priv_dispatch):
28 * insetbibitem.C (priv_dispatch):
29 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
31 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
33 * insettext.C: small refactoring of docbook stuff
35 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
37 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
38 (priv_dispatch): adjust for operator dispatch_result_t removal
40 * insettabular.C (lfunMouseRelease): put the result of a dispatch
41 in a DispatchResult, adjust accordingly.
42 (priv_dispatch): use strange >= construct... (will be removed later)
44 * most insets: dispatch_result -> DispatchResult
46 * insetbase.h: move DispatchResult out to dispatchresult.h
48 2003-10-27 André Pönitz <poenitz@gmx.net>
50 * insetpagebreak.[Ch]: new inset for page breaks
52 * insetline.[Ch]: new inset for vertical lines
57 2003-10-25 Angus Leeming <leeming@lyx.org>
59 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
60 new virtual member functions, specialised...
61 * render_button.h (asButton):
62 * render_graphic.h (asGraphic):
63 * render_preview.h (asPreview, asMonitoredPreview): ... here.
65 * insetexternal.C: use these new functions rather than dynamic_cast.
66 Various other small simplifications.
68 2003-10-22 Angus Leeming <leeming@lyx.org>
70 * insetexternal.[Ch]: add the ability to 'preview' the external file
73 * insetinclude.C: changes due to the changes in the RenderPreview
76 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
77 message if the preview image is not available. Only initiate the
78 loading of the preview from draw(). Ditto, start the monitoring
79 of an external file from RenderMonitoredPreview::draw.
81 2003-10-22 Angus Leeming <leeming@lyx.org>
83 * insetcite.[Ch] (setLoadingBuffer): removed.
84 (getNatbibLabel): use the new Buffer::fully_loaded member function to
85 ascertain whether to proceed with the (expensive) task of computing
86 the natbib-style label. Remove the home-grown hack providing
87 similar functionality.
89 2003-10-22 Angus Leeming <leeming@lyx.org>
91 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
92 class and into an anonymous namespace.
94 2003-10-22 Angus Leeming <leeming@lyx.org>
96 * insetcommand.h: remove the display method.
100 * insetindex.h (InsetPrintIndex):
101 * insettoc.h: add a display method, returning true.
103 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
105 * insetcollapsable.h:
109 * insetinclude.h: (1) finish off the inset display() work;
110 (2) fix the "is a bit silly" bug (accessing char
113 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
117 * insetfootlike.h: re-introduce display() for insets,
118 fixing the various bugs (stretch of line above, math inset
121 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * insetbase.C (dispatch): new func
124 (priv_dispatch): new func replaces...
125 (localDispatch): this, deleted.
127 * all insets with dispatch modified for new code.
129 2003-10-15 André Pönitz <poenitz@gmx.net>
131 * insetcollapsable.[Ch]
133 * inset.h: re-add some edit(bv, index) method called by undo
135 2003-10-14 Angus Leeming <leeming@lyx.org>
137 * insetexternal.[Ch] (view, cache, view_):
138 * insetgraphics.[Ch] (view, cache, view_):
139 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
140 (statusChanged): call LyX::cref().updateInset.
142 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
143 the BufferView cache.
145 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
148 2003-10-14 Angus Leeming <leeming@lyx.org>
150 * insetinclude.C (metrics, draw): only draw the preview when previews
153 2003-10-14 André Pönitz <poenitz@gmx.net>
155 * insetcollapsable.[Ch]:
158 * inset.h: getText() as alternative to getParagraphs()
160 2003-10-13 Angus Leeming <leeming@lyx.org>
163 * insetgraphicsParams.C: displayTranslator is now a function.
165 2003-10-13 Angus Leeming <leeming@lyx.org>
167 * insetinclude.C: remove #include "PreviewImage.h".
169 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
172 * ExternalTransforms.C:
174 * insetbox.h: ws changes only
176 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * insetinclude.C (localDispatch): do not call
179 InsetOld::localDispatch, just return UNDISPATCHED
180 * insetgraphics.C (localDispatch): ditto
181 * insetcommand.C (localDispatch): ditto
183 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
185 * inset.h: get rid of RESULT typedef for dispatch_result
187 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
188 * insetert.[Ch] (localDispatch): ditto
189 * insettabular.[Ch] (localDispatch): ditto
194 * insettext.[Ch] (localDispatch): ditto
197 (moveRightIntern): ditto
198 (moveLeftIntern): ditto
201 * updatableinset.[Ch] (localDispatch): ditto
203 2003-10-12 Angus Leeming <leeming@lyx.org>
205 * renderbase.h (view, view_): removed.
206 * renderbase.C: removed.
207 * Makefile.am: remove render_base.C. The shortest lived file in
210 * renderbutton.C (draw):
211 * render_graphic.C (draw): don't cache the BufferView.
213 * insetabase.h (cache, view): removed.
215 * inset.h (generatePreview) removed.
217 * insetcallapsable.[Ch] (cache, view, view_): removed.
219 * insetcollapsable.C (draw): don't cache the BufferView.
221 * insetcommand.[Ch] (view): removed.
223 * insetexternal.[Ch] (cache, view, view_):
224 * insetgraphics.[Ch] (cache, view, view_):
225 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
227 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
228 when you have direct access to it. In fact, don't use the cache at all.
230 2003-10-10 Angus Leeming <leeming@lyx.org>
232 * insetinclude.C (metrics): use preview_->metrics.
233 (draw): use preview_->draw.
235 * render_preview.[Ch] (pimage): removed.
237 2003-10-10 Angus Leeming <leeming@lyx.org>
239 * renderers.[Ch]: removed.
242 * render_button.[Ch]:
243 * render_graphic.[Ch]:
244 * render_preview.[Ch]: new files. The first three are split out of
245 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
246 contains a re-worked InsetInclude::PreviewImpl also.
248 * Makefile.am: reflect the changed files.
251 * insetexternal.[Ch]:
252 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
254 * insetinclude.[Ch]: changes reflecting the change from
255 InsetInclude::PreviewImpl to RenderMonitoredPreview.
261 * inseturl.C: add #include "support/std_ostream.h"
263 2003-10-09 Angus Leeming <leeming@lyx.org>
265 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
266 to PreviewedInset::previewReady.
268 2003-10-09 Angus Leeming <leeming@lyx.org>
270 * insetexternal.[Ch] (statusChanged):
271 * insetgraphics.[Ch] (statusChanged): make a const member function.
273 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
276 2003-10-09 Angus Leeming <leeming@lyx.org>
278 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
279 to PreviewedInset's previewReady and removePreview member functions.
281 2003-10-08 André Pönitz <poenitz@gmx.net>
283 * insetcollapsable.C:
284 * insettext.[Ch]: saner 'init' structure
286 * updatableinset.[Ch]: remove unneeded code
288 2003-10-08 Angus Leeming <leeming@lyx.org>
290 Fix doxygen warnings.
292 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
293 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
295 2003-10-07 Angus Leeming <leeming@lyx.org>
297 * ExternalTransforms.[Ch]: new files, detailing transforms that can
298 be applied to InsetExternal.
300 * Makefile.am: add these new files.
302 * ExternalTemplate.[Ch]: add a list of available transforms to
303 class Template and a list of factory functions for transformer classes
304 that can act on this data to class Format.
306 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
308 * ExternalSupport.C: Add code to replace transform placeholders
309 with appropriate output.
311 2003-10-07 Angus Leeming <leeming@lyx.org>
313 * ExternalSupport.[Ch]: new files, moving the private member functions
314 and namespace anon functions out of insetexternal.C to here, so making
315 it easier to understand what is going on in insetexternal itself.
317 * Makefile.am: add new files.
319 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
320 allowing the class to be forward declared. (Also consistent with
321 all other Params classes.)
322 (write): moved out of the class. Move this function and those in
323 namespace anon to ExternalSupport.[Ch].
325 2003-10-07 Angus Leeming <leeming@lyx.org>
327 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
328 non-const member function.
330 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
335 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
337 2003-10-02 André Pönitz <poenitz@gmx.net>
339 * insettext.C (read): make sure there is at least one par
340 in the text after reading.
342 2003-10-01 José Matos <jamatos@lyx.org>
344 * insetbranch.C (linuxdoc, docbook): minor fix.
346 2003-10-01 Angus Leeming <leeming@lyx.org>
348 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
350 * insetexternal.[Ch]: changes due to the introduction of
351 namespace lyx::external.
353 2003-09-30 Angus Leeming <leeming@lyx.org>
355 * insetexternal.[Ch] (Params::read, write): new member functions.
357 2003-09-25 Angus Leeming <leeming@lyx.org>
359 * insetexternal.[Ch] (TempName): new (private) nested struct with
360 fake copy semantics. Enables us to use the generated copy c-tor
361 in the Params struct.
362 (Params::templatename, Params::tempname): use accessor functions.
364 2003-09-25 Angus Leeming <leeming@lyx.org>
366 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
367 function, returning a const pointer.
369 2003-09-23 Angus Leeming <leeming@lyx.org>
371 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
372 store them in a vector, preambleNames.
374 * insetexternal.C (validate): loop over all preambleNames and call
375 LaTeXFeatures::addExternalPreamble with each.
377 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
379 * insetbranch.C: bug fix in branches
381 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
383 * insetnote.C: small clean-up.
385 2003-09-19 Angus Leeming <leeming@lyx.org>
387 * inset.h (generatePreview): passed a 'Buffer const &' arg.
389 * insetcommand.C (string2params): clear params using the default c-tor.
391 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
392 InsetInclude::Params. No more data in this struct than in
393 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
394 (c-tor): no need to pass a 'Buffer const &' arg anymore.
395 (clone): remove #warning as it's now redundant.
396 (set): add a 'Buffer const &' arg. Make private.
397 (loadIfNeeded) move out of the class definition and into namespace anon.
398 (getMasterFilename, getFileName): ditto.
400 2003-09-18 Angus Leeming <leeming@lyx.org>
402 * insetcommand.C (setParams): use the params' copy constructor.
404 2003-09-18 Angus Leeming <leeming@lyx.org>
406 * insetinsetbase.h (getLabelList):
407 * insetinsetcollapsable.[Ch] (getLabelList):
408 * insetinsetinclude.[Ch] (getLabelList):
409 * insetinsetlabel.[Ch] (getLabelList):
410 * insetinsettabular.[Ch] (getLabelList):
411 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
412 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
414 2003-09-18 Angus Leeming <leeming@lyx.org>
416 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
417 redundant baggage from yesteryear.
418 Remove Params::flag as it is redundant; the info is present in
421 2003-09-18 Angus Leeming <leeming@lyx.org>
423 * insetinclude.C (latexString): add a Buffer const & arg.
425 2003-09-18 Angus Leeming <leeming@lyx.org>
430 * insettext.h: rename EnumLColor as LColor_color.
432 2003-09-18 Angus Leeming <leeming@lyx.org>
434 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
435 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
437 2003-09-16 Angus Leeming <leeming@lyx.org>
439 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
440 set before trying to generate a preview, else we trigger an assert.
442 2003-09-16 Angus Leeming <leeming@lyx.org>
444 * insetinclude.C (PreviewImpl::parent): return a const reference.
446 2003-09-16 Angus Leeming <leeming@lyx.org>
448 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
450 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
452 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
453 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
455 * insetminipage.C (metrics):
456 * insetnote.C (metrics):
457 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
458 access collapsed_ directly.
460 2003-09-16 Angus Leeming <leeming@lyx.org>
462 * insetbibitem.C: add #include "lyxfont.h".
464 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
467 * insetbibtex.C: use namespace alias for lyx::support::os
469 2003-09-16 Angus Leeming <leeming@lyx.org>
471 * insetcollapsable.h: remove unused framecolor variable.
472 Remove #include "LColor.h".
474 * insetcollapsable.C: remove unused framecolor variable.
477 * insetcollapsable.C:
485 Add #include "LColor.h".
487 2003-09-16 Angus Leeming <leeming@lyx.org>
489 * insettext.[Ch] (frameColor): new accessor function.
490 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
496 add #include "LColor.h".
498 * insetcollapsable.h: add #include "LColor.h"
499 (for its framecolor member variable).
501 2003-09-16 Angus Leeming <leeming@lyx.org>
503 * insetenv.C (constructor): use accessor functions to access InsetText variables.
505 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
506 rename frame_color as frame_color_. Make private.
508 * insettext.C: associated changes.
510 2003-09-16 Angus Leeming <leeming@lyx.org>
512 * inset.h: store background_color_ as an int, not as an LColor::color to
513 get LColor.h out of the header file.
516 * insetlatexaccent.C:
519 * insetspecialchar.C:
521 add #include "LColor.h".
523 2003-09-16 Angus Leeming <leeming@lyx.org>
525 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
528 2003-09-15 Angus Leeming <leeming@lyx.org>
530 * inset.[Ch] (setBackgroundColor, backgroundColor):
531 * insettext.[Ch] (setFrameColor):
532 pass EnumLColor args, rather than LColor::color ones.
534 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * insetwrap.C: remove usage of STRCONV
546 2003-09-15 Angus Leeming <leeming@lyx.org>
548 * renderers.C (draw):
549 * insetlatexaccent.C (draw): explicitly define the color passed to
552 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
554 * insettext.C: remove block causing problems in lockInsetInInset
555 (mentioned erroneously under Bug #1366)
557 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
559 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
562 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
564 * several files: change Assert to BOOST_ASSERT
566 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
568 * insettext.[Ch]: remove drawText[XY]Offset
570 2003-09-08 Angus Leeming <leeming@lyx.org>
572 * insetcollapsable.C:
577 * insetspecialchar.C:
580 * insettoc.C: remove redundant using directives.
582 2003-09-07 Angus Leeming <leeming@lyx.org>
585 * insetspecialchar.h: remove #include "support/std_string.h".
587 2003-09-06 Angus Leeming <leeming@lyx.org>
589 * renderers.C: add #include "insets/inset.h"
591 2003-09-05 Angus Leeming <leeming@lyx.org>
593 * *.C: strip out redundant #includes. (193 in total.)
595 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
597 * insets/insetbibtex.[Ch]:
598 * insets/insetcommand.h:
599 * insets/insetfloatlist.[Ch]:
600 * insets/insetinclude.[Ch]:
601 * insets/insettoc.[Ch]: Restricts the mouse click functionality
602 of insets like bibtex, include, toc and floatlist to the visible
603 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
604 up the dialogs. Cursor has to be in front of the inset (i.e.
605 start of row) for this to function.
607 2003-09-04 Angus Leeming <leeming@lyx.org>
609 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
610 structure outside of the Format struct. Format::preambleName refers to
611 an item in the map of all preamble snippets.
612 Make use of the new Debug::EXTERNAL flag.
614 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
615 (validate): Small change due to the changed storage of preamble snippets.
617 2003-09-04 Angus Leeming <leeming@lyx.org>
619 * insetgraphics.C: #include "support/os.h"
621 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
622 * insettabular.h: move #include "FuncStatus.h" out of the header file.
623 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
625 * insetcollapsable.h:
627 * insetnote.C: move #include "funcrequest.h" out of the header file.
629 2003-09-03 Angus Leeming <leeming@lyx.org>
631 * insetexternal.C (updateExternal):
632 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
635 2003-09-03 Angus Leeming <leeming@lyx.org>
637 * insetexternal.C: don't bring namespace lyx::support into the global
640 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
642 * insetbranch.C: Add Branch: to label
644 2003-09-02 John Levon <levon@movementarian.org>
647 * insettext.C: remove cursor.i[xy]()
649 2003-08-28 Angus Leeming <leeming@lyx.org>
651 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
652 "sh ", enabling the conversion to be carried out even if the script
655 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
657 * most files: change to use const Buffer refs
659 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
661 * insetfootlike.C: whitespace.
663 2003-08-26 John Levon <levon@movementarian.org>
667 * insetindex.h: remove remaining mentions of needFullRow()
669 2003-08-26 André Pönitz <poenitz@gmx.net>
675 * inset.[Ch]: remove InsetOld::par_owner_ & handling
677 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
679 * insetbranch.C: Small fix to prevent a crash on loading.
681 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
686 * insetcollapsable.h:
688 * insetfloatlist.[Ch]:
689 * insetfootlike.[Ch]:
697 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
698 altogether, putting the logic in metrics/draw in the insets.=20
699 Draws short single row insets with more or less realistic metrics.
701 2003-08-19 André Pönitz <poenitz@gmx.net>
703 * insettext.C: use new RowPainter interface
705 2003-08-18 John Levon <levon@movementarian.org>
707 * insetref.C: require amsmath for eqref
709 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
713 * insetbranch.[Ch]: implements the 'branch inset'
714 idea. This allows the output of various versions of a document
715 from a single source version, selectively outputing or suppressing
716 output of parts of the text.
717 This implementation contains a 'branch list editor' in a separate
718 tab of the document settings dialog. Branches are user definable
719 and have a "display colour" to distinguish them on-screen.
721 ColorHandler was somewhat cleaned up.
722 (1) make possible a dynamically growing LColor list by allowing
723 the graphic context cache to grow along (vector);
724 (2) eliminate an IMHO unnecessary step in colour allocation.
726 2003-08-15 André Pönitz <poenitz@gmx.net>
728 * insettext.[Ch]: adjust after rowlist split
730 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
732 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
733 rename valign-center to valign-middle;
734 rename VALIGN_CENTER to VALIGN_MIDDLE
736 2003-08-11 André Pönitz <poenitz@gmx.net>
738 * inset.h: remove resizeLyXText
741 * insetcollapsable.[Ch]:
743 * insettabular.[Ch]: adjust
745 * insettext.[Ch]: remove saveLyXTextState,
746 restoreLyXTextStat, sstate, reinitLyXText
748 2003-08-07 André Pönitz <poenitz@gmx.net>
750 * inset.[Ch]: move non-crucial functions out-of-line
752 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
753 remove duplicated code.
755 2003-08-05 André Pönitz <poenitz@gmx.net>
758 * insetcollapsable.[Ch]:
771 * updatableinset.[Ch]: rip out "deep update"
773 * insettext.C (localDispatch): merge cases with default branch
775 * insettext.C (frame_x,y,w,h): replace member with automatic variables
777 * insettabular.[Ch] (updateLocal): simplify logic
779 2003-08-04 André Pönitz <poenitz@gmx.net>
781 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
782 is 'FULL' all the time.
784 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * insetert.C (get_new_label): only add ... to the (closed) label
787 when the string has been shortened
789 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
791 * Always use std::endl with lyxerr
793 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
795 * insetnote.C: update \author list
797 2003-07-31 André Pönitz <poenitz@gmx.net>
799 * insetcollapsable.h:
801 * insettext.[Ch]: remove toggleSelection
803 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
805 (with help from Juergen Spitzmueller)
806 * insetnote.C: add add i18n support. Use Prefs-definable
807 colours for Comment and Greyedout.
809 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
811 * insetcollapsable.[Ch]:
813 * insetert.C: factor out the detection of clicking on the inset
814 button as 'hitButton'. John Levon contributed.
816 2003-07-30 André Pönitz <poenitz@gmx.net>
818 * insetcollapsable.C:
820 * insettabular.C: parantheses, localize vars etc.
822 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
824 * insetnote.C: Implement a newenvironment in preamble for
825 greyedout. Patch provided by Jürgen Spitzmüller.
827 2003-07-29 Angus Leeming <leeming@lyx.org>
829 * insetcommand.C (localDispatch): default to
830 InsetOld::localDispatch.
832 * insetbibitem.C (localDispatch):
833 * insetbibtex.C (localDispatch): remove call to
834 ChangeCitationsIfUnique.
836 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
838 * insetexternal.C (read): use pushpophelper.
840 2003-07-28 José Matos <jamatos@lyx.org>
842 * insetext.C (read): \end_document replaces \the_end.
844 2003-07-28 José Matos <jamatos@fep.up.pt>
846 * insetert.C (write): \layout -> \begin_layout.
847 Add missing \end_layout.
849 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * insetquotes.C: document a bit the format
853 * insettabular.C (write): remove extra space
855 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
856 * insetnote.C: Umpf. Hope I *now* get it right :-(
858 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
859 *insetnote.C: did the right fix to greyedout: \color
860 instead of \textcolor.
862 2003-07-28 Angus Leeming <leeming@lyx.org>
864 * insetbibtex.h: remove extraneous forward declaration.
867 * insetbibtex.h: Also remove long-dead Holder member class
870 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
872 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
875 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * insetwrap.C (addToToc): adjust for lyx::toc
879 * insetfloatlist.C (ascii): adjust for lyx::toc
881 * insetfloat.C (addToToc): adjust for lyx::toc
883 2003-07-27 José Matos <jamatos@fep.up.pt>
885 * insetnote.h (linuxdoc,docbook): update support.
887 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * insetfloat.C (wide): add a space to label, for consistency
891 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * insettext.C (nextChange): adjust for lyx::find
894 (searchForward): ditto
895 (searchBackward): ditto
897 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * insetgraphicsParams.C:
900 * insetexternal.C: declare extern displayTranslator
903 * renderers.C: add #include "support/LAssert.h"
905 2003-07-27 José Matos <jamatos@fep.up.pt>
907 * insetfloat.[Ch] (linuxdoc):
908 * insetgraphics.C (linuxdoc):
909 * insettabular.C (linuxdoc):
910 * insettext.[Ch] (linuxdoc): add support for tables and figures
913 2003-07-27 José Matos <jamatos@fep.up.pt>
915 * insetinclude (latex): comply with makeLaTeXFile argument change.
917 2003-07-26 Asger Alstrup <alstrup@local>
919 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
920 the undo crashes. We'll see what problems other places this will
923 2003-07-26 Angus Leeming <leeming@lyx.org>
925 * insetgraphics.C: remove unused declaration of system_tempdir.
927 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * rename Inset to InsetOld
931 * all inset files (clone): return a auto_ptr<InsetBase>
933 2003-07-23 Angus Leeming <leeming@lyx.org>
935 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
937 2003-07-23 Angus Leeming <leeming@lyx.org>
939 * mailinset.[Ch] (inset2string):
940 * insetcommand.[Ch] (inset2string):
941 * insetert.[Ch] (inset2string):
942 * insetexternal.[Ch] (inset2string):
943 * insetfloat.[Ch] (inset2string):
944 * insetgraphics.[Ch] (inset2string):
945 * insetinclude.[Ch] (inset2string):
946 * insetminipage.[Ch] (inset2string):
947 * insetnote.[Ch] (inset2string):
948 * insettabular.[Ch] (inset2string):
949 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
951 * insetexternal.[Ch]:
952 * insetgraphics.[Ch]: get rid of the view() function. Associated
953 changes to the mailers' string2params and params2string functions.
955 2003-07-23 Angus Leeming <leeming@lyx.org>
957 * insetexternal.[Ch]: store the external file name in a FileName
958 member variable rather than a string + associated changes.
960 2003-07-21 Angus Leeming <leeming@lyx.org>
962 * insetgraphicsParams.[Ch]: store the graphics file name in
963 a FileName member variable rather than a string.
965 * insetgraphics.[Ch]:
966 * insetgraphicsParams.[Ch]: Associated changes.
968 2003-07-21 Angus Leeming <leeming@lyx.org>
970 * insetgraphics.[Ch] (string2params, params2string): passed a
971 buffer_path argument.
974 2003-07-21 Angus Leeming <leeming@lyx.org>
977 * insetgraphicsParams.[Ch]:
979 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
981 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
983 * insetnote.C: fixed greyout and conditionals layout foul-ups.
985 2003-07-18 André Pönitz <poenitz@gmx.net>
988 * insetminipage.[Ch]:
992 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
994 2003-07-18 André Pönitz <poenitz@gmx.net>
998 * insetcollapsable.C:
1002 * insetgraphics.[Ch]:
1003 * insetlatexaccent.[Ch]:
1008 * insetspecialchar.C:
1009 * insettabular.[Ch]:
1011 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1013 2003-07-17 André Pönitz <poenitz@gmx.net>
1015 * insetcollapsable.C:
1017 * insettext.C: don't call Inset::update() anymore
1020 * insettabular.[Ch]: remove unneeded in_update_ members
1022 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1024 2003-07-16 André Pönitz <poenitz@gmx.net>
1026 * insettext.C (selectAll): remove
1028 2003-07-16 John Levon <levon@movementarian.org>
1031 * insetnote.C: implement showInsetDialog()
1033 2003-07-15 André Pönitz <poenitz@gmx.net>
1036 * insettext.C: refresh_status tristate -> need_update bool
1038 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1040 * insettext.C: adjust call to LyXText::init
1042 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1044 * insettext.C: use bufferview_funcs->replaceSelection()
1045 to delete selections in some cases (bugs 441, 673, 702, 954).
1047 2003-07-14 André Pönitz <poenitz@gmx.net>
1049 * insettext.C (draw): use slimmed down rowpainter interface
1051 2003-07-14 André Pönitz <poenitz@gmx.net>
1053 * insetcollapsable.C:
1055 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1056 remove unused BufferView * argument
1058 2003-07-14 André Pönitz <poenitz@gmx.net>
1060 * insettext.[Ch]: used cached metrics a bit more
1062 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1064 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1066 2003-07-10 André Pönitz <poenitz@gmx.net>
1069 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1071 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * introduce namespace lyx::graphics
1075 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * introduce namespace lyx::support
1079 2003-06-30 André Pönitz <poenitz@gmx.net>
1081 * insetcite.C (localDispatch): fix case of missing return value
1083 * insetcite.C (ascii): remove unneeded temporary
1085 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * insetspace.h: fix \file
1089 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1090 * insetinclude.C (fillWithBibKeys): ditto
1092 * insetbibitem.C: fix type const order
1094 * inset.C (getLyXText): add varname for arg
1096 * ExternalTemplate.h: fix type const order
1098 2003-06-27 André Pönitz <poenitz@gmx.net>
1100 * insettext.C: take care of removed LyXCursor::row_ member
1102 * insettext.[Ch]: use new TextCursor struct for sstate
1104 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1106 * inseterror.[Ch]: removed
1108 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1110 * insetinclude.C (docbook): use parseError instead of sgmlError
1112 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1114 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1115 of BufferList::loadLyXFile
1117 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * insettext.C (update): simplify
1120 (updateLocal): remove commented code
1121 (insetUnlock): simplify
1122 (lockInset): simplify
1123 (updateInsetInInset): simplify
1124 (localDispatch): simplify
1126 (resizeLyXText): simplify
1127 (collapseParagraphs): simplify
1129 * insetert.C (get_new_label): simplify
1131 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1133 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1134 pasteSelection with index
1136 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1140 2003-06-16 André Pönitz <poenitz@gmx.net>
1142 * insetbase.h: new virtual base function clone()
1144 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1145 Inset * clone() -> InsetBase * clone()
1147 2003-06-13 André Pönitz <poenitz@gmx.net>
1149 * insettabular.[Ch]: make tabular a proper member
1151 2003-06-12 André Pönitz <poenitz@gmx.net>
1153 * insettabular.[Ch]: some renaming plus whitespace
1155 2003-06-11 Angus Leeming <leeming@lyx.org>
1157 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1160 * insetbutton.[Ch]: removed.
1161 * graphicinset.[Ch]: renamed as renderers.[Ch].
1163 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1164 Create a new class ButtonRenderer using the InsetButton::metrics() and
1166 Derive both from a common RenderedInset base class.
1168 * insetcommand.[Ch]:
1169 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1170 Give it a ButtonRenderer member variable. Use it.
1171 Give the classes working copy c-tors.
1172 No longer derive from boost::noncopyable.
1174 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1175 display its contents as a button or as a graphic.
1177 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1180 2003-06-11 Angus Leeming <leeming@lyx.org>
1182 * insetcite.C (localDispatch): reformat.
1184 * insetref.C (localDispatch): enable dialog to be lauched.
1186 2003-06-11 John Levon <levon@movementarian.org>
1188 * insettabular.C: correctly mark all cells as erased
1190 2003-06-11 Angus Leeming <leeming@lyx.org>
1192 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1193 ExternalTemplate but its name, templatename. This means that a file
1194 containing a reference to an External Template not installed on the
1195 current machine will be saved retaining this info rather than inserting
1196 the first "valid" template from the list of templates.
1198 As a by product, the visual statement that the Template is missing is
1201 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1203 * insettext.C (appendParagraphs): remove some commented code.
1205 2003-06-10 Angus Leeming <leeming@lyx.org>
1207 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1210 * insetexternal.[Ch]: move tempname_ into the Params struct.
1211 (Params d-tor): new function, to clean-up this temp file.
1212 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1214 (editExternal, doSubstitution): move out of class.
1216 2003-06-10 Angus Leeming <leeming@lyx.org>
1218 * graphicinset.[Ch] (params): removed.
1219 * graphicinset.h (operator=): declared private but not defined.
1220 (statusMessage): made private.
1222 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1224 2003-06-07 John Levon <levon@movementarian.org>
1226 * insetert.C (latex): make a newline mean just that not
1229 2003-06-07 José Matos <jamatos@fep.up.pt>
1231 * insethfill.[Ch] (linuxdoc, docbook): implement output
1232 * insetspace.C (linuxdoc, docbook): remove coments as the code
1235 2003-06-06 José Matos <jamatos@fep.up.pt>
1237 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1239 2003-06-06 André Pönitz <poenitz@gmx.net>
1241 * insetwrap.[Ch]: code compactification
1243 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1245 * mailinset.C (updateDialog): use Dialogs::visible
1247 2003-06-04 Angus Leeming <leeming@lyx.org>
1249 * graphicinset.C (draw): add a comment for the #if 0 block.
1251 * insetexternal.h: remove Params::parameters variable.
1252 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1253 and read it back making full use of LyXLex.
1255 2003-06-04 André Pönitz <poenitz@gmx.net>
1257 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1259 2003-06-04 John Levon <levon@movementarian.org>
1261 * insettabular.C: back out tall table speed up. It was broken
1263 2003-06-03 Angus Leeming <leeming@lyx.org>
1265 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1266 Remove ViewCommand and UpdateCommand.
1268 * graphicinset.C (update): bug fix. Set the params before calling the
1270 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1271 BufferView cache to enable the InsetExternal::editCommand to be invoked
1272 from the frontends. Would not be needed if this were dispatched properly.
1273 (old_ascent_): variable removed.
1275 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1276 do any necessary conversions of external material. Also use the
1277 new GraphicsInset to display the inset within LyX.
1279 2003-06-03 Angus Leeming <leeming@lyx.org>
1281 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1282 and move it somewhere where InsetExternal can use it too.
1284 * Makefile.am: add the new files.
1286 * insetgraphics.[Ch]: make use of the new GraphicInset.
1288 2003-06-03 John Levon <levon@movementarian.org>
1291 * insetbibitem.[Ch]:
1294 * insetcommand.[Ch]:
1298 * insetexternal.[Ch]:
1302 * insetgraphics.[Ch]:
1304 * insetinclude.[Ch]:
1307 * insetlatexaccent.[Ch]:
1308 * insetmarginal.[Ch]:
1309 * insetminipage.[Ch]:
1316 * insetspecialchar.[Ch]:
1317 * insettabular.[Ch]:
1319 * insetthereom.[Ch]:
1322 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1324 * insetgraphics.[Ch]:
1325 * insetgraphicsParams.[Ch]: always store an absolute
1328 2003-06-02 André Pönitz <poenitz@gmx.net>
1332 * insetlatexaccent.C: remove duplicated call to metrics()
1334 2003-06-02 John Levon <levon@movementarian.org>
1336 * insettabular.C: fix resize of column width
1338 2003-06-02 John Levon <levon@movementarian.org>
1343 * insetparent.C: remove insetparent
1345 2003-06-02 André Pönitz <poenitz@gmx.net>
1352 * insetcollapsable.[Ch]:
1356 * insetgraphics.[Ch]:
1357 * insetinclude.[Ch]:
1358 * insetlatexaccent.[Ch]:
1359 * insetminipage.[Ch]:
1360 * insetnewline.[Ch]:
1363 * insetspecialchar.[Ch]:
1364 * insettabular.[Ch]:
1365 * insettext.[Ch]: unify first drawing phase
1368 * insetbase.h: move validate() to the base
1370 2003-05-31 Angus Leeming <leeming@lyx.org>
1372 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1374 2003-05-30 André Pönitz <poenitz@gmx.net>
1379 * insetcaption.[Ch]:
1380 * insetcollapsable.[Ch]:
1383 * insetgraphics.[Ch]:
1384 * insetinclude.[Ch]:
1385 * insetlatexaccent.[Ch]:
1386 * insetnewline.[Ch]:
1389 * insetspecialchar.[Ch]:
1390 * insettabular.[Ch]:
1392 * updatableinset.[Ch]: unify second drawing phase
1394 2003-05-30 John Levon <levon@movementarian.org>
1396 * insetgraphics.C: fix a bformat
1398 2003-05-29 John Levon <levon@movementarian.org>
1400 * insettabular.C: remove unused bufferOwner()
1402 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * insettext.C (lockInsetInInset): adjust
1405 (getLabelList): use const_iterator, adjust
1406 (getInsetFromID): use const_iterator, adjust
1407 (addPreview): use const_iterator, adjust
1409 * insetwrap.C (clone): remove const_cast
1411 * insetnote.C (clone): remove const_cast
1413 * insetminipage.C (clone): remove const_cast
1415 * insetmarginal.C (clone): remove const_cast
1417 * insetfoot.C (clone): remove const_cast
1419 * insetfloat.C (clone): remove const_cast
1421 * insetert.C (clone): remove const_cast
1423 * delete commented same_id functions from a lot of files.
1425 2003-05-28 John Levon <levon@movementarian.org>
1431 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1433 * insetminipage.C: fix metrics (bug 1144)
1435 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * insettext.C (saveLyXTextState): adjust
1438 (restoreLyXTextState): adjust
1441 (unlockInsetInInset): adjust
1442 (localDispatch): adjust
1443 (getLyXText): adjust
1445 * insettabular.C (insertAsciiString): adjust
1447 2003-05-27 André Pönitz <poenitz@gmx.net>
1450 * insetcollapsable.C:
1453 * insetlatexaccent.C:
1458 * insetspecialchar.C:
1460 * insettext.C: dim.w -> dim.wid
1462 2003-05-26 John Levon <levon@movementarian.org>
1464 * insettabular.C: avoid drawing all of a long table
1465 if it's not needed. A big speedup
1467 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * remove same_id from function signatures, adjust
1471 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * insettext.C (InsetText): adjust
1475 (setParagraphData): separate same_id cases, adjust
1476 (appendParagraphs): adjust
1477 (appendParagraphs): adjust
1479 2003-05-23 André Pönitz <poenitz@gmx.net>
1481 * insetbutton.h: whitespace
1483 * insettabular.C: more compact code
1485 * updatableinset.C: remove const_cast
1488 2003-05-23 Angus Leeming <leeming@lyx.org>
1490 * insetexternal.C (write): check how many lines are output.
1491 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1492 if the template has defined it.
1494 2003-05-23 Angus Leeming <leeming@lyx.org>
1496 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1498 2003-05-23 Angus Leeming <leeming@lyx.org>
1500 * insetfoot.C (latex):
1501 * inseturl.C (latex): rename fragile as moving_arg.
1503 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * inseterror.C (localDispatch): comment out unused var.
1507 2003-05-22 Angus Leeming <leeming@lyx.org>
1509 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1510 passed through the LatexRunParams arg.
1512 2003-05-22 Angus Leeming <leeming@lyx.org>
1514 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1515 through the LatexRunParams arg.
1517 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1518 arg rather than through a global var.
1520 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * insetspecialchar.C (dimension): use a string.
1524 2003-05-22 Angus Leeming <leeming@lyx.org>
1526 * insetbibtex.C (latex):
1527 * insetgraphics.C (latex):
1528 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1529 runparams rather than from the buffer itself.
1531 2003-05-22 Angus Leeming <leeming@lyx.org>
1533 * inset*.[Ch] (latex):
1534 passed a LatexRunParams parameter.
1536 * insetgraphics.C (latex): actually use it ;-)
1538 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1540 * insetfloat.C (addToToc): trivial compile fix
1542 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * insettext.[Ch] (paragraph): delete unused function
1546 * insetfloat.C (addToToc): parlist simplfication
1548 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1550 * insetspace.[Ch]: added (new space insets)
1552 * inset.h: handle new space insets
1554 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * insetfloat.C (addToToc): adjust
1558 2003-05-21 André Pönitz <poenitz@gmx.net>
1560 * insettext.[Ch]: fix drawing bug introduced earlier
1562 2003-05-19 André Pönitz <poenitz@gmx.net>
1564 * insetspecialchar.C: fix bug introduced yesterday
1566 2003-05-19 André Pönitz <poenitz@gmx.net>
1570 * insetcollapsable.[Ch]:
1574 * insetgraphics.[Ch]:
1575 * insetgraphicsParams.[Ch]:
1576 * insetlatexaccent.[Ch]:
1577 * insetminipage.[Ch]:
1578 * insetnewline.[Ch]:
1580 * insetspecialchar.[Ch]:
1581 * insettabular.[Ch]:
1582 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1584 2003-05-19 André Pönitz <poenitz@gmx.net>
1587 * insettext.C: more insetenv
1589 2003-05-16 André Pönitz <poenitz@gmx.net>
1592 * insetminimpage.[Ch]:
1593 * insetcollapsable.[Ch]: fix #832
1595 2003-05-16 André Pönitz <poenitz@gmx.net>
1598 * insetbibitem.[Ch]:
1602 * insetcollapsable.[Ch]:
1603 * insetcommand.[Ch]:
1606 * insetexternal.[Ch]:
1607 * insetfloatlist.[Ch]:
1608 * insetgraphics.[Ch]:
1609 * insetinclude.[Ch]:
1612 * insetlatexaccent.[Ch]:
1615 * insettabular.[Ch]:
1619 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1621 2003-05-13 André Pönitz <poenitz@gmx.net>
1624 * insetcollapsable.C:
1628 * insetwrap.C: tostr from own header
1640 * insetwrap.C: STRCONV
1643 2003-05-12 André Pönitz <poenitz@gmx.net>
1655 * insetwwrap.C: boost::format -> bformat all over the place
1657 2003-05-05 André Pönitz <poenitz@gmx.net>
1659 * insettext.h: add missing #include <map>
1661 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1663 * insettext.C (InsetText): parlist cleanup
1666 (insetUnlock): ditto
1668 (lockInsetInInset): ditto
1672 (searchBackward): ditto
1673 (collapseParagraphs): ditto
1675 2003-05-06 John Levon <levon@movementarian.org>
1677 * insetcaption.C: don't cast wrap inset to InsetFloat
1680 * insetfloat.C: remove unneeded type() function
1682 2003-05-05 André Pönitz <poenitz@gmx.net>
1686 * insettabular.[Ch]:
1687 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1688 replace getFirstParagraph() by getParagraphs()
1690 2003-05-03 John Levon <levon@movementarian.org>
1692 * insetcollapsable.h:
1693 * insetcollapsable.C:
1699 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1700 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1701 getCursor(). Remove explicit cursor hides.
1703 2003-05-02 André Pönitz <poenitz@gmx.net>
1705 * insettext.C: remove unneeded &*
1707 2003-04-30 John Levon <levon@movementarian.org>
1709 * insettabular.C: fix edit message
1711 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * insettext.C (setFont): do not convert iterator -> pointer
1715 * insettabular.C (localDispatch): do not convert iterator -> pointer
1717 (tabularFeatures): ditto
1719 2003-04-29 André Pönitz <poenitz@gmx.net>
1721 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1723 2003-04-28 André Pönitz <poenitz@gmx.net>
1725 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1728 2003-04-25 André Pönitz <poenitz@gmx.net>
1730 * insetenv.C: derive from InsetText instead of InsetCollapsable
1732 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * insetexternal.C (string2params): dont do anything if the string
1736 * insetgraphics.C (string2params): ditto
1737 * insetcommand.C (string2params): ditto
1738 * insetert.C (string2params): ditto
1739 * insetfloat.C (string2params): ditto
1740 * insetinclude.C (string2params): ditto
1741 * insetminipage.C (string2params): ditto
1742 * insettabular.C (string2params): ditto
1743 * insetwrap.C (string2params): ditto
1745 2003-04-24 André Pönitz <poenitz@gmx.net>
1747 * insetref.C: support for eqref
1749 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1751 * insetert.C (read): use ParagraphList::iterator.
1753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * insetquotes.C (latex): comment some code and add warnings.
1757 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1759 * insetexternal.C (localDispatch): added a missing DISPATCHED
1761 2003-04-12 John Levon <levon@movementarian.org>
1763 * insetwrap.C (addToToc): fix a crash, conversion
1764 from while to for loop forgot to remove the explicit
1767 2003-04-10 John Levon <levon@movementarian.org>
1769 * insettabular.C (tabularFeature): make sure
1770 to update the dialog when we change something
1773 (getStatus): don't disable some lfuns (bug 939)
1775 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * insettext.C (saveLyXTextState): adjust
1778 (localDispatch): adjust
1784 * insettabular.C (localDispatch): adjust
1786 (tabularFeatures): adjust
1788 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1790 * insettabular.C (searchForward,searchBackward): fix bug 782
1792 2003-04-07 John Levon <levon@movementarian.org>
1795 * insettext.C: clear status message on inset exit
1797 2003-04-03 John Levon <levon@movementarian.org>
1799 * insetcommand.C: return dispatched on DIALOG_UPDATE
1801 2003-04-02 John Levon <levon@movementarian.org>
1803 * insettabular.C: tab lfuns renamed
1805 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * insettext.C (update): move towards ParagraphList
1808 (updateLocal): ditto
1810 (insetUnlock): ditto
1812 (lockInsetInInset): ditto
1813 (updateInsetInInset): ditto
1814 (localDispatch): ditto
1817 (resizeLyXText): ditto
1818 (searchBackward): ditto
1819 (collapseParagraphs): ditto
1822 * insetwrap.C (InsetWrap): adjust
1823 (addToToc): adjust and rewrite loop
1825 * insettext.[Ch] (paragraph): delete function
1827 * insettabular.C (moveNextCell): adjust
1828 (movePrevCell): adjust
1829 (insertAsciiString): adjust
1831 * insetfloat.C (InsetFloat): adjust
1834 * insetert.C (InsetERT): adjust
1835 (write): adjust, and rewrite loop
1836 (latex): adjust, and rewrite loop
1837 (linuxdoc): adjust, and rewrite loop
1838 (docbook): adjust, and rewrite loop
1839 (localDispatch): adjust
1840 (get_new_label): adjust
1842 2003-04-01 John Levon <levon@movementarian.org>
1844 From Alfredo Braunstein
1847 * insetbutton.C: add localDispatch()
1849 * insetcommand.C: return DISPATCHED when edit() called
1851 * insettext.C: fix bug 967
1853 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * insettext.C: adjust
1857 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * insettext.C (draw): adjust
1860 (crow): return a RowList::iterator not a Row*
1862 * insetminipage.C (localDispatch): adjust
1864 * insetert.C (localDispatch): adjust
1866 2003-03-31 John Levon <levon@movementarian.org>
1869 * insetgraphicsParams.C: use_gui moved to lyx_gui
1871 2003-03-31 John Levon <levon@movementarian.org>
1873 * insettext.C: Alert fix
1875 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1877 * insettext.C (ascent): adjust for RowList
1880 (getLyXText): adjust
1881 (toggleSelection): adjust
1883 * insetminipage.C (localDispatch): adjust for RowList
1885 * insetert.C (localDispatch): adjust for RowList
1886 (getMaxWidth): adjust for RowList
1888 2003-03-29 John Levon <levon@movementarian.org>
1890 * insetert.C: Alert cleanup
1892 2003-03-29 John Levon <levon@movementarian.org>
1894 * insettabular.C: Alert fix
1896 2003-03-28 John Levon <levon@movementarian.org>
1898 * insetfloat.C: reset label on INSET_MODIFY
1900 2003-03-28 John Levon <levon@movementarian.org>
1902 * insetgraphicsParams.C: read subcaptionText as a whole line
1905 2003-03-28 John Levon <levon@movementarian.org>
1907 * insettext.C: remove unused prototypes
1909 2003-03-25 Angus Leeming <leeming@lyx.org>
1911 * insetbibitem.C (localDispatch): repaint the view after modifying
1912 a bibitem inset in case the maximum InsetBibitem width has changed.
1914 2003-03-25 John Levon <levon@movementarian.org>
1917 * insettabular.C: LyXText renamings
1919 2003-03-24 John Levon <levon@movementarian.org>
1921 * insettext.C: remove some dead code. Fix bug 972 and
1922 related by posting a repaint in updateLocal(), and making
1923 the SEL functions set SELECTION.
1925 2003-03-22 John Levon <levon@movementarian.org>
1928 * inset.C: remove no-longer-needed topx_set
1930 * insetcollapsable.h:
1931 * insetcollapsable.C: remove dead code
1934 * insetert.C: rebreak the rows when a possible
1935 change in size is made, and reset the cursor
1938 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1940 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1941 topx_set. Fix drawing errors for clearInset(). Remove
1942 some unnecessary uses of topx, which should die.
1944 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1945 is no longer needed. Replace it with an ugly hack.
1947 2003-03-20 John Levon <levon@movementarian.org>
1950 * insetcollapsable.h:
1951 * insetcollapsable.C:
1959 * insettext.C: remove spurious font parameter
1960 from update(). Fix drawing of ERT insets inside
1961 insets (bug 966). Remove unused mark_dirty from
1962 tabular's updateLocal()
1964 2003-03-19 John Levon <levon@movementarian.org>
1973 * insetwrap.C: remove unused getter/setters
1975 2003-03-19 John Levon <levon@movementarian.org>
1977 * several files: bv->updateInset() doesn't take
1978 a bool mark_dirty any more
1980 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * adjust for BufferView* arg removal from lyxtext.
1984 2003-03-17 John Levon <levon@movementarian.org>
1986 * most files: remove the "cleared" parameter
1987 to draw in favour of always clearing. Associated
1990 2003-03-16 John Levon <levon@movementarian.org>
1992 * insettext.C: remove unused s.refresh
1994 2003-03-13 Angus Leeming <leeming@lyx.org>
1996 * insettext.C (edit): replace Dialogs::updateParagraph with
1997 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1999 2003-03-13 André Pönitz <poenitz@gmx.net>
2001 * Makefile.am: insert insetenv
2003 * insethenv.[Ch]: new files, currently inactive
2005 2003-03-12 John Levon <levon@movementarian.org>
2015 * insettext.C: use new insetnewline
2017 2003-03-12 John Levon <levon@movementarian.org>
2019 * insettext.C: readToken became readParagraph
2021 2003-03-12 John Levon <levon@movementarian.org>
2023 * insettext.C: use parlist iterator for reading contents
2025 2003-03-12 John Levon <levon@movementarian.org>
2027 * insettext.C: name change to readToken()
2029 2003-03-11 André Pönitz <poenitz@gmx.net>
2031 * Makefile.am: insert insethfill
2033 * insethfill.[Ch]: new files
2035 2003-03-10 Angus Leeming <leeming@lyx.org>
2037 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2039 (hideDialog): calls the new static Dialogs::hide() method.
2041 * insetbibitem.C (edit):
2042 * insetbibtex.C (edit):
2043 * insetcite.C (edit):
2044 * insetcommand.C (localDispatch):
2045 * inseterror.C (d-tor):
2046 * insetert.C (showInsetDialog):
2047 * insetexternal.C (localDispatch, edit):
2048 * insetfloat.C (localDispatch, showInsetDialog):
2049 * insetfloatlist.C (edit):
2050 * insetgraphics.C (localDispatch, edit):
2051 * insetinclude.C (localDispatch, edit):
2052 * insetindex.C (edit):
2053 * insetlabel.C (edit):
2054 * insetminipage.C (localDispatch, showInsetDialog):
2055 * insetref.C (edit):
2056 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2057 resetPos, showInsetDialog, openLayoutDialog):
2058 * insettoc.C (edit):
2059 * inseturl.C (edit):
2060 * insetwrap.C (localDispatch, showInsetDialog):
2061 changes due to the changed MailInset interface.
2063 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2065 * insetfloat.h: Set default placement to an empty string.
2067 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2069 * insettext.C (latex): adjust call to latexParagraphs.
2071 2003-03-10 Angus Leeming <leeming@lyx.org>
2073 * mailinset.C: warn the user if the BufferView has not been cached.
2075 2003-03-10 Angus Leeming <leeming@lyx.org>
2077 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2079 * insetcommand.h (inset):
2080 * insetert.h (inset):
2081 * insetexternal.h (inset):
2082 * insetfloat.h (inset):
2083 * insetgraphics.h (inset):
2084 * insetinclude.h (inset):
2085 * insetminipage.h (inset):
2086 * insettabular.h (inset):
2087 * insetwrap.h (inset):
2088 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2090 2003-03-10 Angus Leeming <leeming@lyx.org>
2092 * insetcommand.C (string2params):
2093 * insetexternal.C (string2params):
2094 * insetfloat.C (string2params):
2095 * insetgraphics.C (string2params):
2096 * insetinclude.C (string2params):
2097 * insetminipage.C (string2params):
2098 * insettabular.C (string2params):
2099 * insetwrap.C (string2params): cure warning message about missing
2102 2003-03-09 Angus Leeming <leeming@lyx.org>
2104 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2105 it to communicate with the frontend dialogs.
2107 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2108 contents of this inset!
2110 2003-03-07 Angus Leeming <leeming@lyx.org>
2112 * inseterror.C (localDispatch): new method; calls edit() on
2115 2003-03-07 Angus Leeming <leeming@lyx.org>
2117 * insetbibitem.C (localDispatch):
2118 * insetbibtex.C (localDispatch):
2119 * insetlabel.C (localDispatch):
2120 rewrite as a switch.
2122 2003-03-07 Angus Leeming <leeming@lyx.org>
2124 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2125 it to communicate with the frontend dialogs.
2127 2003-03-07 Angus Leeming <leeming@lyx.org>
2129 * insetexternal.C: remove operator== and operator!= for
2130 InsetExternal::Params. They were used only by the old controller
2133 2003-03-07 Angus Leeming <leeming@lyx.org>
2135 * insetcommand.C (localDispatch):
2136 * insetexternal.C (localDispatch):
2137 * insetfloat.C (localDispatch):
2138 * insetinclude.C (localDispatch):
2139 * insetminipage.C (localDispatch):
2140 * insetwrap.C (localDispatch):
2141 add LFUN_INSET_DIALOG_UPDATE to the switch.
2143 2003-03-07 Angus Leeming <leeming@lyx.org>
2145 * insetcommand.C (string2params):
2146 * insetexternal.C (string2params):
2147 * insetfloat.C (string2params):
2148 * insetinclude.C (string2params):
2149 * insetwrap.C (string2params): use LyXLeX more.
2152 * insetexternal.[Ch]:
2154 * insetinclude.[Ch]:
2155 * insetwrap.[Ch]: change Mailer::name_ to be static.
2157 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2158 it to communicate with the frontend dialogs.
2160 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2163 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2165 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2167 * insettext.C (updateLocal): un-const function
2168 (updateLocal): adjust
2169 (collapseParagraphs): un-const function
2170 (collapseParagraphs): adjust
2172 2003-03-05 Angus Leeming <leeming@lyx.org>
2174 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2175 it to communicate with the frontend dialogs.
2177 2003-03-05 Angus Leeming <leeming@lyx.org>
2179 * insetcollapsable.C (draw): cache the BufferView.
2181 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2182 it to communicate with the frontend dialogs.
2184 2003-03-05 Angus Leeming <leeming@lyx.org>
2186 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2189 2003-03-05 Angus Leeming <leeming@lyx.org>
2191 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2193 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2194 it to communicate with the frontend dialogs.
2196 2003-03-05 Angus Leeming <leeming@lyx.org>
2198 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2199 it to communicate with the frontend dialogs.
2201 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * insettext.C (collapseParagraphs): adjust
2204 (appendParagraphs): make it take a Buffer* instead of a
2205 BufferParams& as arg.
2206 (appendParagraphs): adjust
2208 2003-03-04 Angus Leeming <leeming@lyx.org>
2210 * insetbibitem.C (localDispatch):
2211 * insetbibtex.C (localDispatch):
2212 * insetcommand.C (localDispatch):
2213 * insetert.C (localDispatch):
2214 * insetlabel.C (localDispatch):
2215 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2217 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * insettext.C (latex): adjust for ParagraphList::iterator
2221 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * insetbutton.C (view): adjust for boost 1.30.0
2224 * insetcollapsable.C (view): ditto
2225 * insetgraphics.C (statusChanged): ditto
2227 * insettext.h: move paragraphs to be public.
2229 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * insetnote.[Ch] (InsetNote): remove unused constructor
2233 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2235 * insetgraphics.C: added include "format.h"
2237 2003-02-27 Angus Leeming <leeming@lyx.org>
2239 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2242 2003-02-27 Angus Leeming <leeming@lyx.org>
2244 * insetbibitem.C (localDispatch):
2245 * insetbibtex.C (localDispatch):
2248 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2250 2003-02-26 Angus Leeming <leeming@lyx.org>
2252 * insetbibitem.[Ch] (localDispatch):
2253 * insetbibtex.[Ch] (localDispatch):
2254 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2256 * insetcommand.C (localDispatch):
2257 act only on receipt of LFUN_XYZ_APPLY.
2259 * insetert.C (localDispatch): reformat.
2260 add LFUN_XYZ_APPLY to the switch.
2262 2003-02-26 John Levon <levon@movementarian.org>
2264 * insettext.C: use RowPainter
2266 * inset.h: make helpers take const *
2268 2003-02-26 Angus Leeming <leeming@lyx.org>
2270 * insetcommand.[Ch] (localDispatch): new method.
2272 2003-02-26 Angus Leeming <leeming@lyx.org>
2274 * insetinclude.C (draw): cache the BufferView* using cache not
2275 PreviewImpl::setView
2277 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2279 * insetgraphics.C (draw)
2280 * insetinclude.C (draw): Eliminate also the other argument (owner
2281 inset inset) in the call to PreviewImage::image
2283 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2285 * insetgraphics.C (draw)
2286 * insetinclude.C (draw): Eliminate Buferview argument in call to
2289 2003-02-25 John Levon <levon@movementarian.org>
2291 * insetgraphicsParams.h:
2292 * insetgraphics.C: don't start a load process if
2293 the inset is set to NoDisplay (bug #920)
2295 2003-02-22 John Levon <levon@movementarian.org>
2298 * insetwrap.C: TocItem changed API (bug 913)
2300 2003-02-21 Angus Leeming <leeming@lyx.org>
2302 * insetcollapsable.[Ch] (cache, edit):
2303 * insetbutton.[Ch] (cache, edit): new methods to cache the
2304 BufferView in the draw method.
2306 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2307 simplify comunication between InsetCommand-derived classes and
2310 * insetbibitem.[Ch]:
2314 * insetfloatlist.[Ch]:
2318 * inseturl.[Ch]: small changes to reflect the new interface to the
2321 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2322 other, similar classes.
2324 * Makefile.am: add new files.
2326 2003-02-21 Angus Leeming <leeming@lyx.org>
2328 * updatableinset.h (setView, view): remove.
2329 * inset.h (view, cache): to be replaced by these.
2331 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2334 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2337 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2339 2003-02-21 Allan Rae <rae@lyx.org>
2341 * insetinclude.C (loadIfNeeded): ensure loading also works when
2342 child document is under version control.
2344 2003-02-17 André Pönitz <poenitz@gmx.net>
2346 * insetbib.[Ch]: Adjust access to bibkeys
2348 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2350 * insetquotes.C (dispString): remove use of acute accent for "'"
2353 2003-02-14 John Levon <levon@movementarian.org>
2355 * insettabular.C: changed method names in tabular.C
2357 2003-02-14 John Levon <levon@movementarian.org>
2361 * insetcollapsable.h:
2362 * insetcollapsable.C:
2366 * insettext.C: remove unused getParFromID()
2368 2003-02-13 John Levon <levon@movementarian.org>
2371 * insettext.C: remove unused beginningofMainBody()
2373 2003-02-08 John Levon <levon@movementarian.org>
2377 * insetcollapsable.h:
2378 * insetcollapsable.C:
2383 add nextChange(). Make allowSpellcheck() const. Add markErased().
2385 * insetert.C: ignore deleted text
2387 * insettabular.C: make sure to keep change tracking working
2390 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2395 * insettext.C: Use error messages with identical spelling and punctuation
2397 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2399 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2401 2002-12-17 Juergen Vigna <jug@lyx.org>
2403 * insettext.C (localDispatch): hopefully fixed cursor up down
2404 movement on leaving other insets.
2406 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2408 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2411 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2413 * insetgraphics.C (prepareFile): do not remove the extension of
2414 the file name if it is not the default extension for the given
2415 format (that is, in latex output, remove extension from foo.eps,
2416 but not from foo.epsi)
2418 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2420 * insettext.C (lfunMouseRelease): hackish solution to the "double
2423 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * insetfloat.C (addToToc): use the floats name not its type
2426 * insetwrap.C (addToToc): ditto
2428 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2430 * insetnote.C (init): make label font smaller
2432 2002-12-04 John Levon <levon@movementarian.org>
2434 * insetinclude.C: ressurect setting of command name
2436 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * insetquotes.C (dispString): disambiguate insert call
2440 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * several files: ws changes
2444 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * insetquotes.C (dispString): use string::insert for prepending a
2449 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2451 * insetparent.C (getScreenLabel): use boost::format
2453 * insetgraphics.C (prepareFile): use boost::format
2456 * insetfloatlist.C (latex): use boost::format
2458 * insetcaption.C (draw): use boost::format
2460 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2462 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2465 2002-11-20 Juergen Vigna <jug@sad.it>
2467 * insettabular.C (resetPos): temporary fix for endless loop in
2468 this function on a redraw.
2470 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * insettabular.C (copySelection): STRCONV
2474 * insetinclude.C (uniqueID): STRCONV
2475 (latexString): ditto
2477 * insetgraphics.C: put VersionNumber inside anon namespace
2478 (createLatexOptions): STRCONV
2480 * insetcommandparams.C: include config.h
2482 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2484 * insetgraphicsParams.C (Write): use lyx::float_equal.
2485 Write height data correctly.
2486 (Read): zero scale when reading height data.
2488 2002-10-30 John Levon <levon@movementarian.org>
2490 * insetfloat.C (addToTOC): recursively traverse all
2491 contents looking for captions (fix #568)
2493 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2495 * insetexternal.C (doSubstitution): do not try to replace
2496 environment variables, this is done when executing the command
2498 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2500 * insetexternal.C (doSubstitution): change order of substitution
2501 to work around ReplaceEnvironmentPath brokenness
2503 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2505 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2507 * insetgraphicsParams.C (init, Write): associated changes
2508 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2509 InsetGraphicsParams::scale.
2511 2002-10-21 John Levon <levon@movementarian.org>
2513 * inset.h: remove unused DISPATCH_RESULT
2515 * insettext.C: sgml open/close tag now in sgml namespace
2517 2002-10-21 Angus Leeming <leeming@lyx.org>
2519 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2520 file path subdir/fig.eps when pasting it into a buffer in a different
2523 2002-10-16 John Levon <levon@movementarian.org>
2525 * insetspecialchar.C: remove \\protected_separator parsing
2527 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2529 * insetquote.C: fix LaTeX output of quotation marks.
2531 2002-10-14 Juergen Vigna <jug@sad.it>
2533 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2534 Backspace functions which confused the Undo handling.
2536 2002-10-09 Angus Leeming <leeming@lyx.org>
2538 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2539 BufferView::dispatch that turns off this optimisation when a new inset
2542 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2543 reload the BibTeX keys.
2545 2002-10-11 André Pönitz <poenitz@gmx.net>
2547 * insettext.h: handle LFUN_PRIOR/NEXT
2549 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2551 * insetfloat.C: fix bug with float settings
2552 (document default != float default).
2554 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2556 * insetwrap.C (addToToc): New method.
2557 (InsetWrap): Set layout to caption.
2559 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2563 2002-09-16 John Levon <levon@movementarian.org>
2565 * insettabular.h: hasSelection() needs to be public
2567 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2569 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2571 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2573 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2575 2002-09-11 André Pönitz <poenitz@gmx.net>
2577 * insettabular.C: implement LFUN_WORDSEL
2579 2002-09-10 John Levon <levon@movementarian.org>
2581 * insetinclude.h: remove unused param
2583 2002-09-09 John Levon <levon@movementarian.org>
2586 * insetinclude.C: remove noload, default to input
2588 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2590 * insetgraphics.C: disfuscated use of ']' in built output string.
2592 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2596 2002-08-29 Juergen Vigna <jug@sad.it>
2598 * insettabular.C (lfunMousePress): Pay attention where you set
2599 the x/y values as they depend on which inset in the tabular is
2600 actually locked. So you surely have to reset them if you (un)lock
2603 2002-08-29 André Pönitz <poenitz@gmx.net>
2605 * insetfootlike.h: rename include guard to ALL CAPS
2607 * insettext.C: swap object and first parameter for checkInsetHit calls
2608 as this functions has moved from BufferView to LyXText
2611 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2613 * insetgraphicsParams.C: remove local displayTranslator and use
2614 the one from graphics/GraphicsTypes.h.
2616 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2618 * insetfloat.C (wide): add BufferParams parameter
2620 * insetfloatlist.C (read):
2623 * insetfloat.C (latex):
2625 * insetcaption.C (draw): use LyXTextClass::floats()
2627 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2629 * insetoptarg.h: add std:: qualifier.
2631 2002-08-26 Juergen Vigna <jug@sad.it>
2633 * insettext.C (localDispatch): ditto.
2635 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2637 2002-08-25 John Levon <levon@movementarian.org>
2639 * inseturl.C: elide long URLs (bug 404)
2641 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2643 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2644 remove "Format Version <version_no.>" string from inset header
2647 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2649 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2650 a member of "grfx::Params" anymore.
2652 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2654 2002-08-24 John Levon <levon@movementarian.org>
2657 * insetoptarg.C: ws, pedantry ...
2659 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2661 * insettext.C (collapseParagraphs): pasteParagraph now in global
2663 (appendParagraphs): ditto
2665 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2667 * insetcite.C (latex): Remove spaces only after commmas.
2669 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * insettext.C: remove NO_COMPABILITY stuff
2673 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * insettext.C (edit): use ParagraphList iterators
2677 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2678 (bibitemWidest): ditto
2680 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * insettext.C: include <boost/bind.hpp>
2683 add using std::for_each
2684 (saveLyXTextState): use ParagraphsList::iterator
2685 (init): use for_each on paragraphlist iterators
2686 (InsetText): remove superflous setting cached_bview to 0
2687 (latex): reformat a bit
2688 (ascii): use paragraphlist iterators
2689 (validate): use for_each + boost bind
2690 (getLabelList): use paragraphlist iterators
2691 (deleteLyXText): use for_each + boost::bind
2692 (resizeLyXText): ditto
2693 (reinitLyXText): ditto
2694 (removeNewlines): use paragraphlist iterators
2695 (getParFromID): ditto
2696 (paragraph): use for_each + boost::bind
2697 (getInsetFromID): use paragraphlist iterators
2698 (getLabelList): typo fix
2700 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * insettext.C (read): assign tmp to paragraphs after return from
2703 call to parseSingleLyXformat2Token
2706 2002-08-13 Angus Leeming <leeming@lyx.org>
2725 changes due to the changed LyXView interface that now returns references
2726 to member variables not pointers.
2728 2002-08-13 Angus Leeming <leeming@lyx.org>
2731 * insetcollapsable.h:
2734 * insettext.h: forward-declare WordLangTuple
2735 (selectNextWordToSpellcheck) constify return type.
2738 * insetcollapsable.C:
2741 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2743 2002-08-12 Angus Leeming <leeming@lyx.org>
2745 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2747 2002-08-12 Juergen Vigna <jug@sad.it>
2749 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2752 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2755 (bibitemWidest): ditto
2756 * insettext.[Ch]: ditto
2758 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2762 2002-08-09 Angus Leeming <leeming@lyx.org>
2764 * insetinclude.C (latexString): remove fudge now that I've found out
2765 how to enable LaTeX to find the file using input@path.
2767 2002-08-09 John Levon <levon@movementarian.org>
2770 * insettext.C: remove unused xpos
2772 2002-08-07 Juergen Vigna <jug@lyx.org>
2774 * insettabular.C (localDispatch): make delete not put the stuff
2775 in the clipboard only do this on a cut operation.
2777 * insettext.C (localDispatch): make delete and backspace not put
2778 selected stuff to the clipboard.
2780 2002-08-07 André Pönitz <poenitz@gmx.net>
2783 * insetcollapsable.[Ch]:
2787 * insettabular.[Ch]:
2788 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2790 2002-08-06 John Levon <levon@movementarian.org>
2794 * insetcollapsable.h:
2795 * insetcollapsable.C:
2801 * insettext.C: use WordLangTuple for spellcheck
2803 2002-08-06 Angus Leeming <leeming@lyx.org>
2805 * insetinclude.C: add a monitor to the previewed image, so that the
2806 image is refreshed if the \input-ed file changes.
2808 2002-08-04 John Levon <levon@movementarian.org>
2811 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2813 2002-08-02 Angus Leeming <leeming@lyx.org>
2815 * insetcommandparams.[Ch] (preview): new methods returning and setting
2816 a new bool preview_ flag.
2817 (read): read this flag.
2818 (operator==): add flag to check.
2820 * insetinclude.C (write): output new preview() flag.
2821 (previewWanted): use this flag.
2823 2002-08-02 Angus Leeming <leeming@lyx.org>
2825 * insetcollapsable.[Ch] (addPreview):
2826 * insettabular.[Ch] (addPreview):
2827 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2828 for insets in insets.
2830 2002-08-02 Angus Leeming <leeming@lyx.org>
2832 * insetcite.C: fix typo.
2834 * insetgraphics.C: kill current_view and instead cache the BufferView
2837 * insetinclude.C: kill current_view and pass the BufferView to the
2838 PreviewedInset so that it can cache it.
2840 2002-08-01 Angus Leeming <leeming@lyx.org>
2842 * inset.h (generatePreview): renamed as addPreview.
2843 (generatePreview): new method. Allows code to be moved out of
2844 math_nestinset.C and into the new PreviewedInset class.
2846 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2847 add previews to the inset when \input-ing LaTeX.
2849 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * several files: strip,frontStrip -> trim,ltrim,rtrim
2853 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2855 * insetbib.C (latex): modify because of strip changes
2857 * insetnote.C (InsetNote): ditto
2859 2002-07-26 Juergen Vigna <jug@sad.it>
2861 * insettabular.C (searchForward): check for lastcell if we
2862 had a locking inset.
2864 2002-07-25 Juergen Vigna <jug@sad.it>
2866 * insettabular.C (insetMotionNotify): Don't update the screen
2867 if we didn't do nothing.
2868 (searchForward): last cell was not checked.
2870 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2872 * insetfloat.C (read, write): Allow default placement
2873 (floatPlacement_ is empty).
2875 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2877 * insetminipage.h (noFontChange):
2878 * insettabular.h (noFontChange):
2879 * insetfootlike.h (noFontChange):
2880 * insetfloat.h (noFontChange): return true
2882 * inset.h (noFontChange): new method, defaulting to false
2884 2002-07-22 Herbert Voss <voss@lyx.org>
2886 * insetgraphicsParams.[Ch]: support size_type for old docs
2888 2002-07-22 Herbert Voss <voss@lyx.org>
2891 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2894 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2896 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2898 * insetlatexaccent.h: do not include "lyxlex.h"
2900 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2903 * insetlatexaccent.C:
2907 * insetbib.C: #include "lyxlex.h"
2913 * insettext.C: use BufferParams::getLyXTextClass
2916 * insetfloat.C (addToToc): new method. Add to toclist the entries
2917 corresponding to Caption layouts
2918 (InsetFloat): when creating a new float, set the layout to "Caption"
2920 2002-07-21 Herbert Voss <voss@lyx.org>
2922 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2923 image relevant part into graphics/GraphicsImgae.C
2925 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2927 * insettoc.C (ascii):
2928 * insetfloatlist.C (ascii): change to use the new Toc functions
2929 instead of stuff that was in Buffer
2931 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2933 * insettext.C (localDispatch): BufferView::Dispatch has been
2934 renamed to BufferView::dispatch
2936 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2938 * insetgraphicsParams.C (as_grfxParams): use the new
2939 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2940 1.2.0 patch, and I do not really know how to adapt it to the new
2941 grfx::Cache world. Angus, please could you have a look?
2943 2002-05-01 Herbert Voss <voss@lyx.org>
2945 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2947 2002-07-18 Angus Leeming <leeming@lyx.org>
2949 * insetgraphics.C: clean-up comments (from Herbert).
2950 add a new checksum variable to the cache. Use it in PrepareFile.
2951 (draw): start monitoring the file for a change.
2952 (prepareFile): re-arrange a little to avoid unnecessary steps.
2954 2002-07-17 Angus Leeming <leeming@lyx.org>
2956 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2957 a method rather than to the signal directly.
2959 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2961 * insettext.C: use view_state_changed, switchKeyMap
2963 2002-07-17 Herbert Voss <voss@perce.de>
2965 * insetgraphics.C (prepareFile): keep the extension when
2966 exporting to nice file
2968 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2970 * insetcite.C (getNatbibLabel):
2971 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2973 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2975 * insetgraphics.C: use ->isDrawable()
2977 2002-07-12 Angus Leeming <leeming@lyx.org>
2979 * insetgraphics.C: use the new smart loading capabilities of the image
2982 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2984 * insettabular.C (edit): Move into correct cell when entering a
2987 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2990 2002-07-05 Angus Leeming <leeming@lyx.org>
2992 * inset.h (generatePreview): new virtual method.
2994 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2996 * insetcommandparams.[Ch] (operator=): move out of class
2997 (operator!): move out of class
2999 2002-07-04 André Pönitz <poenitz@gmx.net>
3001 * insetcommandparams.[Ch]: new files
3003 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3005 2002-06-15 Herbert Voss <voss@perce.de>
3007 * insetgraphics.C (prepareFile): bugfix; return always
3008 files without extension
3010 2002-06-28 Angus Leeming <leeming@lyx.org>
3012 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3013 rename asGParams -> as_grfxParams.
3015 * insetgraphics.C: reflect above change.
3017 2002-06-26 Angus Leeming <leeming@lyx.org>
3019 * insetgraphics.h: use boost::scoped_ptr in preference to
3022 2002-06-26 Angus Leeming <leeming@lyx.org>
3024 * insetgraphics.C: moved the image loading stuff into a new class
3025 grfx::Loader. Simplifies this file enormously.
3027 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3029 * insetgraphicsParams.C: changes aassociated with moving
3030 grfx::DisplayType out of grfx::GParams.
3032 2002-06-26 André Pönitz <poenitz@gmx.net>
3034 * insetgraphics.C: use os::external_path where necesaary according to a
3035 patch from Claus Hentschel)
3037 2002-06-25 Angus Leeming <leeming@lyx.org>
3039 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3040 generating a pixmap once the graphics file is loaded into memory.
3041 The current_view ugliness that was in grfx::ModifiedImage has been
3042 moved here now that grfx::ModifiedImage is no more.
3044 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3046 * insettext.C: layout as layout
3048 2002-05-28 André Pönitz <poenitz@gmx.net>
3050 * insetfloatlist.h: remove source of compiler warning
3052 * insetref.C: tiny whitespace
3054 2002-06-15 Herbert Voss <voss@perce.de>
3056 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3057 and take always convert when no userdefined converter was
3059 (latex) small changes in the lyxerr output
3061 2002-06-15 LyX Development team <lyx@rilke>
3063 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3064 mixed content. Small white spaces clean.
3066 2002-06-14 Angus Leeming <leeming@lyx.org>
3068 * inseetexternal.C: remove the using std::difftime declaration.
3070 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3072 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3074 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3076 * insetquotes.C (draw): fix drawing of double quotes
3078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3080 * insettabular.C: s/scrollCB/scrollDocView/
3082 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3084 * insettext.C: change of topCursorVisible()
3087 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3090 * insettext.C: rename/change of LyXScreen
3092 2002-06-07 Angus Leeming <leeming@lyx.org>
3094 Fixes needed to compile with Compaq cxx 6.5.
3096 all c-library variables have been moved into namespace std.
3097 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3099 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3101 * insetinclude.C (uniqueID):
3102 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3103 conflicted with some AIX headers.
3105 2002-05-31 Juergen Vigna <jug@sad.it>
3107 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3111 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3113 * insetexternal.C (clone): fix () bug when using new
3114 (updateExternal): don't only look for difftime in global scope
3116 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3118 * insettabular.C: add const
3120 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3122 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3123 file name, in case there are weird characters like ',' in there.
3126 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3128 * switch from SigC signals to boost::signals.
3130 2002-05-28 André Pönitz <poenitz@gmx.net>
3132 * insets/insetgraphicsParams.[Ch]:
3133 put in inset related stuff from src/graphic
3135 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3143 * insetcollapsable.C:
3144 * insetcollapsable.h:
3172 * inseturl.h: use mouse_state. Kill insetKeyPress
3174 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3179 * insetcollapsable.C:
3182 * insetlatexaccent.C:
3184 * insetspecialchar.C:
3186 * insettext.C: name change for font metrics
3188 2002-05-24 Juergen Vigna <jug@sad.it>
3190 * insetgraphics.h: include inset.h first (for LString.h)
3192 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3194 * insettext.C: screen moved
3196 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3214 * inseturl.C: LyXView moved into frontends/
3216 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3221 * insetcollapsable.C:
3225 * insetgraphicsParams.C:
3226 * insetlatexaccent.C:
3228 * insetspecialchar.C:
3230 * insettext.C: move Painter to frontends/
3232 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3234 * insettabular.h: use more specific smart_ptr header.
3235 * insettext.h: ditto
3237 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3240 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3242 * insettext.C: clear selection on paste (bug 393)
3244 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3246 * insettext.C (latex): Honor the moving_arg argument.
3248 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3250 * insetfoot.C (latex): if a footnote is in a title layout, then it
3251 is a \thanks. And then, its contents is a moving argument.
3253 2002-05-14 Juergen Vigna <jug@sad.it>
3255 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3258 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3260 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3261 when using options "Full author list" or "Upper case".
3263 2002-05-14 Herbert Voss <voss@perce.de>
3265 * insetgraphics.C (prepareFile): allow files with same name
3267 (readFigInset): set the flags from old figinset in the right
3269 (findTargetFormat): more comments
3271 2002-05-14 Juergen Vigna <jug@sad.it>
3273 * insettext.C (edit): tell checkAndActivateInset() that we don't
3274 have a button press.
3275 (checkAndActivateInset): if button < 0 we don't have a button press
3276 on the inset and os we won't call edit on it if it's not a Highly
3277 editable inset (then we have to enter it).
3279 2002-05-13 Juergen Vigna <jug@sad.it>
3281 * insetcollapsable.C (insetButtonRelease): returned wrong return
3284 2002-05-09 Juergen Vigna <jug@sad.it>
3286 * insetcollapsable.C (edit): first_after_edit should only be
3287 set to true if we enter this inset and it was collapsed so we
3288 open it up. This is needed to reclose it after a search/replace
3289 or spellcheck function opened it and was negative.
3291 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3293 * insetfloat.C (latex): Return correct value.
3295 2002-05-04 Herbert Voss <voss@perce.de>
3297 * InsetgraphicsParams.C (read): fix bug with WH
3299 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3301 * insetfloat.C (latex): More sensible latex output
3302 (fix the problem with endfloat).
3304 2002-05-02 José Matos <jamatos@fep.up.pt>
3306 * insetgraphics.C (validate): acess params as everyone else.
3308 2002-05-03 Juergen Vigna <jug@sad.it>
3310 * insettabular.C (fitInsetCursor): recalculate the cursor position
3313 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3315 * InsetgraphicsParams.[Ch]: whitespace.
3317 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3319 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3320 float type do not exist.
3322 2002-04-28 Herbert Voss <voss@perce.de>
3324 * insetgraphics.C (latex): fix bug with missing file-extension.
3325 LaTeX still allows a missing "eps" or "ps".
3327 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3329 * insetfloat.C (c-tor, wide): translate the name of the float.
3331 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3333 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3334 when using natbib and make it work efficiently. Must emphasise that the
3335 real work is Herbert's.
3337 2002-04-23 Herbert Voss <voss@perce.de>
3339 * insetgraphic.C (prepareFile): fix bug with overwriting and
3340 deleting an existing *.eps-file in the doc-dir
3342 2002-04-23 Juergen Vigna <jug@sad.it>
3344 * insettabular.C (drawCellSelection): fix off by 1 error.
3346 2002-04-22 Juergen Vigna <jug@sad.it>
3348 * insettabular.C (setFont): rewoke full selection if it was asked,
3349 after we changed all we had to change.
3351 * insettext.C (insetUnlock): code was uninitialized in some situations.
3353 2002-04-19 Herbert Voss <voss@perce.de>
3355 * insetgraphic.C (prepareFile): return filename without
3356 extension if we only export without compiling
3358 2002-04-19 Juergen Vigna <jug@sad.it>
3360 * insettext.C (draw): call a fullRebreak on the row where we had a
3361 change and reset the cursor and selection-cursors.
3363 * insettabular.C (insetUnlock):
3364 (insetButtonPress): call an update before setting the_locking_inset = 0
3365 as otherwise we don't repaint!
3366 (update): reset the cursor position when we changed dimensions as
3367 otherwise our cursor may be on the wrong spot.
3369 2002-04-18 Juergen Vigna <jug@sad.it>
3371 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3372 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3373 redraw otherwise we won't redraw.
3375 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3376 not really right before, but I only discovered this with the last
3377 changes to Page up/down.
3379 2002-04-17 Juergen Vigna <jug@sad.it>
3381 * insettext.C (checkAndActivateInset): simplified as we now have the
3382 edit(bv, bool) call.
3384 * insettext.h: changed behind variables to front variables to be
3385 equal to the one in the edit call (as it is for that they are used).
3387 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3389 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3390 not output anything at all!
3392 2002-04-16 Juergen Vigna <jug@sad.it>
3394 * insettabular.C (insetButtonPress):
3395 (insetUnlock): call a redraw on unlocking the cell inset.
3397 * insettext.C (insetButtonPress): same as below.
3398 (lockInset): new function to set initial values when inset should
3400 (insetButtonPress): use above function.
3401 (insetUnlock): don't force a repaint only set the updateStatus. The
3402 outside world should repaint if it thinks it should be done!
3404 * insettabular.C (insetButtonPress): init values if not set as locked
3405 as we are locked if someone presses on us and don't call the edit()
3406 call of the InsetText to lock it do it as BufferView does it!
3408 * inset.h (insetInInsetY): make func const and return an int.
3411 * insetcollapsable.C: adapt the above changed function.
3413 2002-04-15 Juergen Vigna <jug@sad.it>
3415 * insettext.C (getCursorPos): return relative position as to be able
3416 to give them directly to the edit() call.
3417 (edit): we have to set also x_fix as it is not set inside the
3418 setCursorFromCoordinates call!
3419 (insetMotionNotify): ditto.
3421 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3423 * insetbib.C (getKeys): strip leading '\t's from the line too.
3424 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3426 2002-04-12 Juergen Vigna <jug@sad.it>
3428 * insettext.h: added cix() helper function and use it where appropriate
3430 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3432 * insetgraphics.C (prepareFile): fix bug when graphics is a
3435 2002-04-12 Juergen Vigna <jug@sad.it>
3437 * insettext.C (insertInset): remove unneeded code!
3438 (updateLocal): fitCursor() fixes.
3439 (collapseParagraphs): fix a possible problem when having a selection
3440 and collapsing the paragraphs.
3442 2002-04-08 Herbert Voss <voss@perce.de>
3444 * insetgraphic.C (write): write the rotating angle as
3445 a float as is. test only for != 0.0
3447 2002-04-11 Juergen Vigna <jug@sad.it>
3449 * insettext.C: new function ciy() and use it for setting inset_y.
3451 * insetert.C (draw): fix the x return for collapsed version.
3453 2002-04-07 Herbert Voss <voss@perce.de>
3455 * insetgraphic.C (readFigInset): fix bug with subcaption and
3458 2002-04-08 Herbert Voss <voss@lyx.org>
3460 * insetgraphicsparam.C: forgot special option and delete old
3463 2002-04-05 Juergen Vigna <jug@sad.it>
3465 * insettext.C (localDispatch): make a CURSOR update if we inserted
3468 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3470 * insetfloatlist.C (getScreenLabel):
3471 (latex): use Floating::listName
3472 (validate): new method
3474 2002-04-03 José Matos <jamatos@fep.up.pt>
3476 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3478 * insetfoot.[Ch] (docbook): added forgotten method.
3480 2002-04-03 Juergen Vigna <jug@sad.it>
3482 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3483 way as in Bufferview_pimpl.
3485 2002-04-03 Allan Rae <rae@lyx.org>
3487 * insetgraphics.C (latex): one % too many makes living on the bleeding
3488 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3490 2002-03-28 Herbert Voss <voss@lyx.org>
3492 * insetgraphic.C (latex): simplify the code for the latex
3493 output when the file doesn't exist
3495 2002-03-29 Juergen Vigna <jug@sad.it>
3497 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3500 * insettabular.C (edit): call fitCursor().
3502 * insettext.C (insetButtonPress): change behaviour of no_selection
3503 to the one in the BufferView selection_possible and fix the spurious
3504 selection bug with it.
3505 (localDispatch): revoke selection on BREAK... functions.
3507 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3509 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3511 2002-03-28 Juergen Vigna <jug@sad.it>
3513 * insettabular.C (insetAllowed): return true as default value otherwise
3514 we're not able to insert insets inside paragraphs of an not locked
3517 2002-03-27 Herbert Voss <voss@lyx.org>
3519 * insetgraphicsparam.C: change c%, p% to col%, page%
3521 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3523 * insetspecialchar.C (isLineSeparator): disable the nice code to
3524 allow linebreaks after hyphenation and menu separators.
3526 2002-03-26 Herbert Voss <voss@lyx.org>
3528 * insetgraphics.C (figinsetRead): set the right lyxview
3530 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3532 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3533 $\backslash$ and pass a "string const &" to the function.
3534 (prepareFile, latex): use Path rather than MakeAbsPath.
3536 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3538 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3539 proper fix to the graphics cache.
3540 (latex): "really" nice output if the file is not found ;-)
3542 2002-03-26 Juergen Vigna <jug@sad.it>
3544 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3545 (collapseParagraphs): fixed inserting of separator ' '
3547 * insettabular.C (insertAsciiString): only check for buffer lenght
3548 not if we have \t or \n inside the buffer as if we don't have we only
3549 have 1 cell and that's it!
3551 * insetert.C (close): don't collapse if inlined.
3553 2002-03-25 Herbert Voss <voss@lyx.org>
3555 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3556 graphics file does not exist.
3558 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3560 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3561 path when preparing export.
3563 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3564 no longer MakeRelPath.
3566 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3568 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3569 Used to determine the absolute path to the graphics file in the
3570 graphics cache and only in the graphics cache.
3571 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3572 make graphics file name absolute if it is stored as a relative path.
3574 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3575 make graphics file name absolute if it is stored as a relative path.
3577 * insettext.C (edit): emit an updateParagraph signal on entering a text
3578 inset. Needs to be emitted when leaving the inset also.
3580 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3582 * all files: ws cleanup
3584 * Makefile.am: remove ld -r stuff
3586 2002-03-21 Juergen Vigna <jug@sad.it>
3588 * insettext.C (appendParagraphs): new function added to append
3589 the paragraphs to this insets paragraphs.
3591 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3593 * Makefile.am: special rules if partial linking
3595 2002-03-19 Juergen Vigna <jug@sad.it>
3597 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3599 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3601 * insetgraphics.C: Clean up Baruch's comments a little.
3602 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3604 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3607 * insettheorem.C: wrap warnings
3609 * insetgraphics.C: improve messages, move cached_status_
3610 setting to safer place
3612 2002-03-18 Juergen Vigna <jug@sad.it>
3614 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3616 (localDispatch): ditto
3618 * insettext.C (edit): removed unneeded showCursor calls.
3619 (localDispatch): ditto.
3621 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3623 * insetgraphics.h: remove display() method.
3625 2002-03-11 Juergen Vigna <jug@sad.it>
3627 * insetgraphics.C (draw): hack to fix the redrawing bug.
3628 (draw): seems this fixes #268 (force redraw of row if we changed).
3630 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3631 this inset text (don't know why I missed this earlier).
3633 2002-03-08 Juergen Vigna <jug@sad.it>
3635 * insettabular.C (updateLocal): do a FULL update if we're not locked
3636 and only a CELL update is asked.
3638 * insettext.C (updateInsetInInset): update insets inside inset also
3639 if it isn't inside the_locking_inset.
3641 * insettabular.C (updateInsetInInset): ditto.
3643 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3645 * insetexternal.C (doSubstitution): check whether we are using a
3646 temp dir for defining $$FPath
3648 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3651 * insettext.C: remove #include "WorkArea.h".
3653 2002-03-06 Juergen Vigna <jug@sad.it>
3655 * insettext.C (draw): fixed frame redrawing.
3656 (clear): forgot to set the inset_owner of the paragraph.
3658 * insetert.C (status): pay attention the bv can be 0 here!
3659 (getMaxWidth): add the default leftMargin
3661 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3663 * insetert.C (getMaxWidth): make w unsigned int.
3665 2002-03-05 Juergen Vigna <jug@sad.it>
3667 * insetert.C (status): change behaviour of Inlined.
3668 (getMaxWidth): added for new inlined behaviour.
3670 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3672 * insetnote.h (linuxdoc, docbook): add empty methods.
3673 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3674 before being initialized.
3676 2002-03-05 Juergen Vigna <jug@sad.it>
3678 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3679 only that one in the inset. Should be enough.
3680 (updateLocal): set the selection cursor always if we don't have a
3681 selection to be sure it's set!
3683 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3685 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3687 * insettext.C (clear): a gross hack to set layout on a newly
3690 2002-03-04 Juergen Vigna <jug@sad.it>
3692 * insettabular.C (localDispatch): inserted handling of
3693 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3694 (insertAsciiString): new helper function.
3696 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3698 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3701 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3703 * insettext.C (InsetText): initalize newly created par with
3704 default layout. add bufferparams parameter
3707 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3708 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3709 * insetert.[Ch] (InsetERT): ditto
3710 * insetfloat.[Ch] (InsetFloat): ditto
3711 * insetfoot.[Ch] (InsetFoot): ditto
3712 * insetfootlike.[Ch] (InsetFootLike): ditto
3713 * insetmarginal.[Ch] (InsetMarginal): ditto
3714 * insetminipage.[Ch] (InsetMinipage): ditto
3715 * insetnote.[Ch] (InsetNote): ditto
3716 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3718 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3720 * insettext.C: layout as string
3722 * insetinclude.C: layout as string
3724 * insetert.C: layout as string
3726 * insetbib.C: layout as string
3728 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3731 * insettabular.C: remove #include "lyx_gui_misc.h".
3733 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3738 * inset.h: remove figinset, yahoo !
3740 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3742 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3743 copy c-tor and initialise member variables in the correct order.
3745 2002-02-28 Juergen Vigna <jug@sad.it>
3747 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3749 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3751 * inset.h: ... and add a better one here.
3753 * insetcommand.C (insetButtonRelease): remove that one which was a
3756 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3758 * insetcommand.C (insetButtonRelease): ... and move it here.
3760 * inseturl.h: remove insetButtonRelease from there...
3762 2002-02-26 Juergen Vigna <jug@sad.it>
3764 * inseturl.h: Added a insetButtonRelease call returning true as
3767 * insetlabel.C (edit): Fixed wrong update handling after change I
3768 leave in the wrong code for the one who wrote it to remove and have
3769 a look what he did wrong.
3771 * insettabular.C (localDispatch): force a SELECTION update if we
3772 had a selection and we passed the event down to the inset (fix #213)
3773 (localDispatch): handle font changing stuff when we have a cell
3774 selection so that the selection is not rewoked. I don't really like
3775 this fix, but it's the only way I see to do it right now.
3777 2002-02-22 Juergen Vigna <jug@sad.it>
3779 * insettext.C (insetUnlock): set the cursor to the second paragraph
3780 if available and if the first one is empty (fix #191).
3782 2002-02-20 Juergen Vigna <jug@sad.it>
3784 * insettext.C (getDrawFont): implemented this function to call the
3785 one of the owner if present as the owner normally knows what to do
3788 * insetert.C: implement getDrawFont() function and comment out all
3789 the crap for setting a special latex font inside this inset.
3790 (InsetERT): added a Lanugage parameter to this constructor.
3792 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3793 change the font for being drawn on screen (used only in InsetERT for
3796 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3797 and also above (was missing).
3798 (updateLocal): don't remove the cell selection if we have one this
3799 should be done where we really want to remove it.
3801 2002-02-20 José Matos <jamatos@fep.up.pt>
3803 * insetinclude.h: include_label made string const.
3805 * insetinclude.C (InsetInclude): moved include_label initialization.
3808 (validate): fix support for temporary directory, for docbook and
3811 * insetgraphics.h : new private member, graphic_label, that holds
3812 the entity name that defines the graphics location (SGML).
3814 * insetgraphics.C (unique_id): new function to give a unique label
3817 (validate): the file locatation is given by an entity reference.
3819 2002-02-18 Herbert Voss <voss@lyx.org>
3821 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3823 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3825 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3826 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3828 2002-02-18 José Matos <jamatos@fep.up.pt>
3830 * insetinclude.C (validate): some code only applies to latex buffers,
3831 it was made conditional.
3833 2002-02-12 Herbert Voss <voss@lyx.org>
3835 * insetgraphics.C: (prepareFile) do not check at this time
3836 if the file is present.
3838 2002-02-12 Herbert Voss <voss@lyx.org>
3840 * insetgraphics.C: latex(), return the correct newlines
3842 2002-02-13 José Matos <jamatos@fep.up.pt>
3844 * inseturl.C (docbook): escape & in url.
3846 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3848 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3849 after HYPHENATION and MENU_SEPARATOR
3851 * inset.h (isLineSeparator): new method, returns false by default.
3853 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3855 * insetert.C (status): do not update the text inset, but the ERT
3858 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3860 * insetnote.C: use notebg for background
3862 2002-02-08 Herbert Voss <voss@lyx.org>
3865 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3866 prevent LyX from unzipping when this should be handled
3867 by latex vis the graphic.cfg.
3870 2002-02-08 Herbert Voss <voss@lyx.org>
3872 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3873 exists, than return filename with extension
3875 2002-02-06 Herbert Voss <voss@lyx.org>
3877 * insetgraphic.C: prepareFile(): don't convert the file, when
3878 it's not viewed in LyX. Saves a lot of time when opening a
3881 2002-02-05 Herbert Voss <voss@lyx.org>
3884 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3885 and adding a rotate bool similiar to subcaption
3887 2002-02-04 Herbert Voss <voss@lyx.org>
3890 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3891 similiar view to the LaTeX one. Get zipped files work.
3893 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3895 * insetgraphicsParams.C (init): set display to DEFAULT.
3896 No longer #include "lyxrc.h".
3898 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3900 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3901 for now (so that the code compiles).
3903 2002-02-02 Herbert Voss <voss@lyx.org>
3905 * insetgraphic.C: delete inVariant() and some minor changes
3906 * insetgraphicsParams.[C]:
3908 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3910 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3911 interogate lyxrc.display_graphics before diaplaying the graphic.
3913 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3914 InsetGraphicsParams::DisplayType.
3916 2002-01-31 Herbert Voss <voss@lyx.org>
3918 * insetgraphic.C: (readfigInset) set display to pref-default
3920 2002-01-30 Herbert Voss <voss@lyx.org>
3922 * insetgraphic.C: get the filetyp from it's contents
3923 * insetgraphicparams.C: add token scale and lyxrc.display when
3924 creating a new inset
3926 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3928 * figinset.C: added using std::ios directive.
3930 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3932 * figinset.C (runqueue): open translation file in binary mode (for
3935 2002-01-27 Herbert Voss <voss@lyx.org>
3937 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3938 all options and to be sure that the old figinsets are correct
3940 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3941 structure and to support all lengths as LyXLength. The Parameter
3942 structure changed again, but reading of "old" 1.2 graphic insets
3945 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3947 * insetert.h (forceDefaultParagraphs): Added
3949 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3951 * insettabular.C (getMaxWidth):
3952 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3954 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3956 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3957 of LyXLength::inPixels
3959 * inset.C (latexTextWidth):
3960 * insetminipage.C (latexTextWidth): new method, which implements
3961 the equivalent of the LaTeX macro \textwidth
3963 * insetminipage.C (getMaxWidth): use latexTextWidth
3965 2002-01-18 Juergen Vigna <jug@sad.it>
3967 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3969 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3971 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3973 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3976 2002-01-17 Juergen Vigna <jug@sad.it>
3978 * insettabular.C (lockInsetInInset): same change as in insettext.
3980 * insettext.C (draw): width() function was called without setting
3981 the right top_x which could lead to wrong insetWidth setting!
3982 (lockInsetInInset): call edit instead of calling lockInset if we
3983 have to lock an inset inside!
3984 (edit): we have to also tell the inset that we have to redraw the
3985 frame on an edit call if this inset draws a frame only if locked.
3987 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3989 * insetbib.C (getFiles): uncomment Path variable.
3991 2002-01-16 Juergen Vigna <jug@sad.it>
3993 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3996 2002-01-16 Allan Rae <rae@lyx.org>
3998 * insetinclude.C (docbook): someone forgot a ";"
4000 2002-01-16 José Matos <jamatos@fep.up.pt>
4002 * figinset.C (docbook): removed a old place holder "@".
4003 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4004 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4005 ascii text version, clearly guarded inside a CDATA section.
4006 (docbook): in docbook 4, inlinegraphics is empty.
4007 * insettabular.C (linuxdoc): export the ascii version of the table
4008 inside a CDATA section.
4010 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4012 * insetparent.C (InsetParent):
4013 * insetgraphicsParams.C (Write):
4015 * insetgraphics.C (prepareFile):
4018 * insetexternal.C (executeCommand):
4019 (doSubstitution): use Buffer::filePath
4021 * insetbib.C (getFiles): add a #warning for Angus
4023 * insetgraphics.C: Add a remark about how filenames should be
4024 considered to be relative to buffer (but absolute is still allowed)
4025 (draw): do not try to get status if lyxrc.use_gui is false
4027 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4030 * insetcollapsable.[Ch]:
4031 * insettabular.[Ch] (searchForward, searchBackward): change the
4032 bool const & params to bool.
4034 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4035 to avoid the name clash with InsetCollapsable's methods of the same
4036 names but different functionality.
4038 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4040 * insettext.C (ascii): use lyx::count rather than countChar.
4042 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4044 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4046 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4048 * insetgraphics.C (updateInset): do not try to render image if
4049 lyxrc.use_gui is false (bug #104)
4051 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4052 if file does not exist
4054 * figinset.C (browseFile): add shortcuts to directory buttons
4056 * insettext.C (updateLocal): update menubar and toolbar here too.
4058 2002-01-13 Allan Rae <rae@lyx.org>
4060 * insettabular.C (InsetTabular): Both constructors now initialise
4061 all class variables.
4063 2002-01-11 Juergen Vigna <jug@sad.it>
4065 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4067 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4069 * insettabular.C (getStatus): add forgotten brace around multiline
4072 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4074 * insetfloat.C (validate): require "float" instead of "floats".
4076 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4078 * insettabular.C (getStatus): use FuncStatus
4080 2002-01-08 Juergen Vigna <jug@sad.it>
4082 * insettabular.C (insetButtonRelease): now this should work too
4085 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4086 if the width is a percentage.
4088 * inset.h: added isChar() function and implemented this for
4089 insetspecialchar insetquotes and insetlatexaccent.
4090 added forceDefaultParagraphs() and implemented it for insettabular.
4092 2002-01-07 Juergen Vigna <jug@sad.it>
4094 * insettext.C (getLyXText): Fixed this function. An insert into the
4095 map is only done if we REALLY have a new BufferView.
4097 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4099 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4101 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4103 * insetinclude.C: fix use of FileInfo
4105 2002-01-07 Juergen Vigna <jug@sad.it>
4107 * insettabular.C (draw): fixed clearing of cell around inset.
4109 2002-01-05 Juergen Vigna <jug@sad.it>
4111 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4112 variables are updated.
4114 * insettabular.C (resetPos): set always the inset_y as it may be
4115 needed in another function.
4116 (searchBackward): don't draw while searching.
4118 2002-01-04 Juergen Vigna <jug@sad.it>
4120 * insettext.C (lockInsetInInset): forgot to set a cursor.
4122 2002-01-02 Juergen Vigna <jug@sad.it>
4124 * insettext.C (insertInset): make the correct undo informations on
4125 inserting new insets.
4127 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4129 * insettabular.C: correct single-cell select vertically
4131 2001-12-27 Juergen Vigna <jug@sad.it>
4133 * insettabular.C (ascii): export as tab-separated-values if the
4134 function was not called from export (f.ex.: clipboard).
4136 * insetcollapsable.h: added default support for ascii, linuxdoc and
4137 docbook export (the insettext is exported by default!)
4139 * insettabular.C (copySelection): suff the clipboard with the tabular
4140 data in a tab separated format, seems more naturals then with all the
4143 2001-12-24 Juergen Vigna <jug@sad.it>
4145 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4146 to check for REAL mouseMotion.
4148 2001-12-20 Juergen Vigna <jug@sad.it>
4150 * inset.C (cursor): return the owners cursor if available instead of
4151 always only the bv->text->cursor.
4153 * insettabular.C (checkLongtableSpecial): works now.
4155 2001-12-19 Juergen Vigna <jug@sad.it>
4157 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4158 this has to be always row + 1 as 0 means not selected!
4159 (checkLongtableSpecial): added
4160 (tabularFeatures): better longtable options support
4162 * insettext.C (resizeLyXText): reinit the text always also on a
4165 2001-12-18 Juergen Vigna <jug@sad.it>
4167 * insettext.C (updateInsetInInset): look if we have to autocollapse
4168 paragraps and return if the update is requested for ourself.
4170 * insetert.C (status): update the insettext not myself as that is what
4173 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4174 function only return if the update was requested with myself.
4176 * insettext.C (insetButtonPress): fixed stupid bug.
4177 (various functions): pay attention that lt is cleared BEFORE calling
4178 updateLocal() and try to use it in the right manner (don't use it
4179 if it's not really neccessary!)
4180 (collapseParagraphs): insert a blank between collapsing paragraphs
4181 if neccessary (not already there!).
4183 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4185 * insettabular.C: move includes around a bit, add a couple of
4188 * insettext.[Ch]: move includes around a bit, other ws changes and
4191 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4193 * insettext.C (insetButtonRelease): fix compile problem
4195 2001-12-17 Juergen Vigna <jug@sad.it>
4197 * insettext.C (insetButtonPress): set the selection cursor!
4198 (insetButtonPress): clear the selection (and set with that the
4199 selection.cursor) if we only hit an inset!
4201 * insetert.C (read): removed piece of compatibility code only needed
4204 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4207 * insetcollapsable.C (insetButtonRelease): changed so that it can
4208 open eventual existing popup dialogs on mousebutton==3.
4210 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4212 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4214 * inset.C (insetButtonRelease): return a bool for telling the outer
4215 world that we opened a dialog.
4217 2001-12-07 Juergen Vigna <jug@sad.it>
4219 * insettext.C (paragraph): remove the deleteing of paragraphs as
4220 it was a WRONG move!
4222 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4225 * insettabular.C: use new setSelection(). Allow
4226 selection of single cells.
4228 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4230 * insetquotes.C (latex): fix to use the local language setting at
4231 the point where the inset is inserted (different macros for
4232 different french packages)
4234 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4236 * inset.h: add par_owner_ member variable and parOwner
4239 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4241 * insettabular.C (everywhere): adapt because widths are now real
4242 widths and not strings
4244 * insettext.C (draw): re-introduce the calls to width(), ascent()
4245 and descent() to initialize the caching variables.
4247 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4249 * insettext.C (draw):
4250 (drawFrame): use insetWidth instead of last_width
4252 * insettext.h: remove variable last_width (insetWidth is exactly
4253 the same) and last_height (computed but never used!)
4255 2001-12-10 Allan Rae <rae@lyx.org>
4257 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4259 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4261 * insettext.C (insetAllowed): add comment
4263 2001-12-05 Juergen Vigna <jug@sad.it>
4265 * insettext.C (insetAllowed): fixed for the case that we directly
4266 ask the insettext from its LyXText.
4267 (paragraph): fixed the crash when assigning the par->next() from
4268 the EmptyParagraphMechanism!
4270 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4274 * insettext.C: change "while(" to "while ("
4276 2001-12-04 Juergen Vigna <jug@sad.it>
4278 * insetert.C (edit): handle Inlined status.
4280 * insettext.C (insertInset): trying John's fix for the trailing cursor
4282 * insetert.C (insetButtonPress): added to handle inlined status
4283 (insetMotionNotify): ditto.
4285 * insettext.C (clearInset): changed Painter & in BufferView * param,
4286 to be able to call ascent,descent methods.
4288 2001-12-03 Juergen Vigna <jug@sad.it>
4290 * insettext.C (updateInsetInInset): use lt variable to forbid
4291 changes of LyXText in an update call.
4292 (updateInsetInInset): fixed updating of non locked insets!
4294 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4296 * insettabular.C: capture some more functions to prevent
4297 selection drawing problems. Bug #451274
4299 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4302 * insetgraphicsParams.C: fix inverted sense of float_equal
4304 2001-11-30 Juergen Vigna <jug@sad.it>
4306 * insettabular.C (InsetTabular): use the save_id flag to create also
4307 the tabular with the same id's.
4309 * insettext.C (setParagraphData): added a same_id function for undo
4310 to set the same paragraph id's as of the paragraph we are setting.
4312 2001-11-30 José Matos <jamatos@fep.up.pt>
4315 * insettoc.[Ch]: DocBook -> docbook.
4317 2001-11-29 André Pönitz <poenitz@gmx.net>
4320 * insettext.C: further reduction of header dependencies by using
4321 lyx::layout_type and lyx::textclass_type from support/types.h
4323 2001-11-29 Juergen Vigna <jug@sad.it>
4325 * insettext.C: inserted a reinitLyXText function everywhere I delete
4326 the paragraphs! This should fixe the crashes we had.
4327 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4328 (paragraph): set the InsetOwner() of the new paragraphs!
4330 2001-11-28 André Pönitz <poenitz@gmx.net>
4332 * insetnote.C: add pos initialization that I removed without
4335 2001-11-28 Juergen Vigna <jug@sad.it>
4337 * insettabular.C (resetPos): hack to not crash with infinite paints.
4339 * insettabular.h: insert missing function allowSpellcheck()!
4341 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4343 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4346 * insetfloatlist.C: derive from InsetCommand so gui can use it
4349 2001-11-26 André Pönitz <poenitz@gmx.net>
4353 * insetnote.C: reduce header dependencies, introduce type for
4356 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4358 * various: update for Alert.h
4360 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4362 * inset.h: fix comment
4364 * insettext.C: use par->isInset()
4366 2001-11-22 Allan Rae <rae@lyx.org>
4368 * insetcollapsable.h:
4369 * inset.h: Changes to checkInsertChar() behaviour.
4370 Now return value indicates whether chars can be inserted.
4372 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4374 * various: updated to use the new LaTeXFeatures
4376 2001-11-14 José Matos <jamatos@fep.up.pt>
4378 * insetspecialchar.C (linuxdoc):
4379 (docbook): don't give a name to a unused variable.
4381 * insettext.C (docbook): removed unused variable.
4383 2001-11-13 Herbert Voss <voss@perce.de>
4385 * insetgraphic.C: fix scale bug
4387 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4389 * inset.h (isSpace):
4390 (isLetter): new virtual methods.
4392 * insetspecialchar.C (isSpace):
4393 (isLetter): implement here.
4395 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4397 * inset.h: new inline helpers
4399 * insettext.C: use new helpers
4401 2001-11-07 José Matos <jamatos@fep.up.pt>
4403 * insettext.C (docbook): full support for paragraphs inside insettext.
4405 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4407 * insetindex.C: added header file for std::ostream.
4409 2001-11-03 José Matos <jamatos@fep.up.pt>
4411 * insetindex.C: added using std::ostream that I forgot yesterday.
4413 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4415 * insetindex.h (docbook):
4416 * insetindex.C (docbook): added support for docbook export.
4418 2001-11-02 José Matos <jamatos@fep.up.pt>
4420 * insetcaption.C(docbook): added support for docbook export.
4422 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4424 * insetexternal.C (updateExternal): Do not run update command if
4425 result file exists and is up to date.
4427 * ExternalTemplate.C (readFormat): Support the updateresult token.
4429 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4431 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4432 external_templates) to use the buffer->fileName() but only if
4433 previewing. Generating a TeX file should make FPath return
4436 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4439 * insetert.C: fix some problems
4441 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4443 * insetexternal.C (doSubstitution): Added $$FPath token
4444 to list of usable substitutions in external inset templates.
4446 2001-10-24 Juergen Vigna <jug@sad.it>
4448 * insettabular.C: use new ltType struct for setting longtable
4449 header and footers also new UNSET enums.
4451 2001-10-24 José Matos <jamatos@fep.up.pt>
4453 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4454 (docbook): If the table is not inside a float then wrap it inside
4455 <informaltable>...</informaltable>.
4457 2001-10-23 José Matos <jamatos@fep.up.pt>
4459 * insetref.C (docbook): removed / terminator to conform SGML.
4461 * insetspecialchar.C (linuxdoc):
4462 (docbook): Added support for special chars, more than ascii export.
4464 2001-10-22 Juergen Vigna <jug@sad.it>
4466 * insettext.C (checkInsertChar): added for REALLY checking the
4467 font of the inserted char in the right inset!
4469 2001-10-19 Juergen Vigna <jug@sad.it>
4471 * inset.h: added method allowSpellcheck() so that insets who do
4472 not have anything to spellcheck can tell and so they are over-jumped.
4473 Implemented for InsetText and co.
4475 2001-10-18 Juergen Vigna <jug@sad.it>
4477 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4479 2001-10-15 José Matos <jamatos@fep.up.pt>
4481 * insetert.C: allow export for docbook and linuxdoc
4483 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4485 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4487 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4489 * insetquotes.C (dispString): fix handling of latin9 quotes
4491 2001-10-03 Juergen Vigna <jug@sad.it>
4495 * insetcollapsable.C: change updateInset calls to not tell BV that
4496 we have changed status.
4498 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4500 * insettabular.C (deletable): make const
4502 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4504 * insetert.C (latex): Fix the returned value
4506 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4508 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4509 Returns string(), so nothing in an ERT inset is spellchecked.
4511 * insetgraphics.C (draw): print the filename if not displaying the
4513 (width): make sure that the width and draw methods are consistent.
4514 (updateInset): don't even load the image into cache if not displaying
4517 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4519 * various files (selectNextWord): renamed as
4520 selectNextWordToSpellcheck.
4522 * insetgraphics.C (draw): remove the previous change. Right place
4523 is in imageLoaderXPM.C.
4524 (draw): don't display the image if params.display == NONE.
4526 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4528 * figinset.C (runqueue):
4529 * insetgraphics.C (draw): set background colour of inset from
4530 background to the user-configurable graphicsbg.
4532 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4534 * insetquotes.C (InsetQuotes): when trying to decide the side of
4535 the quote, choose `left' only after a space or '('
4537 2001-09-04 José Matos <jamatos@fep.up.pt>
4542 * insetcollapsable.h
4560 * insetlatexaccent.C
4561 * insetlatexaccent.h
4566 * insetspecialchar.C
4567 * insetspecialchar.h
4571 * insettext.C (docbook): rename docBook method to docbook.
4573 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4575 * inset.h (getFirstParagraph): New virtual method.
4577 2001-08-20 Herbert Voss <voss@perce.de>
4578 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4579 in the the bibtex-database-gui for inserting a line
4582 If no style is given than there is no tex-output.
4584 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4586 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4590 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4592 * insetert.C (latex): Fix output for multiple paragraphs.
4593 (write): New code for writing paragraph data.
4594 (read): Set font after reading the inset.
4595 (localDispatch): Call set_latex_font() for more cases.
4597 * insetnote.h: Add empty validate method.
4600 * insetnote.C (InsetNote): Set language to the language of the
4603 2001-08-16 Juergen Vigna <jug@sad.it>
4605 * insettext.C: implemented the new FINISHED states.
4607 * insettabular.C: ditto
4609 * inset.h: added more FINISHED states for cursor right,up,down
4611 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4613 * insetfloatlist.C: use "FloatName List"
4615 2001-08-14 Juergen Vigna <jug@sad.it>
4617 * insetert.C (edit): forgot to set status_ in edit calls!
4619 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4621 * insettext.C: Compilation fix
4623 2001-08-13 Juergen Vigna <jug@sad.it>
4625 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4627 * insetcollapsable.C (edit): don't recollapse an already open inset.
4629 * insettext.C: fixed problem when reinitializing LyXText by not doing
4630 it while lt is in use and post this to the next possible time in
4632 (searchForward): fixed not unlocking of inset if nothing found.
4633 (edit): set cursor behind right (was set -1 pos).
4635 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4637 * insettabular.C (tabularFeatures): fixed fix where deleting the
4638 last row didn't get the right actcell!
4640 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4642 * insettext.C (localDispatch): Change language only when the inset
4645 2001-08-10 Juergen Vigna <jug@sad.it>
4647 * insettabular.C (selectNextWordInt): use the front using edit call.
4649 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4650 the parameter overwrite class variable inset.
4652 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4654 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4655 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4657 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4658 update only for fixed with cells.
4659 (resetPos): try to fix the lockup on spellchecking or s&r.
4661 * insettext.C (update): comment this out as it seems first wrong
4662 and second not needed anymore!
4663 (some functions): call reinitLyXText() only in update() in all other
4664 positions set only need_update = INIT.
4666 2001-08-08 Juergen Vigna <jug@sad.it>
4668 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4670 * insettext.C (insetUnlock): remove double-space on inset unlock.
4672 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4674 * insettabular.C (update): fixed cursor positon after an insert.
4675 (insetAllowed): do not allow to insert insets when not inside the
4677 (draw): clear below an inset too as it could have changed height.
4679 * inset.C (getMaxWidth): fixed width for inset in inset.
4681 * insettext.C (update): small fix.
4683 * insettabular.C (tabularFeatures): added selection support to
4684 DELETE_ROW/DELETE_COLUMN.
4686 2001-08-07 Juergen Vigna <jug@sad.it>
4688 * inset.C (getMaxWidth): recoded and all it's implementations!
4690 * insettext.C (init,setParagraph+constructors): cleanups
4691 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4692 are new and I want do a save/restore of the cursor position which is
4693 not possible anymore.
4695 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4696 (searchBackward): ditto
4697 (selectNextWord): ditto
4699 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4701 * insetlatexaccent.C (checkContents): Add some debug messages
4703 2001-08-07 Juergen Vigna <jug@sad.it>
4705 * insetert.C (read): don't use InsetCollapsable::read as we don't
4706 write the collapsed status anymore only the status.
4709 2001-08-06 Juergen Vigna <jug@sad.it>
4711 * insetert.C (set_latex_font): use LyXText's setFont directly.
4713 * insettext.C (drawFrame): fixed one time more the right position
4714 and size of the frame!
4716 * insetert.C (~InsetERT): hide the dialog.
4717 (showInsetDialog): added implementation
4720 (status): new function for the status of the ERT inset (3-state).
4721 (write): output also the status of the inset for readback!
4722 (read): readback the status if available otherwise use collapsed_.
4724 * insettext.C (edit): small fix of setting the position, which could
4727 * insetert.C (width): implement this function for inlined viewing.
4728 Added minimum width of 10 pixels!
4730 * insetminipage.C (InsetMinipage): just change the colors a bit so
4731 that border/background is a bit more visible. We will remove this
4734 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4735 function for getting the important widths for drawing in various
4736 functions and in LyXText.
4737 (draw): fixed up a bit (frame drawing/clearing)
4739 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4741 * inset.C (convertFont): delete method. not used.
4743 2001-08-03 Juergen Vigna <jug@sad.it>
4745 * insettext.C (setFont): don't call for a draw update if we're just
4746 changing the cursor font!
4748 2001-08-02 Juergen Vigna <jug@sad.it>
4750 * insettext.C (draw): clear the background with the right color if
4751 needed. Update myself if x&max-width changed and return without doing
4752 anything. Let the update code handle the right stuff.
4754 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4755 inside another inset.
4757 2001-08-01 Juergen Vigna <jug@sad.it>
4759 * insetcollapsable.C (update): added an in_update bool so we avoid
4762 * insettabular.C (update): added an in_update bool so we avoid
4765 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4767 (update): added an in_update bool so we avoid reentering.
4769 * insettabular.C (localDispatch): clear col/row selection when doing
4770 something else inside an inset.
4772 * insettext.C (getLyXText): fixed bug when requesting a recursive
4775 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4777 * insetcite.C (latex): Paranoia check. Make sure that there is no
4778 whitespace between the citation keys.
4780 2001-07-31 Juergen Vigna <jug@sad.it>
4782 * inset.h (nodraw): make the set function also const so that this
4783 can be called from inside other const functions.
4785 * insetcollapsable.h: removed inline variable and moved it over
4786 to the only user InsetERT.
4788 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4789 inset opening immediately therein lying insets dialogs!
4791 * insetert.C (localDispatch): set the font also if we don't have any
4792 chars in this paragraph, otherwise if we delete all of em and start
4793 writing we have the wrong font.
4795 (draw): implemented for inline support
4796 (insetButtonRelease): ditto.
4798 2001-07-30 Juergen Vigna <jug@sad.it>
4800 * insettext.C (reinitLyXText): new function to reinit the insets
4801 text after lot's of paragraph changes. Use this instead of the
4802 cache.clear() which is VERY dangerous.
4804 * insetfloat.C (insetButtonRelease): we should only show the dialog
4805 if we press on the label otherwise we have problems to open mouse
4806 button 3 dialogs inside this float (f.ex. of a tabular!)
4808 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4810 * insetert.C: change back to "ERT"
4812 * insetfloat.C: handliign of RMB on label added.
4814 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4816 * insetgraphicsParams.C: #include LOstream.h here.
4818 * insetfoot.h: remove InsetFoot:: qualifier.
4820 2001-07-29 Baruch Even <baruch@lyx.org>
4822 * ChangeLog: Hiding time travel evidence.
4824 * insetgraphicsParams.h:
4825 * insetgraphicsParams.C:
4826 * insetgraphics.C: Added horizontal scale option, it actually scales both
4827 directions since it keeps image proportions.
4829 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4831 2001-07-29 Baruch Even <baruch@lyx.org>
4833 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4834 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4836 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4838 2001-07-29 Baruch Even <baruch@lyx.org>
4840 * insetgraphics.C: Added EPSI to be an alias of EPS.
4842 2001-07-29 Baruch Even <baruch@lyx.org>
4844 * insetgraphics.C: Change GRAPHICS to Graphics.
4845 Changed image conversion rules (documented at the beginning of file).
4847 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4849 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4852 * insetgraphics.C: added a using std::endl directive.
4854 * insetcommand.h (getScreenLabel): removed pure virtual function,
4855 as it duplicates that in InsetButton.
4857 * insetbib.[Ch] (getScreenLabel):
4858 * insetbutton.[Ch] (getScreenLabel):
4859 * insetcite.[Ch] (getScreenLabel):
4860 * insetert.[Ch] (getScreenLabel):
4861 * insetexternal.[Ch] (getScreenLabel):
4862 * insetfloatlist.[Ch] (getScreenLabel):
4863 * insetinclude.[Ch] (getScreenLabel):
4864 * insetindex.[Ch] (getScreenLabel):
4865 * insetlabel.h (getScreenLabel):
4866 * insetparent.[Ch] (getScreenLabel):
4867 * insetref.[Ch] (getScreenLabel):
4868 * insettoc.[Ch] (getScreenLabel):
4869 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4871 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4873 (validate): remove check on "cite" when using natbib.
4875 2001-07-26 Baruch Even <baruch@lyx.org>
4877 * insetgraphics.C (draw): changed casting to be in one place rather than
4878 all over the function.
4881 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4883 * insetgraphicsParams.h:
4884 * insetgraphicsParams.C:
4885 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4887 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4889 * insetfoot.C (validate): Added method to ensure that the
4890 right bit of LaTeX is emitted.
4892 * insetfoot.h: Added validate method to set the correct
4893 LaTeXFeatures bit for the special footnote code.
4895 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4897 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4900 2001-07-27 Juergen Vigna <jug@sad.it>
4902 * inset.h: remove not used font variable in parameter.
4903 removed checkInsertChar in UpdatableInset as it was equal to
4904 the one in Inset and so not needed.
4906 * insetert.C (checkInsertChar): implementation of function
4909 * inset.h: added new function checkInsertChar.
4911 * various files: added c-tor and clone() function.
4913 * insetcollapsable.h: removed clone function here as this should
4914 be only realized in REAL insets and added it to all collapsable
4915 insets! (with the copy-constructor).
4917 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4919 * insetminipage.C (read): handle missing parameters more gracefully
4921 * insetcollapsable.C (read): handel missing collapsed more gracefully
4923 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4925 * insetfloat.C (read): handle missing parameters.
4927 * insettext.C (read): handle old latex end_inset
4929 * insetert.C (setButtonLabel): new method
4930 (init): use it, to set the dynamic label correctly
4933 * Makefile.am (EXTRA_DIST): add files that is not part or the
4936 * insetcollapsable.h: remove autocollapsable (no users), remove
4937 draw_label, change_label_with_text and companion code. Remove args
4939 * insetert.[Ch]: move here instead (only user)
4941 * inset.h: rename private variable name to name_, make
4942 selectNextWord return a const string. make getInsetName return a
4943 string const &. Remove bool from open, add close.
4945 * Makefile.am: don't compile insetlist, insetsection
4948 2001-07-24 Juergen Vigna <jug@sad.it>
4950 * insetert.C (InsetERT): put init after the paragraph initialization,
4951 as otherwise we don't set the draw_label right.
4953 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4954 insets with the mouse without having strange selections.
4955 (edit): if the inset was collapsed and we open it here then put the
4956 cursor always at the beginning of the inset.
4957 (get_new_label): 15 instead of 10 max chars in the label.
4959 * insetert.C (localDispatch): added and handle various stuff we
4960 need to handle here (font setting on paragraph break, not permitted
4961 layout setting, etc.).
4963 * inset.h: added default copy-consturctor and implemented this in
4964 various insets with the change to use this in the clone function!
4966 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4968 * insetminipage.C (InsetMinipage): set background color to red :)
4970 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4972 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4973 draw frame mode is LOCKED.
4975 * insetcollapsable.C (edit):
4976 (insetButtonRelease): set update status to full when
4979 * insettext.C (clearInset):
4980 * insettabular.C (draw):
4981 * insetlatexaccent.C (draw): honor background color.
4983 * inset.h: new member background_color_, initialized to
4986 * inset.C (backgroundColor): new method.
4987 (setBackgroundColor): new method.
4989 * insetert.C (init): new method, called by the ctors.
4990 (InsetERT): when inserting contents, make sure the font is
4993 * insetnote.C (InsetNote): when inserting content, remove trailing
4995 (init): set background color to LColor::note
4997 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4999 * insetcollapsable.C: adjust
5001 * insetbutton.C: adjust
5003 2001-07-23 Juergen Vigna <jug@sad.it>
5005 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5006 parameter on the _collapsed function (was not needed) and call
5007 always width_collapsed().
5009 * insetert.C (InsetERT): use setLabel with "true" flag.
5011 * insetcollapsable.C: modified various functions to set the draw_label
5012 string right in any condition.
5013 (setLabel): added a bool parameter to set change_label_with_text.
5015 * insetcollapsable.h: added draw_label string which is set to the
5016 actual drawn label-string, while label is the original static label
5017 of this collapsable inset. Added bool change_label_with_text to set
5018 if we want that the label changes to the start of the InsetText's
5019 text when collabpsed. You can set this flag with the setLabel funciton.
5020 Added bool inlined for inlined collapsable insets, but not handled
5023 * insetcollapsable.C (get_new_label): added should get a new label
5024 from the InsetText beginning (for now 10 chars).
5026 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5028 * insetquotes.C (latex): fix the handling of french double quotes
5029 when not using the french pachage.
5031 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5033 * insetcollapsable.h: make WidthCollapsed mutable.
5035 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5036 InsetPrintIndex returns INDEX_PRINT_CODE.
5038 * inset.h: add INDEX_PRINT_CODE
5040 * insetcollapsable.C (draw): init widthCollapsed if necessary
5043 * insetquotes.C (width): use the local language, not the document
5046 (dispString): add additional spacing for all french languages,
5048 (validate): make it work when there is no default language
5050 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5052 * insetnote.C (init): new method, called by the constructors
5053 (InsetNote): new constructor with contents passed as a string
5055 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5057 * insetfootlike.C (insetAllowed): disallow float in footlike.
5059 * insetert.C (InsetERT): add collapsed argument to the constrctor
5062 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5064 * insetindex.h: shut off warning
5066 2001-07-20 Juergen Vigna <jug@sad.it>
5068 * insetcollapsable.C (update): recoded hopefully works now!
5070 2001-07-19 Juergen Vigna <jug@sad.it>
5072 * most files: implemented the below new introduced function.
5074 * inset.h: added new edit(BufferView *, bool front) method to be able
5075 to enter an inset from the front/back without knowing x/y positions
5076 and baselines inside the inset. So I just can tell the inset activate
5077 me and set the cursor on the front/back of yourself.
5079 2001-07-18 Juergen Vigna <jug@sad.it>
5081 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5082 is given to the InsetText.
5083 (insetButtonPress): ditto
5084 (insetButtonRelease): ditto
5085 (insetMotionNotify): ditto
5087 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5089 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5090 LIGATURE_BREAK, since the name is so stupid.
5092 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5094 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5095 the default InsetCollapsable methods. I.e., it can insert anything.
5096 (write) output the name of the inset, not some silly hack for
5097 compatability with the old InsetInfo.
5099 * insetinfo.[Ch]: removed.
5100 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5101 now collapsable, but functionality is otherwise identical to InsetInfo.
5103 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5105 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5107 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5110 * insetquotes.C: general cleanup
5111 (dispString): add spaces inside french double quotes.
5112 (latex): ditto. Moreover, treat first the case where the frenchb
5113 or french options have been given.
5115 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5117 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5120 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5122 * figinset.C (RegisterFigure): Print debug message only when
5123 current_view is available.
5125 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5127 * many files: update to match the change below
5129 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5130 implement the version which takes an inset here.
5132 * insetcollapsable.[Ch]: implement open and isOpen
5134 * inset.h: remove insertInsetAllowed from Inset
5135 (open): new method, to open or close an inset
5136 (isOpen): returns the status of an inset
5137 (isCollapsable, colapse): removed
5139 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5141 * insetquotes.C (dispString): display french guillemets when using
5144 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5146 * insetcollapsable.h: remove bogus return statements
5148 2001-07-18 Juergen Vigna <jug@sad.it>
5150 * insettabular.C (selectNextWord): fixed spellchecking for the
5151 first cell of a tabular (wasn't entered!)
5152 (getLyXText): changed to enter automatically insettext and return
5153 it's LyXText if we're locked.
5155 2001-07-17 Juergen Vigna <jug@sad.it>
5157 * various files: implemented the below functions.
5159 * inset.h: added functions
5160 - virtual string selectNextWord(BufferView *, float & value) const;
5161 - virtual void selectSelectedWord(BufferView *) { return; }
5162 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5163 needed for spellchecking correctly!
5165 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5167 * insetert.C (latex): write out all paragraphs.
5169 2001-07-17 Baruch Even <baruch@lyx.org>
5171 * insetgraphics.C (draw): Removed unneeded casts.
5173 2001-07-16 Juergen Vigna <jug@sad.it>
5175 * insettext.C (update): fixed small oversight (reset lt to 0).
5177 2001-07-14 Baruch Even <baruch@lyx.org>
5180 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5182 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5184 Consistent use of Lsstream.h:
5185 * figinset.C: removed using std::ostringstream directive.
5187 * insetgraphics.C (createLatexOptions):
5188 * insetinclude.C (unique_id):
5189 std::ostringstream -> ostringstream.
5190 * insettext.C (localDispatch): std::istringstream -> istringstream.
5192 2001-07-13 Juergen Vigna <jug@sad.it>
5194 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5196 * insetcollapsable.C (getLockingInset): ditto.
5198 2001-07-12 Juergen Vigna <jug@sad.it>
5200 * insetcollapsable.h: added implementation of new function for
5203 * various files: added implementation of new insertInsetAllowed-func
5204 and redone the function a bit more.
5206 * inset.h: added isCollapsable(), bool collapsed(),
5207 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5209 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5211 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5212 LyXText which is marked for removal while we're using it!
5214 * insettext.h: added private LyXText * lt to use it to assure we are
5215 not deleting our LyXText while we're using it!
5217 2001-07-11 Juergen Vigna <jug@sad.it>
5219 * insettext.C (insertInset): check if we are before the inset after
5220 inserting it! This check IS needed. Remove the Undo-Call as it is
5221 called in LyXText::insertInset!
5223 * insettext.h: added struct InnerCache.
5225 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5226 that we ONLY delete the LyXText in the getLyXText() routine. So we
5227 are sure we don't delete LyXText while someone is working with it!
5229 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5231 * insetexternal.C: (*it). -> it->
5232 * insettext.C: ditto
5234 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5236 * insetcollapsable.C (edit): always open collapsed insets (even if
5237 they are not autocollapsable)
5239 * insetcommand.C (operator=): simplify.
5241 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5243 * insetert.C (latex): handle META_NEWLINE
5245 2001-07-09 Juergen Vigna <jug@sad.it>
5247 * insetert.h: a normal InsetText can insert insets, but we won't.
5249 * inset.h: return default "false" on insertInsetAllowed and implement
5250 this function where a returnvalue != "false" is needed.
5252 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5254 * insetert.C (InsetERT): new contructor
5256 2001-07-06 Juergen Vigna <jug@sad.it>
5258 * a lot of files: added implementation of the below new functions
5259 and the change to clone(). Also the call of the new undo-functions
5262 * inset.h: added an inset_id, added functions getParFromID,
5263 getInsetFromID, firstParagraph, cursor and id functions, added
5264 bool same_ids to clone function.
5266 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5268 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5269 of BufferView * and shared_ptr<LyXText>
5271 2001-07-05 Juergen Vigna <jug@sad.it>
5273 * insettext.C (clear): deleted also the cache not only LyXText.
5274 (setParagraphData): ditto.
5276 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5278 * insetfloat.C (latex): let the specific placement take presedence
5279 if set, otherwise choose document placement if set, otherwise just
5280 use float default placement.
5282 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5284 * insettext.C (localDispatch): call CutAndPaste::'s static method
5287 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5289 * insetbib.C: no meed to include forms.h here.
5291 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5293 * insettext.C: added using std::make_pair directive.
5295 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5297 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5299 (deleteLyXText): ditto
5300 (resizeLyXText): ditto
5302 2001-07-02 Juergen Vigna <jug@sad.it>
5304 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5305 following calls are only returned the right pointer without the over
5306 head to search in the map.
5307 (various funcs): reset the cached_bview variable as this signs that
5308 the cache is not valid anymore.
5310 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5312 * insettabular.C (clone): do not copy the LyXTabular twice
5314 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5316 * insettext.h (TEXT): delete method
5318 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5320 * insetmarginal.C (latex):
5321 * insetfoot.C (latex): fix spacing of notes in LaTeX
5323 * insettext.C (localDispatch): use .c_str() on istringstream
5324 constructor argument.
5326 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5331 * inseturl.C: fix method names in these to begin
5332 with small char too, so they inherit
5334 2001-06-28 Juergen Vigna <jug@sad.it>
5336 * insettext.C (setFont): fixed font settings using toggleFree()
5337 instead of setFont().
5339 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5341 * Change a lot of method names to begin with a small char.
5342 Changes to a lot of files because of this.
5344 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5346 * insetfloatlist.C (Write): std:: qualify ostream
5349 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5353 * insetgraphics.C: send debug output to Debug::INFO instead of
5356 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5359 * insettabular.C (getStatus): update to use func_status
5361 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5363 * insetref.C (DocBook): added support for cross-references without
5366 2001-06-26 The LyX Project <jug@sad.it>
5371 * insetlabel.h: removed escape method and moved it to
5374 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * insettabular.C (getMaxWidth): do the speedup in a different way,
5379 2001-06-24 The LyX Project <Asger>
5381 * insettabular.C (getMaxWidth): We cache a mapping from
5382 inset to cell in order to speed this method up.
5384 2001-06-24 The LyX Project <Asger>
5386 * insettext.C: Optimized InsetText::draw or something.
5388 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5390 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5392 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5394 * inset.h: name change from lyxinset.h
5396 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5398 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5400 2001-06-14 Juergen Vigna <jug@sad.it>
5402 * insettext.C (draw): removed warnings.
5404 2001-06-13 Juergen Vigna <jug@sad.it>
5406 * insettabular.C (nodraw): only go down the tree if we don't have
5407 that flag set otherwise it's obvious that we don't want to draw.
5408 (LocalDispatch): do also an update if we have an undispached result.
5410 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5413 * insetgraphicsParams.C:
5414 * insettext.C: removed // -*- C++ -*- as first line.
5416 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5418 * lyxinset.h (resizeLyXText): shut off warning about unused
5421 2001-06-07 Juergen Vigna <jug@sad.it>
5423 * insettext.C (resizeLyXText): honor the new force flag.
5425 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5427 * insettabular.C (deleteLyXText): new function
5429 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5437 * insetcollapsable.C:
5438 * insetcaption.C: LColor tidy
5440 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5442 * figinset.C: fix typo
5444 2001-06-01 Juergen Vigna <jug@sad.it>
5446 * insettabular.C (resetPos): small hack so that scroll is not set to
5447 0 when we are in the last column of a tabular. This is a problem we
5448 have because of constats 20 offset on both directions, so this can
5449 cause on the limit an endless loop.
5451 * insettext.C (SetFont): forgot that we can have locking insets ;)
5453 2001-05-31 Juergen Vigna <jug@sad.it>
5455 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5457 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5459 * figinset.C: add using std:: directive for the C functions which
5462 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5464 * insetfloat.C (Write): write out wide info
5465 (Read): read the wide info
5466 (Latex): use the wide info when creating latex.
5468 * insettext.C: adjust
5470 * insetgraphics.[Ch] (statusMessage): change to return string
5474 * figinset.C (runqueue): add std::
5477 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5479 * insetcite.C (Ascii): add std:: qualifier
5481 2001-05-28 Juergen Vigna <jug@sad.it>
5483 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5484 a endless-width inset (maxWidth < 0).
5485 (Edit): change language only if not equal.
5487 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5489 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5491 2001-05-16 Juergen Vigna <jug@sad.it>
5493 * insettext.C (selectAll): added
5494 (clearSelection): added
5496 * insettabular.C (SetFont): now we may set a font on a whole selection!
5497 (getSelection): added helper function.
5499 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5501 * insetcite.C (Ascii): Add method.
5503 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5506 * insetbib.C: fix path for OS/2 & Win32
5508 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5510 * insetfoot.C (Latex): don't use % after footnote.
5512 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5514 * insettext.C (Read): use clear
5515 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5517 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5519 * insetfloatlist.h: add a bunch of std:: qualifiers.
5521 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5523 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5524 FLOAT_LIST_CODE, renumber code list.
5526 * insettoc.C (getScreenLabel): remove support for float lists
5530 * insetfloatlist.[Ch]: new files
5532 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5534 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5536 * insettabular.C (LocalDispatch):
5537 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5540 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5542 * insettext.C: remvoe !NEW_INSETS cruft
5544 * insettabular.C: remove !NEW_INSETS cruft
5546 * insetcollapsable.h: remove !NEW_INSETS cruft
5548 * insetbib.C: remove !NEW_INSETS cruft
5550 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5552 * insettoc.C: hack to make listof algorithm work
5554 2001-04-20 Juergen Vigna <jug@sad.it>
5556 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5558 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5560 * insetquotes.C (Latex): improve the guard against
5561 unwanted !` and ?` ligatures. This should really be done in
5562 another place (to catch all this ligatures at low-level).
5564 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5566 * insettext.C (init): remvoe leftovers from cursor_visible change
5567 (draw): use c++ cast
5568 (LocalDispatch): dispatch LFUN_MESSAGE
5570 * insettabular.C (InsetTabular): remove leftovers from
5571 cursor_visible, and scoped_ptr changes
5572 (draw): use c++ cast
5574 * insetcollapsable.C (draw): use c++ cast
5576 * ExternalTemplate.h: inherit privaely from noncopyable
5577 * insetcommand.h: ditto
5578 * insetinclude.h: ditto
5580 2001-04-16 Allan Rae <rae@lyx.org>
5582 * insettoc.C (Ascii):
5583 * insettext.C (draw):
5584 * insettabular.C (setPos):
5585 * insetminipage.C (Read):
5586 * insetfloat.C (placement):
5587 * insetcaption.C (Ascii, DocBook):
5588 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5589 an unrecognised preprocessor directive. So ensure they're wrapped.
5591 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5594 * insetexternal.C: set view on Clone. Add _ to private members.
5596 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5598 * insettext.C (InsetText): fix new
5599 (InsetText): reindent some, simplify deletion of par list
5600 (clear): simplify deletion of par list, fix new
5601 (SetParagraphData): simplify deletion of par list
5603 * insettabular.[Ch] (getLabelList): implement new method
5605 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5607 * lyxinset.h: do not include gettext.h...
5615 * insetlatexaccent.C:
5619 * inseturl.C: ... and do it here instead
5621 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5623 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5625 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5627 * insetcollapsable.[Ch] (getLabelList): implement
5629 * insettext.[Ch] (getLabelList): implement
5631 * insettext.h: reindent
5633 * insettabular.h: make tabular a scoped_ptr
5635 * insettext.C (init): adjust for cursor_visible
5636 (ToggleInsetCursor): constify asc and desc, font, adjust for
5638 (ShowInsetCursor): constify asc and desc, font, adjust for
5640 (HideInsetCursor): adjust for cursor_visible
5642 * insettabular.C: reindent some
5643 (InsetTabular): adjust for scoped_ptr and cursor_visible
5644 (InsetTabular): ditto
5645 (~InsetTabular): delete delete
5646 (Clone): adjust for scoped_ptr
5647 (Read): constify old_format, adjust for scoped_ptr, move init of
5649 (draw): constify tx, localize loop vars.
5650 some other localization of variables, remove double initilizatons.
5652 * insetfoot.C: remove using std::ostream, add ostream where needed
5654 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5656 * lyxinset.h: some reindentaion, use initializer list for
5658 UpdatableInset: make cursor_visible a private var add
5659 public isCursorVisible(), add protected toggleCursorVisible() and
5660 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5662 * insettoc.C: remvoe using decl
5663 (getScreenLabel): make cmdname donst
5666 (Ascii): don't use endl
5668 * insetfootlike.C: remove using decl at file scope and add std::
5670 * insetmarginal.C: ditto
5672 * insetfoot.C: some reformatting
5674 * insetfloat.C (InsetButtonRelease): adjust the hit area
5676 * insetert.C (SetFont): some reformatting
5678 * insetcollapsable.C: some reformatting and constification
5679 (Clone): comment out.
5680 * insetcollapsable.h: some reformatting
5681 (Clone): comment out.
5686 2001-03-30 Juergen Vigna <jug@sad.it>
5688 * insetcollapsable.h: changen *inset to be a InsetText inset.
5690 * some files: changed to reflect the above change.
5692 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5694 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5695 InsetExternal::Params.
5696 Added operator==() and operator!=() for the Params struct.
5698 2001-03-29 Juergen Vigna <jug@sad.it>
5700 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5703 * insetminipage.C: removed widthp_ and all it's functions and changed
5704 to use new %-lengths of LyXLength.
5706 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5708 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5710 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5712 * insetgraphicsParams.C (operator!=): new function, needed by the
5713 ControlGraphics class.
5715 2001-03-28 Juergen Vigna <jug@sad.it>
5717 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5718 (checkAndActivateInset): don't use the values returned from
5719 call to bv->checkInsetHit.
5721 * insetminipage.C (Clone): set special minipage values.
5723 * insetcollapsable.C (draw): changed to draw the button in the
5724 upper left corner outside the textinset.
5725 (ascent): changed because of different drawing
5729 (InsetButtonPress): ditto
5730 (InsetButtonRelease): ditto
5731 (InsetMotionNotify): ditto
5733 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5735 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5739 2001-03-26 Juergen Vigna <jug@sad.it>
5741 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5743 * insettext.C (ShowInsetDialog): implemented above function.
5745 * insettabular.C (ShowInsetDialog): ditto
5747 * insetminipage.C (ShowInsetDialog): ditto
5749 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5751 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5752 InsetInclude::Params. Don't store a buffer * in Params. Store the
5753 master file name instead.
5755 2001-03-23 Juergen Vigna <jug@sad.it>
5757 * insetcollapsable.C (InsetMotionNotify):
5758 (InsetButtonRelease):
5759 (InsetButtonPress): fixed y-offset (minipages).
5761 * insettext.C (draw): force a FULL update if cleared == true.
5763 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5764 routine to draw the minipages on its position-flag.
5765 (InsetInInsetY): give back the right y position, because of minipage
5768 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5771 * insetfloat.C (DocBook): docbook export code.
5773 2001-03-22 Juergen Vigna <jug@sad.it>
5775 * insetminipage.C (getMaxWidth): added function to set the drawing
5777 (Read): should work now!
5779 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5780 if we create a new inset.
5782 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5784 * figinset.C (fl_set_preemptive_callback): moved definition outside
5787 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5789 * insetminipage.C (Read): prepare for reading of minipage arguments.
5791 2001-03-18 Baruch Even <baruch@lyx.org>
5793 * insetgraphics.C: Minor cleanups of the comments and code.
5795 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5797 * insetminipage.C (InsetMinipage): default to not collapsed
5799 2001-03-16 Juergen Vigna <jug@sad.it>
5801 * insetminipage.C (width): modified with to be a string
5802 (widthp): added widthp (for % width) support functions.
5803 (InsetButtonRelease): added to open the options dialog on button==3.
5804 (~InsetMinipage): added to hide the dialog.
5806 * insetminipage.h: added hideDialog signal
5808 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5810 * insetminipage.h: change the order or Position to match
5811 LyXParagraph::MINIPAGE_ALIGNMENT
5813 * several files: remvoe CXX_WORKING_NAMESPACES
5815 * ExternalTemplate.h: noncopyable is in namespace boost
5816 * insetinclude.h: ditto
5817 * insetcommand.h: ditto
5819 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5821 * insettext.C (Edit): #else# -> #else.
5822 * insettoc.C: added using directive.
5824 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5826 * insetminipage.h: add pos, inner_pos, width and height. + getters
5827 and setters for all of them.
5829 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5831 * insetinclude.C (Latex): Do not exit when the textclass of the
5832 included file differ from the textclass of the parent file.
5834 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5836 * ExternalTemplate.C (read): the reading of external insets now checks
5837 for \end_inset and removes it form the input stream.
5839 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5841 * ExternalTemplate.h:
5842 * ExternalTemplate.C:
5844 * insetexternal.C: move form to GUII
5846 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5849 * insetinclude.C: add InsetIncludeParams, use
5850 composition rather than derivation of InsetCommand
5852 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5854 * insettoc.C (Ascii): use the Buffer typedefs
5856 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5858 * insettoc.C (Ascii): implement for dynamic number of lists
5860 * insetcaption.[Ch]: update from new_insets branch
5861 * insetfloat.[Ch]: ditto
5863 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5866 * figinset.C: use new File Dialog
5868 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5870 * insettext.C: changes becuase of ParagraphParameters.
5872 2001-02-28 Baruch Even <baruch@ev-en.org>
5874 * insetgraphics.C (updateInset): Changed due to the change in
5877 2001-02-26 Juergen Vigna <jug@sad.it>
5879 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5880 handled in LyXText).
5882 2001-02-23 Juergen Vigna <jug@sad.it>
5884 * insettext.C (draw): some small repainting fixes.
5885 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5887 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5888 should be) and not an int.
5890 * insettabular.C (LocalDispatch): ditto
5892 * insettext.C (LocalDispatch): ditto
5894 * insetcollapsable.C (LocalDispatch): ditto
5896 2001-02-22 Juergen Vigna <jug@sad.it>
5898 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5899 DISPATCH it and we don't have a locking_inset.
5901 2001-02-21 Baruch Even <baruch@ev-en.org>
5903 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5904 instead of GraphicsCacheItem *.
5906 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5908 * insetcollapsable.C (getLyXText): add const qualifier to second
5911 2001-02-22 Juergen Vigna <jug@sad.it>
5913 * insettext.C (getLyXText): honor the recursive parameter.
5914 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5916 * inset.C (getLyXText): added bool recursive parameter.
5918 * insettext.C (SetUpdateStatus): or the update codes.
5919 (draw): check need_update with &.
5920 (InsetButtonPress): set no_selection to not put a selection when
5921 entering an inset and it is redraws in another spot.
5923 * insettext.h: made need_update an int.
5925 2001-02-20 Baruch Even <baruch@ev-en.org>
5928 * insetgraphisc.C: Changed to use better semantics when loading images
5929 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5931 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5935 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5936 consistent with InsetTabular.
5938 2001-02-19 Juergen Vigna <jug@sad.it>
5940 * insettabular.C (LocalDispatch): implement PAGE up/down.
5942 * insettext.C (draw): clear all of it on need_update==INIT too!
5944 * insettabular.C (InsetUnlock): always clear the selection.
5946 * inset.C (scroll): normally we only want to scroll the inset until
5947 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5949 2001-02-14 Juergen Vigna <jug@sad.it>
5951 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5952 (resetPos): fixed scroll behaviour.
5953 (LocalDispatch): do an update if moving cursor inside a table cell
5954 requests a scroll of the tabular.
5956 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5958 * insettext.C (textWidth): constify local var
5960 * insettabular.C: small cleanup.
5962 * insetfoot.C (Latex): constify local var
5964 * insetcollapsable.C: small cleanup.
5966 * figinset.C (runqueue): use compare instead of strcmp
5968 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5971 * insetinfo.C: remove cruft
5973 2001-02-14 Juergen Vigna <jug@sad.it>
5975 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5977 2001-02-13 Juergen Vigna <jug@sad.it>
5979 * insettext.C (InsertInset): don't move left (is this right?)
5981 * insettabular.C (LocalDispatch): use of the no_draw variable
5983 * insettabular.h: new no_draw variable to stop redraw
5985 * insettabular.C (TabularFeatures): fixed update for alignment change
5987 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5991 * insetbib.C: move dialogs to frontends/
5993 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5995 * insettext.C (LocalDispatch): Restore the language if the inset
5998 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6000 * insettext.C (moveRightIntern): Update the selection cursor.
6001 (moveLeftIntern): Ditto.
6003 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * Makefile.am: remove BoundingBox.h
6007 * BoundingBox.h: removed
6009 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6011 * insettext.C (LocalDispatch): Update selection cursor when moving
6012 cursor to the right.
6013 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6014 (moveLeftIntern): Ditto.
6016 2001-02-05 Baruch Even <baruch.even@writeme.com>
6018 * insetgraphics.C: Updated automatic image conversion, it now goes into
6019 temporary directory instead of with the image itself.
6021 2001-01-21 Baruch Even <baruch@ev-en.org>
6023 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6024 to EPS or PNG when needed (support bitmap graphics).
6026 2000-11-02 Baruch Even <baruch@ev-en.org>
6029 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6030 and removal of commented out code.
6032 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6034 * insetbib.C (callback): Update citations if the key has changed.
6036 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6038 * insetbib.C (InsetBibKey): Better computation of default key.
6039 (getScreenLabel) Show both the key and the label.
6040 (getBibLabel): New method.
6041 (callback): Force a redraw if the inset have been changed.
6043 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6045 * insetref.C (getType, getName): Move methods from
6046 src/frontends/xforms/FormRef.C.
6048 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6050 * insettabular.C: Various improvements (use only one dummy position).
6052 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6054 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6055 par->bibkey->width. This fixes the crashes when running without
6056 gui or when having included documents.
6058 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6060 * insetcommand.C (getAsString, setFromString): Cleanup.
6062 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6064 * insetref.C: Add the array InsetRef::types that contains
6065 information about all supported reference types.
6067 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6069 * lyxinset.h: remove trailing comma in enum.
6071 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6073 * insettext.C: kill LyXBell.