1 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetbase.h (doDispatch): document a bit more
4 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
5 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
6 cur.bv().update(), because that leads to nested updates. Call
7 cur.noUpdate() instead where approriate.
9 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
11 * insetbibtex.C: change screen label
13 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
15 2005-05-06 José Matos <jamatos@lyx.org>
17 * insetcommandparams.C (scanCommand): fix out of range string access.
19 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
21 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
23 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
24 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
27 handle undefined character styles
28 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
29 handle undefined character styles
31 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
34 in getStatus and the tabularFeature string (bug 1860).
36 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
38 * insetbranch.C (getStatus): make the code more compact
40 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * insetcollapsable.C (doDispatch): do not pass through double/triple
43 click events when they are not in the insetext (bug 1797).
45 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * insetbase.h: document a bit more
48 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
49 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
50 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
51 (getStatus): implement
52 * insetcollapsable.[Ch] (hitButton): take a const argument
53 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
56 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * insetcollapsable.C (doDispatch): pass through double/triple
59 click events (bug 1811).
61 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
65 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
66 but the SENSITIVE label type.
68 2005-04-18 Angus Leeming <leeming@lyx.org>
70 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
71 'use_latex_path' argument. In turn, passed to the new subst_path
72 function when replacing placeholders with paths.
74 * insetexternal.C (getScreenLabel):
75 * ExternalSupport.C (lots of places): change invocation of
76 doSubstitution in lots of places, specifying the appropriate values
77 for this 'use_latex_path' boolean.
80 * insetgraphics.C (latex):
81 * insetinclude.C (latex): pass path to latex_path rather than to
84 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
86 * insetcharstyle.C (validate): allow nested charstyle insets
88 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
90 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
92 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * insetfloat.C (InsetFloat):
95 * insetwrap.C (InsetWrap): do not set layout here.
97 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
101 * insetbase.h (getStatus): add more documentation
102 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
105 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
107 * insetcharstyle.C (metrics, draw):
108 * insetert.C (metrics, draw):
109 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
112 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
114 * insetexternal.C (validate):
115 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
116 multiple Requirements in external material template
118 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
120 * insettext.C (drawFrame): cosmetic fix
122 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
124 * ExternalSupport.C (writeExternal):
125 * insetgraphics.C (latex):
126 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
127 mis-count in computing latex error location
129 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
131 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
132 make it *not* descend into insets (fix a crash). Move the part
133 needed from editXY to a new function getNearestCell
135 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * insetinclude.C (InsetInclude): when constructing from another
138 InsetInclude, set set_label_ to false, since the value is never
141 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
145 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
147 * insettabular.C (drawSelection): cosmetic bugfix
149 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
151 * insettabular.C (doDispatch): get middle mouse button back again
152 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
153 when only a part of the cell is selected (fix bug 1799)
155 * insettabular.C: handle some more character attributes in
156 M. Vermeers method (when multiple cells in tables are selected);
157 disable some more senseless lfuns when multiple cells are selected
159 Move to end of cell instead of beginning when coming from the cell
162 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
164 * insettabular.C: make applying character attributes
165 possible for multiple cells in tables. Disable collapsable
166 insets for multiple-cell selection in table (Jürgen S.)
167 Bug reported by Helge Hafting.
169 2005-02-25 Andreas Vox <avox@arcor.de>
171 * insetmarginal.[hC] (docbook): new method, render as <note>
173 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
175 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
177 * insetcaption.[Ch] (doClone): implement
179 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
181 * insetgraphics.C (prepareFile): handle non-existing files
182 * insetgraphics.C (latex): remove special handling of non-existing
185 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
187 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
188 * insettext.C: adjust metrics
190 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * insettext.C: include boost/current_function.hpp (needed when
193 assertions are disabled)
195 2005-02-20 André Pönitz <poenitz@gmx.net>
197 * insetcollapsable.C: Prevent problems on double-/
198 tripleclick on collapsable label (bug 1797).
200 2005-02-13 André Pönitz <poenitz@gmx.net>
202 * insettext.[Ch] (border_): new
203 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
206 2005-02-14 Angus Leeming <leeming@lyx.org>
208 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
209 about "truncation of constant value".
211 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
213 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
214 workaround for broken HTML converter)
216 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
218 * insetcollapsable.C (leaveInset): size() -> depth()
219 * insettabular.C (isRightToLeft): ditto
221 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
223 * insetert.C (latex, linuxdoc, docbook): remove newline handling
224 * insetert.C (doDispatch): clean pasted paragraphs
225 * insetert.C (getStatus): suppress more lfuns
226 * insetert.C (insetAllowed): return always false
228 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
233 * updatableinset.C: Use new cursor accessors.
235 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
237 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
239 2005-01-31 Angus Leeming <leeming@lyx.org>
241 * insetgraphicsParams.C: protect a #warning preprocessor call
242 with a #ifdef WITH_WARNINGS guard.
244 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
246 * Several files: use convert<> instead of atoi,strToXXX and friends
248 2005-01-23 Angus Leeming <leeming@lyx.org>
250 * insetbibitem.h (bibitemWidest): declare the function.
252 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
254 * insetgraphics.C (prepareFile): move the invocation of the default
255 converter to ../converter.C
256 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
257 call convert with try_default == true
259 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
262 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
263 determines what variables are substituted
264 * ExternalSupport.C (updateExternal): fix substitution of
267 2005-01-10 Angus Leeming <leeming@lyx.org>
269 * ExternalTemplate.C: use support/package.h to provide the paths to the
270 various directories used by LyX.
272 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
280 * ExternalTransforms.C (adjAngle): tostr -> convert
282 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
284 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
287 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * ExternalTransforms.C: fix LaTeX output of \scalebox.
291 * ExternalTransforms.[Ch]:
292 * insetexternal.C: store all float/double values as strings.
295 * insetgraphicsParams.C: more precise checks for the value strings.
297 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * insettext.C (doDispatch): remove unused variable was_empty
301 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
304 * insetgraphicsParams.[Ch]: store all float/double values as strings.
306 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
308 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
310 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
312 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
313 UNSET_ALL_LINES (from Jürgen)
315 2004-12-14 Angus Leeming <leeming@lyx.org>
317 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
318 to overcome bug in the MinGW port of g++ 3.4.2.
320 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
322 * insettabular.C (getCellXPos): make it return a relative x
323 position wrt. the begin of the tabular
324 (resetPos): a couple of fixes
325 (doDispatch): add a couple of resetPos calls
326 (drawSelection): fix drawing of selection in single-cell mode
327 (draw): replace 'do not draw' optimization by 'draw with
330 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
332 * insetbase.[Ch] (idxUpDown2): remove function
334 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * insettabular.[Ch]: use size_t-like types for cell, row and column
339 2004-12-02 José Matos <jamatos@lyx.org>
341 * insetlatexaccent.C (checkContents): remove compatibility code,
344 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * insetbase.h (getStatus): add better comment from src/cursor.C
348 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
350 * insettabular.[Ch]: adjust, introduce "do not draw
351 offscreen" optimization using NullPainter, (dist): introduce,
352 (getCursorPos): implement, (drawSelection): implement
354 * insetcollapsable.[Ch]: adjust
356 * insettext.C: adjust, (metrics): set the font before calling
359 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
361 * rename a lot of InsetOld to InsetBase
363 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
366 * insettext.C: par->pit renaming
368 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * Most insets: rename priv_dispatch to doDispatch
372 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * insettabular.C (tabularFeatures): fix multicolumn handling
376 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * render_base.h (operator=): use common semantics
380 * insettext.C (operator=): delete this
381 (copy constructor): implement this properly
382 (init): use for_each and bind
384 (appendParagraphs): ditto
386 * insettabular.C: add more const. Adjust for changes in tabular.
388 * insetbase.h: Use NVI on clone. Add virtual doClone and update
389 all children, also make copy constructor protected. Added some
390 safe-guards to clone.
392 * insets: adjust to fit.
394 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * insetoptarg.C (latexOptional): return number of lines instead of
399 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
401 * insettabular.[Ch] (string2params): Don't pretend to return the
402 active cell anymore and simplify keyword parsing.
404 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * insetlatexaccent.h (isLetter): implement, so that word selection
407 takes accents into account.
409 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
411 * insetcollapsable.C (priv_dispatch): do not push the inset to the
414 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * ExternalSupport.C, insetgraphics.C:
417 s/getFormatFromContents/formats.getFormatFromFile/
419 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
421 * insetcharstyle.[Ch]:
422 * insetert.[Ch]: implement getStatus
424 * insetcharstyle.C (draw): visual clue when the cursor is inside
427 2004-11-02 José Matos <jamatos@lyx.org>
429 * insetcharstyle.C (docbook):
430 * insetlabel.C (linuxdoc, docbook):
431 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
434 * insettabular.C (docbook): mixed content no longer belongs to
437 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
439 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
441 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
443 * ExternalSupport.C (updateExternal): convert files in the temp dir
445 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * insetcharstyle.C: drawing cosmetics.
449 2004-10-30 José Matos <jamatos@lyx.org>
451 * insetcharstyle.C (docbook): a compromisse solution. Don't output
452 paragraph tags inside inline elements.
454 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
457 InsetText methods rather than outputVerbatim (escapes special
458 characters) [bug 1731]
459 * insetcharstyle.C (outputVerbatim): remove this function.
460 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
461 which caused an infinite loop.
463 2004-10-29 José Matos <jamatos@lyx.org>
465 * insetgraphics.C (uniqueID): transfered to sgml.C
467 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
469 * insetlabel.C (docbook, linuxdoc):
470 * insetref.C (docbook, linuxdoc): sanitize id.
472 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
474 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
475 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
476 * insetgraphics.C (findTargetFormat): reformat
478 2004-10-28 José Matos <jamatos@lyx.org>
480 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
482 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
484 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
486 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
488 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
489 "[,,,]" without warning message
491 2004-10-26 Angus Leeming <leeming@lyx.org>
493 * ExternalSupport.C (updateExternal):
494 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
495 external files to the temp directory.
497 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
500 layouts. This fixes problems with the memoir class (which does not
501 allow \footnote) [bug 1677]
503 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
505 * insetindex.C (docbook): escape the index, to generate correct sgml.
507 2004-10-23 José Matos <jamatos@lyx.org>
509 * insettext.C (docbook): rearrange arguments, due to change in the
512 2004-10-23 André Pönitz <poenitz@gmx.net>
514 * insettabular.C (cutSelection, tabularFereatures):
515 fix cursor position after cutting selection or table rows
517 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
519 * insetgraphics.C (docbook, writeImageObject): write more than one
520 format of imageobjects in <mediaobject>.
522 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
524 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
525 DocBook output for this inset ( <citation>content</citation> )
527 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
529 * insetgraphics.C (docbook) : using mediaobject for XML;
530 correcting bug with SGML output (now '>' instead of '/>')
532 2004-10-05 José Matos <jamatos@lyx.org>
534 * insetfloatlist.C (read):
535 * insetquotes.C (read):
536 * insetspace.C (read):
537 * insetspecialchar.C (read):
538 * insettabular.C (read): replace nextToken by more appropriate lex
541 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
543 * insetgraphics.C (createDocBookAttribute, docbook) :
544 convert scale, width, height and keepaspectratio to Docbook standards)
546 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
547 to Docbook units where possible.
549 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
551 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
553 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
554 as attributes with new method for docbook.
556 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * render_preview.h: Use preferred calling of Boost.Signal
560 * pch.h: use proper signal include
562 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
564 * ExternalTransforms.h: User preferred calling of Boost.Function
566 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
568 * insetref.C (docbook): fixing problem where Docbook XML output
569 had unclosed <xref ... >
571 2004-08-16 José Matos <jamatos@lyx.org>
573 * insethfill.C (write):
574 * insetline.C (write):
575 * insetnewline.C (write):
576 * insetpagebreak.C (write): remove space at end of line.
578 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * insettabular.C (plaintext): do not use ownerPar to get the
583 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
584 and it calls getParentLanguage (which calls ownerPar)
585 (edit): do not call sanitizeEmptyText
586 (priv_dispatch): remove code resetting font on empty inset, for
587 the same reasons as above.
589 * insettabular.C (isRightToLeft): instead of using
590 BufferView::getParentLanguage, use the data from the cursor
592 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * Makefile.am: support pch
598 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * insettabular.C (draw): whitespace
602 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
604 2004-08-14 André Pönitz <poenitz@gmx.net>
606 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
608 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * insettabular.C (metrics): when the width of a cell is zero(),
611 let it use as much space as it can
613 * insettext.C (editXY): compilation fix
615 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
617 (metrics): the insets is not full width any more.
618 (draw): adjust; fix bad test for PREVIEW_OFF
619 (add_preview): fix bad test for PREVIEW_OFF
620 (display): do not return true when using \input
622 2004-08-14 José Matos <jamatos@lyx.org>
624 * insetbibitem.[Ch] (plaintext): added.
626 * insetcite.[Ch]: fix plaintext export.
628 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
630 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
633 * insetcaption.C (InsetCaption): modify call to setDrawFrame
634 * insetcollapsable.C (InsetCollapsable): ditto
635 * insetenv.C (InsetEnvironment): ditto
637 2004-08-14 André Pönitz <poenitz@gmx.net>
640 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
642 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * insetoptarg.C (latexOptional): if the optional argument contains
645 a ']' enclose it in {curly brackets}
647 * insettext.C (editXY):
648 * insettabular.C (editXY):
649 * insetcollapsable.C (editXY):
650 * insetbase.C (editXY): constify
652 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
653 not ask for an update if we did nothing; on a mouse release, make
654 sure that the cursor is moved to the right position; on a mouse
655 release, exit from the inset instead of invoking a
658 * insetbase.C (dispatch): before invoking dispatch, set cursor
659 result to dispatch=update=true.
661 2004-08-13 José Matos <jamatos@lyx.org>
663 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
665 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * insetfoot.C (latex): use OutputParams::intitle instead of
668 parOwner() (avoids time consuming lookup)
670 * insetquotes.C (latex): same as above with OutputParams::lang.
671 Moreover the code actually works now.
673 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
675 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
676 * insetinclude.C, insetgraphics.C, insetfloat.C:
677 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
678 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
679 "support/std_sstream.h" to <sstream>
681 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
683 * insetgraphics.C (prepareFile): remove conversion_needed flag.
684 It made the following fail for a .eps graphics file:
686 2) view->pdf (pdflatex)
687 because the .eps file was already in the temp dir when the pdflatex
688 export happened and therefore no .eps -> pdf conversion was done.
690 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
692 * insetgraphics.C, insettabular.C: s/wether/whether/g
694 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * insetgraphics.C (stripExtension): new
697 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
699 * insetgraphics.C (prepareFile): Handle "nice" exports, too
700 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
702 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * insetfloatlist.C (latex,getScreenLabel): translate according to
705 the document language (bug #1312)
707 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
709 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
710 with external_in_tmpdir and compute filename ourself
711 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
712 use it to store referenced file(s)
713 * ExternalSupport.C (writeExternal): write relative filename if
715 * ExternalTemplate.[Ch]: add ReferencedFile command
716 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
718 * insetgraphics.C (prepareFile): write relative filename if
720 * insetinclude.C (latex, docbook, linuxdoc): add file to
721 runparams.exportdata and write it to the temp dir instead of
722 writing it to the final destination
723 * insetinclude.C (docbook, linuxdoc): don't copy runparams
725 2004-05-19 Angus Leeming <leeming@lyx.org>
727 * insetcite.[Ch]: small change because namespace biblio is
728 now namespace lyx::biblio.
730 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
732 * insettabular.[Ch] (buffer): make Buffer * argument const
734 2004-05-17 Angus Leeming <leeming@lyx.org>
736 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
737 to force the button label to be re-generated.
739 2004-05-14 José Matos <jamatos@lyx.org>
741 * insetlabel (docbook): do not ouput label, for the moment.
743 2004-05-14 Angus Leeming <leeming@lyx.org>
745 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
746 new biblio::asValidLatexString function.
748 2004-05-12 Angus Leeming <leeming@lyx.org>
750 * insetcite.C: use BufferParams::cite_engine rather than the three
751 bools, use_natbib, use_jurabib, use_numerical_citations.
753 2004-05-10 Angus Leeming <leeming@lyx.org>
755 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
756 Ditto with getStyle, moved to biblio::getEngine.
758 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * insetgraphics.C (validate): remove pre 233 file format stuff,
761 handle zipped files for "nice" export
763 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
765 * insetgraphics.C (prepareFile): copy zipped file and corresponding
766 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
767 * insetgraphics.C (prepareFile): unzip zipped file also if it has
768 changed since the last run
769 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
770 and copyFileIfNeeded.
772 2004-04-29 Angus Leeming <leeming@lyx.org>
774 * ExternalTemplate.[Ch]: remove redundant #includes.
776 2004-04-28 Angus Leeming <leeming@lyx.org>
779 s/updateToolbar()/updateToolbars()/
781 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
783 * insetgraphics.C: require file extension (file format change!)
784 * insetgraphics.C (latex): handle zipped files for "nice" export
786 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * insetgraphics.C (latex): strip the extension and replace dots in
789 the filename if doing a "nice" export. This is a partial fix for
790 bug 1231 without reintroducing bug 655.
792 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * insetoptarg.h: remove the editable() method (InsetCollapsable
795 does it better already)
797 * insetbibtex.C (normalize_name): new helper function. Changes the
798 name to be suitable to use in a latex file (relative to master
799 buffer if necessary).
800 (latex): use normalize_name.
802 2004-04-20 Angus Leeming <leeming@lyx.org>
804 * render_preview.C (startLoading): remove lyxerr statement.
806 (getPreviewLoader): new helper function.
808 2004-04-19 Angus Leeming <leeming@lyx.org>
812 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
814 2004-04-19 Angus Leeming <leeming@lyx.org>
816 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
818 (add_preview): renamed as add_preview_and_start_loading. Invoke
819 RenderPreview::startLoading.
821 * insetinclude.C (metrics, draw): changes due to the changed
822 RenderPreview interface.
824 * render_preview.C: remove cached pimage_.
825 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
826 (draw): don't call startLoading. That's up to the user of
829 2004-04-16 Angus Leeming <leeming@lyx.org>
831 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
833 2004-04-13 Angus Leeming <leeming@lyx.org>
835 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
836 the renderer to inform LyX::updateInset that the inset's status
837 has changed and it should be redrawn.
839 * render_button.[Ch] (clone):
840 * render_graphic.[Ch] (c-tors, clone):
841 * render_preview.[Ch] (c-tors, clone): ditto.
843 * render_graphic.[Ch] (connect):
844 * render_preview.[Ch] (connect): removed, as connection is now
845 made in the constructors.
849 * insetinclude.C: ensuing simplification of the client code.
850 (statusChanged): now superfluous. Removed.
852 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
854 * ExternalTemplate.[Ch]: remove editCommand
855 * ExternalSupport.C (editExternal): use formats.edit() instead of
856 the removed editCommand template parameter
857 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
858 * insetgraphics.[Ch] (editGraphics): new method
860 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
862 * insetinclude.C (validate): set/reset features.buffer_ when
865 2004-04-07 Angus Leeming <leeming@lyx.org>
867 * insetexternal.C (priv_dispatch):
868 * insetinclude.C (priv_dispatch): prevent crash by invoking
869 InsetOld::priv_dispatch at the end of the switch, rather than
870 InsetOld::dispatch...
872 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
874 * insetcollapsable.C:
875 * insetbranch.C: 'assign' to open/close branch inset according to
876 selection; also print content on closed branch button
878 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
880 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
881 $$RelPath_Master, $$RelPath_Parent, $$Extension,
882 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
884 * ExternalSupport.C (updateExternal): use absolute and output
885 filename where appropriate
887 2004-04-05 André Pönitz <poenitz@gmx.net>
889 * insetbase.h: use LCursor & in notifyCursorLeave
891 2004-04-05 Angus Leeming <leeming@lyx.org>
893 * insetgraphics.C: remove unused header file "lyxrc.h".
895 * render_graphic.C: squash bug 1372: Misleading graphics label when
896 deactivating lyx view.
898 2004-04-05 Angus Leeming <leeming@lyx.org>
903 * insetlatexaccent.C:
908 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
910 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
912 * insetfloat.C (read): fix yesterday's float fix.
913 * insetwrap.C (read): apply the fixed float fix.
915 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * insetfloat.C (read): fix reading of float params
920 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
922 * insettext.C (edit): comment the call to updateLocal (dangling now)
923 * insettext.h: add allowSpellCheck() returning true
925 2004-03-31 Angus Leeming <leeming@lyx.org>
927 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
929 2004-03-31 Angus Leeming <leeming@lyx.org>
931 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
932 the cursor out of an inset.
934 * insetbranch.C (priv_dispatch):
935 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
936 use getOutOfInset to push the cursor out of the inset when
939 2004-03-30 Angus Leeming <leeming@lyx.org>
941 * insetbase.[Ch] (translate): new static member function, returns
942 an InsetBase::Code corresponding to the input string.
944 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
946 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
947 so that it opens the inset if it refers to the currently active
950 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
952 * insetfloat.C (addToToc): use par_const_iterator_begin and
953 par_const_iterator_end.
955 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
957 * insetbibtex.[Ch]: bibtopic support.
959 * insetfloat.[Ch]: add param \sideways {true|false}
960 (support for sideways floats from rotating.sty).
962 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
964 * insettext.[Ch]: add a default ctor. implement const version of
970 * insetwrap.C: adjust
972 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
974 * insettext.h: add insetAllowed returning true by default (fixing
975 vanishing insets problem)
977 * insettext.C (draw): handle the responsability of adding the
978 ouside offset to collapsable. Clean code a bit.
980 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
981 from insettext correctly, solve a couple of off-by-one drawing
984 2004-03-25 Angus Leeming <leeming@lyx.org>
986 * insetcaption.C (draw): squash warning about unused variable.
988 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * ExternalSupport.C: use the master buffer's temp dir
991 * insetgraphics.C (latex): make relative filename relative to the
993 * insetgraphics.C: use the master buffer's temp dir
994 * insetinclude.C (masterFilename): new function
995 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
996 is always true if loadIfNeeded() returns true)
998 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1000 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1001 set its parent to the current buffer.
1002 (latex): use the tmppath of the master buffer, not just the parent
1003 buffer (makes a difference with more than one level of include
1004 insets). If the file name is relative write in the .tex file a
1005 name relative to the master buffer directory.
1007 * insetinclude.C: rename masterFilename to parentFilename (this
1008 points to the direct parent)
1010 2004-03-25 André Pönitz <poenitz@gmx.net>
1012 * inset.[Ch]: remover owner
1014 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1022 * insetcharstyle.[Ch]:
1030 * insetwrap.C: adjust
1032 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1034 * insetquote.C: use opening quote after '[' char.
1036 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1038 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1041 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1043 * insetcite.[Ch]: support jurabib.
1045 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * insetcite.C: Support second \cite option.
1049 * insetcommand.[Ch]:
1050 * insetcommandparams.[Ch]: add second optional argument.
1052 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1054 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1055 shows the inset dialog.
1057 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1059 * insetlabel.[Ch]: remove them
1060 * Makefile.am: adjust
1062 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1064 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1066 * insetinclude.C (latex): show a GUI warning if textclasses don't
1068 * insetinclude.C: use mangledFilename() for temp files
1069 * insetgraphics.C (readInsetGraphics): remove version check, since
1070 the graphics inset has no own fileformat number anymore
1072 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1074 * insetquotes.[Ch]: added new member that allows direct access
1075 to single/double quotation marks.
1076 * insetnewline.[Ch]:
1077 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1079 2004-02-16 André Pönitz <poenitz@gmx.net>
1082 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1083 implicitly assume 'DispatchResult(true, true) with exception of
1084 InsetBase::priv_dispatch which does the equivalent of
1085 'retrun DispatchResult(false)'
1087 * inset*.[Ch] (priv_dispatch): adjust
1089 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1090 simplify cursor moving function,
1091 re-enable horizontal scrolling for large tables
1093 2004-02-13 André Pönitz <poenitz@gmx.net>
1095 * insettabular.[Ch]: some work after IU
1097 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1099 * inset.C (setPosCache): switch to absolute coords in insets
1100 * insettext.[Ch] (draw, drawFrame): adjust
1101 * insetcollapsable.C (draw): adjust
1104 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1106 * insettext.C (edit):
1107 (updateLocal): use the cur argument instead of the global cursor
1108 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1110 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1112 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1114 * insetfloat.C (validate): "H" -> 'H' in call to contains
1116 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1118 2004-01-30 André Pönitz <poenitz@gmx.net>
1122 * insetcollapsable.[Ch]:
1125 * insetgraphics.[Ch]:
1127 * insettabular.[Ch]:
1130 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1133 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1135 * insettabular.C: add using statement for std::vector, remove
1136 std:: where using was already used.
1138 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1140 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1142 * insetinclude.C (validate): use feautures.nice() instead of
1145 2004-01-20 André Pönitz <poenitz@gmx.net>
1148 * insetbase.[Ch]: move stuff from mathcursor here.
1150 * insetbibitem.[Ch]:
1154 * insetcharstyle.[Ch]:
1155 * insetcollapsable.[Ch]:
1156 * insetcommand.[Ch]:
1158 * insetexternal.[Ch]:
1160 * insetgraphics.[Ch]:
1161 * insetinclude.[Ch]:
1165 * insettabular.[Ch]:
1169 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1172 2004-01-15 André Pönitz <poenitz@gmx.net>
1175 * insetbibitem.[Ch]:
1179 * insetcharstyle.[Ch]:
1180 * insetcollapsable.[Ch]:
1181 * insetcommand.[Ch]:
1183 * insetexternal.[Ch]:
1185 * insetgraphics.[Ch]:
1186 * insetinclude.[Ch]:
1190 * insettabular.[Ch]:
1194 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1196 2004-01-08 André Pönitz <poenitz@gmx.net>
1198 * insetcollapsable.[Ch]:
1199 * insettabular.[Ch]:
1201 * updatableinset.h: use cell index info from global cursor.
1203 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1205 * insetnote.C (InsetNoteParams::write): write label only once
1207 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1209 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1211 get rid of the SameName functor
1213 * insettabular.C: improve the functor.
1215 2003-12-29 Angus Leeming <leeming@lyx.org>
1217 * insetexternal.C (setParams): update defaultTemplateName.
1219 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1221 * insetbox.C: Use term "Box" in button label
1223 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1225 * insetcharstyle.C: get getDrawFont working again
1227 2003-12-15 André Pönitz <poenitz@gmx.net>
1229 * insettabular.[Ch]:
1230 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1232 2003-12-12 Angus Leeming <leeming@lyx.org>
1234 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1236 (InsetBranchParams): remove the branchlist hack.
1237 (isBranchSelected): new function, used to decide whether to
1238 print each output format. Also used by InsetList.
1239 (read, string2params): repair my own breakage ;-)
1241 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1243 * insetminipage.[Ch]: remove from repository.
1245 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1248 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1249 insetert to insetcollapsable; introduce virtual function
1250 setButtonLabel and invoke it from collapsable
1252 2003-12-12 Angus Leeming <leeming@lyx.org>
1254 * insetinclude.C (draw): cache x,y and so enable the
1255 dialog to be opened.
1257 2003-12-12 Angus Leeming <leeming@lyx.org>
1259 * mailinset.C (print_mailer_error): tidy up the output.
1261 2003-12-11 Angus Leeming <leeming@lyx.org>
1263 * mailinset.[Ch] (print_mailer_error): new helper function.
1265 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1266 calling InsetCommandMailer.
1267 (InsetCommandMailer::string2params): pass the name of the dialog.
1269 * insetbibitem.[Ch] (d-tor):
1270 * insetbibtex.[Ch] (d-tor):
1271 * insetcite.[Ch] (d-tor):
1272 * insetfloatlist.[Ch] (d-tor):
1273 * insetindex.[Ch] (d-tor):
1274 * insetlabel.[Ch] (d-tor):
1275 * insetref.[Ch] (d-tor):
1276 * insettoc.[Ch] (d-tor):
1277 * inseturl.[Ch] (d-tor): removed.
1278 Hiding the dialog is handled by InsetCommand.
1280 * insetbibtex.[Ch] (draw, metrics):
1281 * insetfloatlist.[Ch] (draw, metrics):
1282 * insetindex.[Ch] (draw, metrics): removed.
1283 Drawing is handled by InsetCommand.
1285 * insetbibitem.[Ch] (priv_dispatch):
1286 * insetbibtex.[Ch] (priv_dispatch):
1287 * insetcite.[Ch] (priv_dispatch):
1288 * insetfloatlist.[Ch] (priv_dispatch):
1289 * insetindex.[Ch] (priv_dispatch):
1290 * insetlabel.[Ch] (priv_dispatch):
1291 * insettoc.[Ch] (priv_dispatch):
1292 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1293 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1294 LFUN_INSET_DIALOG_SHOW.
1296 * insetbox.C (string2params):
1297 * insetbranch.C (string2params):
1298 * insetert.C (string2params):
1299 * insetexternal.C (string2params):
1300 * insetfloat.C (string2params):
1301 * insetinclude.C (string2params):
1302 * insetminipage.C (string2params):
1303 * insetnote.C (string2params):
1304 * insetvspace.C (string2params):
1305 * insetwrap.C (string2params): over-hauled.
1307 2003-12-10 Angus Leeming <leeming@lyx.org>
1309 * insetexternal.[Ch]: add a draft option and respect it when
1312 2003-12-10 Angus Leeming <leeming@lyx.org>
1314 * insetbox.C: (read, write): now prepend the inset contents with
1315 'Box' to identify the inset as a box inset.
1317 * insetbox.h: move the translators out of sight.
1319 2003-12-10 Angus Leeming <leeming@lyx.org>
1321 * insetert.C (string2params): clean-up using the new lyxlex interface.
1323 * insetexternal.C: ensure that InsetExternalParams has a default
1324 template, 'RasterImage'.
1326 2003-12-10 Angus Leeming <leeming@lyx.org>
1328 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1329 to an enum. Ensuing clean-ups through out the class.
1330 (read, write): now prepend the inset contents with 'Note' to identify
1331 the inset as a note inset.
1333 2003-12-10 Angus Leeming <leeming@lyx.org>
1335 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1336 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1338 2003-12-10 André Pönitz <poenitz@gmx.net>
1342 * insettabular.[Ch]:
1343 * insettext.[Ch]: remove unused insetInset()
1345 * insetert.C: disable some LFUNs
1347 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1349 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1351 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1353 2003-12-04 Angus Leeming <leeming@lyx.org>
1355 * insetexternal.C (draw): update the xo_, yo_ cache.
1357 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1359 (RotationDataType): new helper struct wrapping the
1360 RotationData::OriginType enum.
1362 2003-12-03 André Pönitz <poenitz@gmx.net>
1364 * inset.h: remove getParagraphs()
1366 * insetcollapsable.[Ch]:
1369 * insettabular.[Ch]:
1370 * insettext.C: use getText() instead of getParagraphs()
1372 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1374 * insetert.C: fix label text updating bug
1376 2003-12-02 Angus Leeming <leeming@lyx.org>
1378 * insetvspace.[Ch] (space): new member function. Make space_ private.
1379 (read): use the new, simpler lyxlex syntax.
1381 2003-12-01 André Pönitz <poenitz@gmx.net>
1383 * insetcollapsable.[Ch]:
1384 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1386 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1388 * insetvspace.C (read): handle 'end_inset' token.
1390 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1392 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1394 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1396 * insetcollapsable.[Ch]:
1398 * insetcharstyle.C: place inset content on the button when
1401 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1403 * insetvspace.C: remove VSpace::NONE; increase inset width
1405 2003-12-01 André Pönitz <poenitz@gmx.net>
1407 * insetbase.h: whitespace
1409 * inset.[Ch]: remove latexTextWidth
1410 make setBackgroundColor virtual
1412 * insettext.[Ch]: move ParagraphList member to LyXText
1414 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1420 * insetminipage.[Ch]:
1422 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1424 2003-11-28 Angus Leeming <leeming@lyx.org>
1426 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1427 hiding and showing the dialog respectively.
1428 (priv_dispatch): also actually update the inset contents.
1430 2003-11-28 Angus Leeming <leeming@lyx.org>
1432 * insetbox.C (d-tor):
1433 * insetbranch.C (d-tor):
1434 * insetcite.C (d-tor):
1435 * insetfloat.C (d-tor):
1436 * insetfloatlist.C (d-tor):
1437 * insetinclude.C (d-tor):
1438 * insetindex.C (d-tor):
1439 simplify the invocation of the Mailer::hideDialog() function.
1441 * insetminipage.C (showInsetDialog):
1442 simplify the invocation of the Mailer::showialog() function.
1444 2003-11-28 André Pönitz <poenitz@gmx.net>
1447 * insetvspace.[Ch]: new insets
1449 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1451 * insetcharstyle.C: Syntax change for CharStyles
1453 2003-11-28 André Pönitz <poenitz@gmx.net>
1455 * updatableinset.h: remove insetInInsetY
1457 * insetcollapsable.[Ch]:
1459 * insettabular.[Ch]:
1460 * insettext.[Ch]: adjust
1462 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1466 * insetcollapsable.[Ch]:
1468 * insettabular.[Ch]: remove setFont
1470 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1472 * render_graphic.[Ch]: adjust comments
1474 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1476 * insetgraphics.C (draw): cache xo_ & yo_
1478 2003-11-24 André Pönitz <poenitz@gmx.net>
1480 * insettext.C (setViewCache): don't call LyXText::init() anymore
1482 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1485 * insetcollapsable.[Ch]:
1486 * insetert.[Ch]: remove bufferview parameter in methods
1487 open, close, status, and updateStatus.
1489 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1491 * insetcollapsable.[Ch]:
1492 * insettabular.[Ch]:
1493 * insettext.[Ch] (getCursorDim): squash unused variable
1495 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1497 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1499 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1501 * insettext.C (draw): sets LyXText absolute coordinates
1503 2003-11-20 Angus Leeming <leeming@lyx.org>
1505 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1506 warnings about unused parameters.
1508 * insetcollapsable.C (open):
1509 * insettabular.C (pasteSelection):
1510 * insettoc.C (draw): ditto.
1512 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1514 * insetcollapsable.C:
1516 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1517 remove mouse_x mouse_y etc.
1519 2003-11-17 André Pönitz <poenitz@gmx.net>
1521 * insettext.[Ch] (cx, cy): remove
1523 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1525 2003-11-13 André Pönitz <poenitz@gmx.net>
1528 * insetcollapsable.[Ch]:
1529 * insettabular.[Ch]:
1530 * insettext.[Ch] (deleteLyXText): remove
1532 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1534 * insetcollapsable.[Ch] (fitInsetCursor): remove
1535 * insettabular.[Ch] (fitInsetCursor): remove
1536 * insettext.[Ch] (fitInsetCursor): remove
1537 * updatableinset.[Ch] (fitInsetCursor): remove
1538 (getCursorDIm): add virtual
1540 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1542 * src/insets/Makefile.am:
1543 * src/insets/inset.h:
1544 * src/insets/insetcharstyle.C:
1545 * src/insets/insetcharstyle.h: The Character Style /XML short
1548 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1550 * insettext.C: remove all update calls
1551 * insetcollapsable.C: remove all update calls
1553 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1555 * insettext.C (updateLocal, insertInset, setFont): remove
1558 2003-11-10 André Pönitz <poenitz@gmx.net>
1560 * inset.h: remove Inset::id_
1562 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1567 2003-11-10 André Pönitz <poenitz@gmx.net>
1571 * insetcollapsable.[Ch]:
1575 * insettabular.[Ch]:
1578 * updatableinset.[Ch]: remove inset locking & adjust
1580 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1582 * inset.h (allowSpellCheck): add (return true)
1583 * insetert.h (allowSpellCheck): add (return false)
1585 2003-11-05 José Matos <jamatos@lyx.org>
1591 * insetcaption.[Ch]:
1593 * insetcollapsable.[Ch]:
1594 * insetcommand.[Ch]:
1597 * insetexternal.[Ch]:
1599 * insetfloatlist.[Ch]:
1601 * insetgraphics.[Ch]:
1603 * insetinclude.[Ch]:
1606 * insetlatexaccent.[Ch]:
1609 * insetmarginal.[Ch]:
1610 * insetminipage.[Ch]:
1611 * insetnewline.[Ch]:
1614 * insetpagebreak.[Ch]:
1618 * insetspecialchar.[Ch]:
1619 * insettabular.[Ch]:
1621 * insettheorem.[Ch]:
1624 * insetwrap.[Ch]: rename ascii to plaintext
1625 and LatexRunParams to OutputParams.
1627 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1629 * insetcollapsable.C (edit): add open() all
1630 * insettext.C (edit): add setViewCache call
1632 2003-11-04 André Pönitz <poenitz@gmx.net>
1634 * inset.h (edit): move locking code from dispatch() to edit()
1640 * insetcollapsable.[Ch]:
1643 * insetexternal.[Ch]:
1644 * insetgraphics.[Ch]:
1649 * insettabular.[Ch]:
1650 * insettext.[Ch]: adjust
1652 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1655 * insetcollapsable.[Ch]:
1657 * insettabular.[Ch]:
1659 * updatableinset.[Ch]: remove dead search code
1661 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1664 * insetcollapsable.[Ch]:
1666 * insettabular.[Ch]:
1668 * updatableinset.[Ch]: remove dead spellcheck code
1670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1672 * insettabular.C (lockInsetInInset): small fix
1674 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1677 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1678 from here. Be stricter on DispatchResult returned.
1680 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * Inset::dispatch's: adjust for new DispatchResult semantics.
1684 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1686 * render_base.h: make clone return an auto_ptr
1687 * render_button.C (clone): adjust
1688 * render_graphic.C (clone): adjust
1689 * render_preview.C (clone): adjust
1691 * insettheorem.C (clone): return an auto_ptr
1693 * insettext.C (priv_dispatch): exception safety
1695 * insettabular.C: store the file scope variable paste_tabular in a
1696 scoped_ptr, adjust usage.
1698 * insetexternal.C (setParams): exception safety
1700 * insetbibitem.C (clone): exception safety
1702 2003-11-03 André Pönitz <poenitz@gmx.net>
1705 * insetcollapsable.[Ch]:
1706 * insettabular.[Ch]:
1707 * insettext.[Ch]: remove Inset::id and related functions
1709 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * insets: adjust for DispatchResult changes.
1713 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1715 * insetpagebreak.C: fix screen representation & ascii output.
1717 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1721 * insettabular.[Ch]:
1722 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1724 2003-10-31 José Matos <jamatos@lyx.org>
1726 * inset.h (ascii, linuxdoc, docbook):
1727 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1728 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1729 * insetcaption.[Ch] (ascii, docbook):
1730 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1731 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1732 * insetert.[Ch] (ascii, linuxdoc, docbook):
1733 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1734 * insetfloat.[Ch] (linuxdoc, docbook):
1735 * insetfloatlist.[Ch] (ascii):
1736 * insetfoot.[Ch] (docbook):
1737 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1738 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1739 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1740 * insetindex.[Ch] (docbook):
1741 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1742 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1743 * insetline.[Ch] (ascii, linuxdoc, docbook):
1744 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1745 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1746 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1747 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1748 * insetref.[Ch] (ascii, linuxdoc, docbook):
1749 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1750 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1751 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1752 * insettext.[Ch] (ascii, linuxdoc, docbook):
1753 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1754 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1755 * insetwrap.[Ch] (docbook):
1756 add LatexRunParams argument.
1758 2003-10-30 José Matos <jamatos@lyx.org>
1760 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1762 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * updatableinset.C (priv_dispatch):
1765 * insetwrap.C (priv_dispatch):
1766 * inseturl.C (priv_dispatch):
1767 * insettoc.C (priv_dispatch):
1768 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1769 (moveLeftIntern, moveUp, moveDown):
1770 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1771 (moveLeft, moveUp, moveDown):
1772 * insetref.C (priv_dispatch):
1773 * insetnote.C (priv_dispatch):
1774 * insetminipage.C (priv_dispatch):
1775 * insetlabel.C (priv_dispatch):
1776 * insetindex.C (priv_dispatch):
1777 * insetinclude.C (priv_dispatch):
1778 * insetgraphics.C (priv_dispatch):
1779 * insetfloatlist.C (priv_dispatch):
1780 * insetfloat.C (priv_dispatch):
1781 * insetexternal.C (priv_dispatch):
1782 * insetert.C (priv_dispatch):
1783 * insetcommand.C (priv_dispatch):
1784 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1785 * insetcite.C (priv_dispatch):
1786 * insetbranch.C (priv_dispatch):
1787 * insetbox.C (priv_dispatch):
1788 * insetbibtex.C (priv_dispatch):
1789 * insetbibitem.C (priv_dispatch):
1790 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1792 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1794 * insettext.C: small refactoring of docbook stuff
1796 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1799 (priv_dispatch): adjust for operator dispatch_result_t removal
1801 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1802 in a DispatchResult, adjust accordingly.
1803 (priv_dispatch): use strange >= construct... (will be removed later)
1805 * most insets: dispatch_result -> DispatchResult
1807 * insetbase.h: move DispatchResult out to dispatchresult.h
1809 2003-10-27 André Pönitz <poenitz@gmx.net>
1811 * insetpagebreak.[Ch]: new inset for page breaks
1813 * insetline.[Ch]: new inset for vertical lines
1818 2003-10-25 Angus Leeming <leeming@lyx.org>
1820 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1821 new virtual member functions, specialised...
1822 * render_button.h (asButton):
1823 * render_graphic.h (asGraphic):
1824 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1826 * insetexternal.C: use these new functions rather than dynamic_cast.
1827 Various other small simplifications.
1829 2003-10-22 Angus Leeming <leeming@lyx.org>
1831 * insetexternal.[Ch]: add the ability to 'preview' the external file
1834 * insetinclude.C: changes due to the changes in the RenderPreview
1837 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1838 message if the preview image is not available. Only initiate the
1839 loading of the preview from draw(). Ditto, start the monitoring
1840 of an external file from RenderMonitoredPreview::draw.
1842 2003-10-22 Angus Leeming <leeming@lyx.org>
1844 * insetcite.[Ch] (setLoadingBuffer): removed.
1845 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1846 ascertain whether to proceed with the (expensive) task of computing
1847 the natbib-style label. Remove the home-grown hack providing
1848 similar functionality.
1850 2003-10-22 Angus Leeming <leeming@lyx.org>
1852 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1853 class and into an anonymous namespace.
1855 2003-10-22 Angus Leeming <leeming@lyx.org>
1857 * insetcommand.h: remove the display method.
1861 * insetindex.h (InsetPrintIndex):
1862 * insettoc.h: add a display method, returning true.
1864 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1866 * insetcollapsable.h:
1870 * insetinclude.h: (1) finish off the inset display() work;
1871 (2) fix the "is a bit silly" bug (accessing char
1874 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1878 * insetfootlike.h: re-introduce display() for insets,
1879 fixing the various bugs (stretch of line above, math inset
1882 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * insetbase.C (dispatch): new func
1885 (priv_dispatch): new func replaces...
1886 (localDispatch): this, deleted.
1888 * all insets with dispatch modified for new code.
1890 2003-10-15 André Pönitz <poenitz@gmx.net>
1892 * insetcollapsable.[Ch]
1894 * inset.h: re-add some edit(bv, index) method called by undo
1896 2003-10-14 Angus Leeming <leeming@lyx.org>
1898 * insetexternal.[Ch] (view, cache, view_):
1899 * insetgraphics.[Ch] (view, cache, view_):
1900 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1901 (statusChanged): call LyX::cref().updateInset.
1903 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1904 the BufferView cache.
1906 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1909 2003-10-14 Angus Leeming <leeming@lyx.org>
1911 * insetinclude.C (metrics, draw): only draw the preview when previews
1914 2003-10-14 André Pönitz <poenitz@gmx.net>
1916 * insetcollapsable.[Ch]:
1917 * insettabular.[Ch]:
1919 * inset.h: getText() as alternative to getParagraphs()
1921 2003-10-13 Angus Leeming <leeming@lyx.org>
1924 * insetgraphicsParams.C: displayTranslator is now a function.
1926 2003-10-13 Angus Leeming <leeming@lyx.org>
1928 * insetinclude.C: remove #include "PreviewImage.h".
1930 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * ExternalSupport.C:
1933 * ExternalTransforms.C:
1935 * insetbox.h: ws changes only
1937 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * insetinclude.C (localDispatch): do not call
1940 InsetOld::localDispatch, just return UNDISPATCHED
1941 * insetgraphics.C (localDispatch): ditto
1942 * insetcommand.C (localDispatch): ditto
1944 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * inset.h: get rid of RESULT typedef for dispatch_result
1948 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1949 * insetert.[Ch] (localDispatch): ditto
1950 * insettabular.[Ch] (localDispatch): ditto
1955 * insettext.[Ch] (localDispatch): ditto
1958 (moveRightIntern): ditto
1959 (moveLeftIntern): ditto
1962 * updatableinset.[Ch] (localDispatch): ditto
1964 2003-10-12 Angus Leeming <leeming@lyx.org>
1966 * renderbase.h (view, view_): removed.
1967 * renderbase.C: removed.
1968 * Makefile.am: remove render_base.C. The shortest lived file in
1971 * renderbutton.C (draw):
1972 * render_graphic.C (draw): don't cache the BufferView.
1974 * insetabase.h (cache, view): removed.
1976 * inset.h (generatePreview) removed.
1978 * insetcallapsable.[Ch] (cache, view, view_): removed.
1980 * insetcollapsable.C (draw): don't cache the BufferView.
1982 * insetcommand.[Ch] (view): removed.
1984 * insetexternal.[Ch] (cache, view, view_):
1985 * insetgraphics.[Ch] (cache, view, view_):
1986 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1988 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1989 when you have direct access to it. In fact, don't use the cache at all.
1991 2003-10-10 Angus Leeming <leeming@lyx.org>
1993 * insetinclude.C (metrics): use preview_->metrics.
1994 (draw): use preview_->draw.
1996 * render_preview.[Ch] (pimage): removed.
1998 2003-10-10 Angus Leeming <leeming@lyx.org>
2000 * renderers.[Ch]: removed.
2003 * render_button.[Ch]:
2004 * render_graphic.[Ch]:
2005 * render_preview.[Ch]: new files. The first three are split out of
2006 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2007 contains a re-worked InsetInclude::PreviewImpl also.
2009 * Makefile.am: reflect the changed files.
2012 * insetexternal.[Ch]:
2013 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2015 * insetinclude.[Ch]: changes reflecting the change from
2016 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2022 * inseturl.C: add #include "support/std_ostream.h"
2024 2003-10-09 Angus Leeming <leeming@lyx.org>
2026 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2027 to PreviewedInset::previewReady.
2029 2003-10-09 Angus Leeming <leeming@lyx.org>
2031 * insetexternal.[Ch] (statusChanged):
2032 * insetgraphics.[Ch] (statusChanged): make a const member function.
2034 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2037 2003-10-09 Angus Leeming <leeming@lyx.org>
2039 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2040 to PreviewedInset's previewReady and removePreview member functions.
2042 2003-10-08 André Pönitz <poenitz@gmx.net>
2044 * insetcollapsable.C:
2045 * insettext.[Ch]: saner 'init' structure
2047 * updatableinset.[Ch]: remove unneeded code
2049 2003-10-08 Angus Leeming <leeming@lyx.org>
2051 Fix doxygen warnings.
2053 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2054 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2056 2003-10-07 Angus Leeming <leeming@lyx.org>
2058 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2059 be applied to InsetExternal.
2061 * Makefile.am: add these new files.
2063 * ExternalTemplate.[Ch]: add a list of available transforms to
2064 class Template and a list of factory functions for transformer classes
2065 that can act on this data to class Format.
2067 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2069 * ExternalSupport.C: Add code to replace transform placeholders
2070 with appropriate output.
2072 2003-10-07 Angus Leeming <leeming@lyx.org>
2074 * ExternalSupport.[Ch]: new files, moving the private member functions
2075 and namespace anon functions out of insetexternal.C to here, so making
2076 it easier to understand what is going on in insetexternal itself.
2078 * Makefile.am: add new files.
2080 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2081 allowing the class to be forward declared. (Also consistent with
2082 all other Params classes.)
2083 (write): moved out of the class. Move this function and those in
2084 namespace anon to ExternalSupport.[Ch].
2086 2003-10-07 Angus Leeming <leeming@lyx.org>
2088 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2089 non-const member function.
2091 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2096 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2098 2003-10-02 André Pönitz <poenitz@gmx.net>
2100 * insettext.C (read): make sure there is at least one par
2101 in the text after reading.
2103 2003-10-01 José Matos <jamatos@lyx.org>
2105 * insetbranch.C (linuxdoc, docbook): minor fix.
2107 2003-10-01 Angus Leeming <leeming@lyx.org>
2109 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2111 * insetexternal.[Ch]: changes due to the introduction of
2112 namespace lyx::external.
2114 2003-09-30 Angus Leeming <leeming@lyx.org>
2116 * insetexternal.[Ch] (Params::read, write): new member functions.
2118 2003-09-25 Angus Leeming <leeming@lyx.org>
2120 * insetexternal.[Ch] (TempName): new (private) nested struct with
2121 fake copy semantics. Enables us to use the generated copy c-tor
2122 in the Params struct.
2123 (Params::templatename, Params::tempname): use accessor functions.
2125 2003-09-25 Angus Leeming <leeming@lyx.org>
2127 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2128 function, returning a const pointer.
2130 2003-09-23 Angus Leeming <leeming@lyx.org>
2132 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2133 store them in a vector, preambleNames.
2135 * insetexternal.C (validate): loop over all preambleNames and call
2136 LaTeXFeatures::addExternalPreamble with each.
2138 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2140 * insetbranch.C: bug fix in branches
2142 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2144 * insetnote.C: small clean-up.
2146 2003-09-19 Angus Leeming <leeming@lyx.org>
2148 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2150 * insetcommand.C (string2params): clear params using the default c-tor.
2152 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2153 InsetInclude::Params. No more data in this struct than in
2154 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2155 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2156 (clone): remove #warning as it's now redundant.
2157 (set): add a 'Buffer const &' arg. Make private.
2158 (loadIfNeeded) move out of the class definition and into namespace anon.
2159 (getMasterFilename, getFileName): ditto.
2161 2003-09-18 Angus Leeming <leeming@lyx.org>
2163 * insetcommand.C (setParams): use the params' copy constructor.
2165 2003-09-18 Angus Leeming <leeming@lyx.org>
2167 * insetinsetbase.h (getLabelList):
2168 * insetinsetcollapsable.[Ch] (getLabelList):
2169 * insetinsetinclude.[Ch] (getLabelList):
2170 * insetinsetlabel.[Ch] (getLabelList):
2171 * insetinsettabular.[Ch] (getLabelList):
2172 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2173 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2175 2003-09-18 Angus Leeming <leeming@lyx.org>
2177 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2178 redundant baggage from yesteryear.
2179 Remove Params::flag as it is redundant; the info is present in
2182 2003-09-18 Angus Leeming <leeming@lyx.org>
2184 * insetinclude.C (latexString): add a Buffer const & arg.
2186 2003-09-18 Angus Leeming <leeming@lyx.org>
2191 * insettext.h: rename EnumLColor as LColor_color.
2193 2003-09-18 Angus Leeming <leeming@lyx.org>
2195 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2196 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2198 2003-09-16 Angus Leeming <leeming@lyx.org>
2200 * insetinclude.C (localDispatch): ensure that
2201 params_.masterFilename_ is set before trying to generate a
2202 preview, else we trigger an assert.
2204 2003-09-16 Angus Leeming <leeming@lyx.org>
2206 * insetinclude.C (PreviewImpl::parent): return a const reference.
2208 2003-09-16 Angus Leeming <leeming@lyx.org>
2210 * insetcollapsable.[Ch]: make all member variables, except for
2213 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2214 than access labelfont directly.
2215 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2216 use InsetCollapsable::setCollapsed, isOpen rather than access
2217 collapsed_ directly.
2219 * insetminipage.C (metrics):
2220 * insetnote.C (metrics):
2221 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2222 access collapsed_ directly.
2224 2003-09-16 Angus Leeming <leeming@lyx.org>
2226 * insetbibitem.C: add #include "lyxfont.h".
2228 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * insetbibtex.C: use namespace alias for lyx::support::os
2233 2003-09-16 Angus Leeming <leeming@lyx.org>
2235 * insetcollapsable.h: remove unused framecolor variable.
2236 Remove #include "LColor.h".
2238 * insetcollapsable.C: remove unused framecolor variable.
2241 * insetcollapsable.C:
2249 Add #include "LColor.h".
2251 2003-09-16 Angus Leeming <leeming@lyx.org>
2253 * insettext.[Ch] (frameColor): new accessor function.
2254 (frame_color_): stored as an int, allows us to remove #include
2255 "LColor.h" from insettext.h
2260 add #include "LColor.h".
2262 * insetcollapsable.h: add #include "LColor.h"
2263 (for its framecolor member variable).
2265 2003-09-16 Angus Leeming <leeming@lyx.org>
2267 * insetenv.C (constructor): use accessor functions to access
2268 InsetText variables.
2270 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2271 rename frame_color as frame_color_. Make private.
2273 * insettext.C: associated changes.
2275 2003-09-16 Angus Leeming <leeming@lyx.org>
2277 * inset.h: store background_color_ as an int, not as an
2278 LColor::color to get LColor.h out of the header file.
2281 * insetlatexaccent.C:
2284 * insetspecialchar.C:
2286 add #include "LColor.h".
2288 2003-09-16 Angus Leeming <leeming@lyx.org>
2290 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2291 cannot string calls together.
2293 2003-09-15 Angus Leeming <leeming@lyx.org>
2295 * inset.[Ch] (setBackgroundColor, backgroundColor):
2296 * insettext.[Ch] (setFrameColor):
2297 pass EnumLColor args, rather than LColor::color ones.
2299 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * insetwrap.C: remove usage of STRCONV
2311 2003-09-15 Angus Leeming <leeming@lyx.org>
2313 * renderers.C (draw):
2314 * insetlatexaccent.C (draw): explicitly define the color passed to
2317 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2319 * insettext.C: remove block causing problems in lockInsetInInset
2320 (mentioned erroneously under Bug #1366)
2322 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2324 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2327 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2329 * several files: change Assert to BOOST_ASSERT
2331 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2333 * insettext.[Ch]: remove drawText[XY]Offset
2335 2003-09-08 Angus Leeming <leeming@lyx.org>
2337 * insetcollapsable.C:
2342 * insetspecialchar.C:
2345 * insettoc.C: remove redundant using directives.
2347 2003-09-07 Angus Leeming <leeming@lyx.org>
2350 * insetspecialchar.h: remove #include "support/std_string.h".
2352 2003-09-06 Angus Leeming <leeming@lyx.org>
2354 * renderers.C: add #include "insets/inset.h"
2356 2003-09-05 Angus Leeming <leeming@lyx.org>
2358 * *.C: strip out redundant #includes. (193 in total.)
2360 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2362 * insets/insetbibtex.[Ch]:
2363 * insets/insetcommand.h:
2364 * insets/insetfloatlist.[Ch]:
2365 * insets/insetinclude.[Ch]:
2366 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2367 of insets like bibtex, include, toc and floatlist to the visible
2368 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2369 up the dialogs. Cursor has to be in front of the inset (i.e.
2370 start of row) for this to function.
2372 2003-09-04 Angus Leeming <leeming@lyx.org>
2374 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2375 structure outside of the Format struct. Format::preambleName refers to
2376 an item in the map of all preamble snippets.
2377 Make use of the new Debug::EXTERNAL flag.
2379 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2380 (validate): Small change due to the changed storage of preamble
2383 2003-09-04 Angus Leeming <leeming@lyx.org>
2385 * insetgraphics.C: #include "support/os.h"
2387 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2388 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2389 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2391 * insetcollapsable.h:
2393 * insetnote.C: move #include "funcrequest.h" out of the header file.
2395 2003-09-03 Angus Leeming <leeming@lyx.org>
2397 * insetexternal.C (updateExternal):
2398 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2401 2003-09-03 Angus Leeming <leeming@lyx.org>
2403 * insetexternal.C: don't bring namespace lyx::support into the global
2406 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2408 * insetbranch.C: Add Branch: to label
2410 2003-09-02 John Levon <levon@movementarian.org>
2413 * insettext.C: remove cursor.i[xy]()
2415 2003-08-28 Angus Leeming <leeming@lyx.org>
2417 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2418 "sh ", enabling the conversion to be carried out even if the script
2421 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2423 * most files: change to use const Buffer refs
2425 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2427 * insetfootlike.C: whitespace.
2429 2003-08-26 John Levon <levon@movementarian.org>
2433 * insetindex.h: remove remaining mentions of needFullRow()
2435 2003-08-26 André Pönitz <poenitz@gmx.net>
2441 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2443 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2445 * insetbranch.C: Small fix to prevent a crash on loading.
2447 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2452 * insetcollapsable.h:
2454 * insetfloatlist.[Ch]:
2455 * insetfootlike.[Ch]:
2456 * insetinclude.[Ch]:
2462 * insettheorem.[Ch]:
2463 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2464 altogether, putting the logic in metrics/draw in the insets.=20
2465 Draws short single row insets with more or less realistic metrics.
2467 2003-08-19 André Pönitz <poenitz@gmx.net>
2469 * insettext.C: use new RowPainter interface
2471 2003-08-18 John Levon <levon@movementarian.org>
2473 * insetref.C: require amsmath for eqref
2475 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2479 * insetbranch.[Ch]: implements the 'branch inset'
2480 idea. This allows the output of various versions of a document
2481 from a single source version, selectively outputing or suppressing
2482 output of parts of the text.
2483 This implementation contains a 'branch list editor' in a separate
2484 tab of the document settings dialog. Branches are user definable
2485 and have a "display colour" to distinguish them on-screen.
2487 ColorHandler was somewhat cleaned up.
2488 (1) make possible a dynamically growing LColor list by allowing
2489 the graphic context cache to grow along (vector);
2490 (2) eliminate an IMHO unnecessary step in colour allocation.
2492 2003-08-15 André Pönitz <poenitz@gmx.net>
2494 * insettext.[Ch]: adjust after rowlist split
2496 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2498 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2499 rename valign-center to valign-middle;
2500 rename VALIGN_CENTER to VALIGN_MIDDLE
2502 2003-08-11 André Pönitz <poenitz@gmx.net>
2504 * inset.h: remove resizeLyXText
2507 * insetcollapsable.[Ch]:
2509 * insettabular.[Ch]: adjust
2511 * insettext.[Ch]: remove saveLyXTextState,
2512 restoreLyXTextStat, sstate, reinitLyXText
2514 2003-08-07 André Pönitz <poenitz@gmx.net>
2516 * inset.[Ch]: move non-crucial functions out-of-line
2518 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2519 remove duplicated code.
2521 2003-08-05 André Pönitz <poenitz@gmx.net>
2524 * insetcollapsable.[Ch]:
2534 * insettabular.[Ch]:
2537 * updatableinset.[Ch]: rip out "deep update"
2539 * insettext.C (localDispatch): merge cases with default branch
2541 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2543 * insettabular.[Ch] (updateLocal): simplify logic
2545 2003-08-04 André Pönitz <poenitz@gmx.net>
2547 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2548 is 'FULL' all the time.
2550 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2552 * insetert.C (get_new_label): only add ... to the (closed) label
2553 when the string has been shortened
2555 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2557 * Always use std::endl with lyxerr
2559 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2561 * insetnote.C: update \author list
2563 2003-07-31 André Pönitz <poenitz@gmx.net>
2565 * insetcollapsable.h:
2566 * insettabular.[Ch]:
2567 * insettext.[Ch]: remove toggleSelection
2569 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2571 (with help from Juergen Spitzmueller)
2572 * insetnote.C: add add i18n support. Use Prefs-definable
2573 colours for Comment and Greyedout.
2575 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2577 * insetcollapsable.[Ch]:
2579 * insetert.C: factor out the detection of clicking on the inset
2580 button as 'hitButton'. John Levon contributed.
2582 2003-07-30 André Pönitz <poenitz@gmx.net>
2584 * insetcollapsable.C:
2586 * insettabular.C: parantheses, localize vars etc.
2588 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2590 * insetnote.C: Implement a newenvironment in preamble for
2591 greyedout. Patch provided by Jürgen Spitzmüller.
2593 2003-07-29 Angus Leeming <leeming@lyx.org>
2595 * insetcommand.C (localDispatch): default to
2596 InsetOld::localDispatch.
2598 * insetbibitem.C (localDispatch):
2599 * insetbibtex.C (localDispatch): remove call to
2600 ChangeCitationsIfUnique.
2602 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2604 * insetexternal.C (read): use pushpophelper.
2606 2003-07-28 José Matos <jamatos@lyx.org>
2608 * insetext.C (read): \end_document replaces \the_end.
2610 2003-07-28 José Matos <jamatos@fep.up.pt>
2612 * insetert.C (write): \layout -> \begin_layout.
2613 Add missing \end_layout.
2615 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * insetquotes.C: document a bit the format
2619 * insettabular.C (write): remove extra space
2621 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2622 * insetnote.C: Umpf. Hope I *now* get it right :-(
2624 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2625 *insetnote.C: did the right fix to greyedout: \color
2626 instead of \textcolor.
2628 2003-07-28 Angus Leeming <leeming@lyx.org>
2630 * insetbibtex.h: remove extraneous forward declaration.
2633 * insetbibtex.h: Also remove long-dead Holder member class
2636 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2638 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2641 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * insetwrap.C (addToToc): adjust for lyx::toc
2645 * insetfloatlist.C (ascii): adjust for lyx::toc
2647 * insetfloat.C (addToToc): adjust for lyx::toc
2649 2003-07-27 José Matos <jamatos@fep.up.pt>
2651 * insetnote.h (linuxdoc,docbook): update support.
2653 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * insetfloat.C (wide): add a space to label, for consistency
2657 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2659 * insettext.C (nextChange): adjust for lyx::find
2660 (searchForward): ditto
2661 (searchBackward): ditto
2663 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2665 * insetgraphicsParams.C:
2666 * insetexternal.C: declare extern displayTranslator
2669 * renderers.C: add #include "support/LAssert.h"
2671 2003-07-27 José Matos <jamatos@fep.up.pt>
2673 * insetfloat.[Ch] (linuxdoc):
2674 * insetgraphics.C (linuxdoc):
2675 * insettabular.C (linuxdoc):
2676 * insettext.[Ch] (linuxdoc): add support for tables and figures
2679 2003-07-27 José Matos <jamatos@fep.up.pt>
2681 * insetinclude (latex): comply with makeLaTeXFile argument change.
2683 2003-07-26 Asger Alstrup <alstrup@local>
2685 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2686 the undo crashes. We'll see what problems other places this will
2689 2003-07-26 Angus Leeming <leeming@lyx.org>
2691 * insetgraphics.C: remove unused declaration of system_tempdir.
2693 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * rename Inset to InsetOld
2697 * all inset files (clone): return a auto_ptr<InsetBase>
2699 2003-07-23 Angus Leeming <leeming@lyx.org>
2701 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2703 2003-07-23 Angus Leeming <leeming@lyx.org>
2705 * mailinset.[Ch] (inset2string):
2706 * insetcommand.[Ch] (inset2string):
2707 * insetert.[Ch] (inset2string):
2708 * insetexternal.[Ch] (inset2string):
2709 * insetfloat.[Ch] (inset2string):
2710 * insetgraphics.[Ch] (inset2string):
2711 * insetinclude.[Ch] (inset2string):
2712 * insetminipage.[Ch] (inset2string):
2713 * insetnote.[Ch] (inset2string):
2714 * insettabular.[Ch] (inset2string):
2715 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2717 * insetexternal.[Ch]:
2718 * insetgraphics.[Ch]: get rid of the view() function. Associated
2719 changes to the mailers' string2params and params2string functions.
2721 2003-07-23 Angus Leeming <leeming@lyx.org>
2723 * insetexternal.[Ch]: store the external file name in a FileName
2724 member variable rather than a string + associated changes.
2726 2003-07-21 Angus Leeming <leeming@lyx.org>
2728 * insetgraphicsParams.[Ch]: store the graphics file name in
2729 a FileName member variable rather than a string.
2731 * insetgraphics.[Ch]:
2732 * insetgraphicsParams.[Ch]: Associated changes.
2734 2003-07-21 Angus Leeming <leeming@lyx.org>
2736 * insetgraphics.[Ch] (string2params, params2string): passed a
2737 buffer_path argument.
2740 2003-07-21 Angus Leeming <leeming@lyx.org>
2743 * insetgraphicsParams.[Ch]:
2745 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2747 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2749 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2751 2003-07-18 André Pönitz <poenitz@gmx.net>
2754 * insetminipage.[Ch]:
2755 * insettabular.[Ch]:
2758 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2760 2003-07-18 André Pönitz <poenitz@gmx.net>
2764 * insetcollapsable.C:
2768 * insetgraphics.[Ch]:
2769 * insetlatexaccent.[Ch]:
2774 * insetspecialchar.C:
2775 * insettabular.[Ch]:
2777 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2779 2003-07-17 André Pönitz <poenitz@gmx.net>
2781 * insetcollapsable.C:
2783 * insettext.C: don't call Inset::update() anymore
2786 * insettabular.[Ch]: remove unneeded in_update_ members
2788 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2790 2003-07-16 André Pönitz <poenitz@gmx.net>
2792 * insettext.C (selectAll): remove
2794 2003-07-16 John Levon <levon@movementarian.org>
2797 * insetnote.C: implement showInsetDialog()
2799 2003-07-15 André Pönitz <poenitz@gmx.net>
2802 * insettext.C: refresh_status tristate -> need_update bool
2804 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2806 * insettext.C: adjust call to LyXText::init
2808 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2810 * insettext.C: use bufferview_funcs->replaceSelection()
2811 to delete selections in some cases (bugs 441, 673, 702, 954).
2813 2003-07-14 André Pönitz <poenitz@gmx.net>
2815 * insettext.C (draw): use slimmed down rowpainter interface
2817 2003-07-14 André Pönitz <poenitz@gmx.net>
2819 * insetcollapsable.C:
2821 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2822 remove unused BufferView * argument
2824 2003-07-14 André Pönitz <poenitz@gmx.net>
2826 * insettext.[Ch]: used cached metrics a bit more
2828 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2830 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2832 2003-07-10 André Pönitz <poenitz@gmx.net>
2835 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2837 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * introduce namespace lyx::graphics
2841 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * introduce namespace lyx::support
2845 2003-06-30 André Pönitz <poenitz@gmx.net>
2847 * insetcite.C (localDispatch): fix case of missing return value
2849 * insetcite.C (ascii): remove unneeded temporary
2851 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * insetspace.h: fix \file
2855 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2856 * insetinclude.C (fillWithBibKeys): ditto
2858 * insetbibitem.C: fix type const order
2860 * inset.C (getLyXText): add varname for arg
2862 * ExternalTemplate.h: fix type const order
2864 2003-06-27 André Pönitz <poenitz@gmx.net>
2866 * insettext.C: take care of removed LyXCursor::row_ member
2868 * insettext.[Ch]: use new TextCursor struct for sstate
2870 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2872 * inseterror.[Ch]: removed
2874 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2876 * insetinclude.C (docbook): use parseError instead of sgmlError
2878 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2880 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2881 of BufferList::loadLyXFile
2883 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * insettext.C (update): simplify
2886 (updateLocal): remove commented code
2887 (insetUnlock): simplify
2888 (lockInset): simplify
2889 (updateInsetInInset): simplify
2890 (localDispatch): simplify
2892 (resizeLyXText): simplify
2893 (collapseParagraphs): simplify
2895 * insetert.C (get_new_label): simplify
2897 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2899 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2900 pasteSelection with index
2902 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2906 2003-06-16 André Pönitz <poenitz@gmx.net>
2908 * insetbase.h: new virtual base function clone()
2910 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2911 Inset * clone() -> InsetBase * clone()
2913 2003-06-13 André Pönitz <poenitz@gmx.net>
2915 * insettabular.[Ch]: make tabular a proper member
2917 2003-06-12 André Pönitz <poenitz@gmx.net>
2919 * insettabular.[Ch]: some renaming plus whitespace
2921 2003-06-11 Angus Leeming <leeming@lyx.org>
2923 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2926 * insetbutton.[Ch]: removed.
2927 * graphicinset.[Ch]: renamed as renderers.[Ch].
2929 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2930 Create a new class ButtonRenderer using the InsetButton::metrics() and
2932 Derive both from a common RenderedInset base class.
2934 * insetcommand.[Ch]:
2935 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2936 Give it a ButtonRenderer member variable. Use it.
2937 Give the classes working copy c-tors.
2938 No longer derive from boost::noncopyable.
2940 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2941 display its contents as a button or as a graphic.
2943 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2946 2003-06-11 Angus Leeming <leeming@lyx.org>
2948 * insetcite.C (localDispatch): reformat.
2950 * insetref.C (localDispatch): enable dialog to be lauched.
2952 2003-06-11 John Levon <levon@movementarian.org>
2954 * insettabular.C: correctly mark all cells as erased
2956 2003-06-11 Angus Leeming <leeming@lyx.org>
2958 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2959 ExternalTemplate but its name, templatename. This means that a file
2960 containing a reference to an External Template not installed on the
2961 current machine will be saved retaining this info rather than inserting
2962 the first "valid" template from the list of templates.
2964 As a by product, the visual statement that the Template is missing is
2967 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2969 * insettext.C (appendParagraphs): remove some commented code.
2971 2003-06-10 Angus Leeming <leeming@lyx.org>
2973 * graphicinset.[Ch] (view): removed the publicly accessible
2974 function to set the cache.
2976 * insetexternal.[Ch]: move tempname_ into the Params struct.
2977 (Params d-tor): new function, to clean-up this temp file.
2978 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2980 (editExternal, doSubstitution): move out of class.
2982 2003-06-10 Angus Leeming <leeming@lyx.org>
2984 * graphicinset.[Ch] (params): removed.
2985 * graphicinset.h (operator=): declared private but not defined.
2986 (statusMessage): made private.
2988 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2990 2003-06-07 John Levon <levon@movementarian.org>
2992 * insetert.C (latex): make a newline mean just that not
2995 2003-06-07 José Matos <jamatos@fep.up.pt>
2997 * insethfill.[Ch] (linuxdoc, docbook): implement output
2998 * insetspace.C (linuxdoc, docbook): remove coments as the code
3001 2003-06-06 José Matos <jamatos@fep.up.pt>
3003 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3005 2003-06-06 André Pönitz <poenitz@gmx.net>
3007 * insetwrap.[Ch]: code compactification
3009 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3011 * mailinset.C (updateDialog): use Dialogs::visible
3013 2003-06-04 Angus Leeming <leeming@lyx.org>
3015 * graphicinset.C (draw): add a comment for the #if 0 block.
3017 * insetexternal.h: remove Params::parameters variable.
3019 * insetexternal.C (read, write): rewrite to output new ExternalInset
3020 format and read it back making full use of LyXLex.
3022 2003-06-04 André Pönitz <poenitz@gmx.net>
3024 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3026 2003-06-04 John Levon <levon@movementarian.org>
3028 * insettabular.C: back out tall table speed up. It was broken
3030 2003-06-03 Angus Leeming <leeming@lyx.org>
3032 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3033 Remove ViewCommand and UpdateCommand.
3035 * graphicinset.C (update): bug fix. Set the params before calling the
3038 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3039 the BufferView cache to enable the InsetExternal::editCommand to
3040 be invoked from the frontends. Would not be needed if this were
3041 dispatched properly.
3042 (old_ascent_): variable removed.
3044 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3045 do any necessary conversions of external material. Also use the
3046 new GraphicsInset to display the inset within LyX.
3048 2003-06-03 Angus Leeming <leeming@lyx.org>
3050 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3051 and move it somewhere where InsetExternal can use it too.
3053 * Makefile.am: add the new files.
3055 * insetgraphics.[Ch]: make use of the new GraphicInset.
3057 2003-06-03 John Levon <levon@movementarian.org>
3060 * insetbibitem.[Ch]:
3063 * insetcommand.[Ch]:
3067 * insetexternal.[Ch]:
3071 * insetgraphics.[Ch]:
3073 * insetinclude.[Ch]:
3076 * insetlatexaccent.[Ch]:
3077 * insetmarginal.[Ch]:
3078 * insetminipage.[Ch]:
3085 * insetspecialchar.[Ch]:
3086 * insettabular.[Ch]:
3088 * insetthereom.[Ch]:
3091 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3093 * insetgraphics.[Ch]:
3094 * insetgraphicsParams.[Ch]: always store an absolute
3097 2003-06-02 André Pönitz <poenitz@gmx.net>
3101 * insetlatexaccent.C: remove duplicated call to metrics()
3103 2003-06-02 John Levon <levon@movementarian.org>
3105 * insettabular.C: fix resize of column width
3107 2003-06-02 John Levon <levon@movementarian.org>
3112 * insetparent.C: remove insetparent
3114 2003-06-02 André Pönitz <poenitz@gmx.net>
3121 * insetcollapsable.[Ch]:
3125 * insetgraphics.[Ch]:
3126 * insetinclude.[Ch]:
3127 * insetlatexaccent.[Ch]:
3128 * insetminipage.[Ch]:
3129 * insetnewline.[Ch]:
3132 * insetspecialchar.[Ch]:
3133 * insettabular.[Ch]:
3134 * insettext.[Ch]: unify first drawing phase
3137 * insetbase.h: move validate() to the base
3139 2003-05-31 Angus Leeming <leeming@lyx.org>
3141 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3143 2003-05-30 André Pönitz <poenitz@gmx.net>
3148 * insetcaption.[Ch]:
3149 * insetcollapsable.[Ch]:
3152 * insetgraphics.[Ch]:
3153 * insetinclude.[Ch]:
3154 * insetlatexaccent.[Ch]:
3155 * insetnewline.[Ch]:
3158 * insetspecialchar.[Ch]:
3159 * insettabular.[Ch]:
3161 * updatableinset.[Ch]: unify second drawing phase
3163 2003-05-30 John Levon <levon@movementarian.org>
3165 * insetgraphics.C: fix a bformat
3167 2003-05-29 John Levon <levon@movementarian.org>
3169 * insettabular.C: remove unused bufferOwner()
3171 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * insettext.C (lockInsetInInset): adjust
3174 (getLabelList): use const_iterator, adjust
3175 (getInsetFromID): use const_iterator, adjust
3176 (addPreview): use const_iterator, adjust
3178 * insetwrap.C (clone): remove const_cast
3180 * insetnote.C (clone): remove const_cast
3182 * insetminipage.C (clone): remove const_cast
3184 * insetmarginal.C (clone): remove const_cast
3186 * insetfoot.C (clone): remove const_cast
3188 * insetfloat.C (clone): remove const_cast
3190 * insetert.C (clone): remove const_cast
3192 * delete commented same_id functions from a lot of files.
3194 2003-05-28 John Levon <levon@movementarian.org>
3200 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3202 * insetminipage.C: fix metrics (bug 1144)
3204 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3206 * insettext.C (saveLyXTextState): adjust
3207 (restoreLyXTextState): adjust
3210 (unlockInsetInInset): adjust
3211 (localDispatch): adjust
3212 (getLyXText): adjust
3214 * insettabular.C (insertAsciiString): adjust
3216 2003-05-27 André Pönitz <poenitz@gmx.net>
3219 * insetcollapsable.C:
3222 * insetlatexaccent.C:
3227 * insetspecialchar.C:
3229 * insettext.C: dim.w -> dim.wid
3231 2003-05-26 John Levon <levon@movementarian.org>
3233 * insettabular.C: avoid drawing all of a long table
3234 if it's not needed. A big speedup
3236 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * remove same_id from function signatures, adjust
3240 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * insettext.C (InsetText): adjust
3244 (setParagraphData): separate same_id cases, adjust
3245 (appendParagraphs): adjust
3246 (appendParagraphs): adjust
3248 2003-05-23 André Pönitz <poenitz@gmx.net>
3250 * insetbutton.h: whitespace
3252 * insettabular.C: more compact code
3254 * updatableinset.C: remove const_cast
3257 2003-05-23 Angus Leeming <leeming@lyx.org>
3259 * insetexternal.C (write): check how many lines are output.
3260 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3261 if the template has defined it.
3263 2003-05-23 Angus Leeming <leeming@lyx.org>
3265 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3267 2003-05-23 Angus Leeming <leeming@lyx.org>
3269 * insetfoot.C (latex):
3270 * inseturl.C (latex): rename fragile as moving_arg.
3272 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * inseterror.C (localDispatch): comment out unused var.
3276 2003-05-22 Angus Leeming <leeming@lyx.org>
3278 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3279 passed through the LatexRunParams arg.
3281 2003-05-22 Angus Leeming <leeming@lyx.org>
3283 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3284 through the LatexRunParams arg.
3286 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3287 arg rather than through a global var.
3289 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * insetspecialchar.C (dimension): use a string.
3293 2003-05-22 Angus Leeming <leeming@lyx.org>
3295 * insetbibtex.C (latex):
3296 * insetgraphics.C (latex):
3297 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3298 runparams rather than from the buffer itself.
3300 2003-05-22 Angus Leeming <leeming@lyx.org>
3302 * inset*.[Ch] (latex):
3303 passed a LatexRunParams parameter.
3305 * insetgraphics.C (latex): actually use it ;-)
3307 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3309 * insetfloat.C (addToToc): trivial compile fix
3311 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * insettext.[Ch] (paragraph): delete unused function
3315 * insetfloat.C (addToToc): parlist simplfication
3317 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3319 * insetspace.[Ch]: added (new space insets)
3321 * inset.h: handle new space insets
3323 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * insetfloat.C (addToToc): adjust
3327 2003-05-21 André Pönitz <poenitz@gmx.net>
3329 * insettext.[Ch]: fix drawing bug introduced earlier
3331 2003-05-19 André Pönitz <poenitz@gmx.net>
3333 * insetspecialchar.C: fix bug introduced yesterday
3335 2003-05-19 André Pönitz <poenitz@gmx.net>
3339 * insetcollapsable.[Ch]:
3343 * insetgraphics.[Ch]:
3344 * insetgraphicsParams.[Ch]:
3345 * insetlatexaccent.[Ch]:
3346 * insetminipage.[Ch]:
3347 * insetnewline.[Ch]:
3349 * insetspecialchar.[Ch]:
3350 * insettabular.[Ch]:
3351 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3353 2003-05-19 André Pönitz <poenitz@gmx.net>
3356 * insettext.C: more insetenv
3358 2003-05-16 André Pönitz <poenitz@gmx.net>
3361 * insetminimpage.[Ch]:
3362 * insetcollapsable.[Ch]: fix #832
3364 2003-05-16 André Pönitz <poenitz@gmx.net>
3367 * insetbibitem.[Ch]:
3371 * insetcollapsable.[Ch]:
3372 * insetcommand.[Ch]:
3375 * insetexternal.[Ch]:
3376 * insetfloatlist.[Ch]:
3377 * insetgraphics.[Ch]:
3378 * insetinclude.[Ch]:
3381 * insetlatexaccent.[Ch]:
3384 * insettabular.[Ch]:
3388 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3390 2003-05-13 André Pönitz <poenitz@gmx.net>
3393 * insetcollapsable.C:
3397 * insetwrap.C: tostr from own header
3409 * insetwrap.C: STRCONV
3412 2003-05-12 André Pönitz <poenitz@gmx.net>
3424 * insetwwrap.C: boost::format -> bformat all over the place
3426 2003-05-05 André Pönitz <poenitz@gmx.net>
3428 * insettext.h: add missing #include <map>
3430 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * insettext.C (InsetText): parlist cleanup
3435 (insetUnlock): ditto
3437 (lockInsetInInset): ditto
3441 (searchBackward): ditto
3442 (collapseParagraphs): ditto
3444 2003-05-06 John Levon <levon@movementarian.org>
3446 * insetcaption.C: don't cast wrap inset to InsetFloat
3449 * insetfloat.C: remove unneeded type() function
3451 2003-05-05 André Pönitz <poenitz@gmx.net>
3455 * insettabular.[Ch]:
3456 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3457 replace getFirstParagraph() by getParagraphs()
3459 2003-05-03 John Levon <levon@movementarian.org>
3461 * insetcollapsable.h:
3462 * insetcollapsable.C:
3468 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3469 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3470 getCursor(). Remove explicit cursor hides.
3472 2003-05-02 André Pönitz <poenitz@gmx.net>
3474 * insettext.C: remove unneeded &*
3476 2003-04-30 John Levon <levon@movementarian.org>
3478 * insettabular.C: fix edit message
3480 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * insettext.C (setFont): do not convert iterator -> pointer
3484 * insettabular.C (localDispatch): do not convert iterator -> pointer
3486 (tabularFeatures): ditto
3488 2003-04-29 André Pönitz <poenitz@gmx.net>
3490 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3492 2003-04-28 André Pönitz <poenitz@gmx.net>
3494 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3497 2003-04-25 André Pönitz <poenitz@gmx.net>
3499 * insetenv.C: derive from InsetText instead of InsetCollapsable
3501 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insetexternal.C (string2params): dont do anything if the string
3505 * insetgraphics.C (string2params): ditto
3506 * insetcommand.C (string2params): ditto
3507 * insetert.C (string2params): ditto
3508 * insetfloat.C (string2params): ditto
3509 * insetinclude.C (string2params): ditto
3510 * insetminipage.C (string2params): ditto
3511 * insettabular.C (string2params): ditto
3512 * insetwrap.C (string2params): ditto
3514 2003-04-24 André Pönitz <poenitz@gmx.net>
3516 * insetref.C: support for eqref
3518 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * insetert.C (read): use ParagraphList::iterator.
3522 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * insetquotes.C (latex): comment some code and add warnings.
3526 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3528 * insetexternal.C (localDispatch): added a missing DISPATCHED
3530 2003-04-12 John Levon <levon@movementarian.org>
3532 * insetwrap.C (addToToc): fix a crash, conversion
3533 from while to for loop forgot to remove the explicit
3536 2003-04-10 John Levon <levon@movementarian.org>
3538 * insettabular.C (tabularFeature): make sure
3539 to update the dialog when we change something
3542 (getStatus): don't disable some lfuns (bug 939)
3544 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3546 * insettext.C (saveLyXTextState): adjust
3547 (localDispatch): adjust
3553 * insettabular.C (localDispatch): adjust
3555 (tabularFeatures): adjust
3557 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3559 * insettabular.C (searchForward,searchBackward): fix bug 782
3561 2003-04-07 John Levon <levon@movementarian.org>
3564 * insettext.C: clear status message on inset exit
3566 2003-04-03 John Levon <levon@movementarian.org>
3568 * insetcommand.C: return dispatched on DIALOG_UPDATE
3570 2003-04-02 John Levon <levon@movementarian.org>
3572 * insettabular.C: tab lfuns renamed
3574 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * insettext.C (update): move towards ParagraphList
3577 (updateLocal): ditto
3579 (insetUnlock): ditto
3581 (lockInsetInInset): ditto
3582 (updateInsetInInset): ditto
3583 (localDispatch): ditto
3586 (resizeLyXText): ditto
3587 (searchBackward): ditto
3588 (collapseParagraphs): ditto
3591 * insetwrap.C (InsetWrap): adjust
3592 (addToToc): adjust and rewrite loop
3594 * insettext.[Ch] (paragraph): delete function
3596 * insettabular.C (moveNextCell): adjust
3597 (movePrevCell): adjust
3598 (insertAsciiString): adjust
3600 * insetfloat.C (InsetFloat): adjust
3603 * insetert.C (InsetERT): adjust
3604 (write): adjust, and rewrite loop
3605 (latex): adjust, and rewrite loop
3606 (linuxdoc): adjust, and rewrite loop
3607 (docbook): adjust, and rewrite loop
3608 (localDispatch): adjust
3609 (get_new_label): adjust
3611 2003-04-01 John Levon <levon@movementarian.org>
3613 From Alfredo Braunstein
3616 * insetbutton.C: add localDispatch()
3618 * insetcommand.C: return DISPATCHED when edit() called
3620 * insettext.C: fix bug 967
3622 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * insettext.C: adjust
3626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * insettext.C (draw): adjust
3629 (crow): return a RowList::iterator not a Row*
3631 * insetminipage.C (localDispatch): adjust
3633 * insetert.C (localDispatch): adjust
3635 2003-03-31 John Levon <levon@movementarian.org>
3638 * insetgraphicsParams.C: use_gui moved to lyx_gui
3640 2003-03-31 John Levon <levon@movementarian.org>
3642 * insettext.C: Alert fix
3644 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * insettext.C (ascent): adjust for RowList
3649 (getLyXText): adjust
3650 (toggleSelection): adjust
3652 * insetminipage.C (localDispatch): adjust for RowList
3654 * insetert.C (localDispatch): adjust for RowList
3655 (getMaxWidth): adjust for RowList
3657 2003-03-29 John Levon <levon@movementarian.org>
3659 * insetert.C: Alert cleanup
3661 2003-03-29 John Levon <levon@movementarian.org>
3663 * insettabular.C: Alert fix
3665 2003-03-28 John Levon <levon@movementarian.org>
3667 * insetfloat.C: reset label on INSET_MODIFY
3669 2003-03-28 John Levon <levon@movementarian.org>
3671 * insetgraphicsParams.C: read subcaptionText as a whole line
3674 2003-03-28 John Levon <levon@movementarian.org>
3676 * insettext.C: remove unused prototypes
3678 2003-03-25 Angus Leeming <leeming@lyx.org>
3680 * insetbibitem.C (localDispatch): repaint the view after modifying
3681 a bibitem inset in case the maximum InsetBibitem width has changed.
3683 2003-03-25 John Levon <levon@movementarian.org>
3686 * insettabular.C: LyXText renamings
3688 2003-03-24 John Levon <levon@movementarian.org>
3690 * insettext.C: remove some dead code. Fix bug 972 and
3691 related by posting a repaint in updateLocal(), and making
3692 the SEL functions set SELECTION.
3694 2003-03-22 John Levon <levon@movementarian.org>
3697 * inset.C: remove no-longer-needed topx_set
3699 * insetcollapsable.h:
3700 * insetcollapsable.C: remove dead code
3703 * insetert.C: rebreak the rows when a possible
3704 change in size is made, and reset the cursor
3707 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3709 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3710 topx_set. Fix drawing errors for clearInset(). Remove
3711 some unnecessary uses of topx, which should die.
3713 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3714 is no longer needed. Replace it with an ugly hack.
3716 2003-03-20 John Levon <levon@movementarian.org>
3719 * insetcollapsable.h:
3720 * insetcollapsable.C:
3728 * insettext.C: remove spurious font parameter
3729 from update(). Fix drawing of ERT insets inside
3730 insets (bug 966). Remove unused mark_dirty from
3731 tabular's updateLocal()
3733 2003-03-19 John Levon <levon@movementarian.org>
3742 * insetwrap.C: remove unused getter/setters
3744 2003-03-19 John Levon <levon@movementarian.org>
3746 * several files: bv->updateInset() doesn't take
3747 a bool mark_dirty any more
3749 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * adjust for BufferView* arg removal from lyxtext.
3753 2003-03-17 John Levon <levon@movementarian.org>
3755 * most files: remove the "cleared" parameter
3756 to draw in favour of always clearing. Associated
3759 2003-03-16 John Levon <levon@movementarian.org>
3761 * insettext.C: remove unused s.refresh
3763 2003-03-13 Angus Leeming <leeming@lyx.org>
3765 * insettext.C (edit): replace Dialogs::updateParagraph with
3766 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3768 2003-03-13 André Pönitz <poenitz@gmx.net>
3770 * Makefile.am: insert insetenv
3772 * insethenv.[Ch]: new files, currently inactive
3774 2003-03-12 John Levon <levon@movementarian.org>
3784 * insettext.C: use new insetnewline
3786 2003-03-12 John Levon <levon@movementarian.org>
3788 * insettext.C: readToken became readParagraph
3790 2003-03-12 John Levon <levon@movementarian.org>
3792 * insettext.C: use parlist iterator for reading contents
3794 2003-03-12 John Levon <levon@movementarian.org>
3796 * insettext.C: name change to readToken()
3798 2003-03-11 André Pönitz <poenitz@gmx.net>
3800 * Makefile.am: insert insethfill
3802 * insethfill.[Ch]: new files
3804 2003-03-10 Angus Leeming <leeming@lyx.org>
3806 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3808 (hideDialog): calls the new static Dialogs::hide() method.
3810 * insetbibitem.C (edit):
3811 * insetbibtex.C (edit):
3812 * insetcite.C (edit):
3813 * insetcommand.C (localDispatch):
3814 * inseterror.C (d-tor):
3815 * insetert.C (showInsetDialog):
3816 * insetexternal.C (localDispatch, edit):
3817 * insetfloat.C (localDispatch, showInsetDialog):
3818 * insetfloatlist.C (edit):
3819 * insetgraphics.C (localDispatch, edit):
3820 * insetinclude.C (localDispatch, edit):
3821 * insetindex.C (edit):
3822 * insetlabel.C (edit):
3823 * insetminipage.C (localDispatch, showInsetDialog):
3824 * insetref.C (edit):
3825 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3826 resetPos, showInsetDialog, openLayoutDialog):
3827 * insettoc.C (edit):
3828 * inseturl.C (edit):
3829 * insetwrap.C (localDispatch, showInsetDialog):
3830 changes due to the changed MailInset interface.
3832 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3834 * insetfloat.h: Set default placement to an empty string.
3836 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3838 * insettext.C (latex): adjust call to latexParagraphs.
3840 2003-03-10 Angus Leeming <leeming@lyx.org>
3842 * mailinset.C: warn the user if the BufferView has not been cached.
3844 2003-03-10 Angus Leeming <leeming@lyx.org>
3846 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3848 * insetcommand.h (inset):
3849 * insetert.h (inset):
3850 * insetexternal.h (inset):
3851 * insetfloat.h (inset):
3852 * insetgraphics.h (inset):
3853 * insetinclude.h (inset):
3854 * insetminipage.h (inset):
3855 * insettabular.h (inset):
3856 * insetwrap.h (inset):
3857 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3859 2003-03-10 Angus Leeming <leeming@lyx.org>
3861 * insetcommand.C (string2params):
3862 * insetexternal.C (string2params):
3863 * insetfloat.C (string2params):
3864 * insetgraphics.C (string2params):
3865 * insetinclude.C (string2params):
3866 * insetminipage.C (string2params):
3867 * insettabular.C (string2params):
3868 * insetwrap.C (string2params): cure warning message about missing
3871 2003-03-09 Angus Leeming <leeming@lyx.org>
3873 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3874 it to communicate with the frontend dialogs.
3876 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3877 contents of this inset!
3879 2003-03-07 Angus Leeming <leeming@lyx.org>
3881 * inseterror.C (localDispatch): new method; calls edit() on
3884 2003-03-07 Angus Leeming <leeming@lyx.org>
3886 * insetbibitem.C (localDispatch):
3887 * insetbibtex.C (localDispatch):
3888 * insetlabel.C (localDispatch):
3889 rewrite as a switch.
3891 2003-03-07 Angus Leeming <leeming@lyx.org>
3893 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3894 it to communicate with the frontend dialogs.
3896 2003-03-07 Angus Leeming <leeming@lyx.org>
3898 * insetexternal.C: remove operator== and operator!= for
3899 InsetExternal::Params. They were used only by the old controller
3902 2003-03-07 Angus Leeming <leeming@lyx.org>
3904 * insetcommand.C (localDispatch):
3905 * insetexternal.C (localDispatch):
3906 * insetfloat.C (localDispatch):
3907 * insetinclude.C (localDispatch):
3908 * insetminipage.C (localDispatch):
3909 * insetwrap.C (localDispatch):
3910 add LFUN_INSET_DIALOG_UPDATE to the switch.
3912 2003-03-07 Angus Leeming <leeming@lyx.org>
3914 * insetcommand.C (string2params):
3915 * insetexternal.C (string2params):
3916 * insetfloat.C (string2params):
3917 * insetinclude.C (string2params):
3918 * insetwrap.C (string2params): use LyXLeX more.
3921 * insetexternal.[Ch]:
3923 * insetinclude.[Ch]:
3924 * insetwrap.[Ch]: change Mailer::name_ to be static.
3926 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3927 it to communicate with the frontend dialogs.
3929 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3932 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3934 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * insettext.C (updateLocal): un-const function
3937 (updateLocal): adjust
3938 (collapseParagraphs): un-const function
3939 (collapseParagraphs): adjust
3941 2003-03-05 Angus Leeming <leeming@lyx.org>
3943 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3944 it to communicate with the frontend dialogs.
3946 2003-03-05 Angus Leeming <leeming@lyx.org>
3948 * insetcollapsable.C (draw): cache the BufferView.
3950 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3951 it to communicate with the frontend dialogs.
3953 2003-03-05 Angus Leeming <leeming@lyx.org>
3955 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3958 2003-03-05 Angus Leeming <leeming@lyx.org>
3960 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3962 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3963 it to communicate with the frontend dialogs.
3965 2003-03-05 Angus Leeming <leeming@lyx.org>
3967 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3968 it to communicate with the frontend dialogs.
3970 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * insettext.C (collapseParagraphs): adjust
3973 (appendParagraphs): make it take a Buffer* instead of a
3974 BufferParams& as arg.
3975 (appendParagraphs): adjust
3977 2003-03-04 Angus Leeming <leeming@lyx.org>
3979 * insetbibitem.C (localDispatch):
3980 * insetbibtex.C (localDispatch):
3981 * insetcommand.C (localDispatch):
3982 * insetert.C (localDispatch):
3983 * insetlabel.C (localDispatch):
3984 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3986 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * insettext.C (latex): adjust for ParagraphList::iterator
3990 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * insetbutton.C (view): adjust for boost 1.30.0
3993 * insetcollapsable.C (view): ditto
3994 * insetgraphics.C (statusChanged): ditto
3996 * insettext.h: move paragraphs to be public.
3998 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * insetnote.[Ch] (InsetNote): remove unused constructor
4002 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4004 * insetgraphics.C: added include "format.h"
4006 2003-02-27 Angus Leeming <leeming@lyx.org>
4008 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4011 2003-02-27 Angus Leeming <leeming@lyx.org>
4013 * insetbibitem.C (localDispatch):
4014 * insetbibtex.C (localDispatch):
4017 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4019 2003-02-26 Angus Leeming <leeming@lyx.org>
4021 * insetbibitem.[Ch] (localDispatch):
4022 * insetbibtex.[Ch] (localDispatch):
4023 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4025 * insetcommand.C (localDispatch):
4026 act only on receipt of LFUN_XYZ_APPLY.
4028 * insetert.C (localDispatch): reformat.
4029 add LFUN_XYZ_APPLY to the switch.
4031 2003-02-26 John Levon <levon@movementarian.org>
4033 * insettext.C: use RowPainter
4035 * inset.h: make helpers take const *
4037 2003-02-26 Angus Leeming <leeming@lyx.org>
4039 * insetcommand.[Ch] (localDispatch): new method.
4041 2003-02-26 Angus Leeming <leeming@lyx.org>
4043 * insetinclude.C (draw): cache the BufferView* using cache not
4044 PreviewImpl::setView
4046 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4048 * insetgraphics.C (draw)
4049 * insetinclude.C (draw): Eliminate also the other argument (owner
4050 inset inset) in the call to PreviewImage::image
4052 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4054 * insetgraphics.C (draw)
4055 * insetinclude.C (draw): Eliminate Buferview argument in call to
4058 2003-02-25 John Levon <levon@movementarian.org>
4060 * insetgraphicsParams.h:
4061 * insetgraphics.C: don't start a load process if
4062 the inset is set to NoDisplay (bug #920)
4064 2003-02-22 John Levon <levon@movementarian.org>
4067 * insetwrap.C: TocItem changed API (bug 913)
4069 2003-02-21 Angus Leeming <leeming@lyx.org>
4071 * insetcollapsable.[Ch] (cache, edit):
4072 * insetbutton.[Ch] (cache, edit): new methods to cache the
4073 BufferView in the draw method.
4075 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4076 simplify comunication between InsetCommand-derived classes and
4079 * insetbibitem.[Ch]:
4083 * insetfloatlist.[Ch]:
4087 * inseturl.[Ch]: small changes to reflect the new interface to the
4090 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4091 other, similar classes.
4093 * Makefile.am: add new files.
4095 2003-02-21 Angus Leeming <leeming@lyx.org>
4097 * updatableinset.h (setView, view): remove.
4098 * inset.h (view, cache): to be replaced by these.
4100 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4103 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4106 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4108 2003-02-21 Allan Rae <rae@lyx.org>
4110 * insetinclude.C (loadIfNeeded): ensure loading also works when
4111 child document is under version control.
4113 2003-02-17 André Pönitz <poenitz@gmx.net>
4115 * insetbib.[Ch]: Adjust access to bibkeys
4117 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4119 * insetquotes.C (dispString): remove use of acute accent for "'"
4122 2003-02-14 John Levon <levon@movementarian.org>
4124 * insettabular.C: changed method names in tabular.C
4126 2003-02-14 John Levon <levon@movementarian.org>
4130 * insetcollapsable.h:
4131 * insetcollapsable.C:
4135 * insettext.C: remove unused getParFromID()
4137 2003-02-13 John Levon <levon@movementarian.org>
4140 * insettext.C: remove unused beginningofMainBody()
4142 2003-02-08 John Levon <levon@movementarian.org>
4146 * insetcollapsable.h:
4147 * insetcollapsable.C:
4152 add nextChange(). Make allowSpellcheck() const. Add markErased().
4154 * insetert.C: ignore deleted text
4156 * insettabular.C: make sure to keep change tracking working
4159 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4164 * insettext.C: Use error messages with identical spelling and
4167 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4169 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4171 2002-12-17 Juergen Vigna <jug@lyx.org>
4173 * insettext.C (localDispatch): hopefully fixed cursor up down
4174 movement on leaving other insets.
4176 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4178 * insettext.C: fix inconsistent usage of spaces, colons,
4179 capitalization, and the like.
4181 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4183 * insetgraphics.C (prepareFile): do not remove the extension of
4184 the file name if it is not the default extension for the given
4185 format (that is, in latex output, remove extension from foo.eps,
4186 but not from foo.epsi)
4188 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4190 * insettext.C (lfunMouseRelease): hackish solution to the "double
4193 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * insetfloat.C (addToToc): use the floats name not its type
4196 * insetwrap.C (addToToc): ditto
4198 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4200 * insetnote.C (init): make label font smaller
4202 2002-12-04 John Levon <levon@movementarian.org>
4204 * insetinclude.C: ressurect setting of command name
4206 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * insetquotes.C (dispString): disambiguate insert call
4210 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * several files: ws changes
4214 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * insetquotes.C (dispString): use string::insert for prepending a
4219 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4221 * insetparent.C (getScreenLabel): use boost::format
4223 * insetgraphics.C (prepareFile): use boost::format
4226 * insetfloatlist.C (latex): use boost::format
4228 * insetcaption.C (draw): use boost::format
4230 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4232 * insettabular.C (tabularFeatures): Support for block alignment in
4233 fixed width columns.
4235 2002-11-20 Juergen Vigna <jug@sad.it>
4237 * insettabular.C (resetPos): temporary fix for endless loop in
4238 this function on a redraw.
4240 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * insettabular.C (copySelection): STRCONV
4244 * insetinclude.C (uniqueID): STRCONV
4245 (latexString): ditto
4247 * insetgraphics.C: put VersionNumber inside anon namespace
4248 (createLatexOptions): STRCONV
4250 * insetcommandparams.C: include config.h
4252 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4254 * insetgraphicsParams.C (Write): use lyx::float_equal.
4255 Write height data correctly.
4256 (Read): zero scale when reading height data.
4258 2002-10-30 John Levon <levon@movementarian.org>
4260 * insetfloat.C (addToTOC): recursively traverse all
4261 contents looking for captions (fix #568)
4263 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4265 * insetexternal.C (doSubstitution): do not try to replace
4266 environment variables, this is done when executing the command
4268 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4270 * insetexternal.C (doSubstitution): change order of substitution
4271 to work around ReplaceEnvironmentPath brokenness
4273 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4275 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4277 * insetgraphicsParams.C (init, Write): associated changes
4278 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4279 InsetGraphicsParams::scale.
4281 2002-10-21 John Levon <levon@movementarian.org>
4283 * inset.h: remove unused DISPATCH_RESULT
4285 * insettext.C: sgml open/close tag now in sgml namespace
4287 2002-10-21 Angus Leeming <leeming@lyx.org>
4289 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4290 file path subdir/fig.eps when pasting it into a buffer in a different
4293 2002-10-16 John Levon <levon@movementarian.org>
4295 * insetspecialchar.C: remove \\protected_separator parsing
4297 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4299 * insetquote.C: fix LaTeX output of quotation marks.
4301 2002-10-14 Juergen Vigna <jug@sad.it>
4303 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4304 Backspace functions which confused the Undo handling.
4306 2002-10-09 Angus Leeming <leeming@lyx.org>
4308 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4309 BufferView::dispatch that turns off this optimisation when a new inset
4312 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4313 reload the BibTeX keys.
4315 2002-10-11 André Pönitz <poenitz@gmx.net>
4317 * insettext.h: handle LFUN_PRIOR/NEXT
4319 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4321 * insetfloat.C: fix bug with float settings
4322 (document default != float default).
4324 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4326 * insetwrap.C (addToToc): New method.
4327 (InsetWrap): Set layout to caption.
4329 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4333 2002-09-16 John Levon <levon@movementarian.org>
4335 * insettabular.h: hasSelection() needs to be public
4337 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4339 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4341 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4343 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4345 2002-09-11 André Pönitz <poenitz@gmx.net>
4347 * insettabular.C: implement LFUN_WORDSEL
4349 2002-09-10 John Levon <levon@movementarian.org>
4351 * insetinclude.h: remove unused param
4353 2002-09-09 John Levon <levon@movementarian.org>
4356 * insetinclude.C: remove noload, default to input
4358 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4360 * insetgraphics.C: disfuscated use of ']' in built output string.
4362 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4366 2002-08-29 Juergen Vigna <jug@sad.it>
4368 * insettabular.C (lfunMousePress): Pay attention where you set
4369 the x/y values as they depend on which inset in the tabular is
4370 actually locked. So you surely have to reset them if you (un)lock
4373 2002-08-29 André Pönitz <poenitz@gmx.net>
4375 * insetfootlike.h: rename include guard to ALL CAPS
4377 * insettext.C: swap object and first parameter for checkInsetHit calls
4378 as this functions has moved from BufferView to LyXText
4381 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4383 * insetgraphicsParams.C: remove local displayTranslator and use
4384 the one from graphics/GraphicsTypes.h.
4386 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * insetfloat.C (wide): add BufferParams parameter
4390 * insetfloatlist.C (read):
4393 * insetfloat.C (latex):
4395 * insetcaption.C (draw): use LyXTextClass::floats()
4397 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4399 * insetoptarg.h: add std:: qualifier.
4401 2002-08-26 Juergen Vigna <jug@sad.it>
4403 * insettext.C (localDispatch): ditto.
4405 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4407 2002-08-25 John Levon <levon@movementarian.org>
4409 * inseturl.C: elide long URLs (bug 404)
4411 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4413 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4414 remove "Format Version <version_no.>" string from inset header
4417 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4419 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4420 a member of "grfx::Params" anymore.
4422 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4424 2002-08-24 John Levon <levon@movementarian.org>
4427 * insetoptarg.C: ws, pedantry ...
4429 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4431 * insettext.C (collapseParagraphs): pasteParagraph now in global
4433 (appendParagraphs): ditto
4435 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4437 * insetcite.C (latex): Remove spaces only after commmas.
4439 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * insettext.C: remove NO_COMPABILITY stuff
4443 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * insettext.C (edit): use ParagraphList iterators
4447 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4448 (bibitemWidest): ditto
4450 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * insettext.C: include <boost/bind.hpp>
4453 add using std::for_each
4454 (saveLyXTextState): use ParagraphsList::iterator
4455 (init): use for_each on paragraphlist iterators
4456 (InsetText): remove superflous setting cached_bview to 0
4457 (latex): reformat a bit
4458 (ascii): use paragraphlist iterators
4459 (validate): use for_each + boost bind
4460 (getLabelList): use paragraphlist iterators
4461 (deleteLyXText): use for_each + boost::bind
4462 (resizeLyXText): ditto
4463 (reinitLyXText): ditto
4464 (removeNewlines): use paragraphlist iterators
4465 (getParFromID): ditto
4466 (paragraph): use for_each + boost::bind
4467 (getInsetFromID): use paragraphlist iterators
4468 (getLabelList): typo fix
4470 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * insettext.C (read): assign tmp to paragraphs after return from
4473 call to parseSingleLyXformat2Token
4476 2002-08-13 Angus Leeming <leeming@lyx.org>
4494 * inseturl.C: changes due to the changed LyXView interface that
4495 now returns references to member variables not pointers.
4497 2002-08-13 Angus Leeming <leeming@lyx.org>
4500 * insetcollapsable.h:
4503 * insettext.h: forward-declare WordLangTuple
4504 (selectNextWordToSpellcheck) constify return type.
4507 * insetcollapsable.C:
4510 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4512 2002-08-12 Angus Leeming <leeming@lyx.org>
4514 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4517 2002-08-12 Juergen Vigna <jug@sad.it>
4519 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4522 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4525 (bibitemWidest): ditto
4526 * insettext.[Ch]: ditto
4528 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4532 2002-08-09 Angus Leeming <leeming@lyx.org>
4534 * insetinclude.C (latexString): remove fudge now that I've found out
4535 how to enable LaTeX to find the file using input@path.
4537 2002-08-09 John Levon <levon@movementarian.org>
4540 * insettext.C: remove unused xpos
4542 2002-08-07 Juergen Vigna <jug@lyx.org>
4544 * insettabular.C (localDispatch): make delete not put the stuff
4545 in the clipboard only do this on a cut operation.
4547 * insettext.C (localDispatch): make delete and backspace not put
4548 selected stuff to the clipboard.
4550 2002-08-07 André Pönitz <poenitz@gmx.net>
4553 * insetcollapsable.[Ch]:
4557 * insettabular.[Ch]:
4558 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4560 2002-08-06 John Levon <levon@movementarian.org>
4564 * insetcollapsable.h:
4565 * insetcollapsable.C:
4571 * insettext.C: use WordLangTuple for spellcheck
4573 2002-08-06 Angus Leeming <leeming@lyx.org>
4575 * insetinclude.C: add a monitor to the previewed image, so that the
4576 image is refreshed if the \input-ed file changes.
4578 2002-08-04 John Levon <levon@movementarian.org>
4581 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4583 2002-08-02 Angus Leeming <leeming@lyx.org>
4585 * insetcommandparams.[Ch] (preview): new methods returning and setting
4586 a new bool preview_ flag.
4587 (read): read this flag.
4588 (operator==): add flag to check.
4590 * insetinclude.C (write): output new preview() flag.
4591 (previewWanted): use this flag.
4593 2002-08-02 Angus Leeming <leeming@lyx.org>
4595 * insetcollapsable.[Ch] (addPreview):
4596 * insettabular.[Ch] (addPreview):
4597 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4598 for insets in insets.
4600 2002-08-02 Angus Leeming <leeming@lyx.org>
4602 * insetcite.C: fix typo.
4604 * insetgraphics.C: kill current_view and instead cache the BufferView
4607 * insetinclude.C: kill current_view and pass the BufferView to the
4608 PreviewedInset so that it can cache it.
4610 2002-08-01 Angus Leeming <leeming@lyx.org>
4612 * inset.h (generatePreview): renamed as addPreview.
4613 (generatePreview): new method. Allows code to be moved out of
4614 math_nestinset.C and into the new PreviewedInset class.
4616 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4617 add previews to the inset when \input-ing LaTeX.
4619 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * several files: strip,frontStrip -> trim,ltrim,rtrim
4623 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * insetbib.C (latex): modify because of strip changes
4627 * insetnote.C (InsetNote): ditto
4629 2002-07-26 Juergen Vigna <jug@sad.it>
4631 * insettabular.C (searchForward): check for lastcell if we
4632 had a locking inset.
4634 2002-07-25 Juergen Vigna <jug@sad.it>
4636 * insettabular.C (insetMotionNotify): Don't update the screen
4637 if we didn't do nothing.
4638 (searchForward): last cell was not checked.
4640 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4642 * insetfloat.C (read, write): Allow default placement
4643 (floatPlacement_ is empty).
4645 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4647 * insetminipage.h (noFontChange):
4648 * insettabular.h (noFontChange):
4649 * insetfootlike.h (noFontChange):
4650 * insetfloat.h (noFontChange): return true
4652 * inset.h (noFontChange): new method, defaulting to false
4654 2002-07-22 Herbert Voss <voss@lyx.org>
4656 * insetgraphicsParams.[Ch]: support size_type for old docs
4658 2002-07-22 Herbert Voss <voss@lyx.org>
4661 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4664 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4668 * insetlatexaccent.h: do not include "lyxlex.h"
4670 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4673 * insetlatexaccent.C:
4677 * insetbib.C: #include "lyxlex.h"
4683 * insettext.C: use BufferParams::getLyXTextClass
4686 * insetfloat.C (addToToc): new method. Add to toclist the entries
4687 corresponding to Caption layouts
4688 (InsetFloat): when creating a new float, set the layout to "Caption"
4690 2002-07-21 Herbert Voss <voss@lyx.org>
4692 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4693 image relevant part into graphics/GraphicsImgae.C
4695 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * insettoc.C (ascii):
4698 * insetfloatlist.C (ascii): change to use the new Toc functions
4699 instead of stuff that was in Buffer
4701 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4703 * insettext.C (localDispatch): BufferView::Dispatch has been
4704 renamed to BufferView::dispatch
4706 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4708 * insetgraphicsParams.C (as_grfxParams): use the new
4709 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4710 1.2.0 patch, and I do not really know how to adapt it to the new
4711 grfx::Cache world. Angus, please could you have a look?
4713 2002-05-01 Herbert Voss <voss@lyx.org>
4715 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4717 2002-07-18 Angus Leeming <leeming@lyx.org>
4719 * insetgraphics.C: clean-up comments (from Herbert).
4720 add a new checksum variable to the cache. Use it in PrepareFile.
4721 (draw): start monitoring the file for a change.
4722 (prepareFile): re-arrange a little to avoid unnecessary steps.
4724 2002-07-17 Angus Leeming <leeming@lyx.org>
4726 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4727 a method rather than to the signal directly.
4729 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4731 * insettext.C: use view_state_changed, switchKeyMap
4733 2002-07-17 Herbert Voss <voss@perce.de>
4735 * insetgraphics.C (prepareFile): keep the extension when
4736 exporting to nice file
4738 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4740 * insetcite.C (getNatbibLabel):
4741 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4743 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4745 * insetgraphics.C: use ->isDrawable()
4747 2002-07-12 Angus Leeming <leeming@lyx.org>
4749 * insetgraphics.C: use the new smart loading capabilities of the image
4752 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4754 * insettabular.C (edit): Move into correct cell when entering a
4757 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4760 2002-07-05 Angus Leeming <leeming@lyx.org>
4762 * inset.h (generatePreview): new virtual method.
4764 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4766 * insetcommandparams.[Ch] (operator=): move out of class
4767 (operator!): move out of class
4769 2002-07-04 André Pönitz <poenitz@gmx.net>
4771 * insetcommandparams.[Ch]: new files
4773 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4775 2002-06-15 Herbert Voss <voss@perce.de>
4777 * insetgraphics.C (prepareFile): bugfix; return always
4778 files without extension
4780 2002-06-28 Angus Leeming <leeming@lyx.org>
4782 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4783 rename asGParams -> as_grfxParams.
4785 * insetgraphics.C: reflect above change.
4787 2002-06-26 Angus Leeming <leeming@lyx.org>
4789 * insetgraphics.h: use boost::scoped_ptr in preference to
4792 2002-06-26 Angus Leeming <leeming@lyx.org>
4794 * insetgraphics.C: moved the image loading stuff into a new class
4795 grfx::Loader. Simplifies this file enormously.
4797 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4799 * insetgraphicsParams.C: changes aassociated with moving
4800 grfx::DisplayType out of grfx::GParams.
4802 2002-06-26 André Pönitz <poenitz@gmx.net>
4804 * insetgraphics.C: use os::external_path where necesaary according to a
4805 patch from Claus Hentschel)
4807 2002-06-25 Angus Leeming <leeming@lyx.org>
4809 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4810 generating a pixmap once the graphics file is loaded into memory.
4811 The current_view ugliness that was in grfx::ModifiedImage has been
4812 moved here now that grfx::ModifiedImage is no more.
4814 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4816 * insettext.C: layout as layout
4818 2002-05-28 André Pönitz <poenitz@gmx.net>
4820 * insetfloatlist.h: remove source of compiler warning
4822 * insetref.C: tiny whitespace
4824 2002-06-15 Herbert Voss <voss@perce.de>
4826 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4827 and take always convert when no userdefined converter was
4829 (latex) small changes in the lyxerr output
4831 2002-06-15 LyX Development team <lyx@rilke>
4833 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4834 mixed content. Small white spaces clean.
4836 2002-06-14 Angus Leeming <leeming@lyx.org>
4838 * inseetexternal.C: remove the using std::difftime declaration.
4840 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4842 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4844 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4846 * insetquotes.C (draw): fix drawing of double quotes
4848 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4850 * insettabular.C: s/scrollCB/scrollDocView/
4852 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4854 * insettext.C: change of topCursorVisible()
4857 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4860 * insettext.C: rename/change of LyXScreen
4862 2002-06-07 Angus Leeming <leeming@lyx.org>
4864 Fixes needed to compile with Compaq cxx 6.5.
4866 * insetexternal.C: all c-library variables have been moved into
4867 namespace std. Wrap using std::xyz declarations inside a #ifndef
4868 CXX_GLOBAL_CSTD block.
4870 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4872 * insetinclude.C (uniqueID):
4873 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4874 conflicted with some AIX headers.
4876 2002-05-31 Juergen Vigna <jug@sad.it>
4878 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4882 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4884 * insetexternal.C (clone): fix () bug when using new
4885 (updateExternal): don't only look for difftime in global scope
4887 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4889 * insettabular.C: add const
4891 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4894 file name, in case there are weird characters like ',' in there.
4897 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4899 * switch from SigC signals to boost::signals.
4901 2002-05-28 André Pönitz <poenitz@gmx.net>
4903 * insets/insetgraphicsParams.[Ch]:
4904 put in inset related stuff from src/graphic
4906 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4914 * insetcollapsable.C:
4915 * insetcollapsable.h:
4943 * inseturl.h: use mouse_state. Kill insetKeyPress
4945 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4950 * insetcollapsable.C:
4953 * insetlatexaccent.C:
4955 * insetspecialchar.C:
4957 * insettext.C: name change for font metrics
4959 2002-05-24 Juergen Vigna <jug@sad.it>
4961 * insetgraphics.h: include inset.h first (for LString.h)
4963 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4965 * insettext.C: screen moved
4967 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4985 * inseturl.C: LyXView moved into frontends/
4987 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4992 * insetcollapsable.C:
4996 * insetgraphicsParams.C:
4997 * insetlatexaccent.C:
4999 * insetspecialchar.C:
5001 * insettext.C: move Painter to frontends/
5003 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5005 * insettabular.h: use more specific smart_ptr header.
5006 * insettext.h: ditto
5008 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5011 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5013 * insettext.C: clear selection on paste (bug 393)
5015 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5017 * insettext.C (latex): Honor the moving_arg argument.
5019 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5021 * insetfoot.C (latex): if a footnote is in a title layout, then it
5022 is a \thanks. And then, its contents is a moving argument.
5024 2002-05-14 Juergen Vigna <jug@sad.it>
5026 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5029 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5031 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5032 when using options "Full author list" or "Upper case".
5034 2002-05-14 Herbert Voss <voss@perce.de>
5036 * insetgraphics.C (prepareFile): allow files with same name
5038 (readFigInset): set the flags from old figinset in the right
5040 (findTargetFormat): more comments
5042 2002-05-14 Juergen Vigna <jug@sad.it>
5044 * insettext.C (edit): tell checkAndActivateInset() that we don't
5045 have a button press.
5046 (checkAndActivateInset): if button < 0 we don't have a button press
5047 on the inset and os we won't call edit on it if it's not a Highly
5048 editable inset (then we have to enter it).
5050 2002-05-13 Juergen Vigna <jug@sad.it>
5052 * insetcollapsable.C (insetButtonRelease): returned wrong return
5055 2002-05-09 Juergen Vigna <jug@sad.it>
5057 * insetcollapsable.C (edit): first_after_edit should only be
5058 set to true if we enter this inset and it was collapsed so we
5059 open it up. This is needed to reclose it after a search/replace
5060 or spellcheck function opened it and was negative.
5062 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5064 * insetfloat.C (latex): Return correct value.
5066 2002-05-04 Herbert Voss <voss@perce.de>
5068 * InsetgraphicsParams.C (read): fix bug with WH
5070 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5072 * insetfloat.C (latex): More sensible latex output
5073 (fix the problem with endfloat).
5075 2002-05-02 José Matos <jamatos@fep.up.pt>
5077 * insetgraphics.C (validate): acess params as everyone else.
5079 2002-05-03 Juergen Vigna <jug@sad.it>
5081 * insettabular.C (fitInsetCursor): recalculate the cursor position
5084 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5086 * InsetgraphicsParams.[Ch]: whitespace.
5088 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5090 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5091 float type do not exist.
5093 2002-04-28 Herbert Voss <voss@perce.de>
5095 * insetgraphics.C (latex): fix bug with missing file-extension.
5096 LaTeX still allows a missing "eps" or "ps".
5098 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5100 * insetfloat.C (c-tor, wide): translate the name of the float.
5102 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5104 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5105 when using natbib and make it work efficiently. Must emphasise that the
5106 real work is Herbert's.
5108 2002-04-23 Herbert Voss <voss@perce.de>
5110 * insetgraphic.C (prepareFile): fix bug with overwriting and
5111 deleting an existing *.eps-file in the doc-dir
5113 2002-04-23 Juergen Vigna <jug@sad.it>
5115 * insettabular.C (drawCellSelection): fix off by 1 error.
5117 2002-04-22 Juergen Vigna <jug@sad.it>
5119 * insettabular.C (setFont): rewoke full selection if it was asked,
5120 after we changed all we had to change.
5122 * insettext.C (insetUnlock): code was uninitialized in some situations.
5124 2002-04-19 Herbert Voss <voss@perce.de>
5126 * insetgraphic.C (prepareFile): return filename without
5127 extension if we only export without compiling
5129 2002-04-19 Juergen Vigna <jug@sad.it>
5131 * insettext.C (draw): call a fullRebreak on the row where we had a
5132 change and reset the cursor and selection-cursors.
5134 * insettabular.C (insetUnlock):
5135 (insetButtonPress): call an update before setting the_locking_inset = 0
5136 as otherwise we don't repaint!
5137 (update): reset the cursor position when we changed dimensions as
5138 otherwise our cursor may be on the wrong spot.
5140 2002-04-18 Juergen Vigna <jug@sad.it>
5142 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5143 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5144 redraw otherwise we won't redraw.
5146 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5147 not really right before, but I only discovered this with the last
5148 changes to Page up/down.
5150 2002-04-17 Juergen Vigna <jug@sad.it>
5152 * insettext.C (checkAndActivateInset): simplified as we now have the
5153 edit(bv, bool) call.
5155 * insettext.h: changed behind variables to front variables to be
5156 equal to the one in the edit call (as it is for that they are used).
5158 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5160 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5161 not output anything at all!
5163 2002-04-16 Juergen Vigna <jug@sad.it>
5165 * insettabular.C (insetButtonPress):
5166 (insetUnlock): call a redraw on unlocking the cell inset.
5168 * insettext.C (insetButtonPress): same as below.
5169 (lockInset): new function to set initial values when inset should
5171 (insetButtonPress): use above function.
5172 (insetUnlock): don't force a repaint only set the updateStatus. The
5173 outside world should repaint if it thinks it should be done!
5175 * insettabular.C (insetButtonPress): init values if not set as locked
5176 as we are locked if someone presses on us and don't call the edit()
5177 call of the InsetText to lock it do it as BufferView does it!
5179 * inset.h (insetInInsetY): make func const and return an int.
5182 * insetcollapsable.C: adapt the above changed function.
5184 2002-04-15 Juergen Vigna <jug@sad.it>
5186 * insettext.C (getCursorPos): return relative position as to be able
5187 to give them directly to the edit() call.
5188 (edit): we have to set also x_fix as it is not set inside the
5189 setCursorFromCoordinates call!
5190 (insetMotionNotify): ditto.
5192 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5194 * insetbib.C (getKeys): strip leading '\t's from the line too.
5195 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5197 2002-04-12 Juergen Vigna <jug@sad.it>
5199 * insettext.h: added cix() helper function and use it where appropriate
5201 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * insetgraphics.C (prepareFile): fix bug when graphics is a
5206 2002-04-12 Juergen Vigna <jug@sad.it>
5208 * insettext.C (insertInset): remove unneeded code!
5209 (updateLocal): fitCursor() fixes.
5210 (collapseParagraphs): fix a possible problem when having a selection
5211 and collapsing the paragraphs.
5213 2002-04-08 Herbert Voss <voss@perce.de>
5215 * insetgraphic.C (write): write the rotating angle as
5216 a float as is. test only for != 0.0
5218 2002-04-11 Juergen Vigna <jug@sad.it>
5220 * insettext.C: new function ciy() and use it for setting inset_y.
5222 * insetert.C (draw): fix the x return for collapsed version.
5224 2002-04-07 Herbert Voss <voss@perce.de>
5226 * insetgraphic.C (readFigInset): fix bug with subcaption and
5229 2002-04-08 Herbert Voss <voss@lyx.org>
5231 * insetgraphicsparam.C: forgot special option and delete old
5234 2002-04-05 Juergen Vigna <jug@sad.it>
5236 * insettext.C (localDispatch): make a CURSOR update if we inserted
5239 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5241 * insetfloatlist.C (getScreenLabel):
5242 (latex): use Floating::listName
5243 (validate): new method
5245 2002-04-03 José Matos <jamatos@fep.up.pt>
5247 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5249 * insetfoot.[Ch] (docbook): added forgotten method.
5251 2002-04-03 Juergen Vigna <jug@sad.it>
5253 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5254 way as in Bufferview_pimpl.
5256 2002-04-03 Allan Rae <rae@lyx.org>
5258 * insetgraphics.C (latex): one % too many makes living on the bleeding
5259 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5261 2002-03-28 Herbert Voss <voss@lyx.org>
5263 * insetgraphic.C (latex): simplify the code for the latex
5264 output when the file doesn't exist
5266 2002-03-29 Juergen Vigna <jug@sad.it>
5268 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5271 * insettabular.C (edit): call fitCursor().
5273 * insettext.C (insetButtonPress): change behaviour of no_selection
5274 to the one in the BufferView selection_possible and fix the spurious
5275 selection bug with it.
5276 (localDispatch): revoke selection on BREAK... functions.
5278 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5280 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5282 2002-03-28 Juergen Vigna <jug@sad.it>
5284 * insettabular.C (insetAllowed): return true as default value otherwise
5285 we're not able to insert insets inside paragraphs of an not locked
5288 2002-03-27 Herbert Voss <voss@lyx.org>
5290 * insetgraphicsparam.C: change c%, p% to col%, page%
5292 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5294 * insetspecialchar.C (isLineSeparator): disable the nice code to
5295 allow linebreaks after hyphenation and menu separators.
5297 2002-03-26 Herbert Voss <voss@lyx.org>
5299 * insetgraphics.C (figinsetRead): set the right lyxview
5301 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5303 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5304 $\backslash$ and pass a "string const &" to the function.
5305 (prepareFile, latex): use Path rather than MakeAbsPath.
5307 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5309 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5310 proper fix to the graphics cache.
5311 (latex): "really" nice output if the file is not found ;-)
5313 2002-03-26 Juergen Vigna <jug@sad.it>
5315 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5316 (collapseParagraphs): fixed inserting of separator ' '
5318 * insettabular.C (insertAsciiString): only check for buffer lenght
5319 not if we have \t or \n inside the buffer as if we don't have we only
5320 have 1 cell and that's it!
5322 * insetert.C (close): don't collapse if inlined.
5324 2002-03-25 Herbert Voss <voss@lyx.org>
5326 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5327 graphics file does not exist.
5329 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5331 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5332 path when preparing export.
5334 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5335 no longer MakeRelPath.
5337 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5339 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5340 Used to determine the absolute path to the graphics file in the
5341 graphics cache and only in the graphics cache.
5342 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5343 make graphics file name absolute if it is stored as a relative path.
5345 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5346 make graphics file name absolute if it is stored as a relative path.
5348 * insettext.C (edit): emit an updateParagraph signal on entering a text
5349 inset. Needs to be emitted when leaving the inset also.
5351 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5353 * all files: ws cleanup
5355 * Makefile.am: remove ld -r stuff
5357 2002-03-21 Juergen Vigna <jug@sad.it>
5359 * insettext.C (appendParagraphs): new function added to append
5360 the paragraphs to this insets paragraphs.
5362 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5364 * Makefile.am: special rules if partial linking
5366 2002-03-19 Juergen Vigna <jug@sad.it>
5368 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5370 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5372 * insetgraphics.C: Clean up Baruch's comments a little.
5373 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5375 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5378 * insettheorem.C: wrap warnings
5380 * insetgraphics.C: improve messages, move cached_status_
5381 setting to safer place
5383 2002-03-18 Juergen Vigna <jug@sad.it>
5385 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5387 (localDispatch): ditto
5389 * insettext.C (edit): removed unneeded showCursor calls.
5390 (localDispatch): ditto.
5392 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5394 * insetgraphics.h: remove display() method.
5396 2002-03-11 Juergen Vigna <jug@sad.it>
5398 * insetgraphics.C (draw): hack to fix the redrawing bug.
5399 (draw): seems this fixes #268 (force redraw of row if we changed).
5401 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5402 this inset text (don't know why I missed this earlier).
5404 2002-03-08 Juergen Vigna <jug@sad.it>
5406 * insettabular.C (updateLocal): do a FULL update if we're not locked
5407 and only a CELL update is asked.
5409 * insettext.C (updateInsetInInset): update insets inside inset also
5410 if it isn't inside the_locking_inset.
5412 * insettabular.C (updateInsetInInset): ditto.
5414 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5416 * insetexternal.C (doSubstitution): check whether we are using a
5417 temp dir for defining $$FPath
5419 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5422 * insettext.C: remove #include "WorkArea.h".
5424 2002-03-06 Juergen Vigna <jug@sad.it>
5426 * insettext.C (draw): fixed frame redrawing.
5427 (clear): forgot to set the inset_owner of the paragraph.
5429 * insetert.C (status): pay attention the bv can be 0 here!
5430 (getMaxWidth): add the default leftMargin
5432 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5434 * insetert.C (getMaxWidth): make w unsigned int.
5436 2002-03-05 Juergen Vigna <jug@sad.it>
5438 * insetert.C (status): change behaviour of Inlined.
5439 (getMaxWidth): added for new inlined behaviour.
5441 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5443 * insetnote.h (linuxdoc, docbook): add empty methods.
5444 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5445 before being initialized.
5447 2002-03-05 Juergen Vigna <jug@sad.it>
5449 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5450 only that one in the inset. Should be enough.
5451 (updateLocal): set the selection cursor always if we don't have a
5452 selection to be sure it's set!
5454 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5456 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5458 * insettext.C (clear): a gross hack to set layout on a newly
5461 2002-03-04 Juergen Vigna <jug@sad.it>
5463 * insettabular.C (localDispatch): inserted handling of
5464 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5465 (insertAsciiString): new helper function.
5467 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5469 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5472 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5474 * insettext.C (InsetText): initalize newly created par with
5475 default layout. add bufferparams parameter
5478 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5479 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5480 * insetert.[Ch] (InsetERT): ditto
5481 * insetfloat.[Ch] (InsetFloat): ditto
5482 * insetfoot.[Ch] (InsetFoot): ditto
5483 * insetfootlike.[Ch] (InsetFootLike): ditto
5484 * insetmarginal.[Ch] (InsetMarginal): ditto
5485 * insetminipage.[Ch] (InsetMinipage): ditto
5486 * insetnote.[Ch] (InsetNote): ditto
5487 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5489 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5491 * insettext.C: layout as string
5493 * insetinclude.C: layout as string
5495 * insetert.C: layout as string
5497 * insetbib.C: layout as string
5499 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5502 * insettabular.C: remove #include "lyx_gui_misc.h".
5504 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5509 * inset.h: remove figinset, yahoo !
5511 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5513 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5514 copy c-tor and initialise member variables in the correct order.
5516 2002-02-28 Juergen Vigna <jug@sad.it>
5518 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5520 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5522 * inset.h: ... and add a better one here.
5524 * insetcommand.C (insetButtonRelease): remove that one which was a
5527 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5529 * insetcommand.C (insetButtonRelease): ... and move it here.
5531 * inseturl.h: remove insetButtonRelease from there...
5533 2002-02-26 Juergen Vigna <jug@sad.it>
5535 * inseturl.h: Added a insetButtonRelease call returning true as
5538 * insetlabel.C (edit): Fixed wrong update handling after change I
5539 leave in the wrong code for the one who wrote it to remove and have
5540 a look what he did wrong.
5542 * insettabular.C (localDispatch): force a SELECTION update if we
5543 had a selection and we passed the event down to the inset (fix #213)
5544 (localDispatch): handle font changing stuff when we have a cell
5545 selection so that the selection is not rewoked. I don't really like
5546 this fix, but it's the only way I see to do it right now.
5548 2002-02-22 Juergen Vigna <jug@sad.it>
5550 * insettext.C (insetUnlock): set the cursor to the second paragraph
5551 if available and if the first one is empty (fix #191).
5553 2002-02-20 Juergen Vigna <jug@sad.it>
5555 * insettext.C (getDrawFont): implemented this function to call the
5556 one of the owner if present as the owner normally knows what to do
5559 * insetert.C: implement getDrawFont() function and comment out all
5560 the crap for setting a special latex font inside this inset.
5561 (InsetERT): added a Lanugage parameter to this constructor.
5563 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5564 change the font for being drawn on screen (used only in InsetERT for
5567 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5568 and also above (was missing).
5569 (updateLocal): don't remove the cell selection if we have one this
5570 should be done where we really want to remove it.
5572 2002-02-20 José Matos <jamatos@fep.up.pt>
5574 * insetinclude.h: include_label made string const.
5576 * insetinclude.C (InsetInclude): moved include_label initialization.
5579 (validate): fix support for temporary directory, for docbook and
5582 * insetgraphics.h : new private member, graphic_label, that holds
5583 the entity name that defines the graphics location (SGML).
5585 * insetgraphics.C (unique_id): new function to give a unique label
5588 (validate): the file locatation is given by an entity reference.
5590 2002-02-18 Herbert Voss <voss@lyx.org>
5592 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5594 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5596 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5597 as support/systemcall.[Ch] and of class Systemcalls as class
5600 2002-02-18 José Matos <jamatos@fep.up.pt>
5602 * insetinclude.C (validate): some code only applies to latex buffers,
5603 it was made conditional.
5605 2002-02-12 Herbert Voss <voss@lyx.org>
5607 * insetgraphics.C: (prepareFile) do not check at this time
5608 if the file is present.
5610 2002-02-12 Herbert Voss <voss@lyx.org>
5612 * insetgraphics.C: latex(), return the correct newlines
5614 2002-02-13 José Matos <jamatos@fep.up.pt>
5616 * inseturl.C (docbook): escape & in url.
5618 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5620 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5621 after HYPHENATION and MENU_SEPARATOR
5623 * inset.h (isLineSeparator): new method, returns false by default.
5625 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5627 * insetert.C (status): do not update the text inset, but the ERT
5630 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5632 * insetnote.C: use notebg for background
5634 2002-02-08 Herbert Voss <voss@lyx.org>
5637 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5638 prevent LyX from unzipping when this should be handled
5639 by latex vis the graphic.cfg.
5642 2002-02-08 Herbert Voss <voss@lyx.org>
5644 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5645 exists, than return filename with extension
5647 2002-02-06 Herbert Voss <voss@lyx.org>
5649 * insetgraphic.C: prepareFile(): don't convert the file, when
5650 it's not viewed in LyX. Saves a lot of time when opening a
5653 2002-02-05 Herbert Voss <voss@lyx.org>
5656 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5657 and adding a rotate bool similiar to subcaption
5659 2002-02-04 Herbert Voss <voss@lyx.org>
5662 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5663 similiar view to the LaTeX one. Get zipped files work.
5665 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5667 * insetgraphicsParams.C (init): set display to DEFAULT.
5668 No longer #include "lyxrc.h".
5670 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5672 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5673 for now (so that the code compiles).
5675 2002-02-02 Herbert Voss <voss@lyx.org>
5677 * insetgraphic.C: delete inVariant() and some minor changes
5678 * insetgraphicsParams.[C]:
5680 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5682 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5683 interogate lyxrc.display_graphics before diaplaying the graphic.
5685 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5686 InsetGraphicsParams::DisplayType.
5688 2002-01-31 Herbert Voss <voss@lyx.org>
5690 * insetgraphic.C: (readfigInset) set display to pref-default
5692 2002-01-30 Herbert Voss <voss@lyx.org>
5694 * insetgraphic.C: get the filetyp from it's contents
5695 * insetgraphicparams.C: add token scale and lyxrc.display when
5696 creating a new inset
5698 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5700 * figinset.C: added using std::ios directive.
5702 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5704 * figinset.C (runqueue): open translation file in binary mode (for
5707 2002-01-27 Herbert Voss <voss@lyx.org>
5709 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5710 all options and to be sure that the old figinsets are correct
5712 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5713 structure and to support all lengths as LyXLength. The Parameter
5714 structure changed again, but reading of "old" 1.2 graphic insets
5717 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5719 * insetert.h (forceDefaultParagraphs): Added
5721 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5723 * insettabular.C (getMaxWidth):
5724 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5726 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5728 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5729 of LyXLength::inPixels
5731 * inset.C (latexTextWidth):
5732 * insetminipage.C (latexTextWidth): new method, which implements
5733 the equivalent of the LaTeX macro \textwidth
5735 * insetminipage.C (getMaxWidth): use latexTextWidth
5737 2002-01-18 Juergen Vigna <jug@sad.it>
5739 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5741 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5743 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5745 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5748 2002-01-17 Juergen Vigna <jug@sad.it>
5750 * insettabular.C (lockInsetInInset): same change as in insettext.
5752 * insettext.C (draw): width() function was called without setting
5753 the right top_x which could lead to wrong insetWidth setting!
5754 (lockInsetInInset): call edit instead of calling lockInset if we
5755 have to lock an inset inside!
5756 (edit): we have to also tell the inset that we have to redraw the
5757 frame on an edit call if this inset draws a frame only if locked.
5759 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * insetbib.C (getFiles): uncomment Path variable.
5763 2002-01-16 Juergen Vigna <jug@sad.it>
5765 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5768 2002-01-16 Allan Rae <rae@lyx.org>
5770 * insetinclude.C (docbook): someone forgot a ";"
5772 2002-01-16 José Matos <jamatos@fep.up.pt>
5774 * figinset.C (docbook): removed a old place holder "@".
5775 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5776 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5777 ascii text version, clearly guarded inside a CDATA section.
5778 (docbook): in docbook 4, inlinegraphics is empty.
5779 * insettabular.C (linuxdoc): export the ascii version of the table
5780 inside a CDATA section.
5782 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5784 * insetparent.C (InsetParent):
5785 * insetgraphicsParams.C (Write):
5787 * insetgraphics.C (prepareFile):
5790 * insetexternal.C (executeCommand):
5791 (doSubstitution): use Buffer::filePath
5793 * insetbib.C (getFiles): add a #warning for Angus
5795 * insetgraphics.C: Add a remark about how filenames should be
5796 considered to be relative to buffer (but absolute is still allowed)
5797 (draw): do not try to get status if lyxrc.use_gui is false
5799 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5802 * insetcollapsable.[Ch]:
5803 * insettabular.[Ch] (searchForward, searchBackward): change the
5804 bool const & params to bool.
5806 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5807 to avoid the name clash with InsetCollapsable's methods of the same
5808 names but different functionality.
5810 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5812 * insettext.C (ascii): use lyx::count rather than countChar.
5814 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5816 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5818 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5820 * insetgraphics.C (updateInset): do not try to render image if
5821 lyxrc.use_gui is false (bug #104)
5823 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5824 if file does not exist
5826 * figinset.C (browseFile): add shortcuts to directory buttons
5828 * insettext.C (updateLocal): update menubar and toolbar here too.
5830 2002-01-13 Allan Rae <rae@lyx.org>
5832 * insettabular.C (InsetTabular): Both constructors now initialise
5833 all class variables.
5835 2002-01-11 Juergen Vigna <jug@sad.it>
5837 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5839 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * insettabular.C (getStatus): add forgotten brace around multiline
5844 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5846 * insetfloat.C (validate): require "float" instead of "floats".
5848 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5850 * insettabular.C (getStatus): use FuncStatus
5852 2002-01-08 Juergen Vigna <jug@sad.it>
5854 * insettabular.C (insetButtonRelease): now this should work too
5857 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5858 if the width is a percentage.
5860 * inset.h: added isChar() function and implemented this for
5861 insetspecialchar insetquotes and insetlatexaccent.
5862 added forceDefaultParagraphs() and implemented it for insettabular.
5864 2002-01-07 Juergen Vigna <jug@sad.it>
5866 * insettext.C (getLyXText): Fixed this function. An insert into the
5867 map is only done if we REALLY have a new BufferView.
5869 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5871 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5873 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5875 * insetinclude.C: fix use of FileInfo
5877 2002-01-07 Juergen Vigna <jug@sad.it>
5879 * insettabular.C (draw): fixed clearing of cell around inset.
5881 2002-01-05 Juergen Vigna <jug@sad.it>
5883 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5884 variables are updated.
5886 * insettabular.C (resetPos): set always the inset_y as it may be
5887 needed in another function.
5888 (searchBackward): don't draw while searching.
5890 2002-01-04 Juergen Vigna <jug@sad.it>
5892 * insettext.C (lockInsetInInset): forgot to set a cursor.
5894 2002-01-02 Juergen Vigna <jug@sad.it>
5896 * insettext.C (insertInset): make the correct undo informations on
5897 inserting new insets.
5899 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5901 * insettabular.C: correct single-cell select vertically
5903 2001-12-27 Juergen Vigna <jug@sad.it>
5905 * insettabular.C (ascii): export as tab-separated-values if the
5906 function was not called from export (f.ex.: clipboard).
5908 * insetcollapsable.h: added default support for ascii, linuxdoc and
5909 docbook export (the insettext is exported by default!)
5911 * insettabular.C (copySelection): suff the clipboard with the tabular
5912 data in a tab separated format, seems more naturals then with all the
5915 2001-12-24 Juergen Vigna <jug@sad.it>
5917 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5918 to check for REAL mouseMotion.
5920 2001-12-20 Juergen Vigna <jug@sad.it>
5922 * inset.C (cursor): return the owners cursor if available instead of
5923 always only the bv->text->cursor.
5925 * insettabular.C (checkLongtableSpecial): works now.
5927 2001-12-19 Juergen Vigna <jug@sad.it>
5929 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5930 this has to be always row + 1 as 0 means not selected!
5931 (checkLongtableSpecial): added
5932 (tabularFeatures): better longtable options support
5934 * insettext.C (resizeLyXText): reinit the text always also on a
5937 2001-12-18 Juergen Vigna <jug@sad.it>
5939 * insettext.C (updateInsetInInset): look if we have to autocollapse
5940 paragraps and return if the update is requested for ourself.
5942 * insetert.C (status): update the insettext not myself as that is what
5945 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5946 function only return if the update was requested with myself.
5948 * insettext.C (insetButtonPress): fixed stupid bug.
5949 (various functions): pay attention that lt is cleared BEFORE calling
5950 updateLocal() and try to use it in the right manner (don't use it
5951 if it's not really neccessary!)
5952 (collapseParagraphs): insert a blank between collapsing paragraphs
5953 if neccessary (not already there!).
5955 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5957 * insettabular.C: move includes around a bit, add a couple of
5960 * insettext.[Ch]: move includes around a bit, other ws changes and
5963 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5965 * insettext.C (insetButtonRelease): fix compile problem
5967 2001-12-17 Juergen Vigna <jug@sad.it>
5969 * insettext.C (insetButtonPress): set the selection cursor!
5970 (insetButtonPress): clear the selection (and set with that the
5971 selection.cursor) if we only hit an inset!
5973 * insetert.C (read): removed piece of compatibility code only needed
5976 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5979 * insetcollapsable.C (insetButtonRelease): changed so that it can
5980 open eventual existing popup dialogs on mousebutton==3.
5982 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5984 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5986 * inset.C (insetButtonRelease): return a bool for telling the outer
5987 world that we opened a dialog.
5989 2001-12-07 Juergen Vigna <jug@sad.it>
5991 * insettext.C (paragraph): remove the deleteing of paragraphs as
5992 it was a WRONG move!
5994 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5997 * insettabular.C: use new setSelection(). Allow
5998 selection of single cells.
6000 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6002 * insetquotes.C (latex): fix to use the local language setting at
6003 the point where the inset is inserted (different macros for
6004 different french packages)
6006 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6008 * inset.h: add par_owner_ member variable and parOwner
6011 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6013 * insettabular.C (everywhere): adapt because widths are now real
6014 widths and not strings
6016 * insettext.C (draw): re-introduce the calls to width(), ascent()
6017 and descent() to initialize the caching variables.
6019 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * insettext.C (draw):
6022 (drawFrame): use insetWidth instead of last_width
6024 * insettext.h: remove variable last_width (insetWidth is exactly
6025 the same) and last_height (computed but never used!)
6027 2001-12-10 Allan Rae <rae@lyx.org>
6029 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6031 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6033 * insettext.C (insetAllowed): add comment
6035 2001-12-05 Juergen Vigna <jug@sad.it>
6037 * insettext.C (insetAllowed): fixed for the case that we directly
6038 ask the insettext from its LyXText.
6039 (paragraph): fixed the crash when assigning the par->next() from
6040 the EmptyParagraphMechanism!
6042 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6046 * insettext.C: change "while(" to "while ("
6048 2001-12-04 Juergen Vigna <jug@sad.it>
6050 * insetert.C (edit): handle Inlined status.
6052 * insettext.C (insertInset): trying John's fix for the trailing cursor
6054 * insetert.C (insetButtonPress): added to handle inlined status
6055 (insetMotionNotify): ditto.
6057 * insettext.C (clearInset): changed Painter & in BufferView * param,
6058 to be able to call ascent,descent methods.
6060 2001-12-03 Juergen Vigna <jug@sad.it>
6062 * insettext.C (updateInsetInInset): use lt variable to forbid
6063 changes of LyXText in an update call.
6064 (updateInsetInInset): fixed updating of non locked insets!
6066 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6068 * insettabular.C: capture some more functions to prevent
6069 selection drawing problems. Bug #451274
6071 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6074 * insetgraphicsParams.C: fix inverted sense of float_equal
6076 2001-11-30 Juergen Vigna <jug@sad.it>
6078 * insettabular.C (InsetTabular): use the save_id flag to create also
6079 the tabular with the same id's.
6081 * insettext.C (setParagraphData): added a same_id function for undo
6082 to set the same paragraph id's as of the paragraph we are setting.
6084 2001-11-30 José Matos <jamatos@fep.up.pt>
6087 * insettoc.[Ch]: DocBook -> docbook.
6089 2001-11-29 André Pönitz <poenitz@gmx.net>
6092 * insettext.C: further reduction of header dependencies by using
6093 lyx::layout_type and lyx::textclass_type from support/types.h
6095 2001-11-29 Juergen Vigna <jug@sad.it>
6097 * insettext.C: inserted a reinitLyXText function everywhere I delete
6098 the paragraphs! This should fixe the crashes we had.
6099 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6100 (paragraph): set the InsetOwner() of the new paragraphs!
6102 2001-11-28 André Pönitz <poenitz@gmx.net>
6104 * insetnote.C: add pos initialization that I removed without
6107 2001-11-28 Juergen Vigna <jug@sad.it>
6109 * insettabular.C (resetPos): hack to not crash with infinite paints.
6111 * insettabular.h: insert missing function allowSpellcheck()!
6113 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6115 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6118 * insetfloatlist.C: derive from InsetCommand so gui can use it
6121 2001-11-26 André Pönitz <poenitz@gmx.net>
6125 * insetnote.C: reduce header dependencies, introduce type for
6128 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6130 * various: update for Alert.h
6132 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6134 * inset.h: fix comment
6136 * insettext.C: use par->isInset()
6138 2001-11-22 Allan Rae <rae@lyx.org>
6140 * insetcollapsable.h:
6141 * inset.h: Changes to checkInsertChar() behaviour.
6142 Now return value indicates whether chars can be inserted.
6144 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6146 * various: updated to use the new LaTeXFeatures
6148 2001-11-14 José Matos <jamatos@fep.up.pt>
6150 * insetspecialchar.C (linuxdoc):
6151 (docbook): don't give a name to a unused variable.
6153 * insettext.C (docbook): removed unused variable.
6155 2001-11-13 Herbert Voss <voss@perce.de>
6157 * insetgraphic.C: fix scale bug
6159 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6161 * inset.h (isSpace):
6162 (isLetter): new virtual methods.
6164 * insetspecialchar.C (isSpace):
6165 (isLetter): implement here.
6167 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6169 * inset.h: new inline helpers
6171 * insettext.C: use new helpers
6173 2001-11-07 José Matos <jamatos@fep.up.pt>
6175 * insettext.C (docbook): full support for paragraphs inside insettext.
6177 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6179 * insetindex.C: added header file for std::ostream.
6181 2001-11-03 José Matos <jamatos@fep.up.pt>
6183 * insetindex.C: added using std::ostream that I forgot yesterday.
6185 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6187 * insetindex.h (docbook):
6188 * insetindex.C (docbook): added support for docbook export.
6190 2001-11-02 José Matos <jamatos@fep.up.pt>
6192 * insetcaption.C(docbook): added support for docbook export.
6194 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6196 * insetexternal.C (updateExternal): Do not run update command if
6197 result file exists and is up to date.
6199 * ExternalTemplate.C (readFormat): Support the updateresult token.
6201 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6203 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6204 external_templates) to use the buffer->fileName() but only if
6205 previewing. Generating a TeX file should make FPath return
6208 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6211 * insetert.C: fix some problems
6213 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6215 * insetexternal.C (doSubstitution): Added $$FPath token
6216 to list of usable substitutions in external inset templates.
6218 2001-10-24 Juergen Vigna <jug@sad.it>
6220 * insettabular.C: use new ltType struct for setting longtable
6221 header and footers also new UNSET enums.
6223 2001-10-24 José Matos <jamatos@fep.up.pt>
6225 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6226 (docbook): If the table is not inside a float then wrap it inside
6227 <informaltable>...</informaltable>.
6229 2001-10-23 José Matos <jamatos@fep.up.pt>
6231 * insetref.C (docbook): removed / terminator to conform SGML.
6233 * insetspecialchar.C (linuxdoc):
6234 (docbook): Added support for special chars, more than ascii export.
6236 2001-10-22 Juergen Vigna <jug@sad.it>
6238 * insettext.C (checkInsertChar): added for REALLY checking the
6239 font of the inserted char in the right inset!
6241 2001-10-19 Juergen Vigna <jug@sad.it>
6243 * inset.h: added method allowSpellcheck() so that insets who do
6244 not have anything to spellcheck can tell and so they are over-jumped.
6245 Implemented for InsetText and co.
6247 2001-10-18 Juergen Vigna <jug@sad.it>
6249 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6251 2001-10-15 José Matos <jamatos@fep.up.pt>
6253 * insetert.C: allow export for docbook and linuxdoc
6255 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6257 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6259 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * insetquotes.C (dispString): fix handling of latin9 quotes
6263 2001-10-03 Juergen Vigna <jug@sad.it>
6267 * insetcollapsable.C: change updateInset calls to not tell BV that
6268 we have changed status.
6270 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6272 * insettabular.C (deletable): make const
6274 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6276 * insetert.C (latex): Fix the returned value
6278 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6280 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6281 Returns string(), so nothing in an ERT inset is spellchecked.
6283 * insetgraphics.C (draw): print the filename if not displaying the
6285 (width): make sure that the width and draw methods are consistent.
6286 (updateInset): don't even load the image into cache if not displaying
6289 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6291 * various files (selectNextWord): renamed as
6292 selectNextWordToSpellcheck.
6294 * insetgraphics.C (draw): remove the previous change. Right place
6295 is in imageLoaderXPM.C.
6296 (draw): don't display the image if params.display == NONE.
6298 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6300 * figinset.C (runqueue):
6301 * insetgraphics.C (draw): set background colour of inset from
6302 background to the user-configurable graphicsbg.
6304 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6306 * insetquotes.C (InsetQuotes): when trying to decide the side of
6307 the quote, choose `left' only after a space or '('
6309 2001-09-04 José Matos <jamatos@fep.up.pt>
6314 * insetcollapsable.h
6332 * insetlatexaccent.C
6333 * insetlatexaccent.h
6338 * insetspecialchar.C
6339 * insetspecialchar.h
6343 * insettext.C (docbook): rename docBook method to docbook.
6345 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6347 * inset.h (getFirstParagraph): New virtual method.
6349 2001-08-20 Herbert Voss <voss@perce.de>
6350 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6351 in the the bibtex-database-gui for inserting a line
6354 If no style is given than there is no tex-output.
6356 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6358 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6362 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6364 * insetert.C (latex): Fix output for multiple paragraphs.
6365 (write): New code for writing paragraph data.
6366 (read): Set font after reading the inset.
6367 (localDispatch): Call set_latex_font() for more cases.
6369 * insetnote.h: Add empty validate method.
6372 * insetnote.C (InsetNote): Set language to the language of the
6375 2001-08-16 Juergen Vigna <jug@sad.it>
6377 * insettext.C: implemented the new FINISHED states.
6379 * insettabular.C: ditto
6381 * inset.h: added more FINISHED states for cursor right,up,down
6383 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6385 * insetfloatlist.C: use "FloatName List"
6387 2001-08-14 Juergen Vigna <jug@sad.it>
6389 * insetert.C (edit): forgot to set status_ in edit calls!
6391 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6393 * insettext.C: Compilation fix
6395 2001-08-13 Juergen Vigna <jug@sad.it>
6397 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6399 * insetcollapsable.C (edit): don't recollapse an already open inset.
6401 * insettext.C: fixed problem when reinitializing LyXText by not doing
6402 it while lt is in use and post this to the next possible time in
6404 (searchForward): fixed not unlocking of inset if nothing found.
6405 (edit): set cursor behind right (was set -1 pos).
6407 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6409 * insettabular.C (tabularFeatures): fixed fix where deleting the
6410 last row didn't get the right actcell!
6412 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6414 * insettext.C (localDispatch): Change language only when the inset
6417 2001-08-10 Juergen Vigna <jug@sad.it>
6419 * insettabular.C (selectNextWordInt): use the front using edit call.
6421 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6422 the parameter overwrite class variable inset.
6424 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6426 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6427 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6429 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6430 update only for fixed with cells.
6431 (resetPos): try to fix the lockup on spellchecking or s&r.
6433 * insettext.C (update): comment this out as it seems first wrong
6434 and second not needed anymore!
6435 (some functions): call reinitLyXText() only in update() in all other
6436 positions set only need_update = INIT.
6438 2001-08-08 Juergen Vigna <jug@sad.it>
6440 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6442 * insettext.C (insetUnlock): remove double-space on inset unlock.
6444 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6446 * insettabular.C (update): fixed cursor positon after an insert.
6447 (insetAllowed): do not allow to insert insets when not inside the
6449 (draw): clear below an inset too as it could have changed height.
6451 * inset.C (getMaxWidth): fixed width for inset in inset.
6453 * insettext.C (update): small fix.
6455 * insettabular.C (tabularFeatures): added selection support to
6456 DELETE_ROW/DELETE_COLUMN.
6458 2001-08-07 Juergen Vigna <jug@sad.it>
6460 * inset.C (getMaxWidth): recoded and all it's implementations!
6462 * insettext.C (init,setParagraph+constructors): cleanups
6463 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6464 are new and I want do a save/restore of the cursor position which is
6465 not possible anymore.
6467 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6468 (searchBackward): ditto
6469 (selectNextWord): ditto
6471 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6473 * insetlatexaccent.C (checkContents): Add some debug messages
6475 2001-08-07 Juergen Vigna <jug@sad.it>
6477 * insetert.C (read): don't use InsetCollapsable::read as we don't
6478 write the collapsed status anymore only the status.
6481 2001-08-06 Juergen Vigna <jug@sad.it>
6483 * insetert.C (set_latex_font): use LyXText's setFont directly.
6485 * insettext.C (drawFrame): fixed one time more the right position
6486 and size of the frame!
6488 * insetert.C (~InsetERT): hide the dialog.
6489 (showInsetDialog): added implementation
6492 (status): new function for the status of the ERT inset (3-state).
6493 (write): output also the status of the inset for readback!
6494 (read): readback the status if available otherwise use collapsed_.
6496 * insettext.C (edit): small fix of setting the position, which could
6499 * insetert.C (width): implement this function for inlined viewing.
6500 Added minimum width of 10 pixels!
6502 * insetminipage.C (InsetMinipage): just change the colors a bit so
6503 that border/background is a bit more visible. We will remove this
6506 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6507 function for getting the important widths for drawing in various
6508 functions and in LyXText.
6509 (draw): fixed up a bit (frame drawing/clearing)
6511 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6513 * inset.C (convertFont): delete method. not used.
6515 2001-08-03 Juergen Vigna <jug@sad.it>
6517 * insettext.C (setFont): don't call for a draw update if we're just
6518 changing the cursor font!
6520 2001-08-02 Juergen Vigna <jug@sad.it>
6522 * insettext.C (draw): clear the background with the right color if
6523 needed. Update myself if x&max-width changed and return without doing
6524 anything. Let the update code handle the right stuff.
6526 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6527 inside another inset.
6529 2001-08-01 Juergen Vigna <jug@sad.it>
6531 * insetcollapsable.C (update): added an in_update bool so we avoid
6534 * insettabular.C (update): added an in_update bool so we avoid
6537 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6539 (update): added an in_update bool so we avoid reentering.
6541 * insettabular.C (localDispatch): clear col/row selection when doing
6542 something else inside an inset.
6544 * insettext.C (getLyXText): fixed bug when requesting a recursive
6547 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6549 * insetcite.C (latex): Paranoia check. Make sure that there is no
6550 whitespace between the citation keys.
6552 2001-07-31 Juergen Vigna <jug@sad.it>
6554 * inset.h (nodraw): make the set function also const so that this
6555 can be called from inside other const functions.
6557 * insetcollapsable.h: removed inline variable and moved it over
6558 to the only user InsetERT.
6560 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6561 inset opening immediately therein lying insets dialogs!
6563 * insetert.C (localDispatch): set the font also if we don't have any
6564 chars in this paragraph, otherwise if we delete all of em and start
6565 writing we have the wrong font.
6567 (draw): implemented for inline support
6568 (insetButtonRelease): ditto.
6570 2001-07-30 Juergen Vigna <jug@sad.it>
6572 * insettext.C (reinitLyXText): new function to reinit the insets
6573 text after lot's of paragraph changes. Use this instead of the
6574 cache.clear() which is VERY dangerous.
6576 * insetfloat.C (insetButtonRelease): we should only show the dialog
6577 if we press on the label otherwise we have problems to open mouse
6578 button 3 dialogs inside this float (f.ex. of a tabular!)
6580 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6582 * insetert.C: change back to "ERT"
6584 * insetfloat.C: handliign of RMB on label added.
6586 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6588 * insetgraphicsParams.C: #include LOstream.h here.
6590 * insetfoot.h: remove InsetFoot:: qualifier.
6592 2001-07-29 Baruch Even <baruch@lyx.org>
6594 * ChangeLog: Hiding time travel evidence.
6596 * insetgraphicsParams.h:
6597 * insetgraphicsParams.C:
6598 * insetgraphics.C: Added horizontal scale option, it actually
6599 scales both directions since it keeps image proportions.
6601 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6603 2001-07-29 Baruch Even <baruch@lyx.org>
6605 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6606 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6608 HACKY! Will need to add an EPS detection routine like old InsetFig
6611 2001-07-29 Baruch Even <baruch@lyx.org>
6613 * insetgraphics.C: Added EPSI to be an alias of EPS.
6615 2001-07-29 Baruch Even <baruch@lyx.org>
6617 * insetgraphics.C: Change GRAPHICS to Graphics.
6618 Changed image conversion rules (documented at the beginning of file).
6620 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6622 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6625 * insetgraphics.C: added a using std::endl directive.
6627 * insetcommand.h (getScreenLabel): removed pure virtual function,
6628 as it duplicates that in InsetButton.
6630 * insetbib.[Ch] (getScreenLabel):
6631 * insetbutton.[Ch] (getScreenLabel):
6632 * insetcite.[Ch] (getScreenLabel):
6633 * insetert.[Ch] (getScreenLabel):
6634 * insetexternal.[Ch] (getScreenLabel):
6635 * insetfloatlist.[Ch] (getScreenLabel):
6636 * insetinclude.[Ch] (getScreenLabel):
6637 * insetindex.[Ch] (getScreenLabel):
6638 * insetlabel.h (getScreenLabel):
6639 * insetparent.[Ch] (getScreenLabel):
6640 * insetref.[Ch] (getScreenLabel):
6641 * insettoc.[Ch] (getScreenLabel):
6642 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6644 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6646 (validate): remove check on "cite" when using natbib.
6648 2001-07-26 Baruch Even <baruch@lyx.org>
6650 * insetgraphics.C (draw): changed casting to be in one place
6651 rather than all over the function.
6654 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6656 * insetgraphicsParams.h:
6657 * insetgraphicsParams.C:
6658 * insetgraphics.C: Removed inline option and changed rotateAngle
6661 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6663 * insetfoot.C (validate): Added method to ensure that the
6664 right bit of LaTeX is emitted.
6666 * insetfoot.h: Added validate method to set the correct
6667 LaTeXFeatures bit for the special footnote code.
6669 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6671 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6674 2001-07-27 Juergen Vigna <jug@sad.it>
6676 * inset.h: remove not used font variable in parameter.
6677 removed checkInsertChar in UpdatableInset as it was equal to
6678 the one in Inset and so not needed.
6680 * insetert.C (checkInsertChar): implementation of function
6683 * inset.h: added new function checkInsertChar.
6685 * various files: added c-tor and clone() function.
6687 * insetcollapsable.h: removed clone function here as this should
6688 be only realized in REAL insets and added it to all collapsable
6689 insets! (with the copy-constructor).
6691 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * insetminipage.C (read): handle missing parameters more gracefully
6695 * insetcollapsable.C (read): handel missing collapsed more gracefully
6697 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6699 * insetfloat.C (read): handle missing parameters.
6701 * insettext.C (read): handle old latex end_inset
6703 * insetert.C (setButtonLabel): new method
6704 (init): use it, to set the dynamic label correctly
6707 * Makefile.am (EXTRA_DIST): add files that is not part or the
6710 * insetcollapsable.h: remove autocollapsable (no users), remove
6711 draw_label, change_label_with_text and companion code. Remove args
6713 * insetert.[Ch]: move here instead (only user)
6715 * inset.h: rename private variable name to name_, make
6716 selectNextWord return a const string. make getInsetName return a
6717 string const &. Remove bool from open, add close.
6719 * Makefile.am: don't compile insetlist, insetsection
6722 2001-07-24 Juergen Vigna <jug@sad.it>
6724 * insetert.C (InsetERT): put init after the paragraph initialization,
6725 as otherwise we don't set the draw_label right.
6727 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6728 insets with the mouse without having strange selections.
6729 (edit): if the inset was collapsed and we open it here then put the
6730 cursor always at the beginning of the inset.
6731 (get_new_label): 15 instead of 10 max chars in the label.
6733 * insetert.C (localDispatch): added and handle various stuff we
6734 need to handle here (font setting on paragraph break, not permitted
6735 layout setting, etc.).
6737 * inset.h: added default copy-consturctor and implemented this in
6738 various insets with the change to use this in the clone function!
6740 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6742 * insetminipage.C (InsetMinipage): set background color to red :)
6744 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6746 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6747 draw frame mode is LOCKED.
6749 * insetcollapsable.C (edit):
6750 (insetButtonRelease): set update status to full when
6753 * insettext.C (clearInset):
6754 * insettabular.C (draw):
6755 * insetlatexaccent.C (draw): honor background color.
6757 * inset.h: new member background_color_, initialized to
6760 * inset.C (backgroundColor): new method.
6761 (setBackgroundColor): new method.
6763 * insetert.C (init): new method, called by the ctors.
6764 (InsetERT): when inserting contents, make sure the font is
6767 * insetnote.C (InsetNote): when inserting content, remove trailing
6769 (init): set background color to LColor::note
6771 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6773 * insetcollapsable.C: adjust
6775 * insetbutton.C: adjust
6777 2001-07-23 Juergen Vigna <jug@sad.it>
6779 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6780 parameter on the _collapsed function (was not needed) and call
6781 always width_collapsed().
6783 * insetert.C (InsetERT): use setLabel with "true" flag.
6785 * insetcollapsable.C: modified various functions to set the draw_label
6786 string right in any condition.
6787 (setLabel): added a bool parameter to set change_label_with_text.
6789 * insetcollapsable.h: added draw_label string which is set to the
6790 actual drawn label-string, while label is the original static label
6791 of this collapsable inset. Added bool change_label_with_text to set
6792 if we want that the label changes to the start of the InsetText's
6793 text when collabpsed. You can set this flag with the setLabel funciton.
6794 Added bool inlined for inlined collapsable insets, but not handled
6797 * insetcollapsable.C (get_new_label): added should get a new label
6798 from the InsetText beginning (for now 10 chars).
6800 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6802 * insetquotes.C (latex): fix the handling of french double quotes
6803 when not using the french pachage.
6805 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6807 * insetcollapsable.h: make WidthCollapsed mutable.
6809 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6810 InsetPrintIndex returns INDEX_PRINT_CODE.
6812 * inset.h: add INDEX_PRINT_CODE
6814 * insetcollapsable.C (draw): init widthCollapsed if necessary
6817 * insetquotes.C (width): use the local language, not the document
6820 (dispString): add additional spacing for all french languages,
6822 (validate): make it work when there is no default language
6824 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6826 * insetnote.C (init): new method, called by the constructors
6827 (InsetNote): new constructor with contents passed as a string
6829 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6831 * insetfootlike.C (insetAllowed): disallow float in footlike.
6833 * insetert.C (InsetERT): add collapsed argument to the constrctor
6836 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6838 * insetindex.h: shut off warning
6840 2001-07-20 Juergen Vigna <jug@sad.it>
6842 * insetcollapsable.C (update): recoded hopefully works now!
6844 2001-07-19 Juergen Vigna <jug@sad.it>
6846 * most files: implemented the below new introduced function.
6848 * inset.h: added new edit(BufferView *, bool front) method to be able
6849 to enter an inset from the front/back without knowing x/y positions
6850 and baselines inside the inset. So I just can tell the inset activate
6851 me and set the cursor on the front/back of yourself.
6853 2001-07-18 Juergen Vigna <jug@sad.it>
6855 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6856 is given to the InsetText.
6857 (insetButtonPress): ditto
6858 (insetButtonRelease): ditto
6859 (insetMotionNotify): ditto
6861 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6863 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6864 LIGATURE_BREAK, since the name is so stupid.
6866 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6868 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6869 the default InsetCollapsable methods. I.e., it can insert anything.
6870 (write) output the name of the inset, not some silly hack for
6871 compatability with the old InsetInfo.
6873 * insetinfo.[Ch]: removed.
6874 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6875 now collapsable, but functionality is otherwise identical to InsetInfo.
6877 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6879 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6881 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6884 * insetquotes.C: general cleanup
6885 (dispString): add spaces inside french double quotes.
6886 (latex): ditto. Moreover, treat first the case where the frenchb
6887 or french options have been given.
6889 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6891 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6894 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6896 * figinset.C (RegisterFigure): Print debug message only when
6897 current_view is available.
6899 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6901 * many files: update to match the change below
6903 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6904 implement the version which takes an inset here.
6906 * insetcollapsable.[Ch]: implement open and isOpen
6908 * inset.h: remove insertInsetAllowed from Inset
6909 (open): new method, to open or close an inset
6910 (isOpen): returns the status of an inset
6911 (isCollapsable, colapse): removed
6913 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6915 * insetquotes.C (dispString): display french guillemets when using
6918 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6920 * insetcollapsable.h: remove bogus return statements
6922 2001-07-18 Juergen Vigna <jug@sad.it>
6924 * insettabular.C (selectNextWord): fixed spellchecking for the
6925 first cell of a tabular (wasn't entered!)
6926 (getLyXText): changed to enter automatically insettext and return
6927 it's LyXText if we're locked.
6929 2001-07-17 Juergen Vigna <jug@sad.it>
6931 * various files: implemented the below functions.
6933 * inset.h: added functions
6934 - virtual string selectNextWord(BufferView *, float & value) const;
6935 - virtual void selectSelectedWord(BufferView *) { return; }
6936 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6937 needed for spellchecking correctly!
6939 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6941 * insetert.C (latex): write out all paragraphs.
6943 2001-07-17 Baruch Even <baruch@lyx.org>
6945 * insetgraphics.C (draw): Removed unneeded casts.
6947 2001-07-16 Juergen Vigna <jug@sad.it>
6949 * insettext.C (update): fixed small oversight (reset lt to 0).
6951 2001-07-14 Baruch Even <baruch@lyx.org>
6954 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6956 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6958 Consistent use of Lsstream.h:
6959 * figinset.C: removed using std::ostringstream directive.
6961 * insetgraphics.C (createLatexOptions):
6962 * insetinclude.C (unique_id):
6963 std::ostringstream -> ostringstream.
6964 * insettext.C (localDispatch): std::istringstream -> istringstream.
6966 2001-07-13 Juergen Vigna <jug@sad.it>
6968 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6970 * insetcollapsable.C (getLockingInset): ditto.
6972 2001-07-12 Juergen Vigna <jug@sad.it>
6974 * insetcollapsable.h: added implementation of new function for
6977 * various files: added implementation of new insertInsetAllowed-func
6978 and redone the function a bit more.
6980 * inset.h: added isCollapsable(), bool collapsed(),
6981 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6983 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6985 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6986 LyXText which is marked for removal while we're using it!
6988 * insettext.h: added private LyXText * lt to use it to assure we are
6989 not deleting our LyXText while we're using it!
6991 2001-07-11 Juergen Vigna <jug@sad.it>
6993 * insettext.C (insertInset): check if we are before the inset after
6994 inserting it! This check IS needed. Remove the Undo-Call as it is
6995 called in LyXText::insertInset!
6997 * insettext.h: added struct InnerCache.
6999 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7000 that we ONLY delete the LyXText in the getLyXText() routine. So we
7001 are sure we don't delete LyXText while someone is working with it!
7003 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * insetexternal.C: (*it). -> it->
7006 * insettext.C: ditto
7008 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7010 * insetcollapsable.C (edit): always open collapsed insets (even if
7011 they are not autocollapsable)
7013 * insetcommand.C (operator=): simplify.
7015 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7017 * insetert.C (latex): handle META_NEWLINE
7019 2001-07-09 Juergen Vigna <jug@sad.it>
7021 * insetert.h: a normal InsetText can insert insets, but we won't.
7023 * inset.h: return default "false" on insertInsetAllowed and implement
7024 this function where a returnvalue != "false" is needed.
7026 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7028 * insetert.C (InsetERT): new contructor
7030 2001-07-06 Juergen Vigna <jug@sad.it>
7032 * a lot of files: added implementation of the below new functions
7033 and the change to clone(). Also the call of the new undo-functions
7036 * inset.h: added an inset_id, added functions getParFromID,
7037 getInsetFromID, firstParagraph, cursor and id functions, added
7038 bool same_ids to clone function.
7040 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7042 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7043 of BufferView * and shared_ptr<LyXText>
7045 2001-07-05 Juergen Vigna <jug@sad.it>
7047 * insettext.C (clear): deleted also the cache not only LyXText.
7048 (setParagraphData): ditto.
7050 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * insetfloat.C (latex): let the specific placement take presedence
7053 if set, otherwise choose document placement if set, otherwise just
7054 use float default placement.
7056 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7058 * insettext.C (localDispatch): call CutAndPaste::'s static method
7061 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * insetbib.C: no meed to include forms.h here.
7065 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7067 * insettext.C: added using std::make_pair directive.
7069 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7071 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7073 (deleteLyXText): ditto
7074 (resizeLyXText): ditto
7076 2001-07-02 Juergen Vigna <jug@sad.it>
7078 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7079 following calls are only returned the right pointer without the over
7080 head to search in the map.
7081 (various funcs): reset the cached_bview variable as this signs that
7082 the cache is not valid anymore.
7084 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7086 * insettabular.C (clone): do not copy the LyXTabular twice
7088 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7090 * insettext.h (TEXT): delete method
7092 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7094 * insetmarginal.C (latex):
7095 * insetfoot.C (latex): fix spacing of notes in LaTeX
7097 * insettext.C (localDispatch): use .c_str() on istringstream
7098 constructor argument.
7100 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7105 * inseturl.C: fix method names in these to begin
7106 with small char too, so they inherit
7108 2001-06-28 Juergen Vigna <jug@sad.it>
7110 * insettext.C (setFont): fixed font settings using toggleFree()
7111 instead of setFont().
7113 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * Change a lot of method names to begin with a small char.
7116 Changes to a lot of files because of this.
7118 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7120 * insetfloatlist.C (Write): std:: qualify ostream
7123 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7127 * insetgraphics.C: send debug output to Debug::INFO instead of
7130 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7133 * insettabular.C (getStatus): update to use func_status
7135 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7137 * insetref.C (DocBook): added support for cross-references without
7140 2001-06-26 The LyX Project <jug@sad.it>
7145 * insetlabel.h: removed escape method and moved it to
7148 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7150 * insettabular.C (getMaxWidth): do the speedup in a different way,
7153 2001-06-24 The LyX Project <Asger>
7155 * insettabular.C (getMaxWidth): We cache a mapping from
7156 inset to cell in order to speed this method up.
7158 2001-06-24 The LyX Project <Asger>
7160 * insettext.C: Optimized InsetText::draw or something.
7162 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7164 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7166 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7168 * inset.h: name change from lyxinset.h
7170 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7172 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7174 2001-06-14 Juergen Vigna <jug@sad.it>
7176 * insettext.C (draw): removed warnings.
7178 2001-06-13 Juergen Vigna <jug@sad.it>
7180 * insettabular.C (nodraw): only go down the tree if we don't have
7181 that flag set otherwise it's obvious that we don't want to draw.
7182 (LocalDispatch): do also an update if we have an undispached result.
7184 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7187 * insetgraphicsParams.C:
7188 * insettext.C: removed // -*- C++ -*- as first line.
7190 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7192 * lyxinset.h (resizeLyXText): shut off warning about unused
7195 2001-06-07 Juergen Vigna <jug@sad.it>
7197 * insettext.C (resizeLyXText): honor the new force flag.
7199 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7201 * insettabular.C (deleteLyXText): new function
7203 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7211 * insetcollapsable.C:
7212 * insetcaption.C: LColor tidy
7214 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7216 * figinset.C: fix typo
7218 2001-06-01 Juergen Vigna <jug@sad.it>
7220 * insettabular.C (resetPos): small hack so that scroll is not set to
7221 0 when we are in the last column of a tabular. This is a problem we
7222 have because of constats 20 offset on both directions, so this can
7223 cause on the limit an endless loop.
7225 * insettext.C (SetFont): forgot that we can have locking insets ;)
7227 2001-05-31 Juergen Vigna <jug@sad.it>
7229 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7231 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7233 * figinset.C: add using std:: directive for the C functions which
7236 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7238 * insetfloat.C (Write): write out wide info
7239 (Read): read the wide info
7240 (Latex): use the wide info when creating latex.
7242 * insettext.C: adjust
7244 * insetgraphics.[Ch] (statusMessage): change to return string
7248 * figinset.C (runqueue): add std::
7251 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7253 * insetcite.C (Ascii): add std:: qualifier
7255 2001-05-28 Juergen Vigna <jug@sad.it>
7257 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7258 a endless-width inset (maxWidth < 0).
7259 (Edit): change language only if not equal.
7261 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7263 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7265 2001-05-16 Juergen Vigna <jug@sad.it>
7267 * insettext.C (selectAll): added
7268 (clearSelection): added
7270 * insettabular.C (SetFont): now we may set a font on a whole selection!
7271 (getSelection): added helper function.
7273 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7275 * insetcite.C (Ascii): Add method.
7277 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7280 * insetbib.C: fix path for OS/2 & Win32
7282 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * insetfoot.C (Latex): don't use % after footnote.
7286 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7288 * insettext.C (Read): use clear
7289 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7291 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * insetfloatlist.h: add a bunch of std:: qualifiers.
7295 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7297 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7298 FLOAT_LIST_CODE, renumber code list.
7300 * insettoc.C (getScreenLabel): remove support for float lists
7304 * insetfloatlist.[Ch]: new files
7306 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7308 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7310 * insettabular.C (LocalDispatch):
7311 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7314 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7316 * insettext.C: remvoe !NEW_INSETS cruft
7318 * insettabular.C: remove !NEW_INSETS cruft
7320 * insetcollapsable.h: remove !NEW_INSETS cruft
7322 * insetbib.C: remove !NEW_INSETS cruft
7324 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7326 * insettoc.C: hack to make listof algorithm work
7328 2001-04-20 Juergen Vigna <jug@sad.it>
7330 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7332 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7334 * insetquotes.C (Latex): improve the guard against
7335 unwanted !` and ?` ligatures. This should really be done in
7336 another place (to catch all this ligatures at low-level).
7338 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * insettext.C (init): remvoe leftovers from cursor_visible change
7341 (draw): use c++ cast
7342 (LocalDispatch): dispatch LFUN_MESSAGE
7344 * insettabular.C (InsetTabular): remove leftovers from
7345 cursor_visible, and scoped_ptr changes
7346 (draw): use c++ cast
7348 * insetcollapsable.C (draw): use c++ cast
7350 * ExternalTemplate.h: inherit privaely from noncopyable
7351 * insetcommand.h: ditto
7352 * insetinclude.h: ditto
7354 2001-04-16 Allan Rae <rae@lyx.org>
7356 * insettoc.C (Ascii):
7357 * insettext.C (draw):
7358 * insettabular.C (setPos):
7359 * insetminipage.C (Read):
7360 * insetfloat.C (placement):
7361 * insetcaption.C (Ascii, DocBook):
7362 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7363 an unrecognised preprocessor directive. So ensure they're wrapped.
7365 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7368 * insetexternal.C: set view on Clone. Add _ to private members.
7370 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * insettext.C (InsetText): fix new
7373 (InsetText): reindent some, simplify deletion of par list
7374 (clear): simplify deletion of par list, fix new
7375 (SetParagraphData): simplify deletion of par list
7377 * insettabular.[Ch] (getLabelList): implement new method
7379 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7381 * lyxinset.h: do not include gettext.h...
7389 * insetlatexaccent.C:
7393 * inseturl.C: ... and do it here instead
7395 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7399 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7401 * insetcollapsable.[Ch] (getLabelList): implement
7403 * insettext.[Ch] (getLabelList): implement
7405 * insettext.h: reindent
7407 * insettabular.h: make tabular a scoped_ptr
7409 * insettext.C (init): adjust for cursor_visible
7410 (ToggleInsetCursor): constify asc and desc, font, adjust for
7412 (ShowInsetCursor): constify asc and desc, font, adjust for
7414 (HideInsetCursor): adjust for cursor_visible
7416 * insettabular.C: reindent some
7417 (InsetTabular): adjust for scoped_ptr and cursor_visible
7418 (InsetTabular): ditto
7419 (~InsetTabular): delete delete
7420 (Clone): adjust for scoped_ptr
7421 (Read): constify old_format, adjust for scoped_ptr, move init of
7423 (draw): constify tx, localize loop vars.
7424 some other localization of variables, remove double initilizatons.
7426 * insetfoot.C: remove using std::ostream, add ostream where needed
7428 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7430 * lyxinset.h: some reindentaion, use initializer list for
7432 UpdatableInset: make cursor_visible a private var add
7433 public isCursorVisible(), add protected toggleCursorVisible() and
7434 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7436 * insettoc.C: remvoe using decl
7437 (getScreenLabel): make cmdname donst
7440 (Ascii): don't use endl
7442 * insetfootlike.C: remove using decl at file scope and add std::
7444 * insetmarginal.C: ditto
7446 * insetfoot.C: some reformatting
7448 * insetfloat.C (InsetButtonRelease): adjust the hit area
7450 * insetert.C (SetFont): some reformatting
7452 * insetcollapsable.C: some reformatting and constification
7453 (Clone): comment out.
7454 * insetcollapsable.h: some reformatting
7455 (Clone): comment out.
7460 2001-03-30 Juergen Vigna <jug@sad.it>
7462 * insetcollapsable.h: changen *inset to be a InsetText inset.
7464 * some files: changed to reflect the above change.
7466 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7468 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7469 InsetExternal::Params.
7470 Added operator==() and operator!=() for the Params struct.
7472 2001-03-29 Juergen Vigna <jug@sad.it>
7474 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7477 * insetminipage.C: removed widthp_ and all it's functions and changed
7478 to use new %-lengths of LyXLength.
7480 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7482 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7484 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7486 * insetgraphicsParams.C (operator!=): new function, needed by the
7487 ControlGraphics class.
7489 2001-03-28 Juergen Vigna <jug@sad.it>
7491 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7492 (checkAndActivateInset): don't use the values returned from
7493 call to bv->checkInsetHit.
7495 * insetminipage.C (Clone): set special minipage values.
7497 * insetcollapsable.C (draw): changed to draw the button in the
7498 upper left corner outside the textinset.
7499 (ascent): changed because of different drawing
7503 (InsetButtonPress): ditto
7504 (InsetButtonRelease): ditto
7505 (InsetMotionNotify): ditto
7507 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7509 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7513 2001-03-26 Juergen Vigna <jug@sad.it>
7515 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7517 * insettext.C (ShowInsetDialog): implemented above function.
7519 * insettabular.C (ShowInsetDialog): ditto
7521 * insetminipage.C (ShowInsetDialog): ditto
7523 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7525 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7526 InsetInclude::Params. Don't store a buffer * in Params. Store the
7527 master file name instead.
7529 2001-03-23 Juergen Vigna <jug@sad.it>
7531 * insetcollapsable.C (InsetMotionNotify):
7532 (InsetButtonRelease):
7533 (InsetButtonPress): fixed y-offset (minipages).
7535 * insettext.C (draw): force a FULL update if cleared == true.
7537 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7538 routine to draw the minipages on its position-flag.
7539 (InsetInInsetY): give back the right y position, because of minipage
7542 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7545 * insetfloat.C (DocBook): docbook export code.
7547 2001-03-22 Juergen Vigna <jug@sad.it>
7549 * insetminipage.C (getMaxWidth): added function to set the drawing
7551 (Read): should work now!
7553 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7554 if we create a new inset.
7556 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7558 * figinset.C (fl_set_preemptive_callback): moved definition outside
7561 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7563 * insetminipage.C (Read): prepare for reading of minipage arguments.
7565 2001-03-18 Baruch Even <baruch@lyx.org>
7567 * insetgraphics.C: Minor cleanups of the comments and code.
7569 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7571 * insetminipage.C (InsetMinipage): default to not collapsed
7573 2001-03-16 Juergen Vigna <jug@sad.it>
7575 * insetminipage.C (width): modified with to be a string
7576 (widthp): added widthp (for % width) support functions.
7577 (InsetButtonRelease): added to open the options dialog on button==3.
7578 (~InsetMinipage): added to hide the dialog.
7580 * insetminipage.h: added hideDialog signal
7582 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7584 * insetminipage.h: change the order or Position to match
7585 LyXParagraph::MINIPAGE_ALIGNMENT
7587 * several files: remvoe CXX_WORKING_NAMESPACES
7589 * ExternalTemplate.h: noncopyable is in namespace boost
7590 * insetinclude.h: ditto
7591 * insetcommand.h: ditto
7593 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7595 * insettext.C (Edit): #else# -> #else.
7596 * insettoc.C: added using directive.
7598 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7600 * insetminipage.h: add pos, inner_pos, width and height. + getters
7601 and setters for all of them.
7603 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7605 * insetinclude.C (Latex): Do not exit when the textclass of the
7606 included file differ from the textclass of the parent file.
7608 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7610 * ExternalTemplate.C (read): the reading of external insets now checks
7611 for \end_inset and removes it form the input stream.
7613 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7615 * ExternalTemplate.h:
7616 * ExternalTemplate.C:
7618 * insetexternal.C: move form to GUII
7620 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7623 * insetinclude.C: add InsetIncludeParams, use
7624 composition rather than derivation of InsetCommand
7626 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7628 * insettoc.C (Ascii): use the Buffer typedefs
7630 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7632 * insettoc.C (Ascii): implement for dynamic number of lists
7634 * insetcaption.[Ch]: update from new_insets branch
7635 * insetfloat.[Ch]: ditto
7637 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7640 * figinset.C: use new File Dialog
7642 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7644 * insettext.C: changes becuase of ParagraphParameters.
7646 2001-02-28 Baruch Even <baruch@ev-en.org>
7648 * insetgraphics.C (updateInset): Changed due to the change in
7651 2001-02-26 Juergen Vigna <jug@sad.it>
7653 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7654 handled in LyXText).
7656 2001-02-23 Juergen Vigna <jug@sad.it>
7658 * insettext.C (draw): some small repainting fixes.
7659 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7661 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7662 should be) and not an int.
7664 * insettabular.C (LocalDispatch): ditto
7666 * insettext.C (LocalDispatch): ditto
7668 * insetcollapsable.C (LocalDispatch): ditto
7670 2001-02-22 Juergen Vigna <jug@sad.it>
7672 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7673 DISPATCH it and we don't have a locking_inset.
7675 2001-02-21 Baruch Even <baruch@ev-en.org>
7677 * insetgraphics.[Ch]: Changed to use
7678 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7680 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7682 * insetcollapsable.C (getLyXText): add const qualifier to second
7685 2001-02-22 Juergen Vigna <jug@sad.it>
7687 * insettext.C (getLyXText): honor the recursive parameter.
7688 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7690 * inset.C (getLyXText): added bool recursive parameter.
7692 * insettext.C (SetUpdateStatus): or the update codes.
7693 (draw): check need_update with &.
7694 (InsetButtonPress): set no_selection to not put a selection when
7695 entering an inset and it is redraws in another spot.
7697 * insettext.h: made need_update an int.
7699 2001-02-20 Baruch Even <baruch@ev-en.org>
7702 * insetgraphisc.C: Changed to use better semantics when loading images
7703 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7705 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7709 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7710 consistent with InsetTabular.
7712 2001-02-19 Juergen Vigna <jug@sad.it>
7714 * insettabular.C (LocalDispatch): implement PAGE up/down.
7716 * insettext.C (draw): clear all of it on need_update==INIT too!
7718 * insettabular.C (InsetUnlock): always clear the selection.
7720 * inset.C (scroll): normally we only want to scroll the inset until
7721 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7723 2001-02-14 Juergen Vigna <jug@sad.it>
7725 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7726 (resetPos): fixed scroll behaviour.
7727 (LocalDispatch): do an update if moving cursor inside a table cell
7728 requests a scroll of the tabular.
7730 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7732 * insettext.C (textWidth): constify local var
7734 * insettabular.C: small cleanup.
7736 * insetfoot.C (Latex): constify local var
7738 * insetcollapsable.C: small cleanup.
7740 * figinset.C (runqueue): use compare instead of strcmp
7742 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7745 * insetinfo.C: remove cruft
7747 2001-02-14 Juergen Vigna <jug@sad.it>
7749 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7751 2001-02-13 Juergen Vigna <jug@sad.it>
7753 * insettext.C (InsertInset): don't move left (is this right?)
7755 * insettabular.C (LocalDispatch): use of the no_draw variable
7757 * insettabular.h: new no_draw variable to stop redraw
7759 * insettabular.C (TabularFeatures): fixed update for alignment change
7761 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7765 * insetbib.C: move dialogs to frontends/
7767 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7769 * insettext.C (LocalDispatch): Restore the language if the inset
7772 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7774 * insettext.C (moveRightIntern): Update the selection cursor.
7775 (moveLeftIntern): Ditto.
7777 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7779 * Makefile.am: remove BoundingBox.h
7781 * BoundingBox.h: removed
7783 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7785 * insettext.C (LocalDispatch): Update selection cursor when moving
7786 cursor to the right.
7787 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7788 (moveLeftIntern): Ditto.
7790 2001-02-05 Baruch Even <baruch.even@writeme.com>
7792 * insetgraphics.C: Updated automatic image conversion, it now goes into
7793 temporary directory instead of with the image itself.
7795 2001-01-21 Baruch Even <baruch@ev-en.org>
7797 * insetgraphics.C: Added Docbook support. Added Automatic image
7798 conversion to EPS or PNG when needed (support bitmap graphics).
7800 2000-11-02 Baruch Even <baruch@ev-en.org>
7803 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7804 to '\n' and removal of commented out code.
7806 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7808 * insetbib.C (callback): Update citations if the key has changed.
7810 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7812 * insetbib.C (InsetBibKey): Better computation of default key.
7813 (getScreenLabel) Show both the key and the label.
7814 (getBibLabel): New method.
7815 (callback): Force a redraw if the inset have been changed.
7817 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7819 * insetref.C (getType, getName): Move methods from
7820 src/frontends/xforms/FormRef.C.
7822 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7824 * insettabular.C: Various improvements (use only one dummy position).
7826 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7828 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7829 par->bibkey->width. This fixes the crashes when running without
7830 gui or when having included documents.
7832 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7834 * insetcommand.C (getAsString, setFromString): Cleanup.
7836 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7838 * insetref.C: Add the array InsetRef::types that contains
7839 information about all supported reference types.
7841 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7843 * lyxinset.h: remove trailing comma in enum.
7845 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7847 * insettext.C: kill LyXBell.