1 2005-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insettabular.[Ch] (dist): make it a real member of insettabular
4 and rewrite it to use the actuall cell dimensions for calculation,
5 not the insettext's deimensions (fixes bug 1801).
7 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9 * insetbibtex.C: (addDatabase): do not check for substrings but
11 (delDatabase): make it actually work.
13 2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * insetgraphics.C (stripExtensionIfPossible): adjust test for "
17 2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * insetgraphics.C (prepareFile): don't strip the extension of quoted
21 * insetgraphics.C (stripExtensionIfPossible): fix lyxdot replacement
23 2005-06-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * insettabular.C (getStatus): disable LFUN_TABULAR_INSERT
26 when multiple cells are selected (bug 1837).
28 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * insetoptarg.C (InsetOptArg): make the inset open by default
33 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * insetvspace.C (draw): use VSpace::asGUIName.
37 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
40 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
41 cur.noUpdate() if nothing changed
42 * insetlatexaccent.[Ch]: spelling fixes
44 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
46 * insetcollapsable.C (doDispatch): fix
47 click-on-closed-collapsable-inset-crash bug.
49 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
51 * insettabular.C (pasteSelection):
52 * insettext.h (copy c'tor): fix paste inside tabulars.
54 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * insetoptarg.C (plaintext): add dummy method.
58 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
60 * insetbase.h (doDispatch): document a bit more
61 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
62 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
63 cur.bv().update(), because that leads to nested updates. Call
64 cur.noUpdate() instead where approriate.
66 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
68 * insetbibtex.C: change screen label
70 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
72 2005-05-06 José Matos <jamatos@lyx.org>
74 * insetcommandparams.C (scanCommand): fix out of range string access.
76 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
78 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
80 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
81 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
84 handle undefined character styles
85 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
86 handle undefined character styles
88 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
91 in getStatus and the tabularFeature string (bug 1860).
93 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * insetbranch.C (getStatus): make the code more compact
97 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * insetcollapsable.C (doDispatch): do not pass through double/triple
100 click events when they are not in the insetext (bug 1797).
102 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * insetbase.h: document a bit more
105 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
106 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
107 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
108 (getStatus): implement
109 * insetcollapsable.[Ch] (hitButton): take a const argument
110 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
113 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * insetcollapsable.C (doDispatch): pass through double/triple
116 click events (bug 1811).
118 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
122 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
123 but the SENSITIVE label type.
125 2005-04-18 Angus Leeming <leeming@lyx.org>
127 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
128 'use_latex_path' argument. In turn, passed to the new subst_path
129 function when replacing placeholders with paths.
131 * insetexternal.C (getScreenLabel):
132 * ExternalSupport.C (lots of places): change invocation of
133 doSubstitution in lots of places, specifying the appropriate values
134 for this 'use_latex_path' boolean.
136 * insetbib.C (latex):
137 * insetgraphics.C (latex):
138 * insetinclude.C (latex): pass path to latex_path rather than to
141 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
143 * insetcharstyle.C (validate): allow nested charstyle insets
145 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
149 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * insetfloat.C (InsetFloat):
152 * insetwrap.C (InsetWrap): do not set layout here.
154 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
156 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
158 * insetbase.h (getStatus): add more documentation
159 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
162 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
164 * insetcharstyle.C (metrics, draw):
165 * insetert.C (metrics, draw):
166 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
169 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
171 * insetexternal.C (validate):
172 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
173 multiple Requirements in external material template
175 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
177 * insettext.C (drawFrame): cosmetic fix
179 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
181 * ExternalSupport.C (writeExternal):
182 * insetgraphics.C (latex):
183 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
184 mis-count in computing latex error location
186 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
188 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
189 make it *not* descend into insets (fix a crash). Move the part
190 needed from editXY to a new function getNearestCell
192 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * insetinclude.C (InsetInclude): when constructing from another
195 InsetInclude, set set_label_ to false, since the value is never
198 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
202 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
204 * insettabular.C (drawSelection): cosmetic bugfix
206 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * insettabular.C (doDispatch): get middle mouse button back again
209 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
210 when only a part of the cell is selected (fix bug 1799)
212 * insettabular.C: handle some more character attributes in
213 M. Vermeers method (when multiple cells in tables are selected);
214 disable some more senseless lfuns when multiple cells are selected
216 Move to end of cell instead of beginning when coming from the cell
219 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
221 * insettabular.C: make applying character attributes
222 possible for multiple cells in tables. Disable collapsable
223 insets for multiple-cell selection in table (Jürgen S.)
224 Bug reported by Helge Hafting.
226 2005-02-25 Andreas Vox <avox@arcor.de>
228 * insetmarginal.[hC] (docbook): new method, render as <note>
230 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
232 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * insetcaption.[Ch] (doClone): implement
236 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * insetgraphics.C (prepareFile): handle non-existing files
239 * insetgraphics.C (latex): remove special handling of non-existing
242 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
244 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
245 * insettext.C: adjust metrics
247 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * insettext.C: include boost/current_function.hpp (needed when
250 assertions are disabled)
252 2005-02-20 André Pönitz <poenitz@gmx.net>
254 * insetcollapsable.C: Prevent problems on double-/
255 tripleclick on collapsable label (bug 1797).
257 2005-02-13 André Pönitz <poenitz@gmx.net>
259 * insettext.[Ch] (border_): new
260 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
263 2005-02-14 Angus Leeming <leeming@lyx.org>
265 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
266 about "truncation of constant value".
268 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
271 workaround for broken HTML converter)
273 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * insetcollapsable.C (leaveInset): size() -> depth()
276 * insettabular.C (isRightToLeft): ditto
278 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * insetert.C (latex, linuxdoc, docbook): remove newline handling
281 * insetert.C (doDispatch): clean pasted paragraphs
282 * insetert.C (getStatus): suppress more lfuns
283 * insetert.C (insetAllowed): return always false
285 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
290 * updatableinset.C: Use new cursor accessors.
292 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
294 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
296 2005-01-31 Angus Leeming <leeming@lyx.org>
298 * insetgraphicsParams.C: protect a #warning preprocessor call
299 with a #ifdef WITH_WARNINGS guard.
301 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
303 * Several files: use convert<> instead of atoi,strToXXX and friends
305 2005-01-23 Angus Leeming <leeming@lyx.org>
307 * insetbibitem.h (bibitemWidest): declare the function.
309 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
311 * insetgraphics.C (prepareFile): move the invocation of the default
312 converter to ../converter.C
313 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
314 call convert with try_default == true
316 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
319 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
320 determines what variables are substituted
321 * ExternalSupport.C (updateExternal): fix substitution of
324 2005-01-10 Angus Leeming <leeming@lyx.org>
326 * ExternalTemplate.C: use support/package.h to provide the paths to the
327 various directories used by LyX.
329 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
337 * ExternalTransforms.C (adjAngle): tostr -> convert
339 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
341 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
344 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
346 * ExternalTransforms.C: fix LaTeX output of \scalebox.
348 * ExternalTransforms.[Ch]:
349 * insetexternal.C: store all float/double values as strings.
352 * insetgraphicsParams.C: more precise checks for the value strings.
354 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * insettext.C (doDispatch): remove unused variable was_empty
358 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * insetgraphicsParams.[Ch]: store all float/double values as strings.
363 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
365 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
367 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
369 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
370 UNSET_ALL_LINES (from Jürgen)
372 2004-12-14 Angus Leeming <leeming@lyx.org>
374 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
375 to overcome bug in the MinGW port of g++ 3.4.2.
377 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
379 * insettabular.C (getCellXPos): make it return a relative x
380 position wrt. the begin of the tabular
381 (resetPos): a couple of fixes
382 (doDispatch): add a couple of resetPos calls
383 (drawSelection): fix drawing of selection in single-cell mode
384 (draw): replace 'do not draw' optimization by 'draw with
387 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
389 * insetbase.[Ch] (idxUpDown2): remove function
391 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * insettabular.[Ch]: use size_t-like types for cell, row and column
396 2004-12-02 José Matos <jamatos@lyx.org>
398 * insetlatexaccent.C (checkContents): remove compatibility code,
401 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
403 * insetbase.h (getStatus): add better comment from src/cursor.C
405 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
407 * insettabular.[Ch]: adjust, introduce "do not draw
408 offscreen" optimization using NullPainter, (dist): introduce,
409 (getCursorPos): implement, (drawSelection): implement
411 * insetcollapsable.[Ch]: adjust
413 * insettext.C: adjust, (metrics): set the font before calling
416 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
418 * rename a lot of InsetOld to InsetBase
420 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
423 * insettext.C: par->pit renaming
425 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
427 * Most insets: rename priv_dispatch to doDispatch
429 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
431 * insettabular.C (tabularFeatures): fix multicolumn handling
433 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
435 * render_base.h (operator=): use common semantics
437 * insettext.C (operator=): delete this
438 (copy constructor): implement this properly
439 (init): use for_each and bind
441 (appendParagraphs): ditto
443 * insettabular.C: add more const. Adjust for changes in tabular.
445 * insetbase.h: Use NVI on clone. Add virtual doClone and update
446 all children, also make copy constructor protected. Added some
447 safe-guards to clone.
449 * insets: adjust to fit.
451 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * insetoptarg.C (latexOptional): return number of lines instead of
456 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * insettabular.[Ch] (string2params): Don't pretend to return the
459 active cell anymore and simplify keyword parsing.
461 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * insetlatexaccent.h (isLetter): implement, so that word selection
464 takes accents into account.
466 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
468 * insetcollapsable.C (priv_dispatch): do not push the inset to the
471 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * ExternalSupport.C, insetgraphics.C:
474 s/getFormatFromContents/formats.getFormatFromFile/
476 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * insetcharstyle.[Ch]:
479 * insetert.[Ch]: implement getStatus
481 * insetcharstyle.C (draw): visual clue when the cursor is inside
484 2004-11-02 José Matos <jamatos@lyx.org>
486 * insetcharstyle.C (docbook):
487 * insetlabel.C (linuxdoc, docbook):
488 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
491 * insettabular.C (docbook): mixed content no longer belongs to
494 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
496 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
498 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
500 * ExternalSupport.C (updateExternal): convert files in the temp dir
502 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * insetcharstyle.C: drawing cosmetics.
506 2004-10-30 José Matos <jamatos@lyx.org>
508 * insetcharstyle.C (docbook): a compromisse solution. Don't output
509 paragraph tags inside inline elements.
511 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
514 InsetText methods rather than outputVerbatim (escapes special
515 characters) [bug 1731]
516 * insetcharstyle.C (outputVerbatim): remove this function.
517 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
518 which caused an infinite loop.
520 2004-10-29 José Matos <jamatos@lyx.org>
522 * insetgraphics.C (uniqueID): transfered to sgml.C
524 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
526 * insetlabel.C (docbook, linuxdoc):
527 * insetref.C (docbook, linuxdoc): sanitize id.
529 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
532 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
533 * insetgraphics.C (findTargetFormat): reformat
535 2004-10-28 José Matos <jamatos@lyx.org>
537 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
539 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
541 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
543 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
545 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
546 "[,,,]" without warning message
548 2004-10-26 Angus Leeming <leeming@lyx.org>
550 * ExternalSupport.C (updateExternal):
551 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
552 external files to the temp directory.
554 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
556 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
557 layouts. This fixes problems with the memoir class (which does not
558 allow \footnote) [bug 1677]
560 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
562 * insetindex.C (docbook): escape the index, to generate correct sgml.
564 2004-10-23 José Matos <jamatos@lyx.org>
566 * insettext.C (docbook): rearrange arguments, due to change in the
569 2004-10-23 André Pönitz <poenitz@gmx.net>
571 * insettabular.C (cutSelection, tabularFereatures):
572 fix cursor position after cutting selection or table rows
574 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
576 * insetgraphics.C (docbook, writeImageObject): write more than one
577 format of imageobjects in <mediaobject>.
579 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
581 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
582 DocBook output for this inset ( <citation>content</citation> )
584 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
586 * insetgraphics.C (docbook) : using mediaobject for XML;
587 correcting bug with SGML output (now '>' instead of '/>')
589 2004-10-05 José Matos <jamatos@lyx.org>
591 * insetfloatlist.C (read):
592 * insetquotes.C (read):
593 * insetspace.C (read):
594 * insetspecialchar.C (read):
595 * insettabular.C (read): replace nextToken by more appropriate lex
598 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
600 * insetgraphics.C (createDocBookAttribute, docbook) :
601 convert scale, width, height and keepaspectratio to Docbook standards)
603 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
604 to Docbook units where possible.
606 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
608 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
610 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
611 as attributes with new method for docbook.
613 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
615 * render_preview.h: Use preferred calling of Boost.Signal
617 * pch.h: use proper signal include
619 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
621 * ExternalTransforms.h: User preferred calling of Boost.Function
623 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
625 * insetref.C (docbook): fixing problem where Docbook XML output
626 had unclosed <xref ... >
628 2004-08-16 José Matos <jamatos@lyx.org>
630 * insethfill.C (write):
631 * insetline.C (write):
632 * insetnewline.C (write):
633 * insetpagebreak.C (write): remove space at end of line.
635 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * insettabular.C (plaintext): do not use ownerPar to get the
640 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
641 and it calls getParentLanguage (which calls ownerPar)
642 (edit): do not call sanitizeEmptyText
643 (priv_dispatch): remove code resetting font on empty inset, for
644 the same reasons as above.
646 * insettabular.C (isRightToLeft): instead of using
647 BufferView::getParentLanguage, use the data from the cursor
649 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
653 * Makefile.am: support pch
655 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * insettabular.C (draw): whitespace
659 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
661 2004-08-14 André Pönitz <poenitz@gmx.net>
663 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
665 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * insettabular.C (metrics): when the width of a cell is zero(),
668 let it use as much space as it can
670 * insettext.C (editXY): compilation fix
672 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
674 (metrics): the insets is not full width any more.
675 (draw): adjust; fix bad test for PREVIEW_OFF
676 (add_preview): fix bad test for PREVIEW_OFF
677 (display): do not return true when using \input
679 2004-08-14 José Matos <jamatos@lyx.org>
681 * insetbibitem.[Ch] (plaintext): added.
683 * insetcite.[Ch]: fix plaintext export.
685 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
687 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
690 * insetcaption.C (InsetCaption): modify call to setDrawFrame
691 * insetcollapsable.C (InsetCollapsable): ditto
692 * insetenv.C (InsetEnvironment): ditto
694 2004-08-14 André Pönitz <poenitz@gmx.net>
697 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
699 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * insetoptarg.C (latexOptional): if the optional argument contains
702 a ']' enclose it in {curly brackets}
704 * insettext.C (editXY):
705 * insettabular.C (editXY):
706 * insetcollapsable.C (editXY):
707 * insetbase.C (editXY): constify
709 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
710 not ask for an update if we did nothing; on a mouse release, make
711 sure that the cursor is moved to the right position; on a mouse
712 release, exit from the inset instead of invoking a
715 * insetbase.C (dispatch): before invoking dispatch, set cursor
716 result to dispatch=update=true.
718 2004-08-13 José Matos <jamatos@lyx.org>
720 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
722 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * insetfoot.C (latex): use OutputParams::intitle instead of
725 parOwner() (avoids time consuming lookup)
727 * insetquotes.C (latex): same as above with OutputParams::lang.
728 Moreover the code actually works now.
730 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
733 * insetinclude.C, insetgraphics.C, insetfloat.C:
734 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
735 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
736 "support/std_sstream.h" to <sstream>
738 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
740 * insetgraphics.C (prepareFile): remove conversion_needed flag.
741 It made the following fail for a .eps graphics file:
743 2) view->pdf (pdflatex)
744 because the .eps file was already in the temp dir when the pdflatex
745 export happened and therefore no .eps -> pdf conversion was done.
747 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * insetgraphics.C, insettabular.C: s/wether/whether/g
751 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * insetgraphics.C (stripExtension): new
754 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
756 * insetgraphics.C (prepareFile): Handle "nice" exports, too
757 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
759 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
761 * insetfloatlist.C (latex,getScreenLabel): translate according to
762 the document language (bug #1312)
764 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
766 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
767 with external_in_tmpdir and compute filename ourself
768 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
769 use it to store referenced file(s)
770 * ExternalSupport.C (writeExternal): write relative filename if
772 * ExternalTemplate.[Ch]: add ReferencedFile command
773 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
775 * insetgraphics.C (prepareFile): write relative filename if
777 * insetinclude.C (latex, docbook, linuxdoc): add file to
778 runparams.exportdata and write it to the temp dir instead of
779 writing it to the final destination
780 * insetinclude.C (docbook, linuxdoc): don't copy runparams
782 2004-05-19 Angus Leeming <leeming@lyx.org>
784 * insetcite.[Ch]: small change because namespace biblio is
785 now namespace lyx::biblio.
787 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
789 * insettabular.[Ch] (buffer): make Buffer * argument const
791 2004-05-17 Angus Leeming <leeming@lyx.org>
793 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
794 to force the button label to be re-generated.
796 2004-05-14 José Matos <jamatos@lyx.org>
798 * insetlabel (docbook): do not ouput label, for the moment.
800 2004-05-14 Angus Leeming <leeming@lyx.org>
802 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
803 new biblio::asValidLatexString function.
805 2004-05-12 Angus Leeming <leeming@lyx.org>
807 * insetcite.C: use BufferParams::cite_engine rather than the three
808 bools, use_natbib, use_jurabib, use_numerical_citations.
810 2004-05-10 Angus Leeming <leeming@lyx.org>
812 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
813 Ditto with getStyle, moved to biblio::getEngine.
815 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
817 * insetgraphics.C (validate): remove pre 233 file format stuff,
818 handle zipped files for "nice" export
820 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
822 * insetgraphics.C (prepareFile): copy zipped file and corresponding
823 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
824 * insetgraphics.C (prepareFile): unzip zipped file also if it has
825 changed since the last run
826 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
827 and copyFileIfNeeded.
829 2004-04-29 Angus Leeming <leeming@lyx.org>
831 * ExternalTemplate.[Ch]: remove redundant #includes.
833 2004-04-28 Angus Leeming <leeming@lyx.org>
836 s/updateToolbar()/updateToolbars()/
838 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
840 * insetgraphics.C: require file extension (file format change!)
841 * insetgraphics.C (latex): handle zipped files for "nice" export
843 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
845 * insetgraphics.C (latex): strip the extension and replace dots in
846 the filename if doing a "nice" export. This is a partial fix for
847 bug 1231 without reintroducing bug 655.
849 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
851 * insetoptarg.h: remove the editable() method (InsetCollapsable
852 does it better already)
854 * insetbibtex.C (normalize_name): new helper function. Changes the
855 name to be suitable to use in a latex file (relative to master
856 buffer if necessary).
857 (latex): use normalize_name.
859 2004-04-20 Angus Leeming <leeming@lyx.org>
861 * render_preview.C (startLoading): remove lyxerr statement.
863 (getPreviewLoader): new helper function.
865 2004-04-19 Angus Leeming <leeming@lyx.org>
869 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
871 2004-04-19 Angus Leeming <leeming@lyx.org>
873 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
875 (add_preview): renamed as add_preview_and_start_loading. Invoke
876 RenderPreview::startLoading.
878 * insetinclude.C (metrics, draw): changes due to the changed
879 RenderPreview interface.
881 * render_preview.C: remove cached pimage_.
882 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
883 (draw): don't call startLoading. That's up to the user of
886 2004-04-16 Angus Leeming <leeming@lyx.org>
888 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
890 2004-04-13 Angus Leeming <leeming@lyx.org>
892 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
893 the renderer to inform LyX::updateInset that the inset's status
894 has changed and it should be redrawn.
896 * render_button.[Ch] (clone):
897 * render_graphic.[Ch] (c-tors, clone):
898 * render_preview.[Ch] (c-tors, clone): ditto.
900 * render_graphic.[Ch] (connect):
901 * render_preview.[Ch] (connect): removed, as connection is now
902 made in the constructors.
906 * insetinclude.C: ensuing simplification of the client code.
907 (statusChanged): now superfluous. Removed.
909 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
911 * ExternalTemplate.[Ch]: remove editCommand
912 * ExternalSupport.C (editExternal): use formats.edit() instead of
913 the removed editCommand template parameter
914 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
915 * insetgraphics.[Ch] (editGraphics): new method
917 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
919 * insetinclude.C (validate): set/reset features.buffer_ when
922 2004-04-07 Angus Leeming <leeming@lyx.org>
924 * insetexternal.C (priv_dispatch):
925 * insetinclude.C (priv_dispatch): prevent crash by invoking
926 InsetOld::priv_dispatch at the end of the switch, rather than
927 InsetOld::dispatch...
929 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
931 * insetcollapsable.C:
932 * insetbranch.C: 'assign' to open/close branch inset according to
933 selection; also print content on closed branch button
935 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
938 $$RelPath_Master, $$RelPath_Parent, $$Extension,
939 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
941 * ExternalSupport.C (updateExternal): use absolute and output
942 filename where appropriate
944 2004-04-05 André Pönitz <poenitz@gmx.net>
946 * insetbase.h: use LCursor & in notifyCursorLeave
948 2004-04-05 Angus Leeming <leeming@lyx.org>
950 * insetgraphics.C: remove unused header file "lyxrc.h".
952 * render_graphic.C: squash bug 1372: Misleading graphics label when
953 deactivating lyx view.
955 2004-04-05 Angus Leeming <leeming@lyx.org>
960 * insetlatexaccent.C:
965 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
967 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
969 * insetfloat.C (read): fix yesterday's float fix.
970 * insetwrap.C (read): apply the fixed float fix.
972 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * insetfloat.C (read): fix reading of float params
977 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
979 * insettext.C (edit): comment the call to updateLocal (dangling now)
980 * insettext.h: add allowSpellCheck() returning true
982 2004-03-31 Angus Leeming <leeming@lyx.org>
984 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
986 2004-03-31 Angus Leeming <leeming@lyx.org>
988 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
989 the cursor out of an inset.
991 * insetbranch.C (priv_dispatch):
992 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
993 use getOutOfInset to push the cursor out of the inset when
996 2004-03-30 Angus Leeming <leeming@lyx.org>
998 * insetbase.[Ch] (translate): new static member function, returns
999 an InsetBase::Code corresponding to the input string.
1001 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
1003 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
1004 so that it opens the inset if it refers to the currently active
1007 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1009 * insetfloat.C (addToToc): use par_const_iterator_begin and
1010 par_const_iterator_end.
1012 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1014 * insetbibtex.[Ch]: bibtopic support.
1016 * insetfloat.[Ch]: add param \sideways {true|false}
1017 (support for sideways floats from rotating.sty).
1019 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1021 * insettext.[Ch]: add a default ctor. implement const version of
1027 * insetwrap.C: adjust
1029 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1031 * insettext.h: add insetAllowed returning true by default (fixing
1032 vanishing insets problem)
1034 * insettext.C (draw): handle the responsability of adding the
1035 ouside offset to collapsable. Clean code a bit.
1037 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1038 from insettext correctly, solve a couple of off-by-one drawing
1041 2004-03-25 Angus Leeming <leeming@lyx.org>
1043 * insetcaption.C (draw): squash warning about unused variable.
1045 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1047 * ExternalSupport.C: use the master buffer's temp dir
1048 * insetgraphics.C (latex): make relative filename relative to the
1050 * insetgraphics.C: use the master buffer's temp dir
1051 * insetinclude.C (masterFilename): new function
1052 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1053 is always true if loadIfNeeded() returns true)
1055 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1057 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1058 set its parent to the current buffer.
1059 (latex): use the tmppath of the master buffer, not just the parent
1060 buffer (makes a difference with more than one level of include
1061 insets). If the file name is relative write in the .tex file a
1062 name relative to the master buffer directory.
1064 * insetinclude.C: rename masterFilename to parentFilename (this
1065 points to the direct parent)
1067 2004-03-25 André Pönitz <poenitz@gmx.net>
1069 * inset.[Ch]: remover owner
1071 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1079 * insetcharstyle.[Ch]:
1087 * insetwrap.C: adjust
1089 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * insetquote.C: use opening quote after '[' char.
1093 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1095 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1098 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1100 * insetcite.[Ch]: support jurabib.
1102 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1104 * insetcite.C: Support second \cite option.
1106 * insetcommand.[Ch]:
1107 * insetcommandparams.[Ch]: add second optional argument.
1109 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1111 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1112 shows the inset dialog.
1114 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1116 * insetlabel.[Ch]: remove them
1117 * Makefile.am: adjust
1119 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1121 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1123 * insetinclude.C (latex): show a GUI warning if textclasses don't
1125 * insetinclude.C: use mangledFilename() for temp files
1126 * insetgraphics.C (readInsetGraphics): remove version check, since
1127 the graphics inset has no own fileformat number anymore
1129 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1131 * insetquotes.[Ch]: added new member that allows direct access
1132 to single/double quotation marks.
1133 * insetnewline.[Ch]:
1134 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1136 2004-02-16 André Pönitz <poenitz@gmx.net>
1139 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1140 implicitly assume 'DispatchResult(true, true) with exception of
1141 InsetBase::priv_dispatch which does the equivalent of
1142 'retrun DispatchResult(false)'
1144 * inset*.[Ch] (priv_dispatch): adjust
1146 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1147 simplify cursor moving function,
1148 re-enable horizontal scrolling for large tables
1150 2004-02-13 André Pönitz <poenitz@gmx.net>
1152 * insettabular.[Ch]: some work after IU
1154 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1156 * inset.C (setPosCache): switch to absolute coords in insets
1157 * insettext.[Ch] (draw, drawFrame): adjust
1158 * insetcollapsable.C (draw): adjust
1161 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1163 * insettext.C (edit):
1164 (updateLocal): use the cur argument instead of the global cursor
1165 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1167 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1169 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1171 * insetfloat.C (validate): "H" -> 'H' in call to contains
1173 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1175 2004-01-30 André Pönitz <poenitz@gmx.net>
1179 * insetcollapsable.[Ch]:
1182 * insetgraphics.[Ch]:
1184 * insettabular.[Ch]:
1187 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1190 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1192 * insettabular.C: add using statement for std::vector, remove
1193 std:: where using was already used.
1195 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1197 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1199 * insetinclude.C (validate): use feautures.nice() instead of
1202 2004-01-20 André Pönitz <poenitz@gmx.net>
1205 * insetbase.[Ch]: move stuff from mathcursor here.
1207 * insetbibitem.[Ch]:
1211 * insetcharstyle.[Ch]:
1212 * insetcollapsable.[Ch]:
1213 * insetcommand.[Ch]:
1215 * insetexternal.[Ch]:
1217 * insetgraphics.[Ch]:
1218 * insetinclude.[Ch]:
1222 * insettabular.[Ch]:
1226 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1229 2004-01-15 André Pönitz <poenitz@gmx.net>
1232 * insetbibitem.[Ch]:
1236 * insetcharstyle.[Ch]:
1237 * insetcollapsable.[Ch]:
1238 * insetcommand.[Ch]:
1240 * insetexternal.[Ch]:
1242 * insetgraphics.[Ch]:
1243 * insetinclude.[Ch]:
1247 * insettabular.[Ch]:
1251 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1253 2004-01-08 André Pönitz <poenitz@gmx.net>
1255 * insetcollapsable.[Ch]:
1256 * insettabular.[Ch]:
1258 * updatableinset.h: use cell index info from global cursor.
1260 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1262 * insetnote.C (InsetNoteParams::write): write label only once
1264 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1266 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1268 get rid of the SameName functor
1270 * insettabular.C: improve the functor.
1272 2003-12-29 Angus Leeming <leeming@lyx.org>
1274 * insetexternal.C (setParams): update defaultTemplateName.
1276 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1278 * insetbox.C: Use term "Box" in button label
1280 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1282 * insetcharstyle.C: get getDrawFont working again
1284 2003-12-15 André Pönitz <poenitz@gmx.net>
1286 * insettabular.[Ch]:
1287 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1289 2003-12-12 Angus Leeming <leeming@lyx.org>
1291 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1293 (InsetBranchParams): remove the branchlist hack.
1294 (isBranchSelected): new function, used to decide whether to
1295 print each output format. Also used by InsetList.
1296 (read, string2params): repair my own breakage ;-)
1298 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1300 * insetminipage.[Ch]: remove from repository.
1302 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1305 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1306 insetert to insetcollapsable; introduce virtual function
1307 setButtonLabel and invoke it from collapsable
1309 2003-12-12 Angus Leeming <leeming@lyx.org>
1311 * insetinclude.C (draw): cache x,y and so enable the
1312 dialog to be opened.
1314 2003-12-12 Angus Leeming <leeming@lyx.org>
1316 * mailinset.C (print_mailer_error): tidy up the output.
1318 2003-12-11 Angus Leeming <leeming@lyx.org>
1320 * mailinset.[Ch] (print_mailer_error): new helper function.
1322 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1323 calling InsetCommandMailer.
1324 (InsetCommandMailer::string2params): pass the name of the dialog.
1326 * insetbibitem.[Ch] (d-tor):
1327 * insetbibtex.[Ch] (d-tor):
1328 * insetcite.[Ch] (d-tor):
1329 * insetfloatlist.[Ch] (d-tor):
1330 * insetindex.[Ch] (d-tor):
1331 * insetlabel.[Ch] (d-tor):
1332 * insetref.[Ch] (d-tor):
1333 * insettoc.[Ch] (d-tor):
1334 * inseturl.[Ch] (d-tor): removed.
1335 Hiding the dialog is handled by InsetCommand.
1337 * insetbibtex.[Ch] (draw, metrics):
1338 * insetfloatlist.[Ch] (draw, metrics):
1339 * insetindex.[Ch] (draw, metrics): removed.
1340 Drawing is handled by InsetCommand.
1342 * insetbibitem.[Ch] (priv_dispatch):
1343 * insetbibtex.[Ch] (priv_dispatch):
1344 * insetcite.[Ch] (priv_dispatch):
1345 * insetfloatlist.[Ch] (priv_dispatch):
1346 * insetindex.[Ch] (priv_dispatch):
1347 * insetlabel.[Ch] (priv_dispatch):
1348 * insettoc.[Ch] (priv_dispatch):
1349 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1350 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1351 LFUN_INSET_DIALOG_SHOW.
1353 * insetbox.C (string2params):
1354 * insetbranch.C (string2params):
1355 * insetert.C (string2params):
1356 * insetexternal.C (string2params):
1357 * insetfloat.C (string2params):
1358 * insetinclude.C (string2params):
1359 * insetminipage.C (string2params):
1360 * insetnote.C (string2params):
1361 * insetvspace.C (string2params):
1362 * insetwrap.C (string2params): over-hauled.
1364 2003-12-10 Angus Leeming <leeming@lyx.org>
1366 * insetexternal.[Ch]: add a draft option and respect it when
1369 2003-12-10 Angus Leeming <leeming@lyx.org>
1371 * insetbox.C: (read, write): now prepend the inset contents with
1372 'Box' to identify the inset as a box inset.
1374 * insetbox.h: move the translators out of sight.
1376 2003-12-10 Angus Leeming <leeming@lyx.org>
1378 * insetert.C (string2params): clean-up using the new lyxlex interface.
1380 * insetexternal.C: ensure that InsetExternalParams has a default
1381 template, 'RasterImage'.
1383 2003-12-10 Angus Leeming <leeming@lyx.org>
1385 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1386 to an enum. Ensuing clean-ups through out the class.
1387 (read, write): now prepend the inset contents with 'Note' to identify
1388 the inset as a note inset.
1390 2003-12-10 Angus Leeming <leeming@lyx.org>
1392 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1393 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1395 2003-12-10 André Pönitz <poenitz@gmx.net>
1399 * insettabular.[Ch]:
1400 * insettext.[Ch]: remove unused insetInset()
1402 * insetert.C: disable some LFUNs
1404 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1406 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1408 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1410 2003-12-04 Angus Leeming <leeming@lyx.org>
1412 * insetexternal.C (draw): update the xo_, yo_ cache.
1414 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1416 (RotationDataType): new helper struct wrapping the
1417 RotationData::OriginType enum.
1419 2003-12-03 André Pönitz <poenitz@gmx.net>
1421 * inset.h: remove getParagraphs()
1423 * insetcollapsable.[Ch]:
1426 * insettabular.[Ch]:
1427 * insettext.C: use getText() instead of getParagraphs()
1429 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1431 * insetert.C: fix label text updating bug
1433 2003-12-02 Angus Leeming <leeming@lyx.org>
1435 * insetvspace.[Ch] (space): new member function. Make space_ private.
1436 (read): use the new, simpler lyxlex syntax.
1438 2003-12-01 André Pönitz <poenitz@gmx.net>
1440 * insetcollapsable.[Ch]:
1441 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1443 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1445 * insetvspace.C (read): handle 'end_inset' token.
1447 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1449 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1451 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1453 * insetcollapsable.[Ch]:
1455 * insetcharstyle.C: place inset content on the button when
1458 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1460 * insetvspace.C: remove VSpace::NONE; increase inset width
1462 2003-12-01 André Pönitz <poenitz@gmx.net>
1464 * insetbase.h: whitespace
1466 * inset.[Ch]: remove latexTextWidth
1467 make setBackgroundColor virtual
1469 * insettext.[Ch]: move ParagraphList member to LyXText
1471 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1477 * insetminipage.[Ch]:
1479 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1481 2003-11-28 Angus Leeming <leeming@lyx.org>
1483 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1484 hiding and showing the dialog respectively.
1485 (priv_dispatch): also actually update the inset contents.
1487 2003-11-28 Angus Leeming <leeming@lyx.org>
1489 * insetbox.C (d-tor):
1490 * insetbranch.C (d-tor):
1491 * insetcite.C (d-tor):
1492 * insetfloat.C (d-tor):
1493 * insetfloatlist.C (d-tor):
1494 * insetinclude.C (d-tor):
1495 * insetindex.C (d-tor):
1496 simplify the invocation of the Mailer::hideDialog() function.
1498 * insetminipage.C (showInsetDialog):
1499 simplify the invocation of the Mailer::showialog() function.
1501 2003-11-28 André Pönitz <poenitz@gmx.net>
1504 * insetvspace.[Ch]: new insets
1506 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1508 * insetcharstyle.C: Syntax change for CharStyles
1510 2003-11-28 André Pönitz <poenitz@gmx.net>
1512 * updatableinset.h: remove insetInInsetY
1514 * insetcollapsable.[Ch]:
1516 * insettabular.[Ch]:
1517 * insettext.[Ch]: adjust
1519 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1523 * insetcollapsable.[Ch]:
1525 * insettabular.[Ch]: remove setFont
1527 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1529 * render_graphic.[Ch]: adjust comments
1531 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1533 * insetgraphics.C (draw): cache xo_ & yo_
1535 2003-11-24 André Pönitz <poenitz@gmx.net>
1537 * insettext.C (setViewCache): don't call LyXText::init() anymore
1539 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1542 * insetcollapsable.[Ch]:
1543 * insetert.[Ch]: remove bufferview parameter in methods
1544 open, close, status, and updateStatus.
1546 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1548 * insetcollapsable.[Ch]:
1549 * insettabular.[Ch]:
1550 * insettext.[Ch] (getCursorDim): squash unused variable
1552 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1554 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1556 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1558 * insettext.C (draw): sets LyXText absolute coordinates
1560 2003-11-20 Angus Leeming <leeming@lyx.org>
1562 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1563 warnings about unused parameters.
1565 * insetcollapsable.C (open):
1566 * insettabular.C (pasteSelection):
1567 * insettoc.C (draw): ditto.
1569 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1571 * insetcollapsable.C:
1573 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1574 remove mouse_x mouse_y etc.
1576 2003-11-17 André Pönitz <poenitz@gmx.net>
1578 * insettext.[Ch] (cx, cy): remove
1580 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1582 2003-11-13 André Pönitz <poenitz@gmx.net>
1585 * insetcollapsable.[Ch]:
1586 * insettabular.[Ch]:
1587 * insettext.[Ch] (deleteLyXText): remove
1589 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1591 * insetcollapsable.[Ch] (fitInsetCursor): remove
1592 * insettabular.[Ch] (fitInsetCursor): remove
1593 * insettext.[Ch] (fitInsetCursor): remove
1594 * updatableinset.[Ch] (fitInsetCursor): remove
1595 (getCursorDIm): add virtual
1597 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1599 * src/insets/Makefile.am:
1600 * src/insets/inset.h:
1601 * src/insets/insetcharstyle.C:
1602 * src/insets/insetcharstyle.h: The Character Style /XML short
1605 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1607 * insettext.C: remove all update calls
1608 * insetcollapsable.C: remove all update calls
1610 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1612 * insettext.C (updateLocal, insertInset, setFont): remove
1615 2003-11-10 André Pönitz <poenitz@gmx.net>
1617 * inset.h: remove Inset::id_
1619 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1624 2003-11-10 André Pönitz <poenitz@gmx.net>
1628 * insetcollapsable.[Ch]:
1632 * insettabular.[Ch]:
1635 * updatableinset.[Ch]: remove inset locking & adjust
1637 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1639 * inset.h (allowSpellCheck): add (return true)
1640 * insetert.h (allowSpellCheck): add (return false)
1642 2003-11-05 José Matos <jamatos@lyx.org>
1648 * insetcaption.[Ch]:
1650 * insetcollapsable.[Ch]:
1651 * insetcommand.[Ch]:
1654 * insetexternal.[Ch]:
1656 * insetfloatlist.[Ch]:
1658 * insetgraphics.[Ch]:
1660 * insetinclude.[Ch]:
1663 * insetlatexaccent.[Ch]:
1666 * insetmarginal.[Ch]:
1667 * insetminipage.[Ch]:
1668 * insetnewline.[Ch]:
1671 * insetpagebreak.[Ch]:
1675 * insetspecialchar.[Ch]:
1676 * insettabular.[Ch]:
1678 * insettheorem.[Ch]:
1681 * insetwrap.[Ch]: rename ascii to plaintext
1682 and LatexRunParams to OutputParams.
1684 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1686 * insetcollapsable.C (edit): add open() all
1687 * insettext.C (edit): add setViewCache call
1689 2003-11-04 André Pönitz <poenitz@gmx.net>
1691 * inset.h (edit): move locking code from dispatch() to edit()
1697 * insetcollapsable.[Ch]:
1700 * insetexternal.[Ch]:
1701 * insetgraphics.[Ch]:
1706 * insettabular.[Ch]:
1707 * insettext.[Ch]: adjust
1709 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1712 * insetcollapsable.[Ch]:
1714 * insettabular.[Ch]:
1716 * updatableinset.[Ch]: remove dead search code
1718 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1721 * insetcollapsable.[Ch]:
1723 * insettabular.[Ch]:
1725 * updatableinset.[Ch]: remove dead spellcheck code
1727 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1729 * insettabular.C (lockInsetInInset): small fix
1731 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1734 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1735 from here. Be stricter on DispatchResult returned.
1737 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * Inset::dispatch's: adjust for new DispatchResult semantics.
1741 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * render_base.h: make clone return an auto_ptr
1744 * render_button.C (clone): adjust
1745 * render_graphic.C (clone): adjust
1746 * render_preview.C (clone): adjust
1748 * insettheorem.C (clone): return an auto_ptr
1750 * insettext.C (priv_dispatch): exception safety
1752 * insettabular.C: store the file scope variable paste_tabular in a
1753 scoped_ptr, adjust usage.
1755 * insetexternal.C (setParams): exception safety
1757 * insetbibitem.C (clone): exception safety
1759 2003-11-03 André Pönitz <poenitz@gmx.net>
1762 * insetcollapsable.[Ch]:
1763 * insettabular.[Ch]:
1764 * insettext.[Ch]: remove Inset::id and related functions
1766 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * insets: adjust for DispatchResult changes.
1770 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1772 * insetpagebreak.C: fix screen representation & ascii output.
1774 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1778 * insettabular.[Ch]:
1779 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1781 2003-10-31 José Matos <jamatos@lyx.org>
1783 * inset.h (ascii, linuxdoc, docbook):
1784 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1785 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1786 * insetcaption.[Ch] (ascii, docbook):
1787 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1788 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1789 * insetert.[Ch] (ascii, linuxdoc, docbook):
1790 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1791 * insetfloat.[Ch] (linuxdoc, docbook):
1792 * insetfloatlist.[Ch] (ascii):
1793 * insetfoot.[Ch] (docbook):
1794 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1795 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1796 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1797 * insetindex.[Ch] (docbook):
1798 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1799 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1800 * insetline.[Ch] (ascii, linuxdoc, docbook):
1801 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1802 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1803 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1804 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1805 * insetref.[Ch] (ascii, linuxdoc, docbook):
1806 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1807 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1808 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1809 * insettext.[Ch] (ascii, linuxdoc, docbook):
1810 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1811 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1812 * insetwrap.[Ch] (docbook):
1813 add LatexRunParams argument.
1815 2003-10-30 José Matos <jamatos@lyx.org>
1817 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1819 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1821 * updatableinset.C (priv_dispatch):
1822 * insetwrap.C (priv_dispatch):
1823 * inseturl.C (priv_dispatch):
1824 * insettoc.C (priv_dispatch):
1825 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1826 (moveLeftIntern, moveUp, moveDown):
1827 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1828 (moveLeft, moveUp, moveDown):
1829 * insetref.C (priv_dispatch):
1830 * insetnote.C (priv_dispatch):
1831 * insetminipage.C (priv_dispatch):
1832 * insetlabel.C (priv_dispatch):
1833 * insetindex.C (priv_dispatch):
1834 * insetinclude.C (priv_dispatch):
1835 * insetgraphics.C (priv_dispatch):
1836 * insetfloatlist.C (priv_dispatch):
1837 * insetfloat.C (priv_dispatch):
1838 * insetexternal.C (priv_dispatch):
1839 * insetert.C (priv_dispatch):
1840 * insetcommand.C (priv_dispatch):
1841 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1842 * insetcite.C (priv_dispatch):
1843 * insetbranch.C (priv_dispatch):
1844 * insetbox.C (priv_dispatch):
1845 * insetbibtex.C (priv_dispatch):
1846 * insetbibitem.C (priv_dispatch):
1847 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1849 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1851 * insettext.C: small refactoring of docbook stuff
1853 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1856 (priv_dispatch): adjust for operator dispatch_result_t removal
1858 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1859 in a DispatchResult, adjust accordingly.
1860 (priv_dispatch): use strange >= construct... (will be removed later)
1862 * most insets: dispatch_result -> DispatchResult
1864 * insetbase.h: move DispatchResult out to dispatchresult.h
1866 2003-10-27 André Pönitz <poenitz@gmx.net>
1868 * insetpagebreak.[Ch]: new inset for page breaks
1870 * insetline.[Ch]: new inset for vertical lines
1875 2003-10-25 Angus Leeming <leeming@lyx.org>
1877 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1878 new virtual member functions, specialised...
1879 * render_button.h (asButton):
1880 * render_graphic.h (asGraphic):
1881 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1883 * insetexternal.C: use these new functions rather than dynamic_cast.
1884 Various other small simplifications.
1886 2003-10-22 Angus Leeming <leeming@lyx.org>
1888 * insetexternal.[Ch]: add the ability to 'preview' the external file
1891 * insetinclude.C: changes due to the changes in the RenderPreview
1894 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1895 message if the preview image is not available. Only initiate the
1896 loading of the preview from draw(). Ditto, start the monitoring
1897 of an external file from RenderMonitoredPreview::draw.
1899 2003-10-22 Angus Leeming <leeming@lyx.org>
1901 * insetcite.[Ch] (setLoadingBuffer): removed.
1902 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1903 ascertain whether to proceed with the (expensive) task of computing
1904 the natbib-style label. Remove the home-grown hack providing
1905 similar functionality.
1907 2003-10-22 Angus Leeming <leeming@lyx.org>
1909 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1910 class and into an anonymous namespace.
1912 2003-10-22 Angus Leeming <leeming@lyx.org>
1914 * insetcommand.h: remove the display method.
1918 * insetindex.h (InsetPrintIndex):
1919 * insettoc.h: add a display method, returning true.
1921 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1923 * insetcollapsable.h:
1927 * insetinclude.h: (1) finish off the inset display() work;
1928 (2) fix the "is a bit silly" bug (accessing char
1931 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1935 * insetfootlike.h: re-introduce display() for insets,
1936 fixing the various bugs (stretch of line above, math inset
1939 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * insetbase.C (dispatch): new func
1942 (priv_dispatch): new func replaces...
1943 (localDispatch): this, deleted.
1945 * all insets with dispatch modified for new code.
1947 2003-10-15 André Pönitz <poenitz@gmx.net>
1949 * insetcollapsable.[Ch]
1951 * inset.h: re-add some edit(bv, index) method called by undo
1953 2003-10-14 Angus Leeming <leeming@lyx.org>
1955 * insetexternal.[Ch] (view, cache, view_):
1956 * insetgraphics.[Ch] (view, cache, view_):
1957 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1958 (statusChanged): call LyX::cref().updateInset.
1960 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1961 the BufferView cache.
1963 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1966 2003-10-14 Angus Leeming <leeming@lyx.org>
1968 * insetinclude.C (metrics, draw): only draw the preview when previews
1971 2003-10-14 André Pönitz <poenitz@gmx.net>
1973 * insetcollapsable.[Ch]:
1974 * insettabular.[Ch]:
1976 * inset.h: getText() as alternative to getParagraphs()
1978 2003-10-13 Angus Leeming <leeming@lyx.org>
1981 * insetgraphicsParams.C: displayTranslator is now a function.
1983 2003-10-13 Angus Leeming <leeming@lyx.org>
1985 * insetinclude.C: remove #include "PreviewImage.h".
1987 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1989 * ExternalSupport.C:
1990 * ExternalTransforms.C:
1992 * insetbox.h: ws changes only
1994 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * insetinclude.C (localDispatch): do not call
1997 InsetOld::localDispatch, just return UNDISPATCHED
1998 * insetgraphics.C (localDispatch): ditto
1999 * insetcommand.C (localDispatch): ditto
2001 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * inset.h: get rid of RESULT typedef for dispatch_result
2005 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
2006 * insetert.[Ch] (localDispatch): ditto
2007 * insettabular.[Ch] (localDispatch): ditto
2012 * insettext.[Ch] (localDispatch): ditto
2015 (moveRightIntern): ditto
2016 (moveLeftIntern): ditto
2019 * updatableinset.[Ch] (localDispatch): ditto
2021 2003-10-12 Angus Leeming <leeming@lyx.org>
2023 * renderbase.h (view, view_): removed.
2024 * renderbase.C: removed.
2025 * Makefile.am: remove render_base.C. The shortest lived file in
2028 * renderbutton.C (draw):
2029 * render_graphic.C (draw): don't cache the BufferView.
2031 * insetabase.h (cache, view): removed.
2033 * inset.h (generatePreview) removed.
2035 * insetcallapsable.[Ch] (cache, view, view_): removed.
2037 * insetcollapsable.C (draw): don't cache the BufferView.
2039 * insetcommand.[Ch] (view): removed.
2041 * insetexternal.[Ch] (cache, view, view_):
2042 * insetgraphics.[Ch] (cache, view, view_):
2043 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2045 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2046 when you have direct access to it. In fact, don't use the cache at all.
2048 2003-10-10 Angus Leeming <leeming@lyx.org>
2050 * insetinclude.C (metrics): use preview_->metrics.
2051 (draw): use preview_->draw.
2053 * render_preview.[Ch] (pimage): removed.
2055 2003-10-10 Angus Leeming <leeming@lyx.org>
2057 * renderers.[Ch]: removed.
2060 * render_button.[Ch]:
2061 * render_graphic.[Ch]:
2062 * render_preview.[Ch]: new files. The first three are split out of
2063 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2064 contains a re-worked InsetInclude::PreviewImpl also.
2066 * Makefile.am: reflect the changed files.
2069 * insetexternal.[Ch]:
2070 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2072 * insetinclude.[Ch]: changes reflecting the change from
2073 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2079 * inseturl.C: add #include "support/std_ostream.h"
2081 2003-10-09 Angus Leeming <leeming@lyx.org>
2083 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2084 to PreviewedInset::previewReady.
2086 2003-10-09 Angus Leeming <leeming@lyx.org>
2088 * insetexternal.[Ch] (statusChanged):
2089 * insetgraphics.[Ch] (statusChanged): make a const member function.
2091 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2094 2003-10-09 Angus Leeming <leeming@lyx.org>
2096 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2097 to PreviewedInset's previewReady and removePreview member functions.
2099 2003-10-08 André Pönitz <poenitz@gmx.net>
2101 * insetcollapsable.C:
2102 * insettext.[Ch]: saner 'init' structure
2104 * updatableinset.[Ch]: remove unneeded code
2106 2003-10-08 Angus Leeming <leeming@lyx.org>
2108 Fix doxygen warnings.
2110 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2111 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2113 2003-10-07 Angus Leeming <leeming@lyx.org>
2115 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2116 be applied to InsetExternal.
2118 * Makefile.am: add these new files.
2120 * ExternalTemplate.[Ch]: add a list of available transforms to
2121 class Template and a list of factory functions for transformer classes
2122 that can act on this data to class Format.
2124 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2126 * ExternalSupport.C: Add code to replace transform placeholders
2127 with appropriate output.
2129 2003-10-07 Angus Leeming <leeming@lyx.org>
2131 * ExternalSupport.[Ch]: new files, moving the private member functions
2132 and namespace anon functions out of insetexternal.C to here, so making
2133 it easier to understand what is going on in insetexternal itself.
2135 * Makefile.am: add new files.
2137 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2138 allowing the class to be forward declared. (Also consistent with
2139 all other Params classes.)
2140 (write): moved out of the class. Move this function and those in
2141 namespace anon to ExternalSupport.[Ch].
2143 2003-10-07 Angus Leeming <leeming@lyx.org>
2145 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2146 non-const member function.
2148 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2153 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2155 2003-10-02 André Pönitz <poenitz@gmx.net>
2157 * insettext.C (read): make sure there is at least one par
2158 in the text after reading.
2160 2003-10-01 José Matos <jamatos@lyx.org>
2162 * insetbranch.C (linuxdoc, docbook): minor fix.
2164 2003-10-01 Angus Leeming <leeming@lyx.org>
2166 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2168 * insetexternal.[Ch]: changes due to the introduction of
2169 namespace lyx::external.
2171 2003-09-30 Angus Leeming <leeming@lyx.org>
2173 * insetexternal.[Ch] (Params::read, write): new member functions.
2175 2003-09-25 Angus Leeming <leeming@lyx.org>
2177 * insetexternal.[Ch] (TempName): new (private) nested struct with
2178 fake copy semantics. Enables us to use the generated copy c-tor
2179 in the Params struct.
2180 (Params::templatename, Params::tempname): use accessor functions.
2182 2003-09-25 Angus Leeming <leeming@lyx.org>
2184 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2185 function, returning a const pointer.
2187 2003-09-23 Angus Leeming <leeming@lyx.org>
2189 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2190 store them in a vector, preambleNames.
2192 * insetexternal.C (validate): loop over all preambleNames and call
2193 LaTeXFeatures::addExternalPreamble with each.
2195 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2197 * insetbranch.C: bug fix in branches
2199 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2201 * insetnote.C: small clean-up.
2203 2003-09-19 Angus Leeming <leeming@lyx.org>
2205 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2207 * insetcommand.C (string2params): clear params using the default c-tor.
2209 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2210 InsetInclude::Params. No more data in this struct than in
2211 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2212 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2213 (clone): remove #warning as it's now redundant.
2214 (set): add a 'Buffer const &' arg. Make private.
2215 (loadIfNeeded) move out of the class definition and into namespace anon.
2216 (getMasterFilename, getFileName): ditto.
2218 2003-09-18 Angus Leeming <leeming@lyx.org>
2220 * insetcommand.C (setParams): use the params' copy constructor.
2222 2003-09-18 Angus Leeming <leeming@lyx.org>
2224 * insetinsetbase.h (getLabelList):
2225 * insetinsetcollapsable.[Ch] (getLabelList):
2226 * insetinsetinclude.[Ch] (getLabelList):
2227 * insetinsetlabel.[Ch] (getLabelList):
2228 * insetinsettabular.[Ch] (getLabelList):
2229 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2230 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2232 2003-09-18 Angus Leeming <leeming@lyx.org>
2234 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2235 redundant baggage from yesteryear.
2236 Remove Params::flag as it is redundant; the info is present in
2239 2003-09-18 Angus Leeming <leeming@lyx.org>
2241 * insetinclude.C (latexString): add a Buffer const & arg.
2243 2003-09-18 Angus Leeming <leeming@lyx.org>
2248 * insettext.h: rename EnumLColor as LColor_color.
2250 2003-09-18 Angus Leeming <leeming@lyx.org>
2252 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2253 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2255 2003-09-16 Angus Leeming <leeming@lyx.org>
2257 * insetinclude.C (localDispatch): ensure that
2258 params_.masterFilename_ is set before trying to generate a
2259 preview, else we trigger an assert.
2261 2003-09-16 Angus Leeming <leeming@lyx.org>
2263 * insetinclude.C (PreviewImpl::parent): return a const reference.
2265 2003-09-16 Angus Leeming <leeming@lyx.org>
2267 * insetcollapsable.[Ch]: make all member variables, except for
2270 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2271 than access labelfont directly.
2272 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2273 use InsetCollapsable::setCollapsed, isOpen rather than access
2274 collapsed_ directly.
2276 * insetminipage.C (metrics):
2277 * insetnote.C (metrics):
2278 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2279 access collapsed_ directly.
2281 2003-09-16 Angus Leeming <leeming@lyx.org>
2283 * insetbibitem.C: add #include "lyxfont.h".
2285 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * insetbibtex.C: use namespace alias for lyx::support::os
2290 2003-09-16 Angus Leeming <leeming@lyx.org>
2292 * insetcollapsable.h: remove unused framecolor variable.
2293 Remove #include "LColor.h".
2295 * insetcollapsable.C: remove unused framecolor variable.
2298 * insetcollapsable.C:
2306 Add #include "LColor.h".
2308 2003-09-16 Angus Leeming <leeming@lyx.org>
2310 * insettext.[Ch] (frameColor): new accessor function.
2311 (frame_color_): stored as an int, allows us to remove #include
2312 "LColor.h" from insettext.h
2317 add #include "LColor.h".
2319 * insetcollapsable.h: add #include "LColor.h"
2320 (for its framecolor member variable).
2322 2003-09-16 Angus Leeming <leeming@lyx.org>
2324 * insetenv.C (constructor): use accessor functions to access
2325 InsetText variables.
2327 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2328 rename frame_color as frame_color_. Make private.
2330 * insettext.C: associated changes.
2332 2003-09-16 Angus Leeming <leeming@lyx.org>
2334 * inset.h: store background_color_ as an int, not as an
2335 LColor::color to get LColor.h out of the header file.
2338 * insetlatexaccent.C:
2341 * insetspecialchar.C:
2343 add #include "LColor.h".
2345 2003-09-16 Angus Leeming <leeming@lyx.org>
2347 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2348 cannot string calls together.
2350 2003-09-15 Angus Leeming <leeming@lyx.org>
2352 * inset.[Ch] (setBackgroundColor, backgroundColor):
2353 * insettext.[Ch] (setFrameColor):
2354 pass EnumLColor args, rather than LColor::color ones.
2356 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * insetwrap.C: remove usage of STRCONV
2368 2003-09-15 Angus Leeming <leeming@lyx.org>
2370 * renderers.C (draw):
2371 * insetlatexaccent.C (draw): explicitly define the color passed to
2374 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2376 * insettext.C: remove block causing problems in lockInsetInInset
2377 (mentioned erroneously under Bug #1366)
2379 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2381 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2384 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2386 * several files: change Assert to BOOST_ASSERT
2388 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2390 * insettext.[Ch]: remove drawText[XY]Offset
2392 2003-09-08 Angus Leeming <leeming@lyx.org>
2394 * insetcollapsable.C:
2399 * insetspecialchar.C:
2402 * insettoc.C: remove redundant using directives.
2404 2003-09-07 Angus Leeming <leeming@lyx.org>
2407 * insetspecialchar.h: remove #include "support/std_string.h".
2409 2003-09-06 Angus Leeming <leeming@lyx.org>
2411 * renderers.C: add #include "insets/inset.h"
2413 2003-09-05 Angus Leeming <leeming@lyx.org>
2415 * *.C: strip out redundant #includes. (193 in total.)
2417 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2419 * insets/insetbibtex.[Ch]:
2420 * insets/insetcommand.h:
2421 * insets/insetfloatlist.[Ch]:
2422 * insets/insetinclude.[Ch]:
2423 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2424 of insets like bibtex, include, toc and floatlist to the visible
2425 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2426 up the dialogs. Cursor has to be in front of the inset (i.e.
2427 start of row) for this to function.
2429 2003-09-04 Angus Leeming <leeming@lyx.org>
2431 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2432 structure outside of the Format struct. Format::preambleName refers to
2433 an item in the map of all preamble snippets.
2434 Make use of the new Debug::EXTERNAL flag.
2436 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2437 (validate): Small change due to the changed storage of preamble
2440 2003-09-04 Angus Leeming <leeming@lyx.org>
2442 * insetgraphics.C: #include "support/os.h"
2444 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2445 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2446 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2448 * insetcollapsable.h:
2450 * insetnote.C: move #include "funcrequest.h" out of the header file.
2452 2003-09-03 Angus Leeming <leeming@lyx.org>
2454 * insetexternal.C (updateExternal):
2455 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2458 2003-09-03 Angus Leeming <leeming@lyx.org>
2460 * insetexternal.C: don't bring namespace lyx::support into the global
2463 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2465 * insetbranch.C: Add Branch: to label
2467 2003-09-02 John Levon <levon@movementarian.org>
2470 * insettext.C: remove cursor.i[xy]()
2472 2003-08-28 Angus Leeming <leeming@lyx.org>
2474 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2475 "sh ", enabling the conversion to be carried out even if the script
2478 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * most files: change to use const Buffer refs
2482 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2484 * insetfootlike.C: whitespace.
2486 2003-08-26 John Levon <levon@movementarian.org>
2490 * insetindex.h: remove remaining mentions of needFullRow()
2492 2003-08-26 André Pönitz <poenitz@gmx.net>
2498 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2500 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2502 * insetbranch.C: Small fix to prevent a crash on loading.
2504 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2509 * insetcollapsable.h:
2511 * insetfloatlist.[Ch]:
2512 * insetfootlike.[Ch]:
2513 * insetinclude.[Ch]:
2519 * insettheorem.[Ch]:
2520 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2521 altogether, putting the logic in metrics/draw in the insets.=20
2522 Draws short single row insets with more or less realistic metrics.
2524 2003-08-19 André Pönitz <poenitz@gmx.net>
2526 * insettext.C: use new RowPainter interface
2528 2003-08-18 John Levon <levon@movementarian.org>
2530 * insetref.C: require amsmath for eqref
2532 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2536 * insetbranch.[Ch]: implements the 'branch inset'
2537 idea. This allows the output of various versions of a document
2538 from a single source version, selectively outputing or suppressing
2539 output of parts of the text.
2540 This implementation contains a 'branch list editor' in a separate
2541 tab of the document settings dialog. Branches are user definable
2542 and have a "display colour" to distinguish them on-screen.
2544 ColorHandler was somewhat cleaned up.
2545 (1) make possible a dynamically growing LColor list by allowing
2546 the graphic context cache to grow along (vector);
2547 (2) eliminate an IMHO unnecessary step in colour allocation.
2549 2003-08-15 André Pönitz <poenitz@gmx.net>
2551 * insettext.[Ch]: adjust after rowlist split
2553 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2555 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2556 rename valign-center to valign-middle;
2557 rename VALIGN_CENTER to VALIGN_MIDDLE
2559 2003-08-11 André Pönitz <poenitz@gmx.net>
2561 * inset.h: remove resizeLyXText
2564 * insetcollapsable.[Ch]:
2566 * insettabular.[Ch]: adjust
2568 * insettext.[Ch]: remove saveLyXTextState,
2569 restoreLyXTextStat, sstate, reinitLyXText
2571 2003-08-07 André Pönitz <poenitz@gmx.net>
2573 * inset.[Ch]: move non-crucial functions out-of-line
2575 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2576 remove duplicated code.
2578 2003-08-05 André Pönitz <poenitz@gmx.net>
2581 * insetcollapsable.[Ch]:
2591 * insettabular.[Ch]:
2594 * updatableinset.[Ch]: rip out "deep update"
2596 * insettext.C (localDispatch): merge cases with default branch
2598 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2600 * insettabular.[Ch] (updateLocal): simplify logic
2602 2003-08-04 André Pönitz <poenitz@gmx.net>
2604 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2605 is 'FULL' all the time.
2607 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2609 * insetert.C (get_new_label): only add ... to the (closed) label
2610 when the string has been shortened
2612 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2614 * Always use std::endl with lyxerr
2616 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2618 * insetnote.C: update \author list
2620 2003-07-31 André Pönitz <poenitz@gmx.net>
2622 * insetcollapsable.h:
2623 * insettabular.[Ch]:
2624 * insettext.[Ch]: remove toggleSelection
2626 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2628 (with help from Juergen Spitzmueller)
2629 * insetnote.C: add add i18n support. Use Prefs-definable
2630 colours for Comment and Greyedout.
2632 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2634 * insetcollapsable.[Ch]:
2636 * insetert.C: factor out the detection of clicking on the inset
2637 button as 'hitButton'. John Levon contributed.
2639 2003-07-30 André Pönitz <poenitz@gmx.net>
2641 * insetcollapsable.C:
2643 * insettabular.C: parantheses, localize vars etc.
2645 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2647 * insetnote.C: Implement a newenvironment in preamble for
2648 greyedout. Patch provided by Jürgen Spitzmüller.
2650 2003-07-29 Angus Leeming <leeming@lyx.org>
2652 * insetcommand.C (localDispatch): default to
2653 InsetOld::localDispatch.
2655 * insetbibitem.C (localDispatch):
2656 * insetbibtex.C (localDispatch): remove call to
2657 ChangeCitationsIfUnique.
2659 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2661 * insetexternal.C (read): use pushpophelper.
2663 2003-07-28 José Matos <jamatos@lyx.org>
2665 * insetext.C (read): \end_document replaces \the_end.
2667 2003-07-28 José Matos <jamatos@fep.up.pt>
2669 * insetert.C (write): \layout -> \begin_layout.
2670 Add missing \end_layout.
2672 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2674 * insetquotes.C: document a bit the format
2676 * insettabular.C (write): remove extra space
2678 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2679 * insetnote.C: Umpf. Hope I *now* get it right :-(
2681 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2682 *insetnote.C: did the right fix to greyedout: \color
2683 instead of \textcolor.
2685 2003-07-28 Angus Leeming <leeming@lyx.org>
2687 * insetbibtex.h: remove extraneous forward declaration.
2690 * insetbibtex.h: Also remove long-dead Holder member class
2693 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2695 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2698 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * insetwrap.C (addToToc): adjust for lyx::toc
2702 * insetfloatlist.C (ascii): adjust for lyx::toc
2704 * insetfloat.C (addToToc): adjust for lyx::toc
2706 2003-07-27 José Matos <jamatos@fep.up.pt>
2708 * insetnote.h (linuxdoc,docbook): update support.
2710 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * insetfloat.C (wide): add a space to label, for consistency
2714 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * insettext.C (nextChange): adjust for lyx::find
2717 (searchForward): ditto
2718 (searchBackward): ditto
2720 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2722 * insetgraphicsParams.C:
2723 * insetexternal.C: declare extern displayTranslator
2726 * renderers.C: add #include "support/LAssert.h"
2728 2003-07-27 José Matos <jamatos@fep.up.pt>
2730 * insetfloat.[Ch] (linuxdoc):
2731 * insetgraphics.C (linuxdoc):
2732 * insettabular.C (linuxdoc):
2733 * insettext.[Ch] (linuxdoc): add support for tables and figures
2736 2003-07-27 José Matos <jamatos@fep.up.pt>
2738 * insetinclude (latex): comply with makeLaTeXFile argument change.
2740 2003-07-26 Asger Alstrup <alstrup@local>
2742 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2743 the undo crashes. We'll see what problems other places this will
2746 2003-07-26 Angus Leeming <leeming@lyx.org>
2748 * insetgraphics.C: remove unused declaration of system_tempdir.
2750 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * rename Inset to InsetOld
2754 * all inset files (clone): return a auto_ptr<InsetBase>
2756 2003-07-23 Angus Leeming <leeming@lyx.org>
2758 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2760 2003-07-23 Angus Leeming <leeming@lyx.org>
2762 * mailinset.[Ch] (inset2string):
2763 * insetcommand.[Ch] (inset2string):
2764 * insetert.[Ch] (inset2string):
2765 * insetexternal.[Ch] (inset2string):
2766 * insetfloat.[Ch] (inset2string):
2767 * insetgraphics.[Ch] (inset2string):
2768 * insetinclude.[Ch] (inset2string):
2769 * insetminipage.[Ch] (inset2string):
2770 * insetnote.[Ch] (inset2string):
2771 * insettabular.[Ch] (inset2string):
2772 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2774 * insetexternal.[Ch]:
2775 * insetgraphics.[Ch]: get rid of the view() function. Associated
2776 changes to the mailers' string2params and params2string functions.
2778 2003-07-23 Angus Leeming <leeming@lyx.org>
2780 * insetexternal.[Ch]: store the external file name in a FileName
2781 member variable rather than a string + associated changes.
2783 2003-07-21 Angus Leeming <leeming@lyx.org>
2785 * insetgraphicsParams.[Ch]: store the graphics file name in
2786 a FileName member variable rather than a string.
2788 * insetgraphics.[Ch]:
2789 * insetgraphicsParams.[Ch]: Associated changes.
2791 2003-07-21 Angus Leeming <leeming@lyx.org>
2793 * insetgraphics.[Ch] (string2params, params2string): passed a
2794 buffer_path argument.
2797 2003-07-21 Angus Leeming <leeming@lyx.org>
2800 * insetgraphicsParams.[Ch]:
2802 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2804 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2806 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2808 2003-07-18 André Pönitz <poenitz@gmx.net>
2811 * insetminipage.[Ch]:
2812 * insettabular.[Ch]:
2815 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2817 2003-07-18 André Pönitz <poenitz@gmx.net>
2821 * insetcollapsable.C:
2825 * insetgraphics.[Ch]:
2826 * insetlatexaccent.[Ch]:
2831 * insetspecialchar.C:
2832 * insettabular.[Ch]:
2834 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2836 2003-07-17 André Pönitz <poenitz@gmx.net>
2838 * insetcollapsable.C:
2840 * insettext.C: don't call Inset::update() anymore
2843 * insettabular.[Ch]: remove unneeded in_update_ members
2845 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2847 2003-07-16 André Pönitz <poenitz@gmx.net>
2849 * insettext.C (selectAll): remove
2851 2003-07-16 John Levon <levon@movementarian.org>
2854 * insetnote.C: implement showInsetDialog()
2856 2003-07-15 André Pönitz <poenitz@gmx.net>
2859 * insettext.C: refresh_status tristate -> need_update bool
2861 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2863 * insettext.C: adjust call to LyXText::init
2865 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2867 * insettext.C: use bufferview_funcs->replaceSelection()
2868 to delete selections in some cases (bugs 441, 673, 702, 954).
2870 2003-07-14 André Pönitz <poenitz@gmx.net>
2872 * insettext.C (draw): use slimmed down rowpainter interface
2874 2003-07-14 André Pönitz <poenitz@gmx.net>
2876 * insetcollapsable.C:
2878 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2879 remove unused BufferView * argument
2881 2003-07-14 André Pönitz <poenitz@gmx.net>
2883 * insettext.[Ch]: used cached metrics a bit more
2885 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2887 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2889 2003-07-10 André Pönitz <poenitz@gmx.net>
2892 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2894 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * introduce namespace lyx::graphics
2898 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * introduce namespace lyx::support
2902 2003-06-30 André Pönitz <poenitz@gmx.net>
2904 * insetcite.C (localDispatch): fix case of missing return value
2906 * insetcite.C (ascii): remove unneeded temporary
2908 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * insetspace.h: fix \file
2912 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2913 * insetinclude.C (fillWithBibKeys): ditto
2915 * insetbibitem.C: fix type const order
2917 * inset.C (getLyXText): add varname for arg
2919 * ExternalTemplate.h: fix type const order
2921 2003-06-27 André Pönitz <poenitz@gmx.net>
2923 * insettext.C: take care of removed LyXCursor::row_ member
2925 * insettext.[Ch]: use new TextCursor struct for sstate
2927 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2929 * inseterror.[Ch]: removed
2931 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2933 * insetinclude.C (docbook): use parseError instead of sgmlError
2935 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2937 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2938 of BufferList::loadLyXFile
2940 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2942 * insettext.C (update): simplify
2943 (updateLocal): remove commented code
2944 (insetUnlock): simplify
2945 (lockInset): simplify
2946 (updateInsetInInset): simplify
2947 (localDispatch): simplify
2949 (resizeLyXText): simplify
2950 (collapseParagraphs): simplify
2952 * insetert.C (get_new_label): simplify
2954 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2956 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2957 pasteSelection with index
2959 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2961 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2963 2003-06-16 André Pönitz <poenitz@gmx.net>
2965 * insetbase.h: new virtual base function clone()
2967 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2968 Inset * clone() -> InsetBase * clone()
2970 2003-06-13 André Pönitz <poenitz@gmx.net>
2972 * insettabular.[Ch]: make tabular a proper member
2974 2003-06-12 André Pönitz <poenitz@gmx.net>
2976 * insettabular.[Ch]: some renaming plus whitespace
2978 2003-06-11 Angus Leeming <leeming@lyx.org>
2980 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2983 * insetbutton.[Ch]: removed.
2984 * graphicinset.[Ch]: renamed as renderers.[Ch].
2986 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2987 Create a new class ButtonRenderer using the InsetButton::metrics() and
2989 Derive both from a common RenderedInset base class.
2991 * insetcommand.[Ch]:
2992 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2993 Give it a ButtonRenderer member variable. Use it.
2994 Give the classes working copy c-tors.
2995 No longer derive from boost::noncopyable.
2997 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2998 display its contents as a button or as a graphic.
3000 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
3003 2003-06-11 Angus Leeming <leeming@lyx.org>
3005 * insetcite.C (localDispatch): reformat.
3007 * insetref.C (localDispatch): enable dialog to be lauched.
3009 2003-06-11 John Levon <levon@movementarian.org>
3011 * insettabular.C: correctly mark all cells as erased
3013 2003-06-11 Angus Leeming <leeming@lyx.org>
3015 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
3016 ExternalTemplate but its name, templatename. This means that a file
3017 containing a reference to an External Template not installed on the
3018 current machine will be saved retaining this info rather than inserting
3019 the first "valid" template from the list of templates.
3021 As a by product, the visual statement that the Template is missing is
3024 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3026 * insettext.C (appendParagraphs): remove some commented code.
3028 2003-06-10 Angus Leeming <leeming@lyx.org>
3030 * graphicinset.[Ch] (view): removed the publicly accessible
3031 function to set the cache.
3033 * insetexternal.[Ch]: move tempname_ into the Params struct.
3034 (Params d-tor): new function, to clean-up this temp file.
3035 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3037 (editExternal, doSubstitution): move out of class.
3039 2003-06-10 Angus Leeming <leeming@lyx.org>
3041 * graphicinset.[Ch] (params): removed.
3042 * graphicinset.h (operator=): declared private but not defined.
3043 (statusMessage): made private.
3045 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3047 2003-06-07 John Levon <levon@movementarian.org>
3049 * insetert.C (latex): make a newline mean just that not
3052 2003-06-07 José Matos <jamatos@fep.up.pt>
3054 * insethfill.[Ch] (linuxdoc, docbook): implement output
3055 * insetspace.C (linuxdoc, docbook): remove coments as the code
3058 2003-06-06 José Matos <jamatos@fep.up.pt>
3060 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3062 2003-06-06 André Pönitz <poenitz@gmx.net>
3064 * insetwrap.[Ch]: code compactification
3066 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3068 * mailinset.C (updateDialog): use Dialogs::visible
3070 2003-06-04 Angus Leeming <leeming@lyx.org>
3072 * graphicinset.C (draw): add a comment for the #if 0 block.
3074 * insetexternal.h: remove Params::parameters variable.
3076 * insetexternal.C (read, write): rewrite to output new ExternalInset
3077 format and read it back making full use of LyXLex.
3079 2003-06-04 André Pönitz <poenitz@gmx.net>
3081 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3083 2003-06-04 John Levon <levon@movementarian.org>
3085 * insettabular.C: back out tall table speed up. It was broken
3087 2003-06-03 Angus Leeming <leeming@lyx.org>
3089 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3090 Remove ViewCommand and UpdateCommand.
3092 * graphicinset.C (update): bug fix. Set the params before calling the
3095 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3096 the BufferView cache to enable the InsetExternal::editCommand to
3097 be invoked from the frontends. Would not be needed if this were
3098 dispatched properly.
3099 (old_ascent_): variable removed.
3101 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3102 do any necessary conversions of external material. Also use the
3103 new GraphicsInset to display the inset within LyX.
3105 2003-06-03 Angus Leeming <leeming@lyx.org>
3107 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3108 and move it somewhere where InsetExternal can use it too.
3110 * Makefile.am: add the new files.
3112 * insetgraphics.[Ch]: make use of the new GraphicInset.
3114 2003-06-03 John Levon <levon@movementarian.org>
3117 * insetbibitem.[Ch]:
3120 * insetcommand.[Ch]:
3124 * insetexternal.[Ch]:
3128 * insetgraphics.[Ch]:
3130 * insetinclude.[Ch]:
3133 * insetlatexaccent.[Ch]:
3134 * insetmarginal.[Ch]:
3135 * insetminipage.[Ch]:
3142 * insetspecialchar.[Ch]:
3143 * insettabular.[Ch]:
3145 * insetthereom.[Ch]:
3148 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3150 * insetgraphics.[Ch]:
3151 * insetgraphicsParams.[Ch]: always store an absolute
3154 2003-06-02 André Pönitz <poenitz@gmx.net>
3158 * insetlatexaccent.C: remove duplicated call to metrics()
3160 2003-06-02 John Levon <levon@movementarian.org>
3162 * insettabular.C: fix resize of column width
3164 2003-06-02 John Levon <levon@movementarian.org>
3169 * insetparent.C: remove insetparent
3171 2003-06-02 André Pönitz <poenitz@gmx.net>
3178 * insetcollapsable.[Ch]:
3182 * insetgraphics.[Ch]:
3183 * insetinclude.[Ch]:
3184 * insetlatexaccent.[Ch]:
3185 * insetminipage.[Ch]:
3186 * insetnewline.[Ch]:
3189 * insetspecialchar.[Ch]:
3190 * insettabular.[Ch]:
3191 * insettext.[Ch]: unify first drawing phase
3194 * insetbase.h: move validate() to the base
3196 2003-05-31 Angus Leeming <leeming@lyx.org>
3198 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3200 2003-05-30 André Pönitz <poenitz@gmx.net>
3205 * insetcaption.[Ch]:
3206 * insetcollapsable.[Ch]:
3209 * insetgraphics.[Ch]:
3210 * insetinclude.[Ch]:
3211 * insetlatexaccent.[Ch]:
3212 * insetnewline.[Ch]:
3215 * insetspecialchar.[Ch]:
3216 * insettabular.[Ch]:
3218 * updatableinset.[Ch]: unify second drawing phase
3220 2003-05-30 John Levon <levon@movementarian.org>
3222 * insetgraphics.C: fix a bformat
3224 2003-05-29 John Levon <levon@movementarian.org>
3226 * insettabular.C: remove unused bufferOwner()
3228 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * insettext.C (lockInsetInInset): adjust
3231 (getLabelList): use const_iterator, adjust
3232 (getInsetFromID): use const_iterator, adjust
3233 (addPreview): use const_iterator, adjust
3235 * insetwrap.C (clone): remove const_cast
3237 * insetnote.C (clone): remove const_cast
3239 * insetminipage.C (clone): remove const_cast
3241 * insetmarginal.C (clone): remove const_cast
3243 * insetfoot.C (clone): remove const_cast
3245 * insetfloat.C (clone): remove const_cast
3247 * insetert.C (clone): remove const_cast
3249 * delete commented same_id functions from a lot of files.
3251 2003-05-28 John Levon <levon@movementarian.org>
3257 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3259 * insetminipage.C: fix metrics (bug 1144)
3261 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * insettext.C (saveLyXTextState): adjust
3264 (restoreLyXTextState): adjust
3267 (unlockInsetInInset): adjust
3268 (localDispatch): adjust
3269 (getLyXText): adjust
3271 * insettabular.C (insertAsciiString): adjust
3273 2003-05-27 André Pönitz <poenitz@gmx.net>
3276 * insetcollapsable.C:
3279 * insetlatexaccent.C:
3284 * insetspecialchar.C:
3286 * insettext.C: dim.w -> dim.wid
3288 2003-05-26 John Levon <levon@movementarian.org>
3290 * insettabular.C: avoid drawing all of a long table
3291 if it's not needed. A big speedup
3293 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * remove same_id from function signatures, adjust
3297 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * insettext.C (InsetText): adjust
3301 (setParagraphData): separate same_id cases, adjust
3302 (appendParagraphs): adjust
3303 (appendParagraphs): adjust
3305 2003-05-23 André Pönitz <poenitz@gmx.net>
3307 * insetbutton.h: whitespace
3309 * insettabular.C: more compact code
3311 * updatableinset.C: remove const_cast
3314 2003-05-23 Angus Leeming <leeming@lyx.org>
3316 * insetexternal.C (write): check how many lines are output.
3317 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3318 if the template has defined it.
3320 2003-05-23 Angus Leeming <leeming@lyx.org>
3322 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3324 2003-05-23 Angus Leeming <leeming@lyx.org>
3326 * insetfoot.C (latex):
3327 * inseturl.C (latex): rename fragile as moving_arg.
3329 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * inseterror.C (localDispatch): comment out unused var.
3333 2003-05-22 Angus Leeming <leeming@lyx.org>
3335 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3336 passed through the LatexRunParams arg.
3338 2003-05-22 Angus Leeming <leeming@lyx.org>
3340 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3341 through the LatexRunParams arg.
3343 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3344 arg rather than through a global var.
3346 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * insetspecialchar.C (dimension): use a string.
3350 2003-05-22 Angus Leeming <leeming@lyx.org>
3352 * insetbibtex.C (latex):
3353 * insetgraphics.C (latex):
3354 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3355 runparams rather than from the buffer itself.
3357 2003-05-22 Angus Leeming <leeming@lyx.org>
3359 * inset*.[Ch] (latex):
3360 passed a LatexRunParams parameter.
3362 * insetgraphics.C (latex): actually use it ;-)
3364 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3366 * insetfloat.C (addToToc): trivial compile fix
3368 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * insettext.[Ch] (paragraph): delete unused function
3372 * insetfloat.C (addToToc): parlist simplfication
3374 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3376 * insetspace.[Ch]: added (new space insets)
3378 * inset.h: handle new space insets
3380 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3382 * insetfloat.C (addToToc): adjust
3384 2003-05-21 André Pönitz <poenitz@gmx.net>
3386 * insettext.[Ch]: fix drawing bug introduced earlier
3388 2003-05-19 André Pönitz <poenitz@gmx.net>
3390 * insetspecialchar.C: fix bug introduced yesterday
3392 2003-05-19 André Pönitz <poenitz@gmx.net>
3396 * insetcollapsable.[Ch]:
3400 * insetgraphics.[Ch]:
3401 * insetgraphicsParams.[Ch]:
3402 * insetlatexaccent.[Ch]:
3403 * insetminipage.[Ch]:
3404 * insetnewline.[Ch]:
3406 * insetspecialchar.[Ch]:
3407 * insettabular.[Ch]:
3408 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3410 2003-05-19 André Pönitz <poenitz@gmx.net>
3413 * insettext.C: more insetenv
3415 2003-05-16 André Pönitz <poenitz@gmx.net>
3418 * insetminimpage.[Ch]:
3419 * insetcollapsable.[Ch]: fix #832
3421 2003-05-16 André Pönitz <poenitz@gmx.net>
3424 * insetbibitem.[Ch]:
3428 * insetcollapsable.[Ch]:
3429 * insetcommand.[Ch]:
3432 * insetexternal.[Ch]:
3433 * insetfloatlist.[Ch]:
3434 * insetgraphics.[Ch]:
3435 * insetinclude.[Ch]:
3438 * insetlatexaccent.[Ch]:
3441 * insettabular.[Ch]:
3445 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3447 2003-05-13 André Pönitz <poenitz@gmx.net>
3450 * insetcollapsable.C:
3454 * insetwrap.C: tostr from own header
3466 * insetwrap.C: STRCONV
3469 2003-05-12 André Pönitz <poenitz@gmx.net>
3481 * insetwwrap.C: boost::format -> bformat all over the place
3483 2003-05-05 André Pönitz <poenitz@gmx.net>
3485 * insettext.h: add missing #include <map>
3487 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * insettext.C (InsetText): parlist cleanup
3492 (insetUnlock): ditto
3494 (lockInsetInInset): ditto
3498 (searchBackward): ditto
3499 (collapseParagraphs): ditto
3501 2003-05-06 John Levon <levon@movementarian.org>
3503 * insetcaption.C: don't cast wrap inset to InsetFloat
3506 * insetfloat.C: remove unneeded type() function
3508 2003-05-05 André Pönitz <poenitz@gmx.net>
3512 * insettabular.[Ch]:
3513 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3514 replace getFirstParagraph() by getParagraphs()
3516 2003-05-03 John Levon <levon@movementarian.org>
3518 * insetcollapsable.h:
3519 * insetcollapsable.C:
3525 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3526 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3527 getCursor(). Remove explicit cursor hides.
3529 2003-05-02 André Pönitz <poenitz@gmx.net>
3531 * insettext.C: remove unneeded &*
3533 2003-04-30 John Levon <levon@movementarian.org>
3535 * insettabular.C: fix edit message
3537 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * insettext.C (setFont): do not convert iterator -> pointer
3541 * insettabular.C (localDispatch): do not convert iterator -> pointer
3543 (tabularFeatures): ditto
3545 2003-04-29 André Pönitz <poenitz@gmx.net>
3547 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3549 2003-04-28 André Pönitz <poenitz@gmx.net>
3551 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3554 2003-04-25 André Pönitz <poenitz@gmx.net>
3556 * insetenv.C: derive from InsetText instead of InsetCollapsable
3558 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * insetexternal.C (string2params): dont do anything if the string
3562 * insetgraphics.C (string2params): ditto
3563 * insetcommand.C (string2params): ditto
3564 * insetert.C (string2params): ditto
3565 * insetfloat.C (string2params): ditto
3566 * insetinclude.C (string2params): ditto
3567 * insetminipage.C (string2params): ditto
3568 * insettabular.C (string2params): ditto
3569 * insetwrap.C (string2params): ditto
3571 2003-04-24 André Pönitz <poenitz@gmx.net>
3573 * insetref.C: support for eqref
3575 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * insetert.C (read): use ParagraphList::iterator.
3579 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * insetquotes.C (latex): comment some code and add warnings.
3583 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3585 * insetexternal.C (localDispatch): added a missing DISPATCHED
3587 2003-04-12 John Levon <levon@movementarian.org>
3589 * insetwrap.C (addToToc): fix a crash, conversion
3590 from while to for loop forgot to remove the explicit
3593 2003-04-10 John Levon <levon@movementarian.org>
3595 * insettabular.C (tabularFeature): make sure
3596 to update the dialog when we change something
3599 (getStatus): don't disable some lfuns (bug 939)
3601 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * insettext.C (saveLyXTextState): adjust
3604 (localDispatch): adjust
3610 * insettabular.C (localDispatch): adjust
3612 (tabularFeatures): adjust
3614 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3616 * insettabular.C (searchForward,searchBackward): fix bug 782
3618 2003-04-07 John Levon <levon@movementarian.org>
3621 * insettext.C: clear status message on inset exit
3623 2003-04-03 John Levon <levon@movementarian.org>
3625 * insetcommand.C: return dispatched on DIALOG_UPDATE
3627 2003-04-02 John Levon <levon@movementarian.org>
3629 * insettabular.C: tab lfuns renamed
3631 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * insettext.C (update): move towards ParagraphList
3634 (updateLocal): ditto
3636 (insetUnlock): ditto
3638 (lockInsetInInset): ditto
3639 (updateInsetInInset): ditto
3640 (localDispatch): ditto
3643 (resizeLyXText): ditto
3644 (searchBackward): ditto
3645 (collapseParagraphs): ditto
3648 * insetwrap.C (InsetWrap): adjust
3649 (addToToc): adjust and rewrite loop
3651 * insettext.[Ch] (paragraph): delete function
3653 * insettabular.C (moveNextCell): adjust
3654 (movePrevCell): adjust
3655 (insertAsciiString): adjust
3657 * insetfloat.C (InsetFloat): adjust
3660 * insetert.C (InsetERT): adjust
3661 (write): adjust, and rewrite loop
3662 (latex): adjust, and rewrite loop
3663 (linuxdoc): adjust, and rewrite loop
3664 (docbook): adjust, and rewrite loop
3665 (localDispatch): adjust
3666 (get_new_label): adjust
3668 2003-04-01 John Levon <levon@movementarian.org>
3670 From Alfredo Braunstein
3673 * insetbutton.C: add localDispatch()
3675 * insetcommand.C: return DISPATCHED when edit() called
3677 * insettext.C: fix bug 967
3679 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * insettext.C: adjust
3683 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * insettext.C (draw): adjust
3686 (crow): return a RowList::iterator not a Row*
3688 * insetminipage.C (localDispatch): adjust
3690 * insetert.C (localDispatch): adjust
3692 2003-03-31 John Levon <levon@movementarian.org>
3695 * insetgraphicsParams.C: use_gui moved to lyx_gui
3697 2003-03-31 John Levon <levon@movementarian.org>
3699 * insettext.C: Alert fix
3701 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * insettext.C (ascent): adjust for RowList
3706 (getLyXText): adjust
3707 (toggleSelection): adjust
3709 * insetminipage.C (localDispatch): adjust for RowList
3711 * insetert.C (localDispatch): adjust for RowList
3712 (getMaxWidth): adjust for RowList
3714 2003-03-29 John Levon <levon@movementarian.org>
3716 * insetert.C: Alert cleanup
3718 2003-03-29 John Levon <levon@movementarian.org>
3720 * insettabular.C: Alert fix
3722 2003-03-28 John Levon <levon@movementarian.org>
3724 * insetfloat.C: reset label on INSET_MODIFY
3726 2003-03-28 John Levon <levon@movementarian.org>
3728 * insetgraphicsParams.C: read subcaptionText as a whole line
3731 2003-03-28 John Levon <levon@movementarian.org>
3733 * insettext.C: remove unused prototypes
3735 2003-03-25 Angus Leeming <leeming@lyx.org>
3737 * insetbibitem.C (localDispatch): repaint the view after modifying
3738 a bibitem inset in case the maximum InsetBibitem width has changed.
3740 2003-03-25 John Levon <levon@movementarian.org>
3743 * insettabular.C: LyXText renamings
3745 2003-03-24 John Levon <levon@movementarian.org>
3747 * insettext.C: remove some dead code. Fix bug 972 and
3748 related by posting a repaint in updateLocal(), and making
3749 the SEL functions set SELECTION.
3751 2003-03-22 John Levon <levon@movementarian.org>
3754 * inset.C: remove no-longer-needed topx_set
3756 * insetcollapsable.h:
3757 * insetcollapsable.C: remove dead code
3760 * insetert.C: rebreak the rows when a possible
3761 change in size is made, and reset the cursor
3764 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3766 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3767 topx_set. Fix drawing errors for clearInset(). Remove
3768 some unnecessary uses of topx, which should die.
3770 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3771 is no longer needed. Replace it with an ugly hack.
3773 2003-03-20 John Levon <levon@movementarian.org>
3776 * insetcollapsable.h:
3777 * insetcollapsable.C:
3785 * insettext.C: remove spurious font parameter
3786 from update(). Fix drawing of ERT insets inside
3787 insets (bug 966). Remove unused mark_dirty from
3788 tabular's updateLocal()
3790 2003-03-19 John Levon <levon@movementarian.org>
3799 * insetwrap.C: remove unused getter/setters
3801 2003-03-19 John Levon <levon@movementarian.org>
3803 * several files: bv->updateInset() doesn't take
3804 a bool mark_dirty any more
3806 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * adjust for BufferView* arg removal from lyxtext.
3810 2003-03-17 John Levon <levon@movementarian.org>
3812 * most files: remove the "cleared" parameter
3813 to draw in favour of always clearing. Associated
3816 2003-03-16 John Levon <levon@movementarian.org>
3818 * insettext.C: remove unused s.refresh
3820 2003-03-13 Angus Leeming <leeming@lyx.org>
3822 * insettext.C (edit): replace Dialogs::updateParagraph with
3823 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3825 2003-03-13 André Pönitz <poenitz@gmx.net>
3827 * Makefile.am: insert insetenv
3829 * insethenv.[Ch]: new files, currently inactive
3831 2003-03-12 John Levon <levon@movementarian.org>
3841 * insettext.C: use new insetnewline
3843 2003-03-12 John Levon <levon@movementarian.org>
3845 * insettext.C: readToken became readParagraph
3847 2003-03-12 John Levon <levon@movementarian.org>
3849 * insettext.C: use parlist iterator for reading contents
3851 2003-03-12 John Levon <levon@movementarian.org>
3853 * insettext.C: name change to readToken()
3855 2003-03-11 André Pönitz <poenitz@gmx.net>
3857 * Makefile.am: insert insethfill
3859 * insethfill.[Ch]: new files
3861 2003-03-10 Angus Leeming <leeming@lyx.org>
3863 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3865 (hideDialog): calls the new static Dialogs::hide() method.
3867 * insetbibitem.C (edit):
3868 * insetbibtex.C (edit):
3869 * insetcite.C (edit):
3870 * insetcommand.C (localDispatch):
3871 * inseterror.C (d-tor):
3872 * insetert.C (showInsetDialog):
3873 * insetexternal.C (localDispatch, edit):
3874 * insetfloat.C (localDispatch, showInsetDialog):
3875 * insetfloatlist.C (edit):
3876 * insetgraphics.C (localDispatch, edit):
3877 * insetinclude.C (localDispatch, edit):
3878 * insetindex.C (edit):
3879 * insetlabel.C (edit):
3880 * insetminipage.C (localDispatch, showInsetDialog):
3881 * insetref.C (edit):
3882 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3883 resetPos, showInsetDialog, openLayoutDialog):
3884 * insettoc.C (edit):
3885 * inseturl.C (edit):
3886 * insetwrap.C (localDispatch, showInsetDialog):
3887 changes due to the changed MailInset interface.
3889 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3891 * insetfloat.h: Set default placement to an empty string.
3893 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3895 * insettext.C (latex): adjust call to latexParagraphs.
3897 2003-03-10 Angus Leeming <leeming@lyx.org>
3899 * mailinset.C: warn the user if the BufferView has not been cached.
3901 2003-03-10 Angus Leeming <leeming@lyx.org>
3903 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3905 * insetcommand.h (inset):
3906 * insetert.h (inset):
3907 * insetexternal.h (inset):
3908 * insetfloat.h (inset):
3909 * insetgraphics.h (inset):
3910 * insetinclude.h (inset):
3911 * insetminipage.h (inset):
3912 * insettabular.h (inset):
3913 * insetwrap.h (inset):
3914 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3916 2003-03-10 Angus Leeming <leeming@lyx.org>
3918 * insetcommand.C (string2params):
3919 * insetexternal.C (string2params):
3920 * insetfloat.C (string2params):
3921 * insetgraphics.C (string2params):
3922 * insetinclude.C (string2params):
3923 * insetminipage.C (string2params):
3924 * insettabular.C (string2params):
3925 * insetwrap.C (string2params): cure warning message about missing
3928 2003-03-09 Angus Leeming <leeming@lyx.org>
3930 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3931 it to communicate with the frontend dialogs.
3933 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3934 contents of this inset!
3936 2003-03-07 Angus Leeming <leeming@lyx.org>
3938 * inseterror.C (localDispatch): new method; calls edit() on
3941 2003-03-07 Angus Leeming <leeming@lyx.org>
3943 * insetbibitem.C (localDispatch):
3944 * insetbibtex.C (localDispatch):
3945 * insetlabel.C (localDispatch):
3946 rewrite as a switch.
3948 2003-03-07 Angus Leeming <leeming@lyx.org>
3950 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3951 it to communicate with the frontend dialogs.
3953 2003-03-07 Angus Leeming <leeming@lyx.org>
3955 * insetexternal.C: remove operator== and operator!= for
3956 InsetExternal::Params. They were used only by the old controller
3959 2003-03-07 Angus Leeming <leeming@lyx.org>
3961 * insetcommand.C (localDispatch):
3962 * insetexternal.C (localDispatch):
3963 * insetfloat.C (localDispatch):
3964 * insetinclude.C (localDispatch):
3965 * insetminipage.C (localDispatch):
3966 * insetwrap.C (localDispatch):
3967 add LFUN_INSET_DIALOG_UPDATE to the switch.
3969 2003-03-07 Angus Leeming <leeming@lyx.org>
3971 * insetcommand.C (string2params):
3972 * insetexternal.C (string2params):
3973 * insetfloat.C (string2params):
3974 * insetinclude.C (string2params):
3975 * insetwrap.C (string2params): use LyXLeX more.
3978 * insetexternal.[Ch]:
3980 * insetinclude.[Ch]:
3981 * insetwrap.[Ch]: change Mailer::name_ to be static.
3983 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3984 it to communicate with the frontend dialogs.
3986 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3989 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3991 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * insettext.C (updateLocal): un-const function
3994 (updateLocal): adjust
3995 (collapseParagraphs): un-const function
3996 (collapseParagraphs): adjust
3998 2003-03-05 Angus Leeming <leeming@lyx.org>
4000 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
4001 it to communicate with the frontend dialogs.
4003 2003-03-05 Angus Leeming <leeming@lyx.org>
4005 * insetcollapsable.C (draw): cache the BufferView.
4007 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
4008 it to communicate with the frontend dialogs.
4010 2003-03-05 Angus Leeming <leeming@lyx.org>
4012 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
4015 2003-03-05 Angus Leeming <leeming@lyx.org>
4017 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
4019 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
4020 it to communicate with the frontend dialogs.
4022 2003-03-05 Angus Leeming <leeming@lyx.org>
4024 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
4025 it to communicate with the frontend dialogs.
4027 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * insettext.C (collapseParagraphs): adjust
4030 (appendParagraphs): make it take a Buffer* instead of a
4031 BufferParams& as arg.
4032 (appendParagraphs): adjust
4034 2003-03-04 Angus Leeming <leeming@lyx.org>
4036 * insetbibitem.C (localDispatch):
4037 * insetbibtex.C (localDispatch):
4038 * insetcommand.C (localDispatch):
4039 * insetert.C (localDispatch):
4040 * insetlabel.C (localDispatch):
4041 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4043 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * insettext.C (latex): adjust for ParagraphList::iterator
4047 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * insetbutton.C (view): adjust for boost 1.30.0
4050 * insetcollapsable.C (view): ditto
4051 * insetgraphics.C (statusChanged): ditto
4053 * insettext.h: move paragraphs to be public.
4055 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * insetnote.[Ch] (InsetNote): remove unused constructor
4059 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4061 * insetgraphics.C: added include "format.h"
4063 2003-02-27 Angus Leeming <leeming@lyx.org>
4065 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4068 2003-02-27 Angus Leeming <leeming@lyx.org>
4070 * insetbibitem.C (localDispatch):
4071 * insetbibtex.C (localDispatch):
4074 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4076 2003-02-26 Angus Leeming <leeming@lyx.org>
4078 * insetbibitem.[Ch] (localDispatch):
4079 * insetbibtex.[Ch] (localDispatch):
4080 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4082 * insetcommand.C (localDispatch):
4083 act only on receipt of LFUN_XYZ_APPLY.
4085 * insetert.C (localDispatch): reformat.
4086 add LFUN_XYZ_APPLY to the switch.
4088 2003-02-26 John Levon <levon@movementarian.org>
4090 * insettext.C: use RowPainter
4092 * inset.h: make helpers take const *
4094 2003-02-26 Angus Leeming <leeming@lyx.org>
4096 * insetcommand.[Ch] (localDispatch): new method.
4098 2003-02-26 Angus Leeming <leeming@lyx.org>
4100 * insetinclude.C (draw): cache the BufferView* using cache not
4101 PreviewImpl::setView
4103 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4105 * insetgraphics.C (draw)
4106 * insetinclude.C (draw): Eliminate also the other argument (owner
4107 inset inset) in the call to PreviewImage::image
4109 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4111 * insetgraphics.C (draw)
4112 * insetinclude.C (draw): Eliminate Buferview argument in call to
4115 2003-02-25 John Levon <levon@movementarian.org>
4117 * insetgraphicsParams.h:
4118 * insetgraphics.C: don't start a load process if
4119 the inset is set to NoDisplay (bug #920)
4121 2003-02-22 John Levon <levon@movementarian.org>
4124 * insetwrap.C: TocItem changed API (bug 913)
4126 2003-02-21 Angus Leeming <leeming@lyx.org>
4128 * insetcollapsable.[Ch] (cache, edit):
4129 * insetbutton.[Ch] (cache, edit): new methods to cache the
4130 BufferView in the draw method.
4132 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4133 simplify comunication between InsetCommand-derived classes and
4136 * insetbibitem.[Ch]:
4140 * insetfloatlist.[Ch]:
4144 * inseturl.[Ch]: small changes to reflect the new interface to the
4147 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4148 other, similar classes.
4150 * Makefile.am: add new files.
4152 2003-02-21 Angus Leeming <leeming@lyx.org>
4154 * updatableinset.h (setView, view): remove.
4155 * inset.h (view, cache): to be replaced by these.
4157 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4160 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4163 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4165 2003-02-21 Allan Rae <rae@lyx.org>
4167 * insetinclude.C (loadIfNeeded): ensure loading also works when
4168 child document is under version control.
4170 2003-02-17 André Pönitz <poenitz@gmx.net>
4172 * insetbib.[Ch]: Adjust access to bibkeys
4174 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4176 * insetquotes.C (dispString): remove use of acute accent for "'"
4179 2003-02-14 John Levon <levon@movementarian.org>
4181 * insettabular.C: changed method names in tabular.C
4183 2003-02-14 John Levon <levon@movementarian.org>
4187 * insetcollapsable.h:
4188 * insetcollapsable.C:
4192 * insettext.C: remove unused getParFromID()
4194 2003-02-13 John Levon <levon@movementarian.org>
4197 * insettext.C: remove unused beginningofMainBody()
4199 2003-02-08 John Levon <levon@movementarian.org>
4203 * insetcollapsable.h:
4204 * insetcollapsable.C:
4209 add nextChange(). Make allowSpellcheck() const. Add markErased().
4211 * insetert.C: ignore deleted text
4213 * insettabular.C: make sure to keep change tracking working
4216 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4221 * insettext.C: Use error messages with identical spelling and
4224 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4226 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4228 2002-12-17 Juergen Vigna <jug@lyx.org>
4230 * insettext.C (localDispatch): hopefully fixed cursor up down
4231 movement on leaving other insets.
4233 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4235 * insettext.C: fix inconsistent usage of spaces, colons,
4236 capitalization, and the like.
4238 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4240 * insetgraphics.C (prepareFile): do not remove the extension of
4241 the file name if it is not the default extension for the given
4242 format (that is, in latex output, remove extension from foo.eps,
4243 but not from foo.epsi)
4245 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4247 * insettext.C (lfunMouseRelease): hackish solution to the "double
4250 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * insetfloat.C (addToToc): use the floats name not its type
4253 * insetwrap.C (addToToc): ditto
4255 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4257 * insetnote.C (init): make label font smaller
4259 2002-12-04 John Levon <levon@movementarian.org>
4261 * insetinclude.C: ressurect setting of command name
4263 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * insetquotes.C (dispString): disambiguate insert call
4267 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * several files: ws changes
4271 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * insetquotes.C (dispString): use string::insert for prepending a
4276 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4278 * insetparent.C (getScreenLabel): use boost::format
4280 * insetgraphics.C (prepareFile): use boost::format
4283 * insetfloatlist.C (latex): use boost::format
4285 * insetcaption.C (draw): use boost::format
4287 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4289 * insettabular.C (tabularFeatures): Support for block alignment in
4290 fixed width columns.
4292 2002-11-20 Juergen Vigna <jug@sad.it>
4294 * insettabular.C (resetPos): temporary fix for endless loop in
4295 this function on a redraw.
4297 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * insettabular.C (copySelection): STRCONV
4301 * insetinclude.C (uniqueID): STRCONV
4302 (latexString): ditto
4304 * insetgraphics.C: put VersionNumber inside anon namespace
4305 (createLatexOptions): STRCONV
4307 * insetcommandparams.C: include config.h
4309 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4311 * insetgraphicsParams.C (Write): use lyx::float_equal.
4312 Write height data correctly.
4313 (Read): zero scale when reading height data.
4315 2002-10-30 John Levon <levon@movementarian.org>
4317 * insetfloat.C (addToTOC): recursively traverse all
4318 contents looking for captions (fix #568)
4320 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4322 * insetexternal.C (doSubstitution): do not try to replace
4323 environment variables, this is done when executing the command
4325 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4327 * insetexternal.C (doSubstitution): change order of substitution
4328 to work around ReplaceEnvironmentPath brokenness
4330 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4332 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4334 * insetgraphicsParams.C (init, Write): associated changes
4335 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4336 InsetGraphicsParams::scale.
4338 2002-10-21 John Levon <levon@movementarian.org>
4340 * inset.h: remove unused DISPATCH_RESULT
4342 * insettext.C: sgml open/close tag now in sgml namespace
4344 2002-10-21 Angus Leeming <leeming@lyx.org>
4346 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4347 file path subdir/fig.eps when pasting it into a buffer in a different
4350 2002-10-16 John Levon <levon@movementarian.org>
4352 * insetspecialchar.C: remove \\protected_separator parsing
4354 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4356 * insetquote.C: fix LaTeX output of quotation marks.
4358 2002-10-14 Juergen Vigna <jug@sad.it>
4360 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4361 Backspace functions which confused the Undo handling.
4363 2002-10-09 Angus Leeming <leeming@lyx.org>
4365 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4366 BufferView::dispatch that turns off this optimisation when a new inset
4369 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4370 reload the BibTeX keys.
4372 2002-10-11 André Pönitz <poenitz@gmx.net>
4374 * insettext.h: handle LFUN_PRIOR/NEXT
4376 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4378 * insetfloat.C: fix bug with float settings
4379 (document default != float default).
4381 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4383 * insetwrap.C (addToToc): New method.
4384 (InsetWrap): Set layout to caption.
4386 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4390 2002-09-16 John Levon <levon@movementarian.org>
4392 * insettabular.h: hasSelection() needs to be public
4394 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4396 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4398 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4400 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4402 2002-09-11 André Pönitz <poenitz@gmx.net>
4404 * insettabular.C: implement LFUN_WORDSEL
4406 2002-09-10 John Levon <levon@movementarian.org>
4408 * insetinclude.h: remove unused param
4410 2002-09-09 John Levon <levon@movementarian.org>
4413 * insetinclude.C: remove noload, default to input
4415 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4417 * insetgraphics.C: disfuscated use of ']' in built output string.
4419 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4423 2002-08-29 Juergen Vigna <jug@sad.it>
4425 * insettabular.C (lfunMousePress): Pay attention where you set
4426 the x/y values as they depend on which inset in the tabular is
4427 actually locked. So you surely have to reset them if you (un)lock
4430 2002-08-29 André Pönitz <poenitz@gmx.net>
4432 * insetfootlike.h: rename include guard to ALL CAPS
4434 * insettext.C: swap object and first parameter for checkInsetHit calls
4435 as this functions has moved from BufferView to LyXText
4438 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4440 * insetgraphicsParams.C: remove local displayTranslator and use
4441 the one from graphics/GraphicsTypes.h.
4443 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4445 * insetfloat.C (wide): add BufferParams parameter
4447 * insetfloatlist.C (read):
4450 * insetfloat.C (latex):
4452 * insetcaption.C (draw): use LyXTextClass::floats()
4454 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4456 * insetoptarg.h: add std:: qualifier.
4458 2002-08-26 Juergen Vigna <jug@sad.it>
4460 * insettext.C (localDispatch): ditto.
4462 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4464 2002-08-25 John Levon <levon@movementarian.org>
4466 * inseturl.C: elide long URLs (bug 404)
4468 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4470 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4471 remove "Format Version <version_no.>" string from inset header
4474 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4476 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4477 a member of "grfx::Params" anymore.
4479 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4481 2002-08-24 John Levon <levon@movementarian.org>
4484 * insetoptarg.C: ws, pedantry ...
4486 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4488 * insettext.C (collapseParagraphs): pasteParagraph now in global
4490 (appendParagraphs): ditto
4492 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4494 * insetcite.C (latex): Remove spaces only after commmas.
4496 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * insettext.C: remove NO_COMPABILITY stuff
4500 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * insettext.C (edit): use ParagraphList iterators
4504 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4505 (bibitemWidest): ditto
4507 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4509 * insettext.C: include <boost/bind.hpp>
4510 add using std::for_each
4511 (saveLyXTextState): use ParagraphsList::iterator
4512 (init): use for_each on paragraphlist iterators
4513 (InsetText): remove superflous setting cached_bview to 0
4514 (latex): reformat a bit
4515 (ascii): use paragraphlist iterators
4516 (validate): use for_each + boost bind
4517 (getLabelList): use paragraphlist iterators
4518 (deleteLyXText): use for_each + boost::bind
4519 (resizeLyXText): ditto
4520 (reinitLyXText): ditto
4521 (removeNewlines): use paragraphlist iterators
4522 (getParFromID): ditto
4523 (paragraph): use for_each + boost::bind
4524 (getInsetFromID): use paragraphlist iterators
4525 (getLabelList): typo fix
4527 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * insettext.C (read): assign tmp to paragraphs after return from
4530 call to parseSingleLyXformat2Token
4533 2002-08-13 Angus Leeming <leeming@lyx.org>
4551 * inseturl.C: changes due to the changed LyXView interface that
4552 now returns references to member variables not pointers.
4554 2002-08-13 Angus Leeming <leeming@lyx.org>
4557 * insetcollapsable.h:
4560 * insettext.h: forward-declare WordLangTuple
4561 (selectNextWordToSpellcheck) constify return type.
4564 * insetcollapsable.C:
4567 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4569 2002-08-12 Angus Leeming <leeming@lyx.org>
4571 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4574 2002-08-12 Juergen Vigna <jug@sad.it>
4576 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4579 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4582 (bibitemWidest): ditto
4583 * insettext.[Ch]: ditto
4585 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4589 2002-08-09 Angus Leeming <leeming@lyx.org>
4591 * insetinclude.C (latexString): remove fudge now that I've found out
4592 how to enable LaTeX to find the file using input@path.
4594 2002-08-09 John Levon <levon@movementarian.org>
4597 * insettext.C: remove unused xpos
4599 2002-08-07 Juergen Vigna <jug@lyx.org>
4601 * insettabular.C (localDispatch): make delete not put the stuff
4602 in the clipboard only do this on a cut operation.
4604 * insettext.C (localDispatch): make delete and backspace not put
4605 selected stuff to the clipboard.
4607 2002-08-07 André Pönitz <poenitz@gmx.net>
4610 * insetcollapsable.[Ch]:
4614 * insettabular.[Ch]:
4615 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4617 2002-08-06 John Levon <levon@movementarian.org>
4621 * insetcollapsable.h:
4622 * insetcollapsable.C:
4628 * insettext.C: use WordLangTuple for spellcheck
4630 2002-08-06 Angus Leeming <leeming@lyx.org>
4632 * insetinclude.C: add a monitor to the previewed image, so that the
4633 image is refreshed if the \input-ed file changes.
4635 2002-08-04 John Levon <levon@movementarian.org>
4638 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4640 2002-08-02 Angus Leeming <leeming@lyx.org>
4642 * insetcommandparams.[Ch] (preview): new methods returning and setting
4643 a new bool preview_ flag.
4644 (read): read this flag.
4645 (operator==): add flag to check.
4647 * insetinclude.C (write): output new preview() flag.
4648 (previewWanted): use this flag.
4650 2002-08-02 Angus Leeming <leeming@lyx.org>
4652 * insetcollapsable.[Ch] (addPreview):
4653 * insettabular.[Ch] (addPreview):
4654 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4655 for insets in insets.
4657 2002-08-02 Angus Leeming <leeming@lyx.org>
4659 * insetcite.C: fix typo.
4661 * insetgraphics.C: kill current_view and instead cache the BufferView
4664 * insetinclude.C: kill current_view and pass the BufferView to the
4665 PreviewedInset so that it can cache it.
4667 2002-08-01 Angus Leeming <leeming@lyx.org>
4669 * inset.h (generatePreview): renamed as addPreview.
4670 (generatePreview): new method. Allows code to be moved out of
4671 math_nestinset.C and into the new PreviewedInset class.
4673 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4674 add previews to the inset when \input-ing LaTeX.
4676 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * several files: strip,frontStrip -> trim,ltrim,rtrim
4680 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * insetbib.C (latex): modify because of strip changes
4684 * insetnote.C (InsetNote): ditto
4686 2002-07-26 Juergen Vigna <jug@sad.it>
4688 * insettabular.C (searchForward): check for lastcell if we
4689 had a locking inset.
4691 2002-07-25 Juergen Vigna <jug@sad.it>
4693 * insettabular.C (insetMotionNotify): Don't update the screen
4694 if we didn't do nothing.
4695 (searchForward): last cell was not checked.
4697 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4699 * insetfloat.C (read, write): Allow default placement
4700 (floatPlacement_ is empty).
4702 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * insetminipage.h (noFontChange):
4705 * insettabular.h (noFontChange):
4706 * insetfootlike.h (noFontChange):
4707 * insetfloat.h (noFontChange): return true
4709 * inset.h (noFontChange): new method, defaulting to false
4711 2002-07-22 Herbert Voss <voss@lyx.org>
4713 * insetgraphicsParams.[Ch]: support size_type for old docs
4715 2002-07-22 Herbert Voss <voss@lyx.org>
4718 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4721 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4723 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4725 * insetlatexaccent.h: do not include "lyxlex.h"
4727 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4730 * insetlatexaccent.C:
4734 * insetbib.C: #include "lyxlex.h"
4740 * insettext.C: use BufferParams::getLyXTextClass
4743 * insetfloat.C (addToToc): new method. Add to toclist the entries
4744 corresponding to Caption layouts
4745 (InsetFloat): when creating a new float, set the layout to "Caption"
4747 2002-07-21 Herbert Voss <voss@lyx.org>
4749 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4750 image relevant part into graphics/GraphicsImgae.C
4752 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4754 * insettoc.C (ascii):
4755 * insetfloatlist.C (ascii): change to use the new Toc functions
4756 instead of stuff that was in Buffer
4758 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * insettext.C (localDispatch): BufferView::Dispatch has been
4761 renamed to BufferView::dispatch
4763 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4765 * insetgraphicsParams.C (as_grfxParams): use the new
4766 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4767 1.2.0 patch, and I do not really know how to adapt it to the new
4768 grfx::Cache world. Angus, please could you have a look?
4770 2002-05-01 Herbert Voss <voss@lyx.org>
4772 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4774 2002-07-18 Angus Leeming <leeming@lyx.org>
4776 * insetgraphics.C: clean-up comments (from Herbert).
4777 add a new checksum variable to the cache. Use it in PrepareFile.
4778 (draw): start monitoring the file for a change.
4779 (prepareFile): re-arrange a little to avoid unnecessary steps.
4781 2002-07-17 Angus Leeming <leeming@lyx.org>
4783 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4784 a method rather than to the signal directly.
4786 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4788 * insettext.C: use view_state_changed, switchKeyMap
4790 2002-07-17 Herbert Voss <voss@perce.de>
4792 * insetgraphics.C (prepareFile): keep the extension when
4793 exporting to nice file
4795 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4797 * insetcite.C (getNatbibLabel):
4798 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4800 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4802 * insetgraphics.C: use ->isDrawable()
4804 2002-07-12 Angus Leeming <leeming@lyx.org>
4806 * insetgraphics.C: use the new smart loading capabilities of the image
4809 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4811 * insettabular.C (edit): Move into correct cell when entering a
4814 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4817 2002-07-05 Angus Leeming <leeming@lyx.org>
4819 * inset.h (generatePreview): new virtual method.
4821 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4823 * insetcommandparams.[Ch] (operator=): move out of class
4824 (operator!): move out of class
4826 2002-07-04 André Pönitz <poenitz@gmx.net>
4828 * insetcommandparams.[Ch]: new files
4830 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4832 2002-06-15 Herbert Voss <voss@perce.de>
4834 * insetgraphics.C (prepareFile): bugfix; return always
4835 files without extension
4837 2002-06-28 Angus Leeming <leeming@lyx.org>
4839 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4840 rename asGParams -> as_grfxParams.
4842 * insetgraphics.C: reflect above change.
4844 2002-06-26 Angus Leeming <leeming@lyx.org>
4846 * insetgraphics.h: use boost::scoped_ptr in preference to
4849 2002-06-26 Angus Leeming <leeming@lyx.org>
4851 * insetgraphics.C: moved the image loading stuff into a new class
4852 grfx::Loader. Simplifies this file enormously.
4854 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4856 * insetgraphicsParams.C: changes aassociated with moving
4857 grfx::DisplayType out of grfx::GParams.
4859 2002-06-26 André Pönitz <poenitz@gmx.net>
4861 * insetgraphics.C: use os::external_path where necesaary according to a
4862 patch from Claus Hentschel)
4864 2002-06-25 Angus Leeming <leeming@lyx.org>
4866 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4867 generating a pixmap once the graphics file is loaded into memory.
4868 The current_view ugliness that was in grfx::ModifiedImage has been
4869 moved here now that grfx::ModifiedImage is no more.
4871 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4873 * insettext.C: layout as layout
4875 2002-05-28 André Pönitz <poenitz@gmx.net>
4877 * insetfloatlist.h: remove source of compiler warning
4879 * insetref.C: tiny whitespace
4881 2002-06-15 Herbert Voss <voss@perce.de>
4883 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4884 and take always convert when no userdefined converter was
4886 (latex) small changes in the lyxerr output
4888 2002-06-15 LyX Development team <lyx@rilke>
4890 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4891 mixed content. Small white spaces clean.
4893 2002-06-14 Angus Leeming <leeming@lyx.org>
4895 * inseetexternal.C: remove the using std::difftime declaration.
4897 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4899 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4901 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4903 * insetquotes.C (draw): fix drawing of double quotes
4905 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4907 * insettabular.C: s/scrollCB/scrollDocView/
4909 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4911 * insettext.C: change of topCursorVisible()
4914 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4917 * insettext.C: rename/change of LyXScreen
4919 2002-06-07 Angus Leeming <leeming@lyx.org>
4921 Fixes needed to compile with Compaq cxx 6.5.
4923 * insetexternal.C: all c-library variables have been moved into
4924 namespace std. Wrap using std::xyz declarations inside a #ifndef
4925 CXX_GLOBAL_CSTD block.
4927 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * insetinclude.C (uniqueID):
4930 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4931 conflicted with some AIX headers.
4933 2002-05-31 Juergen Vigna <jug@sad.it>
4935 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4939 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4941 * insetexternal.C (clone): fix () bug when using new
4942 (updateExternal): don't only look for difftime in global scope
4944 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4946 * insettabular.C: add const
4948 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4950 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4951 file name, in case there are weird characters like ',' in there.
4954 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4956 * switch from SigC signals to boost::signals.
4958 2002-05-28 André Pönitz <poenitz@gmx.net>
4960 * insets/insetgraphicsParams.[Ch]:
4961 put in inset related stuff from src/graphic
4963 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4971 * insetcollapsable.C:
4972 * insetcollapsable.h:
5000 * inseturl.h: use mouse_state. Kill insetKeyPress
5002 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5007 * insetcollapsable.C:
5010 * insetlatexaccent.C:
5012 * insetspecialchar.C:
5014 * insettext.C: name change for font metrics
5016 2002-05-24 Juergen Vigna <jug@sad.it>
5018 * insetgraphics.h: include inset.h first (for LString.h)
5020 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5022 * insettext.C: screen moved
5024 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5042 * inseturl.C: LyXView moved into frontends/
5044 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5049 * insetcollapsable.C:
5053 * insetgraphicsParams.C:
5054 * insetlatexaccent.C:
5056 * insetspecialchar.C:
5058 * insettext.C: move Painter to frontends/
5060 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5062 * insettabular.h: use more specific smart_ptr header.
5063 * insettext.h: ditto
5065 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5068 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5070 * insettext.C: clear selection on paste (bug 393)
5072 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5074 * insettext.C (latex): Honor the moving_arg argument.
5076 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5078 * insetfoot.C (latex): if a footnote is in a title layout, then it
5079 is a \thanks. And then, its contents is a moving argument.
5081 2002-05-14 Juergen Vigna <jug@sad.it>
5083 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5086 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5088 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5089 when using options "Full author list" or "Upper case".
5091 2002-05-14 Herbert Voss <voss@perce.de>
5093 * insetgraphics.C (prepareFile): allow files with same name
5095 (readFigInset): set the flags from old figinset in the right
5097 (findTargetFormat): more comments
5099 2002-05-14 Juergen Vigna <jug@sad.it>
5101 * insettext.C (edit): tell checkAndActivateInset() that we don't
5102 have a button press.
5103 (checkAndActivateInset): if button < 0 we don't have a button press
5104 on the inset and os we won't call edit on it if it's not a Highly
5105 editable inset (then we have to enter it).
5107 2002-05-13 Juergen Vigna <jug@sad.it>
5109 * insetcollapsable.C (insetButtonRelease): returned wrong return
5112 2002-05-09 Juergen Vigna <jug@sad.it>
5114 * insetcollapsable.C (edit): first_after_edit should only be
5115 set to true if we enter this inset and it was collapsed so we
5116 open it up. This is needed to reclose it after a search/replace
5117 or spellcheck function opened it and was negative.
5119 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5121 * insetfloat.C (latex): Return correct value.
5123 2002-05-04 Herbert Voss <voss@perce.de>
5125 * InsetgraphicsParams.C (read): fix bug with WH
5127 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5129 * insetfloat.C (latex): More sensible latex output
5130 (fix the problem with endfloat).
5132 2002-05-02 José Matos <jamatos@fep.up.pt>
5134 * insetgraphics.C (validate): acess params as everyone else.
5136 2002-05-03 Juergen Vigna <jug@sad.it>
5138 * insettabular.C (fitInsetCursor): recalculate the cursor position
5141 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5143 * InsetgraphicsParams.[Ch]: whitespace.
5145 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5147 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5148 float type do not exist.
5150 2002-04-28 Herbert Voss <voss@perce.de>
5152 * insetgraphics.C (latex): fix bug with missing file-extension.
5153 LaTeX still allows a missing "eps" or "ps".
5155 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5157 * insetfloat.C (c-tor, wide): translate the name of the float.
5159 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5161 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5162 when using natbib and make it work efficiently. Must emphasise that the
5163 real work is Herbert's.
5165 2002-04-23 Herbert Voss <voss@perce.de>
5167 * insetgraphic.C (prepareFile): fix bug with overwriting and
5168 deleting an existing *.eps-file in the doc-dir
5170 2002-04-23 Juergen Vigna <jug@sad.it>
5172 * insettabular.C (drawCellSelection): fix off by 1 error.
5174 2002-04-22 Juergen Vigna <jug@sad.it>
5176 * insettabular.C (setFont): rewoke full selection if it was asked,
5177 after we changed all we had to change.
5179 * insettext.C (insetUnlock): code was uninitialized in some situations.
5181 2002-04-19 Herbert Voss <voss@perce.de>
5183 * insetgraphic.C (prepareFile): return filename without
5184 extension if we only export without compiling
5186 2002-04-19 Juergen Vigna <jug@sad.it>
5188 * insettext.C (draw): call a fullRebreak on the row where we had a
5189 change and reset the cursor and selection-cursors.
5191 * insettabular.C (insetUnlock):
5192 (insetButtonPress): call an update before setting the_locking_inset = 0
5193 as otherwise we don't repaint!
5194 (update): reset the cursor position when we changed dimensions as
5195 otherwise our cursor may be on the wrong spot.
5197 2002-04-18 Juergen Vigna <jug@sad.it>
5199 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5200 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5201 redraw otherwise we won't redraw.
5203 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5204 not really right before, but I only discovered this with the last
5205 changes to Page up/down.
5207 2002-04-17 Juergen Vigna <jug@sad.it>
5209 * insettext.C (checkAndActivateInset): simplified as we now have the
5210 edit(bv, bool) call.
5212 * insettext.h: changed behind variables to front variables to be
5213 equal to the one in the edit call (as it is for that they are used).
5215 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5217 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5218 not output anything at all!
5220 2002-04-16 Juergen Vigna <jug@sad.it>
5222 * insettabular.C (insetButtonPress):
5223 (insetUnlock): call a redraw on unlocking the cell inset.
5225 * insettext.C (insetButtonPress): same as below.
5226 (lockInset): new function to set initial values when inset should
5228 (insetButtonPress): use above function.
5229 (insetUnlock): don't force a repaint only set the updateStatus. The
5230 outside world should repaint if it thinks it should be done!
5232 * insettabular.C (insetButtonPress): init values if not set as locked
5233 as we are locked if someone presses on us and don't call the edit()
5234 call of the InsetText to lock it do it as BufferView does it!
5236 * inset.h (insetInInsetY): make func const and return an int.
5239 * insetcollapsable.C: adapt the above changed function.
5241 2002-04-15 Juergen Vigna <jug@sad.it>
5243 * insettext.C (getCursorPos): return relative position as to be able
5244 to give them directly to the edit() call.
5245 (edit): we have to set also x_fix as it is not set inside the
5246 setCursorFromCoordinates call!
5247 (insetMotionNotify): ditto.
5249 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5251 * insetbib.C (getKeys): strip leading '\t's from the line too.
5252 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5254 2002-04-12 Juergen Vigna <jug@sad.it>
5256 * insettext.h: added cix() helper function and use it where appropriate
5258 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * insetgraphics.C (prepareFile): fix bug when graphics is a
5263 2002-04-12 Juergen Vigna <jug@sad.it>
5265 * insettext.C (insertInset): remove unneeded code!
5266 (updateLocal): fitCursor() fixes.
5267 (collapseParagraphs): fix a possible problem when having a selection
5268 and collapsing the paragraphs.
5270 2002-04-08 Herbert Voss <voss@perce.de>
5272 * insetgraphic.C (write): write the rotating angle as
5273 a float as is. test only for != 0.0
5275 2002-04-11 Juergen Vigna <jug@sad.it>
5277 * insettext.C: new function ciy() and use it for setting inset_y.
5279 * insetert.C (draw): fix the x return for collapsed version.
5281 2002-04-07 Herbert Voss <voss@perce.de>
5283 * insetgraphic.C (readFigInset): fix bug with subcaption and
5286 2002-04-08 Herbert Voss <voss@lyx.org>
5288 * insetgraphicsparam.C: forgot special option and delete old
5291 2002-04-05 Juergen Vigna <jug@sad.it>
5293 * insettext.C (localDispatch): make a CURSOR update if we inserted
5296 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5298 * insetfloatlist.C (getScreenLabel):
5299 (latex): use Floating::listName
5300 (validate): new method
5302 2002-04-03 José Matos <jamatos@fep.up.pt>
5304 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5306 * insetfoot.[Ch] (docbook): added forgotten method.
5308 2002-04-03 Juergen Vigna <jug@sad.it>
5310 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5311 way as in Bufferview_pimpl.
5313 2002-04-03 Allan Rae <rae@lyx.org>
5315 * insetgraphics.C (latex): one % too many makes living on the bleeding
5316 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5318 2002-03-28 Herbert Voss <voss@lyx.org>
5320 * insetgraphic.C (latex): simplify the code for the latex
5321 output when the file doesn't exist
5323 2002-03-29 Juergen Vigna <jug@sad.it>
5325 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5328 * insettabular.C (edit): call fitCursor().
5330 * insettext.C (insetButtonPress): change behaviour of no_selection
5331 to the one in the BufferView selection_possible and fix the spurious
5332 selection bug with it.
5333 (localDispatch): revoke selection on BREAK... functions.
5335 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5337 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5339 2002-03-28 Juergen Vigna <jug@sad.it>
5341 * insettabular.C (insetAllowed): return true as default value otherwise
5342 we're not able to insert insets inside paragraphs of an not locked
5345 2002-03-27 Herbert Voss <voss@lyx.org>
5347 * insetgraphicsparam.C: change c%, p% to col%, page%
5349 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * insetspecialchar.C (isLineSeparator): disable the nice code to
5352 allow linebreaks after hyphenation and menu separators.
5354 2002-03-26 Herbert Voss <voss@lyx.org>
5356 * insetgraphics.C (figinsetRead): set the right lyxview
5358 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5360 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5361 $\backslash$ and pass a "string const &" to the function.
5362 (prepareFile, latex): use Path rather than MakeAbsPath.
5364 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5366 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5367 proper fix to the graphics cache.
5368 (latex): "really" nice output if the file is not found ;-)
5370 2002-03-26 Juergen Vigna <jug@sad.it>
5372 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5373 (collapseParagraphs): fixed inserting of separator ' '
5375 * insettabular.C (insertAsciiString): only check for buffer lenght
5376 not if we have \t or \n inside the buffer as if we don't have we only
5377 have 1 cell and that's it!
5379 * insetert.C (close): don't collapse if inlined.
5381 2002-03-25 Herbert Voss <voss@lyx.org>
5383 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5384 graphics file does not exist.
5386 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5388 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5389 path when preparing export.
5391 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5392 no longer MakeRelPath.
5394 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5396 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5397 Used to determine the absolute path to the graphics file in the
5398 graphics cache and only in the graphics cache.
5399 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5400 make graphics file name absolute if it is stored as a relative path.
5402 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5403 make graphics file name absolute if it is stored as a relative path.
5405 * insettext.C (edit): emit an updateParagraph signal on entering a text
5406 inset. Needs to be emitted when leaving the inset also.
5408 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5410 * all files: ws cleanup
5412 * Makefile.am: remove ld -r stuff
5414 2002-03-21 Juergen Vigna <jug@sad.it>
5416 * insettext.C (appendParagraphs): new function added to append
5417 the paragraphs to this insets paragraphs.
5419 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5421 * Makefile.am: special rules if partial linking
5423 2002-03-19 Juergen Vigna <jug@sad.it>
5425 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5427 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5429 * insetgraphics.C: Clean up Baruch's comments a little.
5430 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5432 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5435 * insettheorem.C: wrap warnings
5437 * insetgraphics.C: improve messages, move cached_status_
5438 setting to safer place
5440 2002-03-18 Juergen Vigna <jug@sad.it>
5442 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5444 (localDispatch): ditto
5446 * insettext.C (edit): removed unneeded showCursor calls.
5447 (localDispatch): ditto.
5449 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5451 * insetgraphics.h: remove display() method.
5453 2002-03-11 Juergen Vigna <jug@sad.it>
5455 * insetgraphics.C (draw): hack to fix the redrawing bug.
5456 (draw): seems this fixes #268 (force redraw of row if we changed).
5458 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5459 this inset text (don't know why I missed this earlier).
5461 2002-03-08 Juergen Vigna <jug@sad.it>
5463 * insettabular.C (updateLocal): do a FULL update if we're not locked
5464 and only a CELL update is asked.
5466 * insettext.C (updateInsetInInset): update insets inside inset also
5467 if it isn't inside the_locking_inset.
5469 * insettabular.C (updateInsetInInset): ditto.
5471 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5473 * insetexternal.C (doSubstitution): check whether we are using a
5474 temp dir for defining $$FPath
5476 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5479 * insettext.C: remove #include "WorkArea.h".
5481 2002-03-06 Juergen Vigna <jug@sad.it>
5483 * insettext.C (draw): fixed frame redrawing.
5484 (clear): forgot to set the inset_owner of the paragraph.
5486 * insetert.C (status): pay attention the bv can be 0 here!
5487 (getMaxWidth): add the default leftMargin
5489 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5491 * insetert.C (getMaxWidth): make w unsigned int.
5493 2002-03-05 Juergen Vigna <jug@sad.it>
5495 * insetert.C (status): change behaviour of Inlined.
5496 (getMaxWidth): added for new inlined behaviour.
5498 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5500 * insetnote.h (linuxdoc, docbook): add empty methods.
5501 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5502 before being initialized.
5504 2002-03-05 Juergen Vigna <jug@sad.it>
5506 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5507 only that one in the inset. Should be enough.
5508 (updateLocal): set the selection cursor always if we don't have a
5509 selection to be sure it's set!
5511 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5513 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5515 * insettext.C (clear): a gross hack to set layout on a newly
5518 2002-03-04 Juergen Vigna <jug@sad.it>
5520 * insettabular.C (localDispatch): inserted handling of
5521 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5522 (insertAsciiString): new helper function.
5524 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5526 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5529 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5531 * insettext.C (InsetText): initalize newly created par with
5532 default layout. add bufferparams parameter
5535 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5536 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5537 * insetert.[Ch] (InsetERT): ditto
5538 * insetfloat.[Ch] (InsetFloat): ditto
5539 * insetfoot.[Ch] (InsetFoot): ditto
5540 * insetfootlike.[Ch] (InsetFootLike): ditto
5541 * insetmarginal.[Ch] (InsetMarginal): ditto
5542 * insetminipage.[Ch] (InsetMinipage): ditto
5543 * insetnote.[Ch] (InsetNote): ditto
5544 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5546 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * insettext.C: layout as string
5550 * insetinclude.C: layout as string
5552 * insetert.C: layout as string
5554 * insetbib.C: layout as string
5556 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5559 * insettabular.C: remove #include "lyx_gui_misc.h".
5561 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5566 * inset.h: remove figinset, yahoo !
5568 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5570 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5571 copy c-tor and initialise member variables in the correct order.
5573 2002-02-28 Juergen Vigna <jug@sad.it>
5575 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5577 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5579 * inset.h: ... and add a better one here.
5581 * insetcommand.C (insetButtonRelease): remove that one which was a
5584 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5586 * insetcommand.C (insetButtonRelease): ... and move it here.
5588 * inseturl.h: remove insetButtonRelease from there...
5590 2002-02-26 Juergen Vigna <jug@sad.it>
5592 * inseturl.h: Added a insetButtonRelease call returning true as
5595 * insetlabel.C (edit): Fixed wrong update handling after change I
5596 leave in the wrong code for the one who wrote it to remove and have
5597 a look what he did wrong.
5599 * insettabular.C (localDispatch): force a SELECTION update if we
5600 had a selection and we passed the event down to the inset (fix #213)
5601 (localDispatch): handle font changing stuff when we have a cell
5602 selection so that the selection is not rewoked. I don't really like
5603 this fix, but it's the only way I see to do it right now.
5605 2002-02-22 Juergen Vigna <jug@sad.it>
5607 * insettext.C (insetUnlock): set the cursor to the second paragraph
5608 if available and if the first one is empty (fix #191).
5610 2002-02-20 Juergen Vigna <jug@sad.it>
5612 * insettext.C (getDrawFont): implemented this function to call the
5613 one of the owner if present as the owner normally knows what to do
5616 * insetert.C: implement getDrawFont() function and comment out all
5617 the crap for setting a special latex font inside this inset.
5618 (InsetERT): added a Lanugage parameter to this constructor.
5620 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5621 change the font for being drawn on screen (used only in InsetERT for
5624 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5625 and also above (was missing).
5626 (updateLocal): don't remove the cell selection if we have one this
5627 should be done where we really want to remove it.
5629 2002-02-20 José Matos <jamatos@fep.up.pt>
5631 * insetinclude.h: include_label made string const.
5633 * insetinclude.C (InsetInclude): moved include_label initialization.
5636 (validate): fix support for temporary directory, for docbook and
5639 * insetgraphics.h : new private member, graphic_label, that holds
5640 the entity name that defines the graphics location (SGML).
5642 * insetgraphics.C (unique_id): new function to give a unique label
5645 (validate): the file locatation is given by an entity reference.
5647 2002-02-18 Herbert Voss <voss@lyx.org>
5649 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5651 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5653 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5654 as support/systemcall.[Ch] and of class Systemcalls as class
5657 2002-02-18 José Matos <jamatos@fep.up.pt>
5659 * insetinclude.C (validate): some code only applies to latex buffers,
5660 it was made conditional.
5662 2002-02-12 Herbert Voss <voss@lyx.org>
5664 * insetgraphics.C: (prepareFile) do not check at this time
5665 if the file is present.
5667 2002-02-12 Herbert Voss <voss@lyx.org>
5669 * insetgraphics.C: latex(), return the correct newlines
5671 2002-02-13 José Matos <jamatos@fep.up.pt>
5673 * inseturl.C (docbook): escape & in url.
5675 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5677 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5678 after HYPHENATION and MENU_SEPARATOR
5680 * inset.h (isLineSeparator): new method, returns false by default.
5682 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5684 * insetert.C (status): do not update the text inset, but the ERT
5687 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5689 * insetnote.C: use notebg for background
5691 2002-02-08 Herbert Voss <voss@lyx.org>
5694 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5695 prevent LyX from unzipping when this should be handled
5696 by latex vis the graphic.cfg.
5699 2002-02-08 Herbert Voss <voss@lyx.org>
5701 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5702 exists, than return filename with extension
5704 2002-02-06 Herbert Voss <voss@lyx.org>
5706 * insetgraphic.C: prepareFile(): don't convert the file, when
5707 it's not viewed in LyX. Saves a lot of time when opening a
5710 2002-02-05 Herbert Voss <voss@lyx.org>
5713 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5714 and adding a rotate bool similiar to subcaption
5716 2002-02-04 Herbert Voss <voss@lyx.org>
5719 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5720 similiar view to the LaTeX one. Get zipped files work.
5722 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5724 * insetgraphicsParams.C (init): set display to DEFAULT.
5725 No longer #include "lyxrc.h".
5727 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5729 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5730 for now (so that the code compiles).
5732 2002-02-02 Herbert Voss <voss@lyx.org>
5734 * insetgraphic.C: delete inVariant() and some minor changes
5735 * insetgraphicsParams.[C]:
5737 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5739 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5740 interogate lyxrc.display_graphics before diaplaying the graphic.
5742 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5743 InsetGraphicsParams::DisplayType.
5745 2002-01-31 Herbert Voss <voss@lyx.org>
5747 * insetgraphic.C: (readfigInset) set display to pref-default
5749 2002-01-30 Herbert Voss <voss@lyx.org>
5751 * insetgraphic.C: get the filetyp from it's contents
5752 * insetgraphicparams.C: add token scale and lyxrc.display when
5753 creating a new inset
5755 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5757 * figinset.C: added using std::ios directive.
5759 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5761 * figinset.C (runqueue): open translation file in binary mode (for
5764 2002-01-27 Herbert Voss <voss@lyx.org>
5766 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5767 all options and to be sure that the old figinsets are correct
5769 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5770 structure and to support all lengths as LyXLength. The Parameter
5771 structure changed again, but reading of "old" 1.2 graphic insets
5774 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5776 * insetert.h (forceDefaultParagraphs): Added
5778 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5780 * insettabular.C (getMaxWidth):
5781 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5783 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5785 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5786 of LyXLength::inPixels
5788 * inset.C (latexTextWidth):
5789 * insetminipage.C (latexTextWidth): new method, which implements
5790 the equivalent of the LaTeX macro \textwidth
5792 * insetminipage.C (getMaxWidth): use latexTextWidth
5794 2002-01-18 Juergen Vigna <jug@sad.it>
5796 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5798 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5800 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5802 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5805 2002-01-17 Juergen Vigna <jug@sad.it>
5807 * insettabular.C (lockInsetInInset): same change as in insettext.
5809 * insettext.C (draw): width() function was called without setting
5810 the right top_x which could lead to wrong insetWidth setting!
5811 (lockInsetInInset): call edit instead of calling lockInset if we
5812 have to lock an inset inside!
5813 (edit): we have to also tell the inset that we have to redraw the
5814 frame on an edit call if this inset draws a frame only if locked.
5816 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5818 * insetbib.C (getFiles): uncomment Path variable.
5820 2002-01-16 Juergen Vigna <jug@sad.it>
5822 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5825 2002-01-16 Allan Rae <rae@lyx.org>
5827 * insetinclude.C (docbook): someone forgot a ";"
5829 2002-01-16 José Matos <jamatos@fep.up.pt>
5831 * figinset.C (docbook): removed a old place holder "@".
5832 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5833 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5834 ascii text version, clearly guarded inside a CDATA section.
5835 (docbook): in docbook 4, inlinegraphics is empty.
5836 * insettabular.C (linuxdoc): export the ascii version of the table
5837 inside a CDATA section.
5839 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * insetparent.C (InsetParent):
5842 * insetgraphicsParams.C (Write):
5844 * insetgraphics.C (prepareFile):
5847 * insetexternal.C (executeCommand):
5848 (doSubstitution): use Buffer::filePath
5850 * insetbib.C (getFiles): add a #warning for Angus
5852 * insetgraphics.C: Add a remark about how filenames should be
5853 considered to be relative to buffer (but absolute is still allowed)
5854 (draw): do not try to get status if lyxrc.use_gui is false
5856 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5859 * insetcollapsable.[Ch]:
5860 * insettabular.[Ch] (searchForward, searchBackward): change the
5861 bool const & params to bool.
5863 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5864 to avoid the name clash with InsetCollapsable's methods of the same
5865 names but different functionality.
5867 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5869 * insettext.C (ascii): use lyx::count rather than countChar.
5871 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5873 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5875 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * insetgraphics.C (updateInset): do not try to render image if
5878 lyxrc.use_gui is false (bug #104)
5880 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5881 if file does not exist
5883 * figinset.C (browseFile): add shortcuts to directory buttons
5885 * insettext.C (updateLocal): update menubar and toolbar here too.
5887 2002-01-13 Allan Rae <rae@lyx.org>
5889 * insettabular.C (InsetTabular): Both constructors now initialise
5890 all class variables.
5892 2002-01-11 Juergen Vigna <jug@sad.it>
5894 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5896 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5898 * insettabular.C (getStatus): add forgotten brace around multiline
5901 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5903 * insetfloat.C (validate): require "float" instead of "floats".
5905 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5907 * insettabular.C (getStatus): use FuncStatus
5909 2002-01-08 Juergen Vigna <jug@sad.it>
5911 * insettabular.C (insetButtonRelease): now this should work too
5914 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5915 if the width is a percentage.
5917 * inset.h: added isChar() function and implemented this for
5918 insetspecialchar insetquotes and insetlatexaccent.
5919 added forceDefaultParagraphs() and implemented it for insettabular.
5921 2002-01-07 Juergen Vigna <jug@sad.it>
5923 * insettext.C (getLyXText): Fixed this function. An insert into the
5924 map is only done if we REALLY have a new BufferView.
5926 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5928 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5930 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5932 * insetinclude.C: fix use of FileInfo
5934 2002-01-07 Juergen Vigna <jug@sad.it>
5936 * insettabular.C (draw): fixed clearing of cell around inset.
5938 2002-01-05 Juergen Vigna <jug@sad.it>
5940 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5941 variables are updated.
5943 * insettabular.C (resetPos): set always the inset_y as it may be
5944 needed in another function.
5945 (searchBackward): don't draw while searching.
5947 2002-01-04 Juergen Vigna <jug@sad.it>
5949 * insettext.C (lockInsetInInset): forgot to set a cursor.
5951 2002-01-02 Juergen Vigna <jug@sad.it>
5953 * insettext.C (insertInset): make the correct undo informations on
5954 inserting new insets.
5956 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5958 * insettabular.C: correct single-cell select vertically
5960 2001-12-27 Juergen Vigna <jug@sad.it>
5962 * insettabular.C (ascii): export as tab-separated-values if the
5963 function was not called from export (f.ex.: clipboard).
5965 * insetcollapsable.h: added default support for ascii, linuxdoc and
5966 docbook export (the insettext is exported by default!)
5968 * insettabular.C (copySelection): suff the clipboard with the tabular
5969 data in a tab separated format, seems more naturals then with all the
5972 2001-12-24 Juergen Vigna <jug@sad.it>
5974 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5975 to check for REAL mouseMotion.
5977 2001-12-20 Juergen Vigna <jug@sad.it>
5979 * inset.C (cursor): return the owners cursor if available instead of
5980 always only the bv->text->cursor.
5982 * insettabular.C (checkLongtableSpecial): works now.
5984 2001-12-19 Juergen Vigna <jug@sad.it>
5986 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5987 this has to be always row + 1 as 0 means not selected!
5988 (checkLongtableSpecial): added
5989 (tabularFeatures): better longtable options support
5991 * insettext.C (resizeLyXText): reinit the text always also on a
5994 2001-12-18 Juergen Vigna <jug@sad.it>
5996 * insettext.C (updateInsetInInset): look if we have to autocollapse
5997 paragraps and return if the update is requested for ourself.
5999 * insetert.C (status): update the insettext not myself as that is what
6002 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
6003 function only return if the update was requested with myself.
6005 * insettext.C (insetButtonPress): fixed stupid bug.
6006 (various functions): pay attention that lt is cleared BEFORE calling
6007 updateLocal() and try to use it in the right manner (don't use it
6008 if it's not really neccessary!)
6009 (collapseParagraphs): insert a blank between collapsing paragraphs
6010 if neccessary (not already there!).
6012 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6014 * insettabular.C: move includes around a bit, add a couple of
6017 * insettext.[Ch]: move includes around a bit, other ws changes and
6020 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * insettext.C (insetButtonRelease): fix compile problem
6024 2001-12-17 Juergen Vigna <jug@sad.it>
6026 * insettext.C (insetButtonPress): set the selection cursor!
6027 (insetButtonPress): clear the selection (and set with that the
6028 selection.cursor) if we only hit an inset!
6030 * insetert.C (read): removed piece of compatibility code only needed
6033 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6036 * insetcollapsable.C (insetButtonRelease): changed so that it can
6037 open eventual existing popup dialogs on mousebutton==3.
6039 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6041 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6043 * inset.C (insetButtonRelease): return a bool for telling the outer
6044 world that we opened a dialog.
6046 2001-12-07 Juergen Vigna <jug@sad.it>
6048 * insettext.C (paragraph): remove the deleteing of paragraphs as
6049 it was a WRONG move!
6051 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6054 * insettabular.C: use new setSelection(). Allow
6055 selection of single cells.
6057 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6059 * insetquotes.C (latex): fix to use the local language setting at
6060 the point where the inset is inserted (different macros for
6061 different french packages)
6063 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6065 * inset.h: add par_owner_ member variable and parOwner
6068 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6070 * insettabular.C (everywhere): adapt because widths are now real
6071 widths and not strings
6073 * insettext.C (draw): re-introduce the calls to width(), ascent()
6074 and descent() to initialize the caching variables.
6076 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6078 * insettext.C (draw):
6079 (drawFrame): use insetWidth instead of last_width
6081 * insettext.h: remove variable last_width (insetWidth is exactly
6082 the same) and last_height (computed but never used!)
6084 2001-12-10 Allan Rae <rae@lyx.org>
6086 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6090 * insettext.C (insetAllowed): add comment
6092 2001-12-05 Juergen Vigna <jug@sad.it>
6094 * insettext.C (insetAllowed): fixed for the case that we directly
6095 ask the insettext from its LyXText.
6096 (paragraph): fixed the crash when assigning the par->next() from
6097 the EmptyParagraphMechanism!
6099 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6103 * insettext.C: change "while(" to "while ("
6105 2001-12-04 Juergen Vigna <jug@sad.it>
6107 * insetert.C (edit): handle Inlined status.
6109 * insettext.C (insertInset): trying John's fix for the trailing cursor
6111 * insetert.C (insetButtonPress): added to handle inlined status
6112 (insetMotionNotify): ditto.
6114 * insettext.C (clearInset): changed Painter & in BufferView * param,
6115 to be able to call ascent,descent methods.
6117 2001-12-03 Juergen Vigna <jug@sad.it>
6119 * insettext.C (updateInsetInInset): use lt variable to forbid
6120 changes of LyXText in an update call.
6121 (updateInsetInInset): fixed updating of non locked insets!
6123 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6125 * insettabular.C: capture some more functions to prevent
6126 selection drawing problems. Bug #451274
6128 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6131 * insetgraphicsParams.C: fix inverted sense of float_equal
6133 2001-11-30 Juergen Vigna <jug@sad.it>
6135 * insettabular.C (InsetTabular): use the save_id flag to create also
6136 the tabular with the same id's.
6138 * insettext.C (setParagraphData): added a same_id function for undo
6139 to set the same paragraph id's as of the paragraph we are setting.
6141 2001-11-30 José Matos <jamatos@fep.up.pt>
6144 * insettoc.[Ch]: DocBook -> docbook.
6146 2001-11-29 André Pönitz <poenitz@gmx.net>
6149 * insettext.C: further reduction of header dependencies by using
6150 lyx::layout_type and lyx::textclass_type from support/types.h
6152 2001-11-29 Juergen Vigna <jug@sad.it>
6154 * insettext.C: inserted a reinitLyXText function everywhere I delete
6155 the paragraphs! This should fixe the crashes we had.
6156 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6157 (paragraph): set the InsetOwner() of the new paragraphs!
6159 2001-11-28 André Pönitz <poenitz@gmx.net>
6161 * insetnote.C: add pos initialization that I removed without
6164 2001-11-28 Juergen Vigna <jug@sad.it>
6166 * insettabular.C (resetPos): hack to not crash with infinite paints.
6168 * insettabular.h: insert missing function allowSpellcheck()!
6170 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6172 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6175 * insetfloatlist.C: derive from InsetCommand so gui can use it
6178 2001-11-26 André Pönitz <poenitz@gmx.net>
6182 * insetnote.C: reduce header dependencies, introduce type for
6185 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6187 * various: update for Alert.h
6189 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6191 * inset.h: fix comment
6193 * insettext.C: use par->isInset()
6195 2001-11-22 Allan Rae <rae@lyx.org>
6197 * insetcollapsable.h:
6198 * inset.h: Changes to checkInsertChar() behaviour.
6199 Now return value indicates whether chars can be inserted.
6201 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6203 * various: updated to use the new LaTeXFeatures
6205 2001-11-14 José Matos <jamatos@fep.up.pt>
6207 * insetspecialchar.C (linuxdoc):
6208 (docbook): don't give a name to a unused variable.
6210 * insettext.C (docbook): removed unused variable.
6212 2001-11-13 Herbert Voss <voss@perce.de>
6214 * insetgraphic.C: fix scale bug
6216 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6218 * inset.h (isSpace):
6219 (isLetter): new virtual methods.
6221 * insetspecialchar.C (isSpace):
6222 (isLetter): implement here.
6224 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6226 * inset.h: new inline helpers
6228 * insettext.C: use new helpers
6230 2001-11-07 José Matos <jamatos@fep.up.pt>
6232 * insettext.C (docbook): full support for paragraphs inside insettext.
6234 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6236 * insetindex.C: added header file for std::ostream.
6238 2001-11-03 José Matos <jamatos@fep.up.pt>
6240 * insetindex.C: added using std::ostream that I forgot yesterday.
6242 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6244 * insetindex.h (docbook):
6245 * insetindex.C (docbook): added support for docbook export.
6247 2001-11-02 José Matos <jamatos@fep.up.pt>
6249 * insetcaption.C(docbook): added support for docbook export.
6251 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6253 * insetexternal.C (updateExternal): Do not run update command if
6254 result file exists and is up to date.
6256 * ExternalTemplate.C (readFormat): Support the updateresult token.
6258 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6260 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6261 external_templates) to use the buffer->fileName() but only if
6262 previewing. Generating a TeX file should make FPath return
6265 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6268 * insetert.C: fix some problems
6270 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6272 * insetexternal.C (doSubstitution): Added $$FPath token
6273 to list of usable substitutions in external inset templates.
6275 2001-10-24 Juergen Vigna <jug@sad.it>
6277 * insettabular.C: use new ltType struct for setting longtable
6278 header and footers also new UNSET enums.
6280 2001-10-24 José Matos <jamatos@fep.up.pt>
6282 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6283 (docbook): If the table is not inside a float then wrap it inside
6284 <informaltable>...</informaltable>.
6286 2001-10-23 José Matos <jamatos@fep.up.pt>
6288 * insetref.C (docbook): removed / terminator to conform SGML.
6290 * insetspecialchar.C (linuxdoc):
6291 (docbook): Added support for special chars, more than ascii export.
6293 2001-10-22 Juergen Vigna <jug@sad.it>
6295 * insettext.C (checkInsertChar): added for REALLY checking the
6296 font of the inserted char in the right inset!
6298 2001-10-19 Juergen Vigna <jug@sad.it>
6300 * inset.h: added method allowSpellcheck() so that insets who do
6301 not have anything to spellcheck can tell and so they are over-jumped.
6302 Implemented for InsetText and co.
6304 2001-10-18 Juergen Vigna <jug@sad.it>
6306 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6308 2001-10-15 José Matos <jamatos@fep.up.pt>
6310 * insetert.C: allow export for docbook and linuxdoc
6312 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6314 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6316 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6318 * insetquotes.C (dispString): fix handling of latin9 quotes
6320 2001-10-03 Juergen Vigna <jug@sad.it>
6324 * insetcollapsable.C: change updateInset calls to not tell BV that
6325 we have changed status.
6327 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6329 * insettabular.C (deletable): make const
6331 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6333 * insetert.C (latex): Fix the returned value
6335 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6337 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6338 Returns string(), so nothing in an ERT inset is spellchecked.
6340 * insetgraphics.C (draw): print the filename if not displaying the
6342 (width): make sure that the width and draw methods are consistent.
6343 (updateInset): don't even load the image into cache if not displaying
6346 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6348 * various files (selectNextWord): renamed as
6349 selectNextWordToSpellcheck.
6351 * insetgraphics.C (draw): remove the previous change. Right place
6352 is in imageLoaderXPM.C.
6353 (draw): don't display the image if params.display == NONE.
6355 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6357 * figinset.C (runqueue):
6358 * insetgraphics.C (draw): set background colour of inset from
6359 background to the user-configurable graphicsbg.
6361 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6363 * insetquotes.C (InsetQuotes): when trying to decide the side of
6364 the quote, choose `left' only after a space or '('
6366 2001-09-04 José Matos <jamatos@fep.up.pt>
6371 * insetcollapsable.h
6389 * insetlatexaccent.C
6390 * insetlatexaccent.h
6395 * insetspecialchar.C
6396 * insetspecialchar.h
6400 * insettext.C (docbook): rename docBook method to docbook.
6402 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6404 * inset.h (getFirstParagraph): New virtual method.
6406 2001-08-20 Herbert Voss <voss@perce.de>
6407 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6408 in the the bibtex-database-gui for inserting a line
6411 If no style is given than there is no tex-output.
6413 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6415 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6419 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6421 * insetert.C (latex): Fix output for multiple paragraphs.
6422 (write): New code for writing paragraph data.
6423 (read): Set font after reading the inset.
6424 (localDispatch): Call set_latex_font() for more cases.
6426 * insetnote.h: Add empty validate method.
6429 * insetnote.C (InsetNote): Set language to the language of the
6432 2001-08-16 Juergen Vigna <jug@sad.it>
6434 * insettext.C: implemented the new FINISHED states.
6436 * insettabular.C: ditto
6438 * inset.h: added more FINISHED states for cursor right,up,down
6440 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6442 * insetfloatlist.C: use "FloatName List"
6444 2001-08-14 Juergen Vigna <jug@sad.it>
6446 * insetert.C (edit): forgot to set status_ in edit calls!
6448 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6450 * insettext.C: Compilation fix
6452 2001-08-13 Juergen Vigna <jug@sad.it>
6454 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6456 * insetcollapsable.C (edit): don't recollapse an already open inset.
6458 * insettext.C: fixed problem when reinitializing LyXText by not doing
6459 it while lt is in use and post this to the next possible time in
6461 (searchForward): fixed not unlocking of inset if nothing found.
6462 (edit): set cursor behind right (was set -1 pos).
6464 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6466 * insettabular.C (tabularFeatures): fixed fix where deleting the
6467 last row didn't get the right actcell!
6469 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6471 * insettext.C (localDispatch): Change language only when the inset
6474 2001-08-10 Juergen Vigna <jug@sad.it>
6476 * insettabular.C (selectNextWordInt): use the front using edit call.
6478 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6479 the parameter overwrite class variable inset.
6481 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6483 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6484 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6486 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6487 update only for fixed with cells.
6488 (resetPos): try to fix the lockup on spellchecking or s&r.
6490 * insettext.C (update): comment this out as it seems first wrong
6491 and second not needed anymore!
6492 (some functions): call reinitLyXText() only in update() in all other
6493 positions set only need_update = INIT.
6495 2001-08-08 Juergen Vigna <jug@sad.it>
6497 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6499 * insettext.C (insetUnlock): remove double-space on inset unlock.
6501 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6503 * insettabular.C (update): fixed cursor positon after an insert.
6504 (insetAllowed): do not allow to insert insets when not inside the
6506 (draw): clear below an inset too as it could have changed height.
6508 * inset.C (getMaxWidth): fixed width for inset in inset.
6510 * insettext.C (update): small fix.
6512 * insettabular.C (tabularFeatures): added selection support to
6513 DELETE_ROW/DELETE_COLUMN.
6515 2001-08-07 Juergen Vigna <jug@sad.it>
6517 * inset.C (getMaxWidth): recoded and all it's implementations!
6519 * insettext.C (init,setParagraph+constructors): cleanups
6520 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6521 are new and I want do a save/restore of the cursor position which is
6522 not possible anymore.
6524 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6525 (searchBackward): ditto
6526 (selectNextWord): ditto
6528 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6530 * insetlatexaccent.C (checkContents): Add some debug messages
6532 2001-08-07 Juergen Vigna <jug@sad.it>
6534 * insetert.C (read): don't use InsetCollapsable::read as we don't
6535 write the collapsed status anymore only the status.
6538 2001-08-06 Juergen Vigna <jug@sad.it>
6540 * insetert.C (set_latex_font): use LyXText's setFont directly.
6542 * insettext.C (drawFrame): fixed one time more the right position
6543 and size of the frame!
6545 * insetert.C (~InsetERT): hide the dialog.
6546 (showInsetDialog): added implementation
6549 (status): new function for the status of the ERT inset (3-state).
6550 (write): output also the status of the inset for readback!
6551 (read): readback the status if available otherwise use collapsed_.
6553 * insettext.C (edit): small fix of setting the position, which could
6556 * insetert.C (width): implement this function for inlined viewing.
6557 Added minimum width of 10 pixels!
6559 * insetminipage.C (InsetMinipage): just change the colors a bit so
6560 that border/background is a bit more visible. We will remove this
6563 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6564 function for getting the important widths for drawing in various
6565 functions and in LyXText.
6566 (draw): fixed up a bit (frame drawing/clearing)
6568 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6570 * inset.C (convertFont): delete method. not used.
6572 2001-08-03 Juergen Vigna <jug@sad.it>
6574 * insettext.C (setFont): don't call for a draw update if we're just
6575 changing the cursor font!
6577 2001-08-02 Juergen Vigna <jug@sad.it>
6579 * insettext.C (draw): clear the background with the right color if
6580 needed. Update myself if x&max-width changed and return without doing
6581 anything. Let the update code handle the right stuff.
6583 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6584 inside another inset.
6586 2001-08-01 Juergen Vigna <jug@sad.it>
6588 * insetcollapsable.C (update): added an in_update bool so we avoid
6591 * insettabular.C (update): added an in_update bool so we avoid
6594 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6596 (update): added an in_update bool so we avoid reentering.
6598 * insettabular.C (localDispatch): clear col/row selection when doing
6599 something else inside an inset.
6601 * insettext.C (getLyXText): fixed bug when requesting a recursive
6604 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6606 * insetcite.C (latex): Paranoia check. Make sure that there is no
6607 whitespace between the citation keys.
6609 2001-07-31 Juergen Vigna <jug@sad.it>
6611 * inset.h (nodraw): make the set function also const so that this
6612 can be called from inside other const functions.
6614 * insetcollapsable.h: removed inline variable and moved it over
6615 to the only user InsetERT.
6617 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6618 inset opening immediately therein lying insets dialogs!
6620 * insetert.C (localDispatch): set the font also if we don't have any
6621 chars in this paragraph, otherwise if we delete all of em and start
6622 writing we have the wrong font.
6624 (draw): implemented for inline support
6625 (insetButtonRelease): ditto.
6627 2001-07-30 Juergen Vigna <jug@sad.it>
6629 * insettext.C (reinitLyXText): new function to reinit the insets
6630 text after lot's of paragraph changes. Use this instead of the
6631 cache.clear() which is VERY dangerous.
6633 * insetfloat.C (insetButtonRelease): we should only show the dialog
6634 if we press on the label otherwise we have problems to open mouse
6635 button 3 dialogs inside this float (f.ex. of a tabular!)
6637 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6639 * insetert.C: change back to "ERT"
6641 * insetfloat.C: handliign of RMB on label added.
6643 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6645 * insetgraphicsParams.C: #include LOstream.h here.
6647 * insetfoot.h: remove InsetFoot:: qualifier.
6649 2001-07-29 Baruch Even <baruch@lyx.org>
6651 * ChangeLog: Hiding time travel evidence.
6653 * insetgraphicsParams.h:
6654 * insetgraphicsParams.C:
6655 * insetgraphics.C: Added horizontal scale option, it actually
6656 scales both directions since it keeps image proportions.
6658 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6660 2001-07-29 Baruch Even <baruch@lyx.org>
6662 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6663 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6665 HACKY! Will need to add an EPS detection routine like old InsetFig
6668 2001-07-29 Baruch Even <baruch@lyx.org>
6670 * insetgraphics.C: Added EPSI to be an alias of EPS.
6672 2001-07-29 Baruch Even <baruch@lyx.org>
6674 * insetgraphics.C: Change GRAPHICS to Graphics.
6675 Changed image conversion rules (documented at the beginning of file).
6677 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6679 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6682 * insetgraphics.C: added a using std::endl directive.
6684 * insetcommand.h (getScreenLabel): removed pure virtual function,
6685 as it duplicates that in InsetButton.
6687 * insetbib.[Ch] (getScreenLabel):
6688 * insetbutton.[Ch] (getScreenLabel):
6689 * insetcite.[Ch] (getScreenLabel):
6690 * insetert.[Ch] (getScreenLabel):
6691 * insetexternal.[Ch] (getScreenLabel):
6692 * insetfloatlist.[Ch] (getScreenLabel):
6693 * insetinclude.[Ch] (getScreenLabel):
6694 * insetindex.[Ch] (getScreenLabel):
6695 * insetlabel.h (getScreenLabel):
6696 * insetparent.[Ch] (getScreenLabel):
6697 * insetref.[Ch] (getScreenLabel):
6698 * insettoc.[Ch] (getScreenLabel):
6699 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6701 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6703 (validate): remove check on "cite" when using natbib.
6705 2001-07-26 Baruch Even <baruch@lyx.org>
6707 * insetgraphics.C (draw): changed casting to be in one place
6708 rather than all over the function.
6711 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6713 * insetgraphicsParams.h:
6714 * insetgraphicsParams.C:
6715 * insetgraphics.C: Removed inline option and changed rotateAngle
6718 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6720 * insetfoot.C (validate): Added method to ensure that the
6721 right bit of LaTeX is emitted.
6723 * insetfoot.h: Added validate method to set the correct
6724 LaTeXFeatures bit for the special footnote code.
6726 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6728 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6731 2001-07-27 Juergen Vigna <jug@sad.it>
6733 * inset.h: remove not used font variable in parameter.
6734 removed checkInsertChar in UpdatableInset as it was equal to
6735 the one in Inset and so not needed.
6737 * insetert.C (checkInsertChar): implementation of function
6740 * inset.h: added new function checkInsertChar.
6742 * various files: added c-tor and clone() function.
6744 * insetcollapsable.h: removed clone function here as this should
6745 be only realized in REAL insets and added it to all collapsable
6746 insets! (with the copy-constructor).
6748 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * insetminipage.C (read): handle missing parameters more gracefully
6752 * insetcollapsable.C (read): handel missing collapsed more gracefully
6754 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6756 * insetfloat.C (read): handle missing parameters.
6758 * insettext.C (read): handle old latex end_inset
6760 * insetert.C (setButtonLabel): new method
6761 (init): use it, to set the dynamic label correctly
6764 * Makefile.am (EXTRA_DIST): add files that is not part or the
6767 * insetcollapsable.h: remove autocollapsable (no users), remove
6768 draw_label, change_label_with_text and companion code. Remove args
6770 * insetert.[Ch]: move here instead (only user)
6772 * inset.h: rename private variable name to name_, make
6773 selectNextWord return a const string. make getInsetName return a
6774 string const &. Remove bool from open, add close.
6776 * Makefile.am: don't compile insetlist, insetsection
6779 2001-07-24 Juergen Vigna <jug@sad.it>
6781 * insetert.C (InsetERT): put init after the paragraph initialization,
6782 as otherwise we don't set the draw_label right.
6784 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6785 insets with the mouse without having strange selections.
6786 (edit): if the inset was collapsed and we open it here then put the
6787 cursor always at the beginning of the inset.
6788 (get_new_label): 15 instead of 10 max chars in the label.
6790 * insetert.C (localDispatch): added and handle various stuff we
6791 need to handle here (font setting on paragraph break, not permitted
6792 layout setting, etc.).
6794 * inset.h: added default copy-consturctor and implemented this in
6795 various insets with the change to use this in the clone function!
6797 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6799 * insetminipage.C (InsetMinipage): set background color to red :)
6801 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6803 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6804 draw frame mode is LOCKED.
6806 * insetcollapsable.C (edit):
6807 (insetButtonRelease): set update status to full when
6810 * insettext.C (clearInset):
6811 * insettabular.C (draw):
6812 * insetlatexaccent.C (draw): honor background color.
6814 * inset.h: new member background_color_, initialized to
6817 * inset.C (backgroundColor): new method.
6818 (setBackgroundColor): new method.
6820 * insetert.C (init): new method, called by the ctors.
6821 (InsetERT): when inserting contents, make sure the font is
6824 * insetnote.C (InsetNote): when inserting content, remove trailing
6826 (init): set background color to LColor::note
6828 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6830 * insetcollapsable.C: adjust
6832 * insetbutton.C: adjust
6834 2001-07-23 Juergen Vigna <jug@sad.it>
6836 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6837 parameter on the _collapsed function (was not needed) and call
6838 always width_collapsed().
6840 * insetert.C (InsetERT): use setLabel with "true" flag.
6842 * insetcollapsable.C: modified various functions to set the draw_label
6843 string right in any condition.
6844 (setLabel): added a bool parameter to set change_label_with_text.
6846 * insetcollapsable.h: added draw_label string which is set to the
6847 actual drawn label-string, while label is the original static label
6848 of this collapsable inset. Added bool change_label_with_text to set
6849 if we want that the label changes to the start of the InsetText's
6850 text when collabpsed. You can set this flag with the setLabel funciton.
6851 Added bool inlined for inlined collapsable insets, but not handled
6854 * insetcollapsable.C (get_new_label): added should get a new label
6855 from the InsetText beginning (for now 10 chars).
6857 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6859 * insetquotes.C (latex): fix the handling of french double quotes
6860 when not using the french pachage.
6862 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6864 * insetcollapsable.h: make WidthCollapsed mutable.
6866 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6867 InsetPrintIndex returns INDEX_PRINT_CODE.
6869 * inset.h: add INDEX_PRINT_CODE
6871 * insetcollapsable.C (draw): init widthCollapsed if necessary
6874 * insetquotes.C (width): use the local language, not the document
6877 (dispString): add additional spacing for all french languages,
6879 (validate): make it work when there is no default language
6881 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6883 * insetnote.C (init): new method, called by the constructors
6884 (InsetNote): new constructor with contents passed as a string
6886 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6888 * insetfootlike.C (insetAllowed): disallow float in footlike.
6890 * insetert.C (InsetERT): add collapsed argument to the constrctor
6893 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6895 * insetindex.h: shut off warning
6897 2001-07-20 Juergen Vigna <jug@sad.it>
6899 * insetcollapsable.C (update): recoded hopefully works now!
6901 2001-07-19 Juergen Vigna <jug@sad.it>
6903 * most files: implemented the below new introduced function.
6905 * inset.h: added new edit(BufferView *, bool front) method to be able
6906 to enter an inset from the front/back without knowing x/y positions
6907 and baselines inside the inset. So I just can tell the inset activate
6908 me and set the cursor on the front/back of yourself.
6910 2001-07-18 Juergen Vigna <jug@sad.it>
6912 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6913 is given to the InsetText.
6914 (insetButtonPress): ditto
6915 (insetButtonRelease): ditto
6916 (insetMotionNotify): ditto
6918 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6920 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6921 LIGATURE_BREAK, since the name is so stupid.
6923 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6925 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6926 the default InsetCollapsable methods. I.e., it can insert anything.
6927 (write) output the name of the inset, not some silly hack for
6928 compatability with the old InsetInfo.
6930 * insetinfo.[Ch]: removed.
6931 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6932 now collapsable, but functionality is otherwise identical to InsetInfo.
6934 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6936 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6938 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6941 * insetquotes.C: general cleanup
6942 (dispString): add spaces inside french double quotes.
6943 (latex): ditto. Moreover, treat first the case where the frenchb
6944 or french options have been given.
6946 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6948 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6951 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6953 * figinset.C (RegisterFigure): Print debug message only when
6954 current_view is available.
6956 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6958 * many files: update to match the change below
6960 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6961 implement the version which takes an inset here.
6963 * insetcollapsable.[Ch]: implement open and isOpen
6965 * inset.h: remove insertInsetAllowed from Inset
6966 (open): new method, to open or close an inset
6967 (isOpen): returns the status of an inset
6968 (isCollapsable, colapse): removed
6970 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6972 * insetquotes.C (dispString): display french guillemets when using
6975 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6977 * insetcollapsable.h: remove bogus return statements
6979 2001-07-18 Juergen Vigna <jug@sad.it>
6981 * insettabular.C (selectNextWord): fixed spellchecking for the
6982 first cell of a tabular (wasn't entered!)
6983 (getLyXText): changed to enter automatically insettext and return
6984 it's LyXText if we're locked.
6986 2001-07-17 Juergen Vigna <jug@sad.it>
6988 * various files: implemented the below functions.
6990 * inset.h: added functions
6991 - virtual string selectNextWord(BufferView *, float & value) const;
6992 - virtual void selectSelectedWord(BufferView *) { return; }
6993 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6994 needed for spellchecking correctly!
6996 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6998 * insetert.C (latex): write out all paragraphs.
7000 2001-07-17 Baruch Even <baruch@lyx.org>
7002 * insetgraphics.C (draw): Removed unneeded casts.
7004 2001-07-16 Juergen Vigna <jug@sad.it>
7006 * insettext.C (update): fixed small oversight (reset lt to 0).
7008 2001-07-14 Baruch Even <baruch@lyx.org>
7011 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
7013 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7015 Consistent use of Lsstream.h:
7016 * figinset.C: removed using std::ostringstream directive.
7018 * insetgraphics.C (createLatexOptions):
7019 * insetinclude.C (unique_id):
7020 std::ostringstream -> ostringstream.
7021 * insettext.C (localDispatch): std::istringstream -> istringstream.
7023 2001-07-13 Juergen Vigna <jug@sad.it>
7025 * insetfloat.C (insertInsetAllowed): added missing const_cast.
7027 * insetcollapsable.C (getLockingInset): ditto.
7029 2001-07-12 Juergen Vigna <jug@sad.it>
7031 * insetcollapsable.h: added implementation of new function for
7034 * various files: added implementation of new insertInsetAllowed-func
7035 and redone the function a bit more.
7037 * inset.h: added isCollapsable(), bool collapsed(),
7038 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7040 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7042 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7043 LyXText which is marked for removal while we're using it!
7045 * insettext.h: added private LyXText * lt to use it to assure we are
7046 not deleting our LyXText while we're using it!
7048 2001-07-11 Juergen Vigna <jug@sad.it>
7050 * insettext.C (insertInset): check if we are before the inset after
7051 inserting it! This check IS needed. Remove the Undo-Call as it is
7052 called in LyXText::insertInset!
7054 * insettext.h: added struct InnerCache.
7056 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7057 that we ONLY delete the LyXText in the getLyXText() routine. So we
7058 are sure we don't delete LyXText while someone is working with it!
7060 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7062 * insetexternal.C: (*it). -> it->
7063 * insettext.C: ditto
7065 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7067 * insetcollapsable.C (edit): always open collapsed insets (even if
7068 they are not autocollapsable)
7070 * insetcommand.C (operator=): simplify.
7072 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * insetert.C (latex): handle META_NEWLINE
7076 2001-07-09 Juergen Vigna <jug@sad.it>
7078 * insetert.h: a normal InsetText can insert insets, but we won't.
7080 * inset.h: return default "false" on insertInsetAllowed and implement
7081 this function where a returnvalue != "false" is needed.
7083 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7085 * insetert.C (InsetERT): new contructor
7087 2001-07-06 Juergen Vigna <jug@sad.it>
7089 * a lot of files: added implementation of the below new functions
7090 and the change to clone(). Also the call of the new undo-functions
7093 * inset.h: added an inset_id, added functions getParFromID,
7094 getInsetFromID, firstParagraph, cursor and id functions, added
7095 bool same_ids to clone function.
7097 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7099 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7100 of BufferView * and shared_ptr<LyXText>
7102 2001-07-05 Juergen Vigna <jug@sad.it>
7104 * insettext.C (clear): deleted also the cache not only LyXText.
7105 (setParagraphData): ditto.
7107 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7109 * insetfloat.C (latex): let the specific placement take presedence
7110 if set, otherwise choose document placement if set, otherwise just
7111 use float default placement.
7113 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * insettext.C (localDispatch): call CutAndPaste::'s static method
7118 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7120 * insetbib.C: no meed to include forms.h here.
7122 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7124 * insettext.C: added using std::make_pair directive.
7126 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7130 (deleteLyXText): ditto
7131 (resizeLyXText): ditto
7133 2001-07-02 Juergen Vigna <jug@sad.it>
7135 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7136 following calls are only returned the right pointer without the over
7137 head to search in the map.
7138 (various funcs): reset the cached_bview variable as this signs that
7139 the cache is not valid anymore.
7141 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * insettabular.C (clone): do not copy the LyXTabular twice
7145 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * insettext.h (TEXT): delete method
7149 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7151 * insetmarginal.C (latex):
7152 * insetfoot.C (latex): fix spacing of notes in LaTeX
7154 * insettext.C (localDispatch): use .c_str() on istringstream
7155 constructor argument.
7157 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7162 * inseturl.C: fix method names in these to begin
7163 with small char too, so they inherit
7165 2001-06-28 Juergen Vigna <jug@sad.it>
7167 * insettext.C (setFont): fixed font settings using toggleFree()
7168 instead of setFont().
7170 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * Change a lot of method names to begin with a small char.
7173 Changes to a lot of files because of this.
7175 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7177 * insetfloatlist.C (Write): std:: qualify ostream
7180 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7184 * insetgraphics.C: send debug output to Debug::INFO instead of
7187 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7190 * insettabular.C (getStatus): update to use func_status
7192 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7194 * insetref.C (DocBook): added support for cross-references without
7197 2001-06-26 The LyX Project <jug@sad.it>
7202 * insetlabel.h: removed escape method and moved it to
7205 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7207 * insettabular.C (getMaxWidth): do the speedup in a different way,
7210 2001-06-24 The LyX Project <Asger>
7212 * insettabular.C (getMaxWidth): We cache a mapping from
7213 inset to cell in order to speed this method up.
7215 2001-06-24 The LyX Project <Asger>
7217 * insettext.C: Optimized InsetText::draw or something.
7219 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7221 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7223 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7225 * inset.h: name change from lyxinset.h
7227 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7229 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7231 2001-06-14 Juergen Vigna <jug@sad.it>
7233 * insettext.C (draw): removed warnings.
7235 2001-06-13 Juergen Vigna <jug@sad.it>
7237 * insettabular.C (nodraw): only go down the tree if we don't have
7238 that flag set otherwise it's obvious that we don't want to draw.
7239 (LocalDispatch): do also an update if we have an undispached result.
7241 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7244 * insetgraphicsParams.C:
7245 * insettext.C: removed // -*- C++ -*- as first line.
7247 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7249 * lyxinset.h (resizeLyXText): shut off warning about unused
7252 2001-06-07 Juergen Vigna <jug@sad.it>
7254 * insettext.C (resizeLyXText): honor the new force flag.
7256 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7258 * insettabular.C (deleteLyXText): new function
7260 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7268 * insetcollapsable.C:
7269 * insetcaption.C: LColor tidy
7271 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7273 * figinset.C: fix typo
7275 2001-06-01 Juergen Vigna <jug@sad.it>
7277 * insettabular.C (resetPos): small hack so that scroll is not set to
7278 0 when we are in the last column of a tabular. This is a problem we
7279 have because of constats 20 offset on both directions, so this can
7280 cause on the limit an endless loop.
7282 * insettext.C (SetFont): forgot that we can have locking insets ;)
7284 2001-05-31 Juergen Vigna <jug@sad.it>
7286 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7288 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7290 * figinset.C: add using std:: directive for the C functions which
7293 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7295 * insetfloat.C (Write): write out wide info
7296 (Read): read the wide info
7297 (Latex): use the wide info when creating latex.
7299 * insettext.C: adjust
7301 * insetgraphics.[Ch] (statusMessage): change to return string
7305 * figinset.C (runqueue): add std::
7308 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7310 * insetcite.C (Ascii): add std:: qualifier
7312 2001-05-28 Juergen Vigna <jug@sad.it>
7314 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7315 a endless-width inset (maxWidth < 0).
7316 (Edit): change language only if not equal.
7318 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7320 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7322 2001-05-16 Juergen Vigna <jug@sad.it>
7324 * insettext.C (selectAll): added
7325 (clearSelection): added
7327 * insettabular.C (SetFont): now we may set a font on a whole selection!
7328 (getSelection): added helper function.
7330 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7332 * insetcite.C (Ascii): Add method.
7334 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7337 * insetbib.C: fix path for OS/2 & Win32
7339 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7341 * insetfoot.C (Latex): don't use % after footnote.
7343 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7345 * insettext.C (Read): use clear
7346 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7348 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7350 * insetfloatlist.h: add a bunch of std:: qualifiers.
7352 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7354 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7355 FLOAT_LIST_CODE, renumber code list.
7357 * insettoc.C (getScreenLabel): remove support for float lists
7361 * insetfloatlist.[Ch]: new files
7363 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7365 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7367 * insettabular.C (LocalDispatch):
7368 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7371 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7373 * insettext.C: remvoe !NEW_INSETS cruft
7375 * insettabular.C: remove !NEW_INSETS cruft
7377 * insetcollapsable.h: remove !NEW_INSETS cruft
7379 * insetbib.C: remove !NEW_INSETS cruft
7381 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7383 * insettoc.C: hack to make listof algorithm work
7385 2001-04-20 Juergen Vigna <jug@sad.it>
7387 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7389 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7391 * insetquotes.C (Latex): improve the guard against
7392 unwanted !` and ?` ligatures. This should really be done in
7393 another place (to catch all this ligatures at low-level).
7395 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * insettext.C (init): remvoe leftovers from cursor_visible change
7398 (draw): use c++ cast
7399 (LocalDispatch): dispatch LFUN_MESSAGE
7401 * insettabular.C (InsetTabular): remove leftovers from
7402 cursor_visible, and scoped_ptr changes
7403 (draw): use c++ cast
7405 * insetcollapsable.C (draw): use c++ cast
7407 * ExternalTemplate.h: inherit privaely from noncopyable
7408 * insetcommand.h: ditto
7409 * insetinclude.h: ditto
7411 2001-04-16 Allan Rae <rae@lyx.org>
7413 * insettoc.C (Ascii):
7414 * insettext.C (draw):
7415 * insettabular.C (setPos):
7416 * insetminipage.C (Read):
7417 * insetfloat.C (placement):
7418 * insetcaption.C (Ascii, DocBook):
7419 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7420 an unrecognised preprocessor directive. So ensure they're wrapped.
7422 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7425 * insetexternal.C: set view on Clone. Add _ to private members.
7427 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7429 * insettext.C (InsetText): fix new
7430 (InsetText): reindent some, simplify deletion of par list
7431 (clear): simplify deletion of par list, fix new
7432 (SetParagraphData): simplify deletion of par list
7434 * insettabular.[Ch] (getLabelList): implement new method
7436 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7438 * lyxinset.h: do not include gettext.h...
7446 * insetlatexaccent.C:
7450 * inseturl.C: ... and do it here instead
7452 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7454 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7456 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7458 * insetcollapsable.[Ch] (getLabelList): implement
7460 * insettext.[Ch] (getLabelList): implement
7462 * insettext.h: reindent
7464 * insettabular.h: make tabular a scoped_ptr
7466 * insettext.C (init): adjust for cursor_visible
7467 (ToggleInsetCursor): constify asc and desc, font, adjust for
7469 (ShowInsetCursor): constify asc and desc, font, adjust for
7471 (HideInsetCursor): adjust for cursor_visible
7473 * insettabular.C: reindent some
7474 (InsetTabular): adjust for scoped_ptr and cursor_visible
7475 (InsetTabular): ditto
7476 (~InsetTabular): delete delete
7477 (Clone): adjust for scoped_ptr
7478 (Read): constify old_format, adjust for scoped_ptr, move init of
7480 (draw): constify tx, localize loop vars.
7481 some other localization of variables, remove double initilizatons.
7483 * insetfoot.C: remove using std::ostream, add ostream where needed
7485 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * lyxinset.h: some reindentaion, use initializer list for
7489 UpdatableInset: make cursor_visible a private var add
7490 public isCursorVisible(), add protected toggleCursorVisible() and
7491 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7493 * insettoc.C: remvoe using decl
7494 (getScreenLabel): make cmdname donst
7497 (Ascii): don't use endl
7499 * insetfootlike.C: remove using decl at file scope and add std::
7501 * insetmarginal.C: ditto
7503 * insetfoot.C: some reformatting
7505 * insetfloat.C (InsetButtonRelease): adjust the hit area
7507 * insetert.C (SetFont): some reformatting
7509 * insetcollapsable.C: some reformatting and constification
7510 (Clone): comment out.
7511 * insetcollapsable.h: some reformatting
7512 (Clone): comment out.
7517 2001-03-30 Juergen Vigna <jug@sad.it>
7519 * insetcollapsable.h: changen *inset to be a InsetText inset.
7521 * some files: changed to reflect the above change.
7523 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7525 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7526 InsetExternal::Params.
7527 Added operator==() and operator!=() for the Params struct.
7529 2001-03-29 Juergen Vigna <jug@sad.it>
7531 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7534 * insetminipage.C: removed widthp_ and all it's functions and changed
7535 to use new %-lengths of LyXLength.
7537 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7539 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7541 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7543 * insetgraphicsParams.C (operator!=): new function, needed by the
7544 ControlGraphics class.
7546 2001-03-28 Juergen Vigna <jug@sad.it>
7548 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7549 (checkAndActivateInset): don't use the values returned from
7550 call to bv->checkInsetHit.
7552 * insetminipage.C (Clone): set special minipage values.
7554 * insetcollapsable.C (draw): changed to draw the button in the
7555 upper left corner outside the textinset.
7556 (ascent): changed because of different drawing
7560 (InsetButtonPress): ditto
7561 (InsetButtonRelease): ditto
7562 (InsetMotionNotify): ditto
7564 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7566 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7570 2001-03-26 Juergen Vigna <jug@sad.it>
7572 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7574 * insettext.C (ShowInsetDialog): implemented above function.
7576 * insettabular.C (ShowInsetDialog): ditto
7578 * insetminipage.C (ShowInsetDialog): ditto
7580 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7582 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7583 InsetInclude::Params. Don't store a buffer * in Params. Store the
7584 master file name instead.
7586 2001-03-23 Juergen Vigna <jug@sad.it>
7588 * insetcollapsable.C (InsetMotionNotify):
7589 (InsetButtonRelease):
7590 (InsetButtonPress): fixed y-offset (minipages).
7592 * insettext.C (draw): force a FULL update if cleared == true.
7594 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7595 routine to draw the minipages on its position-flag.
7596 (InsetInInsetY): give back the right y position, because of minipage
7599 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7602 * insetfloat.C (DocBook): docbook export code.
7604 2001-03-22 Juergen Vigna <jug@sad.it>
7606 * insetminipage.C (getMaxWidth): added function to set the drawing
7608 (Read): should work now!
7610 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7611 if we create a new inset.
7613 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7615 * figinset.C (fl_set_preemptive_callback): moved definition outside
7618 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7620 * insetminipage.C (Read): prepare for reading of minipage arguments.
7622 2001-03-18 Baruch Even <baruch@lyx.org>
7624 * insetgraphics.C: Minor cleanups of the comments and code.
7626 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7628 * insetminipage.C (InsetMinipage): default to not collapsed
7630 2001-03-16 Juergen Vigna <jug@sad.it>
7632 * insetminipage.C (width): modified with to be a string
7633 (widthp): added widthp (for % width) support functions.
7634 (InsetButtonRelease): added to open the options dialog on button==3.
7635 (~InsetMinipage): added to hide the dialog.
7637 * insetminipage.h: added hideDialog signal
7639 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7641 * insetminipage.h: change the order or Position to match
7642 LyXParagraph::MINIPAGE_ALIGNMENT
7644 * several files: remvoe CXX_WORKING_NAMESPACES
7646 * ExternalTemplate.h: noncopyable is in namespace boost
7647 * insetinclude.h: ditto
7648 * insetcommand.h: ditto
7650 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7652 * insettext.C (Edit): #else# -> #else.
7653 * insettoc.C: added using directive.
7655 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7657 * insetminipage.h: add pos, inner_pos, width and height. + getters
7658 and setters for all of them.
7660 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7662 * insetinclude.C (Latex): Do not exit when the textclass of the
7663 included file differ from the textclass of the parent file.
7665 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7667 * ExternalTemplate.C (read): the reading of external insets now checks
7668 for \end_inset and removes it form the input stream.
7670 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7672 * ExternalTemplate.h:
7673 * ExternalTemplate.C:
7675 * insetexternal.C: move form to GUII
7677 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7680 * insetinclude.C: add InsetIncludeParams, use
7681 composition rather than derivation of InsetCommand
7683 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7685 * insettoc.C (Ascii): use the Buffer typedefs
7687 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7689 * insettoc.C (Ascii): implement for dynamic number of lists
7691 * insetcaption.[Ch]: update from new_insets branch
7692 * insetfloat.[Ch]: ditto
7694 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7697 * figinset.C: use new File Dialog
7699 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7701 * insettext.C: changes becuase of ParagraphParameters.
7703 2001-02-28 Baruch Even <baruch@ev-en.org>
7705 * insetgraphics.C (updateInset): Changed due to the change in
7708 2001-02-26 Juergen Vigna <jug@sad.it>
7710 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7711 handled in LyXText).
7713 2001-02-23 Juergen Vigna <jug@sad.it>
7715 * insettext.C (draw): some small repainting fixes.
7716 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7718 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7719 should be) and not an int.
7721 * insettabular.C (LocalDispatch): ditto
7723 * insettext.C (LocalDispatch): ditto
7725 * insetcollapsable.C (LocalDispatch): ditto
7727 2001-02-22 Juergen Vigna <jug@sad.it>
7729 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7730 DISPATCH it and we don't have a locking_inset.
7732 2001-02-21 Baruch Even <baruch@ev-en.org>
7734 * insetgraphics.[Ch]: Changed to use
7735 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7737 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7739 * insetcollapsable.C (getLyXText): add const qualifier to second
7742 2001-02-22 Juergen Vigna <jug@sad.it>
7744 * insettext.C (getLyXText): honor the recursive parameter.
7745 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7747 * inset.C (getLyXText): added bool recursive parameter.
7749 * insettext.C (SetUpdateStatus): or the update codes.
7750 (draw): check need_update with &.
7751 (InsetButtonPress): set no_selection to not put a selection when
7752 entering an inset and it is redraws in another spot.
7754 * insettext.h: made need_update an int.
7756 2001-02-20 Baruch Even <baruch@ev-en.org>
7759 * insetgraphisc.C: Changed to use better semantics when loading images
7760 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7762 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7766 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7767 consistent with InsetTabular.
7769 2001-02-19 Juergen Vigna <jug@sad.it>
7771 * insettabular.C (LocalDispatch): implement PAGE up/down.
7773 * insettext.C (draw): clear all of it on need_update==INIT too!
7775 * insettabular.C (InsetUnlock): always clear the selection.
7777 * inset.C (scroll): normally we only want to scroll the inset until
7778 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7780 2001-02-14 Juergen Vigna <jug@sad.it>
7782 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7783 (resetPos): fixed scroll behaviour.
7784 (LocalDispatch): do an update if moving cursor inside a table cell
7785 requests a scroll of the tabular.
7787 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7789 * insettext.C (textWidth): constify local var
7791 * insettabular.C: small cleanup.
7793 * insetfoot.C (Latex): constify local var
7795 * insetcollapsable.C: small cleanup.
7797 * figinset.C (runqueue): use compare instead of strcmp
7799 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7802 * insetinfo.C: remove cruft
7804 2001-02-14 Juergen Vigna <jug@sad.it>
7806 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7808 2001-02-13 Juergen Vigna <jug@sad.it>
7810 * insettext.C (InsertInset): don't move left (is this right?)
7812 * insettabular.C (LocalDispatch): use of the no_draw variable
7814 * insettabular.h: new no_draw variable to stop redraw
7816 * insettabular.C (TabularFeatures): fixed update for alignment change
7818 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7822 * insetbib.C: move dialogs to frontends/
7824 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7826 * insettext.C (LocalDispatch): Restore the language if the inset
7829 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7831 * insettext.C (moveRightIntern): Update the selection cursor.
7832 (moveLeftIntern): Ditto.
7834 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7836 * Makefile.am: remove BoundingBox.h
7838 * BoundingBox.h: removed
7840 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7842 * insettext.C (LocalDispatch): Update selection cursor when moving
7843 cursor to the right.
7844 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7845 (moveLeftIntern): Ditto.
7847 2001-02-05 Baruch Even <baruch.even@writeme.com>
7849 * insetgraphics.C: Updated automatic image conversion, it now goes into
7850 temporary directory instead of with the image itself.
7852 2001-01-21 Baruch Even <baruch@ev-en.org>
7854 * insetgraphics.C: Added Docbook support. Added Automatic image
7855 conversion to EPS or PNG when needed (support bitmap graphics).
7857 2000-11-02 Baruch Even <baruch@ev-en.org>
7860 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7861 to '\n' and removal of commented out code.
7863 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7865 * insetbib.C (callback): Update citations if the key has changed.
7867 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7869 * insetbib.C (InsetBibKey): Better computation of default key.
7870 (getScreenLabel) Show both the key and the label.
7871 (getBibLabel): New method.
7872 (callback): Force a redraw if the inset have been changed.
7874 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7876 * insetref.C (getType, getName): Move methods from
7877 src/frontends/xforms/FormRef.C.
7879 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7881 * insettabular.C: Various improvements (use only one dummy position).
7883 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7885 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7886 par->bibkey->width. This fixes the crashes when running without
7887 gui or when having included documents.
7889 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7891 * insetcommand.C (getAsString, setFromString): Cleanup.
7893 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7895 * insetref.C: Add the array InsetRef::types that contains
7896 information about all supported reference types.
7898 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7900 * lyxinset.h: remove trailing comma in enum.
7902 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7904 * insettext.C: kill LyXBell.