1 2003-10-22 Angus Leeming <leeming@lyx.org>
3 * insetcommand.h: remove the display method.
7 * insetindex.h (InsetPrintIndex):
8 * insettoc.h: add a display method, returning true.
10 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
16 * insetinclude.h: (1) finish off the inset display() work;
17 (2) fix the "is a bit silly" bug (accessing char
20 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
24 * insetfootlike.h: re-introduce display() for insets,
25 fixing the various bugs (stretch of line above, math inset
28 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
30 * insetbase.C (dispatch): new func
31 (priv_dispatch): new func replaces...
32 (localDispatch): this, deleted.
34 * all insets with dispatch modified for new code.
36 2003-10-15 André Pönitz <poenitz@gmx.net>
38 * insetcollapsable.[Ch]
40 * inset.h: re-add some edit(bv, index) method called by undo
42 2003-10-14 Angus Leeming <leeming@lyx.org>
44 * insetexternal.[Ch] (view, cache, view_):
45 * insetgraphics.[Ch] (view, cache, view_):
46 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
47 (statusChanged): call LyX::cref().updateInset.
49 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
52 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
55 2003-10-14 Angus Leeming <leeming@lyx.org>
57 * insetinclude.C (metrics, draw): only draw the preview when previews
60 2003-10-14 André Pönitz <poenitz@gmx.net>
62 * insetcollapsable.[Ch]:
65 * inset.h: getText() as alternative to getParagraphs()
67 2003-10-13 Angus Leeming <leeming@lyx.org>
70 * insetgraphicsParams.C: displayTranslator is now a function.
72 2003-10-13 Angus Leeming <leeming@lyx.org>
74 * insetinclude.C: remove #include "PreviewImage.h".
76 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
79 * ExternalTransforms.C:
81 * insetbox.h: ws changes only
83 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * insetinclude.C (localDispatch): do not call
86 InsetOld::localDispatch, just return UNDISPATCHED
87 * insetgraphics.C (localDispatch): ditto
88 * insetcommand.C (localDispatch): ditto
90 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * inset.h: get rid of RESULT typedef for dispatch_result
94 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
95 * insetert.[Ch] (localDispatch): ditto
96 * insettabular.[Ch] (localDispatch): ditto
101 * insettext.[Ch] (localDispatch): ditto
104 (moveRightIntern): ditto
105 (moveLeftIntern): ditto
108 * updatableinset.[Ch] (localDispatch): ditto
110 2003-10-12 Angus Leeming <leeming@lyx.org>
112 * renderbase.h (view, view_): removed.
113 * renderbase.C: removed.
114 * Makefile.am: remove render_base.C. The shortest lived file in
117 * renderbutton.C (draw):
118 * render_graphic.C (draw): don't cache the BufferView.
120 * insetabase.h (cache, view): removed.
122 * inset.h (generatePreview) removed.
124 * insetcallapsable.[Ch] (cache, view, view_): removed.
126 * insetcollapsable.C (draw): don't cache the BufferView.
128 * insetcommand.[Ch] (view): removed.
130 * insetexternal.[Ch] (cache, view, view_):
131 * insetgraphics.[Ch] (cache, view, view_):
132 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
134 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
135 when you have direct access to it. In fact, don't use the cache at all.
137 2003-10-10 Angus Leeming <leeming@lyx.org>
139 * insetinclude.C (metrics): use preview_->metrics.
140 (draw): use preview_->draw.
142 * render_preview.[Ch] (pimage): removed.
144 2003-10-10 Angus Leeming <leeming@lyx.org>
146 * renderers.[Ch]: removed.
149 * render_button.[Ch]:
150 * render_graphic.[Ch]:
151 * render_preview.[Ch]: new files. The first three are split out of
152 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
153 contains a re-worked InsetInclude::PreviewImpl also.
155 * Makefile.am: reflect the changed files.
158 * insetexternal.[Ch]:
159 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
161 * insetinclude.[Ch]: changes reflecting the change from
162 InsetInclude::PreviewImpl to RenderMonitoredPreview.
168 * inseturl.C: add #include "support/std_ostream.h"
170 2003-10-09 Angus Leeming <leeming@lyx.org>
172 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
173 to PreviewedInset::previewReady.
175 2003-10-09 Angus Leeming <leeming@lyx.org>
177 * insetexternal.[Ch] (statusChanged):
178 * insetgraphics.[Ch] (statusChanged): make a const member function.
180 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
183 2003-10-09 Angus Leeming <leeming@lyx.org>
185 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
186 to PreviewedInset's previewReady and removePreview member functions.
188 2003-10-08 André Pönitz <poenitz@gmx.net>
190 * insetcollapsable.C:
191 * insettext.[Ch]: saner 'init' structure
193 * updatableinset.[Ch]: remove unneeded code
195 2003-10-08 Angus Leeming <leeming@lyx.org>
197 Fix doxygen warnings.
199 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
200 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
202 2003-10-07 Angus Leeming <leeming@lyx.org>
204 * ExternalTransforms.[Ch]: new files, detailing transforms that can
205 be applied to InsetExternal.
207 * Makefile.am: add these new files.
209 * ExternalTemplate.[Ch]: add a list of available transforms to
210 class Template and a list of factory functions for transformer classes
211 that can act on this data to class Format.
213 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
215 * ExternalSupport.C: Add code to replace transform placeholders
216 with appropriate output.
218 2003-10-07 Angus Leeming <leeming@lyx.org>
220 * ExternalSupport.[Ch]: new files, moving the private member functions
221 and namespace anon functions out of insetexternal.C to here, so making
222 it easier to understand what is going on in insetexternal itself.
224 * Makefile.am: add new files.
226 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
227 allowing the class to be forward declared. (Also consistent with
228 all other Params classes.)
229 (write): moved out of the class. Move this function and those in
230 namespace anon to ExternalSupport.[Ch].
232 2003-10-07 Angus Leeming <leeming@lyx.org>
234 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
235 non-const member function.
237 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
242 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
244 2003-10-02 André Pönitz <poenitz@gmx.net>
246 * insettext.C (read): make sure there is at least one par
247 in the text after reading.
249 2003-10-01 José Matos <jamatos@lyx.org>
251 * insetbranch.C (linuxdoc, docbook): minor fix.
253 2003-10-01 Angus Leeming <leeming@lyx.org>
255 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
257 * insetexternal.[Ch]: changes due to the introduction of
258 namespace lyx::external.
260 2003-09-30 Angus Leeming <leeming@lyx.org>
262 * insetexternal.[Ch] (Params::read, write): new member functions.
264 2003-09-25 Angus Leeming <leeming@lyx.org>
266 * insetexternal.[Ch] (TempName): new (private) nested struct with
267 fake copy semantics. Enables us to use the generated copy c-tor
268 in the Params struct.
269 (Params::templatename, Params::tempname): use accessor functions.
271 2003-09-25 Angus Leeming <leeming@lyx.org>
273 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
274 function, returning a const pointer.
276 2003-09-23 Angus Leeming <leeming@lyx.org>
278 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
279 store them in a vector, preambleNames.
281 * insetexternal.C (validate): loop over all preambleNames and call
282 LaTeXFeatures::addExternalPreamble with each.
284 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
286 * insetbranch.C: bug fix in branches
288 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
290 * insetnote.C: small clean-up.
292 2003-09-19 Angus Leeming <leeming@lyx.org>
294 * inset.h (generatePreview): passed a 'Buffer const &' arg.
296 * insetcommand.C (string2params): clear params using the default c-tor.
298 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
299 InsetInclude::Params. No more data in this struct than in
300 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
301 (c-tor): no need to pass a 'Buffer const &' arg anymore.
302 (clone): remove #warning as it's now redundant.
303 (set): add a 'Buffer const &' arg. Make private.
304 (loadIfNeeded) move out of the class definition and into namespace anon.
305 (getMasterFilename, getFileName): ditto.
307 2003-09-18 Angus Leeming <leeming@lyx.org>
309 * insetcommand.C (setParams): use the params' copy constructor.
311 2003-09-18 Angus Leeming <leeming@lyx.org>
313 * insetinsetbase.h (getLabelList):
314 * insetinsetcollapsable.[Ch] (getLabelList):
315 * insetinsetinclude.[Ch] (getLabelList):
316 * insetinsetlabel.[Ch] (getLabelList):
317 * insetinsettabular.[Ch] (getLabelList):
318 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
319 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
321 2003-09-18 Angus Leeming <leeming@lyx.org>
323 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
324 redundant baggage from yesteryear.
325 Remove Params::flag as it is redundant; the info is present in
328 2003-09-18 Angus Leeming <leeming@lyx.org>
330 * insetinclude.C (latexString): add a Buffer const & arg.
332 2003-09-18 Angus Leeming <leeming@lyx.org>
337 * insettext.h: rename EnumLColor as LColor_color.
339 2003-09-18 Angus Leeming <leeming@lyx.org>
341 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
342 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
344 2003-09-16 Angus Leeming <leeming@lyx.org>
346 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
347 set before trying to generate a preview, else we trigger an assert.
349 2003-09-16 Angus Leeming <leeming@lyx.org>
351 * insetinclude.C (PreviewImpl::parent): return a const reference.
353 2003-09-16 Angus Leeming <leeming@lyx.org>
355 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
357 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
359 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
360 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
362 * insetminipage.C (metrics):
363 * insetnote.C (metrics):
364 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
365 access collapsed_ directly.
367 2003-09-16 Angus Leeming <leeming@lyx.org>
369 * insetbibitem.C: add #include "lyxfont.h".
371 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * insetbibtex.C: use namespace alias for lyx::support::os
376 2003-09-16 Angus Leeming <leeming@lyx.org>
378 * insetcollapsable.h: remove unused framecolor variable.
379 Remove #include "LColor.h".
381 * insetcollapsable.C: remove unused framecolor variable.
384 * insetcollapsable.C:
392 Add #include "LColor.h".
394 2003-09-16 Angus Leeming <leeming@lyx.org>
396 * insettext.[Ch] (frameColor): new accessor function.
397 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
403 add #include "LColor.h".
405 * insetcollapsable.h: add #include "LColor.h"
406 (for its framecolor member variable).
408 2003-09-16 Angus Leeming <leeming@lyx.org>
410 * insetenv.C (constructor): use accessor functions to access InsetText variables.
412 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
413 rename frame_color as frame_color_. Make private.
415 * insettext.C: associated changes.
417 2003-09-16 Angus Leeming <leeming@lyx.org>
419 * inset.h: store background_color_ as an int, not as an LColor::color to
420 get LColor.h out of the header file.
423 * insetlatexaccent.C:
426 * insetspecialchar.C:
428 add #include "LColor.h".
430 2003-09-16 Angus Leeming <leeming@lyx.org>
432 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
435 2003-09-15 Angus Leeming <leeming@lyx.org>
437 * inset.[Ch] (setBackgroundColor, backgroundColor):
438 * insettext.[Ch] (setFrameColor):
439 pass EnumLColor args, rather than LColor::color ones.
441 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
451 * insetwrap.C: remove usage of STRCONV
453 2003-09-15 Angus Leeming <leeming@lyx.org>
455 * renderers.C (draw):
456 * insetlatexaccent.C (draw): explicitly define the color passed to
459 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
461 * insettext.C: remove block causing problems in lockInsetInInset
462 (mentioned erroneously under Bug #1366)
464 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
466 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
469 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
471 * several files: change Assert to BOOST_ASSERT
473 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
475 * insettext.[Ch]: remove drawText[XY]Offset
477 2003-09-08 Angus Leeming <leeming@lyx.org>
479 * insetcollapsable.C:
484 * insetspecialchar.C:
487 * insettoc.C: remove redundant using directives.
489 2003-09-07 Angus Leeming <leeming@lyx.org>
492 * insetspecialchar.h: remove #include "support/std_string.h".
494 2003-09-06 Angus Leeming <leeming@lyx.org>
496 * renderers.C: add #include "insets/inset.h"
498 2003-09-05 Angus Leeming <leeming@lyx.org>
500 * *.C: strip out redundant #includes. (193 in total.)
502 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
504 * insets/insetbibtex.[Ch]:
505 * insets/insetcommand.h:
506 * insets/insetfloatlist.[Ch]:
507 * insets/insetinclude.[Ch]:
508 * insets/insettoc.[Ch]: Restricts the mouse click functionality
509 of insets like bibtex, include, toc and floatlist to the visible
510 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
511 up the dialogs. Cursor has to be in front of the inset (i.e.
512 start of row) for this to function.
514 2003-09-04 Angus Leeming <leeming@lyx.org>
516 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
517 structure outside of the Format struct. Format::preambleName refers to
518 an item in the map of all preamble snippets.
519 Make use of the new Debug::EXTERNAL flag.
521 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
522 (validate): Small change due to the changed storage of preamble snippets.
524 2003-09-04 Angus Leeming <leeming@lyx.org>
526 * insetgraphics.C: #include "support/os.h"
528 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
529 * insettabular.h: move #include "FuncStatus.h" out of the header file.
530 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
532 * insetcollapsable.h:
534 * insetnote.C: move #include "funcrequest.h" out of the header file.
536 2003-09-03 Angus Leeming <leeming@lyx.org>
538 * insetexternal.C (updateExternal):
539 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
542 2003-09-03 Angus Leeming <leeming@lyx.org>
544 * insetexternal.C: don't bring namespace lyx::support into the global
547 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
549 * insetbranch.C: Add Branch: to label
551 2003-09-02 John Levon <levon@movementarian.org>
554 * insettext.C: remove cursor.i[xy]()
556 2003-08-28 Angus Leeming <leeming@lyx.org>
558 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
559 "sh ", enabling the conversion to be carried out even if the script
562 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * most files: change to use const Buffer refs
566 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
568 * insetfootlike.C: whitespace.
570 2003-08-26 John Levon <levon@movementarian.org>
574 * insetindex.h: remove remaining mentions of needFullRow()
576 2003-08-26 André Pönitz <poenitz@gmx.net>
582 * inset.[Ch]: remove InsetOld::par_owner_ & handling
584 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
586 * insetbranch.C: Small fix to prevent a crash on loading.
588 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
593 * insetcollapsable.h:
595 * insetfloatlist.[Ch]:
596 * insetfootlike.[Ch]:
604 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
605 altogether, putting the logic in metrics/draw in the insets.=20
606 Draws short single row insets with more or less realistic metrics.
608 2003-08-19 André Pönitz <poenitz@gmx.net>
610 * insettext.C: use new RowPainter interface
612 2003-08-18 John Levon <levon@movementarian.org>
614 * insetref.C: require amsmath for eqref
616 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
620 * insetbranch.[Ch]: implements the 'branch inset'
621 idea. This allows the output of various versions of a document
622 from a single source version, selectively outputing or suppressing
623 output of parts of the text.
624 This implementation contains a 'branch list editor' in a separate
625 tab of the document settings dialog. Branches are user definable
626 and have a "display colour" to distinguish them on-screen.
628 ColorHandler was somewhat cleaned up.
629 (1) make possible a dynamically growing LColor list by allowing
630 the graphic context cache to grow along (vector);
631 (2) eliminate an IMHO unnecessary step in colour allocation.
633 2003-08-15 André Pönitz <poenitz@gmx.net>
635 * insettext.[Ch]: adjust after rowlist split
637 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
639 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
640 rename valign-center to valign-middle;
641 rename VALIGN_CENTER to VALIGN_MIDDLE
643 2003-08-11 André Pönitz <poenitz@gmx.net>
645 * inset.h: remove resizeLyXText
648 * insetcollapsable.[Ch]:
650 * insettabular.[Ch]: adjust
652 * insettext.[Ch]: remove saveLyXTextState,
653 restoreLyXTextStat, sstate, reinitLyXText
655 2003-08-07 André Pönitz <poenitz@gmx.net>
657 * inset.[Ch]: move non-crucial functions out-of-line
659 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
660 remove duplicated code.
662 2003-08-05 André Pönitz <poenitz@gmx.net>
665 * insetcollapsable.[Ch]:
678 * updatableinset.[Ch]: rip out "deep update"
680 * insettext.C (localDispatch): merge cases with default branch
682 * insettext.C (frame_x,y,w,h): replace member with automatic variables
684 * insettabular.[Ch] (updateLocal): simplify logic
686 2003-08-04 André Pönitz <poenitz@gmx.net>
688 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
689 is 'FULL' all the time.
691 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * insetert.C (get_new_label): only add ... to the (closed) label
694 when the string has been shortened
696 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
698 * Always use std::endl with lyxerr
700 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
702 * insetnote.C: update \author list
704 2003-07-31 André Pönitz <poenitz@gmx.net>
706 * insetcollapsable.h:
708 * insettext.[Ch]: remove toggleSelection
710 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
712 (with help from Juergen Spitzmueller)
713 * insetnote.C: add add i18n support. Use Prefs-definable
714 colours for Comment and Greyedout.
716 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
718 * insetcollapsable.[Ch]:
720 * insetert.C: factor out the detection of clicking on the inset
721 button as 'hitButton'. John Levon contributed.
723 2003-07-30 André Pönitz <poenitz@gmx.net>
725 * insetcollapsable.C:
727 * insettabular.C: parantheses, localize vars etc.
729 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
731 * insetnote.C: Implement a newenvironment in preamble for
732 greyedout. Patch provided by Jürgen Spitzmüller.
734 2003-07-29 Angus Leeming <leeming@lyx.org>
736 * insetcommand.C (localDispatch): default to
737 InsetOld::localDispatch.
739 * insetbibitem.C (localDispatch):
740 * insetbibtex.C (localDispatch): remove call to
741 ChangeCitationsIfUnique.
743 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
745 * insetexternal.C (read): use pushpophelper.
747 2003-07-28 José Matos <jamatos@lyx.org>
749 * insetext.C (read): \end_document replaces \the_end.
751 2003-07-28 José Matos <jamatos@fep.up.pt>
753 * insetert.C (write): \layout -> \begin_layout.
754 Add missing \end_layout.
756 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * insetquotes.C: document a bit the format
760 * insettabular.C (write): remove extra space
762 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
763 * insetnote.C: Umpf. Hope I *now* get it right :-(
765 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
766 *insetnote.C: did the right fix to greyedout: \color
767 instead of \textcolor.
769 2003-07-28 Angus Leeming <leeming@lyx.org>
771 * insetbibtex.h: remove extraneous forward declaration.
774 * insetbibtex.h: Also remove long-dead Holder member class
777 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
779 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
782 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * insetwrap.C (addToToc): adjust for lyx::toc
786 * insetfloatlist.C (ascii): adjust for lyx::toc
788 * insetfloat.C (addToToc): adjust for lyx::toc
790 2003-07-27 José Matos <jamatos@fep.up.pt>
792 * insetnote.h (linuxdoc,docbook): update support.
794 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * insetfloat.C (wide): add a space to label, for consistency
798 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
800 * insettext.C (nextChange): adjust for lyx::find
801 (searchForward): ditto
802 (searchBackward): ditto
804 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * insetgraphicsParams.C:
807 * insetexternal.C: declare extern displayTranslator
810 * renderers.C: add #include "support/LAssert.h"
812 2003-07-27 José Matos <jamatos@fep.up.pt>
814 * insetfloat.[Ch] (linuxdoc):
815 * insetgraphics.C (linuxdoc):
816 * insettabular.C (linuxdoc):
817 * insettext.[Ch] (linuxdoc): add support for tables and figures
820 2003-07-27 José Matos <jamatos@fep.up.pt>
822 * insetinclude (latex): comply with makeLaTeXFile argument change.
824 2003-07-26 Asger Alstrup <alstrup@local>
826 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
827 the undo crashes. We'll see what problems other places this will
830 2003-07-26 Angus Leeming <leeming@lyx.org>
832 * insetgraphics.C: remove unused declaration of system_tempdir.
834 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * rename Inset to InsetOld
838 * all inset files (clone): return a auto_ptr<InsetBase>
840 2003-07-23 Angus Leeming <leeming@lyx.org>
842 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
844 2003-07-23 Angus Leeming <leeming@lyx.org>
846 * mailinset.[Ch] (inset2string):
847 * insetcommand.[Ch] (inset2string):
848 * insetert.[Ch] (inset2string):
849 * insetexternal.[Ch] (inset2string):
850 * insetfloat.[Ch] (inset2string):
851 * insetgraphics.[Ch] (inset2string):
852 * insetinclude.[Ch] (inset2string):
853 * insetminipage.[Ch] (inset2string):
854 * insetnote.[Ch] (inset2string):
855 * insettabular.[Ch] (inset2string):
856 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
858 * insetexternal.[Ch]:
859 * insetgraphics.[Ch]: get rid of the view() function. Associated
860 changes to the mailers' string2params and params2string functions.
862 2003-07-23 Angus Leeming <leeming@lyx.org>
864 * insetexternal.[Ch]: store the external file name in a FileName
865 member variable rather than a string + associated changes.
867 2003-07-21 Angus Leeming <leeming@lyx.org>
869 * insetgraphicsParams.[Ch]: store the graphics file name in
870 a FileName member variable rather than a string.
872 * insetgraphics.[Ch]:
873 * insetgraphicsParams.[Ch]: Associated changes.
875 2003-07-21 Angus Leeming <leeming@lyx.org>
877 * insetgraphics.[Ch] (string2params, params2string): passed a
878 buffer_path argument.
881 2003-07-21 Angus Leeming <leeming@lyx.org>
884 * insetgraphicsParams.[Ch]:
886 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
888 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
890 * insetnote.C: fixed greyout and conditionals layout foul-ups.
892 2003-07-18 André Pönitz <poenitz@gmx.net>
895 * insetminipage.[Ch]:
899 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
901 2003-07-18 André Pönitz <poenitz@gmx.net>
905 * insetcollapsable.C:
909 * insetgraphics.[Ch]:
910 * insetlatexaccent.[Ch]:
915 * insetspecialchar.C:
918 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
920 2003-07-17 André Pönitz <poenitz@gmx.net>
922 * insetcollapsable.C:
924 * insettext.C: don't call Inset::update() anymore
927 * insettabular.[Ch]: remove unneeded in_update_ members
929 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
931 2003-07-16 André Pönitz <poenitz@gmx.net>
933 * insettext.C (selectAll): remove
935 2003-07-16 John Levon <levon@movementarian.org>
938 * insetnote.C: implement showInsetDialog()
940 2003-07-15 André Pönitz <poenitz@gmx.net>
943 * insettext.C: refresh_status tristate -> need_update bool
945 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
947 * insettext.C: adjust call to LyXText::init
949 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
951 * insettext.C: use bufferview_funcs->replaceSelection()
952 to delete selections in some cases (bugs 441, 673, 702, 954).
954 2003-07-14 André Pönitz <poenitz@gmx.net>
956 * insettext.C (draw): use slimmed down rowpainter interface
958 2003-07-14 André Pönitz <poenitz@gmx.net>
960 * insetcollapsable.C:
962 * insettext.[Ch] (cy, ciy, setUpdateStatus):
963 remove unused BufferView * argument
965 2003-07-14 André Pönitz <poenitz@gmx.net>
967 * insettext.[Ch]: used cached metrics a bit more
969 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
971 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
973 2003-07-10 André Pönitz <poenitz@gmx.net>
976 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
978 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
980 * introduce namespace lyx::graphics
982 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * introduce namespace lyx::support
986 2003-06-30 André Pönitz <poenitz@gmx.net>
988 * insetcite.C (localDispatch): fix case of missing return value
990 * insetcite.C (ascii): remove unneeded temporary
992 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * insetspace.h: fix \file
996 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
997 * insetinclude.C (fillWithBibKeys): ditto
999 * insetbibitem.C: fix type const order
1001 * inset.C (getLyXText): add varname for arg
1003 * ExternalTemplate.h: fix type const order
1005 2003-06-27 André Pönitz <poenitz@gmx.net>
1007 * insettext.C: take care of removed LyXCursor::row_ member
1009 * insettext.[Ch]: use new TextCursor struct for sstate
1011 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1013 * inseterror.[Ch]: removed
1015 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1017 * insetinclude.C (docbook): use parseError instead of sgmlError
1019 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1021 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1022 of BufferList::loadLyXFile
1024 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * insettext.C (update): simplify
1027 (updateLocal): remove commented code
1028 (insetUnlock): simplify
1029 (lockInset): simplify
1030 (updateInsetInInset): simplify
1031 (localDispatch): simplify
1033 (resizeLyXText): simplify
1034 (collapseParagraphs): simplify
1036 * insetert.C (get_new_label): simplify
1038 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1040 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1041 pasteSelection with index
1043 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1045 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1047 2003-06-16 André Pönitz <poenitz@gmx.net>
1049 * insetbase.h: new virtual base function clone()
1051 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1052 Inset * clone() -> InsetBase * clone()
1054 2003-06-13 André Pönitz <poenitz@gmx.net>
1056 * insettabular.[Ch]: make tabular a proper member
1058 2003-06-12 André Pönitz <poenitz@gmx.net>
1060 * insettabular.[Ch]: some renaming plus whitespace
1062 2003-06-11 Angus Leeming <leeming@lyx.org>
1064 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1067 * insetbutton.[Ch]: removed.
1068 * graphicinset.[Ch]: renamed as renderers.[Ch].
1070 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1071 Create a new class ButtonRenderer using the InsetButton::metrics() and
1073 Derive both from a common RenderedInset base class.
1075 * insetcommand.[Ch]:
1076 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1077 Give it a ButtonRenderer member variable. Use it.
1078 Give the classes working copy c-tors.
1079 No longer derive from boost::noncopyable.
1081 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1082 display its contents as a button or as a graphic.
1084 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1087 2003-06-11 Angus Leeming <leeming@lyx.org>
1089 * insetcite.C (localDispatch): reformat.
1091 * insetref.C (localDispatch): enable dialog to be lauched.
1093 2003-06-11 John Levon <levon@movementarian.org>
1095 * insettabular.C: correctly mark all cells as erased
1097 2003-06-11 Angus Leeming <leeming@lyx.org>
1099 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1100 ExternalTemplate but its name, templatename. This means that a file
1101 containing a reference to an External Template not installed on the
1102 current machine will be saved retaining this info rather than inserting
1103 the first "valid" template from the list of templates.
1105 As a by product, the visual statement that the Template is missing is
1108 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1110 * insettext.C (appendParagraphs): remove some commented code.
1112 2003-06-10 Angus Leeming <leeming@lyx.org>
1114 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1117 * insetexternal.[Ch]: move tempname_ into the Params struct.
1118 (Params d-tor): new function, to clean-up this temp file.
1119 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1121 (editExternal, doSubstitution): move out of class.
1123 2003-06-10 Angus Leeming <leeming@lyx.org>
1125 * graphicinset.[Ch] (params): removed.
1126 * graphicinset.h (operator=): declared private but not defined.
1127 (statusMessage): made private.
1129 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1131 2003-06-07 John Levon <levon@movementarian.org>
1133 * insetert.C (latex): make a newline mean just that not
1136 2003-06-07 José Matos <jamatos@fep.up.pt>
1138 * insethfill.[Ch] (linuxdoc, docbook): implement output
1139 * insetspace.C (linuxdoc, docbook): remove coments as the code
1142 2003-06-06 José Matos <jamatos@fep.up.pt>
1144 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1146 2003-06-06 André Pönitz <poenitz@gmx.net>
1148 * insetwrap.[Ch]: code compactification
1150 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1152 * mailinset.C (updateDialog): use Dialogs::visible
1154 2003-06-04 Angus Leeming <leeming@lyx.org>
1156 * graphicinset.C (draw): add a comment for the #if 0 block.
1158 * insetexternal.h: remove Params::parameters variable.
1159 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1160 and read it back making full use of LyXLex.
1162 2003-06-04 André Pönitz <poenitz@gmx.net>
1164 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1166 2003-06-04 John Levon <levon@movementarian.org>
1168 * insettabular.C: back out tall table speed up. It was broken
1170 2003-06-03 Angus Leeming <leeming@lyx.org>
1172 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1173 Remove ViewCommand and UpdateCommand.
1175 * graphicinset.C (update): bug fix. Set the params before calling the
1177 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1178 BufferView cache to enable the InsetExternal::editCommand to be invoked
1179 from the frontends. Would not be needed if this were dispatched properly.
1180 (old_ascent_): variable removed.
1182 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1183 do any necessary conversions of external material. Also use the
1184 new GraphicsInset to display the inset within LyX.
1186 2003-06-03 Angus Leeming <leeming@lyx.org>
1188 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1189 and move it somewhere where InsetExternal can use it too.
1191 * Makefile.am: add the new files.
1193 * insetgraphics.[Ch]: make use of the new GraphicInset.
1195 2003-06-03 John Levon <levon@movementarian.org>
1198 * insetbibitem.[Ch]:
1201 * insetcommand.[Ch]:
1205 * insetexternal.[Ch]:
1209 * insetgraphics.[Ch]:
1211 * insetinclude.[Ch]:
1214 * insetlatexaccent.[Ch]:
1215 * insetmarginal.[Ch]:
1216 * insetminipage.[Ch]:
1223 * insetspecialchar.[Ch]:
1224 * insettabular.[Ch]:
1226 * insetthereom.[Ch]:
1229 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1231 * insetgraphics.[Ch]:
1232 * insetgraphicsParams.[Ch]: always store an absolute
1235 2003-06-02 André Pönitz <poenitz@gmx.net>
1239 * insetlatexaccent.C: remove duplicated call to metrics()
1241 2003-06-02 John Levon <levon@movementarian.org>
1243 * insettabular.C: fix resize of column width
1245 2003-06-02 John Levon <levon@movementarian.org>
1250 * insetparent.C: remove insetparent
1252 2003-06-02 André Pönitz <poenitz@gmx.net>
1259 * insetcollapsable.[Ch]:
1263 * insetgraphics.[Ch]:
1264 * insetinclude.[Ch]:
1265 * insetlatexaccent.[Ch]:
1266 * insetminipage.[Ch]:
1267 * insetnewline.[Ch]:
1270 * insetspecialchar.[Ch]:
1271 * insettabular.[Ch]:
1272 * insettext.[Ch]: unify first drawing phase
1275 * insetbase.h: move validate() to the base
1277 2003-05-31 Angus Leeming <leeming@lyx.org>
1279 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1281 2003-05-30 André Pönitz <poenitz@gmx.net>
1286 * insetcaption.[Ch]:
1287 * insetcollapsable.[Ch]:
1290 * insetgraphics.[Ch]:
1291 * insetinclude.[Ch]:
1292 * insetlatexaccent.[Ch]:
1293 * insetnewline.[Ch]:
1296 * insetspecialchar.[Ch]:
1297 * insettabular.[Ch]:
1299 * updatableinset.[Ch]: unify second drawing phase
1301 2003-05-30 John Levon <levon@movementarian.org>
1303 * insetgraphics.C: fix a bformat
1305 2003-05-29 John Levon <levon@movementarian.org>
1307 * insettabular.C: remove unused bufferOwner()
1309 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1311 * insettext.C (lockInsetInInset): adjust
1312 (getLabelList): use const_iterator, adjust
1313 (getInsetFromID): use const_iterator, adjust
1314 (addPreview): use const_iterator, adjust
1316 * insetwrap.C (clone): remove const_cast
1318 * insetnote.C (clone): remove const_cast
1320 * insetminipage.C (clone): remove const_cast
1322 * insetmarginal.C (clone): remove const_cast
1324 * insetfoot.C (clone): remove const_cast
1326 * insetfloat.C (clone): remove const_cast
1328 * insetert.C (clone): remove const_cast
1330 * delete commented same_id functions from a lot of files.
1332 2003-05-28 John Levon <levon@movementarian.org>
1338 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1340 * insetminipage.C: fix metrics (bug 1144)
1342 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * insettext.C (saveLyXTextState): adjust
1345 (restoreLyXTextState): adjust
1348 (unlockInsetInInset): adjust
1349 (localDispatch): adjust
1350 (getLyXText): adjust
1352 * insettabular.C (insertAsciiString): adjust
1354 2003-05-27 André Pönitz <poenitz@gmx.net>
1357 * insetcollapsable.C:
1360 * insetlatexaccent.C:
1365 * insetspecialchar.C:
1367 * insettext.C: dim.w -> dim.wid
1369 2003-05-26 John Levon <levon@movementarian.org>
1371 * insettabular.C: avoid drawing all of a long table
1372 if it's not needed. A big speedup
1374 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * remove same_id from function signatures, adjust
1378 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * insettext.C (InsetText): adjust
1382 (setParagraphData): separate same_id cases, adjust
1383 (appendParagraphs): adjust
1384 (appendParagraphs): adjust
1386 2003-05-23 André Pönitz <poenitz@gmx.net>
1388 * insetbutton.h: whitespace
1390 * insettabular.C: more compact code
1392 * updatableinset.C: remove const_cast
1395 2003-05-23 Angus Leeming <leeming@lyx.org>
1397 * insetexternal.C (write): check how many lines are output.
1398 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1399 if the template has defined it.
1401 2003-05-23 Angus Leeming <leeming@lyx.org>
1403 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1405 2003-05-23 Angus Leeming <leeming@lyx.org>
1407 * insetfoot.C (latex):
1408 * inseturl.C (latex): rename fragile as moving_arg.
1410 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * inseterror.C (localDispatch): comment out unused var.
1414 2003-05-22 Angus Leeming <leeming@lyx.org>
1416 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1417 passed through the LatexRunParams arg.
1419 2003-05-22 Angus Leeming <leeming@lyx.org>
1421 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1422 through the LatexRunParams arg.
1424 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1425 arg rather than through a global var.
1427 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * insetspecialchar.C (dimension): use a string.
1431 2003-05-22 Angus Leeming <leeming@lyx.org>
1433 * insetbibtex.C (latex):
1434 * insetgraphics.C (latex):
1435 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1436 runparams rather than from the buffer itself.
1438 2003-05-22 Angus Leeming <leeming@lyx.org>
1440 * inset*.[Ch] (latex):
1441 passed a LatexRunParams parameter.
1443 * insetgraphics.C (latex): actually use it ;-)
1445 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1447 * insetfloat.C (addToToc): trivial compile fix
1449 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1451 * insettext.[Ch] (paragraph): delete unused function
1453 * insetfloat.C (addToToc): parlist simplfication
1455 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1457 * insetspace.[Ch]: added (new space insets)
1459 * inset.h: handle new space insets
1461 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * insetfloat.C (addToToc): adjust
1465 2003-05-21 André Pönitz <poenitz@gmx.net>
1467 * insettext.[Ch]: fix drawing bug introduced earlier
1469 2003-05-19 André Pönitz <poenitz@gmx.net>
1471 * insetspecialchar.C: fix bug introduced yesterday
1473 2003-05-19 André Pönitz <poenitz@gmx.net>
1477 * insetcollapsable.[Ch]:
1481 * insetgraphics.[Ch]:
1482 * insetgraphicsParams.[Ch]:
1483 * insetlatexaccent.[Ch]:
1484 * insetminipage.[Ch]:
1485 * insetnewline.[Ch]:
1487 * insetspecialchar.[Ch]:
1488 * insettabular.[Ch]:
1489 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1491 2003-05-19 André Pönitz <poenitz@gmx.net>
1494 * insettext.C: more insetenv
1496 2003-05-16 André Pönitz <poenitz@gmx.net>
1499 * insetminimpage.[Ch]:
1500 * insetcollapsable.[Ch]: fix #832
1502 2003-05-16 André Pönitz <poenitz@gmx.net>
1505 * insetbibitem.[Ch]:
1509 * insetcollapsable.[Ch]:
1510 * insetcommand.[Ch]:
1513 * insetexternal.[Ch]:
1514 * insetfloatlist.[Ch]:
1515 * insetgraphics.[Ch]:
1516 * insetinclude.[Ch]:
1519 * insetlatexaccent.[Ch]:
1522 * insettabular.[Ch]:
1526 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
1528 2003-05-13 André Pönitz <poenitz@gmx.net>
1531 * insetcollapsable.C:
1535 * insetwrap.C: tostr from own header
1547 * insetwrap.C: STRCONV
1550 2003-05-12 André Pönitz <poenitz@gmx.net>
1562 * insetwwrap.C: boost::format -> bformat all over the place
1564 2003-05-05 André Pönitz <poenitz@gmx.net>
1566 * insettext.h: add missing #include <map>
1568 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * insettext.C (InsetText): parlist cleanup
1573 (insetUnlock): ditto
1575 (lockInsetInInset): ditto
1579 (searchBackward): ditto
1580 (collapseParagraphs): ditto
1582 2003-05-06 John Levon <levon@movementarian.org>
1584 * insetcaption.C: don't cast wrap inset to InsetFloat
1587 * insetfloat.C: remove unneeded type() function
1589 2003-05-05 André Pönitz <poenitz@gmx.net>
1593 * insettabular.[Ch]:
1594 * insetcollapsable.[Ch]: remove unused function firstParagraph()
1595 replace getFirstParagraph() by getParagraphs()
1597 2003-05-03 John Levon <levon@movementarian.org>
1599 * insetcollapsable.h:
1600 * insetcollapsable.C:
1606 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
1607 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
1608 getCursor(). Remove explicit cursor hides.
1610 2003-05-02 André Pönitz <poenitz@gmx.net>
1612 * insettext.C: remove unneeded &*
1614 2003-04-30 John Levon <levon@movementarian.org>
1616 * insettabular.C: fix edit message
1618 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * insettext.C (setFont): do not convert iterator -> pointer
1622 * insettabular.C (localDispatch): do not convert iterator -> pointer
1624 (tabularFeatures): ditto
1626 2003-04-29 André Pönitz <poenitz@gmx.net>
1628 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
1630 2003-04-28 André Pönitz <poenitz@gmx.net>
1632 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1635 2003-04-25 André Pönitz <poenitz@gmx.net>
1637 * insetenv.C: derive from InsetText instead of InsetCollapsable
1639 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * insetexternal.C (string2params): dont do anything if the string
1643 * insetgraphics.C (string2params): ditto
1644 * insetcommand.C (string2params): ditto
1645 * insetert.C (string2params): ditto
1646 * insetfloat.C (string2params): ditto
1647 * insetinclude.C (string2params): ditto
1648 * insetminipage.C (string2params): ditto
1649 * insettabular.C (string2params): ditto
1650 * insetwrap.C (string2params): ditto
1652 2003-04-24 André Pönitz <poenitz@gmx.net>
1654 * insetref.C: support for eqref
1656 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * insetert.C (read): use ParagraphList::iterator.
1660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * insetquotes.C (latex): comment some code and add warnings.
1664 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1666 * insetexternal.C (localDispatch): added a missing DISPATCHED
1668 2003-04-12 John Levon <levon@movementarian.org>
1670 * insetwrap.C (addToToc): fix a crash, conversion
1671 from while to for loop forgot to remove the explicit
1674 2003-04-10 John Levon <levon@movementarian.org>
1676 * insettabular.C (tabularFeature): make sure
1677 to update the dialog when we change something
1680 (getStatus): don't disable some lfuns (bug 939)
1682 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * insettext.C (saveLyXTextState): adjust
1685 (localDispatch): adjust
1691 * insettabular.C (localDispatch): adjust
1693 (tabularFeatures): adjust
1695 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1697 * insettabular.C (searchForward,searchBackward): fix bug 782
1699 2003-04-07 John Levon <levon@movementarian.org>
1702 * insettext.C: clear status message on inset exit
1704 2003-04-03 John Levon <levon@movementarian.org>
1706 * insetcommand.C: return dispatched on DIALOG_UPDATE
1708 2003-04-02 John Levon <levon@movementarian.org>
1710 * insettabular.C: tab lfuns renamed
1712 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * insettext.C (update): move towards ParagraphList
1715 (updateLocal): ditto
1717 (insetUnlock): ditto
1719 (lockInsetInInset): ditto
1720 (updateInsetInInset): ditto
1721 (localDispatch): ditto
1724 (resizeLyXText): ditto
1725 (searchBackward): ditto
1726 (collapseParagraphs): ditto
1729 * insetwrap.C (InsetWrap): adjust
1730 (addToToc): adjust and rewrite loop
1732 * insettext.[Ch] (paragraph): delete function
1734 * insettabular.C (moveNextCell): adjust
1735 (movePrevCell): adjust
1736 (insertAsciiString): adjust
1738 * insetfloat.C (InsetFloat): adjust
1741 * insetert.C (InsetERT): adjust
1742 (write): adjust, and rewrite loop
1743 (latex): adjust, and rewrite loop
1744 (linuxdoc): adjust, and rewrite loop
1745 (docbook): adjust, and rewrite loop
1746 (localDispatch): adjust
1747 (get_new_label): adjust
1749 2003-04-01 John Levon <levon@movementarian.org>
1751 From Alfredo Braunstein
1754 * insetbutton.C: add localDispatch()
1756 * insetcommand.C: return DISPATCHED when edit() called
1758 * insettext.C: fix bug 967
1760 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * insettext.C: adjust
1764 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * insettext.C (draw): adjust
1767 (crow): return a RowList::iterator not a Row*
1769 * insetminipage.C (localDispatch): adjust
1771 * insetert.C (localDispatch): adjust
1773 2003-03-31 John Levon <levon@movementarian.org>
1776 * insetgraphicsParams.C: use_gui moved to lyx_gui
1778 2003-03-31 John Levon <levon@movementarian.org>
1780 * insettext.C: Alert fix
1782 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * insettext.C (ascent): adjust for RowList
1787 (getLyXText): adjust
1788 (toggleSelection): adjust
1790 * insetminipage.C (localDispatch): adjust for RowList
1792 * insetert.C (localDispatch): adjust for RowList
1793 (getMaxWidth): adjust for RowList
1795 2003-03-29 John Levon <levon@movementarian.org>
1797 * insetert.C: Alert cleanup
1799 2003-03-29 John Levon <levon@movementarian.org>
1801 * insettabular.C: Alert fix
1803 2003-03-28 John Levon <levon@movementarian.org>
1805 * insetfloat.C: reset label on INSET_MODIFY
1807 2003-03-28 John Levon <levon@movementarian.org>
1809 * insetgraphicsParams.C: read subcaptionText as a whole line
1812 2003-03-28 John Levon <levon@movementarian.org>
1814 * insettext.C: remove unused prototypes
1816 2003-03-25 Angus Leeming <leeming@lyx.org>
1818 * insetbibitem.C (localDispatch): repaint the view after modifying
1819 a bibitem inset in case the maximum InsetBibitem width has changed.
1821 2003-03-25 John Levon <levon@movementarian.org>
1824 * insettabular.C: LyXText renamings
1826 2003-03-24 John Levon <levon@movementarian.org>
1828 * insettext.C: remove some dead code. Fix bug 972 and
1829 related by posting a repaint in updateLocal(), and making
1830 the SEL functions set SELECTION.
1832 2003-03-22 John Levon <levon@movementarian.org>
1835 * inset.C: remove no-longer-needed topx_set
1837 * insetcollapsable.h:
1838 * insetcollapsable.C: remove dead code
1841 * insetert.C: rebreak the rows when a possible
1842 change in size is made, and reset the cursor
1845 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1847 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1848 topx_set. Fix drawing errors for clearInset(). Remove
1849 some unnecessary uses of topx, which should die.
1851 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1852 is no longer needed. Replace it with an ugly hack.
1854 2003-03-20 John Levon <levon@movementarian.org>
1857 * insetcollapsable.h:
1858 * insetcollapsable.C:
1866 * insettext.C: remove spurious font parameter
1867 from update(). Fix drawing of ERT insets inside
1868 insets (bug 966). Remove unused mark_dirty from
1869 tabular's updateLocal()
1871 2003-03-19 John Levon <levon@movementarian.org>
1880 * insetwrap.C: remove unused getter/setters
1882 2003-03-19 John Levon <levon@movementarian.org>
1884 * several files: bv->updateInset() doesn't take
1885 a bool mark_dirty any more
1887 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * adjust for BufferView* arg removal from lyxtext.
1891 2003-03-17 John Levon <levon@movementarian.org>
1893 * most files: remove the "cleared" parameter
1894 to draw in favour of always clearing. Associated
1897 2003-03-16 John Levon <levon@movementarian.org>
1899 * insettext.C: remove unused s.refresh
1901 2003-03-13 Angus Leeming <leeming@lyx.org>
1903 * insettext.C (edit): replace Dialogs::updateParagraph with
1904 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1906 2003-03-13 André Pönitz <poenitz@gmx.net>
1908 * Makefile.am: insert insetenv
1910 * insethenv.[Ch]: new files, currently inactive
1912 2003-03-12 John Levon <levon@movementarian.org>
1922 * insettext.C: use new insetnewline
1924 2003-03-12 John Levon <levon@movementarian.org>
1926 * insettext.C: readToken became readParagraph
1928 2003-03-12 John Levon <levon@movementarian.org>
1930 * insettext.C: use parlist iterator for reading contents
1932 2003-03-12 John Levon <levon@movementarian.org>
1934 * insettext.C: name change to readToken()
1936 2003-03-11 André Pönitz <poenitz@gmx.net>
1938 * Makefile.am: insert insethfill
1940 * insethfill.[Ch]: new files
1942 2003-03-10 Angus Leeming <leeming@lyx.org>
1944 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1946 (hideDialog): calls the new static Dialogs::hide() method.
1948 * insetbibitem.C (edit):
1949 * insetbibtex.C (edit):
1950 * insetcite.C (edit):
1951 * insetcommand.C (localDispatch):
1952 * inseterror.C (d-tor):
1953 * insetert.C (showInsetDialog):
1954 * insetexternal.C (localDispatch, edit):
1955 * insetfloat.C (localDispatch, showInsetDialog):
1956 * insetfloatlist.C (edit):
1957 * insetgraphics.C (localDispatch, edit):
1958 * insetinclude.C (localDispatch, edit):
1959 * insetindex.C (edit):
1960 * insetlabel.C (edit):
1961 * insetminipage.C (localDispatch, showInsetDialog):
1962 * insetref.C (edit):
1963 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1964 resetPos, showInsetDialog, openLayoutDialog):
1965 * insettoc.C (edit):
1966 * inseturl.C (edit):
1967 * insetwrap.C (localDispatch, showInsetDialog):
1968 changes due to the changed MailInset interface.
1970 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1972 * insetfloat.h: Set default placement to an empty string.
1974 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1976 * insettext.C (latex): adjust call to latexParagraphs.
1978 2003-03-10 Angus Leeming <leeming@lyx.org>
1980 * mailinset.C: warn the user if the BufferView has not been cached.
1982 2003-03-10 Angus Leeming <leeming@lyx.org>
1984 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1986 * insetcommand.h (inset):
1987 * insetert.h (inset):
1988 * insetexternal.h (inset):
1989 * insetfloat.h (inset):
1990 * insetgraphics.h (inset):
1991 * insetinclude.h (inset):
1992 * insetminipage.h (inset):
1993 * insettabular.h (inset):
1994 * insetwrap.h (inset):
1995 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1997 2003-03-10 Angus Leeming <leeming@lyx.org>
1999 * insetcommand.C (string2params):
2000 * insetexternal.C (string2params):
2001 * insetfloat.C (string2params):
2002 * insetgraphics.C (string2params):
2003 * insetinclude.C (string2params):
2004 * insetminipage.C (string2params):
2005 * insettabular.C (string2params):
2006 * insetwrap.C (string2params): cure warning message about missing
2009 2003-03-09 Angus Leeming <leeming@lyx.org>
2011 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2012 it to communicate with the frontend dialogs.
2014 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2015 contents of this inset!
2017 2003-03-07 Angus Leeming <leeming@lyx.org>
2019 * inseterror.C (localDispatch): new method; calls edit() on
2022 2003-03-07 Angus Leeming <leeming@lyx.org>
2024 * insetbibitem.C (localDispatch):
2025 * insetbibtex.C (localDispatch):
2026 * insetlabel.C (localDispatch):
2027 rewrite as a switch.
2029 2003-03-07 Angus Leeming <leeming@lyx.org>
2031 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2032 it to communicate with the frontend dialogs.
2034 2003-03-07 Angus Leeming <leeming@lyx.org>
2036 * insetexternal.C: remove operator== and operator!= for
2037 InsetExternal::Params. They were used only by the old controller
2040 2003-03-07 Angus Leeming <leeming@lyx.org>
2042 * insetcommand.C (localDispatch):
2043 * insetexternal.C (localDispatch):
2044 * insetfloat.C (localDispatch):
2045 * insetinclude.C (localDispatch):
2046 * insetminipage.C (localDispatch):
2047 * insetwrap.C (localDispatch):
2048 add LFUN_INSET_DIALOG_UPDATE to the switch.
2050 2003-03-07 Angus Leeming <leeming@lyx.org>
2052 * insetcommand.C (string2params):
2053 * insetexternal.C (string2params):
2054 * insetfloat.C (string2params):
2055 * insetinclude.C (string2params):
2056 * insetwrap.C (string2params): use LyXLeX more.
2059 * insetexternal.[Ch]:
2061 * insetinclude.[Ch]:
2062 * insetwrap.[Ch]: change Mailer::name_ to be static.
2064 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2065 it to communicate with the frontend dialogs.
2067 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2070 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2072 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * insettext.C (updateLocal): un-const function
2075 (updateLocal): adjust
2076 (collapseParagraphs): un-const function
2077 (collapseParagraphs): adjust
2079 2003-03-05 Angus Leeming <leeming@lyx.org>
2081 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2082 it to communicate with the frontend dialogs.
2084 2003-03-05 Angus Leeming <leeming@lyx.org>
2086 * insetcollapsable.C (draw): cache the BufferView.
2088 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2089 it to communicate with the frontend dialogs.
2091 2003-03-05 Angus Leeming <leeming@lyx.org>
2093 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2096 2003-03-05 Angus Leeming <leeming@lyx.org>
2098 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2100 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2101 it to communicate with the frontend dialogs.
2103 2003-03-05 Angus Leeming <leeming@lyx.org>
2105 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2106 it to communicate with the frontend dialogs.
2108 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * insettext.C (collapseParagraphs): adjust
2111 (appendParagraphs): make it take a Buffer* instead of a
2112 BufferParams& as arg.
2113 (appendParagraphs): adjust
2115 2003-03-04 Angus Leeming <leeming@lyx.org>
2117 * insetbibitem.C (localDispatch):
2118 * insetbibtex.C (localDispatch):
2119 * insetcommand.C (localDispatch):
2120 * insetert.C (localDispatch):
2121 * insetlabel.C (localDispatch):
2122 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2124 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * insettext.C (latex): adjust for ParagraphList::iterator
2128 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * insetbutton.C (view): adjust for boost 1.30.0
2131 * insetcollapsable.C (view): ditto
2132 * insetgraphics.C (statusChanged): ditto
2134 * insettext.h: move paragraphs to be public.
2136 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * insetnote.[Ch] (InsetNote): remove unused constructor
2140 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2142 * insetgraphics.C: added include "format.h"
2144 2003-02-27 Angus Leeming <leeming@lyx.org>
2146 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2149 2003-02-27 Angus Leeming <leeming@lyx.org>
2151 * insetbibitem.C (localDispatch):
2152 * insetbibtex.C (localDispatch):
2155 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2157 2003-02-26 Angus Leeming <leeming@lyx.org>
2159 * insetbibitem.[Ch] (localDispatch):
2160 * insetbibtex.[Ch] (localDispatch):
2161 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2163 * insetcommand.C (localDispatch):
2164 act only on receipt of LFUN_XYZ_APPLY.
2166 * insetert.C (localDispatch): reformat.
2167 add LFUN_XYZ_APPLY to the switch.
2169 2003-02-26 John Levon <levon@movementarian.org>
2171 * insettext.C: use RowPainter
2173 * inset.h: make helpers take const *
2175 2003-02-26 Angus Leeming <leeming@lyx.org>
2177 * insetcommand.[Ch] (localDispatch): new method.
2179 2003-02-26 Angus Leeming <leeming@lyx.org>
2181 * insetinclude.C (draw): cache the BufferView* using cache not
2182 PreviewImpl::setView
2184 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2186 * insetgraphics.C (draw)
2187 * insetinclude.C (draw): Eliminate also the other argument (owner
2188 inset inset) in the call to PreviewImage::image
2190 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2192 * insetgraphics.C (draw)
2193 * insetinclude.C (draw): Eliminate Buferview argument in call to
2196 2003-02-25 John Levon <levon@movementarian.org>
2198 * insetgraphicsParams.h:
2199 * insetgraphics.C: don't start a load process if
2200 the inset is set to NoDisplay (bug #920)
2202 2003-02-22 John Levon <levon@movementarian.org>
2205 * insetwrap.C: TocItem changed API (bug 913)
2207 2003-02-21 Angus Leeming <leeming@lyx.org>
2209 * insetcollapsable.[Ch] (cache, edit):
2210 * insetbutton.[Ch] (cache, edit): new methods to cache the
2211 BufferView in the draw method.
2213 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2214 simplify comunication between InsetCommand-derived classes and
2217 * insetbibitem.[Ch]:
2221 * insetfloatlist.[Ch]:
2225 * inseturl.[Ch]: small changes to reflect the new interface to the
2228 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2229 other, similar classes.
2231 * Makefile.am: add new files.
2233 2003-02-21 Angus Leeming <leeming@lyx.org>
2235 * updatableinset.h (setView, view): remove.
2236 * inset.h (view, cache): to be replaced by these.
2238 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2241 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2244 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2246 2003-02-21 Allan Rae <rae@lyx.org>
2248 * insetinclude.C (loadIfNeeded): ensure loading also works when
2249 child document is under version control.
2251 2003-02-17 André Pönitz <poenitz@gmx.net>
2253 * insetbib.[Ch]: Adjust access to bibkeys
2255 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2257 * insetquotes.C (dispString): remove use of acute accent for "'"
2260 2003-02-14 John Levon <levon@movementarian.org>
2262 * insettabular.C: changed method names in tabular.C
2264 2003-02-14 John Levon <levon@movementarian.org>
2268 * insetcollapsable.h:
2269 * insetcollapsable.C:
2273 * insettext.C: remove unused getParFromID()
2275 2003-02-13 John Levon <levon@movementarian.org>
2278 * insettext.C: remove unused beginningofMainBody()
2280 2003-02-08 John Levon <levon@movementarian.org>
2284 * insetcollapsable.h:
2285 * insetcollapsable.C:
2290 add nextChange(). Make allowSpellcheck() const. Add markErased().
2292 * insetert.C: ignore deleted text
2294 * insettabular.C: make sure to keep change tracking working
2297 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2302 * insettext.C: Use error messages with identical spelling and punctuation
2304 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2306 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2308 2002-12-17 Juergen Vigna <jug@lyx.org>
2310 * insettext.C (localDispatch): hopefully fixed cursor up down
2311 movement on leaving other insets.
2313 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2315 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2318 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2320 * insetgraphics.C (prepareFile): do not remove the extension of
2321 the file name if it is not the default extension for the given
2322 format (that is, in latex output, remove extension from foo.eps,
2323 but not from foo.epsi)
2325 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2327 * insettext.C (lfunMouseRelease): hackish solution to the "double
2330 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2332 * insetfloat.C (addToToc): use the floats name not its type
2333 * insetwrap.C (addToToc): ditto
2335 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2337 * insetnote.C (init): make label font smaller
2339 2002-12-04 John Levon <levon@movementarian.org>
2341 * insetinclude.C: ressurect setting of command name
2343 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * insetquotes.C (dispString): disambiguate insert call
2347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2349 * several files: ws changes
2351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * insetquotes.C (dispString): use string::insert for prepending a
2356 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2358 * insetparent.C (getScreenLabel): use boost::format
2360 * insetgraphics.C (prepareFile): use boost::format
2363 * insetfloatlist.C (latex): use boost::format
2365 * insetcaption.C (draw): use boost::format
2367 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2369 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2372 2002-11-20 Juergen Vigna <jug@sad.it>
2374 * insettabular.C (resetPos): temporary fix for endless loop in
2375 this function on a redraw.
2377 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * insettabular.C (copySelection): STRCONV
2381 * insetinclude.C (uniqueID): STRCONV
2382 (latexString): ditto
2384 * insetgraphics.C: put VersionNumber inside anon namespace
2385 (createLatexOptions): STRCONV
2387 * insetcommandparams.C: include config.h
2389 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2391 * insetgraphicsParams.C (Write): use lyx::float_equal.
2392 Write height data correctly.
2393 (Read): zero scale when reading height data.
2395 2002-10-30 John Levon <levon@movementarian.org>
2397 * insetfloat.C (addToTOC): recursively traverse all
2398 contents looking for captions (fix #568)
2400 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2402 * insetexternal.C (doSubstitution): do not try to replace
2403 environment variables, this is done when executing the command
2405 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2407 * insetexternal.C (doSubstitution): change order of substitution
2408 to work around ReplaceEnvironmentPath brokenness
2410 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2412 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2414 * insetgraphicsParams.C (init, Write): associated changes
2415 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2416 InsetGraphicsParams::scale.
2418 2002-10-21 John Levon <levon@movementarian.org>
2420 * inset.h: remove unused DISPATCH_RESULT
2422 * insettext.C: sgml open/close tag now in sgml namespace
2424 2002-10-21 Angus Leeming <leeming@lyx.org>
2426 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2427 file path subdir/fig.eps when pasting it into a buffer in a different
2430 2002-10-16 John Levon <levon@movementarian.org>
2432 * insetspecialchar.C: remove \\protected_separator parsing
2434 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2436 * insetquote.C: fix LaTeX output of quotation marks.
2438 2002-10-14 Juergen Vigna <jug@sad.it>
2440 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2441 Backspace functions which confused the Undo handling.
2443 2002-10-09 Angus Leeming <leeming@lyx.org>
2445 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2446 BufferView::dispatch that turns off this optimisation when a new inset
2449 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2450 reload the BibTeX keys.
2452 2002-10-11 André Pönitz <poenitz@gmx.net>
2454 * insettext.h: handle LFUN_PRIOR/NEXT
2456 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2458 * insetfloat.C: fix bug with float settings
2459 (document default != float default).
2461 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2463 * insetwrap.C (addToToc): New method.
2464 (InsetWrap): Set layout to caption.
2466 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2470 2002-09-16 John Levon <levon@movementarian.org>
2472 * insettabular.h: hasSelection() needs to be public
2474 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2476 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2478 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2480 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2482 2002-09-11 André Pönitz <poenitz@gmx.net>
2484 * insettabular.C: implement LFUN_WORDSEL
2486 2002-09-10 John Levon <levon@movementarian.org>
2488 * insetinclude.h: remove unused param
2490 2002-09-09 John Levon <levon@movementarian.org>
2493 * insetinclude.C: remove noload, default to input
2495 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
2497 * insetgraphics.C: disfuscated use of ']' in built output string.
2499 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
2503 2002-08-29 Juergen Vigna <jug@sad.it>
2505 * insettabular.C (lfunMousePress): Pay attention where you set
2506 the x/y values as they depend on which inset in the tabular is
2507 actually locked. So you surely have to reset them if you (un)lock
2510 2002-08-29 André Pönitz <poenitz@gmx.net>
2512 * insetfootlike.h: rename include guard to ALL CAPS
2514 * insettext.C: swap object and first parameter for checkInsetHit calls
2515 as this functions has moved from BufferView to LyXText
2518 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2520 * insetgraphicsParams.C: remove local displayTranslator and use
2521 the one from graphics/GraphicsTypes.h.
2523 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2525 * insetfloat.C (wide): add BufferParams parameter
2527 * insetfloatlist.C (read):
2530 * insetfloat.C (latex):
2532 * insetcaption.C (draw): use LyXTextClass::floats()
2534 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2536 * insetoptarg.h: add std:: qualifier.
2538 2002-08-26 Juergen Vigna <jug@sad.it>
2540 * insettext.C (localDispatch): ditto.
2542 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
2544 2002-08-25 John Levon <levon@movementarian.org>
2546 * inseturl.C: elide long URLs (bug 404)
2548 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2550 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
2551 remove "Format Version <version_no.>" string from inset header
2554 * insetgraphicsParams.[Ch]: Implement new graphics dialog
2556 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
2557 a member of "grfx::Params" anymore.
2559 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
2561 2002-08-24 John Levon <levon@movementarian.org>
2564 * insetoptarg.C: ws, pedantry ...
2566 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2568 * insettext.C (collapseParagraphs): pasteParagraph now in global
2570 (appendParagraphs): ditto
2572 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
2574 * insetcite.C (latex): Remove spaces only after commmas.
2576 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * insettext.C: remove NO_COMPABILITY stuff
2580 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * insettext.C (edit): use ParagraphList iterators
2584 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
2585 (bibitemWidest): ditto
2587 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * insettext.C: include <boost/bind.hpp>
2590 add using std::for_each
2591 (saveLyXTextState): use ParagraphsList::iterator
2592 (init): use for_each on paragraphlist iterators
2593 (InsetText): remove superflous setting cached_bview to 0
2594 (latex): reformat a bit
2595 (ascii): use paragraphlist iterators
2596 (validate): use for_each + boost bind
2597 (getLabelList): use paragraphlist iterators
2598 (deleteLyXText): use for_each + boost::bind
2599 (resizeLyXText): ditto
2600 (reinitLyXText): ditto
2601 (removeNewlines): use paragraphlist iterators
2602 (getParFromID): ditto
2603 (paragraph): use for_each + boost::bind
2604 (getInsetFromID): use paragraphlist iterators
2605 (getLabelList): typo fix
2607 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * insettext.C (read): assign tmp to paragraphs after return from
2610 call to parseSingleLyXformat2Token
2613 2002-08-13 Angus Leeming <leeming@lyx.org>
2632 changes due to the changed LyXView interface that now returns references
2633 to member variables not pointers.
2635 2002-08-13 Angus Leeming <leeming@lyx.org>
2638 * insetcollapsable.h:
2641 * insettext.h: forward-declare WordLangTuple
2642 (selectNextWordToSpellcheck) constify return type.
2645 * insetcollapsable.C:
2648 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
2650 2002-08-12 Angus Leeming <leeming@lyx.org>
2652 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
2654 2002-08-12 Juergen Vigna <jug@sad.it>
2656 * insetcollapsable.C (edit): ignore if entered when pressing mouse
2659 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * insetbib.C (bibitemMaxWidth): ParagraphList changes
2662 (bibitemWidest): ditto
2663 * insettext.[Ch]: ditto
2665 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * insettext.C, insetert.C: use Paragraph::empty where appropriate
2669 2002-08-09 Angus Leeming <leeming@lyx.org>
2671 * insetinclude.C (latexString): remove fudge now that I've found out
2672 how to enable LaTeX to find the file using input@path.
2674 2002-08-09 John Levon <levon@movementarian.org>
2677 * insettext.C: remove unused xpos
2679 2002-08-07 Juergen Vigna <jug@lyx.org>
2681 * insettabular.C (localDispatch): make delete not put the stuff
2682 in the clipboard only do this on a cut operation.
2684 * insettext.C (localDispatch): make delete and backspace not put
2685 selected stuff to the clipboard.
2687 2002-08-07 André Pönitz <poenitz@gmx.net>
2690 * insetcollapsable.[Ch]:
2694 * insettabular.[Ch]:
2695 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
2697 2002-08-06 John Levon <levon@movementarian.org>
2701 * insetcollapsable.h:
2702 * insetcollapsable.C:
2708 * insettext.C: use WordLangTuple for spellcheck
2710 2002-08-06 Angus Leeming <leeming@lyx.org>
2712 * insetinclude.C: add a monitor to the previewed image, so that the
2713 image is refreshed if the \input-ed file changes.
2715 2002-08-04 John Levon <levon@movementarian.org>
2718 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
2720 2002-08-02 Angus Leeming <leeming@lyx.org>
2722 * insetcommandparams.[Ch] (preview): new methods returning and setting
2723 a new bool preview_ flag.
2724 (read): read this flag.
2725 (operator==): add flag to check.
2727 * insetinclude.C (write): output new preview() flag.
2728 (previewWanted): use this flag.
2730 2002-08-02 Angus Leeming <leeming@lyx.org>
2732 * insetcollapsable.[Ch] (addPreview):
2733 * insettabular.[Ch] (addPreview):
2734 * insettext.[Ch] (addPreview): new methods. Can now generate previews
2735 for insets in insets.
2737 2002-08-02 Angus Leeming <leeming@lyx.org>
2739 * insetcite.C: fix typo.
2741 * insetgraphics.C: kill current_view and instead cache the BufferView
2744 * insetinclude.C: kill current_view and pass the BufferView to the
2745 PreviewedInset so that it can cache it.
2747 2002-08-01 Angus Leeming <leeming@lyx.org>
2749 * inset.h (generatePreview): renamed as addPreview.
2750 (generatePreview): new method. Allows code to be moved out of
2751 math_nestinset.C and into the new PreviewedInset class.
2753 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
2754 add previews to the inset when \input-ing LaTeX.
2756 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * several files: strip,frontStrip -> trim,ltrim,rtrim
2760 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * insetbib.C (latex): modify because of strip changes
2764 * insetnote.C (InsetNote): ditto
2766 2002-07-26 Juergen Vigna <jug@sad.it>
2768 * insettabular.C (searchForward): check for lastcell if we
2769 had a locking inset.
2771 2002-07-25 Juergen Vigna <jug@sad.it>
2773 * insettabular.C (insetMotionNotify): Don't update the screen
2774 if we didn't do nothing.
2775 (searchForward): last cell was not checked.
2777 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2779 * insetfloat.C (read, write): Allow default placement
2780 (floatPlacement_ is empty).
2782 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2784 * insetminipage.h (noFontChange):
2785 * insettabular.h (noFontChange):
2786 * insetfootlike.h (noFontChange):
2787 * insetfloat.h (noFontChange): return true
2789 * inset.h (noFontChange): new method, defaulting to false
2791 2002-07-22 Herbert Voss <voss@lyx.org>
2793 * insetgraphicsParams.[Ch]: support size_type for old docs
2795 2002-07-22 Herbert Voss <voss@lyx.org>
2798 * insetgraphicsParams.[Ch]: change size_type to size_kind and
2801 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2803 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2805 * insetlatexaccent.h: do not include "lyxlex.h"
2807 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2810 * insetlatexaccent.C:
2814 * insetbib.C: #include "lyxlex.h"
2820 * insettext.C: use BufferParams::getLyXTextClass
2823 * insetfloat.C (addToToc): new method. Add to toclist the entries
2824 corresponding to Caption layouts
2825 (InsetFloat): when creating a new float, set the layout to "Caption"
2827 2002-07-21 Herbert Voss <voss@lyx.org>
2829 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2830 image relevant part into graphics/GraphicsImgae.C
2832 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2834 * insettoc.C (ascii):
2835 * insetfloatlist.C (ascii): change to use the new Toc functions
2836 instead of stuff that was in Buffer
2838 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2840 * insettext.C (localDispatch): BufferView::Dispatch has been
2841 renamed to BufferView::dispatch
2843 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2845 * insetgraphicsParams.C (as_grfxParams): use the new
2846 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2847 1.2.0 patch, and I do not really know how to adapt it to the new
2848 grfx::Cache world. Angus, please could you have a look?
2850 2002-05-01 Herbert Voss <voss@lyx.org>
2852 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2854 2002-07-18 Angus Leeming <leeming@lyx.org>
2856 * insetgraphics.C: clean-up comments (from Herbert).
2857 add a new checksum variable to the cache. Use it in PrepareFile.
2858 (draw): start monitoring the file for a change.
2859 (prepareFile): re-arrange a little to avoid unnecessary steps.
2861 2002-07-17 Angus Leeming <leeming@lyx.org>
2863 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2864 a method rather than to the signal directly.
2866 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2868 * insettext.C: use view_state_changed, switchKeyMap
2870 2002-07-17 Herbert Voss <voss@perce.de>
2872 * insetgraphics.C (prepareFile): keep the extension when
2873 exporting to nice file
2875 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2877 * insetcite.C (getNatbibLabel):
2878 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2880 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2882 * insetgraphics.C: use ->isDrawable()
2884 2002-07-12 Angus Leeming <leeming@lyx.org>
2886 * insetgraphics.C: use the new smart loading capabilities of the image
2889 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2891 * insettabular.C (edit): Move into correct cell when entering a
2894 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2897 2002-07-05 Angus Leeming <leeming@lyx.org>
2899 * inset.h (generatePreview): new virtual method.
2901 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2903 * insetcommandparams.[Ch] (operator=): move out of class
2904 (operator!): move out of class
2906 2002-07-04 André Pönitz <poenitz@gmx.net>
2908 * insetcommandparams.[Ch]: new files
2910 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2912 2002-06-15 Herbert Voss <voss@perce.de>
2914 * insetgraphics.C (prepareFile): bugfix; return always
2915 files without extension
2917 2002-06-28 Angus Leeming <leeming@lyx.org>
2919 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2920 rename asGParams -> as_grfxParams.
2922 * insetgraphics.C: reflect above change.
2924 2002-06-26 Angus Leeming <leeming@lyx.org>
2926 * insetgraphics.h: use boost::scoped_ptr in preference to
2929 2002-06-26 Angus Leeming <leeming@lyx.org>
2931 * insetgraphics.C: moved the image loading stuff into a new class
2932 grfx::Loader. Simplifies this file enormously.
2934 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2936 * insetgraphicsParams.C: changes aassociated with moving
2937 grfx::DisplayType out of grfx::GParams.
2939 2002-06-26 André Pönitz <poenitz@gmx.net>
2941 * insetgraphics.C: use os::external_path where necesaary according to a
2942 patch from Claus Hentschel)
2944 2002-06-25 Angus Leeming <leeming@lyx.org>
2946 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2947 generating a pixmap once the graphics file is loaded into memory.
2948 The current_view ugliness that was in grfx::ModifiedImage has been
2949 moved here now that grfx::ModifiedImage is no more.
2951 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2953 * insettext.C: layout as layout
2955 2002-05-28 André Pönitz <poenitz@gmx.net>
2957 * insetfloatlist.h: remove source of compiler warning
2959 * insetref.C: tiny whitespace
2961 2002-06-15 Herbert Voss <voss@perce.de>
2963 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2964 and take always convert when no userdefined converter was
2966 (latex) small changes in the lyxerr output
2968 2002-06-15 LyX Development team <lyx@rilke>
2970 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2971 mixed content. Small white spaces clean.
2973 2002-06-14 Angus Leeming <leeming@lyx.org>
2975 * inseetexternal.C: remove the using std::difftime declaration.
2977 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2979 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2981 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2983 * insetquotes.C (draw): fix drawing of double quotes
2985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2987 * insettabular.C: s/scrollCB/scrollDocView/
2989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2991 * insettext.C: change of topCursorVisible()
2994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2997 * insettext.C: rename/change of LyXScreen
2999 2002-06-07 Angus Leeming <leeming@lyx.org>
3001 Fixes needed to compile with Compaq cxx 6.5.
3003 all c-library variables have been moved into namespace std.
3004 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3006 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3008 * insetinclude.C (uniqueID):
3009 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3010 conflicted with some AIX headers.
3012 2002-05-31 Juergen Vigna <jug@sad.it>
3014 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3018 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3020 * insetexternal.C (clone): fix () bug when using new
3021 (updateExternal): don't only look for difftime in global scope
3023 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3025 * insettabular.C: add const
3027 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3029 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3030 file name, in case there are weird characters like ',' in there.
3033 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3035 * switch from SigC signals to boost::signals.
3037 2002-05-28 André Pönitz <poenitz@gmx.net>
3039 * insets/insetgraphicsParams.[Ch]:
3040 put in inset related stuff from src/graphic
3042 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3050 * insetcollapsable.C:
3051 * insetcollapsable.h:
3079 * inseturl.h: use mouse_state. Kill insetKeyPress
3081 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3086 * insetcollapsable.C:
3089 * insetlatexaccent.C:
3091 * insetspecialchar.C:
3093 * insettext.C: name change for font metrics
3095 2002-05-24 Juergen Vigna <jug@sad.it>
3097 * insetgraphics.h: include inset.h first (for LString.h)
3099 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3101 * insettext.C: screen moved
3103 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3121 * inseturl.C: LyXView moved into frontends/
3123 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3128 * insetcollapsable.C:
3132 * insetgraphicsParams.C:
3133 * insetlatexaccent.C:
3135 * insetspecialchar.C:
3137 * insettext.C: move Painter to frontends/
3139 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3141 * insettabular.h: use more specific smart_ptr header.
3142 * insettext.h: ditto
3144 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3147 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3149 * insettext.C: clear selection on paste (bug 393)
3151 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3153 * insettext.C (latex): Honor the moving_arg argument.
3155 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3157 * insetfoot.C (latex): if a footnote is in a title layout, then it
3158 is a \thanks. And then, its contents is a moving argument.
3160 2002-05-14 Juergen Vigna <jug@sad.it>
3162 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3165 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3167 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3168 when using options "Full author list" or "Upper case".
3170 2002-05-14 Herbert Voss <voss@perce.de>
3172 * insetgraphics.C (prepareFile): allow files with same name
3174 (readFigInset): set the flags from old figinset in the right
3176 (findTargetFormat): more comments
3178 2002-05-14 Juergen Vigna <jug@sad.it>
3180 * insettext.C (edit): tell checkAndActivateInset() that we don't
3181 have a button press.
3182 (checkAndActivateInset): if button < 0 we don't have a button press
3183 on the inset and os we won't call edit on it if it's not a Highly
3184 editable inset (then we have to enter it).
3186 2002-05-13 Juergen Vigna <jug@sad.it>
3188 * insetcollapsable.C (insetButtonRelease): returned wrong return
3191 2002-05-09 Juergen Vigna <jug@sad.it>
3193 * insetcollapsable.C (edit): first_after_edit should only be
3194 set to true if we enter this inset and it was collapsed so we
3195 open it up. This is needed to reclose it after a search/replace
3196 or spellcheck function opened it and was negative.
3198 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3200 * insetfloat.C (latex): Return correct value.
3202 2002-05-04 Herbert Voss <voss@perce.de>
3204 * InsetgraphicsParams.C (read): fix bug with WH
3206 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3208 * insetfloat.C (latex): More sensible latex output
3209 (fix the problem with endfloat).
3211 2002-05-02 José Matos <jamatos@fep.up.pt>
3213 * insetgraphics.C (validate): acess params as everyone else.
3215 2002-05-03 Juergen Vigna <jug@sad.it>
3217 * insettabular.C (fitInsetCursor): recalculate the cursor position
3220 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3222 * InsetgraphicsParams.[Ch]: whitespace.
3224 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3226 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3227 float type do not exist.
3229 2002-04-28 Herbert Voss <voss@perce.de>
3231 * insetgraphics.C (latex): fix bug with missing file-extension.
3232 LaTeX still allows a missing "eps" or "ps".
3234 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3236 * insetfloat.C (c-tor, wide): translate the name of the float.
3238 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3240 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3241 when using natbib and make it work efficiently. Must emphasise that the
3242 real work is Herbert's.
3244 2002-04-23 Herbert Voss <voss@perce.de>
3246 * insetgraphic.C (prepareFile): fix bug with overwriting and
3247 deleting an existing *.eps-file in the doc-dir
3249 2002-04-23 Juergen Vigna <jug@sad.it>
3251 * insettabular.C (drawCellSelection): fix off by 1 error.
3253 2002-04-22 Juergen Vigna <jug@sad.it>
3255 * insettabular.C (setFont): rewoke full selection if it was asked,
3256 after we changed all we had to change.
3258 * insettext.C (insetUnlock): code was uninitialized in some situations.
3260 2002-04-19 Herbert Voss <voss@perce.de>
3262 * insetgraphic.C (prepareFile): return filename without
3263 extension if we only export without compiling
3265 2002-04-19 Juergen Vigna <jug@sad.it>
3267 * insettext.C (draw): call a fullRebreak on the row where we had a
3268 change and reset the cursor and selection-cursors.
3270 * insettabular.C (insetUnlock):
3271 (insetButtonPress): call an update before setting the_locking_inset = 0
3272 as otherwise we don't repaint!
3273 (update): reset the cursor position when we changed dimensions as
3274 otherwise our cursor may be on the wrong spot.
3276 2002-04-18 Juergen Vigna <jug@sad.it>
3278 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3279 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3280 redraw otherwise we won't redraw.
3282 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3283 not really right before, but I only discovered this with the last
3284 changes to Page up/down.
3286 2002-04-17 Juergen Vigna <jug@sad.it>
3288 * insettext.C (checkAndActivateInset): simplified as we now have the
3289 edit(bv, bool) call.
3291 * insettext.h: changed behind variables to front variables to be
3292 equal to the one in the edit call (as it is for that they are used).
3294 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3296 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3297 not output anything at all!
3299 2002-04-16 Juergen Vigna <jug@sad.it>
3301 * insettabular.C (insetButtonPress):
3302 (insetUnlock): call a redraw on unlocking the cell inset.
3304 * insettext.C (insetButtonPress): same as below.
3305 (lockInset): new function to set initial values when inset should
3307 (insetButtonPress): use above function.
3308 (insetUnlock): don't force a repaint only set the updateStatus. The
3309 outside world should repaint if it thinks it should be done!
3311 * insettabular.C (insetButtonPress): init values if not set as locked
3312 as we are locked if someone presses on us and don't call the edit()
3313 call of the InsetText to lock it do it as BufferView does it!
3315 * inset.h (insetInInsetY): make func const and return an int.
3318 * insetcollapsable.C: adapt the above changed function.
3320 2002-04-15 Juergen Vigna <jug@sad.it>
3322 * insettext.C (getCursorPos): return relative position as to be able
3323 to give them directly to the edit() call.
3324 (edit): we have to set also x_fix as it is not set inside the
3325 setCursorFromCoordinates call!
3326 (insetMotionNotify): ditto.
3328 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3330 * insetbib.C (getKeys): strip leading '\t's from the line too.
3331 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3333 2002-04-12 Juergen Vigna <jug@sad.it>
3335 * insettext.h: added cix() helper function and use it where appropriate
3337 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3339 * insetgraphics.C (prepareFile): fix bug when graphics is a
3342 2002-04-12 Juergen Vigna <jug@sad.it>
3344 * insettext.C (insertInset): remove unneeded code!
3345 (updateLocal): fitCursor() fixes.
3346 (collapseParagraphs): fix a possible problem when having a selection
3347 and collapsing the paragraphs.
3349 2002-04-08 Herbert Voss <voss@perce.de>
3351 * insetgraphic.C (write): write the rotating angle as
3352 a float as is. test only for != 0.0
3354 2002-04-11 Juergen Vigna <jug@sad.it>
3356 * insettext.C: new function ciy() and use it for setting inset_y.
3358 * insetert.C (draw): fix the x return for collapsed version.
3360 2002-04-07 Herbert Voss <voss@perce.de>
3362 * insetgraphic.C (readFigInset): fix bug with subcaption and
3365 2002-04-08 Herbert Voss <voss@lyx.org>
3367 * insetgraphicsparam.C: forgot special option and delete old
3370 2002-04-05 Juergen Vigna <jug@sad.it>
3372 * insettext.C (localDispatch): make a CURSOR update if we inserted
3375 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3377 * insetfloatlist.C (getScreenLabel):
3378 (latex): use Floating::listName
3379 (validate): new method
3381 2002-04-03 José Matos <jamatos@fep.up.pt>
3383 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3385 * insetfoot.[Ch] (docbook): added forgotten method.
3387 2002-04-03 Juergen Vigna <jug@sad.it>
3389 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3390 way as in Bufferview_pimpl.
3392 2002-04-03 Allan Rae <rae@lyx.org>
3394 * insetgraphics.C (latex): one % too many makes living on the bleeding
3395 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3397 2002-03-28 Herbert Voss <voss@lyx.org>
3399 * insetgraphic.C (latex): simplify the code for the latex
3400 output when the file doesn't exist
3402 2002-03-29 Juergen Vigna <jug@sad.it>
3404 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3407 * insettabular.C (edit): call fitCursor().
3409 * insettext.C (insetButtonPress): change behaviour of no_selection
3410 to the one in the BufferView selection_possible and fix the spurious
3411 selection bug with it.
3412 (localDispatch): revoke selection on BREAK... functions.
3414 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3416 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3418 2002-03-28 Juergen Vigna <jug@sad.it>
3420 * insettabular.C (insetAllowed): return true as default value otherwise
3421 we're not able to insert insets inside paragraphs of an not locked
3424 2002-03-27 Herbert Voss <voss@lyx.org>
3426 * insetgraphicsparam.C: change c%, p% to col%, page%
3428 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3430 * insetspecialchar.C (isLineSeparator): disable the nice code to
3431 allow linebreaks after hyphenation and menu separators.
3433 2002-03-26 Herbert Voss <voss@lyx.org>
3435 * insetgraphics.C (figinsetRead): set the right lyxview
3437 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3439 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3440 $\backslash$ and pass a "string const &" to the function.
3441 (prepareFile, latex): use Path rather than MakeAbsPath.
3443 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3445 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3446 proper fix to the graphics cache.
3447 (latex): "really" nice output if the file is not found ;-)
3449 2002-03-26 Juergen Vigna <jug@sad.it>
3451 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3452 (collapseParagraphs): fixed inserting of separator ' '
3454 * insettabular.C (insertAsciiString): only check for buffer lenght
3455 not if we have \t or \n inside the buffer as if we don't have we only
3456 have 1 cell and that's it!
3458 * insetert.C (close): don't collapse if inlined.
3460 2002-03-25 Herbert Voss <voss@lyx.org>
3462 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3463 graphics file does not exist.
3465 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3467 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3468 path when preparing export.
3470 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3471 no longer MakeRelPath.
3473 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3475 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3476 Used to determine the absolute path to the graphics file in the
3477 graphics cache and only in the graphics cache.
3478 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3479 make graphics file name absolute if it is stored as a relative path.
3481 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3482 make graphics file name absolute if it is stored as a relative path.
3484 * insettext.C (edit): emit an updateParagraph signal on entering a text
3485 inset. Needs to be emitted when leaving the inset also.
3487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3489 * all files: ws cleanup
3491 * Makefile.am: remove ld -r stuff
3493 2002-03-21 Juergen Vigna <jug@sad.it>
3495 * insettext.C (appendParagraphs): new function added to append
3496 the paragraphs to this insets paragraphs.
3498 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3500 * Makefile.am: special rules if partial linking
3502 2002-03-19 Juergen Vigna <jug@sad.it>
3504 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
3506 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
3508 * insetgraphics.C: Clean up Baruch's comments a little.
3509 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
3511 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
3514 * insettheorem.C: wrap warnings
3516 * insetgraphics.C: improve messages, move cached_status_
3517 setting to safer place
3519 2002-03-18 Juergen Vigna <jug@sad.it>
3521 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
3523 (localDispatch): ditto
3525 * insettext.C (edit): removed unneeded showCursor calls.
3526 (localDispatch): ditto.
3528 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3530 * insetgraphics.h: remove display() method.
3532 2002-03-11 Juergen Vigna <jug@sad.it>
3534 * insetgraphics.C (draw): hack to fix the redrawing bug.
3535 (draw): seems this fixes #268 (force redraw of row if we changed).
3537 * insettext.C (updateInsetInInset): fixed for updates in insets inside
3538 this inset text (don't know why I missed this earlier).
3540 2002-03-08 Juergen Vigna <jug@sad.it>
3542 * insettabular.C (updateLocal): do a FULL update if we're not locked
3543 and only a CELL update is asked.
3545 * insettext.C (updateInsetInInset): update insets inside inset also
3546 if it isn't inside the_locking_inset.
3548 * insettabular.C (updateInsetInInset): ditto.
3550 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3552 * insetexternal.C (doSubstitution): check whether we are using a
3553 temp dir for defining $$FPath
3555 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3558 * insettext.C: remove #include "WorkArea.h".
3560 2002-03-06 Juergen Vigna <jug@sad.it>
3562 * insettext.C (draw): fixed frame redrawing.
3563 (clear): forgot to set the inset_owner of the paragraph.
3565 * insetert.C (status): pay attention the bv can be 0 here!
3566 (getMaxWidth): add the default leftMargin
3568 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3570 * insetert.C (getMaxWidth): make w unsigned int.
3572 2002-03-05 Juergen Vigna <jug@sad.it>
3574 * insetert.C (status): change behaviour of Inlined.
3575 (getMaxWidth): added for new inlined behaviour.
3577 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3579 * insetnote.h (linuxdoc, docbook): add empty methods.
3580 * insetinclude.C (validate): fix a case where buffer->niceFile was used
3581 before being initialized.
3583 2002-03-05 Juergen Vigna <jug@sad.it>
3585 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
3586 only that one in the inset. Should be enough.
3587 (updateLocal): set the selection cursor always if we don't have a
3588 selection to be sure it's set!
3590 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
3592 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3594 * insettext.C (clear): a gross hack to set layout on a newly
3597 2002-03-04 Juergen Vigna <jug@sad.it>
3599 * insettabular.C (localDispatch): inserted handling of
3600 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
3601 (insertAsciiString): new helper function.
3603 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3605 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
3608 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3610 * insettext.C (InsetText): initalize newly created par with
3611 default layout. add bufferparams parameter
3614 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
3615 * insetcollapsable.[Ch] (InsetCollapsable): ditto
3616 * insetert.[Ch] (InsetERT): ditto
3617 * insetfloat.[Ch] (InsetFloat): ditto
3618 * insetfoot.[Ch] (InsetFoot): ditto
3619 * insetfootlike.[Ch] (InsetFootLike): ditto
3620 * insetmarginal.[Ch] (InsetMarginal): ditto
3621 * insetminipage.[Ch] (InsetMinipage): ditto
3622 * insetnote.[Ch] (InsetNote): ditto
3623 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
3625 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3627 * insettext.C: layout as string
3629 * insetinclude.C: layout as string
3631 * insetert.C: layout as string
3633 * insetbib.C: layout as string
3635 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3638 * insettabular.C: remove #include "lyx_gui_misc.h".
3640 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3645 * inset.h: remove figinset, yahoo !
3647 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3649 * insetgraphics.C (c-tors): initialise parent classes explicitly in
3650 copy c-tor and initialise member variables in the correct order.
3652 2002-02-28 Juergen Vigna <jug@sad.it>
3654 * insettabular.C (localDispatch): clear selection on PgUp/Down.
3656 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3658 * inset.h: ... and add a better one here.
3660 * insetcommand.C (insetButtonRelease): remove that one which was a
3663 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3665 * insetcommand.C (insetButtonRelease): ... and move it here.
3667 * inseturl.h: remove insetButtonRelease from there...
3669 2002-02-26 Juergen Vigna <jug@sad.it>
3671 * inseturl.h: Added a insetButtonRelease call returning true as
3674 * insetlabel.C (edit): Fixed wrong update handling after change I
3675 leave in the wrong code for the one who wrote it to remove and have
3676 a look what he did wrong.
3678 * insettabular.C (localDispatch): force a SELECTION update if we
3679 had a selection and we passed the event down to the inset (fix #213)
3680 (localDispatch): handle font changing stuff when we have a cell
3681 selection so that the selection is not rewoked. I don't really like
3682 this fix, but it's the only way I see to do it right now.
3684 2002-02-22 Juergen Vigna <jug@sad.it>
3686 * insettext.C (insetUnlock): set the cursor to the second paragraph
3687 if available and if the first one is empty (fix #191).
3689 2002-02-20 Juergen Vigna <jug@sad.it>
3691 * insettext.C (getDrawFont): implemented this function to call the
3692 one of the owner if present as the owner normally knows what to do
3695 * insetert.C: implement getDrawFont() function and comment out all
3696 the crap for setting a special latex font inside this inset.
3697 (InsetERT): added a Lanugage parameter to this constructor.
3699 * inset.h: added function getDrawFont(LyXFont & font) to be able to
3700 change the font for being drawn on screen (used only in InsetERT for
3703 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
3704 and also above (was missing).
3705 (updateLocal): don't remove the cell selection if we have one this
3706 should be done where we really want to remove it.
3708 2002-02-20 José Matos <jamatos@fep.up.pt>
3710 * insetinclude.h: include_label made string const.
3712 * insetinclude.C (InsetInclude): moved include_label initialization.
3715 (validate): fix support for temporary directory, for docbook and
3718 * insetgraphics.h : new private member, graphic_label, that holds
3719 the entity name that defines the graphics location (SGML).
3721 * insetgraphics.C (unique_id): new function to give a unique label
3724 (validate): the file locatation is given by an entity reference.
3726 2002-02-18 Herbert Voss <voss@lyx.org>
3728 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
3730 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3732 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
3733 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3735 2002-02-18 José Matos <jamatos@fep.up.pt>
3737 * insetinclude.C (validate): some code only applies to latex buffers,
3738 it was made conditional.
3740 2002-02-12 Herbert Voss <voss@lyx.org>
3742 * insetgraphics.C: (prepareFile) do not check at this time
3743 if the file is present.
3745 2002-02-12 Herbert Voss <voss@lyx.org>
3747 * insetgraphics.C: latex(), return the correct newlines
3749 2002-02-13 José Matos <jamatos@fep.up.pt>
3751 * inseturl.C (docbook): escape & in url.
3753 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3755 * insetspecialchar.C (isLineSeparator): line breaking is allowed
3756 after HYPHENATION and MENU_SEPARATOR
3758 * inset.h (isLineSeparator): new method, returns false by default.
3760 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3762 * insetert.C (status): do not update the text inset, but the ERT
3765 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
3767 * insetnote.C: use notebg for background
3769 2002-02-08 Herbert Voss <voss@lyx.org>
3772 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
3773 prevent LyX from unzipping when this should be handled
3774 by latex vis the graphic.cfg.
3777 2002-02-08 Herbert Voss <voss@lyx.org>
3779 * insetgraphic.C: prepareFile(): fix bug when file doesn't
3780 exists, than return filename with extension
3782 2002-02-06 Herbert Voss <voss@lyx.org>
3784 * insetgraphic.C: prepareFile(): don't convert the file, when
3785 it's not viewed in LyX. Saves a lot of time when opening a
3788 2002-02-05 Herbert Voss <voss@lyx.org>
3791 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
3792 and adding a rotate bool similiar to subcaption
3794 2002-02-04 Herbert Voss <voss@lyx.org>
3797 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
3798 similiar view to the LaTeX one. Get zipped files work.
3800 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3802 * insetgraphicsParams.C (init): set display to DEFAULT.
3803 No longer #include "lyxrc.h".
3805 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3807 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3808 for now (so that the code compiles).
3810 2002-02-02 Herbert Voss <voss@lyx.org>
3812 * insetgraphic.C: delete inVariant() and some minor changes
3813 * insetgraphicsParams.[C]:
3815 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3817 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3818 interogate lyxrc.display_graphics before diaplaying the graphic.
3820 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3821 InsetGraphicsParams::DisplayType.
3823 2002-01-31 Herbert Voss <voss@lyx.org>
3825 * insetgraphic.C: (readfigInset) set display to pref-default
3827 2002-01-30 Herbert Voss <voss@lyx.org>
3829 * insetgraphic.C: get the filetyp from it's contents
3830 * insetgraphicparams.C: add token scale and lyxrc.display when
3831 creating a new inset
3833 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3835 * figinset.C: added using std::ios directive.
3837 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3839 * figinset.C (runqueue): open translation file in binary mode (for
3842 2002-01-27 Herbert Voss <voss@lyx.org>
3844 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3845 all options and to be sure that the old figinsets are correct
3847 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3848 structure and to support all lengths as LyXLength. The Parameter
3849 structure changed again, but reading of "old" 1.2 graphic insets
3852 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3854 * insetert.h (forceDefaultParagraphs): Added
3856 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3858 * insettabular.C (getMaxWidth):
3859 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3861 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3863 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3864 of LyXLength::inPixels
3866 * inset.C (latexTextWidth):
3867 * insetminipage.C (latexTextWidth): new method, which implements
3868 the equivalent of the LaTeX macro \textwidth
3870 * insetminipage.C (getMaxWidth): use latexTextWidth
3872 2002-01-18 Juergen Vigna <jug@sad.it>
3874 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3876 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3878 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3880 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3883 2002-01-17 Juergen Vigna <jug@sad.it>
3885 * insettabular.C (lockInsetInInset): same change as in insettext.
3887 * insettext.C (draw): width() function was called without setting
3888 the right top_x which could lead to wrong insetWidth setting!
3889 (lockInsetInInset): call edit instead of calling lockInset if we
3890 have to lock an inset inside!
3891 (edit): we have to also tell the inset that we have to redraw the
3892 frame on an edit call if this inset draws a frame only if locked.
3894 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3896 * insetbib.C (getFiles): uncomment Path variable.
3898 2002-01-16 Juergen Vigna <jug@sad.it>
3900 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3903 2002-01-16 Allan Rae <rae@lyx.org>
3905 * insetinclude.C (docbook): someone forgot a ";"
3907 2002-01-16 José Matos <jamatos@fep.up.pt>
3909 * figinset.C (docbook): removed a old place holder "@".
3910 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3911 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3912 ascii text version, clearly guarded inside a CDATA section.
3913 (docbook): in docbook 4, inlinegraphics is empty.
3914 * insettabular.C (linuxdoc): export the ascii version of the table
3915 inside a CDATA section.
3917 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3919 * insetparent.C (InsetParent):
3920 * insetgraphicsParams.C (Write):
3922 * insetgraphics.C (prepareFile):
3925 * insetexternal.C (executeCommand):
3926 (doSubstitution): use Buffer::filePath
3928 * insetbib.C (getFiles): add a #warning for Angus
3930 * insetgraphics.C: Add a remark about how filenames should be
3931 considered to be relative to buffer (but absolute is still allowed)
3932 (draw): do not try to get status if lyxrc.use_gui is false
3934 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3937 * insetcollapsable.[Ch]:
3938 * insettabular.[Ch] (searchForward, searchBackward): change the
3939 bool const & params to bool.
3941 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3942 to avoid the name clash with InsetCollapsable's methods of the same
3943 names but different functionality.
3945 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3947 * insettext.C (ascii): use lyx::count rather than countChar.
3949 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3951 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3953 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3955 * insetgraphics.C (updateInset): do not try to render image if
3956 lyxrc.use_gui is false (bug #104)
3958 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3959 if file does not exist
3961 * figinset.C (browseFile): add shortcuts to directory buttons
3963 * insettext.C (updateLocal): update menubar and toolbar here too.
3965 2002-01-13 Allan Rae <rae@lyx.org>
3967 * insettabular.C (InsetTabular): Both constructors now initialise
3968 all class variables.
3970 2002-01-11 Juergen Vigna <jug@sad.it>
3972 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3974 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3976 * insettabular.C (getStatus): add forgotten brace around multiline
3979 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3981 * insetfloat.C (validate): require "float" instead of "floats".
3983 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3985 * insettabular.C (getStatus): use FuncStatus
3987 2002-01-08 Juergen Vigna <jug@sad.it>
3989 * insettabular.C (insetButtonRelease): now this should work too
3992 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3993 if the width is a percentage.
3995 * inset.h: added isChar() function and implemented this for
3996 insetspecialchar insetquotes and insetlatexaccent.
3997 added forceDefaultParagraphs() and implemented it for insettabular.
3999 2002-01-07 Juergen Vigna <jug@sad.it>
4001 * insettext.C (getLyXText): Fixed this function. An insert into the
4002 map is only done if we REALLY have a new BufferView.
4004 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4006 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4008 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4010 * insetinclude.C: fix use of FileInfo
4012 2002-01-07 Juergen Vigna <jug@sad.it>
4014 * insettabular.C (draw): fixed clearing of cell around inset.
4016 2002-01-05 Juergen Vigna <jug@sad.it>
4018 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4019 variables are updated.
4021 * insettabular.C (resetPos): set always the inset_y as it may be
4022 needed in another function.
4023 (searchBackward): don't draw while searching.
4025 2002-01-04 Juergen Vigna <jug@sad.it>
4027 * insettext.C (lockInsetInInset): forgot to set a cursor.
4029 2002-01-02 Juergen Vigna <jug@sad.it>
4031 * insettext.C (insertInset): make the correct undo informations on
4032 inserting new insets.
4034 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4036 * insettabular.C: correct single-cell select vertically
4038 2001-12-27 Juergen Vigna <jug@sad.it>
4040 * insettabular.C (ascii): export as tab-separated-values if the
4041 function was not called from export (f.ex.: clipboard).
4043 * insetcollapsable.h: added default support for ascii, linuxdoc and
4044 docbook export (the insettext is exported by default!)
4046 * insettabular.C (copySelection): suff the clipboard with the tabular
4047 data in a tab separated format, seems more naturals then with all the
4050 2001-12-24 Juergen Vigna <jug@sad.it>
4052 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4053 to check for REAL mouseMotion.
4055 2001-12-20 Juergen Vigna <jug@sad.it>
4057 * inset.C (cursor): return the owners cursor if available instead of
4058 always only the bv->text->cursor.
4060 * insettabular.C (checkLongtableSpecial): works now.
4062 2001-12-19 Juergen Vigna <jug@sad.it>
4064 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4065 this has to be always row + 1 as 0 means not selected!
4066 (checkLongtableSpecial): added
4067 (tabularFeatures): better longtable options support
4069 * insettext.C (resizeLyXText): reinit the text always also on a
4072 2001-12-18 Juergen Vigna <jug@sad.it>
4074 * insettext.C (updateInsetInInset): look if we have to autocollapse
4075 paragraps and return if the update is requested for ourself.
4077 * insetert.C (status): update the insettext not myself as that is what
4080 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4081 function only return if the update was requested with myself.
4083 * insettext.C (insetButtonPress): fixed stupid bug.
4084 (various functions): pay attention that lt is cleared BEFORE calling
4085 updateLocal() and try to use it in the right manner (don't use it
4086 if it's not really neccessary!)
4087 (collapseParagraphs): insert a blank between collapsing paragraphs
4088 if neccessary (not already there!).
4090 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4092 * insettabular.C: move includes around a bit, add a couple of
4095 * insettext.[Ch]: move includes around a bit, other ws changes and
4098 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4100 * insettext.C (insetButtonRelease): fix compile problem
4102 2001-12-17 Juergen Vigna <jug@sad.it>
4104 * insettext.C (insetButtonPress): set the selection cursor!
4105 (insetButtonPress): clear the selection (and set with that the
4106 selection.cursor) if we only hit an inset!
4108 * insetert.C (read): removed piece of compatibility code only needed
4111 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4114 * insetcollapsable.C (insetButtonRelease): changed so that it can
4115 open eventual existing popup dialogs on mousebutton==3.
4117 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4119 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4121 * inset.C (insetButtonRelease): return a bool for telling the outer
4122 world that we opened a dialog.
4124 2001-12-07 Juergen Vigna <jug@sad.it>
4126 * insettext.C (paragraph): remove the deleteing of paragraphs as
4127 it was a WRONG move!
4129 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4132 * insettabular.C: use new setSelection(). Allow
4133 selection of single cells.
4135 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4137 * insetquotes.C (latex): fix to use the local language setting at
4138 the point where the inset is inserted (different macros for
4139 different french packages)
4141 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4143 * inset.h: add par_owner_ member variable and parOwner
4146 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4148 * insettabular.C (everywhere): adapt because widths are now real
4149 widths and not strings
4151 * insettext.C (draw): re-introduce the calls to width(), ascent()
4152 and descent() to initialize the caching variables.
4154 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4156 * insettext.C (draw):
4157 (drawFrame): use insetWidth instead of last_width
4159 * insettext.h: remove variable last_width (insetWidth is exactly
4160 the same) and last_height (computed but never used!)
4162 2001-12-10 Allan Rae <rae@lyx.org>
4164 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4168 * insettext.C (insetAllowed): add comment
4170 2001-12-05 Juergen Vigna <jug@sad.it>
4172 * insettext.C (insetAllowed): fixed for the case that we directly
4173 ask the insettext from its LyXText.
4174 (paragraph): fixed the crash when assigning the par->next() from
4175 the EmptyParagraphMechanism!
4177 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4181 * insettext.C: change "while(" to "while ("
4183 2001-12-04 Juergen Vigna <jug@sad.it>
4185 * insetert.C (edit): handle Inlined status.
4187 * insettext.C (insertInset): trying John's fix for the trailing cursor
4189 * insetert.C (insetButtonPress): added to handle inlined status
4190 (insetMotionNotify): ditto.
4192 * insettext.C (clearInset): changed Painter & in BufferView * param,
4193 to be able to call ascent,descent methods.
4195 2001-12-03 Juergen Vigna <jug@sad.it>
4197 * insettext.C (updateInsetInInset): use lt variable to forbid
4198 changes of LyXText in an update call.
4199 (updateInsetInInset): fixed updating of non locked insets!
4201 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4203 * insettabular.C: capture some more functions to prevent
4204 selection drawing problems. Bug #451274
4206 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4209 * insetgraphicsParams.C: fix inverted sense of float_equal
4211 2001-11-30 Juergen Vigna <jug@sad.it>
4213 * insettabular.C (InsetTabular): use the save_id flag to create also
4214 the tabular with the same id's.
4216 * insettext.C (setParagraphData): added a same_id function for undo
4217 to set the same paragraph id's as of the paragraph we are setting.
4219 2001-11-30 José Matos <jamatos@fep.up.pt>
4222 * insettoc.[Ch]: DocBook -> docbook.
4224 2001-11-29 André Pönitz <poenitz@gmx.net>
4227 * insettext.C: further reduction of header dependencies by using
4228 lyx::layout_type and lyx::textclass_type from support/types.h
4230 2001-11-29 Juergen Vigna <jug@sad.it>
4232 * insettext.C: inserted a reinitLyXText function everywhere I delete
4233 the paragraphs! This should fixe the crashes we had.
4234 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4235 (paragraph): set the InsetOwner() of the new paragraphs!
4237 2001-11-28 André Pönitz <poenitz@gmx.net>
4239 * insetnote.C: add pos initialization that I removed without
4242 2001-11-28 Juergen Vigna <jug@sad.it>
4244 * insettabular.C (resetPos): hack to not crash with infinite paints.
4246 * insettabular.h: insert missing function allowSpellcheck()!
4248 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4250 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4253 * insetfloatlist.C: derive from InsetCommand so gui can use it
4256 2001-11-26 André Pönitz <poenitz@gmx.net>
4260 * insetnote.C: reduce header dependencies, introduce type for
4263 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4265 * various: update for Alert.h
4267 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4269 * inset.h: fix comment
4271 * insettext.C: use par->isInset()
4273 2001-11-22 Allan Rae <rae@lyx.org>
4275 * insetcollapsable.h:
4276 * inset.h: Changes to checkInsertChar() behaviour.
4277 Now return value indicates whether chars can be inserted.
4279 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4281 * various: updated to use the new LaTeXFeatures
4283 2001-11-14 José Matos <jamatos@fep.up.pt>
4285 * insetspecialchar.C (linuxdoc):
4286 (docbook): don't give a name to a unused variable.
4288 * insettext.C (docbook): removed unused variable.
4290 2001-11-13 Herbert Voss <voss@perce.de>
4292 * insetgraphic.C: fix scale bug
4294 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4296 * inset.h (isSpace):
4297 (isLetter): new virtual methods.
4299 * insetspecialchar.C (isSpace):
4300 (isLetter): implement here.
4302 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4304 * inset.h: new inline helpers
4306 * insettext.C: use new helpers
4308 2001-11-07 José Matos <jamatos@fep.up.pt>
4310 * insettext.C (docbook): full support for paragraphs inside insettext.
4312 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4314 * insetindex.C: added header file for std::ostream.
4316 2001-11-03 José Matos <jamatos@fep.up.pt>
4318 * insetindex.C: added using std::ostream that I forgot yesterday.
4320 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4322 * insetindex.h (docbook):
4323 * insetindex.C (docbook): added support for docbook export.
4325 2001-11-02 José Matos <jamatos@fep.up.pt>
4327 * insetcaption.C(docbook): added support for docbook export.
4329 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4331 * insetexternal.C (updateExternal): Do not run update command if
4332 result file exists and is up to date.
4334 * ExternalTemplate.C (readFormat): Support the updateresult token.
4336 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4338 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4339 external_templates) to use the buffer->fileName() but only if
4340 previewing. Generating a TeX file should make FPath return
4343 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4346 * insetert.C: fix some problems
4348 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4350 * insetexternal.C (doSubstitution): Added $$FPath token
4351 to list of usable substitutions in external inset templates.
4353 2001-10-24 Juergen Vigna <jug@sad.it>
4355 * insettabular.C: use new ltType struct for setting longtable
4356 header and footers also new UNSET enums.
4358 2001-10-24 José Matos <jamatos@fep.up.pt>
4360 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4361 (docbook): If the table is not inside a float then wrap it inside
4362 <informaltable>...</informaltable>.
4364 2001-10-23 José Matos <jamatos@fep.up.pt>
4366 * insetref.C (docbook): removed / terminator to conform SGML.
4368 * insetspecialchar.C (linuxdoc):
4369 (docbook): Added support for special chars, more than ascii export.
4371 2001-10-22 Juergen Vigna <jug@sad.it>
4373 * insettext.C (checkInsertChar): added for REALLY checking the
4374 font of the inserted char in the right inset!
4376 2001-10-19 Juergen Vigna <jug@sad.it>
4378 * inset.h: added method allowSpellcheck() so that insets who do
4379 not have anything to spellcheck can tell and so they are over-jumped.
4380 Implemented for InsetText and co.
4382 2001-10-18 Juergen Vigna <jug@sad.it>
4384 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4386 2001-10-15 José Matos <jamatos@fep.up.pt>
4388 * insetert.C: allow export for docbook and linuxdoc
4390 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4392 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4394 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4396 * insetquotes.C (dispString): fix handling of latin9 quotes
4398 2001-10-03 Juergen Vigna <jug@sad.it>
4402 * insetcollapsable.C: change updateInset calls to not tell BV that
4403 we have changed status.
4405 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4407 * insettabular.C (deletable): make const
4409 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4411 * insetert.C (latex): Fix the returned value
4413 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4415 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4416 Returns string(), so nothing in an ERT inset is spellchecked.
4418 * insetgraphics.C (draw): print the filename if not displaying the
4420 (width): make sure that the width and draw methods are consistent.
4421 (updateInset): don't even load the image into cache if not displaying
4424 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4426 * various files (selectNextWord): renamed as
4427 selectNextWordToSpellcheck.
4429 * insetgraphics.C (draw): remove the previous change. Right place
4430 is in imageLoaderXPM.C.
4431 (draw): don't display the image if params.display == NONE.
4433 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4435 * figinset.C (runqueue):
4436 * insetgraphics.C (draw): set background colour of inset from
4437 background to the user-configurable graphicsbg.
4439 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4441 * insetquotes.C (InsetQuotes): when trying to decide the side of
4442 the quote, choose `left' only after a space or '('
4444 2001-09-04 José Matos <jamatos@fep.up.pt>
4449 * insetcollapsable.h
4467 * insetlatexaccent.C
4468 * insetlatexaccent.h
4473 * insetspecialchar.C
4474 * insetspecialchar.h
4478 * insettext.C (docbook): rename docBook method to docbook.
4480 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4482 * inset.h (getFirstParagraph): New virtual method.
4484 2001-08-20 Herbert Voss <voss@perce.de>
4485 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4486 in the the bibtex-database-gui for inserting a line
4489 If no style is given than there is no tex-output.
4491 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4493 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
4497 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
4499 * insetert.C (latex): Fix output for multiple paragraphs.
4500 (write): New code for writing paragraph data.
4501 (read): Set font after reading the inset.
4502 (localDispatch): Call set_latex_font() for more cases.
4504 * insetnote.h: Add empty validate method.
4507 * insetnote.C (InsetNote): Set language to the language of the
4510 2001-08-16 Juergen Vigna <jug@sad.it>
4512 * insettext.C: implemented the new FINISHED states.
4514 * insettabular.C: ditto
4516 * inset.h: added more FINISHED states for cursor right,up,down
4518 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
4520 * insetfloatlist.C: use "FloatName List"
4522 2001-08-14 Juergen Vigna <jug@sad.it>
4524 * insetert.C (edit): forgot to set status_ in edit calls!
4526 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
4528 * insettext.C: Compilation fix
4530 2001-08-13 Juergen Vigna <jug@sad.it>
4532 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
4534 * insetcollapsable.C (edit): don't recollapse an already open inset.
4536 * insettext.C: fixed problem when reinitializing LyXText by not doing
4537 it while lt is in use and post this to the next possible time in
4539 (searchForward): fixed not unlocking of inset if nothing found.
4540 (edit): set cursor behind right (was set -1 pos).
4542 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
4544 * insettabular.C (tabularFeatures): fixed fix where deleting the
4545 last row didn't get the right actcell!
4547 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
4549 * insettext.C (localDispatch): Change language only when the inset
4552 2001-08-10 Juergen Vigna <jug@sad.it>
4554 * insettabular.C (selectNextWordInt): use the front using edit call.
4556 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
4557 the parameter overwrite class variable inset.
4559 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
4561 * insettext.C (saveLyXTextState): check for invalid cursor-par.
4562 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
4564 * insettabular.C (calculate_dimensions_of_cells): let's try to call
4565 update only for fixed with cells.
4566 (resetPos): try to fix the lockup on spellchecking or s&r.
4568 * insettext.C (update): comment this out as it seems first wrong
4569 and second not needed anymore!
4570 (some functions): call reinitLyXText() only in update() in all other
4571 positions set only need_update = INIT.
4573 2001-08-08 Juergen Vigna <jug@sad.it>
4575 * insettabular.C (setPos): fixed wrong actrow < rows() check.
4577 * insettext.C (insetUnlock): remove double-space on inset unlock.
4579 * insetcollapsable.C (draw): fix returned x when label > inset-width.
4581 * insettabular.C (update): fixed cursor positon after an insert.
4582 (insetAllowed): do not allow to insert insets when not inside the
4584 (draw): clear below an inset too as it could have changed height.
4586 * inset.C (getMaxWidth): fixed width for inset in inset.
4588 * insettext.C (update): small fix.
4590 * insettabular.C (tabularFeatures): added selection support to
4591 DELETE_ROW/DELETE_COLUMN.
4593 2001-08-07 Juergen Vigna <jug@sad.it>
4595 * inset.C (getMaxWidth): recoded and all it's implementations!
4597 * insettext.C (init,setParagraph+constructors): cleanups
4598 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
4599 are new and I want do a save/restore of the cursor position which is
4600 not possible anymore.
4602 * insetcollapsable.C (searchBackward): recollapse inset if not found.
4603 (searchBackward): ditto
4604 (selectNextWord): ditto
4606 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
4608 * insetlatexaccent.C (checkContents): Add some debug messages
4610 2001-08-07 Juergen Vigna <jug@sad.it>
4612 * insetert.C (read): don't use InsetCollapsable::read as we don't
4613 write the collapsed status anymore only the status.
4616 2001-08-06 Juergen Vigna <jug@sad.it>
4618 * insetert.C (set_latex_font): use LyXText's setFont directly.
4620 * insettext.C (drawFrame): fixed one time more the right position
4621 and size of the frame!
4623 * insetert.C (~InsetERT): hide the dialog.
4624 (showInsetDialog): added implementation
4627 (status): new function for the status of the ERT inset (3-state).
4628 (write): output also the status of the inset for readback!
4629 (read): readback the status if available otherwise use collapsed_.
4631 * insettext.C (edit): small fix of setting the position, which could
4634 * insetert.C (width): implement this function for inlined viewing.
4635 Added minimum width of 10 pixels!
4637 * insetminipage.C (InsetMinipage): just change the colors a bit so
4638 that border/background is a bit more visible. We will remove this
4641 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
4642 function for getting the important widths for drawing in various
4643 functions and in LyXText.
4644 (draw): fixed up a bit (frame drawing/clearing)
4646 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4648 * inset.C (convertFont): delete method. not used.
4650 2001-08-03 Juergen Vigna <jug@sad.it>
4652 * insettext.C (setFont): don't call for a draw update if we're just
4653 changing the cursor font!
4655 2001-08-02 Juergen Vigna <jug@sad.it>
4657 * insettext.C (draw): clear the background with the right color if
4658 needed. Update myself if x&max-width changed and return without doing
4659 anything. Let the update code handle the right stuff.
4661 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
4662 inside another inset.
4664 2001-08-01 Juergen Vigna <jug@sad.it>
4666 * insetcollapsable.C (update): added an in_update bool so we avoid
4669 * insettabular.C (update): added an in_update bool so we avoid
4672 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
4674 (update): added an in_update bool so we avoid reentering.
4676 * insettabular.C (localDispatch): clear col/row selection when doing
4677 something else inside an inset.
4679 * insettext.C (getLyXText): fixed bug when requesting a recursive
4682 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
4684 * insetcite.C (latex): Paranoia check. Make sure that there is no
4685 whitespace between the citation keys.
4687 2001-07-31 Juergen Vigna <jug@sad.it>
4689 * inset.h (nodraw): make the set function also const so that this
4690 can be called from inside other const functions.
4692 * insetcollapsable.h: removed inline variable and moved it over
4693 to the only user InsetERT.
4695 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
4696 inset opening immediately therein lying insets dialogs!
4698 * insetert.C (localDispatch): set the font also if we don't have any
4699 chars in this paragraph, otherwise if we delete all of em and start
4700 writing we have the wrong font.
4702 (draw): implemented for inline support
4703 (insetButtonRelease): ditto.
4705 2001-07-30 Juergen Vigna <jug@sad.it>
4707 * insettext.C (reinitLyXText): new function to reinit the insets
4708 text after lot's of paragraph changes. Use this instead of the
4709 cache.clear() which is VERY dangerous.
4711 * insetfloat.C (insetButtonRelease): we should only show the dialog
4712 if we press on the label otherwise we have problems to open mouse
4713 button 3 dialogs inside this float (f.ex. of a tabular!)
4715 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4717 * insetert.C: change back to "ERT"
4719 * insetfloat.C: handliign of RMB on label added.
4721 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4723 * insetgraphicsParams.C: #include LOstream.h here.
4725 * insetfoot.h: remove InsetFoot:: qualifier.
4727 2001-07-29 Baruch Even <baruch@lyx.org>
4729 * ChangeLog: Hiding time travel evidence.
4731 * insetgraphicsParams.h:
4732 * insetgraphicsParams.C:
4733 * insetgraphics.C: Added horizontal scale option, it actually scales both
4734 directions since it keeps image proportions.
4736 * insetgraphics.C: Fixed EPS detection to be non-hacky.
4738 2001-07-29 Baruch Even <baruch@lyx.org>
4740 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
4741 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
4743 HACKY! Will need to add an EPS detection routine like old InsetFig does!
4745 2001-07-29 Baruch Even <baruch@lyx.org>
4747 * insetgraphics.C: Added EPSI to be an alias of EPS.
4749 2001-07-29 Baruch Even <baruch@lyx.org>
4751 * insetgraphics.C: Change GRAPHICS to Graphics.
4752 Changed image conversion rules (documented at the beginning of file).
4754 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
4756 * insetert.C (get_new_label): int -> Paragraph::size_type to get
4759 * insetgraphics.C: added a using std::endl directive.
4761 * insetcommand.h (getScreenLabel): removed pure virtual function,
4762 as it duplicates that in InsetButton.
4764 * insetbib.[Ch] (getScreenLabel):
4765 * insetbutton.[Ch] (getScreenLabel):
4766 * insetcite.[Ch] (getScreenLabel):
4767 * insetert.[Ch] (getScreenLabel):
4768 * insetexternal.[Ch] (getScreenLabel):
4769 * insetfloatlist.[Ch] (getScreenLabel):
4770 * insetinclude.[Ch] (getScreenLabel):
4771 * insetindex.[Ch] (getScreenLabel):
4772 * insetlabel.h (getScreenLabel):
4773 * insetparent.[Ch] (getScreenLabel):
4774 * insetref.[Ch] (getScreenLabel):
4775 * insettoc.[Ch] (getScreenLabel):
4776 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
4778 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
4780 (validate): remove check on "cite" when using natbib.
4782 2001-07-26 Baruch Even <baruch@lyx.org>
4784 * insetgraphics.C (draw): changed casting to be in one place rather than
4785 all over the function.
4788 * insetgraphics.C (read): Added compatibility reads of InsetFig.
4790 * insetgraphicsParams.h:
4791 * insetgraphicsParams.C:
4792 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
4794 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4796 * insetfoot.C (validate): Added method to ensure that the
4797 right bit of LaTeX is emitted.
4799 * insetfoot.h: Added validate method to set the correct
4800 LaTeXFeatures bit for the special footnote code.
4802 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4804 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4807 2001-07-27 Juergen Vigna <jug@sad.it>
4809 * inset.h: remove not used font variable in parameter.
4810 removed checkInsertChar in UpdatableInset as it was equal to
4811 the one in Inset and so not needed.
4813 * insetert.C (checkInsertChar): implementation of function
4816 * inset.h: added new function checkInsertChar.
4818 * various files: added c-tor and clone() function.
4820 * insetcollapsable.h: removed clone function here as this should
4821 be only realized in REAL insets and added it to all collapsable
4822 insets! (with the copy-constructor).
4824 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4826 * insetminipage.C (read): handle missing parameters more gracefully
4828 * insetcollapsable.C (read): handel missing collapsed more gracefully
4830 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4832 * insetfloat.C (read): handle missing parameters.
4834 * insettext.C (read): handle old latex end_inset
4836 * insetert.C (setButtonLabel): new method
4837 (init): use it, to set the dynamic label correctly
4840 * Makefile.am (EXTRA_DIST): add files that is not part or the
4843 * insetcollapsable.h: remove autocollapsable (no users), remove
4844 draw_label, change_label_with_text and companion code. Remove args
4846 * insetert.[Ch]: move here instead (only user)
4848 * inset.h: rename private variable name to name_, make
4849 selectNextWord return a const string. make getInsetName return a
4850 string const &. Remove bool from open, add close.
4852 * Makefile.am: don't compile insetlist, insetsection
4855 2001-07-24 Juergen Vigna <jug@sad.it>
4857 * insetert.C (InsetERT): put init after the paragraph initialization,
4858 as otherwise we don't set the draw_label right.
4860 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4861 insets with the mouse without having strange selections.
4862 (edit): if the inset was collapsed and we open it here then put the
4863 cursor always at the beginning of the inset.
4864 (get_new_label): 15 instead of 10 max chars in the label.
4866 * insetert.C (localDispatch): added and handle various stuff we
4867 need to handle here (font setting on paragraph break, not permitted
4868 layout setting, etc.).
4870 * inset.h: added default copy-consturctor and implemented this in
4871 various insets with the change to use this in the clone function!
4873 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4875 * insetminipage.C (InsetMinipage): set background color to red :)
4877 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4879 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4880 draw frame mode is LOCKED.
4882 * insetcollapsable.C (edit):
4883 (insetButtonRelease): set update status to full when
4886 * insettext.C (clearInset):
4887 * insettabular.C (draw):
4888 * insetlatexaccent.C (draw): honor background color.
4890 * inset.h: new member background_color_, initialized to
4893 * inset.C (backgroundColor): new method.
4894 (setBackgroundColor): new method.
4896 * insetert.C (init): new method, called by the ctors.
4897 (InsetERT): when inserting contents, make sure the font is
4900 * insetnote.C (InsetNote): when inserting content, remove trailing
4902 (init): set background color to LColor::note
4904 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4906 * insetcollapsable.C: adjust
4908 * insetbutton.C: adjust
4910 2001-07-23 Juergen Vigna <jug@sad.it>
4912 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4913 parameter on the _collapsed function (was not needed) and call
4914 always width_collapsed().
4916 * insetert.C (InsetERT): use setLabel with "true" flag.
4918 * insetcollapsable.C: modified various functions to set the draw_label
4919 string right in any condition.
4920 (setLabel): added a bool parameter to set change_label_with_text.
4922 * insetcollapsable.h: added draw_label string which is set to the
4923 actual drawn label-string, while label is the original static label
4924 of this collapsable inset. Added bool change_label_with_text to set
4925 if we want that the label changes to the start of the InsetText's
4926 text when collabpsed. You can set this flag with the setLabel funciton.
4927 Added bool inlined for inlined collapsable insets, but not handled
4930 * insetcollapsable.C (get_new_label): added should get a new label
4931 from the InsetText beginning (for now 10 chars).
4933 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4935 * insetquotes.C (latex): fix the handling of french double quotes
4936 when not using the french pachage.
4938 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4940 * insetcollapsable.h: make WidthCollapsed mutable.
4942 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4943 InsetPrintIndex returns INDEX_PRINT_CODE.
4945 * inset.h: add INDEX_PRINT_CODE
4947 * insetcollapsable.C (draw): init widthCollapsed if necessary
4950 * insetquotes.C (width): use the local language, not the document
4953 (dispString): add additional spacing for all french languages,
4955 (validate): make it work when there is no default language
4957 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4959 * insetnote.C (init): new method, called by the constructors
4960 (InsetNote): new constructor with contents passed as a string
4962 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * insetfootlike.C (insetAllowed): disallow float in footlike.
4966 * insetert.C (InsetERT): add collapsed argument to the constrctor
4969 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4971 * insetindex.h: shut off warning
4973 2001-07-20 Juergen Vigna <jug@sad.it>
4975 * insetcollapsable.C (update): recoded hopefully works now!
4977 2001-07-19 Juergen Vigna <jug@sad.it>
4979 * most files: implemented the below new introduced function.
4981 * inset.h: added new edit(BufferView *, bool front) method to be able
4982 to enter an inset from the front/back without knowing x/y positions
4983 and baselines inside the inset. So I just can tell the inset activate
4984 me and set the cursor on the front/back of yourself.
4986 2001-07-18 Juergen Vigna <jug@sad.it>
4988 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4989 is given to the InsetText.
4990 (insetButtonPress): ditto
4991 (insetButtonRelease): ditto
4992 (insetMotionNotify): ditto
4994 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4996 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4997 LIGATURE_BREAK, since the name is so stupid.
4999 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5001 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5002 the default InsetCollapsable methods. I.e., it can insert anything.
5003 (write) output the name of the inset, not some silly hack for
5004 compatability with the old InsetInfo.
5006 * insetinfo.[Ch]: removed.
5007 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5008 now collapsable, but functionality is otherwise identical to InsetInfo.
5010 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5012 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5014 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5017 * insetquotes.C: general cleanup
5018 (dispString): add spaces inside french double quotes.
5019 (latex): ditto. Moreover, treat first the case where the frenchb
5020 or french options have been given.
5022 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5024 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5027 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5029 * figinset.C (RegisterFigure): Print debug message only when
5030 current_view is available.
5032 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5034 * many files: update to match the change below
5036 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5037 implement the version which takes an inset here.
5039 * insetcollapsable.[Ch]: implement open and isOpen
5041 * inset.h: remove insertInsetAllowed from Inset
5042 (open): new method, to open or close an inset
5043 (isOpen): returns the status of an inset
5044 (isCollapsable, colapse): removed
5046 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5048 * insetquotes.C (dispString): display french guillemets when using
5051 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5053 * insetcollapsable.h: remove bogus return statements
5055 2001-07-18 Juergen Vigna <jug@sad.it>
5057 * insettabular.C (selectNextWord): fixed spellchecking for the
5058 first cell of a tabular (wasn't entered!)
5059 (getLyXText): changed to enter automatically insettext and return
5060 it's LyXText if we're locked.
5062 2001-07-17 Juergen Vigna <jug@sad.it>
5064 * various files: implemented the below functions.
5066 * inset.h: added functions
5067 - virtual string selectNextWord(BufferView *, float & value) const;
5068 - virtual void selectSelectedWord(BufferView *) { return; }
5069 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5070 needed for spellchecking correctly!
5072 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5074 * insetert.C (latex): write out all paragraphs.
5076 2001-07-17 Baruch Even <baruch@lyx.org>
5078 * insetgraphics.C (draw): Removed unneeded casts.
5080 2001-07-16 Juergen Vigna <jug@sad.it>
5082 * insettext.C (update): fixed small oversight (reset lt to 0).
5084 2001-07-14 Baruch Even <baruch@lyx.org>
5087 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5089 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5091 Consistent use of Lsstream.h:
5092 * figinset.C: removed using std::ostringstream directive.
5094 * insetgraphics.C (createLatexOptions):
5095 * insetinclude.C (unique_id):
5096 std::ostringstream -> ostringstream.
5097 * insettext.C (localDispatch): std::istringstream -> istringstream.
5099 2001-07-13 Juergen Vigna <jug@sad.it>
5101 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5103 * insetcollapsable.C (getLockingInset): ditto.
5105 2001-07-12 Juergen Vigna <jug@sad.it>
5107 * insetcollapsable.h: added implementation of new function for
5110 * various files: added implementation of new insertInsetAllowed-func
5111 and redone the function a bit more.
5113 * inset.h: added isCollapsable(), bool collapsed(),
5114 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5116 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5118 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5119 LyXText which is marked for removal while we're using it!
5121 * insettext.h: added private LyXText * lt to use it to assure we are
5122 not deleting our LyXText while we're using it!
5124 2001-07-11 Juergen Vigna <jug@sad.it>
5126 * insettext.C (insertInset): check if we are before the inset after
5127 inserting it! This check IS needed. Remove the Undo-Call as it is
5128 called in LyXText::insertInset!
5130 * insettext.h: added struct InnerCache.
5132 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5133 that we ONLY delete the LyXText in the getLyXText() routine. So we
5134 are sure we don't delete LyXText while someone is working with it!
5136 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * insetexternal.C: (*it). -> it->
5139 * insettext.C: ditto
5141 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5143 * insetcollapsable.C (edit): always open collapsed insets (even if
5144 they are not autocollapsable)
5146 * insetcommand.C (operator=): simplify.
5148 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5150 * insetert.C (latex): handle META_NEWLINE
5152 2001-07-09 Juergen Vigna <jug@sad.it>
5154 * insetert.h: a normal InsetText can insert insets, but we won't.
5156 * inset.h: return default "false" on insertInsetAllowed and implement
5157 this function where a returnvalue != "false" is needed.
5159 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5161 * insetert.C (InsetERT): new contructor
5163 2001-07-06 Juergen Vigna <jug@sad.it>
5165 * a lot of files: added implementation of the below new functions
5166 and the change to clone(). Also the call of the new undo-functions
5169 * inset.h: added an inset_id, added functions getParFromID,
5170 getInsetFromID, firstParagraph, cursor and id functions, added
5171 bool same_ids to clone function.
5173 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5175 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5176 of BufferView * and shared_ptr<LyXText>
5178 2001-07-05 Juergen Vigna <jug@sad.it>
5180 * insettext.C (clear): deleted also the cache not only LyXText.
5181 (setParagraphData): ditto.
5183 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5185 * insetfloat.C (latex): let the specific placement take presedence
5186 if set, otherwise choose document placement if set, otherwise just
5187 use float default placement.
5189 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5191 * insettext.C (localDispatch): call CutAndPaste::'s static method
5194 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5196 * insetbib.C: no meed to include forms.h here.
5198 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5200 * insettext.C: added using std::make_pair directive.
5202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5204 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5206 (deleteLyXText): ditto
5207 (resizeLyXText): ditto
5209 2001-07-02 Juergen Vigna <jug@sad.it>
5211 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5212 following calls are only returned the right pointer without the over
5213 head to search in the map.
5214 (various funcs): reset the cached_bview variable as this signs that
5215 the cache is not valid anymore.
5217 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5219 * insettabular.C (clone): do not copy the LyXTabular twice
5221 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5223 * insettext.h (TEXT): delete method
5225 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5227 * insetmarginal.C (latex):
5228 * insetfoot.C (latex): fix spacing of notes in LaTeX
5230 * insettext.C (localDispatch): use .c_str() on istringstream
5231 constructor argument.
5233 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5238 * inseturl.C: fix method names in these to begin
5239 with small char too, so they inherit
5241 2001-06-28 Juergen Vigna <jug@sad.it>
5243 * insettext.C (setFont): fixed font settings using toggleFree()
5244 instead of setFont().
5246 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5248 * Change a lot of method names to begin with a small char.
5249 Changes to a lot of files because of this.
5251 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5253 * insetfloatlist.C (Write): std:: qualify ostream
5256 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5260 * insetgraphics.C: send debug output to Debug::INFO instead of
5263 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5266 * insettabular.C (getStatus): update to use func_status
5268 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5270 * insetref.C (DocBook): added support for cross-references without
5273 2001-06-26 The LyX Project <jug@sad.it>
5278 * insetlabel.h: removed escape method and moved it to
5281 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5283 * insettabular.C (getMaxWidth): do the speedup in a different way,
5286 2001-06-24 The LyX Project <Asger>
5288 * insettabular.C (getMaxWidth): We cache a mapping from
5289 inset to cell in order to speed this method up.
5291 2001-06-24 The LyX Project <Asger>
5293 * insettext.C: Optimized InsetText::draw or something.
5295 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5297 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5299 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5301 * inset.h: name change from lyxinset.h
5303 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5305 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5307 2001-06-14 Juergen Vigna <jug@sad.it>
5309 * insettext.C (draw): removed warnings.
5311 2001-06-13 Juergen Vigna <jug@sad.it>
5313 * insettabular.C (nodraw): only go down the tree if we don't have
5314 that flag set otherwise it's obvious that we don't want to draw.
5315 (LocalDispatch): do also an update if we have an undispached result.
5317 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5320 * insetgraphicsParams.C:
5321 * insettext.C: removed // -*- C++ -*- as first line.
5323 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5325 * lyxinset.h (resizeLyXText): shut off warning about unused
5328 2001-06-07 Juergen Vigna <jug@sad.it>
5330 * insettext.C (resizeLyXText): honor the new force flag.
5332 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5334 * insettabular.C (deleteLyXText): new function
5336 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5344 * insetcollapsable.C:
5345 * insetcaption.C: LColor tidy
5347 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5349 * figinset.C: fix typo
5351 2001-06-01 Juergen Vigna <jug@sad.it>
5353 * insettabular.C (resetPos): small hack so that scroll is not set to
5354 0 when we are in the last column of a tabular. This is a problem we
5355 have because of constats 20 offset on both directions, so this can
5356 cause on the limit an endless loop.
5358 * insettext.C (SetFont): forgot that we can have locking insets ;)
5360 2001-05-31 Juergen Vigna <jug@sad.it>
5362 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5364 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5366 * figinset.C: add using std:: directive for the C functions which
5369 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5371 * insetfloat.C (Write): write out wide info
5372 (Read): read the wide info
5373 (Latex): use the wide info when creating latex.
5375 * insettext.C: adjust
5377 * insetgraphics.[Ch] (statusMessage): change to return string
5381 * figinset.C (runqueue): add std::
5384 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5386 * insetcite.C (Ascii): add std:: qualifier
5388 2001-05-28 Juergen Vigna <jug@sad.it>
5390 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5391 a endless-width inset (maxWidth < 0).
5392 (Edit): change language only if not equal.
5394 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5396 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5398 2001-05-16 Juergen Vigna <jug@sad.it>
5400 * insettext.C (selectAll): added
5401 (clearSelection): added
5403 * insettabular.C (SetFont): now we may set a font on a whole selection!
5404 (getSelection): added helper function.
5406 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5408 * insetcite.C (Ascii): Add method.
5410 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5413 * insetbib.C: fix path for OS/2 & Win32
5415 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5417 * insetfoot.C (Latex): don't use % after footnote.
5419 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5421 * insettext.C (Read): use clear
5422 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5424 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5426 * insetfloatlist.h: add a bunch of std:: qualifiers.
5428 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5430 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5431 FLOAT_LIST_CODE, renumber code list.
5433 * insettoc.C (getScreenLabel): remove support for float lists
5437 * insetfloatlist.[Ch]: new files
5439 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5441 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5443 * insettabular.C (LocalDispatch):
5444 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5447 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5449 * insettext.C: remvoe !NEW_INSETS cruft
5451 * insettabular.C: remove !NEW_INSETS cruft
5453 * insetcollapsable.h: remove !NEW_INSETS cruft
5455 * insetbib.C: remove !NEW_INSETS cruft
5457 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5459 * insettoc.C: hack to make listof algorithm work
5461 2001-04-20 Juergen Vigna <jug@sad.it>
5463 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5465 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5467 * insetquotes.C (Latex): improve the guard against
5468 unwanted !` and ?` ligatures. This should really be done in
5469 another place (to catch all this ligatures at low-level).
5471 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5473 * insettext.C (init): remvoe leftovers from cursor_visible change
5474 (draw): use c++ cast
5475 (LocalDispatch): dispatch LFUN_MESSAGE
5477 * insettabular.C (InsetTabular): remove leftovers from
5478 cursor_visible, and scoped_ptr changes
5479 (draw): use c++ cast
5481 * insetcollapsable.C (draw): use c++ cast
5483 * ExternalTemplate.h: inherit privaely from noncopyable
5484 * insetcommand.h: ditto
5485 * insetinclude.h: ditto
5487 2001-04-16 Allan Rae <rae@lyx.org>
5489 * insettoc.C (Ascii):
5490 * insettext.C (draw):
5491 * insettabular.C (setPos):
5492 * insetminipage.C (Read):
5493 * insetfloat.C (placement):
5494 * insetcaption.C (Ascii, DocBook):
5495 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5496 an unrecognised preprocessor directive. So ensure they're wrapped.
5498 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
5501 * insetexternal.C: set view on Clone. Add _ to private members.
5503 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5505 * insettext.C (InsetText): fix new
5506 (InsetText): reindent some, simplify deletion of par list
5507 (clear): simplify deletion of par list, fix new
5508 (SetParagraphData): simplify deletion of par list
5510 * insettabular.[Ch] (getLabelList): implement new method
5512 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5514 * lyxinset.h: do not include gettext.h...
5522 * insetlatexaccent.C:
5526 * inseturl.C: ... and do it here instead
5528 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5530 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
5532 * insettext.[Ch] (getLabelList): add std:: on vector<string>
5534 * insetcollapsable.[Ch] (getLabelList): implement
5536 * insettext.[Ch] (getLabelList): implement
5538 * insettext.h: reindent
5540 * insettabular.h: make tabular a scoped_ptr
5542 * insettext.C (init): adjust for cursor_visible
5543 (ToggleInsetCursor): constify asc and desc, font, adjust for
5545 (ShowInsetCursor): constify asc and desc, font, adjust for
5547 (HideInsetCursor): adjust for cursor_visible
5549 * insettabular.C: reindent some
5550 (InsetTabular): adjust for scoped_ptr and cursor_visible
5551 (InsetTabular): ditto
5552 (~InsetTabular): delete delete
5553 (Clone): adjust for scoped_ptr
5554 (Read): constify old_format, adjust for scoped_ptr, move init of
5556 (draw): constify tx, localize loop vars.
5557 some other localization of variables, remove double initilizatons.
5559 * insetfoot.C: remove using std::ostream, add ostream where needed
5561 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5563 * lyxinset.h: some reindentaion, use initializer list for
5565 UpdatableInset: make cursor_visible a private var add
5566 public isCursorVisible(), add protected toggleCursorVisible() and
5567 proctected setCursorVisible(bool), make scroll call the Inset::scroll
5569 * insettoc.C: remvoe using decl
5570 (getScreenLabel): make cmdname donst
5573 (Ascii): don't use endl
5575 * insetfootlike.C: remove using decl at file scope and add std::
5577 * insetmarginal.C: ditto
5579 * insetfoot.C: some reformatting
5581 * insetfloat.C (InsetButtonRelease): adjust the hit area
5583 * insetert.C (SetFont): some reformatting
5585 * insetcollapsable.C: some reformatting and constification
5586 (Clone): comment out.
5587 * insetcollapsable.h: some reformatting
5588 (Clone): comment out.
5593 2001-03-30 Juergen Vigna <jug@sad.it>
5595 * insetcollapsable.h: changen *inset to be a InsetText inset.
5597 * some files: changed to reflect the above change.
5599 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
5601 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
5602 InsetExternal::Params.
5603 Added operator==() and operator!=() for the Params struct.
5605 2001-03-29 Juergen Vigna <jug@sad.it>
5607 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
5610 * insetminipage.C: removed widthp_ and all it's functions and changed
5611 to use new %-lengths of LyXLength.
5613 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
5615 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
5617 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
5619 * insetgraphicsParams.C (operator!=): new function, needed by the
5620 ControlGraphics class.
5622 2001-03-28 Juergen Vigna <jug@sad.it>
5624 * insettext.C (InsetButtonPress): only enter !inset if button == 2
5625 (checkAndActivateInset): don't use the values returned from
5626 call to bv->checkInsetHit.
5628 * insetminipage.C (Clone): set special minipage values.
5630 * insetcollapsable.C (draw): changed to draw the button in the
5631 upper left corner outside the textinset.
5632 (ascent): changed because of different drawing
5636 (InsetButtonPress): ditto
5637 (InsetButtonRelease): ditto
5638 (InsetMotionNotify): ditto
5640 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
5642 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
5646 2001-03-26 Juergen Vigna <jug@sad.it>
5648 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
5650 * insettext.C (ShowInsetDialog): implemented above function.
5652 * insettabular.C (ShowInsetDialog): ditto
5654 * insetminipage.C (ShowInsetDialog): ditto
5656 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
5658 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
5659 InsetInclude::Params. Don't store a buffer * in Params. Store the
5660 master file name instead.
5662 2001-03-23 Juergen Vigna <jug@sad.it>
5664 * insetcollapsable.C (InsetMotionNotify):
5665 (InsetButtonRelease):
5666 (InsetButtonPress): fixed y-offset (minipages).
5668 * insettext.C (draw): force a FULL update if cleared == true.
5670 * insetcollapsable.C (draw): Lars forgotten entry for changing this
5671 routine to draw the minipages on its position-flag.
5672 (InsetInInsetY): give back the right y position, because of minipage
5675 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
5678 * insetfloat.C (DocBook): docbook export code.
5680 2001-03-22 Juergen Vigna <jug@sad.it>
5682 * insetminipage.C (getMaxWidth): added function to set the drawing
5684 (Read): should work now!
5686 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
5687 if we create a new inset.
5689 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
5691 * figinset.C (fl_set_preemptive_callback): moved definition outside
5694 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5696 * insetminipage.C (Read): prepare for reading of minipage arguments.
5698 2001-03-18 Baruch Even <baruch@lyx.org>
5700 * insetgraphics.C: Minor cleanups of the comments and code.
5702 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5704 * insetminipage.C (InsetMinipage): default to not collapsed
5706 2001-03-16 Juergen Vigna <jug@sad.it>
5708 * insetminipage.C (width): modified with to be a string
5709 (widthp): added widthp (for % width) support functions.
5710 (InsetButtonRelease): added to open the options dialog on button==3.
5711 (~InsetMinipage): added to hide the dialog.
5713 * insetminipage.h: added hideDialog signal
5715 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5717 * insetminipage.h: change the order or Position to match
5718 LyXParagraph::MINIPAGE_ALIGNMENT
5720 * several files: remvoe CXX_WORKING_NAMESPACES
5722 * ExternalTemplate.h: noncopyable is in namespace boost
5723 * insetinclude.h: ditto
5724 * insetcommand.h: ditto
5726 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
5728 * insettext.C (Edit): #else# -> #else.
5729 * insettoc.C: added using directive.
5731 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5733 * insetminipage.h: add pos, inner_pos, width and height. + getters
5734 and setters for all of them.
5736 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
5738 * insetinclude.C (Latex): Do not exit when the textclass of the
5739 included file differ from the textclass of the parent file.
5741 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
5743 * ExternalTemplate.C (read): the reading of external insets now checks
5744 for \end_inset and removes it form the input stream.
5746 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
5748 * ExternalTemplate.h:
5749 * ExternalTemplate.C:
5751 * insetexternal.C: move form to GUII
5753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
5756 * insetinclude.C: add InsetIncludeParams, use
5757 composition rather than derivation of InsetCommand
5759 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5761 * insettoc.C (Ascii): use the Buffer typedefs
5763 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5765 * insettoc.C (Ascii): implement for dynamic number of lists
5767 * insetcaption.[Ch]: update from new_insets branch
5768 * insetfloat.[Ch]: ditto
5770 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
5773 * figinset.C: use new File Dialog
5775 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
5777 * insettext.C: changes becuase of ParagraphParameters.
5779 2001-02-28 Baruch Even <baruch@ev-en.org>
5781 * insetgraphics.C (updateInset): Changed due to the change in
5784 2001-02-26 Juergen Vigna <jug@sad.it>
5786 * insettext.C (SetFont): Set Undo only if we have selection (as it is
5787 handled in LyXText).
5789 2001-02-23 Juergen Vigna <jug@sad.it>
5791 * insettext.C (draw): some small repainting fixes.
5792 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
5794 * inset.C (LocalDispatch): changed action to be a kb_action (as it
5795 should be) and not an int.
5797 * insettabular.C (LocalDispatch): ditto
5799 * insettext.C (LocalDispatch): ditto
5801 * insetcollapsable.C (LocalDispatch): ditto
5803 2001-02-22 Juergen Vigna <jug@sad.it>
5805 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5806 DISPATCH it and we don't have a locking_inset.
5808 2001-02-21 Baruch Even <baruch@ev-en.org>
5810 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5811 instead of GraphicsCacheItem *.
5813 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5815 * insetcollapsable.C (getLyXText): add const qualifier to second
5818 2001-02-22 Juergen Vigna <jug@sad.it>
5820 * insettext.C (getLyXText): honor the recursive parameter.
5821 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5823 * inset.C (getLyXText): added bool recursive parameter.
5825 * insettext.C (SetUpdateStatus): or the update codes.
5826 (draw): check need_update with &.
5827 (InsetButtonPress): set no_selection to not put a selection when
5828 entering an inset and it is redraws in another spot.
5830 * insettext.h: made need_update an int.
5832 2001-02-20 Baruch Even <baruch@ev-en.org>
5835 * insetgraphisc.C: Changed to use better semantics when loading images
5836 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5838 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5842 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5843 consistent with InsetTabular.
5845 2001-02-19 Juergen Vigna <jug@sad.it>
5847 * insettabular.C (LocalDispatch): implement PAGE up/down.
5849 * insettext.C (draw): clear all of it on need_update==INIT too!
5851 * insettabular.C (InsetUnlock): always clear the selection.
5853 * inset.C (scroll): normally we only want to scroll the inset until
5854 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5856 2001-02-14 Juergen Vigna <jug@sad.it>
5858 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5859 (resetPos): fixed scroll behaviour.
5860 (LocalDispatch): do an update if moving cursor inside a table cell
5861 requests a scroll of the tabular.
5863 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5865 * insettext.C (textWidth): constify local var
5867 * insettabular.C: small cleanup.
5869 * insetfoot.C (Latex): constify local var
5871 * insetcollapsable.C: small cleanup.
5873 * figinset.C (runqueue): use compare instead of strcmp
5875 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5878 * insetinfo.C: remove cruft
5880 2001-02-14 Juergen Vigna <jug@sad.it>
5882 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5884 2001-02-13 Juergen Vigna <jug@sad.it>
5886 * insettext.C (InsertInset): don't move left (is this right?)
5888 * insettabular.C (LocalDispatch): use of the no_draw variable
5890 * insettabular.h: new no_draw variable to stop redraw
5892 * insettabular.C (TabularFeatures): fixed update for alignment change
5894 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5898 * insetbib.C: move dialogs to frontends/
5900 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5902 * insettext.C (LocalDispatch): Restore the language if the inset
5905 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5907 * insettext.C (moveRightIntern): Update the selection cursor.
5908 (moveLeftIntern): Ditto.
5910 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5912 * Makefile.am: remove BoundingBox.h
5914 * BoundingBox.h: removed
5916 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5918 * insettext.C (LocalDispatch): Update selection cursor when moving
5919 cursor to the right.
5920 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5921 (moveLeftIntern): Ditto.
5923 2001-02-05 Baruch Even <baruch.even@writeme.com>
5925 * insetgraphics.C: Updated automatic image conversion, it now goes into
5926 temporary directory instead of with the image itself.
5928 2001-01-21 Baruch Even <baruch@ev-en.org>
5930 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5931 to EPS or PNG when needed (support bitmap graphics).
5933 2000-11-02 Baruch Even <baruch@ev-en.org>
5936 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5937 and removal of commented out code.
5939 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5941 * insetbib.C (callback): Update citations if the key has changed.
5943 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5945 * insetbib.C (InsetBibKey): Better computation of default key.
5946 (getScreenLabel) Show both the key and the label.
5947 (getBibLabel): New method.
5948 (callback): Force a redraw if the inset have been changed.
5950 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5952 * insetref.C (getType, getName): Move methods from
5953 src/frontends/xforms/FormRef.C.
5955 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5957 * insettabular.C: Various improvements (use only one dummy position).
5959 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5961 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5962 par->bibkey->width. This fixes the crashes when running without
5963 gui or when having included documents.
5965 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5967 * insetcommand.C (getAsString, setFromString): Cleanup.
5969 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5971 * insetref.C: Add the array InsetRef::types that contains
5972 information about all supported reference types.
5974 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5976 * lyxinset.h: remove trailing comma in enum.
5978 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5980 * insettext.C: kill LyXBell.