1 2005-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetbase.C (getStatus): allow LFUN_INSET_MODIFY unconditionally
4 * insetbibitem.C, insetbibtex.C, insetlabel.C (doDispatch): call
5 cur.noUpdate() if nothing changed
6 * insetlatexaccent.[Ch]: spelling fixes
8 2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
10 * insetcollapsable.C (doDispatch): fix
11 click-on-closed-collapsable-inset-crash bug.
13 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
15 * insettabular.C (pasteSelection):
16 * insettext.h (copy c'tor): fix paste inside tabulars.
18 2005-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * insetoptarg.C (plaintext): add dummy method.
22 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
24 * insetbase.h (doDispatch): document a bit more
25 * insetcommand.C, insetfloat.C, insetgraphics.C, insetinclude.C,
26 insetnote.C, insetwrap.C, updatableinset.C (doDispatch): don't call
27 cur.bv().update(), because that leads to nested updates. Call
28 cur.noUpdate() instead where approriate.
30 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
32 * insetbibtex.C: change screen label
34 * insetert.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
36 2005-05-06 José Matos <jamatos@lyx.org>
38 * insetcommandparams.C (scanCommand): fix out of range string access.
40 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
42 * insetbibitem.C (bibitemMaxWidth): removed as obsolete
44 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
45 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * insetcharstyle.[Ch] (undefined, setUndefined, setDefined): new,
48 handle undefined character styles
49 * insetcharstyle.[Ch] (latex, linuxdoc, docbook, plaintext, validate):
50 handle undefined character styles
52 2005-04-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * insettabular.C: handle the LFUN_UNSET_* longtabular methods
55 in getStatus and the tabularFeature string (bug 1860).
57 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * insetbranch.C (getStatus): make the code more compact
61 2005-04-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * insetcollapsable.C (doDispatch): do not pass through double/triple
64 click events when they are not in the insetext (bug 1797).
66 2005-04-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
68 * insetbase.h: document a bit more
69 * insetbox.[Ch], insetbranch.[Ch], insetcollapsable.[Ch],
70 insetcommand.[Ch], insetexternal.[Ch], insetfloat.[Ch],
71 insetgraphics.[Ch], insetinclude.[Ch], insetnote.[Ch], insetwrap.[Ch]
72 (getStatus): implement
73 * insetcollapsable.[Ch] (hitButton): take a const argument
74 * insetert.C (getStatus): enable LFUN_INSET_MODIFY, LFUN_PASTE and
77 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * insetcollapsable.C (doDispatch): pass through double/triple
80 click events (bug 1811).
82 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
86 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
87 but the SENSITIVE label type.
89 2005-04-18 Angus Leeming <leeming@lyx.org>
91 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
92 'use_latex_path' argument. In turn, passed to the new subst_path
93 function when replacing placeholders with paths.
95 * insetexternal.C (getScreenLabel):
96 * ExternalSupport.C (lots of places): change invocation of
97 doSubstitution in lots of places, specifying the appropriate values
98 for this 'use_latex_path' boolean.
100 * insetbib.C (latex):
101 * insetgraphics.C (latex):
102 * insetinclude.C (latex): pass path to latex_path rather than to
105 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
107 * insetcharstyle.C (validate): allow nested charstyle insets
109 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
111 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
113 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
115 * insetfloat.C (InsetFloat):
116 * insetwrap.C (InsetWrap): do not set layout here.
118 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
120 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
122 * insetbase.h (getStatus): add more documentation
123 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
126 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
128 * insetcharstyle.C (metrics, draw):
129 * insetert.C (metrics, draw):
130 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
133 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
135 * insetexternal.C (validate):
136 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
137 multiple Requirements in external material template
139 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
141 * insettext.C (drawFrame): cosmetic fix
143 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
145 * ExternalSupport.C (writeExternal):
146 * insetgraphics.C (latex):
147 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
148 mis-count in computing latex error location
150 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
152 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
153 make it *not* descend into insets (fix a crash). Move the part
154 needed from editXY to a new function getNearestCell
156 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * insetinclude.C (InsetInclude): when constructing from another
159 InsetInclude, set set_label_ to false, since the value is never
162 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
166 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
168 * insettabular.C (drawSelection): cosmetic bugfix
170 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
172 * insettabular.C (doDispatch): get middle mouse button back again
173 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
174 when only a part of the cell is selected (fix bug 1799)
176 * insettabular.C: handle some more character attributes in
177 M. Vermeers method (when multiple cells in tables are selected);
178 disable some more senseless lfuns when multiple cells are selected
180 Move to end of cell instead of beginning when coming from the cell
183 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
185 * insettabular.C: make applying character attributes
186 possible for multiple cells in tables. Disable collapsable
187 insets for multiple-cell selection in table (Jürgen S.)
188 Bug reported by Helge Hafting.
190 2005-02-25 Andreas Vox <avox@arcor.de>
192 * insetmarginal.[hC] (docbook): new method, render as <note>
194 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
196 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
198 * insetcaption.[Ch] (doClone): implement
200 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * insetgraphics.C (prepareFile): handle non-existing files
203 * insetgraphics.C (latex): remove special handling of non-existing
206 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
208 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
209 * insettext.C: adjust metrics
211 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * insettext.C: include boost/current_function.hpp (needed when
214 assertions are disabled)
216 2005-02-20 André Pönitz <poenitz@gmx.net>
218 * insetcollapsable.C: Prevent problems on double-/
219 tripleclick on collapsable label (bug 1797).
221 2005-02-13 André Pönitz <poenitz@gmx.net>
223 * insettext.[Ch] (border_): new
224 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
227 2005-02-14 Angus Leeming <leeming@lyx.org>
229 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
230 about "truncation of constant value".
232 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
235 workaround for broken HTML converter)
237 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
239 * insetcollapsable.C (leaveInset): size() -> depth()
240 * insettabular.C (isRightToLeft): ditto
242 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
244 * insetert.C (latex, linuxdoc, docbook): remove newline handling
245 * insetert.C (doDispatch): clean pasted paragraphs
246 * insetert.C (getStatus): suppress more lfuns
247 * insetert.C (insetAllowed): return always false
249 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
254 * updatableinset.C: Use new cursor accessors.
256 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
258 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
260 2005-01-31 Angus Leeming <leeming@lyx.org>
262 * insetgraphicsParams.C: protect a #warning preprocessor call
263 with a #ifdef WITH_WARNINGS guard.
265 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
267 * Several files: use convert<> instead of atoi,strToXXX and friends
269 2005-01-23 Angus Leeming <leeming@lyx.org>
271 * insetbibitem.h (bibitemWidest): declare the function.
273 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
275 * insetgraphics.C (prepareFile): move the invocation of the default
276 converter to ../converter.C
277 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
278 call convert with try_default == true
280 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
282 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
283 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
284 determines what variables are substituted
285 * ExternalSupport.C (updateExternal): fix substitution of
288 2005-01-10 Angus Leeming <leeming@lyx.org>
290 * ExternalTemplate.C: use support/package.h to provide the paths to the
291 various directories used by LyX.
293 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
301 * ExternalTransforms.C (adjAngle): tostr -> convert
303 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
305 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
308 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * ExternalTransforms.C: fix LaTeX output of \scalebox.
312 * ExternalTransforms.[Ch]:
313 * insetexternal.C: store all float/double values as strings.
316 * insetgraphicsParams.C: more precise checks for the value strings.
318 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * insettext.C (doDispatch): remove unused variable was_empty
322 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
325 * insetgraphicsParams.[Ch]: store all float/double values as strings.
327 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
329 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
331 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
334 UNSET_ALL_LINES (from Jürgen)
336 2004-12-14 Angus Leeming <leeming@lyx.org>
338 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
339 to overcome bug in the MinGW port of g++ 3.4.2.
341 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
343 * insettabular.C (getCellXPos): make it return a relative x
344 position wrt. the begin of the tabular
345 (resetPos): a couple of fixes
346 (doDispatch): add a couple of resetPos calls
347 (drawSelection): fix drawing of selection in single-cell mode
348 (draw): replace 'do not draw' optimization by 'draw with
351 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
353 * insetbase.[Ch] (idxUpDown2): remove function
355 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * insettabular.[Ch]: use size_t-like types for cell, row and column
360 2004-12-02 José Matos <jamatos@lyx.org>
362 * insetlatexaccent.C (checkContents): remove compatibility code,
365 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * insetbase.h (getStatus): add better comment from src/cursor.C
369 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
371 * insettabular.[Ch]: adjust, introduce "do not draw
372 offscreen" optimization using NullPainter, (dist): introduce,
373 (getCursorPos): implement, (drawSelection): implement
375 * insetcollapsable.[Ch]: adjust
377 * insettext.C: adjust, (metrics): set the font before calling
380 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
382 * rename a lot of InsetOld to InsetBase
384 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
387 * insettext.C: par->pit renaming
389 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
391 * Most insets: rename priv_dispatch to doDispatch
393 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
395 * insettabular.C (tabularFeatures): fix multicolumn handling
397 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
399 * render_base.h (operator=): use common semantics
401 * insettext.C (operator=): delete this
402 (copy constructor): implement this properly
403 (init): use for_each and bind
405 (appendParagraphs): ditto
407 * insettabular.C: add more const. Adjust for changes in tabular.
409 * insetbase.h: Use NVI on clone. Add virtual doClone and update
410 all children, also make copy constructor protected. Added some
411 safe-guards to clone.
413 * insets: adjust to fit.
415 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * insetoptarg.C (latexOptional): return number of lines instead of
420 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * insettabular.[Ch] (string2params): Don't pretend to return the
423 active cell anymore and simplify keyword parsing.
425 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * insetlatexaccent.h (isLetter): implement, so that word selection
428 takes accents into account.
430 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
432 * insetcollapsable.C (priv_dispatch): do not push the inset to the
435 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
437 * ExternalSupport.C, insetgraphics.C:
438 s/getFormatFromContents/formats.getFormatFromFile/
440 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
442 * insetcharstyle.[Ch]:
443 * insetert.[Ch]: implement getStatus
445 * insetcharstyle.C (draw): visual clue when the cursor is inside
448 2004-11-02 José Matos <jamatos@lyx.org>
450 * insetcharstyle.C (docbook):
451 * insetlabel.C (linuxdoc, docbook):
452 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
455 * insettabular.C (docbook): mixed content no longer belongs to
458 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
460 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
462 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
464 * ExternalSupport.C (updateExternal): convert files in the temp dir
466 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
468 * insetcharstyle.C: drawing cosmetics.
470 2004-10-30 José Matos <jamatos@lyx.org>
472 * insetcharstyle.C (docbook): a compromisse solution. Don't output
473 paragraph tags inside inline elements.
475 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
477 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
478 InsetText methods rather than outputVerbatim (escapes special
479 characters) [bug 1731]
480 * insetcharstyle.C (outputVerbatim): remove this function.
481 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
482 which caused an infinite loop.
484 2004-10-29 José Matos <jamatos@lyx.org>
486 * insetgraphics.C (uniqueID): transfered to sgml.C
488 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
490 * insetlabel.C (docbook, linuxdoc):
491 * insetref.C (docbook, linuxdoc): sanitize id.
493 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
496 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
497 * insetgraphics.C (findTargetFormat): reformat
499 2004-10-28 José Matos <jamatos@lyx.org>
501 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
503 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
505 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
507 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
509 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
510 "[,,,]" without warning message
512 2004-10-26 Angus Leeming <leeming@lyx.org>
514 * ExternalSupport.C (updateExternal):
515 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
516 external files to the temp directory.
518 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
521 layouts. This fixes problems with the memoir class (which does not
522 allow \footnote) [bug 1677]
524 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
526 * insetindex.C (docbook): escape the index, to generate correct sgml.
528 2004-10-23 José Matos <jamatos@lyx.org>
530 * insettext.C (docbook): rearrange arguments, due to change in the
533 2004-10-23 André Pönitz <poenitz@gmx.net>
535 * insettabular.C (cutSelection, tabularFereatures):
536 fix cursor position after cutting selection or table rows
538 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
540 * insetgraphics.C (docbook, writeImageObject): write more than one
541 format of imageobjects in <mediaobject>.
543 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
545 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
546 DocBook output for this inset ( <citation>content</citation> )
548 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
550 * insetgraphics.C (docbook) : using mediaobject for XML;
551 correcting bug with SGML output (now '>' instead of '/>')
553 2004-10-05 José Matos <jamatos@lyx.org>
555 * insetfloatlist.C (read):
556 * insetquotes.C (read):
557 * insetspace.C (read):
558 * insetspecialchar.C (read):
559 * insettabular.C (read): replace nextToken by more appropriate lex
562 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
564 * insetgraphics.C (createDocBookAttribute, docbook) :
565 convert scale, width, height and keepaspectratio to Docbook standards)
567 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
568 to Docbook units where possible.
570 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
572 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
574 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
575 as attributes with new method for docbook.
577 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
579 * render_preview.h: Use preferred calling of Boost.Signal
581 * pch.h: use proper signal include
583 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
585 * ExternalTransforms.h: User preferred calling of Boost.Function
587 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
589 * insetref.C (docbook): fixing problem where Docbook XML output
590 had unclosed <xref ... >
592 2004-08-16 José Matos <jamatos@lyx.org>
594 * insethfill.C (write):
595 * insetline.C (write):
596 * insetnewline.C (write):
597 * insetpagebreak.C (write): remove space at end of line.
599 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * insettabular.C (plaintext): do not use ownerPar to get the
604 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
605 and it calls getParentLanguage (which calls ownerPar)
606 (edit): do not call sanitizeEmptyText
607 (priv_dispatch): remove code resetting font on empty inset, for
608 the same reasons as above.
610 * insettabular.C (isRightToLeft): instead of using
611 BufferView::getParentLanguage, use the data from the cursor
613 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
617 * Makefile.am: support pch
619 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * insettabular.C (draw): whitespace
623 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
625 2004-08-14 André Pönitz <poenitz@gmx.net>
627 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
629 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * insettabular.C (metrics): when the width of a cell is zero(),
632 let it use as much space as it can
634 * insettext.C (editXY): compilation fix
636 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
638 (metrics): the insets is not full width any more.
639 (draw): adjust; fix bad test for PREVIEW_OFF
640 (add_preview): fix bad test for PREVIEW_OFF
641 (display): do not return true when using \input
643 2004-08-14 José Matos <jamatos@lyx.org>
645 * insetbibitem.[Ch] (plaintext): added.
647 * insetcite.[Ch]: fix plaintext export.
649 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
651 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
654 * insetcaption.C (InsetCaption): modify call to setDrawFrame
655 * insetcollapsable.C (InsetCollapsable): ditto
656 * insetenv.C (InsetEnvironment): ditto
658 2004-08-14 André Pönitz <poenitz@gmx.net>
661 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
663 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
665 * insetoptarg.C (latexOptional): if the optional argument contains
666 a ']' enclose it in {curly brackets}
668 * insettext.C (editXY):
669 * insettabular.C (editXY):
670 * insetcollapsable.C (editXY):
671 * insetbase.C (editXY): constify
673 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
674 not ask for an update if we did nothing; on a mouse release, make
675 sure that the cursor is moved to the right position; on a mouse
676 release, exit from the inset instead of invoking a
679 * insetbase.C (dispatch): before invoking dispatch, set cursor
680 result to dispatch=update=true.
682 2004-08-13 José Matos <jamatos@lyx.org>
684 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
686 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * insetfoot.C (latex): use OutputParams::intitle instead of
689 parOwner() (avoids time consuming lookup)
691 * insetquotes.C (latex): same as above with OutputParams::lang.
692 Moreover the code actually works now.
694 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
696 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
697 * insetinclude.C, insetgraphics.C, insetfloat.C:
698 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
699 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
700 "support/std_sstream.h" to <sstream>
702 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
704 * insetgraphics.C (prepareFile): remove conversion_needed flag.
705 It made the following fail for a .eps graphics file:
707 2) view->pdf (pdflatex)
708 because the .eps file was already in the temp dir when the pdflatex
709 export happened and therefore no .eps -> pdf conversion was done.
711 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
713 * insetgraphics.C, insettabular.C: s/wether/whether/g
715 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
717 * insetgraphics.C (stripExtension): new
718 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
720 * insetgraphics.C (prepareFile): Handle "nice" exports, too
721 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
723 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * insetfloatlist.C (latex,getScreenLabel): translate according to
726 the document language (bug #1312)
728 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
730 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
731 with external_in_tmpdir and compute filename ourself
732 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
733 use it to store referenced file(s)
734 * ExternalSupport.C (writeExternal): write relative filename if
736 * ExternalTemplate.[Ch]: add ReferencedFile command
737 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
739 * insetgraphics.C (prepareFile): write relative filename if
741 * insetinclude.C (latex, docbook, linuxdoc): add file to
742 runparams.exportdata and write it to the temp dir instead of
743 writing it to the final destination
744 * insetinclude.C (docbook, linuxdoc): don't copy runparams
746 2004-05-19 Angus Leeming <leeming@lyx.org>
748 * insetcite.[Ch]: small change because namespace biblio is
749 now namespace lyx::biblio.
751 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * insettabular.[Ch] (buffer): make Buffer * argument const
755 2004-05-17 Angus Leeming <leeming@lyx.org>
757 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
758 to force the button label to be re-generated.
760 2004-05-14 José Matos <jamatos@lyx.org>
762 * insetlabel (docbook): do not ouput label, for the moment.
764 2004-05-14 Angus Leeming <leeming@lyx.org>
766 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
767 new biblio::asValidLatexString function.
769 2004-05-12 Angus Leeming <leeming@lyx.org>
771 * insetcite.C: use BufferParams::cite_engine rather than the three
772 bools, use_natbib, use_jurabib, use_numerical_citations.
774 2004-05-10 Angus Leeming <leeming@lyx.org>
776 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
777 Ditto with getStyle, moved to biblio::getEngine.
779 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * insetgraphics.C (validate): remove pre 233 file format stuff,
782 handle zipped files for "nice" export
784 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
786 * insetgraphics.C (prepareFile): copy zipped file and corresponding
787 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
788 * insetgraphics.C (prepareFile): unzip zipped file also if it has
789 changed since the last run
790 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
791 and copyFileIfNeeded.
793 2004-04-29 Angus Leeming <leeming@lyx.org>
795 * ExternalTemplate.[Ch]: remove redundant #includes.
797 2004-04-28 Angus Leeming <leeming@lyx.org>
800 s/updateToolbar()/updateToolbars()/
802 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
804 * insetgraphics.C: require file extension (file format change!)
805 * insetgraphics.C (latex): handle zipped files for "nice" export
807 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
809 * insetgraphics.C (latex): strip the extension and replace dots in
810 the filename if doing a "nice" export. This is a partial fix for
811 bug 1231 without reintroducing bug 655.
813 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * insetoptarg.h: remove the editable() method (InsetCollapsable
816 does it better already)
818 * insetbibtex.C (normalize_name): new helper function. Changes the
819 name to be suitable to use in a latex file (relative to master
820 buffer if necessary).
821 (latex): use normalize_name.
823 2004-04-20 Angus Leeming <leeming@lyx.org>
825 * render_preview.C (startLoading): remove lyxerr statement.
827 (getPreviewLoader): new helper function.
829 2004-04-19 Angus Leeming <leeming@lyx.org>
833 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
835 2004-04-19 Angus Leeming <leeming@lyx.org>
837 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
839 (add_preview): renamed as add_preview_and_start_loading. Invoke
840 RenderPreview::startLoading.
842 * insetinclude.C (metrics, draw): changes due to the changed
843 RenderPreview interface.
845 * render_preview.C: remove cached pimage_.
846 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
847 (draw): don't call startLoading. That's up to the user of
850 2004-04-16 Angus Leeming <leeming@lyx.org>
852 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
854 2004-04-13 Angus Leeming <leeming@lyx.org>
856 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
857 the renderer to inform LyX::updateInset that the inset's status
858 has changed and it should be redrawn.
860 * render_button.[Ch] (clone):
861 * render_graphic.[Ch] (c-tors, clone):
862 * render_preview.[Ch] (c-tors, clone): ditto.
864 * render_graphic.[Ch] (connect):
865 * render_preview.[Ch] (connect): removed, as connection is now
866 made in the constructors.
870 * insetinclude.C: ensuing simplification of the client code.
871 (statusChanged): now superfluous. Removed.
873 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
875 * ExternalTemplate.[Ch]: remove editCommand
876 * ExternalSupport.C (editExternal): use formats.edit() instead of
877 the removed editCommand template parameter
878 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
879 * insetgraphics.[Ch] (editGraphics): new method
881 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
883 * insetinclude.C (validate): set/reset features.buffer_ when
886 2004-04-07 Angus Leeming <leeming@lyx.org>
888 * insetexternal.C (priv_dispatch):
889 * insetinclude.C (priv_dispatch): prevent crash by invoking
890 InsetOld::priv_dispatch at the end of the switch, rather than
891 InsetOld::dispatch...
893 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
895 * insetcollapsable.C:
896 * insetbranch.C: 'assign' to open/close branch inset according to
897 selection; also print content on closed branch button
899 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
902 $$RelPath_Master, $$RelPath_Parent, $$Extension,
903 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
905 * ExternalSupport.C (updateExternal): use absolute and output
906 filename where appropriate
908 2004-04-05 André Pönitz <poenitz@gmx.net>
910 * insetbase.h: use LCursor & in notifyCursorLeave
912 2004-04-05 Angus Leeming <leeming@lyx.org>
914 * insetgraphics.C: remove unused header file "lyxrc.h".
916 * render_graphic.C: squash bug 1372: Misleading graphics label when
917 deactivating lyx view.
919 2004-04-05 Angus Leeming <leeming@lyx.org>
924 * insetlatexaccent.C:
929 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
931 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
933 * insetfloat.C (read): fix yesterday's float fix.
934 * insetwrap.C (read): apply the fixed float fix.
936 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
938 * insetfloat.C (read): fix reading of float params
941 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
943 * insettext.C (edit): comment the call to updateLocal (dangling now)
944 * insettext.h: add allowSpellCheck() returning true
946 2004-03-31 Angus Leeming <leeming@lyx.org>
948 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
950 2004-03-31 Angus Leeming <leeming@lyx.org>
952 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
953 the cursor out of an inset.
955 * insetbranch.C (priv_dispatch):
956 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
957 use getOutOfInset to push the cursor out of the inset when
960 2004-03-30 Angus Leeming <leeming@lyx.org>
962 * insetbase.[Ch] (translate): new static member function, returns
963 an InsetBase::Code corresponding to the input string.
965 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
967 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
968 so that it opens the inset if it refers to the currently active
971 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
973 * insetfloat.C (addToToc): use par_const_iterator_begin and
974 par_const_iterator_end.
976 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
978 * insetbibtex.[Ch]: bibtopic support.
980 * insetfloat.[Ch]: add param \sideways {true|false}
981 (support for sideways floats from rotating.sty).
983 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
985 * insettext.[Ch]: add a default ctor. implement const version of
991 * insetwrap.C: adjust
993 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
995 * insettext.h: add insetAllowed returning true by default (fixing
996 vanishing insets problem)
998 * insettext.C (draw): handle the responsability of adding the
999 ouside offset to collapsable. Clean code a bit.
1001 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
1002 from insettext correctly, solve a couple of off-by-one drawing
1005 2004-03-25 Angus Leeming <leeming@lyx.org>
1007 * insetcaption.C (draw): squash warning about unused variable.
1009 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1011 * ExternalSupport.C: use the master buffer's temp dir
1012 * insetgraphics.C (latex): make relative filename relative to the
1014 * insetgraphics.C: use the master buffer's temp dir
1015 * insetinclude.C (masterFilename): new function
1016 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
1017 is always true if loadIfNeeded() returns true)
1019 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1021 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
1022 set its parent to the current buffer.
1023 (latex): use the tmppath of the master buffer, not just the parent
1024 buffer (makes a difference with more than one level of include
1025 insets). If the file name is relative write in the .tex file a
1026 name relative to the master buffer directory.
1028 * insetinclude.C: rename masterFilename to parentFilename (this
1029 points to the direct parent)
1031 2004-03-25 André Pönitz <poenitz@gmx.net>
1033 * inset.[Ch]: remover owner
1035 * insetcollapsable.[Ch]: derive from InsetText instead having such a
1043 * insetcharstyle.[Ch]:
1051 * insetwrap.C: adjust
1053 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1055 * insetquote.C: use opening quote after '[' char.
1057 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
1059 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
1062 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1064 * insetcite.[Ch]: support jurabib.
1066 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * insetcite.C: Support second \cite option.
1070 * insetcommand.[Ch]:
1071 * insetcommandparams.[Ch]: add second optional argument.
1073 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
1075 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1076 shows the inset dialog.
1078 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1080 * insetlabel.[Ch]: remove them
1081 * Makefile.am: adjust
1083 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1087 * insetinclude.C (latex): show a GUI warning if textclasses don't
1089 * insetinclude.C: use mangledFilename() for temp files
1090 * insetgraphics.C (readInsetGraphics): remove version check, since
1091 the graphics inset has no own fileformat number anymore
1093 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1095 * insetquotes.[Ch]: added new member that allows direct access
1096 to single/double quotation marks.
1097 * insetnewline.[Ch]:
1098 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1100 2004-02-16 André Pönitz <poenitz@gmx.net>
1103 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1104 implicitly assume 'DispatchResult(true, true) with exception of
1105 InsetBase::priv_dispatch which does the equivalent of
1106 'retrun DispatchResult(false)'
1108 * inset*.[Ch] (priv_dispatch): adjust
1110 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1111 simplify cursor moving function,
1112 re-enable horizontal scrolling for large tables
1114 2004-02-13 André Pönitz <poenitz@gmx.net>
1116 * insettabular.[Ch]: some work after IU
1118 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1120 * inset.C (setPosCache): switch to absolute coords in insets
1121 * insettext.[Ch] (draw, drawFrame): adjust
1122 * insetcollapsable.C (draw): adjust
1125 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1127 * insettext.C (edit):
1128 (updateLocal): use the cur argument instead of the global cursor
1129 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1131 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1133 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1135 * insetfloat.C (validate): "H" -> 'H' in call to contains
1137 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1139 2004-01-30 André Pönitz <poenitz@gmx.net>
1143 * insetcollapsable.[Ch]:
1146 * insetgraphics.[Ch]:
1148 * insettabular.[Ch]:
1151 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1154 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * insettabular.C: add using statement for std::vector, remove
1157 std:: where using was already used.
1159 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1161 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1163 * insetinclude.C (validate): use feautures.nice() instead of
1166 2004-01-20 André Pönitz <poenitz@gmx.net>
1169 * insetbase.[Ch]: move stuff from mathcursor here.
1171 * insetbibitem.[Ch]:
1175 * insetcharstyle.[Ch]:
1176 * insetcollapsable.[Ch]:
1177 * insetcommand.[Ch]:
1179 * insetexternal.[Ch]:
1181 * insetgraphics.[Ch]:
1182 * insetinclude.[Ch]:
1186 * insettabular.[Ch]:
1190 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1193 2004-01-15 André Pönitz <poenitz@gmx.net>
1196 * insetbibitem.[Ch]:
1200 * insetcharstyle.[Ch]:
1201 * insetcollapsable.[Ch]:
1202 * insetcommand.[Ch]:
1204 * insetexternal.[Ch]:
1206 * insetgraphics.[Ch]:
1207 * insetinclude.[Ch]:
1211 * insettabular.[Ch]:
1215 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1217 2004-01-08 André Pönitz <poenitz@gmx.net>
1219 * insetcollapsable.[Ch]:
1220 * insettabular.[Ch]:
1222 * updatableinset.h: use cell index info from global cursor.
1224 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1226 * insetnote.C (InsetNoteParams::write): write label only once
1228 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1232 get rid of the SameName functor
1234 * insettabular.C: improve the functor.
1236 2003-12-29 Angus Leeming <leeming@lyx.org>
1238 * insetexternal.C (setParams): update defaultTemplateName.
1240 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1242 * insetbox.C: Use term "Box" in button label
1244 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1246 * insetcharstyle.C: get getDrawFont working again
1248 2003-12-15 André Pönitz <poenitz@gmx.net>
1250 * insettabular.[Ch]:
1251 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1253 2003-12-12 Angus Leeming <leeming@lyx.org>
1255 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1257 (InsetBranchParams): remove the branchlist hack.
1258 (isBranchSelected): new function, used to decide whether to
1259 print each output format. Also used by InsetList.
1260 (read, string2params): repair my own breakage ;-)
1262 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1264 * insetminipage.[Ch]: remove from repository.
1266 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1269 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1270 insetert to insetcollapsable; introduce virtual function
1271 setButtonLabel and invoke it from collapsable
1273 2003-12-12 Angus Leeming <leeming@lyx.org>
1275 * insetinclude.C (draw): cache x,y and so enable the
1276 dialog to be opened.
1278 2003-12-12 Angus Leeming <leeming@lyx.org>
1280 * mailinset.C (print_mailer_error): tidy up the output.
1282 2003-12-11 Angus Leeming <leeming@lyx.org>
1284 * mailinset.[Ch] (print_mailer_error): new helper function.
1286 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1287 calling InsetCommandMailer.
1288 (InsetCommandMailer::string2params): pass the name of the dialog.
1290 * insetbibitem.[Ch] (d-tor):
1291 * insetbibtex.[Ch] (d-tor):
1292 * insetcite.[Ch] (d-tor):
1293 * insetfloatlist.[Ch] (d-tor):
1294 * insetindex.[Ch] (d-tor):
1295 * insetlabel.[Ch] (d-tor):
1296 * insetref.[Ch] (d-tor):
1297 * insettoc.[Ch] (d-tor):
1298 * inseturl.[Ch] (d-tor): removed.
1299 Hiding the dialog is handled by InsetCommand.
1301 * insetbibtex.[Ch] (draw, metrics):
1302 * insetfloatlist.[Ch] (draw, metrics):
1303 * insetindex.[Ch] (draw, metrics): removed.
1304 Drawing is handled by InsetCommand.
1306 * insetbibitem.[Ch] (priv_dispatch):
1307 * insetbibtex.[Ch] (priv_dispatch):
1308 * insetcite.[Ch] (priv_dispatch):
1309 * insetfloatlist.[Ch] (priv_dispatch):
1310 * insetindex.[Ch] (priv_dispatch):
1311 * insetlabel.[Ch] (priv_dispatch):
1312 * insettoc.[Ch] (priv_dispatch):
1313 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1314 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1315 LFUN_INSET_DIALOG_SHOW.
1317 * insetbox.C (string2params):
1318 * insetbranch.C (string2params):
1319 * insetert.C (string2params):
1320 * insetexternal.C (string2params):
1321 * insetfloat.C (string2params):
1322 * insetinclude.C (string2params):
1323 * insetminipage.C (string2params):
1324 * insetnote.C (string2params):
1325 * insetvspace.C (string2params):
1326 * insetwrap.C (string2params): over-hauled.
1328 2003-12-10 Angus Leeming <leeming@lyx.org>
1330 * insetexternal.[Ch]: add a draft option and respect it when
1333 2003-12-10 Angus Leeming <leeming@lyx.org>
1335 * insetbox.C: (read, write): now prepend the inset contents with
1336 'Box' to identify the inset as a box inset.
1338 * insetbox.h: move the translators out of sight.
1340 2003-12-10 Angus Leeming <leeming@lyx.org>
1342 * insetert.C (string2params): clean-up using the new lyxlex interface.
1344 * insetexternal.C: ensure that InsetExternalParams has a default
1345 template, 'RasterImage'.
1347 2003-12-10 Angus Leeming <leeming@lyx.org>
1349 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1350 to an enum. Ensuing clean-ups through out the class.
1351 (read, write): now prepend the inset contents with 'Note' to identify
1352 the inset as a note inset.
1354 2003-12-10 Angus Leeming <leeming@lyx.org>
1356 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1357 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1359 2003-12-10 André Pönitz <poenitz@gmx.net>
1363 * insettabular.[Ch]:
1364 * insettext.[Ch]: remove unused insetInset()
1366 * insetert.C: disable some LFUNs
1368 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1370 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1372 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1374 2003-12-04 Angus Leeming <leeming@lyx.org>
1376 * insetexternal.C (draw): update the xo_, yo_ cache.
1378 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1380 (RotationDataType): new helper struct wrapping the
1381 RotationData::OriginType enum.
1383 2003-12-03 André Pönitz <poenitz@gmx.net>
1385 * inset.h: remove getParagraphs()
1387 * insetcollapsable.[Ch]:
1390 * insettabular.[Ch]:
1391 * insettext.C: use getText() instead of getParagraphs()
1393 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1395 * insetert.C: fix label text updating bug
1397 2003-12-02 Angus Leeming <leeming@lyx.org>
1399 * insetvspace.[Ch] (space): new member function. Make space_ private.
1400 (read): use the new, simpler lyxlex syntax.
1402 2003-12-01 André Pönitz <poenitz@gmx.net>
1404 * insetcollapsable.[Ch]:
1405 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1407 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1409 * insetvspace.C (read): handle 'end_inset' token.
1411 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1413 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1415 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1417 * insetcollapsable.[Ch]:
1419 * insetcharstyle.C: place inset content on the button when
1422 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1424 * insetvspace.C: remove VSpace::NONE; increase inset width
1426 2003-12-01 André Pönitz <poenitz@gmx.net>
1428 * insetbase.h: whitespace
1430 * inset.[Ch]: remove latexTextWidth
1431 make setBackgroundColor virtual
1433 * insettext.[Ch]: move ParagraphList member to LyXText
1435 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1441 * insetminipage.[Ch]:
1443 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1445 2003-11-28 Angus Leeming <leeming@lyx.org>
1447 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1448 hiding and showing the dialog respectively.
1449 (priv_dispatch): also actually update the inset contents.
1451 2003-11-28 Angus Leeming <leeming@lyx.org>
1453 * insetbox.C (d-tor):
1454 * insetbranch.C (d-tor):
1455 * insetcite.C (d-tor):
1456 * insetfloat.C (d-tor):
1457 * insetfloatlist.C (d-tor):
1458 * insetinclude.C (d-tor):
1459 * insetindex.C (d-tor):
1460 simplify the invocation of the Mailer::hideDialog() function.
1462 * insetminipage.C (showInsetDialog):
1463 simplify the invocation of the Mailer::showialog() function.
1465 2003-11-28 André Pönitz <poenitz@gmx.net>
1468 * insetvspace.[Ch]: new insets
1470 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1472 * insetcharstyle.C: Syntax change for CharStyles
1474 2003-11-28 André Pönitz <poenitz@gmx.net>
1476 * updatableinset.h: remove insetInInsetY
1478 * insetcollapsable.[Ch]:
1480 * insettabular.[Ch]:
1481 * insettext.[Ch]: adjust
1483 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1487 * insetcollapsable.[Ch]:
1489 * insettabular.[Ch]: remove setFont
1491 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1493 * render_graphic.[Ch]: adjust comments
1495 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1497 * insetgraphics.C (draw): cache xo_ & yo_
1499 2003-11-24 André Pönitz <poenitz@gmx.net>
1501 * insettext.C (setViewCache): don't call LyXText::init() anymore
1503 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1506 * insetcollapsable.[Ch]:
1507 * insetert.[Ch]: remove bufferview parameter in methods
1508 open, close, status, and updateStatus.
1510 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1512 * insetcollapsable.[Ch]:
1513 * insettabular.[Ch]:
1514 * insettext.[Ch] (getCursorDim): squash unused variable
1516 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1518 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1520 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1522 * insettext.C (draw): sets LyXText absolute coordinates
1524 2003-11-20 Angus Leeming <leeming@lyx.org>
1526 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1527 warnings about unused parameters.
1529 * insetcollapsable.C (open):
1530 * insettabular.C (pasteSelection):
1531 * insettoc.C (draw): ditto.
1533 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1535 * insetcollapsable.C:
1537 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1538 remove mouse_x mouse_y etc.
1540 2003-11-17 André Pönitz <poenitz@gmx.net>
1542 * insettext.[Ch] (cx, cy): remove
1544 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1546 2003-11-13 André Pönitz <poenitz@gmx.net>
1549 * insetcollapsable.[Ch]:
1550 * insettabular.[Ch]:
1551 * insettext.[Ch] (deleteLyXText): remove
1553 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1555 * insetcollapsable.[Ch] (fitInsetCursor): remove
1556 * insettabular.[Ch] (fitInsetCursor): remove
1557 * insettext.[Ch] (fitInsetCursor): remove
1558 * updatableinset.[Ch] (fitInsetCursor): remove
1559 (getCursorDIm): add virtual
1561 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1563 * src/insets/Makefile.am:
1564 * src/insets/inset.h:
1565 * src/insets/insetcharstyle.C:
1566 * src/insets/insetcharstyle.h: The Character Style /XML short
1569 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1571 * insettext.C: remove all update calls
1572 * insetcollapsable.C: remove all update calls
1574 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1576 * insettext.C (updateLocal, insertInset, setFont): remove
1579 2003-11-10 André Pönitz <poenitz@gmx.net>
1581 * inset.h: remove Inset::id_
1583 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1588 2003-11-10 André Pönitz <poenitz@gmx.net>
1592 * insetcollapsable.[Ch]:
1596 * insettabular.[Ch]:
1599 * updatableinset.[Ch]: remove inset locking & adjust
1601 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1603 * inset.h (allowSpellCheck): add (return true)
1604 * insetert.h (allowSpellCheck): add (return false)
1606 2003-11-05 José Matos <jamatos@lyx.org>
1612 * insetcaption.[Ch]:
1614 * insetcollapsable.[Ch]:
1615 * insetcommand.[Ch]:
1618 * insetexternal.[Ch]:
1620 * insetfloatlist.[Ch]:
1622 * insetgraphics.[Ch]:
1624 * insetinclude.[Ch]:
1627 * insetlatexaccent.[Ch]:
1630 * insetmarginal.[Ch]:
1631 * insetminipage.[Ch]:
1632 * insetnewline.[Ch]:
1635 * insetpagebreak.[Ch]:
1639 * insetspecialchar.[Ch]:
1640 * insettabular.[Ch]:
1642 * insettheorem.[Ch]:
1645 * insetwrap.[Ch]: rename ascii to plaintext
1646 and LatexRunParams to OutputParams.
1648 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1650 * insetcollapsable.C (edit): add open() all
1651 * insettext.C (edit): add setViewCache call
1653 2003-11-04 André Pönitz <poenitz@gmx.net>
1655 * inset.h (edit): move locking code from dispatch() to edit()
1661 * insetcollapsable.[Ch]:
1664 * insetexternal.[Ch]:
1665 * insetgraphics.[Ch]:
1670 * insettabular.[Ch]:
1671 * insettext.[Ch]: adjust
1673 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1676 * insetcollapsable.[Ch]:
1678 * insettabular.[Ch]:
1680 * updatableinset.[Ch]: remove dead search code
1682 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1685 * insetcollapsable.[Ch]:
1687 * insettabular.[Ch]:
1689 * updatableinset.[Ch]: remove dead spellcheck code
1691 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1693 * insettabular.C (lockInsetInInset): small fix
1695 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1698 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1699 from here. Be stricter on DispatchResult returned.
1701 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * Inset::dispatch's: adjust for new DispatchResult semantics.
1705 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * render_base.h: make clone return an auto_ptr
1708 * render_button.C (clone): adjust
1709 * render_graphic.C (clone): adjust
1710 * render_preview.C (clone): adjust
1712 * insettheorem.C (clone): return an auto_ptr
1714 * insettext.C (priv_dispatch): exception safety
1716 * insettabular.C: store the file scope variable paste_tabular in a
1717 scoped_ptr, adjust usage.
1719 * insetexternal.C (setParams): exception safety
1721 * insetbibitem.C (clone): exception safety
1723 2003-11-03 André Pönitz <poenitz@gmx.net>
1726 * insetcollapsable.[Ch]:
1727 * insettabular.[Ch]:
1728 * insettext.[Ch]: remove Inset::id and related functions
1730 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * insets: adjust for DispatchResult changes.
1734 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1736 * insetpagebreak.C: fix screen representation & ascii output.
1738 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1742 * insettabular.[Ch]:
1743 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1745 2003-10-31 José Matos <jamatos@lyx.org>
1747 * inset.h (ascii, linuxdoc, docbook):
1748 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1749 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1750 * insetcaption.[Ch] (ascii, docbook):
1751 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1752 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1753 * insetert.[Ch] (ascii, linuxdoc, docbook):
1754 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1755 * insetfloat.[Ch] (linuxdoc, docbook):
1756 * insetfloatlist.[Ch] (ascii):
1757 * insetfoot.[Ch] (docbook):
1758 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1759 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1760 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1761 * insetindex.[Ch] (docbook):
1762 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1763 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1764 * insetline.[Ch] (ascii, linuxdoc, docbook):
1765 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1766 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1767 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1768 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1769 * insetref.[Ch] (ascii, linuxdoc, docbook):
1770 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1771 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1772 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1773 * insettext.[Ch] (ascii, linuxdoc, docbook):
1774 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1775 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1776 * insetwrap.[Ch] (docbook):
1777 add LatexRunParams argument.
1779 2003-10-30 José Matos <jamatos@lyx.org>
1781 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * updatableinset.C (priv_dispatch):
1786 * insetwrap.C (priv_dispatch):
1787 * inseturl.C (priv_dispatch):
1788 * insettoc.C (priv_dispatch):
1789 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1790 (moveLeftIntern, moveUp, moveDown):
1791 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1792 (moveLeft, moveUp, moveDown):
1793 * insetref.C (priv_dispatch):
1794 * insetnote.C (priv_dispatch):
1795 * insetminipage.C (priv_dispatch):
1796 * insetlabel.C (priv_dispatch):
1797 * insetindex.C (priv_dispatch):
1798 * insetinclude.C (priv_dispatch):
1799 * insetgraphics.C (priv_dispatch):
1800 * insetfloatlist.C (priv_dispatch):
1801 * insetfloat.C (priv_dispatch):
1802 * insetexternal.C (priv_dispatch):
1803 * insetert.C (priv_dispatch):
1804 * insetcommand.C (priv_dispatch):
1805 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1806 * insetcite.C (priv_dispatch):
1807 * insetbranch.C (priv_dispatch):
1808 * insetbox.C (priv_dispatch):
1809 * insetbibtex.C (priv_dispatch):
1810 * insetbibitem.C (priv_dispatch):
1811 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1813 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1815 * insettext.C: small refactoring of docbook stuff
1817 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1820 (priv_dispatch): adjust for operator dispatch_result_t removal
1822 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1823 in a DispatchResult, adjust accordingly.
1824 (priv_dispatch): use strange >= construct... (will be removed later)
1826 * most insets: dispatch_result -> DispatchResult
1828 * insetbase.h: move DispatchResult out to dispatchresult.h
1830 2003-10-27 André Pönitz <poenitz@gmx.net>
1832 * insetpagebreak.[Ch]: new inset for page breaks
1834 * insetline.[Ch]: new inset for vertical lines
1839 2003-10-25 Angus Leeming <leeming@lyx.org>
1841 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1842 new virtual member functions, specialised...
1843 * render_button.h (asButton):
1844 * render_graphic.h (asGraphic):
1845 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1847 * insetexternal.C: use these new functions rather than dynamic_cast.
1848 Various other small simplifications.
1850 2003-10-22 Angus Leeming <leeming@lyx.org>
1852 * insetexternal.[Ch]: add the ability to 'preview' the external file
1855 * insetinclude.C: changes due to the changes in the RenderPreview
1858 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1859 message if the preview image is not available. Only initiate the
1860 loading of the preview from draw(). Ditto, start the monitoring
1861 of an external file from RenderMonitoredPreview::draw.
1863 2003-10-22 Angus Leeming <leeming@lyx.org>
1865 * insetcite.[Ch] (setLoadingBuffer): removed.
1866 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1867 ascertain whether to proceed with the (expensive) task of computing
1868 the natbib-style label. Remove the home-grown hack providing
1869 similar functionality.
1871 2003-10-22 Angus Leeming <leeming@lyx.org>
1873 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1874 class and into an anonymous namespace.
1876 2003-10-22 Angus Leeming <leeming@lyx.org>
1878 * insetcommand.h: remove the display method.
1882 * insetindex.h (InsetPrintIndex):
1883 * insettoc.h: add a display method, returning true.
1885 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1887 * insetcollapsable.h:
1891 * insetinclude.h: (1) finish off the inset display() work;
1892 (2) fix the "is a bit silly" bug (accessing char
1895 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1899 * insetfootlike.h: re-introduce display() for insets,
1900 fixing the various bugs (stretch of line above, math inset
1903 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * insetbase.C (dispatch): new func
1906 (priv_dispatch): new func replaces...
1907 (localDispatch): this, deleted.
1909 * all insets with dispatch modified for new code.
1911 2003-10-15 André Pönitz <poenitz@gmx.net>
1913 * insetcollapsable.[Ch]
1915 * inset.h: re-add some edit(bv, index) method called by undo
1917 2003-10-14 Angus Leeming <leeming@lyx.org>
1919 * insetexternal.[Ch] (view, cache, view_):
1920 * insetgraphics.[Ch] (view, cache, view_):
1921 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1922 (statusChanged): call LyX::cref().updateInset.
1924 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1925 the BufferView cache.
1927 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1930 2003-10-14 Angus Leeming <leeming@lyx.org>
1932 * insetinclude.C (metrics, draw): only draw the preview when previews
1935 2003-10-14 André Pönitz <poenitz@gmx.net>
1937 * insetcollapsable.[Ch]:
1938 * insettabular.[Ch]:
1940 * inset.h: getText() as alternative to getParagraphs()
1942 2003-10-13 Angus Leeming <leeming@lyx.org>
1945 * insetgraphicsParams.C: displayTranslator is now a function.
1947 2003-10-13 Angus Leeming <leeming@lyx.org>
1949 * insetinclude.C: remove #include "PreviewImage.h".
1951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * ExternalSupport.C:
1954 * ExternalTransforms.C:
1956 * insetbox.h: ws changes only
1958 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * insetinclude.C (localDispatch): do not call
1961 InsetOld::localDispatch, just return UNDISPATCHED
1962 * insetgraphics.C (localDispatch): ditto
1963 * insetcommand.C (localDispatch): ditto
1965 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * inset.h: get rid of RESULT typedef for dispatch_result
1969 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1970 * insetert.[Ch] (localDispatch): ditto
1971 * insettabular.[Ch] (localDispatch): ditto
1976 * insettext.[Ch] (localDispatch): ditto
1979 (moveRightIntern): ditto
1980 (moveLeftIntern): ditto
1983 * updatableinset.[Ch] (localDispatch): ditto
1985 2003-10-12 Angus Leeming <leeming@lyx.org>
1987 * renderbase.h (view, view_): removed.
1988 * renderbase.C: removed.
1989 * Makefile.am: remove render_base.C. The shortest lived file in
1992 * renderbutton.C (draw):
1993 * render_graphic.C (draw): don't cache the BufferView.
1995 * insetabase.h (cache, view): removed.
1997 * inset.h (generatePreview) removed.
1999 * insetcallapsable.[Ch] (cache, view, view_): removed.
2001 * insetcollapsable.C (draw): don't cache the BufferView.
2003 * insetcommand.[Ch] (view): removed.
2005 * insetexternal.[Ch] (cache, view, view_):
2006 * insetgraphics.[Ch] (cache, view, view_):
2007 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
2009 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
2010 when you have direct access to it. In fact, don't use the cache at all.
2012 2003-10-10 Angus Leeming <leeming@lyx.org>
2014 * insetinclude.C (metrics): use preview_->metrics.
2015 (draw): use preview_->draw.
2017 * render_preview.[Ch] (pimage): removed.
2019 2003-10-10 Angus Leeming <leeming@lyx.org>
2021 * renderers.[Ch]: removed.
2024 * render_button.[Ch]:
2025 * render_graphic.[Ch]:
2026 * render_preview.[Ch]: new files. The first three are split out of
2027 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
2028 contains a re-worked InsetInclude::PreviewImpl also.
2030 * Makefile.am: reflect the changed files.
2033 * insetexternal.[Ch]:
2034 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
2036 * insetinclude.[Ch]: changes reflecting the change from
2037 InsetInclude::PreviewImpl to RenderMonitoredPreview.
2043 * inseturl.C: add #include "support/std_ostream.h"
2045 2003-10-09 Angus Leeming <leeming@lyx.org>
2047 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
2048 to PreviewedInset::previewReady.
2050 2003-10-09 Angus Leeming <leeming@lyx.org>
2052 * insetexternal.[Ch] (statusChanged):
2053 * insetgraphics.[Ch] (statusChanged): make a const member function.
2055 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
2058 2003-10-09 Angus Leeming <leeming@lyx.org>
2060 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
2061 to PreviewedInset's previewReady and removePreview member functions.
2063 2003-10-08 André Pönitz <poenitz@gmx.net>
2065 * insetcollapsable.C:
2066 * insettext.[Ch]: saner 'init' structure
2068 * updatableinset.[Ch]: remove unneeded code
2070 2003-10-08 Angus Leeming <leeming@lyx.org>
2072 Fix doxygen warnings.
2074 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
2075 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2077 2003-10-07 Angus Leeming <leeming@lyx.org>
2079 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2080 be applied to InsetExternal.
2082 * Makefile.am: add these new files.
2084 * ExternalTemplate.[Ch]: add a list of available transforms to
2085 class Template and a list of factory functions for transformer classes
2086 that can act on this data to class Format.
2088 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2090 * ExternalSupport.C: Add code to replace transform placeholders
2091 with appropriate output.
2093 2003-10-07 Angus Leeming <leeming@lyx.org>
2095 * ExternalSupport.[Ch]: new files, moving the private member functions
2096 and namespace anon functions out of insetexternal.C to here, so making
2097 it easier to understand what is going on in insetexternal itself.
2099 * Makefile.am: add new files.
2101 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2102 allowing the class to be forward declared. (Also consistent with
2103 all other Params classes.)
2104 (write): moved out of the class. Move this function and those in
2105 namespace anon to ExternalSupport.[Ch].
2107 2003-10-07 Angus Leeming <leeming@lyx.org>
2109 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2110 non-const member function.
2112 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2117 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2119 2003-10-02 André Pönitz <poenitz@gmx.net>
2121 * insettext.C (read): make sure there is at least one par
2122 in the text after reading.
2124 2003-10-01 José Matos <jamatos@lyx.org>
2126 * insetbranch.C (linuxdoc, docbook): minor fix.
2128 2003-10-01 Angus Leeming <leeming@lyx.org>
2130 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2132 * insetexternal.[Ch]: changes due to the introduction of
2133 namespace lyx::external.
2135 2003-09-30 Angus Leeming <leeming@lyx.org>
2137 * insetexternal.[Ch] (Params::read, write): new member functions.
2139 2003-09-25 Angus Leeming <leeming@lyx.org>
2141 * insetexternal.[Ch] (TempName): new (private) nested struct with
2142 fake copy semantics. Enables us to use the generated copy c-tor
2143 in the Params struct.
2144 (Params::templatename, Params::tempname): use accessor functions.
2146 2003-09-25 Angus Leeming <leeming@lyx.org>
2148 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2149 function, returning a const pointer.
2151 2003-09-23 Angus Leeming <leeming@lyx.org>
2153 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2154 store them in a vector, preambleNames.
2156 * insetexternal.C (validate): loop over all preambleNames and call
2157 LaTeXFeatures::addExternalPreamble with each.
2159 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2161 * insetbranch.C: bug fix in branches
2163 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2165 * insetnote.C: small clean-up.
2167 2003-09-19 Angus Leeming <leeming@lyx.org>
2169 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2171 * insetcommand.C (string2params): clear params using the default c-tor.
2173 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2174 InsetInclude::Params. No more data in this struct than in
2175 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2176 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2177 (clone): remove #warning as it's now redundant.
2178 (set): add a 'Buffer const &' arg. Make private.
2179 (loadIfNeeded) move out of the class definition and into namespace anon.
2180 (getMasterFilename, getFileName): ditto.
2182 2003-09-18 Angus Leeming <leeming@lyx.org>
2184 * insetcommand.C (setParams): use the params' copy constructor.
2186 2003-09-18 Angus Leeming <leeming@lyx.org>
2188 * insetinsetbase.h (getLabelList):
2189 * insetinsetcollapsable.[Ch] (getLabelList):
2190 * insetinsetinclude.[Ch] (getLabelList):
2191 * insetinsetlabel.[Ch] (getLabelList):
2192 * insetinsettabular.[Ch] (getLabelList):
2193 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2194 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2196 2003-09-18 Angus Leeming <leeming@lyx.org>
2198 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2199 redundant baggage from yesteryear.
2200 Remove Params::flag as it is redundant; the info is present in
2203 2003-09-18 Angus Leeming <leeming@lyx.org>
2205 * insetinclude.C (latexString): add a Buffer const & arg.
2207 2003-09-18 Angus Leeming <leeming@lyx.org>
2212 * insettext.h: rename EnumLColor as LColor_color.
2214 2003-09-18 Angus Leeming <leeming@lyx.org>
2216 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2217 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2219 2003-09-16 Angus Leeming <leeming@lyx.org>
2221 * insetinclude.C (localDispatch): ensure that
2222 params_.masterFilename_ is set before trying to generate a
2223 preview, else we trigger an assert.
2225 2003-09-16 Angus Leeming <leeming@lyx.org>
2227 * insetinclude.C (PreviewImpl::parent): return a const reference.
2229 2003-09-16 Angus Leeming <leeming@lyx.org>
2231 * insetcollapsable.[Ch]: make all member variables, except for
2234 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2235 than access labelfont directly.
2236 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2237 use InsetCollapsable::setCollapsed, isOpen rather than access
2238 collapsed_ directly.
2240 * insetminipage.C (metrics):
2241 * insetnote.C (metrics):
2242 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2243 access collapsed_ directly.
2245 2003-09-16 Angus Leeming <leeming@lyx.org>
2247 * insetbibitem.C: add #include "lyxfont.h".
2249 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * insetbibtex.C: use namespace alias for lyx::support::os
2254 2003-09-16 Angus Leeming <leeming@lyx.org>
2256 * insetcollapsable.h: remove unused framecolor variable.
2257 Remove #include "LColor.h".
2259 * insetcollapsable.C: remove unused framecolor variable.
2262 * insetcollapsable.C:
2270 Add #include "LColor.h".
2272 2003-09-16 Angus Leeming <leeming@lyx.org>
2274 * insettext.[Ch] (frameColor): new accessor function.
2275 (frame_color_): stored as an int, allows us to remove #include
2276 "LColor.h" from insettext.h
2281 add #include "LColor.h".
2283 * insetcollapsable.h: add #include "LColor.h"
2284 (for its framecolor member variable).
2286 2003-09-16 Angus Leeming <leeming@lyx.org>
2288 * insetenv.C (constructor): use accessor functions to access
2289 InsetText variables.
2291 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2292 rename frame_color as frame_color_. Make private.
2294 * insettext.C: associated changes.
2296 2003-09-16 Angus Leeming <leeming@lyx.org>
2298 * inset.h: store background_color_ as an int, not as an
2299 LColor::color to get LColor.h out of the header file.
2302 * insetlatexaccent.C:
2305 * insetspecialchar.C:
2307 add #include "LColor.h".
2309 2003-09-16 Angus Leeming <leeming@lyx.org>
2311 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2312 cannot string calls together.
2314 2003-09-15 Angus Leeming <leeming@lyx.org>
2316 * inset.[Ch] (setBackgroundColor, backgroundColor):
2317 * insettext.[Ch] (setFrameColor):
2318 pass EnumLColor args, rather than LColor::color ones.
2320 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * insetwrap.C: remove usage of STRCONV
2332 2003-09-15 Angus Leeming <leeming@lyx.org>
2334 * renderers.C (draw):
2335 * insetlatexaccent.C (draw): explicitly define the color passed to
2338 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2340 * insettext.C: remove block causing problems in lockInsetInInset
2341 (mentioned erroneously under Bug #1366)
2343 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2345 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2348 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2350 * several files: change Assert to BOOST_ASSERT
2352 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2354 * insettext.[Ch]: remove drawText[XY]Offset
2356 2003-09-08 Angus Leeming <leeming@lyx.org>
2358 * insetcollapsable.C:
2363 * insetspecialchar.C:
2366 * insettoc.C: remove redundant using directives.
2368 2003-09-07 Angus Leeming <leeming@lyx.org>
2371 * insetspecialchar.h: remove #include "support/std_string.h".
2373 2003-09-06 Angus Leeming <leeming@lyx.org>
2375 * renderers.C: add #include "insets/inset.h"
2377 2003-09-05 Angus Leeming <leeming@lyx.org>
2379 * *.C: strip out redundant #includes. (193 in total.)
2381 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2383 * insets/insetbibtex.[Ch]:
2384 * insets/insetcommand.h:
2385 * insets/insetfloatlist.[Ch]:
2386 * insets/insetinclude.[Ch]:
2387 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2388 of insets like bibtex, include, toc and floatlist to the visible
2389 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2390 up the dialogs. Cursor has to be in front of the inset (i.e.
2391 start of row) for this to function.
2393 2003-09-04 Angus Leeming <leeming@lyx.org>
2395 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2396 structure outside of the Format struct. Format::preambleName refers to
2397 an item in the map of all preamble snippets.
2398 Make use of the new Debug::EXTERNAL flag.
2400 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2401 (validate): Small change due to the changed storage of preamble
2404 2003-09-04 Angus Leeming <leeming@lyx.org>
2406 * insetgraphics.C: #include "support/os.h"
2408 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2409 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2410 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2412 * insetcollapsable.h:
2414 * insetnote.C: move #include "funcrequest.h" out of the header file.
2416 2003-09-03 Angus Leeming <leeming@lyx.org>
2418 * insetexternal.C (updateExternal):
2419 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2422 2003-09-03 Angus Leeming <leeming@lyx.org>
2424 * insetexternal.C: don't bring namespace lyx::support into the global
2427 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2429 * insetbranch.C: Add Branch: to label
2431 2003-09-02 John Levon <levon@movementarian.org>
2434 * insettext.C: remove cursor.i[xy]()
2436 2003-08-28 Angus Leeming <leeming@lyx.org>
2438 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2439 "sh ", enabling the conversion to be carried out even if the script
2442 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * most files: change to use const Buffer refs
2446 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2448 * insetfootlike.C: whitespace.
2450 2003-08-26 John Levon <levon@movementarian.org>
2454 * insetindex.h: remove remaining mentions of needFullRow()
2456 2003-08-26 André Pönitz <poenitz@gmx.net>
2462 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2464 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2466 * insetbranch.C: Small fix to prevent a crash on loading.
2468 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2473 * insetcollapsable.h:
2475 * insetfloatlist.[Ch]:
2476 * insetfootlike.[Ch]:
2477 * insetinclude.[Ch]:
2483 * insettheorem.[Ch]:
2484 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2485 altogether, putting the logic in metrics/draw in the insets.=20
2486 Draws short single row insets with more or less realistic metrics.
2488 2003-08-19 André Pönitz <poenitz@gmx.net>
2490 * insettext.C: use new RowPainter interface
2492 2003-08-18 John Levon <levon@movementarian.org>
2494 * insetref.C: require amsmath for eqref
2496 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2500 * insetbranch.[Ch]: implements the 'branch inset'
2501 idea. This allows the output of various versions of a document
2502 from a single source version, selectively outputing or suppressing
2503 output of parts of the text.
2504 This implementation contains a 'branch list editor' in a separate
2505 tab of the document settings dialog. Branches are user definable
2506 and have a "display colour" to distinguish them on-screen.
2508 ColorHandler was somewhat cleaned up.
2509 (1) make possible a dynamically growing LColor list by allowing
2510 the graphic context cache to grow along (vector);
2511 (2) eliminate an IMHO unnecessary step in colour allocation.
2513 2003-08-15 André Pönitz <poenitz@gmx.net>
2515 * insettext.[Ch]: adjust after rowlist split
2517 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2519 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2520 rename valign-center to valign-middle;
2521 rename VALIGN_CENTER to VALIGN_MIDDLE
2523 2003-08-11 André Pönitz <poenitz@gmx.net>
2525 * inset.h: remove resizeLyXText
2528 * insetcollapsable.[Ch]:
2530 * insettabular.[Ch]: adjust
2532 * insettext.[Ch]: remove saveLyXTextState,
2533 restoreLyXTextStat, sstate, reinitLyXText
2535 2003-08-07 André Pönitz <poenitz@gmx.net>
2537 * inset.[Ch]: move non-crucial functions out-of-line
2539 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2540 remove duplicated code.
2542 2003-08-05 André Pönitz <poenitz@gmx.net>
2545 * insetcollapsable.[Ch]:
2555 * insettabular.[Ch]:
2558 * updatableinset.[Ch]: rip out "deep update"
2560 * insettext.C (localDispatch): merge cases with default branch
2562 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2564 * insettabular.[Ch] (updateLocal): simplify logic
2566 2003-08-04 André Pönitz <poenitz@gmx.net>
2568 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2569 is 'FULL' all the time.
2571 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * insetert.C (get_new_label): only add ... to the (closed) label
2574 when the string has been shortened
2576 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2578 * Always use std::endl with lyxerr
2580 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2582 * insetnote.C: update \author list
2584 2003-07-31 André Pönitz <poenitz@gmx.net>
2586 * insetcollapsable.h:
2587 * insettabular.[Ch]:
2588 * insettext.[Ch]: remove toggleSelection
2590 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2592 (with help from Juergen Spitzmueller)
2593 * insetnote.C: add add i18n support. Use Prefs-definable
2594 colours for Comment and Greyedout.
2596 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2598 * insetcollapsable.[Ch]:
2600 * insetert.C: factor out the detection of clicking on the inset
2601 button as 'hitButton'. John Levon contributed.
2603 2003-07-30 André Pönitz <poenitz@gmx.net>
2605 * insetcollapsable.C:
2607 * insettabular.C: parantheses, localize vars etc.
2609 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2611 * insetnote.C: Implement a newenvironment in preamble for
2612 greyedout. Patch provided by Jürgen Spitzmüller.
2614 2003-07-29 Angus Leeming <leeming@lyx.org>
2616 * insetcommand.C (localDispatch): default to
2617 InsetOld::localDispatch.
2619 * insetbibitem.C (localDispatch):
2620 * insetbibtex.C (localDispatch): remove call to
2621 ChangeCitationsIfUnique.
2623 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2625 * insetexternal.C (read): use pushpophelper.
2627 2003-07-28 José Matos <jamatos@lyx.org>
2629 * insetext.C (read): \end_document replaces \the_end.
2631 2003-07-28 José Matos <jamatos@fep.up.pt>
2633 * insetert.C (write): \layout -> \begin_layout.
2634 Add missing \end_layout.
2636 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2638 * insetquotes.C: document a bit the format
2640 * insettabular.C (write): remove extra space
2642 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2643 * insetnote.C: Umpf. Hope I *now* get it right :-(
2645 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2646 *insetnote.C: did the right fix to greyedout: \color
2647 instead of \textcolor.
2649 2003-07-28 Angus Leeming <leeming@lyx.org>
2651 * insetbibtex.h: remove extraneous forward declaration.
2654 * insetbibtex.h: Also remove long-dead Holder member class
2657 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2659 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2662 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * insetwrap.C (addToToc): adjust for lyx::toc
2666 * insetfloatlist.C (ascii): adjust for lyx::toc
2668 * insetfloat.C (addToToc): adjust for lyx::toc
2670 2003-07-27 José Matos <jamatos@fep.up.pt>
2672 * insetnote.h (linuxdoc,docbook): update support.
2674 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2676 * insetfloat.C (wide): add a space to label, for consistency
2678 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * insettext.C (nextChange): adjust for lyx::find
2681 (searchForward): ditto
2682 (searchBackward): ditto
2684 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * insetgraphicsParams.C:
2687 * insetexternal.C: declare extern displayTranslator
2690 * renderers.C: add #include "support/LAssert.h"
2692 2003-07-27 José Matos <jamatos@fep.up.pt>
2694 * insetfloat.[Ch] (linuxdoc):
2695 * insetgraphics.C (linuxdoc):
2696 * insettabular.C (linuxdoc):
2697 * insettext.[Ch] (linuxdoc): add support for tables and figures
2700 2003-07-27 José Matos <jamatos@fep.up.pt>
2702 * insetinclude (latex): comply with makeLaTeXFile argument change.
2704 2003-07-26 Asger Alstrup <alstrup@local>
2706 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2707 the undo crashes. We'll see what problems other places this will
2710 2003-07-26 Angus Leeming <leeming@lyx.org>
2712 * insetgraphics.C: remove unused declaration of system_tempdir.
2714 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * rename Inset to InsetOld
2718 * all inset files (clone): return a auto_ptr<InsetBase>
2720 2003-07-23 Angus Leeming <leeming@lyx.org>
2722 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2724 2003-07-23 Angus Leeming <leeming@lyx.org>
2726 * mailinset.[Ch] (inset2string):
2727 * insetcommand.[Ch] (inset2string):
2728 * insetert.[Ch] (inset2string):
2729 * insetexternal.[Ch] (inset2string):
2730 * insetfloat.[Ch] (inset2string):
2731 * insetgraphics.[Ch] (inset2string):
2732 * insetinclude.[Ch] (inset2string):
2733 * insetminipage.[Ch] (inset2string):
2734 * insetnote.[Ch] (inset2string):
2735 * insettabular.[Ch] (inset2string):
2736 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2738 * insetexternal.[Ch]:
2739 * insetgraphics.[Ch]: get rid of the view() function. Associated
2740 changes to the mailers' string2params and params2string functions.
2742 2003-07-23 Angus Leeming <leeming@lyx.org>
2744 * insetexternal.[Ch]: store the external file name in a FileName
2745 member variable rather than a string + associated changes.
2747 2003-07-21 Angus Leeming <leeming@lyx.org>
2749 * insetgraphicsParams.[Ch]: store the graphics file name in
2750 a FileName member variable rather than a string.
2752 * insetgraphics.[Ch]:
2753 * insetgraphicsParams.[Ch]: Associated changes.
2755 2003-07-21 Angus Leeming <leeming@lyx.org>
2757 * insetgraphics.[Ch] (string2params, params2string): passed a
2758 buffer_path argument.
2761 2003-07-21 Angus Leeming <leeming@lyx.org>
2764 * insetgraphicsParams.[Ch]:
2766 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2768 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2770 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2772 2003-07-18 André Pönitz <poenitz@gmx.net>
2775 * insetminipage.[Ch]:
2776 * insettabular.[Ch]:
2779 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2781 2003-07-18 André Pönitz <poenitz@gmx.net>
2785 * insetcollapsable.C:
2789 * insetgraphics.[Ch]:
2790 * insetlatexaccent.[Ch]:
2795 * insetspecialchar.C:
2796 * insettabular.[Ch]:
2798 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2800 2003-07-17 André Pönitz <poenitz@gmx.net>
2802 * insetcollapsable.C:
2804 * insettext.C: don't call Inset::update() anymore
2807 * insettabular.[Ch]: remove unneeded in_update_ members
2809 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2811 2003-07-16 André Pönitz <poenitz@gmx.net>
2813 * insettext.C (selectAll): remove
2815 2003-07-16 John Levon <levon@movementarian.org>
2818 * insetnote.C: implement showInsetDialog()
2820 2003-07-15 André Pönitz <poenitz@gmx.net>
2823 * insettext.C: refresh_status tristate -> need_update bool
2825 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2827 * insettext.C: adjust call to LyXText::init
2829 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2831 * insettext.C: use bufferview_funcs->replaceSelection()
2832 to delete selections in some cases (bugs 441, 673, 702, 954).
2834 2003-07-14 André Pönitz <poenitz@gmx.net>
2836 * insettext.C (draw): use slimmed down rowpainter interface
2838 2003-07-14 André Pönitz <poenitz@gmx.net>
2840 * insetcollapsable.C:
2842 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2843 remove unused BufferView * argument
2845 2003-07-14 André Pönitz <poenitz@gmx.net>
2847 * insettext.[Ch]: used cached metrics a bit more
2849 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2851 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2853 2003-07-10 André Pönitz <poenitz@gmx.net>
2856 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2858 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * introduce namespace lyx::graphics
2862 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * introduce namespace lyx::support
2866 2003-06-30 André Pönitz <poenitz@gmx.net>
2868 * insetcite.C (localDispatch): fix case of missing return value
2870 * insetcite.C (ascii): remove unneeded temporary
2872 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * insetspace.h: fix \file
2876 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2877 * insetinclude.C (fillWithBibKeys): ditto
2879 * insetbibitem.C: fix type const order
2881 * inset.C (getLyXText): add varname for arg
2883 * ExternalTemplate.h: fix type const order
2885 2003-06-27 André Pönitz <poenitz@gmx.net>
2887 * insettext.C: take care of removed LyXCursor::row_ member
2889 * insettext.[Ch]: use new TextCursor struct for sstate
2891 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2893 * inseterror.[Ch]: removed
2895 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2897 * insetinclude.C (docbook): use parseError instead of sgmlError
2899 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2901 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2902 of BufferList::loadLyXFile
2904 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * insettext.C (update): simplify
2907 (updateLocal): remove commented code
2908 (insetUnlock): simplify
2909 (lockInset): simplify
2910 (updateInsetInInset): simplify
2911 (localDispatch): simplify
2913 (resizeLyXText): simplify
2914 (collapseParagraphs): simplify
2916 * insetert.C (get_new_label): simplify
2918 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2920 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2921 pasteSelection with index
2923 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2927 2003-06-16 André Pönitz <poenitz@gmx.net>
2929 * insetbase.h: new virtual base function clone()
2931 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2932 Inset * clone() -> InsetBase * clone()
2934 2003-06-13 André Pönitz <poenitz@gmx.net>
2936 * insettabular.[Ch]: make tabular a proper member
2938 2003-06-12 André Pönitz <poenitz@gmx.net>
2940 * insettabular.[Ch]: some renaming plus whitespace
2942 2003-06-11 Angus Leeming <leeming@lyx.org>
2944 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2947 * insetbutton.[Ch]: removed.
2948 * graphicinset.[Ch]: renamed as renderers.[Ch].
2950 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2951 Create a new class ButtonRenderer using the InsetButton::metrics() and
2953 Derive both from a common RenderedInset base class.
2955 * insetcommand.[Ch]:
2956 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2957 Give it a ButtonRenderer member variable. Use it.
2958 Give the classes working copy c-tors.
2959 No longer derive from boost::noncopyable.
2961 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2962 display its contents as a button or as a graphic.
2964 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2967 2003-06-11 Angus Leeming <leeming@lyx.org>
2969 * insetcite.C (localDispatch): reformat.
2971 * insetref.C (localDispatch): enable dialog to be lauched.
2973 2003-06-11 John Levon <levon@movementarian.org>
2975 * insettabular.C: correctly mark all cells as erased
2977 2003-06-11 Angus Leeming <leeming@lyx.org>
2979 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2980 ExternalTemplate but its name, templatename. This means that a file
2981 containing a reference to an External Template not installed on the
2982 current machine will be saved retaining this info rather than inserting
2983 the first "valid" template from the list of templates.
2985 As a by product, the visual statement that the Template is missing is
2988 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2990 * insettext.C (appendParagraphs): remove some commented code.
2992 2003-06-10 Angus Leeming <leeming@lyx.org>
2994 * graphicinset.[Ch] (view): removed the publicly accessible
2995 function to set the cache.
2997 * insetexternal.[Ch]: move tempname_ into the Params struct.
2998 (Params d-tor): new function, to clean-up this temp file.
2999 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
3001 (editExternal, doSubstitution): move out of class.
3003 2003-06-10 Angus Leeming <leeming@lyx.org>
3005 * graphicinset.[Ch] (params): removed.
3006 * graphicinset.h (operator=): declared private but not defined.
3007 (statusMessage): made private.
3009 * insetexternal.[Ch]: graphic_ renamed as renderer_.
3011 2003-06-07 John Levon <levon@movementarian.org>
3013 * insetert.C (latex): make a newline mean just that not
3016 2003-06-07 José Matos <jamatos@fep.up.pt>
3018 * insethfill.[Ch] (linuxdoc, docbook): implement output
3019 * insetspace.C (linuxdoc, docbook): remove coments as the code
3022 2003-06-06 José Matos <jamatos@fep.up.pt>
3024 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
3026 2003-06-06 André Pönitz <poenitz@gmx.net>
3028 * insetwrap.[Ch]: code compactification
3030 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3032 * mailinset.C (updateDialog): use Dialogs::visible
3034 2003-06-04 Angus Leeming <leeming@lyx.org>
3036 * graphicinset.C (draw): add a comment for the #if 0 block.
3038 * insetexternal.h: remove Params::parameters variable.
3040 * insetexternal.C (read, write): rewrite to output new ExternalInset
3041 format and read it back making full use of LyXLex.
3043 2003-06-04 André Pönitz <poenitz@gmx.net>
3045 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
3047 2003-06-04 John Levon <levon@movementarian.org>
3049 * insettabular.C: back out tall table speed up. It was broken
3051 2003-06-03 Angus Leeming <leeming@lyx.org>
3053 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
3054 Remove ViewCommand and UpdateCommand.
3056 * graphicinset.C (update): bug fix. Set the params before calling the
3059 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
3060 the BufferView cache to enable the InsetExternal::editCommand to
3061 be invoked from the frontends. Would not be needed if this were
3062 dispatched properly.
3063 (old_ascent_): variable removed.
3065 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
3066 do any necessary conversions of external material. Also use the
3067 new GraphicsInset to display the inset within LyX.
3069 2003-06-03 Angus Leeming <leeming@lyx.org>
3071 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
3072 and move it somewhere where InsetExternal can use it too.
3074 * Makefile.am: add the new files.
3076 * insetgraphics.[Ch]: make use of the new GraphicInset.
3078 2003-06-03 John Levon <levon@movementarian.org>
3081 * insetbibitem.[Ch]:
3084 * insetcommand.[Ch]:
3088 * insetexternal.[Ch]:
3092 * insetgraphics.[Ch]:
3094 * insetinclude.[Ch]:
3097 * insetlatexaccent.[Ch]:
3098 * insetmarginal.[Ch]:
3099 * insetminipage.[Ch]:
3106 * insetspecialchar.[Ch]:
3107 * insettabular.[Ch]:
3109 * insetthereom.[Ch]:
3112 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3114 * insetgraphics.[Ch]:
3115 * insetgraphicsParams.[Ch]: always store an absolute
3118 2003-06-02 André Pönitz <poenitz@gmx.net>
3122 * insetlatexaccent.C: remove duplicated call to metrics()
3124 2003-06-02 John Levon <levon@movementarian.org>
3126 * insettabular.C: fix resize of column width
3128 2003-06-02 John Levon <levon@movementarian.org>
3133 * insetparent.C: remove insetparent
3135 2003-06-02 André Pönitz <poenitz@gmx.net>
3142 * insetcollapsable.[Ch]:
3146 * insetgraphics.[Ch]:
3147 * insetinclude.[Ch]:
3148 * insetlatexaccent.[Ch]:
3149 * insetminipage.[Ch]:
3150 * insetnewline.[Ch]:
3153 * insetspecialchar.[Ch]:
3154 * insettabular.[Ch]:
3155 * insettext.[Ch]: unify first drawing phase
3158 * insetbase.h: move validate() to the base
3160 2003-05-31 Angus Leeming <leeming@lyx.org>
3162 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3164 2003-05-30 André Pönitz <poenitz@gmx.net>
3169 * insetcaption.[Ch]:
3170 * insetcollapsable.[Ch]:
3173 * insetgraphics.[Ch]:
3174 * insetinclude.[Ch]:
3175 * insetlatexaccent.[Ch]:
3176 * insetnewline.[Ch]:
3179 * insetspecialchar.[Ch]:
3180 * insettabular.[Ch]:
3182 * updatableinset.[Ch]: unify second drawing phase
3184 2003-05-30 John Levon <levon@movementarian.org>
3186 * insetgraphics.C: fix a bformat
3188 2003-05-29 John Levon <levon@movementarian.org>
3190 * insettabular.C: remove unused bufferOwner()
3192 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * insettext.C (lockInsetInInset): adjust
3195 (getLabelList): use const_iterator, adjust
3196 (getInsetFromID): use const_iterator, adjust
3197 (addPreview): use const_iterator, adjust
3199 * insetwrap.C (clone): remove const_cast
3201 * insetnote.C (clone): remove const_cast
3203 * insetminipage.C (clone): remove const_cast
3205 * insetmarginal.C (clone): remove const_cast
3207 * insetfoot.C (clone): remove const_cast
3209 * insetfloat.C (clone): remove const_cast
3211 * insetert.C (clone): remove const_cast
3213 * delete commented same_id functions from a lot of files.
3215 2003-05-28 John Levon <levon@movementarian.org>
3221 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3223 * insetminipage.C: fix metrics (bug 1144)
3225 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * insettext.C (saveLyXTextState): adjust
3228 (restoreLyXTextState): adjust
3231 (unlockInsetInInset): adjust
3232 (localDispatch): adjust
3233 (getLyXText): adjust
3235 * insettabular.C (insertAsciiString): adjust
3237 2003-05-27 André Pönitz <poenitz@gmx.net>
3240 * insetcollapsable.C:
3243 * insetlatexaccent.C:
3248 * insetspecialchar.C:
3250 * insettext.C: dim.w -> dim.wid
3252 2003-05-26 John Levon <levon@movementarian.org>
3254 * insettabular.C: avoid drawing all of a long table
3255 if it's not needed. A big speedup
3257 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * remove same_id from function signatures, adjust
3261 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * insettext.C (InsetText): adjust
3265 (setParagraphData): separate same_id cases, adjust
3266 (appendParagraphs): adjust
3267 (appendParagraphs): adjust
3269 2003-05-23 André Pönitz <poenitz@gmx.net>
3271 * insetbutton.h: whitespace
3273 * insettabular.C: more compact code
3275 * updatableinset.C: remove const_cast
3278 2003-05-23 Angus Leeming <leeming@lyx.org>
3280 * insetexternal.C (write): check how many lines are output.
3281 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3282 if the template has defined it.
3284 2003-05-23 Angus Leeming <leeming@lyx.org>
3286 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3288 2003-05-23 Angus Leeming <leeming@lyx.org>
3290 * insetfoot.C (latex):
3291 * inseturl.C (latex): rename fragile as moving_arg.
3293 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * inseterror.C (localDispatch): comment out unused var.
3297 2003-05-22 Angus Leeming <leeming@lyx.org>
3299 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3300 passed through the LatexRunParams arg.
3302 2003-05-22 Angus Leeming <leeming@lyx.org>
3304 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3305 through the LatexRunParams arg.
3307 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3308 arg rather than through a global var.
3310 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * insetspecialchar.C (dimension): use a string.
3314 2003-05-22 Angus Leeming <leeming@lyx.org>
3316 * insetbibtex.C (latex):
3317 * insetgraphics.C (latex):
3318 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3319 runparams rather than from the buffer itself.
3321 2003-05-22 Angus Leeming <leeming@lyx.org>
3323 * inset*.[Ch] (latex):
3324 passed a LatexRunParams parameter.
3326 * insetgraphics.C (latex): actually use it ;-)
3328 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3330 * insetfloat.C (addToToc): trivial compile fix
3332 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * insettext.[Ch] (paragraph): delete unused function
3336 * insetfloat.C (addToToc): parlist simplfication
3338 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3340 * insetspace.[Ch]: added (new space insets)
3342 * inset.h: handle new space insets
3344 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * insetfloat.C (addToToc): adjust
3348 2003-05-21 André Pönitz <poenitz@gmx.net>
3350 * insettext.[Ch]: fix drawing bug introduced earlier
3352 2003-05-19 André Pönitz <poenitz@gmx.net>
3354 * insetspecialchar.C: fix bug introduced yesterday
3356 2003-05-19 André Pönitz <poenitz@gmx.net>
3360 * insetcollapsable.[Ch]:
3364 * insetgraphics.[Ch]:
3365 * insetgraphicsParams.[Ch]:
3366 * insetlatexaccent.[Ch]:
3367 * insetminipage.[Ch]:
3368 * insetnewline.[Ch]:
3370 * insetspecialchar.[Ch]:
3371 * insettabular.[Ch]:
3372 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3374 2003-05-19 André Pönitz <poenitz@gmx.net>
3377 * insettext.C: more insetenv
3379 2003-05-16 André Pönitz <poenitz@gmx.net>
3382 * insetminimpage.[Ch]:
3383 * insetcollapsable.[Ch]: fix #832
3385 2003-05-16 André Pönitz <poenitz@gmx.net>
3388 * insetbibitem.[Ch]:
3392 * insetcollapsable.[Ch]:
3393 * insetcommand.[Ch]:
3396 * insetexternal.[Ch]:
3397 * insetfloatlist.[Ch]:
3398 * insetgraphics.[Ch]:
3399 * insetinclude.[Ch]:
3402 * insetlatexaccent.[Ch]:
3405 * insettabular.[Ch]:
3409 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3411 2003-05-13 André Pönitz <poenitz@gmx.net>
3414 * insetcollapsable.C:
3418 * insetwrap.C: tostr from own header
3430 * insetwrap.C: STRCONV
3433 2003-05-12 André Pönitz <poenitz@gmx.net>
3445 * insetwwrap.C: boost::format -> bformat all over the place
3447 2003-05-05 André Pönitz <poenitz@gmx.net>
3449 * insettext.h: add missing #include <map>
3451 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * insettext.C (InsetText): parlist cleanup
3456 (insetUnlock): ditto
3458 (lockInsetInInset): ditto
3462 (searchBackward): ditto
3463 (collapseParagraphs): ditto
3465 2003-05-06 John Levon <levon@movementarian.org>
3467 * insetcaption.C: don't cast wrap inset to InsetFloat
3470 * insetfloat.C: remove unneeded type() function
3472 2003-05-05 André Pönitz <poenitz@gmx.net>
3476 * insettabular.[Ch]:
3477 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3478 replace getFirstParagraph() by getParagraphs()
3480 2003-05-03 John Levon <levon@movementarian.org>
3482 * insetcollapsable.h:
3483 * insetcollapsable.C:
3489 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3490 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3491 getCursor(). Remove explicit cursor hides.
3493 2003-05-02 André Pönitz <poenitz@gmx.net>
3495 * insettext.C: remove unneeded &*
3497 2003-04-30 John Levon <levon@movementarian.org>
3499 * insettabular.C: fix edit message
3501 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insettext.C (setFont): do not convert iterator -> pointer
3505 * insettabular.C (localDispatch): do not convert iterator -> pointer
3507 (tabularFeatures): ditto
3509 2003-04-29 André Pönitz <poenitz@gmx.net>
3511 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3513 2003-04-28 André Pönitz <poenitz@gmx.net>
3515 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3518 2003-04-25 André Pönitz <poenitz@gmx.net>
3520 * insetenv.C: derive from InsetText instead of InsetCollapsable
3522 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * insetexternal.C (string2params): dont do anything if the string
3526 * insetgraphics.C (string2params): ditto
3527 * insetcommand.C (string2params): ditto
3528 * insetert.C (string2params): ditto
3529 * insetfloat.C (string2params): ditto
3530 * insetinclude.C (string2params): ditto
3531 * insetminipage.C (string2params): ditto
3532 * insettabular.C (string2params): ditto
3533 * insetwrap.C (string2params): ditto
3535 2003-04-24 André Pönitz <poenitz@gmx.net>
3537 * insetref.C: support for eqref
3539 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * insetert.C (read): use ParagraphList::iterator.
3543 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * insetquotes.C (latex): comment some code and add warnings.
3547 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3549 * insetexternal.C (localDispatch): added a missing DISPATCHED
3551 2003-04-12 John Levon <levon@movementarian.org>
3553 * insetwrap.C (addToToc): fix a crash, conversion
3554 from while to for loop forgot to remove the explicit
3557 2003-04-10 John Levon <levon@movementarian.org>
3559 * insettabular.C (tabularFeature): make sure
3560 to update the dialog when we change something
3563 (getStatus): don't disable some lfuns (bug 939)
3565 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * insettext.C (saveLyXTextState): adjust
3568 (localDispatch): adjust
3574 * insettabular.C (localDispatch): adjust
3576 (tabularFeatures): adjust
3578 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3580 * insettabular.C (searchForward,searchBackward): fix bug 782
3582 2003-04-07 John Levon <levon@movementarian.org>
3585 * insettext.C: clear status message on inset exit
3587 2003-04-03 John Levon <levon@movementarian.org>
3589 * insetcommand.C: return dispatched on DIALOG_UPDATE
3591 2003-04-02 John Levon <levon@movementarian.org>
3593 * insettabular.C: tab lfuns renamed
3595 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * insettext.C (update): move towards ParagraphList
3598 (updateLocal): ditto
3600 (insetUnlock): ditto
3602 (lockInsetInInset): ditto
3603 (updateInsetInInset): ditto
3604 (localDispatch): ditto
3607 (resizeLyXText): ditto
3608 (searchBackward): ditto
3609 (collapseParagraphs): ditto
3612 * insetwrap.C (InsetWrap): adjust
3613 (addToToc): adjust and rewrite loop
3615 * insettext.[Ch] (paragraph): delete function
3617 * insettabular.C (moveNextCell): adjust
3618 (movePrevCell): adjust
3619 (insertAsciiString): adjust
3621 * insetfloat.C (InsetFloat): adjust
3624 * insetert.C (InsetERT): adjust
3625 (write): adjust, and rewrite loop
3626 (latex): adjust, and rewrite loop
3627 (linuxdoc): adjust, and rewrite loop
3628 (docbook): adjust, and rewrite loop
3629 (localDispatch): adjust
3630 (get_new_label): adjust
3632 2003-04-01 John Levon <levon@movementarian.org>
3634 From Alfredo Braunstein
3637 * insetbutton.C: add localDispatch()
3639 * insetcommand.C: return DISPATCHED when edit() called
3641 * insettext.C: fix bug 967
3643 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * insettext.C: adjust
3647 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * insettext.C (draw): adjust
3650 (crow): return a RowList::iterator not a Row*
3652 * insetminipage.C (localDispatch): adjust
3654 * insetert.C (localDispatch): adjust
3656 2003-03-31 John Levon <levon@movementarian.org>
3659 * insetgraphicsParams.C: use_gui moved to lyx_gui
3661 2003-03-31 John Levon <levon@movementarian.org>
3663 * insettext.C: Alert fix
3665 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * insettext.C (ascent): adjust for RowList
3670 (getLyXText): adjust
3671 (toggleSelection): adjust
3673 * insetminipage.C (localDispatch): adjust for RowList
3675 * insetert.C (localDispatch): adjust for RowList
3676 (getMaxWidth): adjust for RowList
3678 2003-03-29 John Levon <levon@movementarian.org>
3680 * insetert.C: Alert cleanup
3682 2003-03-29 John Levon <levon@movementarian.org>
3684 * insettabular.C: Alert fix
3686 2003-03-28 John Levon <levon@movementarian.org>
3688 * insetfloat.C: reset label on INSET_MODIFY
3690 2003-03-28 John Levon <levon@movementarian.org>
3692 * insetgraphicsParams.C: read subcaptionText as a whole line
3695 2003-03-28 John Levon <levon@movementarian.org>
3697 * insettext.C: remove unused prototypes
3699 2003-03-25 Angus Leeming <leeming@lyx.org>
3701 * insetbibitem.C (localDispatch): repaint the view after modifying
3702 a bibitem inset in case the maximum InsetBibitem width has changed.
3704 2003-03-25 John Levon <levon@movementarian.org>
3707 * insettabular.C: LyXText renamings
3709 2003-03-24 John Levon <levon@movementarian.org>
3711 * insettext.C: remove some dead code. Fix bug 972 and
3712 related by posting a repaint in updateLocal(), and making
3713 the SEL functions set SELECTION.
3715 2003-03-22 John Levon <levon@movementarian.org>
3718 * inset.C: remove no-longer-needed topx_set
3720 * insetcollapsable.h:
3721 * insetcollapsable.C: remove dead code
3724 * insetert.C: rebreak the rows when a possible
3725 change in size is made, and reset the cursor
3728 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3730 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3731 topx_set. Fix drawing errors for clearInset(). Remove
3732 some unnecessary uses of topx, which should die.
3734 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3735 is no longer needed. Replace it with an ugly hack.
3737 2003-03-20 John Levon <levon@movementarian.org>
3740 * insetcollapsable.h:
3741 * insetcollapsable.C:
3749 * insettext.C: remove spurious font parameter
3750 from update(). Fix drawing of ERT insets inside
3751 insets (bug 966). Remove unused mark_dirty from
3752 tabular's updateLocal()
3754 2003-03-19 John Levon <levon@movementarian.org>
3763 * insetwrap.C: remove unused getter/setters
3765 2003-03-19 John Levon <levon@movementarian.org>
3767 * several files: bv->updateInset() doesn't take
3768 a bool mark_dirty any more
3770 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3772 * adjust for BufferView* arg removal from lyxtext.
3774 2003-03-17 John Levon <levon@movementarian.org>
3776 * most files: remove the "cleared" parameter
3777 to draw in favour of always clearing. Associated
3780 2003-03-16 John Levon <levon@movementarian.org>
3782 * insettext.C: remove unused s.refresh
3784 2003-03-13 Angus Leeming <leeming@lyx.org>
3786 * insettext.C (edit): replace Dialogs::updateParagraph with
3787 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3789 2003-03-13 André Pönitz <poenitz@gmx.net>
3791 * Makefile.am: insert insetenv
3793 * insethenv.[Ch]: new files, currently inactive
3795 2003-03-12 John Levon <levon@movementarian.org>
3805 * insettext.C: use new insetnewline
3807 2003-03-12 John Levon <levon@movementarian.org>
3809 * insettext.C: readToken became readParagraph
3811 2003-03-12 John Levon <levon@movementarian.org>
3813 * insettext.C: use parlist iterator for reading contents
3815 2003-03-12 John Levon <levon@movementarian.org>
3817 * insettext.C: name change to readToken()
3819 2003-03-11 André Pönitz <poenitz@gmx.net>
3821 * Makefile.am: insert insethfill
3823 * insethfill.[Ch]: new files
3825 2003-03-10 Angus Leeming <leeming@lyx.org>
3827 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3829 (hideDialog): calls the new static Dialogs::hide() method.
3831 * insetbibitem.C (edit):
3832 * insetbibtex.C (edit):
3833 * insetcite.C (edit):
3834 * insetcommand.C (localDispatch):
3835 * inseterror.C (d-tor):
3836 * insetert.C (showInsetDialog):
3837 * insetexternal.C (localDispatch, edit):
3838 * insetfloat.C (localDispatch, showInsetDialog):
3839 * insetfloatlist.C (edit):
3840 * insetgraphics.C (localDispatch, edit):
3841 * insetinclude.C (localDispatch, edit):
3842 * insetindex.C (edit):
3843 * insetlabel.C (edit):
3844 * insetminipage.C (localDispatch, showInsetDialog):
3845 * insetref.C (edit):
3846 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3847 resetPos, showInsetDialog, openLayoutDialog):
3848 * insettoc.C (edit):
3849 * inseturl.C (edit):
3850 * insetwrap.C (localDispatch, showInsetDialog):
3851 changes due to the changed MailInset interface.
3853 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3855 * insetfloat.h: Set default placement to an empty string.
3857 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3859 * insettext.C (latex): adjust call to latexParagraphs.
3861 2003-03-10 Angus Leeming <leeming@lyx.org>
3863 * mailinset.C: warn the user if the BufferView has not been cached.
3865 2003-03-10 Angus Leeming <leeming@lyx.org>
3867 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3869 * insetcommand.h (inset):
3870 * insetert.h (inset):
3871 * insetexternal.h (inset):
3872 * insetfloat.h (inset):
3873 * insetgraphics.h (inset):
3874 * insetinclude.h (inset):
3875 * insetminipage.h (inset):
3876 * insettabular.h (inset):
3877 * insetwrap.h (inset):
3878 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3880 2003-03-10 Angus Leeming <leeming@lyx.org>
3882 * insetcommand.C (string2params):
3883 * insetexternal.C (string2params):
3884 * insetfloat.C (string2params):
3885 * insetgraphics.C (string2params):
3886 * insetinclude.C (string2params):
3887 * insetminipage.C (string2params):
3888 * insettabular.C (string2params):
3889 * insetwrap.C (string2params): cure warning message about missing
3892 2003-03-09 Angus Leeming <leeming@lyx.org>
3894 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3895 it to communicate with the frontend dialogs.
3897 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3898 contents of this inset!
3900 2003-03-07 Angus Leeming <leeming@lyx.org>
3902 * inseterror.C (localDispatch): new method; calls edit() on
3905 2003-03-07 Angus Leeming <leeming@lyx.org>
3907 * insetbibitem.C (localDispatch):
3908 * insetbibtex.C (localDispatch):
3909 * insetlabel.C (localDispatch):
3910 rewrite as a switch.
3912 2003-03-07 Angus Leeming <leeming@lyx.org>
3914 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3915 it to communicate with the frontend dialogs.
3917 2003-03-07 Angus Leeming <leeming@lyx.org>
3919 * insetexternal.C: remove operator== and operator!= for
3920 InsetExternal::Params. They were used only by the old controller
3923 2003-03-07 Angus Leeming <leeming@lyx.org>
3925 * insetcommand.C (localDispatch):
3926 * insetexternal.C (localDispatch):
3927 * insetfloat.C (localDispatch):
3928 * insetinclude.C (localDispatch):
3929 * insetminipage.C (localDispatch):
3930 * insetwrap.C (localDispatch):
3931 add LFUN_INSET_DIALOG_UPDATE to the switch.
3933 2003-03-07 Angus Leeming <leeming@lyx.org>
3935 * insetcommand.C (string2params):
3936 * insetexternal.C (string2params):
3937 * insetfloat.C (string2params):
3938 * insetinclude.C (string2params):
3939 * insetwrap.C (string2params): use LyXLeX more.
3942 * insetexternal.[Ch]:
3944 * insetinclude.[Ch]:
3945 * insetwrap.[Ch]: change Mailer::name_ to be static.
3947 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3948 it to communicate with the frontend dialogs.
3950 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3953 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3955 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * insettext.C (updateLocal): un-const function
3958 (updateLocal): adjust
3959 (collapseParagraphs): un-const function
3960 (collapseParagraphs): adjust
3962 2003-03-05 Angus Leeming <leeming@lyx.org>
3964 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3965 it to communicate with the frontend dialogs.
3967 2003-03-05 Angus Leeming <leeming@lyx.org>
3969 * insetcollapsable.C (draw): cache the BufferView.
3971 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3972 it to communicate with the frontend dialogs.
3974 2003-03-05 Angus Leeming <leeming@lyx.org>
3976 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3979 2003-03-05 Angus Leeming <leeming@lyx.org>
3981 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3983 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3984 it to communicate with the frontend dialogs.
3986 2003-03-05 Angus Leeming <leeming@lyx.org>
3988 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3989 it to communicate with the frontend dialogs.
3991 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * insettext.C (collapseParagraphs): adjust
3994 (appendParagraphs): make it take a Buffer* instead of a
3995 BufferParams& as arg.
3996 (appendParagraphs): adjust
3998 2003-03-04 Angus Leeming <leeming@lyx.org>
4000 * insetbibitem.C (localDispatch):
4001 * insetbibtex.C (localDispatch):
4002 * insetcommand.C (localDispatch):
4003 * insetert.C (localDispatch):
4004 * insetlabel.C (localDispatch):
4005 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
4007 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * insettext.C (latex): adjust for ParagraphList::iterator
4011 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * insetbutton.C (view): adjust for boost 1.30.0
4014 * insetcollapsable.C (view): ditto
4015 * insetgraphics.C (statusChanged): ditto
4017 * insettext.h: move paragraphs to be public.
4019 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * insetnote.[Ch] (InsetNote): remove unused constructor
4023 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4025 * insetgraphics.C: added include "format.h"
4027 2003-02-27 Angus Leeming <leeming@lyx.org>
4029 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
4032 2003-02-27 Angus Leeming <leeming@lyx.org>
4034 * insetbibitem.C (localDispatch):
4035 * insetbibtex.C (localDispatch):
4038 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4040 2003-02-26 Angus Leeming <leeming@lyx.org>
4042 * insetbibitem.[Ch] (localDispatch):
4043 * insetbibtex.[Ch] (localDispatch):
4044 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
4046 * insetcommand.C (localDispatch):
4047 act only on receipt of LFUN_XYZ_APPLY.
4049 * insetert.C (localDispatch): reformat.
4050 add LFUN_XYZ_APPLY to the switch.
4052 2003-02-26 John Levon <levon@movementarian.org>
4054 * insettext.C: use RowPainter
4056 * inset.h: make helpers take const *
4058 2003-02-26 Angus Leeming <leeming@lyx.org>
4060 * insetcommand.[Ch] (localDispatch): new method.
4062 2003-02-26 Angus Leeming <leeming@lyx.org>
4064 * insetinclude.C (draw): cache the BufferView* using cache not
4065 PreviewImpl::setView
4067 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
4069 * insetgraphics.C (draw)
4070 * insetinclude.C (draw): Eliminate also the other argument (owner
4071 inset inset) in the call to PreviewImage::image
4073 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
4075 * insetgraphics.C (draw)
4076 * insetinclude.C (draw): Eliminate Buferview argument in call to
4079 2003-02-25 John Levon <levon@movementarian.org>
4081 * insetgraphicsParams.h:
4082 * insetgraphics.C: don't start a load process if
4083 the inset is set to NoDisplay (bug #920)
4085 2003-02-22 John Levon <levon@movementarian.org>
4088 * insetwrap.C: TocItem changed API (bug 913)
4090 2003-02-21 Angus Leeming <leeming@lyx.org>
4092 * insetcollapsable.[Ch] (cache, edit):
4093 * insetbutton.[Ch] (cache, edit): new methods to cache the
4094 BufferView in the draw method.
4096 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4097 simplify comunication between InsetCommand-derived classes and
4100 * insetbibitem.[Ch]:
4104 * insetfloatlist.[Ch]:
4108 * inseturl.[Ch]: small changes to reflect the new interface to the
4111 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4112 other, similar classes.
4114 * Makefile.am: add new files.
4116 2003-02-21 Angus Leeming <leeming@lyx.org>
4118 * updatableinset.h (setView, view): remove.
4119 * inset.h (view, cache): to be replaced by these.
4121 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4124 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4127 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4129 2003-02-21 Allan Rae <rae@lyx.org>
4131 * insetinclude.C (loadIfNeeded): ensure loading also works when
4132 child document is under version control.
4134 2003-02-17 André Pönitz <poenitz@gmx.net>
4136 * insetbib.[Ch]: Adjust access to bibkeys
4138 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4140 * insetquotes.C (dispString): remove use of acute accent for "'"
4143 2003-02-14 John Levon <levon@movementarian.org>
4145 * insettabular.C: changed method names in tabular.C
4147 2003-02-14 John Levon <levon@movementarian.org>
4151 * insetcollapsable.h:
4152 * insetcollapsable.C:
4156 * insettext.C: remove unused getParFromID()
4158 2003-02-13 John Levon <levon@movementarian.org>
4161 * insettext.C: remove unused beginningofMainBody()
4163 2003-02-08 John Levon <levon@movementarian.org>
4167 * insetcollapsable.h:
4168 * insetcollapsable.C:
4173 add nextChange(). Make allowSpellcheck() const. Add markErased().
4175 * insetert.C: ignore deleted text
4177 * insettabular.C: make sure to keep change tracking working
4180 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4185 * insettext.C: Use error messages with identical spelling and
4188 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4190 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4192 2002-12-17 Juergen Vigna <jug@lyx.org>
4194 * insettext.C (localDispatch): hopefully fixed cursor up down
4195 movement on leaving other insets.
4197 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4199 * insettext.C: fix inconsistent usage of spaces, colons,
4200 capitalization, and the like.
4202 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4204 * insetgraphics.C (prepareFile): do not remove the extension of
4205 the file name if it is not the default extension for the given
4206 format (that is, in latex output, remove extension from foo.eps,
4207 but not from foo.epsi)
4209 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4211 * insettext.C (lfunMouseRelease): hackish solution to the "double
4214 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * insetfloat.C (addToToc): use the floats name not its type
4217 * insetwrap.C (addToToc): ditto
4219 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4221 * insetnote.C (init): make label font smaller
4223 2002-12-04 John Levon <levon@movementarian.org>
4225 * insetinclude.C: ressurect setting of command name
4227 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * insetquotes.C (dispString): disambiguate insert call
4231 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * several files: ws changes
4235 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * insetquotes.C (dispString): use string::insert for prepending a
4240 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4242 * insetparent.C (getScreenLabel): use boost::format
4244 * insetgraphics.C (prepareFile): use boost::format
4247 * insetfloatlist.C (latex): use boost::format
4249 * insetcaption.C (draw): use boost::format
4251 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4253 * insettabular.C (tabularFeatures): Support for block alignment in
4254 fixed width columns.
4256 2002-11-20 Juergen Vigna <jug@sad.it>
4258 * insettabular.C (resetPos): temporary fix for endless loop in
4259 this function on a redraw.
4261 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * insettabular.C (copySelection): STRCONV
4265 * insetinclude.C (uniqueID): STRCONV
4266 (latexString): ditto
4268 * insetgraphics.C: put VersionNumber inside anon namespace
4269 (createLatexOptions): STRCONV
4271 * insetcommandparams.C: include config.h
4273 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4275 * insetgraphicsParams.C (Write): use lyx::float_equal.
4276 Write height data correctly.
4277 (Read): zero scale when reading height data.
4279 2002-10-30 John Levon <levon@movementarian.org>
4281 * insetfloat.C (addToTOC): recursively traverse all
4282 contents looking for captions (fix #568)
4284 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4286 * insetexternal.C (doSubstitution): do not try to replace
4287 environment variables, this is done when executing the command
4289 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4291 * insetexternal.C (doSubstitution): change order of substitution
4292 to work around ReplaceEnvironmentPath brokenness
4294 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4296 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4298 * insetgraphicsParams.C (init, Write): associated changes
4299 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4300 InsetGraphicsParams::scale.
4302 2002-10-21 John Levon <levon@movementarian.org>
4304 * inset.h: remove unused DISPATCH_RESULT
4306 * insettext.C: sgml open/close tag now in sgml namespace
4308 2002-10-21 Angus Leeming <leeming@lyx.org>
4310 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4311 file path subdir/fig.eps when pasting it into a buffer in a different
4314 2002-10-16 John Levon <levon@movementarian.org>
4316 * insetspecialchar.C: remove \\protected_separator parsing
4318 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4320 * insetquote.C: fix LaTeX output of quotation marks.
4322 2002-10-14 Juergen Vigna <jug@sad.it>
4324 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4325 Backspace functions which confused the Undo handling.
4327 2002-10-09 Angus Leeming <leeming@lyx.org>
4329 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4330 BufferView::dispatch that turns off this optimisation when a new inset
4333 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4334 reload the BibTeX keys.
4336 2002-10-11 André Pönitz <poenitz@gmx.net>
4338 * insettext.h: handle LFUN_PRIOR/NEXT
4340 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4342 * insetfloat.C: fix bug with float settings
4343 (document default != float default).
4345 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4347 * insetwrap.C (addToToc): New method.
4348 (InsetWrap): Set layout to caption.
4350 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4354 2002-09-16 John Levon <levon@movementarian.org>
4356 * insettabular.h: hasSelection() needs to be public
4358 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4360 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4362 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4364 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4366 2002-09-11 André Pönitz <poenitz@gmx.net>
4368 * insettabular.C: implement LFUN_WORDSEL
4370 2002-09-10 John Levon <levon@movementarian.org>
4372 * insetinclude.h: remove unused param
4374 2002-09-09 John Levon <levon@movementarian.org>
4377 * insetinclude.C: remove noload, default to input
4379 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4381 * insetgraphics.C: disfuscated use of ']' in built output string.
4383 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4387 2002-08-29 Juergen Vigna <jug@sad.it>
4389 * insettabular.C (lfunMousePress): Pay attention where you set
4390 the x/y values as they depend on which inset in the tabular is
4391 actually locked. So you surely have to reset them if you (un)lock
4394 2002-08-29 André Pönitz <poenitz@gmx.net>
4396 * insetfootlike.h: rename include guard to ALL CAPS
4398 * insettext.C: swap object and first parameter for checkInsetHit calls
4399 as this functions has moved from BufferView to LyXText
4402 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4404 * insetgraphicsParams.C: remove local displayTranslator and use
4405 the one from graphics/GraphicsTypes.h.
4407 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * insetfloat.C (wide): add BufferParams parameter
4411 * insetfloatlist.C (read):
4414 * insetfloat.C (latex):
4416 * insetcaption.C (draw): use LyXTextClass::floats()
4418 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4420 * insetoptarg.h: add std:: qualifier.
4422 2002-08-26 Juergen Vigna <jug@sad.it>
4424 * insettext.C (localDispatch): ditto.
4426 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4428 2002-08-25 John Levon <levon@movementarian.org>
4430 * inseturl.C: elide long URLs (bug 404)
4432 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4434 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4435 remove "Format Version <version_no.>" string from inset header
4438 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4440 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4441 a member of "grfx::Params" anymore.
4443 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4445 2002-08-24 John Levon <levon@movementarian.org>
4448 * insetoptarg.C: ws, pedantry ...
4450 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4452 * insettext.C (collapseParagraphs): pasteParagraph now in global
4454 (appendParagraphs): ditto
4456 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4458 * insetcite.C (latex): Remove spaces only after commmas.
4460 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * insettext.C: remove NO_COMPABILITY stuff
4464 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * insettext.C (edit): use ParagraphList iterators
4468 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4469 (bibitemWidest): ditto
4471 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * insettext.C: include <boost/bind.hpp>
4474 add using std::for_each
4475 (saveLyXTextState): use ParagraphsList::iterator
4476 (init): use for_each on paragraphlist iterators
4477 (InsetText): remove superflous setting cached_bview to 0
4478 (latex): reformat a bit
4479 (ascii): use paragraphlist iterators
4480 (validate): use for_each + boost bind
4481 (getLabelList): use paragraphlist iterators
4482 (deleteLyXText): use for_each + boost::bind
4483 (resizeLyXText): ditto
4484 (reinitLyXText): ditto
4485 (removeNewlines): use paragraphlist iterators
4486 (getParFromID): ditto
4487 (paragraph): use for_each + boost::bind
4488 (getInsetFromID): use paragraphlist iterators
4489 (getLabelList): typo fix
4491 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4493 * insettext.C (read): assign tmp to paragraphs after return from
4494 call to parseSingleLyXformat2Token
4497 2002-08-13 Angus Leeming <leeming@lyx.org>
4515 * inseturl.C: changes due to the changed LyXView interface that
4516 now returns references to member variables not pointers.
4518 2002-08-13 Angus Leeming <leeming@lyx.org>
4521 * insetcollapsable.h:
4524 * insettext.h: forward-declare WordLangTuple
4525 (selectNextWordToSpellcheck) constify return type.
4528 * insetcollapsable.C:
4531 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4533 2002-08-12 Angus Leeming <leeming@lyx.org>
4535 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4538 2002-08-12 Juergen Vigna <jug@sad.it>
4540 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4543 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4546 (bibitemWidest): ditto
4547 * insettext.[Ch]: ditto
4549 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4553 2002-08-09 Angus Leeming <leeming@lyx.org>
4555 * insetinclude.C (latexString): remove fudge now that I've found out
4556 how to enable LaTeX to find the file using input@path.
4558 2002-08-09 John Levon <levon@movementarian.org>
4561 * insettext.C: remove unused xpos
4563 2002-08-07 Juergen Vigna <jug@lyx.org>
4565 * insettabular.C (localDispatch): make delete not put the stuff
4566 in the clipboard only do this on a cut operation.
4568 * insettext.C (localDispatch): make delete and backspace not put
4569 selected stuff to the clipboard.
4571 2002-08-07 André Pönitz <poenitz@gmx.net>
4574 * insetcollapsable.[Ch]:
4578 * insettabular.[Ch]:
4579 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4581 2002-08-06 John Levon <levon@movementarian.org>
4585 * insetcollapsable.h:
4586 * insetcollapsable.C:
4592 * insettext.C: use WordLangTuple for spellcheck
4594 2002-08-06 Angus Leeming <leeming@lyx.org>
4596 * insetinclude.C: add a monitor to the previewed image, so that the
4597 image is refreshed if the \input-ed file changes.
4599 2002-08-04 John Levon <levon@movementarian.org>
4602 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4604 2002-08-02 Angus Leeming <leeming@lyx.org>
4606 * insetcommandparams.[Ch] (preview): new methods returning and setting
4607 a new bool preview_ flag.
4608 (read): read this flag.
4609 (operator==): add flag to check.
4611 * insetinclude.C (write): output new preview() flag.
4612 (previewWanted): use this flag.
4614 2002-08-02 Angus Leeming <leeming@lyx.org>
4616 * insetcollapsable.[Ch] (addPreview):
4617 * insettabular.[Ch] (addPreview):
4618 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4619 for insets in insets.
4621 2002-08-02 Angus Leeming <leeming@lyx.org>
4623 * insetcite.C: fix typo.
4625 * insetgraphics.C: kill current_view and instead cache the BufferView
4628 * insetinclude.C: kill current_view and pass the BufferView to the
4629 PreviewedInset so that it can cache it.
4631 2002-08-01 Angus Leeming <leeming@lyx.org>
4633 * inset.h (generatePreview): renamed as addPreview.
4634 (generatePreview): new method. Allows code to be moved out of
4635 math_nestinset.C and into the new PreviewedInset class.
4637 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4638 add previews to the inset when \input-ing LaTeX.
4640 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * several files: strip,frontStrip -> trim,ltrim,rtrim
4644 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * insetbib.C (latex): modify because of strip changes
4648 * insetnote.C (InsetNote): ditto
4650 2002-07-26 Juergen Vigna <jug@sad.it>
4652 * insettabular.C (searchForward): check for lastcell if we
4653 had a locking inset.
4655 2002-07-25 Juergen Vigna <jug@sad.it>
4657 * insettabular.C (insetMotionNotify): Don't update the screen
4658 if we didn't do nothing.
4659 (searchForward): last cell was not checked.
4661 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4663 * insetfloat.C (read, write): Allow default placement
4664 (floatPlacement_ is empty).
4666 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * insetminipage.h (noFontChange):
4669 * insettabular.h (noFontChange):
4670 * insetfootlike.h (noFontChange):
4671 * insetfloat.h (noFontChange): return true
4673 * inset.h (noFontChange): new method, defaulting to false
4675 2002-07-22 Herbert Voss <voss@lyx.org>
4677 * insetgraphicsParams.[Ch]: support size_type for old docs
4679 2002-07-22 Herbert Voss <voss@lyx.org>
4682 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4685 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4687 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4689 * insetlatexaccent.h: do not include "lyxlex.h"
4691 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4694 * insetlatexaccent.C:
4698 * insetbib.C: #include "lyxlex.h"
4704 * insettext.C: use BufferParams::getLyXTextClass
4707 * insetfloat.C (addToToc): new method. Add to toclist the entries
4708 corresponding to Caption layouts
4709 (InsetFloat): when creating a new float, set the layout to "Caption"
4711 2002-07-21 Herbert Voss <voss@lyx.org>
4713 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4714 image relevant part into graphics/GraphicsImgae.C
4716 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * insettoc.C (ascii):
4719 * insetfloatlist.C (ascii): change to use the new Toc functions
4720 instead of stuff that was in Buffer
4722 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4724 * insettext.C (localDispatch): BufferView::Dispatch has been
4725 renamed to BufferView::dispatch
4727 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4729 * insetgraphicsParams.C (as_grfxParams): use the new
4730 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4731 1.2.0 patch, and I do not really know how to adapt it to the new
4732 grfx::Cache world. Angus, please could you have a look?
4734 2002-05-01 Herbert Voss <voss@lyx.org>
4736 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4738 2002-07-18 Angus Leeming <leeming@lyx.org>
4740 * insetgraphics.C: clean-up comments (from Herbert).
4741 add a new checksum variable to the cache. Use it in PrepareFile.
4742 (draw): start monitoring the file for a change.
4743 (prepareFile): re-arrange a little to avoid unnecessary steps.
4745 2002-07-17 Angus Leeming <leeming@lyx.org>
4747 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4748 a method rather than to the signal directly.
4750 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4752 * insettext.C: use view_state_changed, switchKeyMap
4754 2002-07-17 Herbert Voss <voss@perce.de>
4756 * insetgraphics.C (prepareFile): keep the extension when
4757 exporting to nice file
4759 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4761 * insetcite.C (getNatbibLabel):
4762 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4764 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4766 * insetgraphics.C: use ->isDrawable()
4768 2002-07-12 Angus Leeming <leeming@lyx.org>
4770 * insetgraphics.C: use the new smart loading capabilities of the image
4773 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4775 * insettabular.C (edit): Move into correct cell when entering a
4778 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4781 2002-07-05 Angus Leeming <leeming@lyx.org>
4783 * inset.h (generatePreview): new virtual method.
4785 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4787 * insetcommandparams.[Ch] (operator=): move out of class
4788 (operator!): move out of class
4790 2002-07-04 André Pönitz <poenitz@gmx.net>
4792 * insetcommandparams.[Ch]: new files
4794 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4796 2002-06-15 Herbert Voss <voss@perce.de>
4798 * insetgraphics.C (prepareFile): bugfix; return always
4799 files without extension
4801 2002-06-28 Angus Leeming <leeming@lyx.org>
4803 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4804 rename asGParams -> as_grfxParams.
4806 * insetgraphics.C: reflect above change.
4808 2002-06-26 Angus Leeming <leeming@lyx.org>
4810 * insetgraphics.h: use boost::scoped_ptr in preference to
4813 2002-06-26 Angus Leeming <leeming@lyx.org>
4815 * insetgraphics.C: moved the image loading stuff into a new class
4816 grfx::Loader. Simplifies this file enormously.
4818 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4820 * insetgraphicsParams.C: changes aassociated with moving
4821 grfx::DisplayType out of grfx::GParams.
4823 2002-06-26 André Pönitz <poenitz@gmx.net>
4825 * insetgraphics.C: use os::external_path where necesaary according to a
4826 patch from Claus Hentschel)
4828 2002-06-25 Angus Leeming <leeming@lyx.org>
4830 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4831 generating a pixmap once the graphics file is loaded into memory.
4832 The current_view ugliness that was in grfx::ModifiedImage has been
4833 moved here now that grfx::ModifiedImage is no more.
4835 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4837 * insettext.C: layout as layout
4839 2002-05-28 André Pönitz <poenitz@gmx.net>
4841 * insetfloatlist.h: remove source of compiler warning
4843 * insetref.C: tiny whitespace
4845 2002-06-15 Herbert Voss <voss@perce.de>
4847 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4848 and take always convert when no userdefined converter was
4850 (latex) small changes in the lyxerr output
4852 2002-06-15 LyX Development team <lyx@rilke>
4854 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4855 mixed content. Small white spaces clean.
4857 2002-06-14 Angus Leeming <leeming@lyx.org>
4859 * inseetexternal.C: remove the using std::difftime declaration.
4861 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4863 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4865 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4867 * insetquotes.C (draw): fix drawing of double quotes
4869 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4871 * insettabular.C: s/scrollCB/scrollDocView/
4873 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4875 * insettext.C: change of topCursorVisible()
4878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4881 * insettext.C: rename/change of LyXScreen
4883 2002-06-07 Angus Leeming <leeming@lyx.org>
4885 Fixes needed to compile with Compaq cxx 6.5.
4887 * insetexternal.C: all c-library variables have been moved into
4888 namespace std. Wrap using std::xyz declarations inside a #ifndef
4889 CXX_GLOBAL_CSTD block.
4891 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * insetinclude.C (uniqueID):
4894 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4895 conflicted with some AIX headers.
4897 2002-05-31 Juergen Vigna <jug@sad.it>
4899 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4903 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4905 * insetexternal.C (clone): fix () bug when using new
4906 (updateExternal): don't only look for difftime in global scope
4908 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4910 * insettabular.C: add const
4912 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4914 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4915 file name, in case there are weird characters like ',' in there.
4918 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4920 * switch from SigC signals to boost::signals.
4922 2002-05-28 André Pönitz <poenitz@gmx.net>
4924 * insets/insetgraphicsParams.[Ch]:
4925 put in inset related stuff from src/graphic
4927 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4935 * insetcollapsable.C:
4936 * insetcollapsable.h:
4964 * inseturl.h: use mouse_state. Kill insetKeyPress
4966 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4971 * insetcollapsable.C:
4974 * insetlatexaccent.C:
4976 * insetspecialchar.C:
4978 * insettext.C: name change for font metrics
4980 2002-05-24 Juergen Vigna <jug@sad.it>
4982 * insetgraphics.h: include inset.h first (for LString.h)
4984 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4986 * insettext.C: screen moved
4988 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5006 * inseturl.C: LyXView moved into frontends/
5008 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5013 * insetcollapsable.C:
5017 * insetgraphicsParams.C:
5018 * insetlatexaccent.C:
5020 * insetspecialchar.C:
5022 * insettext.C: move Painter to frontends/
5024 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5026 * insettabular.h: use more specific smart_ptr header.
5027 * insettext.h: ditto
5029 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
5032 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5034 * insettext.C: clear selection on paste (bug 393)
5036 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5038 * insettext.C (latex): Honor the moving_arg argument.
5040 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * insetfoot.C (latex): if a footnote is in a title layout, then it
5043 is a \thanks. And then, its contents is a moving argument.
5045 2002-05-14 Juergen Vigna <jug@sad.it>
5047 * insetcollapsable.C (InsetCollapsable): forgot to initialize
5050 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
5052 * Insetcite.C (getNatbibLabel): don't disable natbib label support
5053 when using options "Full author list" or "Upper case".
5055 2002-05-14 Herbert Voss <voss@perce.de>
5057 * insetgraphics.C (prepareFile): allow files with same name
5059 (readFigInset): set the flags from old figinset in the right
5061 (findTargetFormat): more comments
5063 2002-05-14 Juergen Vigna <jug@sad.it>
5065 * insettext.C (edit): tell checkAndActivateInset() that we don't
5066 have a button press.
5067 (checkAndActivateInset): if button < 0 we don't have a button press
5068 on the inset and os we won't call edit on it if it's not a Highly
5069 editable inset (then we have to enter it).
5071 2002-05-13 Juergen Vigna <jug@sad.it>
5073 * insetcollapsable.C (insetButtonRelease): returned wrong return
5076 2002-05-09 Juergen Vigna <jug@sad.it>
5078 * insetcollapsable.C (edit): first_after_edit should only be
5079 set to true if we enter this inset and it was collapsed so we
5080 open it up. This is needed to reclose it after a search/replace
5081 or spellcheck function opened it and was negative.
5083 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5085 * insetfloat.C (latex): Return correct value.
5087 2002-05-04 Herbert Voss <voss@perce.de>
5089 * InsetgraphicsParams.C (read): fix bug with WH
5091 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5093 * insetfloat.C (latex): More sensible latex output
5094 (fix the problem with endfloat).
5096 2002-05-02 José Matos <jamatos@fep.up.pt>
5098 * insetgraphics.C (validate): acess params as everyone else.
5100 2002-05-03 Juergen Vigna <jug@sad.it>
5102 * insettabular.C (fitInsetCursor): recalculate the cursor position
5105 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5107 * InsetgraphicsParams.[Ch]: whitespace.
5109 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5111 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5112 float type do not exist.
5114 2002-04-28 Herbert Voss <voss@perce.de>
5116 * insetgraphics.C (latex): fix bug with missing file-extension.
5117 LaTeX still allows a missing "eps" or "ps".
5119 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5121 * insetfloat.C (c-tor, wide): translate the name of the float.
5123 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5125 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5126 when using natbib and make it work efficiently. Must emphasise that the
5127 real work is Herbert's.
5129 2002-04-23 Herbert Voss <voss@perce.de>
5131 * insetgraphic.C (prepareFile): fix bug with overwriting and
5132 deleting an existing *.eps-file in the doc-dir
5134 2002-04-23 Juergen Vigna <jug@sad.it>
5136 * insettabular.C (drawCellSelection): fix off by 1 error.
5138 2002-04-22 Juergen Vigna <jug@sad.it>
5140 * insettabular.C (setFont): rewoke full selection if it was asked,
5141 after we changed all we had to change.
5143 * insettext.C (insetUnlock): code was uninitialized in some situations.
5145 2002-04-19 Herbert Voss <voss@perce.de>
5147 * insetgraphic.C (prepareFile): return filename without
5148 extension if we only export without compiling
5150 2002-04-19 Juergen Vigna <jug@sad.it>
5152 * insettext.C (draw): call a fullRebreak on the row where we had a
5153 change and reset the cursor and selection-cursors.
5155 * insettabular.C (insetUnlock):
5156 (insetButtonPress): call an update before setting the_locking_inset = 0
5157 as otherwise we don't repaint!
5158 (update): reset the cursor position when we changed dimensions as
5159 otherwise our cursor may be on the wrong spot.
5161 2002-04-18 Juergen Vigna <jug@sad.it>
5163 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5164 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5165 redraw otherwise we won't redraw.
5167 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5168 not really right before, but I only discovered this with the last
5169 changes to Page up/down.
5171 2002-04-17 Juergen Vigna <jug@sad.it>
5173 * insettext.C (checkAndActivateInset): simplified as we now have the
5174 edit(bv, bool) call.
5176 * insettext.h: changed behind variables to front variables to be
5177 equal to the one in the edit call (as it is for that they are used).
5179 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5181 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5182 not output anything at all!
5184 2002-04-16 Juergen Vigna <jug@sad.it>
5186 * insettabular.C (insetButtonPress):
5187 (insetUnlock): call a redraw on unlocking the cell inset.
5189 * insettext.C (insetButtonPress): same as below.
5190 (lockInset): new function to set initial values when inset should
5192 (insetButtonPress): use above function.
5193 (insetUnlock): don't force a repaint only set the updateStatus. The
5194 outside world should repaint if it thinks it should be done!
5196 * insettabular.C (insetButtonPress): init values if not set as locked
5197 as we are locked if someone presses on us and don't call the edit()
5198 call of the InsetText to lock it do it as BufferView does it!
5200 * inset.h (insetInInsetY): make func const and return an int.
5203 * insetcollapsable.C: adapt the above changed function.
5205 2002-04-15 Juergen Vigna <jug@sad.it>
5207 * insettext.C (getCursorPos): return relative position as to be able
5208 to give them directly to the edit() call.
5209 (edit): we have to set also x_fix as it is not set inside the
5210 setCursorFromCoordinates call!
5211 (insetMotionNotify): ditto.
5213 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5215 * insetbib.C (getKeys): strip leading '\t's from the line too.
5216 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5218 2002-04-12 Juergen Vigna <jug@sad.it>
5220 * insettext.h: added cix() helper function and use it where appropriate
5222 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5224 * insetgraphics.C (prepareFile): fix bug when graphics is a
5227 2002-04-12 Juergen Vigna <jug@sad.it>
5229 * insettext.C (insertInset): remove unneeded code!
5230 (updateLocal): fitCursor() fixes.
5231 (collapseParagraphs): fix a possible problem when having a selection
5232 and collapsing the paragraphs.
5234 2002-04-08 Herbert Voss <voss@perce.de>
5236 * insetgraphic.C (write): write the rotating angle as
5237 a float as is. test only for != 0.0
5239 2002-04-11 Juergen Vigna <jug@sad.it>
5241 * insettext.C: new function ciy() and use it for setting inset_y.
5243 * insetert.C (draw): fix the x return for collapsed version.
5245 2002-04-07 Herbert Voss <voss@perce.de>
5247 * insetgraphic.C (readFigInset): fix bug with subcaption and
5250 2002-04-08 Herbert Voss <voss@lyx.org>
5252 * insetgraphicsparam.C: forgot special option and delete old
5255 2002-04-05 Juergen Vigna <jug@sad.it>
5257 * insettext.C (localDispatch): make a CURSOR update if we inserted
5260 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5262 * insetfloatlist.C (getScreenLabel):
5263 (latex): use Floating::listName
5264 (validate): new method
5266 2002-04-03 José Matos <jamatos@fep.up.pt>
5268 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5270 * insetfoot.[Ch] (docbook): added forgotten method.
5272 2002-04-03 Juergen Vigna <jug@sad.it>
5274 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5275 way as in Bufferview_pimpl.
5277 2002-04-03 Allan Rae <rae@lyx.org>
5279 * insetgraphics.C (latex): one % too many makes living on the bleeding
5280 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5282 2002-03-28 Herbert Voss <voss@lyx.org>
5284 * insetgraphic.C (latex): simplify the code for the latex
5285 output when the file doesn't exist
5287 2002-03-29 Juergen Vigna <jug@sad.it>
5289 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5292 * insettabular.C (edit): call fitCursor().
5294 * insettext.C (insetButtonPress): change behaviour of no_selection
5295 to the one in the BufferView selection_possible and fix the spurious
5296 selection bug with it.
5297 (localDispatch): revoke selection on BREAK... functions.
5299 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5303 2002-03-28 Juergen Vigna <jug@sad.it>
5305 * insettabular.C (insetAllowed): return true as default value otherwise
5306 we're not able to insert insets inside paragraphs of an not locked
5309 2002-03-27 Herbert Voss <voss@lyx.org>
5311 * insetgraphicsparam.C: change c%, p% to col%, page%
5313 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5315 * insetspecialchar.C (isLineSeparator): disable the nice code to
5316 allow linebreaks after hyphenation and menu separators.
5318 2002-03-26 Herbert Voss <voss@lyx.org>
5320 * insetgraphics.C (figinsetRead): set the right lyxview
5322 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5324 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5325 $\backslash$ and pass a "string const &" to the function.
5326 (prepareFile, latex): use Path rather than MakeAbsPath.
5328 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5330 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5331 proper fix to the graphics cache.
5332 (latex): "really" nice output if the file is not found ;-)
5334 2002-03-26 Juergen Vigna <jug@sad.it>
5336 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5337 (collapseParagraphs): fixed inserting of separator ' '
5339 * insettabular.C (insertAsciiString): only check for buffer lenght
5340 not if we have \t or \n inside the buffer as if we don't have we only
5341 have 1 cell and that's it!
5343 * insetert.C (close): don't collapse if inlined.
5345 2002-03-25 Herbert Voss <voss@lyx.org>
5347 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5348 graphics file does not exist.
5350 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5352 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5353 path when preparing export.
5355 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5356 no longer MakeRelPath.
5358 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5360 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5361 Used to determine the absolute path to the graphics file in the
5362 graphics cache and only in the graphics cache.
5363 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5364 make graphics file name absolute if it is stored as a relative path.
5366 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5367 make graphics file name absolute if it is stored as a relative path.
5369 * insettext.C (edit): emit an updateParagraph signal on entering a text
5370 inset. Needs to be emitted when leaving the inset also.
5372 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5374 * all files: ws cleanup
5376 * Makefile.am: remove ld -r stuff
5378 2002-03-21 Juergen Vigna <jug@sad.it>
5380 * insettext.C (appendParagraphs): new function added to append
5381 the paragraphs to this insets paragraphs.
5383 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5385 * Makefile.am: special rules if partial linking
5387 2002-03-19 Juergen Vigna <jug@sad.it>
5389 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5391 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5393 * insetgraphics.C: Clean up Baruch's comments a little.
5394 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5396 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5399 * insettheorem.C: wrap warnings
5401 * insetgraphics.C: improve messages, move cached_status_
5402 setting to safer place
5404 2002-03-18 Juergen Vigna <jug@sad.it>
5406 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5408 (localDispatch): ditto
5410 * insettext.C (edit): removed unneeded showCursor calls.
5411 (localDispatch): ditto.
5413 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5415 * insetgraphics.h: remove display() method.
5417 2002-03-11 Juergen Vigna <jug@sad.it>
5419 * insetgraphics.C (draw): hack to fix the redrawing bug.
5420 (draw): seems this fixes #268 (force redraw of row if we changed).
5422 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5423 this inset text (don't know why I missed this earlier).
5425 2002-03-08 Juergen Vigna <jug@sad.it>
5427 * insettabular.C (updateLocal): do a FULL update if we're not locked
5428 and only a CELL update is asked.
5430 * insettext.C (updateInsetInInset): update insets inside inset also
5431 if it isn't inside the_locking_inset.
5433 * insettabular.C (updateInsetInInset): ditto.
5435 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5437 * insetexternal.C (doSubstitution): check whether we are using a
5438 temp dir for defining $$FPath
5440 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5443 * insettext.C: remove #include "WorkArea.h".
5445 2002-03-06 Juergen Vigna <jug@sad.it>
5447 * insettext.C (draw): fixed frame redrawing.
5448 (clear): forgot to set the inset_owner of the paragraph.
5450 * insetert.C (status): pay attention the bv can be 0 here!
5451 (getMaxWidth): add the default leftMargin
5453 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5455 * insetert.C (getMaxWidth): make w unsigned int.
5457 2002-03-05 Juergen Vigna <jug@sad.it>
5459 * insetert.C (status): change behaviour of Inlined.
5460 (getMaxWidth): added for new inlined behaviour.
5462 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5464 * insetnote.h (linuxdoc, docbook): add empty methods.
5465 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5466 before being initialized.
5468 2002-03-05 Juergen Vigna <jug@sad.it>
5470 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5471 only that one in the inset. Should be enough.
5472 (updateLocal): set the selection cursor always if we don't have a
5473 selection to be sure it's set!
5475 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5477 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5479 * insettext.C (clear): a gross hack to set layout on a newly
5482 2002-03-04 Juergen Vigna <jug@sad.it>
5484 * insettabular.C (localDispatch): inserted handling of
5485 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5486 (insertAsciiString): new helper function.
5488 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5490 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5493 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5495 * insettext.C (InsetText): initalize newly created par with
5496 default layout. add bufferparams parameter
5499 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5500 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5501 * insetert.[Ch] (InsetERT): ditto
5502 * insetfloat.[Ch] (InsetFloat): ditto
5503 * insetfoot.[Ch] (InsetFoot): ditto
5504 * insetfootlike.[Ch] (InsetFootLike): ditto
5505 * insetmarginal.[Ch] (InsetMarginal): ditto
5506 * insetminipage.[Ch] (InsetMinipage): ditto
5507 * insetnote.[Ch] (InsetNote): ditto
5508 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5510 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5512 * insettext.C: layout as string
5514 * insetinclude.C: layout as string
5516 * insetert.C: layout as string
5518 * insetbib.C: layout as string
5520 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5523 * insettabular.C: remove #include "lyx_gui_misc.h".
5525 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5530 * inset.h: remove figinset, yahoo !
5532 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5534 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5535 copy c-tor and initialise member variables in the correct order.
5537 2002-02-28 Juergen Vigna <jug@sad.it>
5539 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5541 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5543 * inset.h: ... and add a better one here.
5545 * insetcommand.C (insetButtonRelease): remove that one which was a
5548 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5550 * insetcommand.C (insetButtonRelease): ... and move it here.
5552 * inseturl.h: remove insetButtonRelease from there...
5554 2002-02-26 Juergen Vigna <jug@sad.it>
5556 * inseturl.h: Added a insetButtonRelease call returning true as
5559 * insetlabel.C (edit): Fixed wrong update handling after change I
5560 leave in the wrong code for the one who wrote it to remove and have
5561 a look what he did wrong.
5563 * insettabular.C (localDispatch): force a SELECTION update if we
5564 had a selection and we passed the event down to the inset (fix #213)
5565 (localDispatch): handle font changing stuff when we have a cell
5566 selection so that the selection is not rewoked. I don't really like
5567 this fix, but it's the only way I see to do it right now.
5569 2002-02-22 Juergen Vigna <jug@sad.it>
5571 * insettext.C (insetUnlock): set the cursor to the second paragraph
5572 if available and if the first one is empty (fix #191).
5574 2002-02-20 Juergen Vigna <jug@sad.it>
5576 * insettext.C (getDrawFont): implemented this function to call the
5577 one of the owner if present as the owner normally knows what to do
5580 * insetert.C: implement getDrawFont() function and comment out all
5581 the crap for setting a special latex font inside this inset.
5582 (InsetERT): added a Lanugage parameter to this constructor.
5584 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5585 change the font for being drawn on screen (used only in InsetERT for
5588 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5589 and also above (was missing).
5590 (updateLocal): don't remove the cell selection if we have one this
5591 should be done where we really want to remove it.
5593 2002-02-20 José Matos <jamatos@fep.up.pt>
5595 * insetinclude.h: include_label made string const.
5597 * insetinclude.C (InsetInclude): moved include_label initialization.
5600 (validate): fix support for temporary directory, for docbook and
5603 * insetgraphics.h : new private member, graphic_label, that holds
5604 the entity name that defines the graphics location (SGML).
5606 * insetgraphics.C (unique_id): new function to give a unique label
5609 (validate): the file locatation is given by an entity reference.
5611 2002-02-18 Herbert Voss <voss@lyx.org>
5613 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5615 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5617 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5618 as support/systemcall.[Ch] and of class Systemcalls as class
5621 2002-02-18 José Matos <jamatos@fep.up.pt>
5623 * insetinclude.C (validate): some code only applies to latex buffers,
5624 it was made conditional.
5626 2002-02-12 Herbert Voss <voss@lyx.org>
5628 * insetgraphics.C: (prepareFile) do not check at this time
5629 if the file is present.
5631 2002-02-12 Herbert Voss <voss@lyx.org>
5633 * insetgraphics.C: latex(), return the correct newlines
5635 2002-02-13 José Matos <jamatos@fep.up.pt>
5637 * inseturl.C (docbook): escape & in url.
5639 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5642 after HYPHENATION and MENU_SEPARATOR
5644 * inset.h (isLineSeparator): new method, returns false by default.
5646 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5648 * insetert.C (status): do not update the text inset, but the ERT
5651 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5653 * insetnote.C: use notebg for background
5655 2002-02-08 Herbert Voss <voss@lyx.org>
5658 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5659 prevent LyX from unzipping when this should be handled
5660 by latex vis the graphic.cfg.
5663 2002-02-08 Herbert Voss <voss@lyx.org>
5665 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5666 exists, than return filename with extension
5668 2002-02-06 Herbert Voss <voss@lyx.org>
5670 * insetgraphic.C: prepareFile(): don't convert the file, when
5671 it's not viewed in LyX. Saves a lot of time when opening a
5674 2002-02-05 Herbert Voss <voss@lyx.org>
5677 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5678 and adding a rotate bool similiar to subcaption
5680 2002-02-04 Herbert Voss <voss@lyx.org>
5683 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5684 similiar view to the LaTeX one. Get zipped files work.
5686 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5688 * insetgraphicsParams.C (init): set display to DEFAULT.
5689 No longer #include "lyxrc.h".
5691 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5693 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5694 for now (so that the code compiles).
5696 2002-02-02 Herbert Voss <voss@lyx.org>
5698 * insetgraphic.C: delete inVariant() and some minor changes
5699 * insetgraphicsParams.[C]:
5701 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5703 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5704 interogate lyxrc.display_graphics before diaplaying the graphic.
5706 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5707 InsetGraphicsParams::DisplayType.
5709 2002-01-31 Herbert Voss <voss@lyx.org>
5711 * insetgraphic.C: (readfigInset) set display to pref-default
5713 2002-01-30 Herbert Voss <voss@lyx.org>
5715 * insetgraphic.C: get the filetyp from it's contents
5716 * insetgraphicparams.C: add token scale and lyxrc.display when
5717 creating a new inset
5719 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5721 * figinset.C: added using std::ios directive.
5723 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5725 * figinset.C (runqueue): open translation file in binary mode (for
5728 2002-01-27 Herbert Voss <voss@lyx.org>
5730 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5731 all options and to be sure that the old figinsets are correct
5733 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5734 structure and to support all lengths as LyXLength. The Parameter
5735 structure changed again, but reading of "old" 1.2 graphic insets
5738 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5740 * insetert.h (forceDefaultParagraphs): Added
5742 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5744 * insettabular.C (getMaxWidth):
5745 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5747 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5749 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5750 of LyXLength::inPixels
5752 * inset.C (latexTextWidth):
5753 * insetminipage.C (latexTextWidth): new method, which implements
5754 the equivalent of the LaTeX macro \textwidth
5756 * insetminipage.C (getMaxWidth): use latexTextWidth
5758 2002-01-18 Juergen Vigna <jug@sad.it>
5760 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5762 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5766 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5769 2002-01-17 Juergen Vigna <jug@sad.it>
5771 * insettabular.C (lockInsetInInset): same change as in insettext.
5773 * insettext.C (draw): width() function was called without setting
5774 the right top_x which could lead to wrong insetWidth setting!
5775 (lockInsetInInset): call edit instead of calling lockInset if we
5776 have to lock an inset inside!
5777 (edit): we have to also tell the inset that we have to redraw the
5778 frame on an edit call if this inset draws a frame only if locked.
5780 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5782 * insetbib.C (getFiles): uncomment Path variable.
5784 2002-01-16 Juergen Vigna <jug@sad.it>
5786 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5789 2002-01-16 Allan Rae <rae@lyx.org>
5791 * insetinclude.C (docbook): someone forgot a ";"
5793 2002-01-16 José Matos <jamatos@fep.up.pt>
5795 * figinset.C (docbook): removed a old place holder "@".
5796 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5797 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5798 ascii text version, clearly guarded inside a CDATA section.
5799 (docbook): in docbook 4, inlinegraphics is empty.
5800 * insettabular.C (linuxdoc): export the ascii version of the table
5801 inside a CDATA section.
5803 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5805 * insetparent.C (InsetParent):
5806 * insetgraphicsParams.C (Write):
5808 * insetgraphics.C (prepareFile):
5811 * insetexternal.C (executeCommand):
5812 (doSubstitution): use Buffer::filePath
5814 * insetbib.C (getFiles): add a #warning for Angus
5816 * insetgraphics.C: Add a remark about how filenames should be
5817 considered to be relative to buffer (but absolute is still allowed)
5818 (draw): do not try to get status if lyxrc.use_gui is false
5820 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5823 * insetcollapsable.[Ch]:
5824 * insettabular.[Ch] (searchForward, searchBackward): change the
5825 bool const & params to bool.
5827 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5828 to avoid the name clash with InsetCollapsable's methods of the same
5829 names but different functionality.
5831 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5833 * insettext.C (ascii): use lyx::count rather than countChar.
5835 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5837 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5839 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * insetgraphics.C (updateInset): do not try to render image if
5842 lyxrc.use_gui is false (bug #104)
5844 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5845 if file does not exist
5847 * figinset.C (browseFile): add shortcuts to directory buttons
5849 * insettext.C (updateLocal): update menubar and toolbar here too.
5851 2002-01-13 Allan Rae <rae@lyx.org>
5853 * insettabular.C (InsetTabular): Both constructors now initialise
5854 all class variables.
5856 2002-01-11 Juergen Vigna <jug@sad.it>
5858 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5860 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5862 * insettabular.C (getStatus): add forgotten brace around multiline
5865 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5867 * insetfloat.C (validate): require "float" instead of "floats".
5869 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5871 * insettabular.C (getStatus): use FuncStatus
5873 2002-01-08 Juergen Vigna <jug@sad.it>
5875 * insettabular.C (insetButtonRelease): now this should work too
5878 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5879 if the width is a percentage.
5881 * inset.h: added isChar() function and implemented this for
5882 insetspecialchar insetquotes and insetlatexaccent.
5883 added forceDefaultParagraphs() and implemented it for insettabular.
5885 2002-01-07 Juergen Vigna <jug@sad.it>
5887 * insettext.C (getLyXText): Fixed this function. An insert into the
5888 map is only done if we REALLY have a new BufferView.
5890 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5892 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5894 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5896 * insetinclude.C: fix use of FileInfo
5898 2002-01-07 Juergen Vigna <jug@sad.it>
5900 * insettabular.C (draw): fixed clearing of cell around inset.
5902 2002-01-05 Juergen Vigna <jug@sad.it>
5904 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5905 variables are updated.
5907 * insettabular.C (resetPos): set always the inset_y as it may be
5908 needed in another function.
5909 (searchBackward): don't draw while searching.
5911 2002-01-04 Juergen Vigna <jug@sad.it>
5913 * insettext.C (lockInsetInInset): forgot to set a cursor.
5915 2002-01-02 Juergen Vigna <jug@sad.it>
5917 * insettext.C (insertInset): make the correct undo informations on
5918 inserting new insets.
5920 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5922 * insettabular.C: correct single-cell select vertically
5924 2001-12-27 Juergen Vigna <jug@sad.it>
5926 * insettabular.C (ascii): export as tab-separated-values if the
5927 function was not called from export (f.ex.: clipboard).
5929 * insetcollapsable.h: added default support for ascii, linuxdoc and
5930 docbook export (the insettext is exported by default!)
5932 * insettabular.C (copySelection): suff the clipboard with the tabular
5933 data in a tab separated format, seems more naturals then with all the
5936 2001-12-24 Juergen Vigna <jug@sad.it>
5938 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5939 to check for REAL mouseMotion.
5941 2001-12-20 Juergen Vigna <jug@sad.it>
5943 * inset.C (cursor): return the owners cursor if available instead of
5944 always only the bv->text->cursor.
5946 * insettabular.C (checkLongtableSpecial): works now.
5948 2001-12-19 Juergen Vigna <jug@sad.it>
5950 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5951 this has to be always row + 1 as 0 means not selected!
5952 (checkLongtableSpecial): added
5953 (tabularFeatures): better longtable options support
5955 * insettext.C (resizeLyXText): reinit the text always also on a
5958 2001-12-18 Juergen Vigna <jug@sad.it>
5960 * insettext.C (updateInsetInInset): look if we have to autocollapse
5961 paragraps and return if the update is requested for ourself.
5963 * insetert.C (status): update the insettext not myself as that is what
5966 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5967 function only return if the update was requested with myself.
5969 * insettext.C (insetButtonPress): fixed stupid bug.
5970 (various functions): pay attention that lt is cleared BEFORE calling
5971 updateLocal() and try to use it in the right manner (don't use it
5972 if it's not really neccessary!)
5973 (collapseParagraphs): insert a blank between collapsing paragraphs
5974 if neccessary (not already there!).
5976 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5978 * insettabular.C: move includes around a bit, add a couple of
5981 * insettext.[Ch]: move includes around a bit, other ws changes and
5984 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * insettext.C (insetButtonRelease): fix compile problem
5988 2001-12-17 Juergen Vigna <jug@sad.it>
5990 * insettext.C (insetButtonPress): set the selection cursor!
5991 (insetButtonPress): clear the selection (and set with that the
5992 selection.cursor) if we only hit an inset!
5994 * insetert.C (read): removed piece of compatibility code only needed
5997 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
6000 * insetcollapsable.C (insetButtonRelease): changed so that it can
6001 open eventual existing popup dialogs on mousebutton==3.
6003 * insetfloat.C (insetButtonRelease): removed not needed anymore!
6005 * insetminipage.C (insetButtonRelease): removed not needed anymore!
6007 * inset.C (insetButtonRelease): return a bool for telling the outer
6008 world that we opened a dialog.
6010 2001-12-07 Juergen Vigna <jug@sad.it>
6012 * insettext.C (paragraph): remove the deleteing of paragraphs as
6013 it was a WRONG move!
6015 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6018 * insettabular.C: use new setSelection(). Allow
6019 selection of single cells.
6021 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6023 * insetquotes.C (latex): fix to use the local language setting at
6024 the point where the inset is inserted (different macros for
6025 different french packages)
6027 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6029 * inset.h: add par_owner_ member variable and parOwner
6032 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6034 * insettabular.C (everywhere): adapt because widths are now real
6035 widths and not strings
6037 * insettext.C (draw): re-introduce the calls to width(), ascent()
6038 and descent() to initialize the caching variables.
6040 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6042 * insettext.C (draw):
6043 (drawFrame): use insetWidth instead of last_width
6045 * insettext.h: remove variable last_width (insetWidth is exactly
6046 the same) and last_height (computed but never used!)
6048 2001-12-10 Allan Rae <rae@lyx.org>
6050 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
6052 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6054 * insettext.C (insetAllowed): add comment
6056 2001-12-05 Juergen Vigna <jug@sad.it>
6058 * insettext.C (insetAllowed): fixed for the case that we directly
6059 ask the insettext from its LyXText.
6060 (paragraph): fixed the crash when assigning the par->next() from
6061 the EmptyParagraphMechanism!
6063 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6067 * insettext.C: change "while(" to "while ("
6069 2001-12-04 Juergen Vigna <jug@sad.it>
6071 * insetert.C (edit): handle Inlined status.
6073 * insettext.C (insertInset): trying John's fix for the trailing cursor
6075 * insetert.C (insetButtonPress): added to handle inlined status
6076 (insetMotionNotify): ditto.
6078 * insettext.C (clearInset): changed Painter & in BufferView * param,
6079 to be able to call ascent,descent methods.
6081 2001-12-03 Juergen Vigna <jug@sad.it>
6083 * insettext.C (updateInsetInInset): use lt variable to forbid
6084 changes of LyXText in an update call.
6085 (updateInsetInInset): fixed updating of non locked insets!
6087 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6089 * insettabular.C: capture some more functions to prevent
6090 selection drawing problems. Bug #451274
6092 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6095 * insetgraphicsParams.C: fix inverted sense of float_equal
6097 2001-11-30 Juergen Vigna <jug@sad.it>
6099 * insettabular.C (InsetTabular): use the save_id flag to create also
6100 the tabular with the same id's.
6102 * insettext.C (setParagraphData): added a same_id function for undo
6103 to set the same paragraph id's as of the paragraph we are setting.
6105 2001-11-30 José Matos <jamatos@fep.up.pt>
6108 * insettoc.[Ch]: DocBook -> docbook.
6110 2001-11-29 André Pönitz <poenitz@gmx.net>
6113 * insettext.C: further reduction of header dependencies by using
6114 lyx::layout_type and lyx::textclass_type from support/types.h
6116 2001-11-29 Juergen Vigna <jug@sad.it>
6118 * insettext.C: inserted a reinitLyXText function everywhere I delete
6119 the paragraphs! This should fixe the crashes we had.
6120 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6121 (paragraph): set the InsetOwner() of the new paragraphs!
6123 2001-11-28 André Pönitz <poenitz@gmx.net>
6125 * insetnote.C: add pos initialization that I removed without
6128 2001-11-28 Juergen Vigna <jug@sad.it>
6130 * insettabular.C (resetPos): hack to not crash with infinite paints.
6132 * insettabular.h: insert missing function allowSpellcheck()!
6134 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6136 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6139 * insetfloatlist.C: derive from InsetCommand so gui can use it
6142 2001-11-26 André Pönitz <poenitz@gmx.net>
6146 * insetnote.C: reduce header dependencies, introduce type for
6149 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6151 * various: update for Alert.h
6153 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6155 * inset.h: fix comment
6157 * insettext.C: use par->isInset()
6159 2001-11-22 Allan Rae <rae@lyx.org>
6161 * insetcollapsable.h:
6162 * inset.h: Changes to checkInsertChar() behaviour.
6163 Now return value indicates whether chars can be inserted.
6165 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6167 * various: updated to use the new LaTeXFeatures
6169 2001-11-14 José Matos <jamatos@fep.up.pt>
6171 * insetspecialchar.C (linuxdoc):
6172 (docbook): don't give a name to a unused variable.
6174 * insettext.C (docbook): removed unused variable.
6176 2001-11-13 Herbert Voss <voss@perce.de>
6178 * insetgraphic.C: fix scale bug
6180 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6182 * inset.h (isSpace):
6183 (isLetter): new virtual methods.
6185 * insetspecialchar.C (isSpace):
6186 (isLetter): implement here.
6188 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6190 * inset.h: new inline helpers
6192 * insettext.C: use new helpers
6194 2001-11-07 José Matos <jamatos@fep.up.pt>
6196 * insettext.C (docbook): full support for paragraphs inside insettext.
6198 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6200 * insetindex.C: added header file for std::ostream.
6202 2001-11-03 José Matos <jamatos@fep.up.pt>
6204 * insetindex.C: added using std::ostream that I forgot yesterday.
6206 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6208 * insetindex.h (docbook):
6209 * insetindex.C (docbook): added support for docbook export.
6211 2001-11-02 José Matos <jamatos@fep.up.pt>
6213 * insetcaption.C(docbook): added support for docbook export.
6215 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6217 * insetexternal.C (updateExternal): Do not run update command if
6218 result file exists and is up to date.
6220 * ExternalTemplate.C (readFormat): Support the updateresult token.
6222 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6224 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6225 external_templates) to use the buffer->fileName() but only if
6226 previewing. Generating a TeX file should make FPath return
6229 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6232 * insetert.C: fix some problems
6234 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6236 * insetexternal.C (doSubstitution): Added $$FPath token
6237 to list of usable substitutions in external inset templates.
6239 2001-10-24 Juergen Vigna <jug@sad.it>
6241 * insettabular.C: use new ltType struct for setting longtable
6242 header and footers also new UNSET enums.
6244 2001-10-24 José Matos <jamatos@fep.up.pt>
6246 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6247 (docbook): If the table is not inside a float then wrap it inside
6248 <informaltable>...</informaltable>.
6250 2001-10-23 José Matos <jamatos@fep.up.pt>
6252 * insetref.C (docbook): removed / terminator to conform SGML.
6254 * insetspecialchar.C (linuxdoc):
6255 (docbook): Added support for special chars, more than ascii export.
6257 2001-10-22 Juergen Vigna <jug@sad.it>
6259 * insettext.C (checkInsertChar): added for REALLY checking the
6260 font of the inserted char in the right inset!
6262 2001-10-19 Juergen Vigna <jug@sad.it>
6264 * inset.h: added method allowSpellcheck() so that insets who do
6265 not have anything to spellcheck can tell and so they are over-jumped.
6266 Implemented for InsetText and co.
6268 2001-10-18 Juergen Vigna <jug@sad.it>
6270 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6272 2001-10-15 José Matos <jamatos@fep.up.pt>
6274 * insetert.C: allow export for docbook and linuxdoc
6276 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6278 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6280 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6282 * insetquotes.C (dispString): fix handling of latin9 quotes
6284 2001-10-03 Juergen Vigna <jug@sad.it>
6288 * insetcollapsable.C: change updateInset calls to not tell BV that
6289 we have changed status.
6291 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * insettabular.C (deletable): make const
6295 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6297 * insetert.C (latex): Fix the returned value
6299 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6301 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6302 Returns string(), so nothing in an ERT inset is spellchecked.
6304 * insetgraphics.C (draw): print the filename if not displaying the
6306 (width): make sure that the width and draw methods are consistent.
6307 (updateInset): don't even load the image into cache if not displaying
6310 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6312 * various files (selectNextWord): renamed as
6313 selectNextWordToSpellcheck.
6315 * insetgraphics.C (draw): remove the previous change. Right place
6316 is in imageLoaderXPM.C.
6317 (draw): don't display the image if params.display == NONE.
6319 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6321 * figinset.C (runqueue):
6322 * insetgraphics.C (draw): set background colour of inset from
6323 background to the user-configurable graphicsbg.
6325 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6327 * insetquotes.C (InsetQuotes): when trying to decide the side of
6328 the quote, choose `left' only after a space or '('
6330 2001-09-04 José Matos <jamatos@fep.up.pt>
6335 * insetcollapsable.h
6353 * insetlatexaccent.C
6354 * insetlatexaccent.h
6359 * insetspecialchar.C
6360 * insetspecialchar.h
6364 * insettext.C (docbook): rename docBook method to docbook.
6366 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6368 * inset.h (getFirstParagraph): New virtual method.
6370 2001-08-20 Herbert Voss <voss@perce.de>
6371 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6372 in the the bibtex-database-gui for inserting a line
6375 If no style is given than there is no tex-output.
6377 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6379 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6383 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6385 * insetert.C (latex): Fix output for multiple paragraphs.
6386 (write): New code for writing paragraph data.
6387 (read): Set font after reading the inset.
6388 (localDispatch): Call set_latex_font() for more cases.
6390 * insetnote.h: Add empty validate method.
6393 * insetnote.C (InsetNote): Set language to the language of the
6396 2001-08-16 Juergen Vigna <jug@sad.it>
6398 * insettext.C: implemented the new FINISHED states.
6400 * insettabular.C: ditto
6402 * inset.h: added more FINISHED states for cursor right,up,down
6404 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6406 * insetfloatlist.C: use "FloatName List"
6408 2001-08-14 Juergen Vigna <jug@sad.it>
6410 * insetert.C (edit): forgot to set status_ in edit calls!
6412 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6414 * insettext.C: Compilation fix
6416 2001-08-13 Juergen Vigna <jug@sad.it>
6418 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6420 * insetcollapsable.C (edit): don't recollapse an already open inset.
6422 * insettext.C: fixed problem when reinitializing LyXText by not doing
6423 it while lt is in use and post this to the next possible time in
6425 (searchForward): fixed not unlocking of inset if nothing found.
6426 (edit): set cursor behind right (was set -1 pos).
6428 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6430 * insettabular.C (tabularFeatures): fixed fix where deleting the
6431 last row didn't get the right actcell!
6433 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6435 * insettext.C (localDispatch): Change language only when the inset
6438 2001-08-10 Juergen Vigna <jug@sad.it>
6440 * insettabular.C (selectNextWordInt): use the front using edit call.
6442 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6443 the parameter overwrite class variable inset.
6445 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6447 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6448 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6450 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6451 update only for fixed with cells.
6452 (resetPos): try to fix the lockup on spellchecking or s&r.
6454 * insettext.C (update): comment this out as it seems first wrong
6455 and second not needed anymore!
6456 (some functions): call reinitLyXText() only in update() in all other
6457 positions set only need_update = INIT.
6459 2001-08-08 Juergen Vigna <jug@sad.it>
6461 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6463 * insettext.C (insetUnlock): remove double-space on inset unlock.
6465 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6467 * insettabular.C (update): fixed cursor positon after an insert.
6468 (insetAllowed): do not allow to insert insets when not inside the
6470 (draw): clear below an inset too as it could have changed height.
6472 * inset.C (getMaxWidth): fixed width for inset in inset.
6474 * insettext.C (update): small fix.
6476 * insettabular.C (tabularFeatures): added selection support to
6477 DELETE_ROW/DELETE_COLUMN.
6479 2001-08-07 Juergen Vigna <jug@sad.it>
6481 * inset.C (getMaxWidth): recoded and all it's implementations!
6483 * insettext.C (init,setParagraph+constructors): cleanups
6484 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6485 are new and I want do a save/restore of the cursor position which is
6486 not possible anymore.
6488 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6489 (searchBackward): ditto
6490 (selectNextWord): ditto
6492 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6494 * insetlatexaccent.C (checkContents): Add some debug messages
6496 2001-08-07 Juergen Vigna <jug@sad.it>
6498 * insetert.C (read): don't use InsetCollapsable::read as we don't
6499 write the collapsed status anymore only the status.
6502 2001-08-06 Juergen Vigna <jug@sad.it>
6504 * insetert.C (set_latex_font): use LyXText's setFont directly.
6506 * insettext.C (drawFrame): fixed one time more the right position
6507 and size of the frame!
6509 * insetert.C (~InsetERT): hide the dialog.
6510 (showInsetDialog): added implementation
6513 (status): new function for the status of the ERT inset (3-state).
6514 (write): output also the status of the inset for readback!
6515 (read): readback the status if available otherwise use collapsed_.
6517 * insettext.C (edit): small fix of setting the position, which could
6520 * insetert.C (width): implement this function for inlined viewing.
6521 Added minimum width of 10 pixels!
6523 * insetminipage.C (InsetMinipage): just change the colors a bit so
6524 that border/background is a bit more visible. We will remove this
6527 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6528 function for getting the important widths for drawing in various
6529 functions and in LyXText.
6530 (draw): fixed up a bit (frame drawing/clearing)
6532 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6534 * inset.C (convertFont): delete method. not used.
6536 2001-08-03 Juergen Vigna <jug@sad.it>
6538 * insettext.C (setFont): don't call for a draw update if we're just
6539 changing the cursor font!
6541 2001-08-02 Juergen Vigna <jug@sad.it>
6543 * insettext.C (draw): clear the background with the right color if
6544 needed. Update myself if x&max-width changed and return without doing
6545 anything. Let the update code handle the right stuff.
6547 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6548 inside another inset.
6550 2001-08-01 Juergen Vigna <jug@sad.it>
6552 * insetcollapsable.C (update): added an in_update bool so we avoid
6555 * insettabular.C (update): added an in_update bool so we avoid
6558 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6560 (update): added an in_update bool so we avoid reentering.
6562 * insettabular.C (localDispatch): clear col/row selection when doing
6563 something else inside an inset.
6565 * insettext.C (getLyXText): fixed bug when requesting a recursive
6568 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6570 * insetcite.C (latex): Paranoia check. Make sure that there is no
6571 whitespace between the citation keys.
6573 2001-07-31 Juergen Vigna <jug@sad.it>
6575 * inset.h (nodraw): make the set function also const so that this
6576 can be called from inside other const functions.
6578 * insetcollapsable.h: removed inline variable and moved it over
6579 to the only user InsetERT.
6581 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6582 inset opening immediately therein lying insets dialogs!
6584 * insetert.C (localDispatch): set the font also if we don't have any
6585 chars in this paragraph, otherwise if we delete all of em and start
6586 writing we have the wrong font.
6588 (draw): implemented for inline support
6589 (insetButtonRelease): ditto.
6591 2001-07-30 Juergen Vigna <jug@sad.it>
6593 * insettext.C (reinitLyXText): new function to reinit the insets
6594 text after lot's of paragraph changes. Use this instead of the
6595 cache.clear() which is VERY dangerous.
6597 * insetfloat.C (insetButtonRelease): we should only show the dialog
6598 if we press on the label otherwise we have problems to open mouse
6599 button 3 dialogs inside this float (f.ex. of a tabular!)
6601 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * insetert.C: change back to "ERT"
6605 * insetfloat.C: handliign of RMB on label added.
6607 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6609 * insetgraphicsParams.C: #include LOstream.h here.
6611 * insetfoot.h: remove InsetFoot:: qualifier.
6613 2001-07-29 Baruch Even <baruch@lyx.org>
6615 * ChangeLog: Hiding time travel evidence.
6617 * insetgraphicsParams.h:
6618 * insetgraphicsParams.C:
6619 * insetgraphics.C: Added horizontal scale option, it actually
6620 scales both directions since it keeps image proportions.
6622 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6624 2001-07-29 Baruch Even <baruch@lyx.org>
6626 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6627 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6629 HACKY! Will need to add an EPS detection routine like old InsetFig
6632 2001-07-29 Baruch Even <baruch@lyx.org>
6634 * insetgraphics.C: Added EPSI to be an alias of EPS.
6636 2001-07-29 Baruch Even <baruch@lyx.org>
6638 * insetgraphics.C: Change GRAPHICS to Graphics.
6639 Changed image conversion rules (documented at the beginning of file).
6641 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6643 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6646 * insetgraphics.C: added a using std::endl directive.
6648 * insetcommand.h (getScreenLabel): removed pure virtual function,
6649 as it duplicates that in InsetButton.
6651 * insetbib.[Ch] (getScreenLabel):
6652 * insetbutton.[Ch] (getScreenLabel):
6653 * insetcite.[Ch] (getScreenLabel):
6654 * insetert.[Ch] (getScreenLabel):
6655 * insetexternal.[Ch] (getScreenLabel):
6656 * insetfloatlist.[Ch] (getScreenLabel):
6657 * insetinclude.[Ch] (getScreenLabel):
6658 * insetindex.[Ch] (getScreenLabel):
6659 * insetlabel.h (getScreenLabel):
6660 * insetparent.[Ch] (getScreenLabel):
6661 * insetref.[Ch] (getScreenLabel):
6662 * insettoc.[Ch] (getScreenLabel):
6663 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6665 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6667 (validate): remove check on "cite" when using natbib.
6669 2001-07-26 Baruch Even <baruch@lyx.org>
6671 * insetgraphics.C (draw): changed casting to be in one place
6672 rather than all over the function.
6675 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6677 * insetgraphicsParams.h:
6678 * insetgraphicsParams.C:
6679 * insetgraphics.C: Removed inline option and changed rotateAngle
6682 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6684 * insetfoot.C (validate): Added method to ensure that the
6685 right bit of LaTeX is emitted.
6687 * insetfoot.h: Added validate method to set the correct
6688 LaTeXFeatures bit for the special footnote code.
6690 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6692 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6695 2001-07-27 Juergen Vigna <jug@sad.it>
6697 * inset.h: remove not used font variable in parameter.
6698 removed checkInsertChar in UpdatableInset as it was equal to
6699 the one in Inset and so not needed.
6701 * insetert.C (checkInsertChar): implementation of function
6704 * inset.h: added new function checkInsertChar.
6706 * various files: added c-tor and clone() function.
6708 * insetcollapsable.h: removed clone function here as this should
6709 be only realized in REAL insets and added it to all collapsable
6710 insets! (with the copy-constructor).
6712 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6714 * insetminipage.C (read): handle missing parameters more gracefully
6716 * insetcollapsable.C (read): handel missing collapsed more gracefully
6718 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6720 * insetfloat.C (read): handle missing parameters.
6722 * insettext.C (read): handle old latex end_inset
6724 * insetert.C (setButtonLabel): new method
6725 (init): use it, to set the dynamic label correctly
6728 * Makefile.am (EXTRA_DIST): add files that is not part or the
6731 * insetcollapsable.h: remove autocollapsable (no users), remove
6732 draw_label, change_label_with_text and companion code. Remove args
6734 * insetert.[Ch]: move here instead (only user)
6736 * inset.h: rename private variable name to name_, make
6737 selectNextWord return a const string. make getInsetName return a
6738 string const &. Remove bool from open, add close.
6740 * Makefile.am: don't compile insetlist, insetsection
6743 2001-07-24 Juergen Vigna <jug@sad.it>
6745 * insetert.C (InsetERT): put init after the paragraph initialization,
6746 as otherwise we don't set the draw_label right.
6748 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6749 insets with the mouse without having strange selections.
6750 (edit): if the inset was collapsed and we open it here then put the
6751 cursor always at the beginning of the inset.
6752 (get_new_label): 15 instead of 10 max chars in the label.
6754 * insetert.C (localDispatch): added and handle various stuff we
6755 need to handle here (font setting on paragraph break, not permitted
6756 layout setting, etc.).
6758 * inset.h: added default copy-consturctor and implemented this in
6759 various insets with the change to use this in the clone function!
6761 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6763 * insetminipage.C (InsetMinipage): set background color to red :)
6765 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6767 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6768 draw frame mode is LOCKED.
6770 * insetcollapsable.C (edit):
6771 (insetButtonRelease): set update status to full when
6774 * insettext.C (clearInset):
6775 * insettabular.C (draw):
6776 * insetlatexaccent.C (draw): honor background color.
6778 * inset.h: new member background_color_, initialized to
6781 * inset.C (backgroundColor): new method.
6782 (setBackgroundColor): new method.
6784 * insetert.C (init): new method, called by the ctors.
6785 (InsetERT): when inserting contents, make sure the font is
6788 * insetnote.C (InsetNote): when inserting content, remove trailing
6790 (init): set background color to LColor::note
6792 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6794 * insetcollapsable.C: adjust
6796 * insetbutton.C: adjust
6798 2001-07-23 Juergen Vigna <jug@sad.it>
6800 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6801 parameter on the _collapsed function (was not needed) and call
6802 always width_collapsed().
6804 * insetert.C (InsetERT): use setLabel with "true" flag.
6806 * insetcollapsable.C: modified various functions to set the draw_label
6807 string right in any condition.
6808 (setLabel): added a bool parameter to set change_label_with_text.
6810 * insetcollapsable.h: added draw_label string which is set to the
6811 actual drawn label-string, while label is the original static label
6812 of this collapsable inset. Added bool change_label_with_text to set
6813 if we want that the label changes to the start of the InsetText's
6814 text when collabpsed. You can set this flag with the setLabel funciton.
6815 Added bool inlined for inlined collapsable insets, but not handled
6818 * insetcollapsable.C (get_new_label): added should get a new label
6819 from the InsetText beginning (for now 10 chars).
6821 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6823 * insetquotes.C (latex): fix the handling of french double quotes
6824 when not using the french pachage.
6826 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6828 * insetcollapsable.h: make WidthCollapsed mutable.
6830 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6831 InsetPrintIndex returns INDEX_PRINT_CODE.
6833 * inset.h: add INDEX_PRINT_CODE
6835 * insetcollapsable.C (draw): init widthCollapsed if necessary
6838 * insetquotes.C (width): use the local language, not the document
6841 (dispString): add additional spacing for all french languages,
6843 (validate): make it work when there is no default language
6845 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6847 * insetnote.C (init): new method, called by the constructors
6848 (InsetNote): new constructor with contents passed as a string
6850 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6852 * insetfootlike.C (insetAllowed): disallow float in footlike.
6854 * insetert.C (InsetERT): add collapsed argument to the constrctor
6857 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * insetindex.h: shut off warning
6861 2001-07-20 Juergen Vigna <jug@sad.it>
6863 * insetcollapsable.C (update): recoded hopefully works now!
6865 2001-07-19 Juergen Vigna <jug@sad.it>
6867 * most files: implemented the below new introduced function.
6869 * inset.h: added new edit(BufferView *, bool front) method to be able
6870 to enter an inset from the front/back without knowing x/y positions
6871 and baselines inside the inset. So I just can tell the inset activate
6872 me and set the cursor on the front/back of yourself.
6874 2001-07-18 Juergen Vigna <jug@sad.it>
6876 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6877 is given to the InsetText.
6878 (insetButtonPress): ditto
6879 (insetButtonRelease): ditto
6880 (insetMotionNotify): ditto
6882 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6884 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6885 LIGATURE_BREAK, since the name is so stupid.
6887 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6889 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6890 the default InsetCollapsable methods. I.e., it can insert anything.
6891 (write) output the name of the inset, not some silly hack for
6892 compatability with the old InsetInfo.
6894 * insetinfo.[Ch]: removed.
6895 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6896 now collapsable, but functionality is otherwise identical to InsetInfo.
6898 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6900 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6902 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6905 * insetquotes.C: general cleanup
6906 (dispString): add spaces inside french double quotes.
6907 (latex): ditto. Moreover, treat first the case where the frenchb
6908 or french options have been given.
6910 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6912 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6915 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6917 * figinset.C (RegisterFigure): Print debug message only when
6918 current_view is available.
6920 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6922 * many files: update to match the change below
6924 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6925 implement the version which takes an inset here.
6927 * insetcollapsable.[Ch]: implement open and isOpen
6929 * inset.h: remove insertInsetAllowed from Inset
6930 (open): new method, to open or close an inset
6931 (isOpen): returns the status of an inset
6932 (isCollapsable, colapse): removed
6934 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6936 * insetquotes.C (dispString): display french guillemets when using
6939 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6941 * insetcollapsable.h: remove bogus return statements
6943 2001-07-18 Juergen Vigna <jug@sad.it>
6945 * insettabular.C (selectNextWord): fixed spellchecking for the
6946 first cell of a tabular (wasn't entered!)
6947 (getLyXText): changed to enter automatically insettext and return
6948 it's LyXText if we're locked.
6950 2001-07-17 Juergen Vigna <jug@sad.it>
6952 * various files: implemented the below functions.
6954 * inset.h: added functions
6955 - virtual string selectNextWord(BufferView *, float & value) const;
6956 - virtual void selectSelectedWord(BufferView *) { return; }
6957 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6958 needed for spellchecking correctly!
6960 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6962 * insetert.C (latex): write out all paragraphs.
6964 2001-07-17 Baruch Even <baruch@lyx.org>
6966 * insetgraphics.C (draw): Removed unneeded casts.
6968 2001-07-16 Juergen Vigna <jug@sad.it>
6970 * insettext.C (update): fixed small oversight (reset lt to 0).
6972 2001-07-14 Baruch Even <baruch@lyx.org>
6975 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6977 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6979 Consistent use of Lsstream.h:
6980 * figinset.C: removed using std::ostringstream directive.
6982 * insetgraphics.C (createLatexOptions):
6983 * insetinclude.C (unique_id):
6984 std::ostringstream -> ostringstream.
6985 * insettext.C (localDispatch): std::istringstream -> istringstream.
6987 2001-07-13 Juergen Vigna <jug@sad.it>
6989 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6991 * insetcollapsable.C (getLockingInset): ditto.
6993 2001-07-12 Juergen Vigna <jug@sad.it>
6995 * insetcollapsable.h: added implementation of new function for
6998 * various files: added implementation of new insertInsetAllowed-func
6999 and redone the function a bit more.
7001 * inset.h: added isCollapsable(), bool collapsed(),
7002 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
7004 * insetfloat.C (insertInsetAllowed): make a bit more checks.
7006 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
7007 LyXText which is marked for removal while we're using it!
7009 * insettext.h: added private LyXText * lt to use it to assure we are
7010 not deleting our LyXText while we're using it!
7012 2001-07-11 Juergen Vigna <jug@sad.it>
7014 * insettext.C (insertInset): check if we are before the inset after
7015 inserting it! This check IS needed. Remove the Undo-Call as it is
7016 called in LyXText::insertInset!
7018 * insettext.h: added struct InnerCache.
7020 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
7021 that we ONLY delete the LyXText in the getLyXText() routine. So we
7022 are sure we don't delete LyXText while someone is working with it!
7024 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7026 * insetexternal.C: (*it). -> it->
7027 * insettext.C: ditto
7029 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * insetcollapsable.C (edit): always open collapsed insets (even if
7032 they are not autocollapsable)
7034 * insetcommand.C (operator=): simplify.
7036 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7038 * insetert.C (latex): handle META_NEWLINE
7040 2001-07-09 Juergen Vigna <jug@sad.it>
7042 * insetert.h: a normal InsetText can insert insets, but we won't.
7044 * inset.h: return default "false" on insertInsetAllowed and implement
7045 this function where a returnvalue != "false" is needed.
7047 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7049 * insetert.C (InsetERT): new contructor
7051 2001-07-06 Juergen Vigna <jug@sad.it>
7053 * a lot of files: added implementation of the below new functions
7054 and the change to clone(). Also the call of the new undo-functions
7057 * inset.h: added an inset_id, added functions getParFromID,
7058 getInsetFromID, firstParagraph, cursor and id functions, added
7059 bool same_ids to clone function.
7061 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
7064 of BufferView * and shared_ptr<LyXText>
7066 2001-07-05 Juergen Vigna <jug@sad.it>
7068 * insettext.C (clear): deleted also the cache not only LyXText.
7069 (setParagraphData): ditto.
7071 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7073 * insetfloat.C (latex): let the specific placement take presedence
7074 if set, otherwise choose document placement if set, otherwise just
7075 use float default placement.
7077 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7079 * insettext.C (localDispatch): call CutAndPaste::'s static method
7082 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7084 * insetbib.C: no meed to include forms.h here.
7086 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7088 * insettext.C: added using std::make_pair directive.
7090 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7094 (deleteLyXText): ditto
7095 (resizeLyXText): ditto
7097 2001-07-02 Juergen Vigna <jug@sad.it>
7099 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7100 following calls are only returned the right pointer without the over
7101 head to search in the map.
7102 (various funcs): reset the cached_bview variable as this signs that
7103 the cache is not valid anymore.
7105 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7107 * insettabular.C (clone): do not copy the LyXTabular twice
7109 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7111 * insettext.h (TEXT): delete method
7113 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7115 * insetmarginal.C (latex):
7116 * insetfoot.C (latex): fix spacing of notes in LaTeX
7118 * insettext.C (localDispatch): use .c_str() on istringstream
7119 constructor argument.
7121 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7126 * inseturl.C: fix method names in these to begin
7127 with small char too, so they inherit
7129 2001-06-28 Juergen Vigna <jug@sad.it>
7131 * insettext.C (setFont): fixed font settings using toggleFree()
7132 instead of setFont().
7134 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * Change a lot of method names to begin with a small char.
7137 Changes to a lot of files because of this.
7139 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7141 * insetfloatlist.C (Write): std:: qualify ostream
7144 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7148 * insetgraphics.C: send debug output to Debug::INFO instead of
7151 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7154 * insettabular.C (getStatus): update to use func_status
7156 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7158 * insetref.C (DocBook): added support for cross-references without
7161 2001-06-26 The LyX Project <jug@sad.it>
7166 * insetlabel.h: removed escape method and moved it to
7169 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7171 * insettabular.C (getMaxWidth): do the speedup in a different way,
7174 2001-06-24 The LyX Project <Asger>
7176 * insettabular.C (getMaxWidth): We cache a mapping from
7177 inset to cell in order to speed this method up.
7179 2001-06-24 The LyX Project <Asger>
7181 * insettext.C: Optimized InsetText::draw or something.
7183 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7185 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7187 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7189 * inset.h: name change from lyxinset.h
7191 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7193 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7195 2001-06-14 Juergen Vigna <jug@sad.it>
7197 * insettext.C (draw): removed warnings.
7199 2001-06-13 Juergen Vigna <jug@sad.it>
7201 * insettabular.C (nodraw): only go down the tree if we don't have
7202 that flag set otherwise it's obvious that we don't want to draw.
7203 (LocalDispatch): do also an update if we have an undispached result.
7205 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7208 * insetgraphicsParams.C:
7209 * insettext.C: removed // -*- C++ -*- as first line.
7211 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * lyxinset.h (resizeLyXText): shut off warning about unused
7216 2001-06-07 Juergen Vigna <jug@sad.it>
7218 * insettext.C (resizeLyXText): honor the new force flag.
7220 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7222 * insettabular.C (deleteLyXText): new function
7224 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7232 * insetcollapsable.C:
7233 * insetcaption.C: LColor tidy
7235 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7237 * figinset.C: fix typo
7239 2001-06-01 Juergen Vigna <jug@sad.it>
7241 * insettabular.C (resetPos): small hack so that scroll is not set to
7242 0 when we are in the last column of a tabular. This is a problem we
7243 have because of constats 20 offset on both directions, so this can
7244 cause on the limit an endless loop.
7246 * insettext.C (SetFont): forgot that we can have locking insets ;)
7248 2001-05-31 Juergen Vigna <jug@sad.it>
7250 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7252 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * figinset.C: add using std:: directive for the C functions which
7257 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * insetfloat.C (Write): write out wide info
7260 (Read): read the wide info
7261 (Latex): use the wide info when creating latex.
7263 * insettext.C: adjust
7265 * insetgraphics.[Ch] (statusMessage): change to return string
7269 * figinset.C (runqueue): add std::
7272 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7274 * insetcite.C (Ascii): add std:: qualifier
7276 2001-05-28 Juergen Vigna <jug@sad.it>
7278 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7279 a endless-width inset (maxWidth < 0).
7280 (Edit): change language only if not equal.
7282 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7284 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7286 2001-05-16 Juergen Vigna <jug@sad.it>
7288 * insettext.C (selectAll): added
7289 (clearSelection): added
7291 * insettabular.C (SetFont): now we may set a font on a whole selection!
7292 (getSelection): added helper function.
7294 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7296 * insetcite.C (Ascii): Add method.
7298 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7301 * insetbib.C: fix path for OS/2 & Win32
7303 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7305 * insetfoot.C (Latex): don't use % after footnote.
7307 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7309 * insettext.C (Read): use clear
7310 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7312 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7314 * insetfloatlist.h: add a bunch of std:: qualifiers.
7316 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7318 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7319 FLOAT_LIST_CODE, renumber code list.
7321 * insettoc.C (getScreenLabel): remove support for float lists
7325 * insetfloatlist.[Ch]: new files
7327 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7329 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7331 * insettabular.C (LocalDispatch):
7332 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7335 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * insettext.C: remvoe !NEW_INSETS cruft
7339 * insettabular.C: remove !NEW_INSETS cruft
7341 * insetcollapsable.h: remove !NEW_INSETS cruft
7343 * insetbib.C: remove !NEW_INSETS cruft
7345 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7347 * insettoc.C: hack to make listof algorithm work
7349 2001-04-20 Juergen Vigna <jug@sad.it>
7351 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7353 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7355 * insetquotes.C (Latex): improve the guard against
7356 unwanted !` and ?` ligatures. This should really be done in
7357 another place (to catch all this ligatures at low-level).
7359 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * insettext.C (init): remvoe leftovers from cursor_visible change
7362 (draw): use c++ cast
7363 (LocalDispatch): dispatch LFUN_MESSAGE
7365 * insettabular.C (InsetTabular): remove leftovers from
7366 cursor_visible, and scoped_ptr changes
7367 (draw): use c++ cast
7369 * insetcollapsable.C (draw): use c++ cast
7371 * ExternalTemplate.h: inherit privaely from noncopyable
7372 * insetcommand.h: ditto
7373 * insetinclude.h: ditto
7375 2001-04-16 Allan Rae <rae@lyx.org>
7377 * insettoc.C (Ascii):
7378 * insettext.C (draw):
7379 * insettabular.C (setPos):
7380 * insetminipage.C (Read):
7381 * insetfloat.C (placement):
7382 * insetcaption.C (Ascii, DocBook):
7383 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7384 an unrecognised preprocessor directive. So ensure they're wrapped.
7386 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7389 * insetexternal.C: set view on Clone. Add _ to private members.
7391 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * insettext.C (InsetText): fix new
7394 (InsetText): reindent some, simplify deletion of par list
7395 (clear): simplify deletion of par list, fix new
7396 (SetParagraphData): simplify deletion of par list
7398 * insettabular.[Ch] (getLabelList): implement new method
7400 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7402 * lyxinset.h: do not include gettext.h...
7410 * insetlatexaccent.C:
7414 * inseturl.C: ... and do it here instead
7416 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7418 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7420 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7422 * insetcollapsable.[Ch] (getLabelList): implement
7424 * insettext.[Ch] (getLabelList): implement
7426 * insettext.h: reindent
7428 * insettabular.h: make tabular a scoped_ptr
7430 * insettext.C (init): adjust for cursor_visible
7431 (ToggleInsetCursor): constify asc and desc, font, adjust for
7433 (ShowInsetCursor): constify asc and desc, font, adjust for
7435 (HideInsetCursor): adjust for cursor_visible
7437 * insettabular.C: reindent some
7438 (InsetTabular): adjust for scoped_ptr and cursor_visible
7439 (InsetTabular): ditto
7440 (~InsetTabular): delete delete
7441 (Clone): adjust for scoped_ptr
7442 (Read): constify old_format, adjust for scoped_ptr, move init of
7444 (draw): constify tx, localize loop vars.
7445 some other localization of variables, remove double initilizatons.
7447 * insetfoot.C: remove using std::ostream, add ostream where needed
7449 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7451 * lyxinset.h: some reindentaion, use initializer list for
7453 UpdatableInset: make cursor_visible a private var add
7454 public isCursorVisible(), add protected toggleCursorVisible() and
7455 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7457 * insettoc.C: remvoe using decl
7458 (getScreenLabel): make cmdname donst
7461 (Ascii): don't use endl
7463 * insetfootlike.C: remove using decl at file scope and add std::
7465 * insetmarginal.C: ditto
7467 * insetfoot.C: some reformatting
7469 * insetfloat.C (InsetButtonRelease): adjust the hit area
7471 * insetert.C (SetFont): some reformatting
7473 * insetcollapsable.C: some reformatting and constification
7474 (Clone): comment out.
7475 * insetcollapsable.h: some reformatting
7476 (Clone): comment out.
7481 2001-03-30 Juergen Vigna <jug@sad.it>
7483 * insetcollapsable.h: changen *inset to be a InsetText inset.
7485 * some files: changed to reflect the above change.
7487 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7489 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7490 InsetExternal::Params.
7491 Added operator==() and operator!=() for the Params struct.
7493 2001-03-29 Juergen Vigna <jug@sad.it>
7495 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7498 * insetminipage.C: removed widthp_ and all it's functions and changed
7499 to use new %-lengths of LyXLength.
7501 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7503 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7505 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7507 * insetgraphicsParams.C (operator!=): new function, needed by the
7508 ControlGraphics class.
7510 2001-03-28 Juergen Vigna <jug@sad.it>
7512 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7513 (checkAndActivateInset): don't use the values returned from
7514 call to bv->checkInsetHit.
7516 * insetminipage.C (Clone): set special minipage values.
7518 * insetcollapsable.C (draw): changed to draw the button in the
7519 upper left corner outside the textinset.
7520 (ascent): changed because of different drawing
7524 (InsetButtonPress): ditto
7525 (InsetButtonRelease): ditto
7526 (InsetMotionNotify): ditto
7528 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7530 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7534 2001-03-26 Juergen Vigna <jug@sad.it>
7536 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7538 * insettext.C (ShowInsetDialog): implemented above function.
7540 * insettabular.C (ShowInsetDialog): ditto
7542 * insetminipage.C (ShowInsetDialog): ditto
7544 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7546 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7547 InsetInclude::Params. Don't store a buffer * in Params. Store the
7548 master file name instead.
7550 2001-03-23 Juergen Vigna <jug@sad.it>
7552 * insetcollapsable.C (InsetMotionNotify):
7553 (InsetButtonRelease):
7554 (InsetButtonPress): fixed y-offset (minipages).
7556 * insettext.C (draw): force a FULL update if cleared == true.
7558 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7559 routine to draw the minipages on its position-flag.
7560 (InsetInInsetY): give back the right y position, because of minipage
7563 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7566 * insetfloat.C (DocBook): docbook export code.
7568 2001-03-22 Juergen Vigna <jug@sad.it>
7570 * insetminipage.C (getMaxWidth): added function to set the drawing
7572 (Read): should work now!
7574 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7575 if we create a new inset.
7577 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7579 * figinset.C (fl_set_preemptive_callback): moved definition outside
7582 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7584 * insetminipage.C (Read): prepare for reading of minipage arguments.
7586 2001-03-18 Baruch Even <baruch@lyx.org>
7588 * insetgraphics.C: Minor cleanups of the comments and code.
7590 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7592 * insetminipage.C (InsetMinipage): default to not collapsed
7594 2001-03-16 Juergen Vigna <jug@sad.it>
7596 * insetminipage.C (width): modified with to be a string
7597 (widthp): added widthp (for % width) support functions.
7598 (InsetButtonRelease): added to open the options dialog on button==3.
7599 (~InsetMinipage): added to hide the dialog.
7601 * insetminipage.h: added hideDialog signal
7603 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7605 * insetminipage.h: change the order or Position to match
7606 LyXParagraph::MINIPAGE_ALIGNMENT
7608 * several files: remvoe CXX_WORKING_NAMESPACES
7610 * ExternalTemplate.h: noncopyable is in namespace boost
7611 * insetinclude.h: ditto
7612 * insetcommand.h: ditto
7614 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7616 * insettext.C (Edit): #else# -> #else.
7617 * insettoc.C: added using directive.
7619 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7621 * insetminipage.h: add pos, inner_pos, width and height. + getters
7622 and setters for all of them.
7624 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7626 * insetinclude.C (Latex): Do not exit when the textclass of the
7627 included file differ from the textclass of the parent file.
7629 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7631 * ExternalTemplate.C (read): the reading of external insets now checks
7632 for \end_inset and removes it form the input stream.
7634 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7636 * ExternalTemplate.h:
7637 * ExternalTemplate.C:
7639 * insetexternal.C: move form to GUII
7641 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7644 * insetinclude.C: add InsetIncludeParams, use
7645 composition rather than derivation of InsetCommand
7647 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7649 * insettoc.C (Ascii): use the Buffer typedefs
7651 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7653 * insettoc.C (Ascii): implement for dynamic number of lists
7655 * insetcaption.[Ch]: update from new_insets branch
7656 * insetfloat.[Ch]: ditto
7658 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7661 * figinset.C: use new File Dialog
7663 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7665 * insettext.C: changes becuase of ParagraphParameters.
7667 2001-02-28 Baruch Even <baruch@ev-en.org>
7669 * insetgraphics.C (updateInset): Changed due to the change in
7672 2001-02-26 Juergen Vigna <jug@sad.it>
7674 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7675 handled in LyXText).
7677 2001-02-23 Juergen Vigna <jug@sad.it>
7679 * insettext.C (draw): some small repainting fixes.
7680 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7682 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7683 should be) and not an int.
7685 * insettabular.C (LocalDispatch): ditto
7687 * insettext.C (LocalDispatch): ditto
7689 * insetcollapsable.C (LocalDispatch): ditto
7691 2001-02-22 Juergen Vigna <jug@sad.it>
7693 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7694 DISPATCH it and we don't have a locking_inset.
7696 2001-02-21 Baruch Even <baruch@ev-en.org>
7698 * insetgraphics.[Ch]: Changed to use
7699 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7701 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7703 * insetcollapsable.C (getLyXText): add const qualifier to second
7706 2001-02-22 Juergen Vigna <jug@sad.it>
7708 * insettext.C (getLyXText): honor the recursive parameter.
7709 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7711 * inset.C (getLyXText): added bool recursive parameter.
7713 * insettext.C (SetUpdateStatus): or the update codes.
7714 (draw): check need_update with &.
7715 (InsetButtonPress): set no_selection to not put a selection when
7716 entering an inset and it is redraws in another spot.
7718 * insettext.h: made need_update an int.
7720 2001-02-20 Baruch Even <baruch@ev-en.org>
7723 * insetgraphisc.C: Changed to use better semantics when loading images
7724 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7726 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7730 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7731 consistent with InsetTabular.
7733 2001-02-19 Juergen Vigna <jug@sad.it>
7735 * insettabular.C (LocalDispatch): implement PAGE up/down.
7737 * insettext.C (draw): clear all of it on need_update==INIT too!
7739 * insettabular.C (InsetUnlock): always clear the selection.
7741 * inset.C (scroll): normally we only want to scroll the inset until
7742 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7744 2001-02-14 Juergen Vigna <jug@sad.it>
7746 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7747 (resetPos): fixed scroll behaviour.
7748 (LocalDispatch): do an update if moving cursor inside a table cell
7749 requests a scroll of the tabular.
7751 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7753 * insettext.C (textWidth): constify local var
7755 * insettabular.C: small cleanup.
7757 * insetfoot.C (Latex): constify local var
7759 * insetcollapsable.C: small cleanup.
7761 * figinset.C (runqueue): use compare instead of strcmp
7763 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7766 * insetinfo.C: remove cruft
7768 2001-02-14 Juergen Vigna <jug@sad.it>
7770 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7772 2001-02-13 Juergen Vigna <jug@sad.it>
7774 * insettext.C (InsertInset): don't move left (is this right?)
7776 * insettabular.C (LocalDispatch): use of the no_draw variable
7778 * insettabular.h: new no_draw variable to stop redraw
7780 * insettabular.C (TabularFeatures): fixed update for alignment change
7782 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7786 * insetbib.C: move dialogs to frontends/
7788 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7790 * insettext.C (LocalDispatch): Restore the language if the inset
7793 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7795 * insettext.C (moveRightIntern): Update the selection cursor.
7796 (moveLeftIntern): Ditto.
7798 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7800 * Makefile.am: remove BoundingBox.h
7802 * BoundingBox.h: removed
7804 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7806 * insettext.C (LocalDispatch): Update selection cursor when moving
7807 cursor to the right.
7808 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7809 (moveLeftIntern): Ditto.
7811 2001-02-05 Baruch Even <baruch.even@writeme.com>
7813 * insetgraphics.C: Updated automatic image conversion, it now goes into
7814 temporary directory instead of with the image itself.
7816 2001-01-21 Baruch Even <baruch@ev-en.org>
7818 * insetgraphics.C: Added Docbook support. Added Automatic image
7819 conversion to EPS or PNG when needed (support bitmap graphics).
7821 2000-11-02 Baruch Even <baruch@ev-en.org>
7824 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7825 to '\n' and removal of commented out code.
7827 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7829 * insetbib.C (callback): Update citations if the key has changed.
7831 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7833 * insetbib.C (InsetBibKey): Better computation of default key.
7834 (getScreenLabel) Show both the key and the label.
7835 (getBibLabel): New method.
7836 (callback): Force a redraw if the inset have been changed.
7838 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7840 * insetref.C (getType, getName): Move methods from
7841 src/frontends/xforms/FormRef.C.
7843 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7845 * insettabular.C: Various improvements (use only one dummy position).
7847 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7849 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7850 par->bibkey->width. This fixes the crashes when running without
7851 gui or when having included documents.
7853 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7855 * insetcommand.C (getAsString, setFromString): Cleanup.
7857 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7859 * insetref.C: Add the array InsetRef::types that contains
7860 information about all supported reference types.
7862 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7864 * lyxinset.h: remove trailing comma in enum.
7866 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7868 * insettext.C: kill LyXBell.