1 2005-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetcollapsable.C (doDispatch): pass through double/triple
4 click events (bug 1811).
6 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * insetwrap.C (addToToc): copy the code from InsetFloat::addToToc.
10 * insetfloat.C (addToToc): do not use the harcoded "Caption" name,
11 but the SENSITIVE label type.
13 2005-04-18 Angus Leeming <leeming@lyx.org>
15 * ExternalSupport.[Ch] (doSubstitution): passed an extra boolean
16 'use_latex_path' argument. In turn, passed to the new subst_path
17 function when replacing placeholders with paths.
19 * insetexternal.C (getScreenLabel):
20 * ExternalSupport.C (lots of places): change invocation of
21 doSubstitution in lots of places, specifying the appropriate values
22 for this 'use_latex_path' boolean.
25 * insetgraphics.C (latex):
26 * insetinclude.C (latex): pass path to latex_path rather than to
29 2005-04-18 Martin Vermeer <martin.vermeer@hut.fi>
31 * insetcharstyle.C (validate): allow nested charstyle insets
33 2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * insettabular.C (getStatus): handle LFUN_INSET_MODIFY
37 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * insetfloat.C (InsetFloat):
40 * insetwrap.C (InsetWrap): do not set layout here.
42 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
44 * insetbase.C (getStatus): handle LFUN_INSET_MODIFY and
46 * insetbase.h (getStatus): add more documentation
47 * insettabular.C (getStatus): disable LFUN_INSET_INSERT with multiple
50 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
52 * insetcharstyle.C (metrics, draw):
53 * insetert.C (metrics, draw):
54 * insetfootlike.[Ch] (metrics, draw): fix font inside inset
57 2005-04-05 Martin Vermeer <martin.vermeer@hut.fi>
59 * insetexternal.C (validate):
60 * ExternalTemplate.[Ch] (dumpFormat, readFormat): allow
61 multiple Requirements in external material template
63 2005-04-03 Alfredo Braunstein <abraunst@lyx.org>
65 * insettext.C (drawFrame): cosmetic fix
67 2005-03-30 Martin Vermeer <martin.vermeer@hut.fi>
69 * ExternalSupport.C (writeExternal):
70 * insetgraphics.C (latex):
71 * insetnote.C (latex, linuxdoc, docbook, plaintext): fix
72 mis-count in computing latex error location
74 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
76 * insettabular.[Ch]: rename setPos -> setCursorFromCoordinates and
77 make it *not* descend into insets (fix a crash). Move the part
78 needed from editXY to a new function getNearestCell
80 2005-02-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * insetinclude.C (InsetInclude): when constructing from another
83 InsetInclude, set set_label_ to false, since the value is never
86 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
88 * insettabular.C (getStatus): enable tabulator keys (bug 1836).
90 2005-03-21 Alfredo Braunstein <abraunst@lyx.org>
92 * insettabular.C (drawSelection): cosmetic bugfix
94 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * insettabular.C (doDispatch): get middle mouse button back again
97 (partially), pass LFUN_CUT and LFUN_PASTE to insettext's dispatch
98 when only a part of the cell is selected (fix bug 1799)
100 * insettabular.C: handle some more character attributes in
101 M. Vermeers method (when multiple cells in tables are selected);
102 disable some more senseless lfuns when multiple cells are selected
104 Move to end of cell instead of beginning when coming from the cell
107 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
109 * insettabular.C: make applying character attributes
110 possible for multiple cells in tables. Disable collapsable
111 insets for multiple-cell selection in table (Jürgen S.)
112 Bug reported by Helge Hafting.
114 2005-02-25 Andreas Vox <avox@arcor.de>
116 * insetmarginal.[hC] (docbook): new method, render as <note>
118 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
120 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * insetcaption.[Ch] (doClone): implement
124 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
126 * insetgraphics.C (prepareFile): handle non-existing files
127 * insetgraphics.C (latex): remove special handling of non-existing
130 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
133 * insettext.C: adjust metrics
135 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * insettext.C: include boost/current_function.hpp (needed when
138 assertions are disabled)
140 2005-02-20 André Pönitz <poenitz@gmx.net>
142 * insetcollapsable.C: Prevent problems on double-/
143 tripleclick on collapsable label (bug 1797).
145 2005-02-13 André Pönitz <poenitz@gmx.net>
147 * insettext.[Ch] (border_): new
148 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
151 2005-02-14 Angus Leeming <leeming@lyx.org>
153 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
154 about "truncation of constant value".
156 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
158 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
159 workaround for broken HTML converter)
161 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
163 * insetcollapsable.C (leaveInset): size() -> depth()
164 * insettabular.C (isRightToLeft): ditto
166 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
168 * insetert.C (latex, linuxdoc, docbook): remove newline handling
169 * insetert.C (doDispatch): clean pasted paragraphs
170 * insetert.C (getStatus): suppress more lfuns
171 * insetert.C (insetAllowed): return always false
173 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
178 * updatableinset.C: Use new cursor accessors.
180 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
182 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
184 2005-01-31 Angus Leeming <leeming@lyx.org>
186 * insetgraphicsParams.C: protect a #warning preprocessor call
187 with a #ifdef WITH_WARNINGS guard.
189 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * Several files: use convert<> instead of atoi,strToXXX and friends
193 2005-01-23 Angus Leeming <leeming@lyx.org>
195 * insetbibitem.h (bibitemWidest): declare the function.
197 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * insetgraphics.C (prepareFile): move the invocation of the default
200 converter to ../converter.C
201 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
202 call convert with try_default == true
204 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
207 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
208 determines what variables are substituted
209 * ExternalSupport.C (updateExternal): fix substitution of
212 2005-01-10 Angus Leeming <leeming@lyx.org>
214 * ExternalTemplate.C: use support/package.h to provide the paths to the
215 various directories used by LyX.
217 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * ExternalTransforms.C (adjAngle): tostr -> convert
227 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
232 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * ExternalTransforms.C: fix LaTeX output of \scalebox.
236 * ExternalTransforms.[Ch]:
237 * insetexternal.C: store all float/double values as strings.
240 * insetgraphicsParams.C: more precise checks for the value strings.
242 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * insettext.C (doDispatch): remove unused variable was_empty
246 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
249 * insetgraphicsParams.[Ch]: store all float/double values as strings.
251 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
253 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
255 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
258 UNSET_ALL_LINES (from Jürgen)
260 2004-12-14 Angus Leeming <leeming@lyx.org>
262 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
263 to overcome bug in the MinGW port of g++ 3.4.2.
265 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
267 * insettabular.C (getCellXPos): make it return a relative x
268 position wrt. the begin of the tabular
269 (resetPos): a couple of fixes
270 (doDispatch): add a couple of resetPos calls
271 (drawSelection): fix drawing of selection in single-cell mode
272 (draw): replace 'do not draw' optimization by 'draw with
275 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * insetbase.[Ch] (idxUpDown2): remove function
279 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * insettabular.[Ch]: use size_t-like types for cell, row and column
284 2004-12-02 José Matos <jamatos@lyx.org>
286 * insetlatexaccent.C (checkContents): remove compatibility code,
289 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * insetbase.h (getStatus): add better comment from src/cursor.C
293 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
295 * insettabular.[Ch]: adjust, introduce "do not draw
296 offscreen" optimization using NullPainter, (dist): introduce,
297 (getCursorPos): implement, (drawSelection): implement
299 * insetcollapsable.[Ch]: adjust
301 * insettext.C: adjust, (metrics): set the font before calling
304 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
306 * rename a lot of InsetOld to InsetBase
308 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
311 * insettext.C: par->pit renaming
313 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * Most insets: rename priv_dispatch to doDispatch
317 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
319 * insettabular.C (tabularFeatures): fix multicolumn handling
321 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
323 * render_base.h (operator=): use common semantics
325 * insettext.C (operator=): delete this
326 (copy constructor): implement this properly
327 (init): use for_each and bind
329 (appendParagraphs): ditto
331 * insettabular.C: add more const. Adjust for changes in tabular.
333 * insetbase.h: Use NVI on clone. Add virtual doClone and update
334 all children, also make copy constructor protected. Added some
335 safe-guards to clone.
337 * insets: adjust to fit.
339 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * insetoptarg.C (latexOptional): return number of lines instead of
344 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * insettabular.[Ch] (string2params): Don't pretend to return the
347 active cell anymore and simplify keyword parsing.
349 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * insetlatexaccent.h (isLetter): implement, so that word selection
352 takes accents into account.
354 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
356 * insetcollapsable.C (priv_dispatch): do not push the inset to the
359 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
361 * ExternalSupport.C, insetgraphics.C:
362 s/getFormatFromContents/formats.getFormatFromFile/
364 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
366 * insetcharstyle.[Ch]:
367 * insetert.[Ch]: implement getStatus
369 * insetcharstyle.C (draw): visual clue when the cursor is inside
372 2004-11-02 José Matos <jamatos@lyx.org>
374 * insetcharstyle.C (docbook):
375 * insetlabel.C (linuxdoc, docbook):
376 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
379 * insettabular.C (docbook): mixed content no longer belongs to
382 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
386 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * ExternalSupport.C (updateExternal): convert files in the temp dir
390 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
392 * insetcharstyle.C: drawing cosmetics.
394 2004-10-30 José Matos <jamatos@lyx.org>
396 * insetcharstyle.C (docbook): a compromisse solution. Don't output
397 paragraph tags inside inline elements.
399 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
402 InsetText methods rather than outputVerbatim (escapes special
403 characters) [bug 1731]
404 * insetcharstyle.C (outputVerbatim): remove this function.
405 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
406 which caused an infinite loop.
408 2004-10-29 José Matos <jamatos@lyx.org>
410 * insetgraphics.C (uniqueID): transfered to sgml.C
412 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
414 * insetlabel.C (docbook, linuxdoc):
415 * insetref.C (docbook, linuxdoc): sanitize id.
417 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
420 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
421 * insetgraphics.C (findTargetFormat): reformat
423 2004-10-28 José Matos <jamatos@lyx.org>
425 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
427 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
429 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
431 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
434 "[,,,]" without warning message
436 2004-10-26 Angus Leeming <leeming@lyx.org>
438 * ExternalSupport.C (updateExternal):
439 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
440 external files to the temp directory.
442 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
444 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
445 layouts. This fixes problems with the memoir class (which does not
446 allow \footnote) [bug 1677]
448 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
450 * insetindex.C (docbook): escape the index, to generate correct sgml.
452 2004-10-23 José Matos <jamatos@lyx.org>
454 * insettext.C (docbook): rearrange arguments, due to change in the
457 2004-10-23 André Pönitz <poenitz@gmx.net>
459 * insettabular.C (cutSelection, tabularFereatures):
460 fix cursor position after cutting selection or table rows
462 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
464 * insetgraphics.C (docbook, writeImageObject): write more than one
465 format of imageobjects in <mediaobject>.
467 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
469 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
470 DocBook output for this inset ( <citation>content</citation> )
472 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
474 * insetgraphics.C (docbook) : using mediaobject for XML;
475 correcting bug with SGML output (now '>' instead of '/>')
477 2004-10-05 José Matos <jamatos@lyx.org>
479 * insetfloatlist.C (read):
480 * insetquotes.C (read):
481 * insetspace.C (read):
482 * insetspecialchar.C (read):
483 * insettabular.C (read): replace nextToken by more appropriate lex
486 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
488 * insetgraphics.C (createDocBookAttribute, docbook) :
489 convert scale, width, height and keepaspectratio to Docbook standards)
491 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
492 to Docbook units where possible.
494 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
496 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
498 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
499 as attributes with new method for docbook.
501 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
503 * render_preview.h: Use preferred calling of Boost.Signal
505 * pch.h: use proper signal include
507 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
509 * ExternalTransforms.h: User preferred calling of Boost.Function
511 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
513 * insetref.C (docbook): fixing problem where Docbook XML output
514 had unclosed <xref ... >
516 2004-08-16 José Matos <jamatos@lyx.org>
518 * insethfill.C (write):
519 * insetline.C (write):
520 * insetnewline.C (write):
521 * insetpagebreak.C (write): remove space at end of line.
523 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * insettabular.C (plaintext): do not use ownerPar to get the
528 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
529 and it calls getParentLanguage (which calls ownerPar)
530 (edit): do not call sanitizeEmptyText
531 (priv_dispatch): remove code resetting font on empty inset, for
532 the same reasons as above.
534 * insettabular.C (isRightToLeft): instead of using
535 BufferView::getParentLanguage, use the data from the cursor
537 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
541 * Makefile.am: support pch
543 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * insettabular.C (draw): whitespace
547 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
549 2004-08-14 André Pönitz <poenitz@gmx.net>
551 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
553 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * insettabular.C (metrics): when the width of a cell is zero(),
556 let it use as much space as it can
558 * insettext.C (editXY): compilation fix
560 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
562 (metrics): the insets is not full width any more.
563 (draw): adjust; fix bad test for PREVIEW_OFF
564 (add_preview): fix bad test for PREVIEW_OFF
565 (display): do not return true when using \input
567 2004-08-14 José Matos <jamatos@lyx.org>
569 * insetbibitem.[Ch] (plaintext): added.
571 * insetcite.[Ch]: fix plaintext export.
573 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
575 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
578 * insetcaption.C (InsetCaption): modify call to setDrawFrame
579 * insetcollapsable.C (InsetCollapsable): ditto
580 * insetenv.C (InsetEnvironment): ditto
582 2004-08-14 André Pönitz <poenitz@gmx.net>
585 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
587 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * insetoptarg.C (latexOptional): if the optional argument contains
590 a ']' enclose it in {curly brackets}
592 * insettext.C (editXY):
593 * insettabular.C (editXY):
594 * insetcollapsable.C (editXY):
595 * insetbase.C (editXY): constify
597 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
598 not ask for an update if we did nothing; on a mouse release, make
599 sure that the cursor is moved to the right position; on a mouse
600 release, exit from the inset instead of invoking a
603 * insetbase.C (dispatch): before invoking dispatch, set cursor
604 result to dispatch=update=true.
606 2004-08-13 José Matos <jamatos@lyx.org>
608 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
610 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 * insetfoot.C (latex): use OutputParams::intitle instead of
613 parOwner() (avoids time consuming lookup)
615 * insetquotes.C (latex): same as above with OutputParams::lang.
616 Moreover the code actually works now.
618 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
620 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
621 * insetinclude.C, insetgraphics.C, insetfloat.C:
622 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
623 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
624 "support/std_sstream.h" to <sstream>
626 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * insetgraphics.C (prepareFile): remove conversion_needed flag.
629 It made the following fail for a .eps graphics file:
631 2) view->pdf (pdflatex)
632 because the .eps file was already in the temp dir when the pdflatex
633 export happened and therefore no .eps -> pdf conversion was done.
635 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
637 * insetgraphics.C, insettabular.C: s/wether/whether/g
639 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
641 * insetgraphics.C (stripExtension): new
642 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
644 * insetgraphics.C (prepareFile): Handle "nice" exports, too
645 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
647 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * insetfloatlist.C (latex,getScreenLabel): translate according to
650 the document language (bug #1312)
652 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
655 with external_in_tmpdir and compute filename ourself
656 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
657 use it to store referenced file(s)
658 * ExternalSupport.C (writeExternal): write relative filename if
660 * ExternalTemplate.[Ch]: add ReferencedFile command
661 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
663 * insetgraphics.C (prepareFile): write relative filename if
665 * insetinclude.C (latex, docbook, linuxdoc): add file to
666 runparams.exportdata and write it to the temp dir instead of
667 writing it to the final destination
668 * insetinclude.C (docbook, linuxdoc): don't copy runparams
670 2004-05-19 Angus Leeming <leeming@lyx.org>
672 * insetcite.[Ch]: small change because namespace biblio is
673 now namespace lyx::biblio.
675 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
677 * insettabular.[Ch] (buffer): make Buffer * argument const
679 2004-05-17 Angus Leeming <leeming@lyx.org>
681 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
682 to force the button label to be re-generated.
684 2004-05-14 José Matos <jamatos@lyx.org>
686 * insetlabel (docbook): do not ouput label, for the moment.
688 2004-05-14 Angus Leeming <leeming@lyx.org>
690 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
691 new biblio::asValidLatexString function.
693 2004-05-12 Angus Leeming <leeming@lyx.org>
695 * insetcite.C: use BufferParams::cite_engine rather than the three
696 bools, use_natbib, use_jurabib, use_numerical_citations.
698 2004-05-10 Angus Leeming <leeming@lyx.org>
700 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
701 Ditto with getStyle, moved to biblio::getEngine.
703 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
705 * insetgraphics.C (validate): remove pre 233 file format stuff,
706 handle zipped files for "nice" export
708 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * insetgraphics.C (prepareFile): copy zipped file and corresponding
711 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
712 * insetgraphics.C (prepareFile): unzip zipped file also if it has
713 changed since the last run
714 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
715 and copyFileIfNeeded.
717 2004-04-29 Angus Leeming <leeming@lyx.org>
719 * ExternalTemplate.[Ch]: remove redundant #includes.
721 2004-04-28 Angus Leeming <leeming@lyx.org>
724 s/updateToolbar()/updateToolbars()/
726 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
728 * insetgraphics.C: require file extension (file format change!)
729 * insetgraphics.C (latex): handle zipped files for "nice" export
731 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
733 * insetgraphics.C (latex): strip the extension and replace dots in
734 the filename if doing a "nice" export. This is a partial fix for
735 bug 1231 without reintroducing bug 655.
737 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * insetoptarg.h: remove the editable() method (InsetCollapsable
740 does it better already)
742 * insetbibtex.C (normalize_name): new helper function. Changes the
743 name to be suitable to use in a latex file (relative to master
744 buffer if necessary).
745 (latex): use normalize_name.
747 2004-04-20 Angus Leeming <leeming@lyx.org>
749 * render_preview.C (startLoading): remove lyxerr statement.
751 (getPreviewLoader): new helper function.
753 2004-04-19 Angus Leeming <leeming@lyx.org>
757 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
759 2004-04-19 Angus Leeming <leeming@lyx.org>
761 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
763 (add_preview): renamed as add_preview_and_start_loading. Invoke
764 RenderPreview::startLoading.
766 * insetinclude.C (metrics, draw): changes due to the changed
767 RenderPreview interface.
769 * render_preview.C: remove cached pimage_.
770 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
771 (draw): don't call startLoading. That's up to the user of
774 2004-04-16 Angus Leeming <leeming@lyx.org>
776 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
778 2004-04-13 Angus Leeming <leeming@lyx.org>
780 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
781 the renderer to inform LyX::updateInset that the inset's status
782 has changed and it should be redrawn.
784 * render_button.[Ch] (clone):
785 * render_graphic.[Ch] (c-tors, clone):
786 * render_preview.[Ch] (c-tors, clone): ditto.
788 * render_graphic.[Ch] (connect):
789 * render_preview.[Ch] (connect): removed, as connection is now
790 made in the constructors.
794 * insetinclude.C: ensuing simplification of the client code.
795 (statusChanged): now superfluous. Removed.
797 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * ExternalTemplate.[Ch]: remove editCommand
800 * ExternalSupport.C (editExternal): use formats.edit() instead of
801 the removed editCommand template parameter
802 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
803 * insetgraphics.[Ch] (editGraphics): new method
805 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * insetinclude.C (validate): set/reset features.buffer_ when
810 2004-04-07 Angus Leeming <leeming@lyx.org>
812 * insetexternal.C (priv_dispatch):
813 * insetinclude.C (priv_dispatch): prevent crash by invoking
814 InsetOld::priv_dispatch at the end of the switch, rather than
815 InsetOld::dispatch...
817 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
819 * insetcollapsable.C:
820 * insetbranch.C: 'assign' to open/close branch inset according to
821 selection; also print content on closed branch button
823 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
826 $$RelPath_Master, $$RelPath_Parent, $$Extension,
827 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
829 * ExternalSupport.C (updateExternal): use absolute and output
830 filename where appropriate
832 2004-04-05 André Pönitz <poenitz@gmx.net>
834 * insetbase.h: use LCursor & in notifyCursorLeave
836 2004-04-05 Angus Leeming <leeming@lyx.org>
838 * insetgraphics.C: remove unused header file "lyxrc.h".
840 * render_graphic.C: squash bug 1372: Misleading graphics label when
841 deactivating lyx view.
843 2004-04-05 Angus Leeming <leeming@lyx.org>
848 * insetlatexaccent.C:
853 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
855 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
857 * insetfloat.C (read): fix yesterday's float fix.
858 * insetwrap.C (read): apply the fixed float fix.
860 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
862 * insetfloat.C (read): fix reading of float params
865 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
867 * insettext.C (edit): comment the call to updateLocal (dangling now)
868 * insettext.h: add allowSpellCheck() returning true
870 2004-03-31 Angus Leeming <leeming@lyx.org>
872 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
874 2004-03-31 Angus Leeming <leeming@lyx.org>
876 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
877 the cursor out of an inset.
879 * insetbranch.C (priv_dispatch):
880 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
881 use getOutOfInset to push the cursor out of the inset when
884 2004-03-30 Angus Leeming <leeming@lyx.org>
886 * insetbase.[Ch] (translate): new static member function, returns
887 an InsetBase::Code corresponding to the input string.
889 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
891 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
892 so that it opens the inset if it refers to the currently active
895 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
897 * insetfloat.C (addToToc): use par_const_iterator_begin and
898 par_const_iterator_end.
900 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * insetbibtex.[Ch]: bibtopic support.
904 * insetfloat.[Ch]: add param \sideways {true|false}
905 (support for sideways floats from rotating.sty).
907 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
909 * insettext.[Ch]: add a default ctor. implement const version of
915 * insetwrap.C: adjust
917 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
919 * insettext.h: add insetAllowed returning true by default (fixing
920 vanishing insets problem)
922 * insettext.C (draw): handle the responsability of adding the
923 ouside offset to collapsable. Clean code a bit.
925 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
926 from insettext correctly, solve a couple of off-by-one drawing
929 2004-03-25 Angus Leeming <leeming@lyx.org>
931 * insetcaption.C (draw): squash warning about unused variable.
933 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
935 * ExternalSupport.C: use the master buffer's temp dir
936 * insetgraphics.C (latex): make relative filename relative to the
938 * insetgraphics.C: use the master buffer's temp dir
939 * insetinclude.C (masterFilename): new function
940 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
941 is always true if loadIfNeeded() returns true)
943 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
945 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
946 set its parent to the current buffer.
947 (latex): use the tmppath of the master buffer, not just the parent
948 buffer (makes a difference with more than one level of include
949 insets). If the file name is relative write in the .tex file a
950 name relative to the master buffer directory.
952 * insetinclude.C: rename masterFilename to parentFilename (this
953 points to the direct parent)
955 2004-03-25 André Pönitz <poenitz@gmx.net>
957 * inset.[Ch]: remover owner
959 * insetcollapsable.[Ch]: derive from InsetText instead having such a
967 * insetcharstyle.[Ch]:
975 * insetwrap.C: adjust
977 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * insetquote.C: use opening quote after '[' char.
981 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
983 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
986 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * insetcite.[Ch]: support jurabib.
990 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
992 * insetcite.C: Support second \cite option.
995 * insetcommandparams.[Ch]: add second optional argument.
997 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
999 * insetcollapsable.C (lfunMouseRelease): right mouse button only
1000 shows the inset dialog.
1002 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1004 * insetlabel.[Ch]: remove them
1005 * Makefile.am: adjust
1007 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1009 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
1011 * insetinclude.C (latex): show a GUI warning if textclasses don't
1013 * insetinclude.C: use mangledFilename() for temp files
1014 * insetgraphics.C (readInsetGraphics): remove version check, since
1015 the graphics inset has no own fileformat number anymore
1017 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1019 * insetquotes.[Ch]: added new member that allows direct access
1020 to single/double quotation marks.
1021 * insetnewline.[Ch]:
1022 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
1024 2004-02-16 André Pönitz <poenitz@gmx.net>
1027 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
1028 implicitly assume 'DispatchResult(true, true) with exception of
1029 InsetBase::priv_dispatch which does the equivalent of
1030 'retrun DispatchResult(false)'
1032 * inset*.[Ch] (priv_dispatch): adjust
1034 * insettabular.[Ch]: remove remains of the 'update' mechanism,
1035 simplify cursor moving function,
1036 re-enable horizontal scrolling for large tables
1038 2004-02-13 André Pönitz <poenitz@gmx.net>
1040 * insettabular.[Ch]: some work after IU
1042 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1044 * inset.C (setPosCache): switch to absolute coords in insets
1045 * insettext.[Ch] (draw, drawFrame): adjust
1046 * insetcollapsable.C (draw): adjust
1049 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
1051 * insettext.C (edit):
1052 (updateLocal): use the cur argument instead of the global cursor
1053 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
1055 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1057 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
1059 * insetfloat.C (validate): "H" -> 'H' in call to contains
1061 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
1063 2004-01-30 André Pönitz <poenitz@gmx.net>
1067 * insetcollapsable.[Ch]:
1070 * insetgraphics.[Ch]:
1072 * insettabular.[Ch]:
1075 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
1078 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1080 * insettabular.C: add using statement for std::vector, remove
1081 std:: where using was already used.
1083 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
1087 * insetinclude.C (validate): use feautures.nice() instead of
1090 2004-01-20 André Pönitz <poenitz@gmx.net>
1093 * insetbase.[Ch]: move stuff from mathcursor here.
1095 * insetbibitem.[Ch]:
1099 * insetcharstyle.[Ch]:
1100 * insetcollapsable.[Ch]:
1101 * insetcommand.[Ch]:
1103 * insetexternal.[Ch]:
1105 * insetgraphics.[Ch]:
1106 * insetinclude.[Ch]:
1110 * insettabular.[Ch]:
1114 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1117 2004-01-15 André Pönitz <poenitz@gmx.net>
1120 * insetbibitem.[Ch]:
1124 * insetcharstyle.[Ch]:
1125 * insetcollapsable.[Ch]:
1126 * insetcommand.[Ch]:
1128 * insetexternal.[Ch]:
1130 * insetgraphics.[Ch]:
1131 * insetinclude.[Ch]:
1135 * insettabular.[Ch]:
1139 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1141 2004-01-08 André Pönitz <poenitz@gmx.net>
1143 * insetcollapsable.[Ch]:
1144 * insettabular.[Ch]:
1146 * updatableinset.h: use cell index info from global cursor.
1148 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1150 * insetnote.C (InsetNoteParams::write): write label only once
1152 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1154 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1156 get rid of the SameName functor
1158 * insettabular.C: improve the functor.
1160 2003-12-29 Angus Leeming <leeming@lyx.org>
1162 * insetexternal.C (setParams): update defaultTemplateName.
1164 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1166 * insetbox.C: Use term "Box" in button label
1168 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1170 * insetcharstyle.C: get getDrawFont working again
1172 2003-12-15 André Pönitz <poenitz@gmx.net>
1174 * insettabular.[Ch]:
1175 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1177 2003-12-12 Angus Leeming <leeming@lyx.org>
1179 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1181 (InsetBranchParams): remove the branchlist hack.
1182 (isBranchSelected): new function, used to decide whether to
1183 print each output format. Also used by InsetList.
1184 (read, string2params): repair my own breakage ;-)
1186 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1188 * insetminipage.[Ch]: remove from repository.
1190 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1193 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1194 insetert to insetcollapsable; introduce virtual function
1195 setButtonLabel and invoke it from collapsable
1197 2003-12-12 Angus Leeming <leeming@lyx.org>
1199 * insetinclude.C (draw): cache x,y and so enable the
1200 dialog to be opened.
1202 2003-12-12 Angus Leeming <leeming@lyx.org>
1204 * mailinset.C (print_mailer_error): tidy up the output.
1206 2003-12-11 Angus Leeming <leeming@lyx.org>
1208 * mailinset.[Ch] (print_mailer_error): new helper function.
1210 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1211 calling InsetCommandMailer.
1212 (InsetCommandMailer::string2params): pass the name of the dialog.
1214 * insetbibitem.[Ch] (d-tor):
1215 * insetbibtex.[Ch] (d-tor):
1216 * insetcite.[Ch] (d-tor):
1217 * insetfloatlist.[Ch] (d-tor):
1218 * insetindex.[Ch] (d-tor):
1219 * insetlabel.[Ch] (d-tor):
1220 * insetref.[Ch] (d-tor):
1221 * insettoc.[Ch] (d-tor):
1222 * inseturl.[Ch] (d-tor): removed.
1223 Hiding the dialog is handled by InsetCommand.
1225 * insetbibtex.[Ch] (draw, metrics):
1226 * insetfloatlist.[Ch] (draw, metrics):
1227 * insetindex.[Ch] (draw, metrics): removed.
1228 Drawing is handled by InsetCommand.
1230 * insetbibitem.[Ch] (priv_dispatch):
1231 * insetbibtex.[Ch] (priv_dispatch):
1232 * insetcite.[Ch] (priv_dispatch):
1233 * insetfloatlist.[Ch] (priv_dispatch):
1234 * insetindex.[Ch] (priv_dispatch):
1235 * insetlabel.[Ch] (priv_dispatch):
1236 * insettoc.[Ch] (priv_dispatch):
1237 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1238 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1239 LFUN_INSET_DIALOG_SHOW.
1241 * insetbox.C (string2params):
1242 * insetbranch.C (string2params):
1243 * insetert.C (string2params):
1244 * insetexternal.C (string2params):
1245 * insetfloat.C (string2params):
1246 * insetinclude.C (string2params):
1247 * insetminipage.C (string2params):
1248 * insetnote.C (string2params):
1249 * insetvspace.C (string2params):
1250 * insetwrap.C (string2params): over-hauled.
1252 2003-12-10 Angus Leeming <leeming@lyx.org>
1254 * insetexternal.[Ch]: add a draft option and respect it when
1257 2003-12-10 Angus Leeming <leeming@lyx.org>
1259 * insetbox.C: (read, write): now prepend the inset contents with
1260 'Box' to identify the inset as a box inset.
1262 * insetbox.h: move the translators out of sight.
1264 2003-12-10 Angus Leeming <leeming@lyx.org>
1266 * insetert.C (string2params): clean-up using the new lyxlex interface.
1268 * insetexternal.C: ensure that InsetExternalParams has a default
1269 template, 'RasterImage'.
1271 2003-12-10 Angus Leeming <leeming@lyx.org>
1273 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1274 to an enum. Ensuing clean-ups through out the class.
1275 (read, write): now prepend the inset contents with 'Note' to identify
1276 the inset as a note inset.
1278 2003-12-10 Angus Leeming <leeming@lyx.org>
1280 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1281 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1283 2003-12-10 André Pönitz <poenitz@gmx.net>
1287 * insettabular.[Ch]:
1288 * insettext.[Ch]: remove unused insetInset()
1290 * insetert.C: disable some LFUNs
1292 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1294 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1296 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1298 2003-12-04 Angus Leeming <leeming@lyx.org>
1300 * insetexternal.C (draw): update the xo_, yo_ cache.
1302 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1304 (RotationDataType): new helper struct wrapping the
1305 RotationData::OriginType enum.
1307 2003-12-03 André Pönitz <poenitz@gmx.net>
1309 * inset.h: remove getParagraphs()
1311 * insetcollapsable.[Ch]:
1314 * insettabular.[Ch]:
1315 * insettext.C: use getText() instead of getParagraphs()
1317 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1319 * insetert.C: fix label text updating bug
1321 2003-12-02 Angus Leeming <leeming@lyx.org>
1323 * insetvspace.[Ch] (space): new member function. Make space_ private.
1324 (read): use the new, simpler lyxlex syntax.
1326 2003-12-01 André Pönitz <poenitz@gmx.net>
1328 * insetcollapsable.[Ch]:
1329 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1331 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1333 * insetvspace.C (read): handle 'end_inset' token.
1335 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1337 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1339 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1341 * insetcollapsable.[Ch]:
1343 * insetcharstyle.C: place inset content on the button when
1346 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1348 * insetvspace.C: remove VSpace::NONE; increase inset width
1350 2003-12-01 André Pönitz <poenitz@gmx.net>
1352 * insetbase.h: whitespace
1354 * inset.[Ch]: remove latexTextWidth
1355 make setBackgroundColor virtual
1357 * insettext.[Ch]: move ParagraphList member to LyXText
1359 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1365 * insetminipage.[Ch]:
1367 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1369 2003-11-28 Angus Leeming <leeming@lyx.org>
1371 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1372 hiding and showing the dialog respectively.
1373 (priv_dispatch): also actually update the inset contents.
1375 2003-11-28 Angus Leeming <leeming@lyx.org>
1377 * insetbox.C (d-tor):
1378 * insetbranch.C (d-tor):
1379 * insetcite.C (d-tor):
1380 * insetfloat.C (d-tor):
1381 * insetfloatlist.C (d-tor):
1382 * insetinclude.C (d-tor):
1383 * insetindex.C (d-tor):
1384 simplify the invocation of the Mailer::hideDialog() function.
1386 * insetminipage.C (showInsetDialog):
1387 simplify the invocation of the Mailer::showialog() function.
1389 2003-11-28 André Pönitz <poenitz@gmx.net>
1392 * insetvspace.[Ch]: new insets
1394 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1396 * insetcharstyle.C: Syntax change for CharStyles
1398 2003-11-28 André Pönitz <poenitz@gmx.net>
1400 * updatableinset.h: remove insetInInsetY
1402 * insetcollapsable.[Ch]:
1404 * insettabular.[Ch]:
1405 * insettext.[Ch]: adjust
1407 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1411 * insetcollapsable.[Ch]:
1413 * insettabular.[Ch]: remove setFont
1415 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1417 * render_graphic.[Ch]: adjust comments
1419 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1421 * insetgraphics.C (draw): cache xo_ & yo_
1423 2003-11-24 André Pönitz <poenitz@gmx.net>
1425 * insettext.C (setViewCache): don't call LyXText::init() anymore
1427 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1430 * insetcollapsable.[Ch]:
1431 * insetert.[Ch]: remove bufferview parameter in methods
1432 open, close, status, and updateStatus.
1434 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1436 * insetcollapsable.[Ch]:
1437 * insettabular.[Ch]:
1438 * insettext.[Ch] (getCursorDim): squash unused variable
1440 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1442 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1444 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1446 * insettext.C (draw): sets LyXText absolute coordinates
1448 2003-11-20 Angus Leeming <leeming@lyx.org>
1450 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1451 warnings about unused parameters.
1453 * insetcollapsable.C (open):
1454 * insettabular.C (pasteSelection):
1455 * insettoc.C (draw): ditto.
1457 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1459 * insetcollapsable.C:
1461 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1462 remove mouse_x mouse_y etc.
1464 2003-11-17 André Pönitz <poenitz@gmx.net>
1466 * insettext.[Ch] (cx, cy): remove
1468 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1470 2003-11-13 André Pönitz <poenitz@gmx.net>
1473 * insetcollapsable.[Ch]:
1474 * insettabular.[Ch]:
1475 * insettext.[Ch] (deleteLyXText): remove
1477 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1479 * insetcollapsable.[Ch] (fitInsetCursor): remove
1480 * insettabular.[Ch] (fitInsetCursor): remove
1481 * insettext.[Ch] (fitInsetCursor): remove
1482 * updatableinset.[Ch] (fitInsetCursor): remove
1483 (getCursorDIm): add virtual
1485 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1487 * src/insets/Makefile.am:
1488 * src/insets/inset.h:
1489 * src/insets/insetcharstyle.C:
1490 * src/insets/insetcharstyle.h: The Character Style /XML short
1493 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1495 * insettext.C: remove all update calls
1496 * insetcollapsable.C: remove all update calls
1498 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1500 * insettext.C (updateLocal, insertInset, setFont): remove
1503 2003-11-10 André Pönitz <poenitz@gmx.net>
1505 * inset.h: remove Inset::id_
1507 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1512 2003-11-10 André Pönitz <poenitz@gmx.net>
1516 * insetcollapsable.[Ch]:
1520 * insettabular.[Ch]:
1523 * updatableinset.[Ch]: remove inset locking & adjust
1525 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1527 * inset.h (allowSpellCheck): add (return true)
1528 * insetert.h (allowSpellCheck): add (return false)
1530 2003-11-05 José Matos <jamatos@lyx.org>
1536 * insetcaption.[Ch]:
1538 * insetcollapsable.[Ch]:
1539 * insetcommand.[Ch]:
1542 * insetexternal.[Ch]:
1544 * insetfloatlist.[Ch]:
1546 * insetgraphics.[Ch]:
1548 * insetinclude.[Ch]:
1551 * insetlatexaccent.[Ch]:
1554 * insetmarginal.[Ch]:
1555 * insetminipage.[Ch]:
1556 * insetnewline.[Ch]:
1559 * insetpagebreak.[Ch]:
1563 * insetspecialchar.[Ch]:
1564 * insettabular.[Ch]:
1566 * insettheorem.[Ch]:
1569 * insetwrap.[Ch]: rename ascii to plaintext
1570 and LatexRunParams to OutputParams.
1572 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1574 * insetcollapsable.C (edit): add open() all
1575 * insettext.C (edit): add setViewCache call
1577 2003-11-04 André Pönitz <poenitz@gmx.net>
1579 * inset.h (edit): move locking code from dispatch() to edit()
1585 * insetcollapsable.[Ch]:
1588 * insetexternal.[Ch]:
1589 * insetgraphics.[Ch]:
1594 * insettabular.[Ch]:
1595 * insettext.[Ch]: adjust
1597 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1600 * insetcollapsable.[Ch]:
1602 * insettabular.[Ch]:
1604 * updatableinset.[Ch]: remove dead search code
1606 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1609 * insetcollapsable.[Ch]:
1611 * insettabular.[Ch]:
1613 * updatableinset.[Ch]: remove dead spellcheck code
1615 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1617 * insettabular.C (lockInsetInInset): small fix
1619 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1622 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1623 from here. Be stricter on DispatchResult returned.
1625 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * Inset::dispatch's: adjust for new DispatchResult semantics.
1629 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1631 * render_base.h: make clone return an auto_ptr
1632 * render_button.C (clone): adjust
1633 * render_graphic.C (clone): adjust
1634 * render_preview.C (clone): adjust
1636 * insettheorem.C (clone): return an auto_ptr
1638 * insettext.C (priv_dispatch): exception safety
1640 * insettabular.C: store the file scope variable paste_tabular in a
1641 scoped_ptr, adjust usage.
1643 * insetexternal.C (setParams): exception safety
1645 * insetbibitem.C (clone): exception safety
1647 2003-11-03 André Pönitz <poenitz@gmx.net>
1650 * insetcollapsable.[Ch]:
1651 * insettabular.[Ch]:
1652 * insettext.[Ch]: remove Inset::id and related functions
1654 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1656 * insets: adjust for DispatchResult changes.
1658 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1660 * insetpagebreak.C: fix screen representation & ascii output.
1662 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1666 * insettabular.[Ch]:
1667 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1669 2003-10-31 José Matos <jamatos@lyx.org>
1671 * inset.h (ascii, linuxdoc, docbook):
1672 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1673 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1674 * insetcaption.[Ch] (ascii, docbook):
1675 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1676 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1677 * insetert.[Ch] (ascii, linuxdoc, docbook):
1678 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1679 * insetfloat.[Ch] (linuxdoc, docbook):
1680 * insetfloatlist.[Ch] (ascii):
1681 * insetfoot.[Ch] (docbook):
1682 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1683 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1684 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1685 * insetindex.[Ch] (docbook):
1686 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1687 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1688 * insetline.[Ch] (ascii, linuxdoc, docbook):
1689 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1690 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1691 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1692 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1693 * insetref.[Ch] (ascii, linuxdoc, docbook):
1694 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1695 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1696 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1697 * insettext.[Ch] (ascii, linuxdoc, docbook):
1698 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1699 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1700 * insetwrap.[Ch] (docbook):
1701 add LatexRunParams argument.
1703 2003-10-30 José Matos <jamatos@lyx.org>
1705 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1707 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * updatableinset.C (priv_dispatch):
1710 * insetwrap.C (priv_dispatch):
1711 * inseturl.C (priv_dispatch):
1712 * insettoc.C (priv_dispatch):
1713 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1714 (moveLeftIntern, moveUp, moveDown):
1715 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1716 (moveLeft, moveUp, moveDown):
1717 * insetref.C (priv_dispatch):
1718 * insetnote.C (priv_dispatch):
1719 * insetminipage.C (priv_dispatch):
1720 * insetlabel.C (priv_dispatch):
1721 * insetindex.C (priv_dispatch):
1722 * insetinclude.C (priv_dispatch):
1723 * insetgraphics.C (priv_dispatch):
1724 * insetfloatlist.C (priv_dispatch):
1725 * insetfloat.C (priv_dispatch):
1726 * insetexternal.C (priv_dispatch):
1727 * insetert.C (priv_dispatch):
1728 * insetcommand.C (priv_dispatch):
1729 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1730 * insetcite.C (priv_dispatch):
1731 * insetbranch.C (priv_dispatch):
1732 * insetbox.C (priv_dispatch):
1733 * insetbibtex.C (priv_dispatch):
1734 * insetbibitem.C (priv_dispatch):
1735 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1737 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1739 * insettext.C: small refactoring of docbook stuff
1741 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1744 (priv_dispatch): adjust for operator dispatch_result_t removal
1746 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1747 in a DispatchResult, adjust accordingly.
1748 (priv_dispatch): use strange >= construct... (will be removed later)
1750 * most insets: dispatch_result -> DispatchResult
1752 * insetbase.h: move DispatchResult out to dispatchresult.h
1754 2003-10-27 André Pönitz <poenitz@gmx.net>
1756 * insetpagebreak.[Ch]: new inset for page breaks
1758 * insetline.[Ch]: new inset for vertical lines
1763 2003-10-25 Angus Leeming <leeming@lyx.org>
1765 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1766 new virtual member functions, specialised...
1767 * render_button.h (asButton):
1768 * render_graphic.h (asGraphic):
1769 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1771 * insetexternal.C: use these new functions rather than dynamic_cast.
1772 Various other small simplifications.
1774 2003-10-22 Angus Leeming <leeming@lyx.org>
1776 * insetexternal.[Ch]: add the ability to 'preview' the external file
1779 * insetinclude.C: changes due to the changes in the RenderPreview
1782 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1783 message if the preview image is not available. Only initiate the
1784 loading of the preview from draw(). Ditto, start the monitoring
1785 of an external file from RenderMonitoredPreview::draw.
1787 2003-10-22 Angus Leeming <leeming@lyx.org>
1789 * insetcite.[Ch] (setLoadingBuffer): removed.
1790 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1791 ascertain whether to proceed with the (expensive) task of computing
1792 the natbib-style label. Remove the home-grown hack providing
1793 similar functionality.
1795 2003-10-22 Angus Leeming <leeming@lyx.org>
1797 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1798 class and into an anonymous namespace.
1800 2003-10-22 Angus Leeming <leeming@lyx.org>
1802 * insetcommand.h: remove the display method.
1806 * insetindex.h (InsetPrintIndex):
1807 * insettoc.h: add a display method, returning true.
1809 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1811 * insetcollapsable.h:
1815 * insetinclude.h: (1) finish off the inset display() work;
1816 (2) fix the "is a bit silly" bug (accessing char
1819 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1823 * insetfootlike.h: re-introduce display() for insets,
1824 fixing the various bugs (stretch of line above, math inset
1827 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * insetbase.C (dispatch): new func
1830 (priv_dispatch): new func replaces...
1831 (localDispatch): this, deleted.
1833 * all insets with dispatch modified for new code.
1835 2003-10-15 André Pönitz <poenitz@gmx.net>
1837 * insetcollapsable.[Ch]
1839 * inset.h: re-add some edit(bv, index) method called by undo
1841 2003-10-14 Angus Leeming <leeming@lyx.org>
1843 * insetexternal.[Ch] (view, cache, view_):
1844 * insetgraphics.[Ch] (view, cache, view_):
1845 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1846 (statusChanged): call LyX::cref().updateInset.
1848 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1849 the BufferView cache.
1851 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1854 2003-10-14 Angus Leeming <leeming@lyx.org>
1856 * insetinclude.C (metrics, draw): only draw the preview when previews
1859 2003-10-14 André Pönitz <poenitz@gmx.net>
1861 * insetcollapsable.[Ch]:
1862 * insettabular.[Ch]:
1864 * inset.h: getText() as alternative to getParagraphs()
1866 2003-10-13 Angus Leeming <leeming@lyx.org>
1869 * insetgraphicsParams.C: displayTranslator is now a function.
1871 2003-10-13 Angus Leeming <leeming@lyx.org>
1873 * insetinclude.C: remove #include "PreviewImage.h".
1875 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1877 * ExternalSupport.C:
1878 * ExternalTransforms.C:
1880 * insetbox.h: ws changes only
1882 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * insetinclude.C (localDispatch): do not call
1885 InsetOld::localDispatch, just return UNDISPATCHED
1886 * insetgraphics.C (localDispatch): ditto
1887 * insetcommand.C (localDispatch): ditto
1889 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * inset.h: get rid of RESULT typedef for dispatch_result
1893 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1894 * insetert.[Ch] (localDispatch): ditto
1895 * insettabular.[Ch] (localDispatch): ditto
1900 * insettext.[Ch] (localDispatch): ditto
1903 (moveRightIntern): ditto
1904 (moveLeftIntern): ditto
1907 * updatableinset.[Ch] (localDispatch): ditto
1909 2003-10-12 Angus Leeming <leeming@lyx.org>
1911 * renderbase.h (view, view_): removed.
1912 * renderbase.C: removed.
1913 * Makefile.am: remove render_base.C. The shortest lived file in
1916 * renderbutton.C (draw):
1917 * render_graphic.C (draw): don't cache the BufferView.
1919 * insetabase.h (cache, view): removed.
1921 * inset.h (generatePreview) removed.
1923 * insetcallapsable.[Ch] (cache, view, view_): removed.
1925 * insetcollapsable.C (draw): don't cache the BufferView.
1927 * insetcommand.[Ch] (view): removed.
1929 * insetexternal.[Ch] (cache, view, view_):
1930 * insetgraphics.[Ch] (cache, view, view_):
1931 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1933 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1934 when you have direct access to it. In fact, don't use the cache at all.
1936 2003-10-10 Angus Leeming <leeming@lyx.org>
1938 * insetinclude.C (metrics): use preview_->metrics.
1939 (draw): use preview_->draw.
1941 * render_preview.[Ch] (pimage): removed.
1943 2003-10-10 Angus Leeming <leeming@lyx.org>
1945 * renderers.[Ch]: removed.
1948 * render_button.[Ch]:
1949 * render_graphic.[Ch]:
1950 * render_preview.[Ch]: new files. The first three are split out of
1951 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1952 contains a re-worked InsetInclude::PreviewImpl also.
1954 * Makefile.am: reflect the changed files.
1957 * insetexternal.[Ch]:
1958 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1960 * insetinclude.[Ch]: changes reflecting the change from
1961 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1967 * inseturl.C: add #include "support/std_ostream.h"
1969 2003-10-09 Angus Leeming <leeming@lyx.org>
1971 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1972 to PreviewedInset::previewReady.
1974 2003-10-09 Angus Leeming <leeming@lyx.org>
1976 * insetexternal.[Ch] (statusChanged):
1977 * insetgraphics.[Ch] (statusChanged): make a const member function.
1979 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1982 2003-10-09 Angus Leeming <leeming@lyx.org>
1984 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1985 to PreviewedInset's previewReady and removePreview member functions.
1987 2003-10-08 André Pönitz <poenitz@gmx.net>
1989 * insetcollapsable.C:
1990 * insettext.[Ch]: saner 'init' structure
1992 * updatableinset.[Ch]: remove unneeded code
1994 2003-10-08 Angus Leeming <leeming@lyx.org>
1996 Fix doxygen warnings.
1998 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1999 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
2001 2003-10-07 Angus Leeming <leeming@lyx.org>
2003 * ExternalTransforms.[Ch]: new files, detailing transforms that can
2004 be applied to InsetExternal.
2006 * Makefile.am: add these new files.
2008 * ExternalTemplate.[Ch]: add a list of available transforms to
2009 class Template and a list of factory functions for transformer classes
2010 that can act on this data to class Format.
2012 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
2014 * ExternalSupport.C: Add code to replace transform placeholders
2015 with appropriate output.
2017 2003-10-07 Angus Leeming <leeming@lyx.org>
2019 * ExternalSupport.[Ch]: new files, moving the private member functions
2020 and namespace anon functions out of insetexternal.C to here, so making
2021 it easier to understand what is going on in insetexternal itself.
2023 * Makefile.am: add new files.
2025 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
2026 allowing the class to be forward declared. (Also consistent with
2027 all other Params classes.)
2028 (write): moved out of the class. Move this function and those in
2029 namespace anon to ExternalSupport.[Ch].
2031 2003-10-07 Angus Leeming <leeming@lyx.org>
2033 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
2034 non-const member function.
2036 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2041 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
2043 2003-10-02 André Pönitz <poenitz@gmx.net>
2045 * insettext.C (read): make sure there is at least one par
2046 in the text after reading.
2048 2003-10-01 José Matos <jamatos@lyx.org>
2050 * insetbranch.C (linuxdoc, docbook): minor fix.
2052 2003-10-01 Angus Leeming <leeming@lyx.org>
2054 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
2056 * insetexternal.[Ch]: changes due to the introduction of
2057 namespace lyx::external.
2059 2003-09-30 Angus Leeming <leeming@lyx.org>
2061 * insetexternal.[Ch] (Params::read, write): new member functions.
2063 2003-09-25 Angus Leeming <leeming@lyx.org>
2065 * insetexternal.[Ch] (TempName): new (private) nested struct with
2066 fake copy semantics. Enables us to use the generated copy c-tor
2067 in the Params struct.
2068 (Params::templatename, Params::tempname): use accessor functions.
2070 2003-09-25 Angus Leeming <leeming@lyx.org>
2072 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
2073 function, returning a const pointer.
2075 2003-09-23 Angus Leeming <leeming@lyx.org>
2077 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
2078 store them in a vector, preambleNames.
2080 * insetexternal.C (validate): loop over all preambleNames and call
2081 LaTeXFeatures::addExternalPreamble with each.
2083 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2085 * insetbranch.C: bug fix in branches
2087 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2089 * insetnote.C: small clean-up.
2091 2003-09-19 Angus Leeming <leeming@lyx.org>
2093 * inset.h (generatePreview): passed a 'Buffer const &' arg.
2095 * insetcommand.C (string2params): clear params using the default c-tor.
2097 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2098 InsetInclude::Params. No more data in this struct than in
2099 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2100 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2101 (clone): remove #warning as it's now redundant.
2102 (set): add a 'Buffer const &' arg. Make private.
2103 (loadIfNeeded) move out of the class definition and into namespace anon.
2104 (getMasterFilename, getFileName): ditto.
2106 2003-09-18 Angus Leeming <leeming@lyx.org>
2108 * insetcommand.C (setParams): use the params' copy constructor.
2110 2003-09-18 Angus Leeming <leeming@lyx.org>
2112 * insetinsetbase.h (getLabelList):
2113 * insetinsetcollapsable.[Ch] (getLabelList):
2114 * insetinsetinclude.[Ch] (getLabelList):
2115 * insetinsetlabel.[Ch] (getLabelList):
2116 * insetinsettabular.[Ch] (getLabelList):
2117 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2118 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2120 2003-09-18 Angus Leeming <leeming@lyx.org>
2122 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2123 redundant baggage from yesteryear.
2124 Remove Params::flag as it is redundant; the info is present in
2127 2003-09-18 Angus Leeming <leeming@lyx.org>
2129 * insetinclude.C (latexString): add a Buffer const & arg.
2131 2003-09-18 Angus Leeming <leeming@lyx.org>
2136 * insettext.h: rename EnumLColor as LColor_color.
2138 2003-09-18 Angus Leeming <leeming@lyx.org>
2140 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2141 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2143 2003-09-16 Angus Leeming <leeming@lyx.org>
2145 * insetinclude.C (localDispatch): ensure that
2146 params_.masterFilename_ is set before trying to generate a
2147 preview, else we trigger an assert.
2149 2003-09-16 Angus Leeming <leeming@lyx.org>
2151 * insetinclude.C (PreviewImpl::parent): return a const reference.
2153 2003-09-16 Angus Leeming <leeming@lyx.org>
2155 * insetcollapsable.[Ch]: make all member variables, except for
2158 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2159 than access labelfont directly.
2160 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2161 use InsetCollapsable::setCollapsed, isOpen rather than access
2162 collapsed_ directly.
2164 * insetminipage.C (metrics):
2165 * insetnote.C (metrics):
2166 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2167 access collapsed_ directly.
2169 2003-09-16 Angus Leeming <leeming@lyx.org>
2171 * insetbibitem.C: add #include "lyxfont.h".
2173 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * insetbibtex.C: use namespace alias for lyx::support::os
2178 2003-09-16 Angus Leeming <leeming@lyx.org>
2180 * insetcollapsable.h: remove unused framecolor variable.
2181 Remove #include "LColor.h".
2183 * insetcollapsable.C: remove unused framecolor variable.
2186 * insetcollapsable.C:
2194 Add #include "LColor.h".
2196 2003-09-16 Angus Leeming <leeming@lyx.org>
2198 * insettext.[Ch] (frameColor): new accessor function.
2199 (frame_color_): stored as an int, allows us to remove #include
2200 "LColor.h" from insettext.h
2205 add #include "LColor.h".
2207 * insetcollapsable.h: add #include "LColor.h"
2208 (for its framecolor member variable).
2210 2003-09-16 Angus Leeming <leeming@lyx.org>
2212 * insetenv.C (constructor): use accessor functions to access
2213 InsetText variables.
2215 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2216 rename frame_color as frame_color_. Make private.
2218 * insettext.C: associated changes.
2220 2003-09-16 Angus Leeming <leeming@lyx.org>
2222 * inset.h: store background_color_ as an int, not as an
2223 LColor::color to get LColor.h out of the header file.
2226 * insetlatexaccent.C:
2229 * insetspecialchar.C:
2231 add #include "LColor.h".
2233 2003-09-16 Angus Leeming <leeming@lyx.org>
2235 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2236 cannot string calls together.
2238 2003-09-15 Angus Leeming <leeming@lyx.org>
2240 * inset.[Ch] (setBackgroundColor, backgroundColor):
2241 * insettext.[Ch] (setFrameColor):
2242 pass EnumLColor args, rather than LColor::color ones.
2244 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * insetwrap.C: remove usage of STRCONV
2256 2003-09-15 Angus Leeming <leeming@lyx.org>
2258 * renderers.C (draw):
2259 * insetlatexaccent.C (draw): explicitly define the color passed to
2262 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2264 * insettext.C: remove block causing problems in lockInsetInInset
2265 (mentioned erroneously under Bug #1366)
2267 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2269 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2272 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2274 * several files: change Assert to BOOST_ASSERT
2276 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2278 * insettext.[Ch]: remove drawText[XY]Offset
2280 2003-09-08 Angus Leeming <leeming@lyx.org>
2282 * insetcollapsable.C:
2287 * insetspecialchar.C:
2290 * insettoc.C: remove redundant using directives.
2292 2003-09-07 Angus Leeming <leeming@lyx.org>
2295 * insetspecialchar.h: remove #include "support/std_string.h".
2297 2003-09-06 Angus Leeming <leeming@lyx.org>
2299 * renderers.C: add #include "insets/inset.h"
2301 2003-09-05 Angus Leeming <leeming@lyx.org>
2303 * *.C: strip out redundant #includes. (193 in total.)
2305 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2307 * insets/insetbibtex.[Ch]:
2308 * insets/insetcommand.h:
2309 * insets/insetfloatlist.[Ch]:
2310 * insets/insetinclude.[Ch]:
2311 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2312 of insets like bibtex, include, toc and floatlist to the visible
2313 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2314 up the dialogs. Cursor has to be in front of the inset (i.e.
2315 start of row) for this to function.
2317 2003-09-04 Angus Leeming <leeming@lyx.org>
2319 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2320 structure outside of the Format struct. Format::preambleName refers to
2321 an item in the map of all preamble snippets.
2322 Make use of the new Debug::EXTERNAL flag.
2324 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2325 (validate): Small change due to the changed storage of preamble
2328 2003-09-04 Angus Leeming <leeming@lyx.org>
2330 * insetgraphics.C: #include "support/os.h"
2332 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2333 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2334 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2336 * insetcollapsable.h:
2338 * insetnote.C: move #include "funcrequest.h" out of the header file.
2340 2003-09-03 Angus Leeming <leeming@lyx.org>
2342 * insetexternal.C (updateExternal):
2343 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2346 2003-09-03 Angus Leeming <leeming@lyx.org>
2348 * insetexternal.C: don't bring namespace lyx::support into the global
2351 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2353 * insetbranch.C: Add Branch: to label
2355 2003-09-02 John Levon <levon@movementarian.org>
2358 * insettext.C: remove cursor.i[xy]()
2360 2003-08-28 Angus Leeming <leeming@lyx.org>
2362 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2363 "sh ", enabling the conversion to be carried out even if the script
2366 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2368 * most files: change to use const Buffer refs
2370 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2372 * insetfootlike.C: whitespace.
2374 2003-08-26 John Levon <levon@movementarian.org>
2378 * insetindex.h: remove remaining mentions of needFullRow()
2380 2003-08-26 André Pönitz <poenitz@gmx.net>
2386 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2388 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2390 * insetbranch.C: Small fix to prevent a crash on loading.
2392 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2397 * insetcollapsable.h:
2399 * insetfloatlist.[Ch]:
2400 * insetfootlike.[Ch]:
2401 * insetinclude.[Ch]:
2407 * insettheorem.[Ch]:
2408 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2409 altogether, putting the logic in metrics/draw in the insets.=20
2410 Draws short single row insets with more or less realistic metrics.
2412 2003-08-19 André Pönitz <poenitz@gmx.net>
2414 * insettext.C: use new RowPainter interface
2416 2003-08-18 John Levon <levon@movementarian.org>
2418 * insetref.C: require amsmath for eqref
2420 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2424 * insetbranch.[Ch]: implements the 'branch inset'
2425 idea. This allows the output of various versions of a document
2426 from a single source version, selectively outputing or suppressing
2427 output of parts of the text.
2428 This implementation contains a 'branch list editor' in a separate
2429 tab of the document settings dialog. Branches are user definable
2430 and have a "display colour" to distinguish them on-screen.
2432 ColorHandler was somewhat cleaned up.
2433 (1) make possible a dynamically growing LColor list by allowing
2434 the graphic context cache to grow along (vector);
2435 (2) eliminate an IMHO unnecessary step in colour allocation.
2437 2003-08-15 André Pönitz <poenitz@gmx.net>
2439 * insettext.[Ch]: adjust after rowlist split
2441 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2443 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2444 rename valign-center to valign-middle;
2445 rename VALIGN_CENTER to VALIGN_MIDDLE
2447 2003-08-11 André Pönitz <poenitz@gmx.net>
2449 * inset.h: remove resizeLyXText
2452 * insetcollapsable.[Ch]:
2454 * insettabular.[Ch]: adjust
2456 * insettext.[Ch]: remove saveLyXTextState,
2457 restoreLyXTextStat, sstate, reinitLyXText
2459 2003-08-07 André Pönitz <poenitz@gmx.net>
2461 * inset.[Ch]: move non-crucial functions out-of-line
2463 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2464 remove duplicated code.
2466 2003-08-05 André Pönitz <poenitz@gmx.net>
2469 * insetcollapsable.[Ch]:
2479 * insettabular.[Ch]:
2482 * updatableinset.[Ch]: rip out "deep update"
2484 * insettext.C (localDispatch): merge cases with default branch
2486 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2488 * insettabular.[Ch] (updateLocal): simplify logic
2490 2003-08-04 André Pönitz <poenitz@gmx.net>
2492 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2493 is 'FULL' all the time.
2495 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * insetert.C (get_new_label): only add ... to the (closed) label
2498 when the string has been shortened
2500 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2502 * Always use std::endl with lyxerr
2504 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2506 * insetnote.C: update \author list
2508 2003-07-31 André Pönitz <poenitz@gmx.net>
2510 * insetcollapsable.h:
2511 * insettabular.[Ch]:
2512 * insettext.[Ch]: remove toggleSelection
2514 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2516 (with help from Juergen Spitzmueller)
2517 * insetnote.C: add add i18n support. Use Prefs-definable
2518 colours for Comment and Greyedout.
2520 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2522 * insetcollapsable.[Ch]:
2524 * insetert.C: factor out the detection of clicking on the inset
2525 button as 'hitButton'. John Levon contributed.
2527 2003-07-30 André Pönitz <poenitz@gmx.net>
2529 * insetcollapsable.C:
2531 * insettabular.C: parantheses, localize vars etc.
2533 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2535 * insetnote.C: Implement a newenvironment in preamble for
2536 greyedout. Patch provided by Jürgen Spitzmüller.
2538 2003-07-29 Angus Leeming <leeming@lyx.org>
2540 * insetcommand.C (localDispatch): default to
2541 InsetOld::localDispatch.
2543 * insetbibitem.C (localDispatch):
2544 * insetbibtex.C (localDispatch): remove call to
2545 ChangeCitationsIfUnique.
2547 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2549 * insetexternal.C (read): use pushpophelper.
2551 2003-07-28 José Matos <jamatos@lyx.org>
2553 * insetext.C (read): \end_document replaces \the_end.
2555 2003-07-28 José Matos <jamatos@fep.up.pt>
2557 * insetert.C (write): \layout -> \begin_layout.
2558 Add missing \end_layout.
2560 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * insetquotes.C: document a bit the format
2564 * insettabular.C (write): remove extra space
2566 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2567 * insetnote.C: Umpf. Hope I *now* get it right :-(
2569 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2570 *insetnote.C: did the right fix to greyedout: \color
2571 instead of \textcolor.
2573 2003-07-28 Angus Leeming <leeming@lyx.org>
2575 * insetbibtex.h: remove extraneous forward declaration.
2578 * insetbibtex.h: Also remove long-dead Holder member class
2581 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2583 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2586 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * insetwrap.C (addToToc): adjust for lyx::toc
2590 * insetfloatlist.C (ascii): adjust for lyx::toc
2592 * insetfloat.C (addToToc): adjust for lyx::toc
2594 2003-07-27 José Matos <jamatos@fep.up.pt>
2596 * insetnote.h (linuxdoc,docbook): update support.
2598 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2600 * insetfloat.C (wide): add a space to label, for consistency
2602 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * insettext.C (nextChange): adjust for lyx::find
2605 (searchForward): ditto
2606 (searchBackward): ditto
2608 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2610 * insetgraphicsParams.C:
2611 * insetexternal.C: declare extern displayTranslator
2614 * renderers.C: add #include "support/LAssert.h"
2616 2003-07-27 José Matos <jamatos@fep.up.pt>
2618 * insetfloat.[Ch] (linuxdoc):
2619 * insetgraphics.C (linuxdoc):
2620 * insettabular.C (linuxdoc):
2621 * insettext.[Ch] (linuxdoc): add support for tables and figures
2624 2003-07-27 José Matos <jamatos@fep.up.pt>
2626 * insetinclude (latex): comply with makeLaTeXFile argument change.
2628 2003-07-26 Asger Alstrup <alstrup@local>
2630 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2631 the undo crashes. We'll see what problems other places this will
2634 2003-07-26 Angus Leeming <leeming@lyx.org>
2636 * insetgraphics.C: remove unused declaration of system_tempdir.
2638 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * rename Inset to InsetOld
2642 * all inset files (clone): return a auto_ptr<InsetBase>
2644 2003-07-23 Angus Leeming <leeming@lyx.org>
2646 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2648 2003-07-23 Angus Leeming <leeming@lyx.org>
2650 * mailinset.[Ch] (inset2string):
2651 * insetcommand.[Ch] (inset2string):
2652 * insetert.[Ch] (inset2string):
2653 * insetexternal.[Ch] (inset2string):
2654 * insetfloat.[Ch] (inset2string):
2655 * insetgraphics.[Ch] (inset2string):
2656 * insetinclude.[Ch] (inset2string):
2657 * insetminipage.[Ch] (inset2string):
2658 * insetnote.[Ch] (inset2string):
2659 * insettabular.[Ch] (inset2string):
2660 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2662 * insetexternal.[Ch]:
2663 * insetgraphics.[Ch]: get rid of the view() function. Associated
2664 changes to the mailers' string2params and params2string functions.
2666 2003-07-23 Angus Leeming <leeming@lyx.org>
2668 * insetexternal.[Ch]: store the external file name in a FileName
2669 member variable rather than a string + associated changes.
2671 2003-07-21 Angus Leeming <leeming@lyx.org>
2673 * insetgraphicsParams.[Ch]: store the graphics file name in
2674 a FileName member variable rather than a string.
2676 * insetgraphics.[Ch]:
2677 * insetgraphicsParams.[Ch]: Associated changes.
2679 2003-07-21 Angus Leeming <leeming@lyx.org>
2681 * insetgraphics.[Ch] (string2params, params2string): passed a
2682 buffer_path argument.
2685 2003-07-21 Angus Leeming <leeming@lyx.org>
2688 * insetgraphicsParams.[Ch]:
2690 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2692 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2694 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2696 2003-07-18 André Pönitz <poenitz@gmx.net>
2699 * insetminipage.[Ch]:
2700 * insettabular.[Ch]:
2703 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2705 2003-07-18 André Pönitz <poenitz@gmx.net>
2709 * insetcollapsable.C:
2713 * insetgraphics.[Ch]:
2714 * insetlatexaccent.[Ch]:
2719 * insetspecialchar.C:
2720 * insettabular.[Ch]:
2722 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2724 2003-07-17 André Pönitz <poenitz@gmx.net>
2726 * insetcollapsable.C:
2728 * insettext.C: don't call Inset::update() anymore
2731 * insettabular.[Ch]: remove unneeded in_update_ members
2733 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2735 2003-07-16 André Pönitz <poenitz@gmx.net>
2737 * insettext.C (selectAll): remove
2739 2003-07-16 John Levon <levon@movementarian.org>
2742 * insetnote.C: implement showInsetDialog()
2744 2003-07-15 André Pönitz <poenitz@gmx.net>
2747 * insettext.C: refresh_status tristate -> need_update bool
2749 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2751 * insettext.C: adjust call to LyXText::init
2753 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2755 * insettext.C: use bufferview_funcs->replaceSelection()
2756 to delete selections in some cases (bugs 441, 673, 702, 954).
2758 2003-07-14 André Pönitz <poenitz@gmx.net>
2760 * insettext.C (draw): use slimmed down rowpainter interface
2762 2003-07-14 André Pönitz <poenitz@gmx.net>
2764 * insetcollapsable.C:
2766 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2767 remove unused BufferView * argument
2769 2003-07-14 André Pönitz <poenitz@gmx.net>
2771 * insettext.[Ch]: used cached metrics a bit more
2773 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2775 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2777 2003-07-10 André Pönitz <poenitz@gmx.net>
2780 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2782 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2784 * introduce namespace lyx::graphics
2786 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * introduce namespace lyx::support
2790 2003-06-30 André Pönitz <poenitz@gmx.net>
2792 * insetcite.C (localDispatch): fix case of missing return value
2794 * insetcite.C (ascii): remove unneeded temporary
2796 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2798 * insetspace.h: fix \file
2800 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2801 * insetinclude.C (fillWithBibKeys): ditto
2803 * insetbibitem.C: fix type const order
2805 * inset.C (getLyXText): add varname for arg
2807 * ExternalTemplate.h: fix type const order
2809 2003-06-27 André Pönitz <poenitz@gmx.net>
2811 * insettext.C: take care of removed LyXCursor::row_ member
2813 * insettext.[Ch]: use new TextCursor struct for sstate
2815 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2817 * inseterror.[Ch]: removed
2819 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2821 * insetinclude.C (docbook): use parseError instead of sgmlError
2823 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2825 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2826 of BufferList::loadLyXFile
2828 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * insettext.C (update): simplify
2831 (updateLocal): remove commented code
2832 (insetUnlock): simplify
2833 (lockInset): simplify
2834 (updateInsetInInset): simplify
2835 (localDispatch): simplify
2837 (resizeLyXText): simplify
2838 (collapseParagraphs): simplify
2840 * insetert.C (get_new_label): simplify
2842 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2844 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2845 pasteSelection with index
2847 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2849 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2851 2003-06-16 André Pönitz <poenitz@gmx.net>
2853 * insetbase.h: new virtual base function clone()
2855 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2856 Inset * clone() -> InsetBase * clone()
2858 2003-06-13 André Pönitz <poenitz@gmx.net>
2860 * insettabular.[Ch]: make tabular a proper member
2862 2003-06-12 André Pönitz <poenitz@gmx.net>
2864 * insettabular.[Ch]: some renaming plus whitespace
2866 2003-06-11 Angus Leeming <leeming@lyx.org>
2868 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2871 * insetbutton.[Ch]: removed.
2872 * graphicinset.[Ch]: renamed as renderers.[Ch].
2874 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2875 Create a new class ButtonRenderer using the InsetButton::metrics() and
2877 Derive both from a common RenderedInset base class.
2879 * insetcommand.[Ch]:
2880 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2881 Give it a ButtonRenderer member variable. Use it.
2882 Give the classes working copy c-tors.
2883 No longer derive from boost::noncopyable.
2885 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2886 display its contents as a button or as a graphic.
2888 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2891 2003-06-11 Angus Leeming <leeming@lyx.org>
2893 * insetcite.C (localDispatch): reformat.
2895 * insetref.C (localDispatch): enable dialog to be lauched.
2897 2003-06-11 John Levon <levon@movementarian.org>
2899 * insettabular.C: correctly mark all cells as erased
2901 2003-06-11 Angus Leeming <leeming@lyx.org>
2903 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2904 ExternalTemplate but its name, templatename. This means that a file
2905 containing a reference to an External Template not installed on the
2906 current machine will be saved retaining this info rather than inserting
2907 the first "valid" template from the list of templates.
2909 As a by product, the visual statement that the Template is missing is
2912 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2914 * insettext.C (appendParagraphs): remove some commented code.
2916 2003-06-10 Angus Leeming <leeming@lyx.org>
2918 * graphicinset.[Ch] (view): removed the publicly accessible
2919 function to set the cache.
2921 * insetexternal.[Ch]: move tempname_ into the Params struct.
2922 (Params d-tor): new function, to clean-up this temp file.
2923 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2925 (editExternal, doSubstitution): move out of class.
2927 2003-06-10 Angus Leeming <leeming@lyx.org>
2929 * graphicinset.[Ch] (params): removed.
2930 * graphicinset.h (operator=): declared private but not defined.
2931 (statusMessage): made private.
2933 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2935 2003-06-07 John Levon <levon@movementarian.org>
2937 * insetert.C (latex): make a newline mean just that not
2940 2003-06-07 José Matos <jamatos@fep.up.pt>
2942 * insethfill.[Ch] (linuxdoc, docbook): implement output
2943 * insetspace.C (linuxdoc, docbook): remove coments as the code
2946 2003-06-06 José Matos <jamatos@fep.up.pt>
2948 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2950 2003-06-06 André Pönitz <poenitz@gmx.net>
2952 * insetwrap.[Ch]: code compactification
2954 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2956 * mailinset.C (updateDialog): use Dialogs::visible
2958 2003-06-04 Angus Leeming <leeming@lyx.org>
2960 * graphicinset.C (draw): add a comment for the #if 0 block.
2962 * insetexternal.h: remove Params::parameters variable.
2964 * insetexternal.C (read, write): rewrite to output new ExternalInset
2965 format and read it back making full use of LyXLex.
2967 2003-06-04 André Pönitz <poenitz@gmx.net>
2969 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2971 2003-06-04 John Levon <levon@movementarian.org>
2973 * insettabular.C: back out tall table speed up. It was broken
2975 2003-06-03 Angus Leeming <leeming@lyx.org>
2977 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2978 Remove ViewCommand and UpdateCommand.
2980 * graphicinset.C (update): bug fix. Set the params before calling the
2983 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2984 the BufferView cache to enable the InsetExternal::editCommand to
2985 be invoked from the frontends. Would not be needed if this were
2986 dispatched properly.
2987 (old_ascent_): variable removed.
2989 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2990 do any necessary conversions of external material. Also use the
2991 new GraphicsInset to display the inset within LyX.
2993 2003-06-03 Angus Leeming <leeming@lyx.org>
2995 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2996 and move it somewhere where InsetExternal can use it too.
2998 * Makefile.am: add the new files.
3000 * insetgraphics.[Ch]: make use of the new GraphicInset.
3002 2003-06-03 John Levon <levon@movementarian.org>
3005 * insetbibitem.[Ch]:
3008 * insetcommand.[Ch]:
3012 * insetexternal.[Ch]:
3016 * insetgraphics.[Ch]:
3018 * insetinclude.[Ch]:
3021 * insetlatexaccent.[Ch]:
3022 * insetmarginal.[Ch]:
3023 * insetminipage.[Ch]:
3030 * insetspecialchar.[Ch]:
3031 * insettabular.[Ch]:
3033 * insetthereom.[Ch]:
3036 * insetwrap.[Ch]: make clone() not take a Buffer * arg
3038 * insetgraphics.[Ch]:
3039 * insetgraphicsParams.[Ch]: always store an absolute
3042 2003-06-02 André Pönitz <poenitz@gmx.net>
3046 * insetlatexaccent.C: remove duplicated call to metrics()
3048 2003-06-02 John Levon <levon@movementarian.org>
3050 * insettabular.C: fix resize of column width
3052 2003-06-02 John Levon <levon@movementarian.org>
3057 * insetparent.C: remove insetparent
3059 2003-06-02 André Pönitz <poenitz@gmx.net>
3066 * insetcollapsable.[Ch]:
3070 * insetgraphics.[Ch]:
3071 * insetinclude.[Ch]:
3072 * insetlatexaccent.[Ch]:
3073 * insetminipage.[Ch]:
3074 * insetnewline.[Ch]:
3077 * insetspecialchar.[Ch]:
3078 * insettabular.[Ch]:
3079 * insettext.[Ch]: unify first drawing phase
3082 * insetbase.h: move validate() to the base
3084 2003-05-31 Angus Leeming <leeming@lyx.org>
3086 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
3088 2003-05-30 André Pönitz <poenitz@gmx.net>
3093 * insetcaption.[Ch]:
3094 * insetcollapsable.[Ch]:
3097 * insetgraphics.[Ch]:
3098 * insetinclude.[Ch]:
3099 * insetlatexaccent.[Ch]:
3100 * insetnewline.[Ch]:
3103 * insetspecialchar.[Ch]:
3104 * insettabular.[Ch]:
3106 * updatableinset.[Ch]: unify second drawing phase
3108 2003-05-30 John Levon <levon@movementarian.org>
3110 * insetgraphics.C: fix a bformat
3112 2003-05-29 John Levon <levon@movementarian.org>
3114 * insettabular.C: remove unused bufferOwner()
3116 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * insettext.C (lockInsetInInset): adjust
3119 (getLabelList): use const_iterator, adjust
3120 (getInsetFromID): use const_iterator, adjust
3121 (addPreview): use const_iterator, adjust
3123 * insetwrap.C (clone): remove const_cast
3125 * insetnote.C (clone): remove const_cast
3127 * insetminipage.C (clone): remove const_cast
3129 * insetmarginal.C (clone): remove const_cast
3131 * insetfoot.C (clone): remove const_cast
3133 * insetfloat.C (clone): remove const_cast
3135 * insetert.C (clone): remove const_cast
3137 * delete commented same_id functions from a lot of files.
3139 2003-05-28 John Levon <levon@movementarian.org>
3145 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3147 * insetminipage.C: fix metrics (bug 1144)
3149 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * insettext.C (saveLyXTextState): adjust
3152 (restoreLyXTextState): adjust
3155 (unlockInsetInInset): adjust
3156 (localDispatch): adjust
3157 (getLyXText): adjust
3159 * insettabular.C (insertAsciiString): adjust
3161 2003-05-27 André Pönitz <poenitz@gmx.net>
3164 * insetcollapsable.C:
3167 * insetlatexaccent.C:
3172 * insetspecialchar.C:
3174 * insettext.C: dim.w -> dim.wid
3176 2003-05-26 John Levon <levon@movementarian.org>
3178 * insettabular.C: avoid drawing all of a long table
3179 if it's not needed. A big speedup
3181 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * remove same_id from function signatures, adjust
3185 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * insettext.C (InsetText): adjust
3189 (setParagraphData): separate same_id cases, adjust
3190 (appendParagraphs): adjust
3191 (appendParagraphs): adjust
3193 2003-05-23 André Pönitz <poenitz@gmx.net>
3195 * insetbutton.h: whitespace
3197 * insettabular.C: more compact code
3199 * updatableinset.C: remove const_cast
3202 2003-05-23 Angus Leeming <leeming@lyx.org>
3204 * insetexternal.C (write): check how many lines are output.
3205 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3206 if the template has defined it.
3208 2003-05-23 Angus Leeming <leeming@lyx.org>
3210 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3212 2003-05-23 Angus Leeming <leeming@lyx.org>
3214 * insetfoot.C (latex):
3215 * inseturl.C (latex): rename fragile as moving_arg.
3217 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * inseterror.C (localDispatch): comment out unused var.
3221 2003-05-22 Angus Leeming <leeming@lyx.org>
3223 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3224 passed through the LatexRunParams arg.
3226 2003-05-22 Angus Leeming <leeming@lyx.org>
3228 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3229 through the LatexRunParams arg.
3231 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3232 arg rather than through a global var.
3234 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * insetspecialchar.C (dimension): use a string.
3238 2003-05-22 Angus Leeming <leeming@lyx.org>
3240 * insetbibtex.C (latex):
3241 * insetgraphics.C (latex):
3242 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3243 runparams rather than from the buffer itself.
3245 2003-05-22 Angus Leeming <leeming@lyx.org>
3247 * inset*.[Ch] (latex):
3248 passed a LatexRunParams parameter.
3250 * insetgraphics.C (latex): actually use it ;-)
3252 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3254 * insetfloat.C (addToToc): trivial compile fix
3256 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * insettext.[Ch] (paragraph): delete unused function
3260 * insetfloat.C (addToToc): parlist simplfication
3262 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3264 * insetspace.[Ch]: added (new space insets)
3266 * inset.h: handle new space insets
3268 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * insetfloat.C (addToToc): adjust
3272 2003-05-21 André Pönitz <poenitz@gmx.net>
3274 * insettext.[Ch]: fix drawing bug introduced earlier
3276 2003-05-19 André Pönitz <poenitz@gmx.net>
3278 * insetspecialchar.C: fix bug introduced yesterday
3280 2003-05-19 André Pönitz <poenitz@gmx.net>
3284 * insetcollapsable.[Ch]:
3288 * insetgraphics.[Ch]:
3289 * insetgraphicsParams.[Ch]:
3290 * insetlatexaccent.[Ch]:
3291 * insetminipage.[Ch]:
3292 * insetnewline.[Ch]:
3294 * insetspecialchar.[Ch]:
3295 * insettabular.[Ch]:
3296 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3298 2003-05-19 André Pönitz <poenitz@gmx.net>
3301 * insettext.C: more insetenv
3303 2003-05-16 André Pönitz <poenitz@gmx.net>
3306 * insetminimpage.[Ch]:
3307 * insetcollapsable.[Ch]: fix #832
3309 2003-05-16 André Pönitz <poenitz@gmx.net>
3312 * insetbibitem.[Ch]:
3316 * insetcollapsable.[Ch]:
3317 * insetcommand.[Ch]:
3320 * insetexternal.[Ch]:
3321 * insetfloatlist.[Ch]:
3322 * insetgraphics.[Ch]:
3323 * insetinclude.[Ch]:
3326 * insetlatexaccent.[Ch]:
3329 * insettabular.[Ch]:
3333 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3335 2003-05-13 André Pönitz <poenitz@gmx.net>
3338 * insetcollapsable.C:
3342 * insetwrap.C: tostr from own header
3354 * insetwrap.C: STRCONV
3357 2003-05-12 André Pönitz <poenitz@gmx.net>
3369 * insetwwrap.C: boost::format -> bformat all over the place
3371 2003-05-05 André Pönitz <poenitz@gmx.net>
3373 * insettext.h: add missing #include <map>
3375 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * insettext.C (InsetText): parlist cleanup
3380 (insetUnlock): ditto
3382 (lockInsetInInset): ditto
3386 (searchBackward): ditto
3387 (collapseParagraphs): ditto
3389 2003-05-06 John Levon <levon@movementarian.org>
3391 * insetcaption.C: don't cast wrap inset to InsetFloat
3394 * insetfloat.C: remove unneeded type() function
3396 2003-05-05 André Pönitz <poenitz@gmx.net>
3400 * insettabular.[Ch]:
3401 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3402 replace getFirstParagraph() by getParagraphs()
3404 2003-05-03 John Levon <levon@movementarian.org>
3406 * insetcollapsable.h:
3407 * insetcollapsable.C:
3413 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3414 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3415 getCursor(). Remove explicit cursor hides.
3417 2003-05-02 André Pönitz <poenitz@gmx.net>
3419 * insettext.C: remove unneeded &*
3421 2003-04-30 John Levon <levon@movementarian.org>
3423 * insettabular.C: fix edit message
3425 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * insettext.C (setFont): do not convert iterator -> pointer
3429 * insettabular.C (localDispatch): do not convert iterator -> pointer
3431 (tabularFeatures): ditto
3433 2003-04-29 André Pönitz <poenitz@gmx.net>
3435 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3437 2003-04-28 André Pönitz <poenitz@gmx.net>
3439 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3442 2003-04-25 André Pönitz <poenitz@gmx.net>
3444 * insetenv.C: derive from InsetText instead of InsetCollapsable
3446 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * insetexternal.C (string2params): dont do anything if the string
3450 * insetgraphics.C (string2params): ditto
3451 * insetcommand.C (string2params): ditto
3452 * insetert.C (string2params): ditto
3453 * insetfloat.C (string2params): ditto
3454 * insetinclude.C (string2params): ditto
3455 * insetminipage.C (string2params): ditto
3456 * insettabular.C (string2params): ditto
3457 * insetwrap.C (string2params): ditto
3459 2003-04-24 André Pönitz <poenitz@gmx.net>
3461 * insetref.C: support for eqref
3463 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * insetert.C (read): use ParagraphList::iterator.
3467 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * insetquotes.C (latex): comment some code and add warnings.
3471 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3473 * insetexternal.C (localDispatch): added a missing DISPATCHED
3475 2003-04-12 John Levon <levon@movementarian.org>
3477 * insetwrap.C (addToToc): fix a crash, conversion
3478 from while to for loop forgot to remove the explicit
3481 2003-04-10 John Levon <levon@movementarian.org>
3483 * insettabular.C (tabularFeature): make sure
3484 to update the dialog when we change something
3487 (getStatus): don't disable some lfuns (bug 939)
3489 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * insettext.C (saveLyXTextState): adjust
3492 (localDispatch): adjust
3498 * insettabular.C (localDispatch): adjust
3500 (tabularFeatures): adjust
3502 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3504 * insettabular.C (searchForward,searchBackward): fix bug 782
3506 2003-04-07 John Levon <levon@movementarian.org>
3509 * insettext.C: clear status message on inset exit
3511 2003-04-03 John Levon <levon@movementarian.org>
3513 * insetcommand.C: return dispatched on DIALOG_UPDATE
3515 2003-04-02 John Levon <levon@movementarian.org>
3517 * insettabular.C: tab lfuns renamed
3519 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * insettext.C (update): move towards ParagraphList
3522 (updateLocal): ditto
3524 (insetUnlock): ditto
3526 (lockInsetInInset): ditto
3527 (updateInsetInInset): ditto
3528 (localDispatch): ditto
3531 (resizeLyXText): ditto
3532 (searchBackward): ditto
3533 (collapseParagraphs): ditto
3536 * insetwrap.C (InsetWrap): adjust
3537 (addToToc): adjust and rewrite loop
3539 * insettext.[Ch] (paragraph): delete function
3541 * insettabular.C (moveNextCell): adjust
3542 (movePrevCell): adjust
3543 (insertAsciiString): adjust
3545 * insetfloat.C (InsetFloat): adjust
3548 * insetert.C (InsetERT): adjust
3549 (write): adjust, and rewrite loop
3550 (latex): adjust, and rewrite loop
3551 (linuxdoc): adjust, and rewrite loop
3552 (docbook): adjust, and rewrite loop
3553 (localDispatch): adjust
3554 (get_new_label): adjust
3556 2003-04-01 John Levon <levon@movementarian.org>
3558 From Alfredo Braunstein
3561 * insetbutton.C: add localDispatch()
3563 * insetcommand.C: return DISPATCHED when edit() called
3565 * insettext.C: fix bug 967
3567 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * insettext.C: adjust
3571 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * insettext.C (draw): adjust
3574 (crow): return a RowList::iterator not a Row*
3576 * insetminipage.C (localDispatch): adjust
3578 * insetert.C (localDispatch): adjust
3580 2003-03-31 John Levon <levon@movementarian.org>
3583 * insetgraphicsParams.C: use_gui moved to lyx_gui
3585 2003-03-31 John Levon <levon@movementarian.org>
3587 * insettext.C: Alert fix
3589 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * insettext.C (ascent): adjust for RowList
3594 (getLyXText): adjust
3595 (toggleSelection): adjust
3597 * insetminipage.C (localDispatch): adjust for RowList
3599 * insetert.C (localDispatch): adjust for RowList
3600 (getMaxWidth): adjust for RowList
3602 2003-03-29 John Levon <levon@movementarian.org>
3604 * insetert.C: Alert cleanup
3606 2003-03-29 John Levon <levon@movementarian.org>
3608 * insettabular.C: Alert fix
3610 2003-03-28 John Levon <levon@movementarian.org>
3612 * insetfloat.C: reset label on INSET_MODIFY
3614 2003-03-28 John Levon <levon@movementarian.org>
3616 * insetgraphicsParams.C: read subcaptionText as a whole line
3619 2003-03-28 John Levon <levon@movementarian.org>
3621 * insettext.C: remove unused prototypes
3623 2003-03-25 Angus Leeming <leeming@lyx.org>
3625 * insetbibitem.C (localDispatch): repaint the view after modifying
3626 a bibitem inset in case the maximum InsetBibitem width has changed.
3628 2003-03-25 John Levon <levon@movementarian.org>
3631 * insettabular.C: LyXText renamings
3633 2003-03-24 John Levon <levon@movementarian.org>
3635 * insettext.C: remove some dead code. Fix bug 972 and
3636 related by posting a repaint in updateLocal(), and making
3637 the SEL functions set SELECTION.
3639 2003-03-22 John Levon <levon@movementarian.org>
3642 * inset.C: remove no-longer-needed topx_set
3644 * insetcollapsable.h:
3645 * insetcollapsable.C: remove dead code
3648 * insetert.C: rebreak the rows when a possible
3649 change in size is made, and reset the cursor
3652 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3654 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3655 topx_set. Fix drawing errors for clearInset(). Remove
3656 some unnecessary uses of topx, which should die.
3658 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3659 is no longer needed. Replace it with an ugly hack.
3661 2003-03-20 John Levon <levon@movementarian.org>
3664 * insetcollapsable.h:
3665 * insetcollapsable.C:
3673 * insettext.C: remove spurious font parameter
3674 from update(). Fix drawing of ERT insets inside
3675 insets (bug 966). Remove unused mark_dirty from
3676 tabular's updateLocal()
3678 2003-03-19 John Levon <levon@movementarian.org>
3687 * insetwrap.C: remove unused getter/setters
3689 2003-03-19 John Levon <levon@movementarian.org>
3691 * several files: bv->updateInset() doesn't take
3692 a bool mark_dirty any more
3694 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * adjust for BufferView* arg removal from lyxtext.
3698 2003-03-17 John Levon <levon@movementarian.org>
3700 * most files: remove the "cleared" parameter
3701 to draw in favour of always clearing. Associated
3704 2003-03-16 John Levon <levon@movementarian.org>
3706 * insettext.C: remove unused s.refresh
3708 2003-03-13 Angus Leeming <leeming@lyx.org>
3710 * insettext.C (edit): replace Dialogs::updateParagraph with
3711 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3713 2003-03-13 André Pönitz <poenitz@gmx.net>
3715 * Makefile.am: insert insetenv
3717 * insethenv.[Ch]: new files, currently inactive
3719 2003-03-12 John Levon <levon@movementarian.org>
3729 * insettext.C: use new insetnewline
3731 2003-03-12 John Levon <levon@movementarian.org>
3733 * insettext.C: readToken became readParagraph
3735 2003-03-12 John Levon <levon@movementarian.org>
3737 * insettext.C: use parlist iterator for reading contents
3739 2003-03-12 John Levon <levon@movementarian.org>
3741 * insettext.C: name change to readToken()
3743 2003-03-11 André Pönitz <poenitz@gmx.net>
3745 * Makefile.am: insert insethfill
3747 * insethfill.[Ch]: new files
3749 2003-03-10 Angus Leeming <leeming@lyx.org>
3751 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3753 (hideDialog): calls the new static Dialogs::hide() method.
3755 * insetbibitem.C (edit):
3756 * insetbibtex.C (edit):
3757 * insetcite.C (edit):
3758 * insetcommand.C (localDispatch):
3759 * inseterror.C (d-tor):
3760 * insetert.C (showInsetDialog):
3761 * insetexternal.C (localDispatch, edit):
3762 * insetfloat.C (localDispatch, showInsetDialog):
3763 * insetfloatlist.C (edit):
3764 * insetgraphics.C (localDispatch, edit):
3765 * insetinclude.C (localDispatch, edit):
3766 * insetindex.C (edit):
3767 * insetlabel.C (edit):
3768 * insetminipage.C (localDispatch, showInsetDialog):
3769 * insetref.C (edit):
3770 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3771 resetPos, showInsetDialog, openLayoutDialog):
3772 * insettoc.C (edit):
3773 * inseturl.C (edit):
3774 * insetwrap.C (localDispatch, showInsetDialog):
3775 changes due to the changed MailInset interface.
3777 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3779 * insetfloat.h: Set default placement to an empty string.
3781 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3783 * insettext.C (latex): adjust call to latexParagraphs.
3785 2003-03-10 Angus Leeming <leeming@lyx.org>
3787 * mailinset.C: warn the user if the BufferView has not been cached.
3789 2003-03-10 Angus Leeming <leeming@lyx.org>
3791 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3793 * insetcommand.h (inset):
3794 * insetert.h (inset):
3795 * insetexternal.h (inset):
3796 * insetfloat.h (inset):
3797 * insetgraphics.h (inset):
3798 * insetinclude.h (inset):
3799 * insetminipage.h (inset):
3800 * insettabular.h (inset):
3801 * insetwrap.h (inset):
3802 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3804 2003-03-10 Angus Leeming <leeming@lyx.org>
3806 * insetcommand.C (string2params):
3807 * insetexternal.C (string2params):
3808 * insetfloat.C (string2params):
3809 * insetgraphics.C (string2params):
3810 * insetinclude.C (string2params):
3811 * insetminipage.C (string2params):
3812 * insettabular.C (string2params):
3813 * insetwrap.C (string2params): cure warning message about missing
3816 2003-03-09 Angus Leeming <leeming@lyx.org>
3818 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3819 it to communicate with the frontend dialogs.
3821 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3822 contents of this inset!
3824 2003-03-07 Angus Leeming <leeming@lyx.org>
3826 * inseterror.C (localDispatch): new method; calls edit() on
3829 2003-03-07 Angus Leeming <leeming@lyx.org>
3831 * insetbibitem.C (localDispatch):
3832 * insetbibtex.C (localDispatch):
3833 * insetlabel.C (localDispatch):
3834 rewrite as a switch.
3836 2003-03-07 Angus Leeming <leeming@lyx.org>
3838 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3839 it to communicate with the frontend dialogs.
3841 2003-03-07 Angus Leeming <leeming@lyx.org>
3843 * insetexternal.C: remove operator== and operator!= for
3844 InsetExternal::Params. They were used only by the old controller
3847 2003-03-07 Angus Leeming <leeming@lyx.org>
3849 * insetcommand.C (localDispatch):
3850 * insetexternal.C (localDispatch):
3851 * insetfloat.C (localDispatch):
3852 * insetinclude.C (localDispatch):
3853 * insetminipage.C (localDispatch):
3854 * insetwrap.C (localDispatch):
3855 add LFUN_INSET_DIALOG_UPDATE to the switch.
3857 2003-03-07 Angus Leeming <leeming@lyx.org>
3859 * insetcommand.C (string2params):
3860 * insetexternal.C (string2params):
3861 * insetfloat.C (string2params):
3862 * insetinclude.C (string2params):
3863 * insetwrap.C (string2params): use LyXLeX more.
3866 * insetexternal.[Ch]:
3868 * insetinclude.[Ch]:
3869 * insetwrap.[Ch]: change Mailer::name_ to be static.
3871 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3872 it to communicate with the frontend dialogs.
3874 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3877 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3879 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * insettext.C (updateLocal): un-const function
3882 (updateLocal): adjust
3883 (collapseParagraphs): un-const function
3884 (collapseParagraphs): adjust
3886 2003-03-05 Angus Leeming <leeming@lyx.org>
3888 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3889 it to communicate with the frontend dialogs.
3891 2003-03-05 Angus Leeming <leeming@lyx.org>
3893 * insetcollapsable.C (draw): cache the BufferView.
3895 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3896 it to communicate with the frontend dialogs.
3898 2003-03-05 Angus Leeming <leeming@lyx.org>
3900 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3903 2003-03-05 Angus Leeming <leeming@lyx.org>
3905 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3907 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3908 it to communicate with the frontend dialogs.
3910 2003-03-05 Angus Leeming <leeming@lyx.org>
3912 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3913 it to communicate with the frontend dialogs.
3915 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * insettext.C (collapseParagraphs): adjust
3918 (appendParagraphs): make it take a Buffer* instead of a
3919 BufferParams& as arg.
3920 (appendParagraphs): adjust
3922 2003-03-04 Angus Leeming <leeming@lyx.org>
3924 * insetbibitem.C (localDispatch):
3925 * insetbibtex.C (localDispatch):
3926 * insetcommand.C (localDispatch):
3927 * insetert.C (localDispatch):
3928 * insetlabel.C (localDispatch):
3929 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3931 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * insettext.C (latex): adjust for ParagraphList::iterator
3935 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * insetbutton.C (view): adjust for boost 1.30.0
3938 * insetcollapsable.C (view): ditto
3939 * insetgraphics.C (statusChanged): ditto
3941 * insettext.h: move paragraphs to be public.
3943 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * insetnote.[Ch] (InsetNote): remove unused constructor
3947 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3949 * insetgraphics.C: added include "format.h"
3951 2003-02-27 Angus Leeming <leeming@lyx.org>
3953 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3956 2003-02-27 Angus Leeming <leeming@lyx.org>
3958 * insetbibitem.C (localDispatch):
3959 * insetbibtex.C (localDispatch):
3962 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3964 2003-02-26 Angus Leeming <leeming@lyx.org>
3966 * insetbibitem.[Ch] (localDispatch):
3967 * insetbibtex.[Ch] (localDispatch):
3968 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3970 * insetcommand.C (localDispatch):
3971 act only on receipt of LFUN_XYZ_APPLY.
3973 * insetert.C (localDispatch): reformat.
3974 add LFUN_XYZ_APPLY to the switch.
3976 2003-02-26 John Levon <levon@movementarian.org>
3978 * insettext.C: use RowPainter
3980 * inset.h: make helpers take const *
3982 2003-02-26 Angus Leeming <leeming@lyx.org>
3984 * insetcommand.[Ch] (localDispatch): new method.
3986 2003-02-26 Angus Leeming <leeming@lyx.org>
3988 * insetinclude.C (draw): cache the BufferView* using cache not
3989 PreviewImpl::setView
3991 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3993 * insetgraphics.C (draw)
3994 * insetinclude.C (draw): Eliminate also the other argument (owner
3995 inset inset) in the call to PreviewImage::image
3997 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3999 * insetgraphics.C (draw)
4000 * insetinclude.C (draw): Eliminate Buferview argument in call to
4003 2003-02-25 John Levon <levon@movementarian.org>
4005 * insetgraphicsParams.h:
4006 * insetgraphics.C: don't start a load process if
4007 the inset is set to NoDisplay (bug #920)
4009 2003-02-22 John Levon <levon@movementarian.org>
4012 * insetwrap.C: TocItem changed API (bug 913)
4014 2003-02-21 Angus Leeming <leeming@lyx.org>
4016 * insetcollapsable.[Ch] (cache, edit):
4017 * insetbutton.[Ch] (cache, edit): new methods to cache the
4018 BufferView in the draw method.
4020 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
4021 simplify comunication between InsetCommand-derived classes and
4024 * insetbibitem.[Ch]:
4028 * insetfloatlist.[Ch]:
4032 * inseturl.[Ch]: small changes to reflect the new interface to the
4035 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
4036 other, similar classes.
4038 * Makefile.am: add new files.
4040 2003-02-21 Angus Leeming <leeming@lyx.org>
4042 * updatableinset.h (setView, view): remove.
4043 * inset.h (view, cache): to be replaced by these.
4045 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
4048 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
4051 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
4053 2003-02-21 Allan Rae <rae@lyx.org>
4055 * insetinclude.C (loadIfNeeded): ensure loading also works when
4056 child document is under version control.
4058 2003-02-17 André Pönitz <poenitz@gmx.net>
4060 * insetbib.[Ch]: Adjust access to bibkeys
4062 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4064 * insetquotes.C (dispString): remove use of acute accent for "'"
4067 2003-02-14 John Levon <levon@movementarian.org>
4069 * insettabular.C: changed method names in tabular.C
4071 2003-02-14 John Levon <levon@movementarian.org>
4075 * insetcollapsable.h:
4076 * insetcollapsable.C:
4080 * insettext.C: remove unused getParFromID()
4082 2003-02-13 John Levon <levon@movementarian.org>
4085 * insettext.C: remove unused beginningofMainBody()
4087 2003-02-08 John Levon <levon@movementarian.org>
4091 * insetcollapsable.h:
4092 * insetcollapsable.C:
4097 add nextChange(). Make allowSpellcheck() const. Add markErased().
4099 * insetert.C: ignore deleted text
4101 * insettabular.C: make sure to keep change tracking working
4104 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4109 * insettext.C: Use error messages with identical spelling and
4112 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4114 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4116 2002-12-17 Juergen Vigna <jug@lyx.org>
4118 * insettext.C (localDispatch): hopefully fixed cursor up down
4119 movement on leaving other insets.
4121 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4123 * insettext.C: fix inconsistent usage of spaces, colons,
4124 capitalization, and the like.
4126 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4128 * insetgraphics.C (prepareFile): do not remove the extension of
4129 the file name if it is not the default extension for the given
4130 format (that is, in latex output, remove extension from foo.eps,
4131 but not from foo.epsi)
4133 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4135 * insettext.C (lfunMouseRelease): hackish solution to the "double
4138 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * insetfloat.C (addToToc): use the floats name not its type
4141 * insetwrap.C (addToToc): ditto
4143 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4145 * insetnote.C (init): make label font smaller
4147 2002-12-04 John Levon <levon@movementarian.org>
4149 * insetinclude.C: ressurect setting of command name
4151 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * insetquotes.C (dispString): disambiguate insert call
4155 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * several files: ws changes
4159 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * insetquotes.C (dispString): use string::insert for prepending a
4164 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4166 * insetparent.C (getScreenLabel): use boost::format
4168 * insetgraphics.C (prepareFile): use boost::format
4171 * insetfloatlist.C (latex): use boost::format
4173 * insetcaption.C (draw): use boost::format
4175 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4177 * insettabular.C (tabularFeatures): Support for block alignment in
4178 fixed width columns.
4180 2002-11-20 Juergen Vigna <jug@sad.it>
4182 * insettabular.C (resetPos): temporary fix for endless loop in
4183 this function on a redraw.
4185 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * insettabular.C (copySelection): STRCONV
4189 * insetinclude.C (uniqueID): STRCONV
4190 (latexString): ditto
4192 * insetgraphics.C: put VersionNumber inside anon namespace
4193 (createLatexOptions): STRCONV
4195 * insetcommandparams.C: include config.h
4197 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4199 * insetgraphicsParams.C (Write): use lyx::float_equal.
4200 Write height data correctly.
4201 (Read): zero scale when reading height data.
4203 2002-10-30 John Levon <levon@movementarian.org>
4205 * insetfloat.C (addToTOC): recursively traverse all
4206 contents looking for captions (fix #568)
4208 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4210 * insetexternal.C (doSubstitution): do not try to replace
4211 environment variables, this is done when executing the command
4213 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4215 * insetexternal.C (doSubstitution): change order of substitution
4216 to work around ReplaceEnvironmentPath brokenness
4218 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4220 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4222 * insetgraphicsParams.C (init, Write): associated changes
4223 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4224 InsetGraphicsParams::scale.
4226 2002-10-21 John Levon <levon@movementarian.org>
4228 * inset.h: remove unused DISPATCH_RESULT
4230 * insettext.C: sgml open/close tag now in sgml namespace
4232 2002-10-21 Angus Leeming <leeming@lyx.org>
4234 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4235 file path subdir/fig.eps when pasting it into a buffer in a different
4238 2002-10-16 John Levon <levon@movementarian.org>
4240 * insetspecialchar.C: remove \\protected_separator parsing
4242 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4244 * insetquote.C: fix LaTeX output of quotation marks.
4246 2002-10-14 Juergen Vigna <jug@sad.it>
4248 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4249 Backspace functions which confused the Undo handling.
4251 2002-10-09 Angus Leeming <leeming@lyx.org>
4253 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4254 BufferView::dispatch that turns off this optimisation when a new inset
4257 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4258 reload the BibTeX keys.
4260 2002-10-11 André Pönitz <poenitz@gmx.net>
4262 * insettext.h: handle LFUN_PRIOR/NEXT
4264 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4266 * insetfloat.C: fix bug with float settings
4267 (document default != float default).
4269 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4271 * insetwrap.C (addToToc): New method.
4272 (InsetWrap): Set layout to caption.
4274 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4278 2002-09-16 John Levon <levon@movementarian.org>
4280 * insettabular.h: hasSelection() needs to be public
4282 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4284 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4286 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4288 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4290 2002-09-11 André Pönitz <poenitz@gmx.net>
4292 * insettabular.C: implement LFUN_WORDSEL
4294 2002-09-10 John Levon <levon@movementarian.org>
4296 * insetinclude.h: remove unused param
4298 2002-09-09 John Levon <levon@movementarian.org>
4301 * insetinclude.C: remove noload, default to input
4303 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4305 * insetgraphics.C: disfuscated use of ']' in built output string.
4307 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4311 2002-08-29 Juergen Vigna <jug@sad.it>
4313 * insettabular.C (lfunMousePress): Pay attention where you set
4314 the x/y values as they depend on which inset in the tabular is
4315 actually locked. So you surely have to reset them if you (un)lock
4318 2002-08-29 André Pönitz <poenitz@gmx.net>
4320 * insetfootlike.h: rename include guard to ALL CAPS
4322 * insettext.C: swap object and first parameter for checkInsetHit calls
4323 as this functions has moved from BufferView to LyXText
4326 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4328 * insetgraphicsParams.C: remove local displayTranslator and use
4329 the one from graphics/GraphicsTypes.h.
4331 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4333 * insetfloat.C (wide): add BufferParams parameter
4335 * insetfloatlist.C (read):
4338 * insetfloat.C (latex):
4340 * insetcaption.C (draw): use LyXTextClass::floats()
4342 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4344 * insetoptarg.h: add std:: qualifier.
4346 2002-08-26 Juergen Vigna <jug@sad.it>
4348 * insettext.C (localDispatch): ditto.
4350 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4352 2002-08-25 John Levon <levon@movementarian.org>
4354 * inseturl.C: elide long URLs (bug 404)
4356 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4358 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4359 remove "Format Version <version_no.>" string from inset header
4362 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4364 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4365 a member of "grfx::Params" anymore.
4367 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4369 2002-08-24 John Levon <levon@movementarian.org>
4372 * insetoptarg.C: ws, pedantry ...
4374 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4376 * insettext.C (collapseParagraphs): pasteParagraph now in global
4378 (appendParagraphs): ditto
4380 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4382 * insetcite.C (latex): Remove spaces only after commmas.
4384 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * insettext.C: remove NO_COMPABILITY stuff
4388 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * insettext.C (edit): use ParagraphList iterators
4392 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4393 (bibitemWidest): ditto
4395 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * insettext.C: include <boost/bind.hpp>
4398 add using std::for_each
4399 (saveLyXTextState): use ParagraphsList::iterator
4400 (init): use for_each on paragraphlist iterators
4401 (InsetText): remove superflous setting cached_bview to 0
4402 (latex): reformat a bit
4403 (ascii): use paragraphlist iterators
4404 (validate): use for_each + boost bind
4405 (getLabelList): use paragraphlist iterators
4406 (deleteLyXText): use for_each + boost::bind
4407 (resizeLyXText): ditto
4408 (reinitLyXText): ditto
4409 (removeNewlines): use paragraphlist iterators
4410 (getParFromID): ditto
4411 (paragraph): use for_each + boost::bind
4412 (getInsetFromID): use paragraphlist iterators
4413 (getLabelList): typo fix
4415 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * insettext.C (read): assign tmp to paragraphs after return from
4418 call to parseSingleLyXformat2Token
4421 2002-08-13 Angus Leeming <leeming@lyx.org>
4439 * inseturl.C: changes due to the changed LyXView interface that
4440 now returns references to member variables not pointers.
4442 2002-08-13 Angus Leeming <leeming@lyx.org>
4445 * insetcollapsable.h:
4448 * insettext.h: forward-declare WordLangTuple
4449 (selectNextWordToSpellcheck) constify return type.
4452 * insetcollapsable.C:
4455 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4457 2002-08-12 Angus Leeming <leeming@lyx.org>
4459 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4462 2002-08-12 Juergen Vigna <jug@sad.it>
4464 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4467 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4470 (bibitemWidest): ditto
4471 * insettext.[Ch]: ditto
4473 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4477 2002-08-09 Angus Leeming <leeming@lyx.org>
4479 * insetinclude.C (latexString): remove fudge now that I've found out
4480 how to enable LaTeX to find the file using input@path.
4482 2002-08-09 John Levon <levon@movementarian.org>
4485 * insettext.C: remove unused xpos
4487 2002-08-07 Juergen Vigna <jug@lyx.org>
4489 * insettabular.C (localDispatch): make delete not put the stuff
4490 in the clipboard only do this on a cut operation.
4492 * insettext.C (localDispatch): make delete and backspace not put
4493 selected stuff to the clipboard.
4495 2002-08-07 André Pönitz <poenitz@gmx.net>
4498 * insetcollapsable.[Ch]:
4502 * insettabular.[Ch]:
4503 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4505 2002-08-06 John Levon <levon@movementarian.org>
4509 * insetcollapsable.h:
4510 * insetcollapsable.C:
4516 * insettext.C: use WordLangTuple for spellcheck
4518 2002-08-06 Angus Leeming <leeming@lyx.org>
4520 * insetinclude.C: add a monitor to the previewed image, so that the
4521 image is refreshed if the \input-ed file changes.
4523 2002-08-04 John Levon <levon@movementarian.org>
4526 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4528 2002-08-02 Angus Leeming <leeming@lyx.org>
4530 * insetcommandparams.[Ch] (preview): new methods returning and setting
4531 a new bool preview_ flag.
4532 (read): read this flag.
4533 (operator==): add flag to check.
4535 * insetinclude.C (write): output new preview() flag.
4536 (previewWanted): use this flag.
4538 2002-08-02 Angus Leeming <leeming@lyx.org>
4540 * insetcollapsable.[Ch] (addPreview):
4541 * insettabular.[Ch] (addPreview):
4542 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4543 for insets in insets.
4545 2002-08-02 Angus Leeming <leeming@lyx.org>
4547 * insetcite.C: fix typo.
4549 * insetgraphics.C: kill current_view and instead cache the BufferView
4552 * insetinclude.C: kill current_view and pass the BufferView to the
4553 PreviewedInset so that it can cache it.
4555 2002-08-01 Angus Leeming <leeming@lyx.org>
4557 * inset.h (generatePreview): renamed as addPreview.
4558 (generatePreview): new method. Allows code to be moved out of
4559 math_nestinset.C and into the new PreviewedInset class.
4561 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4562 add previews to the inset when \input-ing LaTeX.
4564 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * several files: strip,frontStrip -> trim,ltrim,rtrim
4568 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * insetbib.C (latex): modify because of strip changes
4572 * insetnote.C (InsetNote): ditto
4574 2002-07-26 Juergen Vigna <jug@sad.it>
4576 * insettabular.C (searchForward): check for lastcell if we
4577 had a locking inset.
4579 2002-07-25 Juergen Vigna <jug@sad.it>
4581 * insettabular.C (insetMotionNotify): Don't update the screen
4582 if we didn't do nothing.
4583 (searchForward): last cell was not checked.
4585 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4587 * insetfloat.C (read, write): Allow default placement
4588 (floatPlacement_ is empty).
4590 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4592 * insetminipage.h (noFontChange):
4593 * insettabular.h (noFontChange):
4594 * insetfootlike.h (noFontChange):
4595 * insetfloat.h (noFontChange): return true
4597 * inset.h (noFontChange): new method, defaulting to false
4599 2002-07-22 Herbert Voss <voss@lyx.org>
4601 * insetgraphicsParams.[Ch]: support size_type for old docs
4603 2002-07-22 Herbert Voss <voss@lyx.org>
4606 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4609 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4611 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4613 * insetlatexaccent.h: do not include "lyxlex.h"
4615 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4618 * insetlatexaccent.C:
4622 * insetbib.C: #include "lyxlex.h"
4628 * insettext.C: use BufferParams::getLyXTextClass
4631 * insetfloat.C (addToToc): new method. Add to toclist the entries
4632 corresponding to Caption layouts
4633 (InsetFloat): when creating a new float, set the layout to "Caption"
4635 2002-07-21 Herbert Voss <voss@lyx.org>
4637 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4638 image relevant part into graphics/GraphicsImgae.C
4640 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4642 * insettoc.C (ascii):
4643 * insetfloatlist.C (ascii): change to use the new Toc functions
4644 instead of stuff that was in Buffer
4646 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4648 * insettext.C (localDispatch): BufferView::Dispatch has been
4649 renamed to BufferView::dispatch
4651 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4653 * insetgraphicsParams.C (as_grfxParams): use the new
4654 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4655 1.2.0 patch, and I do not really know how to adapt it to the new
4656 grfx::Cache world. Angus, please could you have a look?
4658 2002-05-01 Herbert Voss <voss@lyx.org>
4660 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4662 2002-07-18 Angus Leeming <leeming@lyx.org>
4664 * insetgraphics.C: clean-up comments (from Herbert).
4665 add a new checksum variable to the cache. Use it in PrepareFile.
4666 (draw): start monitoring the file for a change.
4667 (prepareFile): re-arrange a little to avoid unnecessary steps.
4669 2002-07-17 Angus Leeming <leeming@lyx.org>
4671 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4672 a method rather than to the signal directly.
4674 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4676 * insettext.C: use view_state_changed, switchKeyMap
4678 2002-07-17 Herbert Voss <voss@perce.de>
4680 * insetgraphics.C (prepareFile): keep the extension when
4681 exporting to nice file
4683 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4685 * insetcite.C (getNatbibLabel):
4686 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4688 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4690 * insetgraphics.C: use ->isDrawable()
4692 2002-07-12 Angus Leeming <leeming@lyx.org>
4694 * insetgraphics.C: use the new smart loading capabilities of the image
4697 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4699 * insettabular.C (edit): Move into correct cell when entering a
4702 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4705 2002-07-05 Angus Leeming <leeming@lyx.org>
4707 * inset.h (generatePreview): new virtual method.
4709 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4711 * insetcommandparams.[Ch] (operator=): move out of class
4712 (operator!): move out of class
4714 2002-07-04 André Pönitz <poenitz@gmx.net>
4716 * insetcommandparams.[Ch]: new files
4718 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4720 2002-06-15 Herbert Voss <voss@perce.de>
4722 * insetgraphics.C (prepareFile): bugfix; return always
4723 files without extension
4725 2002-06-28 Angus Leeming <leeming@lyx.org>
4727 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4728 rename asGParams -> as_grfxParams.
4730 * insetgraphics.C: reflect above change.
4732 2002-06-26 Angus Leeming <leeming@lyx.org>
4734 * insetgraphics.h: use boost::scoped_ptr in preference to
4737 2002-06-26 Angus Leeming <leeming@lyx.org>
4739 * insetgraphics.C: moved the image loading stuff into a new class
4740 grfx::Loader. Simplifies this file enormously.
4742 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4744 * insetgraphicsParams.C: changes aassociated with moving
4745 grfx::DisplayType out of grfx::GParams.
4747 2002-06-26 André Pönitz <poenitz@gmx.net>
4749 * insetgraphics.C: use os::external_path where necesaary according to a
4750 patch from Claus Hentschel)
4752 2002-06-25 Angus Leeming <leeming@lyx.org>
4754 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4755 generating a pixmap once the graphics file is loaded into memory.
4756 The current_view ugliness that was in grfx::ModifiedImage has been
4757 moved here now that grfx::ModifiedImage is no more.
4759 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4761 * insettext.C: layout as layout
4763 2002-05-28 André Pönitz <poenitz@gmx.net>
4765 * insetfloatlist.h: remove source of compiler warning
4767 * insetref.C: tiny whitespace
4769 2002-06-15 Herbert Voss <voss@perce.de>
4771 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4772 and take always convert when no userdefined converter was
4774 (latex) small changes in the lyxerr output
4776 2002-06-15 LyX Development team <lyx@rilke>
4778 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4779 mixed content. Small white spaces clean.
4781 2002-06-14 Angus Leeming <leeming@lyx.org>
4783 * inseetexternal.C: remove the using std::difftime declaration.
4785 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4787 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4789 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4791 * insetquotes.C (draw): fix drawing of double quotes
4793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4795 * insettabular.C: s/scrollCB/scrollDocView/
4797 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4799 * insettext.C: change of topCursorVisible()
4802 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4805 * insettext.C: rename/change of LyXScreen
4807 2002-06-07 Angus Leeming <leeming@lyx.org>
4809 Fixes needed to compile with Compaq cxx 6.5.
4811 * insetexternal.C: all c-library variables have been moved into
4812 namespace std. Wrap using std::xyz declarations inside a #ifndef
4813 CXX_GLOBAL_CSTD block.
4815 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4817 * insetinclude.C (uniqueID):
4818 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4819 conflicted with some AIX headers.
4821 2002-05-31 Juergen Vigna <jug@sad.it>
4823 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4827 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4829 * insetexternal.C (clone): fix () bug when using new
4830 (updateExternal): don't only look for difftime in global scope
4832 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4834 * insettabular.C: add const
4836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4839 file name, in case there are weird characters like ',' in there.
4842 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4844 * switch from SigC signals to boost::signals.
4846 2002-05-28 André Pönitz <poenitz@gmx.net>
4848 * insets/insetgraphicsParams.[Ch]:
4849 put in inset related stuff from src/graphic
4851 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4859 * insetcollapsable.C:
4860 * insetcollapsable.h:
4888 * inseturl.h: use mouse_state. Kill insetKeyPress
4890 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4895 * insetcollapsable.C:
4898 * insetlatexaccent.C:
4900 * insetspecialchar.C:
4902 * insettext.C: name change for font metrics
4904 2002-05-24 Juergen Vigna <jug@sad.it>
4906 * insetgraphics.h: include inset.h first (for LString.h)
4908 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4910 * insettext.C: screen moved
4912 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4930 * inseturl.C: LyXView moved into frontends/
4932 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4937 * insetcollapsable.C:
4941 * insetgraphicsParams.C:
4942 * insetlatexaccent.C:
4944 * insetspecialchar.C:
4946 * insettext.C: move Painter to frontends/
4948 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4950 * insettabular.h: use more specific smart_ptr header.
4951 * insettext.h: ditto
4953 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4956 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4958 * insettext.C: clear selection on paste (bug 393)
4960 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4962 * insettext.C (latex): Honor the moving_arg argument.
4964 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4966 * insetfoot.C (latex): if a footnote is in a title layout, then it
4967 is a \thanks. And then, its contents is a moving argument.
4969 2002-05-14 Juergen Vigna <jug@sad.it>
4971 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4974 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4976 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4977 when using options "Full author list" or "Upper case".
4979 2002-05-14 Herbert Voss <voss@perce.de>
4981 * insetgraphics.C (prepareFile): allow files with same name
4983 (readFigInset): set the flags from old figinset in the right
4985 (findTargetFormat): more comments
4987 2002-05-14 Juergen Vigna <jug@sad.it>
4989 * insettext.C (edit): tell checkAndActivateInset() that we don't
4990 have a button press.
4991 (checkAndActivateInset): if button < 0 we don't have a button press
4992 on the inset and os we won't call edit on it if it's not a Highly
4993 editable inset (then we have to enter it).
4995 2002-05-13 Juergen Vigna <jug@sad.it>
4997 * insetcollapsable.C (insetButtonRelease): returned wrong return
5000 2002-05-09 Juergen Vigna <jug@sad.it>
5002 * insetcollapsable.C (edit): first_after_edit should only be
5003 set to true if we enter this inset and it was collapsed so we
5004 open it up. This is needed to reclose it after a search/replace
5005 or spellcheck function opened it and was negative.
5007 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
5009 * insetfloat.C (latex): Return correct value.
5011 2002-05-04 Herbert Voss <voss@perce.de>
5013 * InsetgraphicsParams.C (read): fix bug with WH
5015 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5017 * insetfloat.C (latex): More sensible latex output
5018 (fix the problem with endfloat).
5020 2002-05-02 José Matos <jamatos@fep.up.pt>
5022 * insetgraphics.C (validate): acess params as everyone else.
5024 2002-05-03 Juergen Vigna <jug@sad.it>
5026 * insettabular.C (fitInsetCursor): recalculate the cursor position
5029 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
5031 * InsetgraphicsParams.[Ch]: whitespace.
5033 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5035 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
5036 float type do not exist.
5038 2002-04-28 Herbert Voss <voss@perce.de>
5040 * insetgraphics.C (latex): fix bug with missing file-extension.
5041 LaTeX still allows a missing "eps" or "ps".
5043 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
5045 * insetfloat.C (c-tor, wide): translate the name of the float.
5047 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5049 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
5050 when using natbib and make it work efficiently. Must emphasise that the
5051 real work is Herbert's.
5053 2002-04-23 Herbert Voss <voss@perce.de>
5055 * insetgraphic.C (prepareFile): fix bug with overwriting and
5056 deleting an existing *.eps-file in the doc-dir
5058 2002-04-23 Juergen Vigna <jug@sad.it>
5060 * insettabular.C (drawCellSelection): fix off by 1 error.
5062 2002-04-22 Juergen Vigna <jug@sad.it>
5064 * insettabular.C (setFont): rewoke full selection if it was asked,
5065 after we changed all we had to change.
5067 * insettext.C (insetUnlock): code was uninitialized in some situations.
5069 2002-04-19 Herbert Voss <voss@perce.de>
5071 * insetgraphic.C (prepareFile): return filename without
5072 extension if we only export without compiling
5074 2002-04-19 Juergen Vigna <jug@sad.it>
5076 * insettext.C (draw): call a fullRebreak on the row where we had a
5077 change and reset the cursor and selection-cursors.
5079 * insettabular.C (insetUnlock):
5080 (insetButtonPress): call an update before setting the_locking_inset = 0
5081 as otherwise we don't repaint!
5082 (update): reset the cursor position when we changed dimensions as
5083 otherwise our cursor may be on the wrong spot.
5085 2002-04-18 Juergen Vigna <jug@sad.it>
5087 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
5088 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
5089 redraw otherwise we won't redraw.
5091 * insettext.C (draw): fixed the setting of LyXText::first_y it was
5092 not really right before, but I only discovered this with the last
5093 changes to Page up/down.
5095 2002-04-17 Juergen Vigna <jug@sad.it>
5097 * insettext.C (checkAndActivateInset): simplified as we now have the
5098 edit(bv, bool) call.
5100 * insettext.h: changed behind variables to front variables to be
5101 equal to the one in the edit call (as it is for that they are used).
5103 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5105 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5106 not output anything at all!
5108 2002-04-16 Juergen Vigna <jug@sad.it>
5110 * insettabular.C (insetButtonPress):
5111 (insetUnlock): call a redraw on unlocking the cell inset.
5113 * insettext.C (insetButtonPress): same as below.
5114 (lockInset): new function to set initial values when inset should
5116 (insetButtonPress): use above function.
5117 (insetUnlock): don't force a repaint only set the updateStatus. The
5118 outside world should repaint if it thinks it should be done!
5120 * insettabular.C (insetButtonPress): init values if not set as locked
5121 as we are locked if someone presses on us and don't call the edit()
5122 call of the InsetText to lock it do it as BufferView does it!
5124 * inset.h (insetInInsetY): make func const and return an int.
5127 * insetcollapsable.C: adapt the above changed function.
5129 2002-04-15 Juergen Vigna <jug@sad.it>
5131 * insettext.C (getCursorPos): return relative position as to be able
5132 to give them directly to the edit() call.
5133 (edit): we have to set also x_fix as it is not set inside the
5134 setCursorFromCoordinates call!
5135 (insetMotionNotify): ditto.
5137 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5139 * insetbib.C (getKeys): strip leading '\t's from the line too.
5140 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5142 2002-04-12 Juergen Vigna <jug@sad.it>
5144 * insettext.h: added cix() helper function and use it where appropriate
5146 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5148 * insetgraphics.C (prepareFile): fix bug when graphics is a
5151 2002-04-12 Juergen Vigna <jug@sad.it>
5153 * insettext.C (insertInset): remove unneeded code!
5154 (updateLocal): fitCursor() fixes.
5155 (collapseParagraphs): fix a possible problem when having a selection
5156 and collapsing the paragraphs.
5158 2002-04-08 Herbert Voss <voss@perce.de>
5160 * insetgraphic.C (write): write the rotating angle as
5161 a float as is. test only for != 0.0
5163 2002-04-11 Juergen Vigna <jug@sad.it>
5165 * insettext.C: new function ciy() and use it for setting inset_y.
5167 * insetert.C (draw): fix the x return for collapsed version.
5169 2002-04-07 Herbert Voss <voss@perce.de>
5171 * insetgraphic.C (readFigInset): fix bug with subcaption and
5174 2002-04-08 Herbert Voss <voss@lyx.org>
5176 * insetgraphicsparam.C: forgot special option and delete old
5179 2002-04-05 Juergen Vigna <jug@sad.it>
5181 * insettext.C (localDispatch): make a CURSOR update if we inserted
5184 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5186 * insetfloatlist.C (getScreenLabel):
5187 (latex): use Floating::listName
5188 (validate): new method
5190 2002-04-03 José Matos <jamatos@fep.up.pt>
5192 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5194 * insetfoot.[Ch] (docbook): added forgotten method.
5196 2002-04-03 Juergen Vigna <jug@sad.it>
5198 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5199 way as in Bufferview_pimpl.
5201 2002-04-03 Allan Rae <rae@lyx.org>
5203 * insetgraphics.C (latex): one % too many makes living on the bleeding
5204 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5206 2002-03-28 Herbert Voss <voss@lyx.org>
5208 * insetgraphic.C (latex): simplify the code for the latex
5209 output when the file doesn't exist
5211 2002-03-29 Juergen Vigna <jug@sad.it>
5213 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5216 * insettabular.C (edit): call fitCursor().
5218 * insettext.C (insetButtonPress): change behaviour of no_selection
5219 to the one in the BufferView selection_possible and fix the spurious
5220 selection bug with it.
5221 (localDispatch): revoke selection on BREAK... functions.
5223 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5225 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5227 2002-03-28 Juergen Vigna <jug@sad.it>
5229 * insettabular.C (insetAllowed): return true as default value otherwise
5230 we're not able to insert insets inside paragraphs of an not locked
5233 2002-03-27 Herbert Voss <voss@lyx.org>
5235 * insetgraphicsparam.C: change c%, p% to col%, page%
5237 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5239 * insetspecialchar.C (isLineSeparator): disable the nice code to
5240 allow linebreaks after hyphenation and menu separators.
5242 2002-03-26 Herbert Voss <voss@lyx.org>
5244 * insetgraphics.C (figinsetRead): set the right lyxview
5246 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5248 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5249 $\backslash$ and pass a "string const &" to the function.
5250 (prepareFile, latex): use Path rather than MakeAbsPath.
5252 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5254 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5255 proper fix to the graphics cache.
5256 (latex): "really" nice output if the file is not found ;-)
5258 2002-03-26 Juergen Vigna <jug@sad.it>
5260 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5261 (collapseParagraphs): fixed inserting of separator ' '
5263 * insettabular.C (insertAsciiString): only check for buffer lenght
5264 not if we have \t or \n inside the buffer as if we don't have we only
5265 have 1 cell and that's it!
5267 * insetert.C (close): don't collapse if inlined.
5269 2002-03-25 Herbert Voss <voss@lyx.org>
5271 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5272 graphics file does not exist.
5274 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5276 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5277 path when preparing export.
5279 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5280 no longer MakeRelPath.
5282 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5284 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5285 Used to determine the absolute path to the graphics file in the
5286 graphics cache and only in the graphics cache.
5287 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5288 make graphics file name absolute if it is stored as a relative path.
5290 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5291 make graphics file name absolute if it is stored as a relative path.
5293 * insettext.C (edit): emit an updateParagraph signal on entering a text
5294 inset. Needs to be emitted when leaving the inset also.
5296 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5298 * all files: ws cleanup
5300 * Makefile.am: remove ld -r stuff
5302 2002-03-21 Juergen Vigna <jug@sad.it>
5304 * insettext.C (appendParagraphs): new function added to append
5305 the paragraphs to this insets paragraphs.
5307 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5309 * Makefile.am: special rules if partial linking
5311 2002-03-19 Juergen Vigna <jug@sad.it>
5313 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5315 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5317 * insetgraphics.C: Clean up Baruch's comments a little.
5318 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5320 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5323 * insettheorem.C: wrap warnings
5325 * insetgraphics.C: improve messages, move cached_status_
5326 setting to safer place
5328 2002-03-18 Juergen Vigna <jug@sad.it>
5330 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5332 (localDispatch): ditto
5334 * insettext.C (edit): removed unneeded showCursor calls.
5335 (localDispatch): ditto.
5337 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5339 * insetgraphics.h: remove display() method.
5341 2002-03-11 Juergen Vigna <jug@sad.it>
5343 * insetgraphics.C (draw): hack to fix the redrawing bug.
5344 (draw): seems this fixes #268 (force redraw of row if we changed).
5346 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5347 this inset text (don't know why I missed this earlier).
5349 2002-03-08 Juergen Vigna <jug@sad.it>
5351 * insettabular.C (updateLocal): do a FULL update if we're not locked
5352 and only a CELL update is asked.
5354 * insettext.C (updateInsetInInset): update insets inside inset also
5355 if it isn't inside the_locking_inset.
5357 * insettabular.C (updateInsetInInset): ditto.
5359 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5361 * insetexternal.C (doSubstitution): check whether we are using a
5362 temp dir for defining $$FPath
5364 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5367 * insettext.C: remove #include "WorkArea.h".
5369 2002-03-06 Juergen Vigna <jug@sad.it>
5371 * insettext.C (draw): fixed frame redrawing.
5372 (clear): forgot to set the inset_owner of the paragraph.
5374 * insetert.C (status): pay attention the bv can be 0 here!
5375 (getMaxWidth): add the default leftMargin
5377 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5379 * insetert.C (getMaxWidth): make w unsigned int.
5381 2002-03-05 Juergen Vigna <jug@sad.it>
5383 * insetert.C (status): change behaviour of Inlined.
5384 (getMaxWidth): added for new inlined behaviour.
5386 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5388 * insetnote.h (linuxdoc, docbook): add empty methods.
5389 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5390 before being initialized.
5392 2002-03-05 Juergen Vigna <jug@sad.it>
5394 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5395 only that one in the inset. Should be enough.
5396 (updateLocal): set the selection cursor always if we don't have a
5397 selection to be sure it's set!
5399 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5401 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5403 * insettext.C (clear): a gross hack to set layout on a newly
5406 2002-03-04 Juergen Vigna <jug@sad.it>
5408 * insettabular.C (localDispatch): inserted handling of
5409 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5410 (insertAsciiString): new helper function.
5412 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5414 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5417 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5419 * insettext.C (InsetText): initalize newly created par with
5420 default layout. add bufferparams parameter
5423 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5424 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5425 * insetert.[Ch] (InsetERT): ditto
5426 * insetfloat.[Ch] (InsetFloat): ditto
5427 * insetfoot.[Ch] (InsetFoot): ditto
5428 * insetfootlike.[Ch] (InsetFootLike): ditto
5429 * insetmarginal.[Ch] (InsetMarginal): ditto
5430 * insetminipage.[Ch] (InsetMinipage): ditto
5431 * insetnote.[Ch] (InsetNote): ditto
5432 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5434 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5436 * insettext.C: layout as string
5438 * insetinclude.C: layout as string
5440 * insetert.C: layout as string
5442 * insetbib.C: layout as string
5444 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5447 * insettabular.C: remove #include "lyx_gui_misc.h".
5449 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5454 * inset.h: remove figinset, yahoo !
5456 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5458 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5459 copy c-tor and initialise member variables in the correct order.
5461 2002-02-28 Juergen Vigna <jug@sad.it>
5463 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5465 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5467 * inset.h: ... and add a better one here.
5469 * insetcommand.C (insetButtonRelease): remove that one which was a
5472 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5474 * insetcommand.C (insetButtonRelease): ... and move it here.
5476 * inseturl.h: remove insetButtonRelease from there...
5478 2002-02-26 Juergen Vigna <jug@sad.it>
5480 * inseturl.h: Added a insetButtonRelease call returning true as
5483 * insetlabel.C (edit): Fixed wrong update handling after change I
5484 leave in the wrong code for the one who wrote it to remove and have
5485 a look what he did wrong.
5487 * insettabular.C (localDispatch): force a SELECTION update if we
5488 had a selection and we passed the event down to the inset (fix #213)
5489 (localDispatch): handle font changing stuff when we have a cell
5490 selection so that the selection is not rewoked. I don't really like
5491 this fix, but it's the only way I see to do it right now.
5493 2002-02-22 Juergen Vigna <jug@sad.it>
5495 * insettext.C (insetUnlock): set the cursor to the second paragraph
5496 if available and if the first one is empty (fix #191).
5498 2002-02-20 Juergen Vigna <jug@sad.it>
5500 * insettext.C (getDrawFont): implemented this function to call the
5501 one of the owner if present as the owner normally knows what to do
5504 * insetert.C: implement getDrawFont() function and comment out all
5505 the crap for setting a special latex font inside this inset.
5506 (InsetERT): added a Lanugage parameter to this constructor.
5508 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5509 change the font for being drawn on screen (used only in InsetERT for
5512 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5513 and also above (was missing).
5514 (updateLocal): don't remove the cell selection if we have one this
5515 should be done where we really want to remove it.
5517 2002-02-20 José Matos <jamatos@fep.up.pt>
5519 * insetinclude.h: include_label made string const.
5521 * insetinclude.C (InsetInclude): moved include_label initialization.
5524 (validate): fix support for temporary directory, for docbook and
5527 * insetgraphics.h : new private member, graphic_label, that holds
5528 the entity name that defines the graphics location (SGML).
5530 * insetgraphics.C (unique_id): new function to give a unique label
5533 (validate): the file locatation is given by an entity reference.
5535 2002-02-18 Herbert Voss <voss@lyx.org>
5537 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5539 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5541 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5542 as support/systemcall.[Ch] and of class Systemcalls as class
5545 2002-02-18 José Matos <jamatos@fep.up.pt>
5547 * insetinclude.C (validate): some code only applies to latex buffers,
5548 it was made conditional.
5550 2002-02-12 Herbert Voss <voss@lyx.org>
5552 * insetgraphics.C: (prepareFile) do not check at this time
5553 if the file is present.
5555 2002-02-12 Herbert Voss <voss@lyx.org>
5557 * insetgraphics.C: latex(), return the correct newlines
5559 2002-02-13 José Matos <jamatos@fep.up.pt>
5561 * inseturl.C (docbook): escape & in url.
5563 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5565 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5566 after HYPHENATION and MENU_SEPARATOR
5568 * inset.h (isLineSeparator): new method, returns false by default.
5570 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5572 * insetert.C (status): do not update the text inset, but the ERT
5575 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5577 * insetnote.C: use notebg for background
5579 2002-02-08 Herbert Voss <voss@lyx.org>
5582 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5583 prevent LyX from unzipping when this should be handled
5584 by latex vis the graphic.cfg.
5587 2002-02-08 Herbert Voss <voss@lyx.org>
5589 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5590 exists, than return filename with extension
5592 2002-02-06 Herbert Voss <voss@lyx.org>
5594 * insetgraphic.C: prepareFile(): don't convert the file, when
5595 it's not viewed in LyX. Saves a lot of time when opening a
5598 2002-02-05 Herbert Voss <voss@lyx.org>
5601 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5602 and adding a rotate bool similiar to subcaption
5604 2002-02-04 Herbert Voss <voss@lyx.org>
5607 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5608 similiar view to the LaTeX one. Get zipped files work.
5610 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5612 * insetgraphicsParams.C (init): set display to DEFAULT.
5613 No longer #include "lyxrc.h".
5615 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5617 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5618 for now (so that the code compiles).
5620 2002-02-02 Herbert Voss <voss@lyx.org>
5622 * insetgraphic.C: delete inVariant() and some minor changes
5623 * insetgraphicsParams.[C]:
5625 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5627 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5628 interogate lyxrc.display_graphics before diaplaying the graphic.
5630 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5631 InsetGraphicsParams::DisplayType.
5633 2002-01-31 Herbert Voss <voss@lyx.org>
5635 * insetgraphic.C: (readfigInset) set display to pref-default
5637 2002-01-30 Herbert Voss <voss@lyx.org>
5639 * insetgraphic.C: get the filetyp from it's contents
5640 * insetgraphicparams.C: add token scale and lyxrc.display when
5641 creating a new inset
5643 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5645 * figinset.C: added using std::ios directive.
5647 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5649 * figinset.C (runqueue): open translation file in binary mode (for
5652 2002-01-27 Herbert Voss <voss@lyx.org>
5654 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5655 all options and to be sure that the old figinsets are correct
5657 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5658 structure and to support all lengths as LyXLength. The Parameter
5659 structure changed again, but reading of "old" 1.2 graphic insets
5662 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5664 * insetert.h (forceDefaultParagraphs): Added
5666 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5668 * insettabular.C (getMaxWidth):
5669 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5671 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5673 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5674 of LyXLength::inPixels
5676 * inset.C (latexTextWidth):
5677 * insetminipage.C (latexTextWidth): new method, which implements
5678 the equivalent of the LaTeX macro \textwidth
5680 * insetminipage.C (getMaxWidth): use latexTextWidth
5682 2002-01-18 Juergen Vigna <jug@sad.it>
5684 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5686 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5688 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5690 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5693 2002-01-17 Juergen Vigna <jug@sad.it>
5695 * insettabular.C (lockInsetInInset): same change as in insettext.
5697 * insettext.C (draw): width() function was called without setting
5698 the right top_x which could lead to wrong insetWidth setting!
5699 (lockInsetInInset): call edit instead of calling lockInset if we
5700 have to lock an inset inside!
5701 (edit): we have to also tell the inset that we have to redraw the
5702 frame on an edit call if this inset draws a frame only if locked.
5704 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5706 * insetbib.C (getFiles): uncomment Path variable.
5708 2002-01-16 Juergen Vigna <jug@sad.it>
5710 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5713 2002-01-16 Allan Rae <rae@lyx.org>
5715 * insetinclude.C (docbook): someone forgot a ";"
5717 2002-01-16 José Matos <jamatos@fep.up.pt>
5719 * figinset.C (docbook): removed a old place holder "@".
5720 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5721 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5722 ascii text version, clearly guarded inside a CDATA section.
5723 (docbook): in docbook 4, inlinegraphics is empty.
5724 * insettabular.C (linuxdoc): export the ascii version of the table
5725 inside a CDATA section.
5727 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5729 * insetparent.C (InsetParent):
5730 * insetgraphicsParams.C (Write):
5732 * insetgraphics.C (prepareFile):
5735 * insetexternal.C (executeCommand):
5736 (doSubstitution): use Buffer::filePath
5738 * insetbib.C (getFiles): add a #warning for Angus
5740 * insetgraphics.C: Add a remark about how filenames should be
5741 considered to be relative to buffer (but absolute is still allowed)
5742 (draw): do not try to get status if lyxrc.use_gui is false
5744 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5747 * insetcollapsable.[Ch]:
5748 * insettabular.[Ch] (searchForward, searchBackward): change the
5749 bool const & params to bool.
5751 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5752 to avoid the name clash with InsetCollapsable's methods of the same
5753 names but different functionality.
5755 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5757 * insettext.C (ascii): use lyx::count rather than countChar.
5759 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5761 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5763 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5765 * insetgraphics.C (updateInset): do not try to render image if
5766 lyxrc.use_gui is false (bug #104)
5768 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5769 if file does not exist
5771 * figinset.C (browseFile): add shortcuts to directory buttons
5773 * insettext.C (updateLocal): update menubar and toolbar here too.
5775 2002-01-13 Allan Rae <rae@lyx.org>
5777 * insettabular.C (InsetTabular): Both constructors now initialise
5778 all class variables.
5780 2002-01-11 Juergen Vigna <jug@sad.it>
5782 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5784 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5786 * insettabular.C (getStatus): add forgotten brace around multiline
5789 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5791 * insetfloat.C (validate): require "float" instead of "floats".
5793 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5795 * insettabular.C (getStatus): use FuncStatus
5797 2002-01-08 Juergen Vigna <jug@sad.it>
5799 * insettabular.C (insetButtonRelease): now this should work too
5802 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5803 if the width is a percentage.
5805 * inset.h: added isChar() function and implemented this for
5806 insetspecialchar insetquotes and insetlatexaccent.
5807 added forceDefaultParagraphs() and implemented it for insettabular.
5809 2002-01-07 Juergen Vigna <jug@sad.it>
5811 * insettext.C (getLyXText): Fixed this function. An insert into the
5812 map is only done if we REALLY have a new BufferView.
5814 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5816 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5818 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5820 * insetinclude.C: fix use of FileInfo
5822 2002-01-07 Juergen Vigna <jug@sad.it>
5824 * insettabular.C (draw): fixed clearing of cell around inset.
5826 2002-01-05 Juergen Vigna <jug@sad.it>
5828 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5829 variables are updated.
5831 * insettabular.C (resetPos): set always the inset_y as it may be
5832 needed in another function.
5833 (searchBackward): don't draw while searching.
5835 2002-01-04 Juergen Vigna <jug@sad.it>
5837 * insettext.C (lockInsetInInset): forgot to set a cursor.
5839 2002-01-02 Juergen Vigna <jug@sad.it>
5841 * insettext.C (insertInset): make the correct undo informations on
5842 inserting new insets.
5844 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5846 * insettabular.C: correct single-cell select vertically
5848 2001-12-27 Juergen Vigna <jug@sad.it>
5850 * insettabular.C (ascii): export as tab-separated-values if the
5851 function was not called from export (f.ex.: clipboard).
5853 * insetcollapsable.h: added default support for ascii, linuxdoc and
5854 docbook export (the insettext is exported by default!)
5856 * insettabular.C (copySelection): suff the clipboard with the tabular
5857 data in a tab separated format, seems more naturals then with all the
5860 2001-12-24 Juergen Vigna <jug@sad.it>
5862 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5863 to check for REAL mouseMotion.
5865 2001-12-20 Juergen Vigna <jug@sad.it>
5867 * inset.C (cursor): return the owners cursor if available instead of
5868 always only the bv->text->cursor.
5870 * insettabular.C (checkLongtableSpecial): works now.
5872 2001-12-19 Juergen Vigna <jug@sad.it>
5874 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5875 this has to be always row + 1 as 0 means not selected!
5876 (checkLongtableSpecial): added
5877 (tabularFeatures): better longtable options support
5879 * insettext.C (resizeLyXText): reinit the text always also on a
5882 2001-12-18 Juergen Vigna <jug@sad.it>
5884 * insettext.C (updateInsetInInset): look if we have to autocollapse
5885 paragraps and return if the update is requested for ourself.
5887 * insetert.C (status): update the insettext not myself as that is what
5890 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5891 function only return if the update was requested with myself.
5893 * insettext.C (insetButtonPress): fixed stupid bug.
5894 (various functions): pay attention that lt is cleared BEFORE calling
5895 updateLocal() and try to use it in the right manner (don't use it
5896 if it's not really neccessary!)
5897 (collapseParagraphs): insert a blank between collapsing paragraphs
5898 if neccessary (not already there!).
5900 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5902 * insettabular.C: move includes around a bit, add a couple of
5905 * insettext.[Ch]: move includes around a bit, other ws changes and
5908 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5910 * insettext.C (insetButtonRelease): fix compile problem
5912 2001-12-17 Juergen Vigna <jug@sad.it>
5914 * insettext.C (insetButtonPress): set the selection cursor!
5915 (insetButtonPress): clear the selection (and set with that the
5916 selection.cursor) if we only hit an inset!
5918 * insetert.C (read): removed piece of compatibility code only needed
5921 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5924 * insetcollapsable.C (insetButtonRelease): changed so that it can
5925 open eventual existing popup dialogs on mousebutton==3.
5927 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5929 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5931 * inset.C (insetButtonRelease): return a bool for telling the outer
5932 world that we opened a dialog.
5934 2001-12-07 Juergen Vigna <jug@sad.it>
5936 * insettext.C (paragraph): remove the deleteing of paragraphs as
5937 it was a WRONG move!
5939 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5942 * insettabular.C: use new setSelection(). Allow
5943 selection of single cells.
5945 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5947 * insetquotes.C (latex): fix to use the local language setting at
5948 the point where the inset is inserted (different macros for
5949 different french packages)
5951 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * inset.h: add par_owner_ member variable and parOwner
5956 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5958 * insettabular.C (everywhere): adapt because widths are now real
5959 widths and not strings
5961 * insettext.C (draw): re-introduce the calls to width(), ascent()
5962 and descent() to initialize the caching variables.
5964 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5966 * insettext.C (draw):
5967 (drawFrame): use insetWidth instead of last_width
5969 * insettext.h: remove variable last_width (insetWidth is exactly
5970 the same) and last_height (computed but never used!)
5972 2001-12-10 Allan Rae <rae@lyx.org>
5974 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5976 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5978 * insettext.C (insetAllowed): add comment
5980 2001-12-05 Juergen Vigna <jug@sad.it>
5982 * insettext.C (insetAllowed): fixed for the case that we directly
5983 ask the insettext from its LyXText.
5984 (paragraph): fixed the crash when assigning the par->next() from
5985 the EmptyParagraphMechanism!
5987 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5991 * insettext.C: change "while(" to "while ("
5993 2001-12-04 Juergen Vigna <jug@sad.it>
5995 * insetert.C (edit): handle Inlined status.
5997 * insettext.C (insertInset): trying John's fix for the trailing cursor
5999 * insetert.C (insetButtonPress): added to handle inlined status
6000 (insetMotionNotify): ditto.
6002 * insettext.C (clearInset): changed Painter & in BufferView * param,
6003 to be able to call ascent,descent methods.
6005 2001-12-03 Juergen Vigna <jug@sad.it>
6007 * insettext.C (updateInsetInInset): use lt variable to forbid
6008 changes of LyXText in an update call.
6009 (updateInsetInInset): fixed updating of non locked insets!
6011 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6013 * insettabular.C: capture some more functions to prevent
6014 selection drawing problems. Bug #451274
6016 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6019 * insetgraphicsParams.C: fix inverted sense of float_equal
6021 2001-11-30 Juergen Vigna <jug@sad.it>
6023 * insettabular.C (InsetTabular): use the save_id flag to create also
6024 the tabular with the same id's.
6026 * insettext.C (setParagraphData): added a same_id function for undo
6027 to set the same paragraph id's as of the paragraph we are setting.
6029 2001-11-30 José Matos <jamatos@fep.up.pt>
6032 * insettoc.[Ch]: DocBook -> docbook.
6034 2001-11-29 André Pönitz <poenitz@gmx.net>
6037 * insettext.C: further reduction of header dependencies by using
6038 lyx::layout_type and lyx::textclass_type from support/types.h
6040 2001-11-29 Juergen Vigna <jug@sad.it>
6042 * insettext.C: inserted a reinitLyXText function everywhere I delete
6043 the paragraphs! This should fixe the crashes we had.
6044 Also use the new function firstRow() instead of getRowNearY(dummy_y)
6045 (paragraph): set the InsetOwner() of the new paragraphs!
6047 2001-11-28 André Pönitz <poenitz@gmx.net>
6049 * insetnote.C: add pos initialization that I removed without
6052 2001-11-28 Juergen Vigna <jug@sad.it>
6054 * insettabular.C (resetPos): hack to not crash with infinite paints.
6056 * insettabular.h: insert missing function allowSpellcheck()!
6058 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
6060 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6063 * insetfloatlist.C: derive from InsetCommand so gui can use it
6066 2001-11-26 André Pönitz <poenitz@gmx.net>
6070 * insetnote.C: reduce header dependencies, introduce type for
6073 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6075 * various: update for Alert.h
6077 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6079 * inset.h: fix comment
6081 * insettext.C: use par->isInset()
6083 2001-11-22 Allan Rae <rae@lyx.org>
6085 * insetcollapsable.h:
6086 * inset.h: Changes to checkInsertChar() behaviour.
6087 Now return value indicates whether chars can be inserted.
6089 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
6091 * various: updated to use the new LaTeXFeatures
6093 2001-11-14 José Matos <jamatos@fep.up.pt>
6095 * insetspecialchar.C (linuxdoc):
6096 (docbook): don't give a name to a unused variable.
6098 * insettext.C (docbook): removed unused variable.
6100 2001-11-13 Herbert Voss <voss@perce.de>
6102 * insetgraphic.C: fix scale bug
6104 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6106 * inset.h (isSpace):
6107 (isLetter): new virtual methods.
6109 * insetspecialchar.C (isSpace):
6110 (isLetter): implement here.
6112 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6114 * inset.h: new inline helpers
6116 * insettext.C: use new helpers
6118 2001-11-07 José Matos <jamatos@fep.up.pt>
6120 * insettext.C (docbook): full support for paragraphs inside insettext.
6122 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6124 * insetindex.C: added header file for std::ostream.
6126 2001-11-03 José Matos <jamatos@fep.up.pt>
6128 * insetindex.C: added using std::ostream that I forgot yesterday.
6130 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6132 * insetindex.h (docbook):
6133 * insetindex.C (docbook): added support for docbook export.
6135 2001-11-02 José Matos <jamatos@fep.up.pt>
6137 * insetcaption.C(docbook): added support for docbook export.
6139 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6141 * insetexternal.C (updateExternal): Do not run update command if
6142 result file exists and is up to date.
6144 * ExternalTemplate.C (readFormat): Support the updateresult token.
6146 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6148 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6149 external_templates) to use the buffer->fileName() but only if
6150 previewing. Generating a TeX file should make FPath return
6153 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6156 * insetert.C: fix some problems
6158 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6160 * insetexternal.C (doSubstitution): Added $$FPath token
6161 to list of usable substitutions in external inset templates.
6163 2001-10-24 Juergen Vigna <jug@sad.it>
6165 * insettabular.C: use new ltType struct for setting longtable
6166 header and footers also new UNSET enums.
6168 2001-10-24 José Matos <jamatos@fep.up.pt>
6170 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6171 (docbook): If the table is not inside a float then wrap it inside
6172 <informaltable>...</informaltable>.
6174 2001-10-23 José Matos <jamatos@fep.up.pt>
6176 * insetref.C (docbook): removed / terminator to conform SGML.
6178 * insetspecialchar.C (linuxdoc):
6179 (docbook): Added support for special chars, more than ascii export.
6181 2001-10-22 Juergen Vigna <jug@sad.it>
6183 * insettext.C (checkInsertChar): added for REALLY checking the
6184 font of the inserted char in the right inset!
6186 2001-10-19 Juergen Vigna <jug@sad.it>
6188 * inset.h: added method allowSpellcheck() so that insets who do
6189 not have anything to spellcheck can tell and so they are over-jumped.
6190 Implemented for InsetText and co.
6192 2001-10-18 Juergen Vigna <jug@sad.it>
6194 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6196 2001-10-15 José Matos <jamatos@fep.up.pt>
6198 * insetert.C: allow export for docbook and linuxdoc
6200 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6202 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6204 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * insetquotes.C (dispString): fix handling of latin9 quotes
6208 2001-10-03 Juergen Vigna <jug@sad.it>
6212 * insetcollapsable.C: change updateInset calls to not tell BV that
6213 we have changed status.
6215 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6217 * insettabular.C (deletable): make const
6219 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6221 * insetert.C (latex): Fix the returned value
6223 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6225 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6226 Returns string(), so nothing in an ERT inset is spellchecked.
6228 * insetgraphics.C (draw): print the filename if not displaying the
6230 (width): make sure that the width and draw methods are consistent.
6231 (updateInset): don't even load the image into cache if not displaying
6234 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6236 * various files (selectNextWord): renamed as
6237 selectNextWordToSpellcheck.
6239 * insetgraphics.C (draw): remove the previous change. Right place
6240 is in imageLoaderXPM.C.
6241 (draw): don't display the image if params.display == NONE.
6243 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6245 * figinset.C (runqueue):
6246 * insetgraphics.C (draw): set background colour of inset from
6247 background to the user-configurable graphicsbg.
6249 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * insetquotes.C (InsetQuotes): when trying to decide the side of
6252 the quote, choose `left' only after a space or '('
6254 2001-09-04 José Matos <jamatos@fep.up.pt>
6259 * insetcollapsable.h
6277 * insetlatexaccent.C
6278 * insetlatexaccent.h
6283 * insetspecialchar.C
6284 * insetspecialchar.h
6288 * insettext.C (docbook): rename docBook method to docbook.
6290 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6292 * inset.h (getFirstParagraph): New virtual method.
6294 2001-08-20 Herbert Voss <voss@perce.de>
6295 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6296 in the the bibtex-database-gui for inserting a line
6299 If no style is given than there is no tex-output.
6301 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6303 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6307 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6309 * insetert.C (latex): Fix output for multiple paragraphs.
6310 (write): New code for writing paragraph data.
6311 (read): Set font after reading the inset.
6312 (localDispatch): Call set_latex_font() for more cases.
6314 * insetnote.h: Add empty validate method.
6317 * insetnote.C (InsetNote): Set language to the language of the
6320 2001-08-16 Juergen Vigna <jug@sad.it>
6322 * insettext.C: implemented the new FINISHED states.
6324 * insettabular.C: ditto
6326 * inset.h: added more FINISHED states for cursor right,up,down
6328 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6330 * insetfloatlist.C: use "FloatName List"
6332 2001-08-14 Juergen Vigna <jug@sad.it>
6334 * insetert.C (edit): forgot to set status_ in edit calls!
6336 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6338 * insettext.C: Compilation fix
6340 2001-08-13 Juergen Vigna <jug@sad.it>
6342 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6344 * insetcollapsable.C (edit): don't recollapse an already open inset.
6346 * insettext.C: fixed problem when reinitializing LyXText by not doing
6347 it while lt is in use and post this to the next possible time in
6349 (searchForward): fixed not unlocking of inset if nothing found.
6350 (edit): set cursor behind right (was set -1 pos).
6352 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6354 * insettabular.C (tabularFeatures): fixed fix where deleting the
6355 last row didn't get the right actcell!
6357 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6359 * insettext.C (localDispatch): Change language only when the inset
6362 2001-08-10 Juergen Vigna <jug@sad.it>
6364 * insettabular.C (selectNextWordInt): use the front using edit call.
6366 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6367 the parameter overwrite class variable inset.
6369 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6371 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6372 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6374 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6375 update only for fixed with cells.
6376 (resetPos): try to fix the lockup on spellchecking or s&r.
6378 * insettext.C (update): comment this out as it seems first wrong
6379 and second not needed anymore!
6380 (some functions): call reinitLyXText() only in update() in all other
6381 positions set only need_update = INIT.
6383 2001-08-08 Juergen Vigna <jug@sad.it>
6385 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6387 * insettext.C (insetUnlock): remove double-space on inset unlock.
6389 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6391 * insettabular.C (update): fixed cursor positon after an insert.
6392 (insetAllowed): do not allow to insert insets when not inside the
6394 (draw): clear below an inset too as it could have changed height.
6396 * inset.C (getMaxWidth): fixed width for inset in inset.
6398 * insettext.C (update): small fix.
6400 * insettabular.C (tabularFeatures): added selection support to
6401 DELETE_ROW/DELETE_COLUMN.
6403 2001-08-07 Juergen Vigna <jug@sad.it>
6405 * inset.C (getMaxWidth): recoded and all it's implementations!
6407 * insettext.C (init,setParagraph+constructors): cleanups
6408 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6409 are new and I want do a save/restore of the cursor position which is
6410 not possible anymore.
6412 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6413 (searchBackward): ditto
6414 (selectNextWord): ditto
6416 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6418 * insetlatexaccent.C (checkContents): Add some debug messages
6420 2001-08-07 Juergen Vigna <jug@sad.it>
6422 * insetert.C (read): don't use InsetCollapsable::read as we don't
6423 write the collapsed status anymore only the status.
6426 2001-08-06 Juergen Vigna <jug@sad.it>
6428 * insetert.C (set_latex_font): use LyXText's setFont directly.
6430 * insettext.C (drawFrame): fixed one time more the right position
6431 and size of the frame!
6433 * insetert.C (~InsetERT): hide the dialog.
6434 (showInsetDialog): added implementation
6437 (status): new function for the status of the ERT inset (3-state).
6438 (write): output also the status of the inset for readback!
6439 (read): readback the status if available otherwise use collapsed_.
6441 * insettext.C (edit): small fix of setting the position, which could
6444 * insetert.C (width): implement this function for inlined viewing.
6445 Added minimum width of 10 pixels!
6447 * insetminipage.C (InsetMinipage): just change the colors a bit so
6448 that border/background is a bit more visible. We will remove this
6451 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6452 function for getting the important widths for drawing in various
6453 functions and in LyXText.
6454 (draw): fixed up a bit (frame drawing/clearing)
6456 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6458 * inset.C (convertFont): delete method. not used.
6460 2001-08-03 Juergen Vigna <jug@sad.it>
6462 * insettext.C (setFont): don't call for a draw update if we're just
6463 changing the cursor font!
6465 2001-08-02 Juergen Vigna <jug@sad.it>
6467 * insettext.C (draw): clear the background with the right color if
6468 needed. Update myself if x&max-width changed and return without doing
6469 anything. Let the update code handle the right stuff.
6471 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6472 inside another inset.
6474 2001-08-01 Juergen Vigna <jug@sad.it>
6476 * insetcollapsable.C (update): added an in_update bool so we avoid
6479 * insettabular.C (update): added an in_update bool so we avoid
6482 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6484 (update): added an in_update bool so we avoid reentering.
6486 * insettabular.C (localDispatch): clear col/row selection when doing
6487 something else inside an inset.
6489 * insettext.C (getLyXText): fixed bug when requesting a recursive
6492 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6494 * insetcite.C (latex): Paranoia check. Make sure that there is no
6495 whitespace between the citation keys.
6497 2001-07-31 Juergen Vigna <jug@sad.it>
6499 * inset.h (nodraw): make the set function also const so that this
6500 can be called from inside other const functions.
6502 * insetcollapsable.h: removed inline variable and moved it over
6503 to the only user InsetERT.
6505 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6506 inset opening immediately therein lying insets dialogs!
6508 * insetert.C (localDispatch): set the font also if we don't have any
6509 chars in this paragraph, otherwise if we delete all of em and start
6510 writing we have the wrong font.
6512 (draw): implemented for inline support
6513 (insetButtonRelease): ditto.
6515 2001-07-30 Juergen Vigna <jug@sad.it>
6517 * insettext.C (reinitLyXText): new function to reinit the insets
6518 text after lot's of paragraph changes. Use this instead of the
6519 cache.clear() which is VERY dangerous.
6521 * insetfloat.C (insetButtonRelease): we should only show the dialog
6522 if we press on the label otherwise we have problems to open mouse
6523 button 3 dialogs inside this float (f.ex. of a tabular!)
6525 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6527 * insetert.C: change back to "ERT"
6529 * insetfloat.C: handliign of RMB on label added.
6531 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6533 * insetgraphicsParams.C: #include LOstream.h here.
6535 * insetfoot.h: remove InsetFoot:: qualifier.
6537 2001-07-29 Baruch Even <baruch@lyx.org>
6539 * ChangeLog: Hiding time travel evidence.
6541 * insetgraphicsParams.h:
6542 * insetgraphicsParams.C:
6543 * insetgraphics.C: Added horizontal scale option, it actually
6544 scales both directions since it keeps image proportions.
6546 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6548 2001-07-29 Baruch Even <baruch@lyx.org>
6550 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6551 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6553 HACKY! Will need to add an EPS detection routine like old InsetFig
6556 2001-07-29 Baruch Even <baruch@lyx.org>
6558 * insetgraphics.C: Added EPSI to be an alias of EPS.
6560 2001-07-29 Baruch Even <baruch@lyx.org>
6562 * insetgraphics.C: Change GRAPHICS to Graphics.
6563 Changed image conversion rules (documented at the beginning of file).
6565 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6567 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6570 * insetgraphics.C: added a using std::endl directive.
6572 * insetcommand.h (getScreenLabel): removed pure virtual function,
6573 as it duplicates that in InsetButton.
6575 * insetbib.[Ch] (getScreenLabel):
6576 * insetbutton.[Ch] (getScreenLabel):
6577 * insetcite.[Ch] (getScreenLabel):
6578 * insetert.[Ch] (getScreenLabel):
6579 * insetexternal.[Ch] (getScreenLabel):
6580 * insetfloatlist.[Ch] (getScreenLabel):
6581 * insetinclude.[Ch] (getScreenLabel):
6582 * insetindex.[Ch] (getScreenLabel):
6583 * insetlabel.h (getScreenLabel):
6584 * insetparent.[Ch] (getScreenLabel):
6585 * insetref.[Ch] (getScreenLabel):
6586 * insettoc.[Ch] (getScreenLabel):
6587 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6589 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6591 (validate): remove check on "cite" when using natbib.
6593 2001-07-26 Baruch Even <baruch@lyx.org>
6595 * insetgraphics.C (draw): changed casting to be in one place
6596 rather than all over the function.
6599 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6601 * insetgraphicsParams.h:
6602 * insetgraphicsParams.C:
6603 * insetgraphics.C: Removed inline option and changed rotateAngle
6606 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6608 * insetfoot.C (validate): Added method to ensure that the
6609 right bit of LaTeX is emitted.
6611 * insetfoot.h: Added validate method to set the correct
6612 LaTeXFeatures bit for the special footnote code.
6614 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6616 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6619 2001-07-27 Juergen Vigna <jug@sad.it>
6621 * inset.h: remove not used font variable in parameter.
6622 removed checkInsertChar in UpdatableInset as it was equal to
6623 the one in Inset and so not needed.
6625 * insetert.C (checkInsertChar): implementation of function
6628 * inset.h: added new function checkInsertChar.
6630 * various files: added c-tor and clone() function.
6632 * insetcollapsable.h: removed clone function here as this should
6633 be only realized in REAL insets and added it to all collapsable
6634 insets! (with the copy-constructor).
6636 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * insetminipage.C (read): handle missing parameters more gracefully
6640 * insetcollapsable.C (read): handel missing collapsed more gracefully
6642 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6644 * insetfloat.C (read): handle missing parameters.
6646 * insettext.C (read): handle old latex end_inset
6648 * insetert.C (setButtonLabel): new method
6649 (init): use it, to set the dynamic label correctly
6652 * Makefile.am (EXTRA_DIST): add files that is not part or the
6655 * insetcollapsable.h: remove autocollapsable (no users), remove
6656 draw_label, change_label_with_text and companion code. Remove args
6658 * insetert.[Ch]: move here instead (only user)
6660 * inset.h: rename private variable name to name_, make
6661 selectNextWord return a const string. make getInsetName return a
6662 string const &. Remove bool from open, add close.
6664 * Makefile.am: don't compile insetlist, insetsection
6667 2001-07-24 Juergen Vigna <jug@sad.it>
6669 * insetert.C (InsetERT): put init after the paragraph initialization,
6670 as otherwise we don't set the draw_label right.
6672 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6673 insets with the mouse without having strange selections.
6674 (edit): if the inset was collapsed and we open it here then put the
6675 cursor always at the beginning of the inset.
6676 (get_new_label): 15 instead of 10 max chars in the label.
6678 * insetert.C (localDispatch): added and handle various stuff we
6679 need to handle here (font setting on paragraph break, not permitted
6680 layout setting, etc.).
6682 * inset.h: added default copy-consturctor and implemented this in
6683 various insets with the change to use this in the clone function!
6685 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6687 * insetminipage.C (InsetMinipage): set background color to red :)
6689 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6691 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6692 draw frame mode is LOCKED.
6694 * insetcollapsable.C (edit):
6695 (insetButtonRelease): set update status to full when
6698 * insettext.C (clearInset):
6699 * insettabular.C (draw):
6700 * insetlatexaccent.C (draw): honor background color.
6702 * inset.h: new member background_color_, initialized to
6705 * inset.C (backgroundColor): new method.
6706 (setBackgroundColor): new method.
6708 * insetert.C (init): new method, called by the ctors.
6709 (InsetERT): when inserting contents, make sure the font is
6712 * insetnote.C (InsetNote): when inserting content, remove trailing
6714 (init): set background color to LColor::note
6716 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6718 * insetcollapsable.C: adjust
6720 * insetbutton.C: adjust
6722 2001-07-23 Juergen Vigna <jug@sad.it>
6724 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6725 parameter on the _collapsed function (was not needed) and call
6726 always width_collapsed().
6728 * insetert.C (InsetERT): use setLabel with "true" flag.
6730 * insetcollapsable.C: modified various functions to set the draw_label
6731 string right in any condition.
6732 (setLabel): added a bool parameter to set change_label_with_text.
6734 * insetcollapsable.h: added draw_label string which is set to the
6735 actual drawn label-string, while label is the original static label
6736 of this collapsable inset. Added bool change_label_with_text to set
6737 if we want that the label changes to the start of the InsetText's
6738 text when collabpsed. You can set this flag with the setLabel funciton.
6739 Added bool inlined for inlined collapsable insets, but not handled
6742 * insetcollapsable.C (get_new_label): added should get a new label
6743 from the InsetText beginning (for now 10 chars).
6745 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6747 * insetquotes.C (latex): fix the handling of french double quotes
6748 when not using the french pachage.
6750 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6752 * insetcollapsable.h: make WidthCollapsed mutable.
6754 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6755 InsetPrintIndex returns INDEX_PRINT_CODE.
6757 * inset.h: add INDEX_PRINT_CODE
6759 * insetcollapsable.C (draw): init widthCollapsed if necessary
6762 * insetquotes.C (width): use the local language, not the document
6765 (dispString): add additional spacing for all french languages,
6767 (validate): make it work when there is no default language
6769 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6771 * insetnote.C (init): new method, called by the constructors
6772 (InsetNote): new constructor with contents passed as a string
6774 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6776 * insetfootlike.C (insetAllowed): disallow float in footlike.
6778 * insetert.C (InsetERT): add collapsed argument to the constrctor
6781 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6783 * insetindex.h: shut off warning
6785 2001-07-20 Juergen Vigna <jug@sad.it>
6787 * insetcollapsable.C (update): recoded hopefully works now!
6789 2001-07-19 Juergen Vigna <jug@sad.it>
6791 * most files: implemented the below new introduced function.
6793 * inset.h: added new edit(BufferView *, bool front) method to be able
6794 to enter an inset from the front/back without knowing x/y positions
6795 and baselines inside the inset. So I just can tell the inset activate
6796 me and set the cursor on the front/back of yourself.
6798 2001-07-18 Juergen Vigna <jug@sad.it>
6800 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6801 is given to the InsetText.
6802 (insetButtonPress): ditto
6803 (insetButtonRelease): ditto
6804 (insetMotionNotify): ditto
6806 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6808 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6809 LIGATURE_BREAK, since the name is so stupid.
6811 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6813 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6814 the default InsetCollapsable methods. I.e., it can insert anything.
6815 (write) output the name of the inset, not some silly hack for
6816 compatability with the old InsetInfo.
6818 * insetinfo.[Ch]: removed.
6819 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6820 now collapsable, but functionality is otherwise identical to InsetInfo.
6822 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6824 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6826 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6829 * insetquotes.C: general cleanup
6830 (dispString): add spaces inside french double quotes.
6831 (latex): ditto. Moreover, treat first the case where the frenchb
6832 or french options have been given.
6834 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6836 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6839 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6841 * figinset.C (RegisterFigure): Print debug message only when
6842 current_view is available.
6844 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6846 * many files: update to match the change below
6848 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6849 implement the version which takes an inset here.
6851 * insetcollapsable.[Ch]: implement open and isOpen
6853 * inset.h: remove insertInsetAllowed from Inset
6854 (open): new method, to open or close an inset
6855 (isOpen): returns the status of an inset
6856 (isCollapsable, colapse): removed
6858 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6860 * insetquotes.C (dispString): display french guillemets when using
6863 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6865 * insetcollapsable.h: remove bogus return statements
6867 2001-07-18 Juergen Vigna <jug@sad.it>
6869 * insettabular.C (selectNextWord): fixed spellchecking for the
6870 first cell of a tabular (wasn't entered!)
6871 (getLyXText): changed to enter automatically insettext and return
6872 it's LyXText if we're locked.
6874 2001-07-17 Juergen Vigna <jug@sad.it>
6876 * various files: implemented the below functions.
6878 * inset.h: added functions
6879 - virtual string selectNextWord(BufferView *, float & value) const;
6880 - virtual void selectSelectedWord(BufferView *) { return; }
6881 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6882 needed for spellchecking correctly!
6884 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6886 * insetert.C (latex): write out all paragraphs.
6888 2001-07-17 Baruch Even <baruch@lyx.org>
6890 * insetgraphics.C (draw): Removed unneeded casts.
6892 2001-07-16 Juergen Vigna <jug@sad.it>
6894 * insettext.C (update): fixed small oversight (reset lt to 0).
6896 2001-07-14 Baruch Even <baruch@lyx.org>
6899 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6901 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6903 Consistent use of Lsstream.h:
6904 * figinset.C: removed using std::ostringstream directive.
6906 * insetgraphics.C (createLatexOptions):
6907 * insetinclude.C (unique_id):
6908 std::ostringstream -> ostringstream.
6909 * insettext.C (localDispatch): std::istringstream -> istringstream.
6911 2001-07-13 Juergen Vigna <jug@sad.it>
6913 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6915 * insetcollapsable.C (getLockingInset): ditto.
6917 2001-07-12 Juergen Vigna <jug@sad.it>
6919 * insetcollapsable.h: added implementation of new function for
6922 * various files: added implementation of new insertInsetAllowed-func
6923 and redone the function a bit more.
6925 * inset.h: added isCollapsable(), bool collapsed(),
6926 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6928 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6930 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6931 LyXText which is marked for removal while we're using it!
6933 * insettext.h: added private LyXText * lt to use it to assure we are
6934 not deleting our LyXText while we're using it!
6936 2001-07-11 Juergen Vigna <jug@sad.it>
6938 * insettext.C (insertInset): check if we are before the inset after
6939 inserting it! This check IS needed. Remove the Undo-Call as it is
6940 called in LyXText::insertInset!
6942 * insettext.h: added struct InnerCache.
6944 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6945 that we ONLY delete the LyXText in the getLyXText() routine. So we
6946 are sure we don't delete LyXText while someone is working with it!
6948 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * insetexternal.C: (*it). -> it->
6951 * insettext.C: ditto
6953 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6955 * insetcollapsable.C (edit): always open collapsed insets (even if
6956 they are not autocollapsable)
6958 * insetcommand.C (operator=): simplify.
6960 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6962 * insetert.C (latex): handle META_NEWLINE
6964 2001-07-09 Juergen Vigna <jug@sad.it>
6966 * insetert.h: a normal InsetText can insert insets, but we won't.
6968 * inset.h: return default "false" on insertInsetAllowed and implement
6969 this function where a returnvalue != "false" is needed.
6971 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * insetert.C (InsetERT): new contructor
6975 2001-07-06 Juergen Vigna <jug@sad.it>
6977 * a lot of files: added implementation of the below new functions
6978 and the change to clone(). Also the call of the new undo-functions
6981 * inset.h: added an inset_id, added functions getParFromID,
6982 getInsetFromID, firstParagraph, cursor and id functions, added
6983 bool same_ids to clone function.
6985 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6988 of BufferView * and shared_ptr<LyXText>
6990 2001-07-05 Juergen Vigna <jug@sad.it>
6992 * insettext.C (clear): deleted also the cache not only LyXText.
6993 (setParagraphData): ditto.
6995 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6997 * insetfloat.C (latex): let the specific placement take presedence
6998 if set, otherwise choose document placement if set, otherwise just
6999 use float default placement.
7001 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7003 * insettext.C (localDispatch): call CutAndPaste::'s static method
7006 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7008 * insetbib.C: no meed to include forms.h here.
7010 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
7012 * insettext.C: added using std::make_pair directive.
7014 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7016 * insettext.C (getLyXText): avoid multiple lookups, and simplify
7018 (deleteLyXText): ditto
7019 (resizeLyXText): ditto
7021 2001-07-02 Juergen Vigna <jug@sad.it>
7023 * insettext.C (getLyXText): introduce a cache in getLyXText so that
7024 following calls are only returned the right pointer without the over
7025 head to search in the map.
7026 (various funcs): reset the cached_bview variable as this signs that
7027 the cache is not valid anymore.
7029 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * insettabular.C (clone): do not copy the LyXTabular twice
7033 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * insettext.h (TEXT): delete method
7037 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7039 * insetmarginal.C (latex):
7040 * insetfoot.C (latex): fix spacing of notes in LaTeX
7042 * insettext.C (localDispatch): use .c_str() on istringstream
7043 constructor argument.
7045 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7050 * inseturl.C: fix method names in these to begin
7051 with small char too, so they inherit
7053 2001-06-28 Juergen Vigna <jug@sad.it>
7055 * insettext.C (setFont): fixed font settings using toggleFree()
7056 instead of setFont().
7058 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7060 * Change a lot of method names to begin with a small char.
7061 Changes to a lot of files because of this.
7063 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7065 * insetfloatlist.C (Write): std:: qualify ostream
7068 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7072 * insetgraphics.C: send debug output to Debug::INFO instead of
7075 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7078 * insettabular.C (getStatus): update to use func_status
7080 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
7082 * insetref.C (DocBook): added support for cross-references without
7085 2001-06-26 The LyX Project <jug@sad.it>
7090 * insetlabel.h: removed escape method and moved it to
7093 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * insettabular.C (getMaxWidth): do the speedup in a different way,
7098 2001-06-24 The LyX Project <Asger>
7100 * insettabular.C (getMaxWidth): We cache a mapping from
7101 inset to cell in order to speed this method up.
7103 2001-06-24 The LyX Project <Asger>
7105 * insettext.C: Optimized InsetText::draw or something.
7107 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7109 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7111 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7113 * inset.h: name change from lyxinset.h
7115 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7117 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7119 2001-06-14 Juergen Vigna <jug@sad.it>
7121 * insettext.C (draw): removed warnings.
7123 2001-06-13 Juergen Vigna <jug@sad.it>
7125 * insettabular.C (nodraw): only go down the tree if we don't have
7126 that flag set otherwise it's obvious that we don't want to draw.
7127 (LocalDispatch): do also an update if we have an undispached result.
7129 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7132 * insetgraphicsParams.C:
7133 * insettext.C: removed // -*- C++ -*- as first line.
7135 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7137 * lyxinset.h (resizeLyXText): shut off warning about unused
7140 2001-06-07 Juergen Vigna <jug@sad.it>
7142 * insettext.C (resizeLyXText): honor the new force flag.
7144 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7146 * insettabular.C (deleteLyXText): new function
7148 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7156 * insetcollapsable.C:
7157 * insetcaption.C: LColor tidy
7159 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7161 * figinset.C: fix typo
7163 2001-06-01 Juergen Vigna <jug@sad.it>
7165 * insettabular.C (resetPos): small hack so that scroll is not set to
7166 0 when we are in the last column of a tabular. This is a problem we
7167 have because of constats 20 offset on both directions, so this can
7168 cause on the limit an endless loop.
7170 * insettext.C (SetFont): forgot that we can have locking insets ;)
7172 2001-05-31 Juergen Vigna <jug@sad.it>
7174 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7176 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * figinset.C: add using std:: directive for the C functions which
7181 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * insetfloat.C (Write): write out wide info
7184 (Read): read the wide info
7185 (Latex): use the wide info when creating latex.
7187 * insettext.C: adjust
7189 * insetgraphics.[Ch] (statusMessage): change to return string
7193 * figinset.C (runqueue): add std::
7196 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7198 * insetcite.C (Ascii): add std:: qualifier
7200 2001-05-28 Juergen Vigna <jug@sad.it>
7202 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7203 a endless-width inset (maxWidth < 0).
7204 (Edit): change language only if not equal.
7206 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7208 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7210 2001-05-16 Juergen Vigna <jug@sad.it>
7212 * insettext.C (selectAll): added
7213 (clearSelection): added
7215 * insettabular.C (SetFont): now we may set a font on a whole selection!
7216 (getSelection): added helper function.
7218 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7220 * insetcite.C (Ascii): Add method.
7222 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7225 * insetbib.C: fix path for OS/2 & Win32
7227 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * insetfoot.C (Latex): don't use % after footnote.
7231 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7233 * insettext.C (Read): use clear
7234 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7236 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7238 * insetfloatlist.h: add a bunch of std:: qualifiers.
7240 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7243 FLOAT_LIST_CODE, renumber code list.
7245 * insettoc.C (getScreenLabel): remove support for float lists
7249 * insetfloatlist.[Ch]: new files
7251 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7253 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7255 * insettabular.C (LocalDispatch):
7256 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7259 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7261 * insettext.C: remvoe !NEW_INSETS cruft
7263 * insettabular.C: remove !NEW_INSETS cruft
7265 * insetcollapsable.h: remove !NEW_INSETS cruft
7267 * insetbib.C: remove !NEW_INSETS cruft
7269 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7271 * insettoc.C: hack to make listof algorithm work
7273 2001-04-20 Juergen Vigna <jug@sad.it>
7275 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7277 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7279 * insetquotes.C (Latex): improve the guard against
7280 unwanted !` and ?` ligatures. This should really be done in
7281 another place (to catch all this ligatures at low-level).
7283 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7285 * insettext.C (init): remvoe leftovers from cursor_visible change
7286 (draw): use c++ cast
7287 (LocalDispatch): dispatch LFUN_MESSAGE
7289 * insettabular.C (InsetTabular): remove leftovers from
7290 cursor_visible, and scoped_ptr changes
7291 (draw): use c++ cast
7293 * insetcollapsable.C (draw): use c++ cast
7295 * ExternalTemplate.h: inherit privaely from noncopyable
7296 * insetcommand.h: ditto
7297 * insetinclude.h: ditto
7299 2001-04-16 Allan Rae <rae@lyx.org>
7301 * insettoc.C (Ascii):
7302 * insettext.C (draw):
7303 * insettabular.C (setPos):
7304 * insetminipage.C (Read):
7305 * insetfloat.C (placement):
7306 * insetcaption.C (Ascii, DocBook):
7307 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7308 an unrecognised preprocessor directive. So ensure they're wrapped.
7310 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7313 * insetexternal.C: set view on Clone. Add _ to private members.
7315 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7317 * insettext.C (InsetText): fix new
7318 (InsetText): reindent some, simplify deletion of par list
7319 (clear): simplify deletion of par list, fix new
7320 (SetParagraphData): simplify deletion of par list
7322 * insettabular.[Ch] (getLabelList): implement new method
7324 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7326 * lyxinset.h: do not include gettext.h...
7334 * insetlatexaccent.C:
7338 * inseturl.C: ... and do it here instead
7340 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7344 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7346 * insetcollapsable.[Ch] (getLabelList): implement
7348 * insettext.[Ch] (getLabelList): implement
7350 * insettext.h: reindent
7352 * insettabular.h: make tabular a scoped_ptr
7354 * insettext.C (init): adjust for cursor_visible
7355 (ToggleInsetCursor): constify asc and desc, font, adjust for
7357 (ShowInsetCursor): constify asc and desc, font, adjust for
7359 (HideInsetCursor): adjust for cursor_visible
7361 * insettabular.C: reindent some
7362 (InsetTabular): adjust for scoped_ptr and cursor_visible
7363 (InsetTabular): ditto
7364 (~InsetTabular): delete delete
7365 (Clone): adjust for scoped_ptr
7366 (Read): constify old_format, adjust for scoped_ptr, move init of
7368 (draw): constify tx, localize loop vars.
7369 some other localization of variables, remove double initilizatons.
7371 * insetfoot.C: remove using std::ostream, add ostream where needed
7373 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7375 * lyxinset.h: some reindentaion, use initializer list for
7377 UpdatableInset: make cursor_visible a private var add
7378 public isCursorVisible(), add protected toggleCursorVisible() and
7379 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7381 * insettoc.C: remvoe using decl
7382 (getScreenLabel): make cmdname donst
7385 (Ascii): don't use endl
7387 * insetfootlike.C: remove using decl at file scope and add std::
7389 * insetmarginal.C: ditto
7391 * insetfoot.C: some reformatting
7393 * insetfloat.C (InsetButtonRelease): adjust the hit area
7395 * insetert.C (SetFont): some reformatting
7397 * insetcollapsable.C: some reformatting and constification
7398 (Clone): comment out.
7399 * insetcollapsable.h: some reformatting
7400 (Clone): comment out.
7405 2001-03-30 Juergen Vigna <jug@sad.it>
7407 * insetcollapsable.h: changen *inset to be a InsetText inset.
7409 * some files: changed to reflect the above change.
7411 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7413 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7414 InsetExternal::Params.
7415 Added operator==() and operator!=() for the Params struct.
7417 2001-03-29 Juergen Vigna <jug@sad.it>
7419 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7422 * insetminipage.C: removed widthp_ and all it's functions and changed
7423 to use new %-lengths of LyXLength.
7425 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7427 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7429 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7431 * insetgraphicsParams.C (operator!=): new function, needed by the
7432 ControlGraphics class.
7434 2001-03-28 Juergen Vigna <jug@sad.it>
7436 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7437 (checkAndActivateInset): don't use the values returned from
7438 call to bv->checkInsetHit.
7440 * insetminipage.C (Clone): set special minipage values.
7442 * insetcollapsable.C (draw): changed to draw the button in the
7443 upper left corner outside the textinset.
7444 (ascent): changed because of different drawing
7448 (InsetButtonPress): ditto
7449 (InsetButtonRelease): ditto
7450 (InsetMotionNotify): ditto
7452 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7454 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7458 2001-03-26 Juergen Vigna <jug@sad.it>
7460 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7462 * insettext.C (ShowInsetDialog): implemented above function.
7464 * insettabular.C (ShowInsetDialog): ditto
7466 * insetminipage.C (ShowInsetDialog): ditto
7468 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7470 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7471 InsetInclude::Params. Don't store a buffer * in Params. Store the
7472 master file name instead.
7474 2001-03-23 Juergen Vigna <jug@sad.it>
7476 * insetcollapsable.C (InsetMotionNotify):
7477 (InsetButtonRelease):
7478 (InsetButtonPress): fixed y-offset (minipages).
7480 * insettext.C (draw): force a FULL update if cleared == true.
7482 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7483 routine to draw the minipages on its position-flag.
7484 (InsetInInsetY): give back the right y position, because of minipage
7487 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7490 * insetfloat.C (DocBook): docbook export code.
7492 2001-03-22 Juergen Vigna <jug@sad.it>
7494 * insetminipage.C (getMaxWidth): added function to set the drawing
7496 (Read): should work now!
7498 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7499 if we create a new inset.
7501 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7503 * figinset.C (fl_set_preemptive_callback): moved definition outside
7506 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7508 * insetminipage.C (Read): prepare for reading of minipage arguments.
7510 2001-03-18 Baruch Even <baruch@lyx.org>
7512 * insetgraphics.C: Minor cleanups of the comments and code.
7514 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7516 * insetminipage.C (InsetMinipage): default to not collapsed
7518 2001-03-16 Juergen Vigna <jug@sad.it>
7520 * insetminipage.C (width): modified with to be a string
7521 (widthp): added widthp (for % width) support functions.
7522 (InsetButtonRelease): added to open the options dialog on button==3.
7523 (~InsetMinipage): added to hide the dialog.
7525 * insetminipage.h: added hideDialog signal
7527 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7529 * insetminipage.h: change the order or Position to match
7530 LyXParagraph::MINIPAGE_ALIGNMENT
7532 * several files: remvoe CXX_WORKING_NAMESPACES
7534 * ExternalTemplate.h: noncopyable is in namespace boost
7535 * insetinclude.h: ditto
7536 * insetcommand.h: ditto
7538 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7540 * insettext.C (Edit): #else# -> #else.
7541 * insettoc.C: added using directive.
7543 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7545 * insetminipage.h: add pos, inner_pos, width and height. + getters
7546 and setters for all of them.
7548 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7550 * insetinclude.C (Latex): Do not exit when the textclass of the
7551 included file differ from the textclass of the parent file.
7553 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7555 * ExternalTemplate.C (read): the reading of external insets now checks
7556 for \end_inset and removes it form the input stream.
7558 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7560 * ExternalTemplate.h:
7561 * ExternalTemplate.C:
7563 * insetexternal.C: move form to GUII
7565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7568 * insetinclude.C: add InsetIncludeParams, use
7569 composition rather than derivation of InsetCommand
7571 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7573 * insettoc.C (Ascii): use the Buffer typedefs
7575 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7577 * insettoc.C (Ascii): implement for dynamic number of lists
7579 * insetcaption.[Ch]: update from new_insets branch
7580 * insetfloat.[Ch]: ditto
7582 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7585 * figinset.C: use new File Dialog
7587 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7589 * insettext.C: changes becuase of ParagraphParameters.
7591 2001-02-28 Baruch Even <baruch@ev-en.org>
7593 * insetgraphics.C (updateInset): Changed due to the change in
7596 2001-02-26 Juergen Vigna <jug@sad.it>
7598 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7599 handled in LyXText).
7601 2001-02-23 Juergen Vigna <jug@sad.it>
7603 * insettext.C (draw): some small repainting fixes.
7604 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7606 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7607 should be) and not an int.
7609 * insettabular.C (LocalDispatch): ditto
7611 * insettext.C (LocalDispatch): ditto
7613 * insetcollapsable.C (LocalDispatch): ditto
7615 2001-02-22 Juergen Vigna <jug@sad.it>
7617 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7618 DISPATCH it and we don't have a locking_inset.
7620 2001-02-21 Baruch Even <baruch@ev-en.org>
7622 * insetgraphics.[Ch]: Changed to use
7623 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7625 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7627 * insetcollapsable.C (getLyXText): add const qualifier to second
7630 2001-02-22 Juergen Vigna <jug@sad.it>
7632 * insettext.C (getLyXText): honor the recursive parameter.
7633 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7635 * inset.C (getLyXText): added bool recursive parameter.
7637 * insettext.C (SetUpdateStatus): or the update codes.
7638 (draw): check need_update with &.
7639 (InsetButtonPress): set no_selection to not put a selection when
7640 entering an inset and it is redraws in another spot.
7642 * insettext.h: made need_update an int.
7644 2001-02-20 Baruch Even <baruch@ev-en.org>
7647 * insetgraphisc.C: Changed to use better semantics when loading images
7648 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7650 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7654 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7655 consistent with InsetTabular.
7657 2001-02-19 Juergen Vigna <jug@sad.it>
7659 * insettabular.C (LocalDispatch): implement PAGE up/down.
7661 * insettext.C (draw): clear all of it on need_update==INIT too!
7663 * insettabular.C (InsetUnlock): always clear the selection.
7665 * inset.C (scroll): normally we only want to scroll the inset until
7666 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7668 2001-02-14 Juergen Vigna <jug@sad.it>
7670 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7671 (resetPos): fixed scroll behaviour.
7672 (LocalDispatch): do an update if moving cursor inside a table cell
7673 requests a scroll of the tabular.
7675 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7677 * insettext.C (textWidth): constify local var
7679 * insettabular.C: small cleanup.
7681 * insetfoot.C (Latex): constify local var
7683 * insetcollapsable.C: small cleanup.
7685 * figinset.C (runqueue): use compare instead of strcmp
7687 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7690 * insetinfo.C: remove cruft
7692 2001-02-14 Juergen Vigna <jug@sad.it>
7694 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7696 2001-02-13 Juergen Vigna <jug@sad.it>
7698 * insettext.C (InsertInset): don't move left (is this right?)
7700 * insettabular.C (LocalDispatch): use of the no_draw variable
7702 * insettabular.h: new no_draw variable to stop redraw
7704 * insettabular.C (TabularFeatures): fixed update for alignment change
7706 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7710 * insetbib.C: move dialogs to frontends/
7712 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7714 * insettext.C (LocalDispatch): Restore the language if the inset
7717 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7719 * insettext.C (moveRightIntern): Update the selection cursor.
7720 (moveLeftIntern): Ditto.
7722 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7724 * Makefile.am: remove BoundingBox.h
7726 * BoundingBox.h: removed
7728 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7730 * insettext.C (LocalDispatch): Update selection cursor when moving
7731 cursor to the right.
7732 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7733 (moveLeftIntern): Ditto.
7735 2001-02-05 Baruch Even <baruch.even@writeme.com>
7737 * insetgraphics.C: Updated automatic image conversion, it now goes into
7738 temporary directory instead of with the image itself.
7740 2001-01-21 Baruch Even <baruch@ev-en.org>
7742 * insetgraphics.C: Added Docbook support. Added Automatic image
7743 conversion to EPS or PNG when needed (support bitmap graphics).
7745 2000-11-02 Baruch Even <baruch@ev-en.org>
7748 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7749 to '\n' and removal of commented out code.
7751 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7753 * insetbib.C (callback): Update citations if the key has changed.
7755 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7757 * insetbib.C (InsetBibKey): Better computation of default key.
7758 (getScreenLabel) Show both the key and the label.
7759 (getBibLabel): New method.
7760 (callback): Force a redraw if the inset have been changed.
7762 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7764 * insetref.C (getType, getName): Move methods from
7765 src/frontends/xforms/FormRef.C.
7767 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7769 * insettabular.C: Various improvements (use only one dummy position).
7771 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7773 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7774 par->bibkey->width. This fixes the crashes when running without
7775 gui or when having included documents.
7777 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7779 * insetcommand.C (getAsString, setFromString): Cleanup.
7781 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7783 * insetref.C: Add the array InsetRef::types that contains
7784 information about all supported reference types.
7786 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7788 * lyxinset.h: remove trailing comma in enum.
7790 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7792 * insettext.C: kill LyXBell.