1 2005-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insettabular.C: handle some more character attributes in
4 M. Vermeers method (when multiple cells in tables are selected);
5 disable some more senseless lfuns when multiple cells are selected
7 Move to end of cell instead of beginning when coming from the cell
10 2005-03-12 Martin Vermeer <martin.vermeer@hut.fi>
12 * insettabular.C: make applying character attributes
13 possible for multiple cells in tables. Disable collapsable
14 insets for multiple-cell selection in table (Jürgen S.)
15 Bug reported by Helge Hafting.
17 2005-02-25 Andreas Vox <avox@arcor.de>
19 * insetmarginal.[hC] (docbook): new method, render as <note>
21 * insetoptarg.[hC] (docbook, linuxdoc): new, empty, methods
23 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
25 * insetcaption.[Ch] (doClone): implement
27 2005-02-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
29 * insetgraphics.C (prepareFile): handle non-existing files
30 * insetgraphics.C (latex): remove special handling of non-existing
33 2005-02-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
35 * insetcharstyle.C: add TEXT_TO_INSET_OFFSET and adjust metrics.
36 * insettext.C: adjust metrics
38 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * insettext.C: include boost/current_function.hpp (needed when
41 assertions are disabled)
43 2005-02-20 André Pönitz <poenitz@gmx.net>
45 * insetcollapsable.C: Prevent problems on double-/
46 tripleclick on collapsable label (bug 1797).
48 2005-02-13 André Pönitz <poenitz@gmx.net>
50 * insettext.[Ch] (border_): new
51 * insettext.C (metrics, draw, drawFrame, clearInset, getCursorPos):
54 2005-02-14 Angus Leeming <leeming@lyx.org>
56 * insetlatexaccent.C (draw): squash a couple of MSVC warnings
57 about "truncation of constant value".
59 2005-02-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * insetgraphics.C (latex): Remove line continuation '%\n' (bug xxx,
62 workaround for broken HTML converter)
64 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
66 * insetcollapsable.C (leaveInset): size() -> depth()
67 * insettabular.C (isRightToLeft): ditto
69 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * insetert.C (latex, linuxdoc, docbook): remove newline handling
72 * insetert.C (doDispatch): clean pasted paragraphs
73 * insetert.C (getStatus): suppress more lfuns
74 * insetert.C (insetAllowed): return always false
76 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
81 * updatableinset.C: Use new cursor accessors.
83 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * insetinclude.C (loadIfNeeded): rewrite to use boost.filesystem
87 2005-01-31 Angus Leeming <leeming@lyx.org>
89 * insetgraphicsParams.C: protect a #warning preprocessor call
90 with a #ifdef WITH_WARNINGS guard.
92 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
94 * Several files: use convert<> instead of atoi,strToXXX and friends
96 2005-01-23 Angus Leeming <leeming@lyx.org>
98 * insetbibitem.h (bibitemWidest): declare the function.
100 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * insetgraphics.C (prepareFile): move the invocation of the default
103 converter to ../converter.C
104 * insetgraphics.C (prepareFile), ExternalSupport.C (updateExternal):
105 call convert with try_default == true
107 2005-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * insetgraphics.C (prepareFile): add missing calls to addExternalFile
110 * ExternalSupport.[Ch] (doSubstitution): take a new parameter that
111 determines what variables are substituted
112 * ExternalSupport.C (updateExternal): fix substitution of
115 2005-01-10 Angus Leeming <leeming@lyx.org>
117 * ExternalTemplate.C: use support/package.h to provide the paths to the
118 various directories used by LyX.
120 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
128 * ExternalTransforms.C (adjAngle): tostr -> convert
130 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
132 * inset.[Ch] (forceDefaultParagraphs): delete since it is same as
135 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * ExternalTransforms.C: fix LaTeX output of \scalebox.
139 * ExternalTransforms.[Ch]:
140 * insetexternal.C: store all float/double values as strings.
143 * insetgraphicsParams.C: more precise checks for the value strings.
145 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
147 * insettext.C (doDispatch): remove unused variable was_empty
149 2004-12-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
152 * insetgraphicsParams.[Ch]: store all float/double values as strings.
154 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
156 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
158 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
161 UNSET_ALL_LINES (from Jürgen)
163 2004-12-14 Angus Leeming <leeming@lyx.org>
165 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
166 to overcome bug in the MinGW port of g++ 3.4.2.
168 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
170 * insettabular.C (getCellXPos): make it return a relative x
171 position wrt. the begin of the tabular
172 (resetPos): a couple of fixes
173 (doDispatch): add a couple of resetPos calls
174 (drawSelection): fix drawing of selection in single-cell mode
175 (draw): replace 'do not draw' optimization by 'draw with
178 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * insetbase.[Ch] (idxUpDown2): remove function
182 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * insettabular.[Ch]: use size_t-like types for cell, row and column
187 2004-12-02 José Matos <jamatos@lyx.org>
189 * insetlatexaccent.C (checkContents): remove compatibility code,
192 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * insetbase.h (getStatus): add better comment from src/cursor.C
196 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
198 * insettabular.[Ch]: adjust, introduce "do not draw
199 offscreen" optimization using NullPainter, (dist): introduce,
200 (getCursorPos): implement, (drawSelection): implement
202 * insetcollapsable.[Ch]: adjust
204 * insettext.C: adjust, (metrics): set the font before calling
207 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
209 * rename a lot of InsetOld to InsetBase
211 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
214 * insettext.C: par->pit renaming
216 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
218 * Most insets: rename priv_dispatch to doDispatch
220 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
222 * insettabular.C (tabularFeatures): fix multicolumn handling
224 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * render_base.h (operator=): use common semantics
228 * insettext.C (operator=): delete this
229 (copy constructor): implement this properly
230 (init): use for_each and bind
232 (appendParagraphs): ditto
234 * insettabular.C: add more const. Adjust for changes in tabular.
236 * insetbase.h: Use NVI on clone. Add virtual doClone and update
237 all children, also make copy constructor protected. Added some
238 safe-guards to clone.
240 * insets: adjust to fit.
242 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * insetoptarg.C (latexOptional): return number of lines instead of
247 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
249 * insettabular.[Ch] (string2params): Don't pretend to return the
250 active cell anymore and simplify keyword parsing.
252 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * insetlatexaccent.h (isLetter): implement, so that word selection
255 takes accents into account.
257 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
259 * insetcollapsable.C (priv_dispatch): do not push the inset to the
262 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
264 * ExternalSupport.C, insetgraphics.C:
265 s/getFormatFromContents/formats.getFormatFromFile/
267 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * insetcharstyle.[Ch]:
270 * insetert.[Ch]: implement getStatus
272 * insetcharstyle.C (draw): visual clue when the cursor is inside
275 2004-11-02 José Matos <jamatos@lyx.org>
277 * insetcharstyle.C (docbook):
278 * insetlabel.C (linuxdoc, docbook):
279 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
282 * insettabular.C (docbook): mixed content no longer belongs to
285 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
289 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * ExternalSupport.C (updateExternal): convert files in the temp dir
293 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * insetcharstyle.C: drawing cosmetics.
297 2004-10-30 José Matos <jamatos@lyx.org>
299 * insetcharstyle.C (docbook): a compromisse solution. Don't output
300 paragraph tags inside inline elements.
302 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
304 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
305 InsetText methods rather than outputVerbatim (escapes special
306 characters) [bug 1731]
307 * insetcharstyle.C (outputVerbatim): remove this function.
308 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
309 which caused an infinite loop.
311 2004-10-29 José Matos <jamatos@lyx.org>
313 * insetgraphics.C (uniqueID): transfered to sgml.C
315 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
317 * insetlabel.C (docbook, linuxdoc):
318 * insetref.C (docbook, linuxdoc): sanitize id.
320 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
323 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
324 * insetgraphics.C (findTargetFormat): reformat
326 2004-10-28 José Matos <jamatos@lyx.org>
328 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
330 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
332 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
334 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
337 "[,,,]" without warning message
339 2004-10-26 Angus Leeming <leeming@lyx.org>
341 * ExternalSupport.C (updateExternal):
342 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
343 external files to the temp directory.
345 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
347 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
348 layouts. This fixes problems with the memoir class (which does not
349 allow \footnote) [bug 1677]
351 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
353 * insetindex.C (docbook): escape the index, to generate correct sgml.
355 2004-10-23 José Matos <jamatos@lyx.org>
357 * insettext.C (docbook): rearrange arguments, due to change in the
360 2004-10-23 André Pönitz <poenitz@gmx.net>
362 * insettabular.C (cutSelection, tabularFereatures):
363 fix cursor position after cutting selection or table rows
365 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
367 * insetgraphics.C (docbook, writeImageObject): write more than one
368 format of imageobjects in <mediaobject>.
370 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
372 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
373 DocBook output for this inset ( <citation>content</citation> )
375 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
377 * insetgraphics.C (docbook) : using mediaobject for XML;
378 correcting bug with SGML output (now '>' instead of '/>')
380 2004-10-05 José Matos <jamatos@lyx.org>
382 * insetfloatlist.C (read):
383 * insetquotes.C (read):
384 * insetspace.C (read):
385 * insetspecialchar.C (read):
386 * insettabular.C (read): replace nextToken by more appropriate lex
389 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
391 * insetgraphics.C (createDocBookAttribute, docbook) :
392 convert scale, width, height and keepaspectratio to Docbook standards)
394 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
395 to Docbook units where possible.
397 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
399 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
401 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
402 as attributes with new method for docbook.
404 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * render_preview.h: Use preferred calling of Boost.Signal
408 * pch.h: use proper signal include
410 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
412 * ExternalTransforms.h: User preferred calling of Boost.Function
414 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
416 * insetref.C (docbook): fixing problem where Docbook XML output
417 had unclosed <xref ... >
419 2004-08-16 José Matos <jamatos@lyx.org>
421 * insethfill.C (write):
422 * insetline.C (write):
423 * insetnewline.C (write):
424 * insetpagebreak.C (write): remove space at end of line.
426 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * insettabular.C (plaintext): do not use ownerPar to get the
431 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
432 and it calls getParentLanguage (which calls ownerPar)
433 (edit): do not call sanitizeEmptyText
434 (priv_dispatch): remove code resetting font on empty inset, for
435 the same reasons as above.
437 * insettabular.C (isRightToLeft): instead of using
438 BufferView::getParentLanguage, use the data from the cursor
440 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
444 * Makefile.am: support pch
446 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * insettabular.C (draw): whitespace
450 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
452 2004-08-14 André Pönitz <poenitz@gmx.net>
454 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
456 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * insettabular.C (metrics): when the width of a cell is zero(),
459 let it use as much space as it can
461 * insettext.C (editXY): compilation fix
463 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
465 (metrics): the insets is not full width any more.
466 (draw): adjust; fix bad test for PREVIEW_OFF
467 (add_preview): fix bad test for PREVIEW_OFF
468 (display): do not return true when using \input
470 2004-08-14 José Matos <jamatos@lyx.org>
472 * insetbibitem.[Ch] (plaintext): added.
474 * insetcite.[Ch]: fix plaintext export.
476 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
478 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
481 * insetcaption.C (InsetCaption): modify call to setDrawFrame
482 * insetcollapsable.C (InsetCollapsable): ditto
483 * insetenv.C (InsetEnvironment): ditto
485 2004-08-14 André Pönitz <poenitz@gmx.net>
488 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
490 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * insetoptarg.C (latexOptional): if the optional argument contains
493 a ']' enclose it in {curly brackets}
495 * insettext.C (editXY):
496 * insettabular.C (editXY):
497 * insetcollapsable.C (editXY):
498 * insetbase.C (editXY): constify
500 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
501 not ask for an update if we did nothing; on a mouse release, make
502 sure that the cursor is moved to the right position; on a mouse
503 release, exit from the inset instead of invoking a
506 * insetbase.C (dispatch): before invoking dispatch, set cursor
507 result to dispatch=update=true.
509 2004-08-13 José Matos <jamatos@lyx.org>
511 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
513 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * insetfoot.C (latex): use OutputParams::intitle instead of
516 parOwner() (avoids time consuming lookup)
518 * insetquotes.C (latex): same as above with OutputParams::lang.
519 Moreover the code actually works now.
521 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
523 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
524 * insetinclude.C, insetgraphics.C, insetfloat.C:
525 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
526 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
527 "support/std_sstream.h" to <sstream>
529 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * insetgraphics.C (prepareFile): remove conversion_needed flag.
532 It made the following fail for a .eps graphics file:
534 2) view->pdf (pdflatex)
535 because the .eps file was already in the temp dir when the pdflatex
536 export happened and therefore no .eps -> pdf conversion was done.
538 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * insetgraphics.C, insettabular.C: s/wether/whether/g
542 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
544 * insetgraphics.C (stripExtension): new
545 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
547 * insetgraphics.C (prepareFile): Handle "nice" exports, too
548 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
550 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
552 * insetfloatlist.C (latex,getScreenLabel): translate according to
553 the document language (bug #1312)
555 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
558 with external_in_tmpdir and compute filename ourself
559 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
560 use it to store referenced file(s)
561 * ExternalSupport.C (writeExternal): write relative filename if
563 * ExternalTemplate.[Ch]: add ReferencedFile command
564 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
566 * insetgraphics.C (prepareFile): write relative filename if
568 * insetinclude.C (latex, docbook, linuxdoc): add file to
569 runparams.exportdata and write it to the temp dir instead of
570 writing it to the final destination
571 * insetinclude.C (docbook, linuxdoc): don't copy runparams
573 2004-05-19 Angus Leeming <leeming@lyx.org>
575 * insetcite.[Ch]: small change because namespace biblio is
576 now namespace lyx::biblio.
578 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * insettabular.[Ch] (buffer): make Buffer * argument const
582 2004-05-17 Angus Leeming <leeming@lyx.org>
584 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
585 to force the button label to be re-generated.
587 2004-05-14 José Matos <jamatos@lyx.org>
589 * insetlabel (docbook): do not ouput label, for the moment.
591 2004-05-14 Angus Leeming <leeming@lyx.org>
593 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
594 new biblio::asValidLatexString function.
596 2004-05-12 Angus Leeming <leeming@lyx.org>
598 * insetcite.C: use BufferParams::cite_engine rather than the three
599 bools, use_natbib, use_jurabib, use_numerical_citations.
601 2004-05-10 Angus Leeming <leeming@lyx.org>
603 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
604 Ditto with getStyle, moved to biblio::getEngine.
606 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
608 * insetgraphics.C (validate): remove pre 233 file format stuff,
609 handle zipped files for "nice" export
611 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
613 * insetgraphics.C (prepareFile): copy zipped file and corresponding
614 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
615 * insetgraphics.C (prepareFile): unzip zipped file also if it has
616 changed since the last run
617 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
618 and copyFileIfNeeded.
620 2004-04-29 Angus Leeming <leeming@lyx.org>
622 * ExternalTemplate.[Ch]: remove redundant #includes.
624 2004-04-28 Angus Leeming <leeming@lyx.org>
627 s/updateToolbar()/updateToolbars()/
629 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
631 * insetgraphics.C: require file extension (file format change!)
632 * insetgraphics.C (latex): handle zipped files for "nice" export
634 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
636 * insetgraphics.C (latex): strip the extension and replace dots in
637 the filename if doing a "nice" export. This is a partial fix for
638 bug 1231 without reintroducing bug 655.
640 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * insetoptarg.h: remove the editable() method (InsetCollapsable
643 does it better already)
645 * insetbibtex.C (normalize_name): new helper function. Changes the
646 name to be suitable to use in a latex file (relative to master
647 buffer if necessary).
648 (latex): use normalize_name.
650 2004-04-20 Angus Leeming <leeming@lyx.org>
652 * render_preview.C (startLoading): remove lyxerr statement.
654 (getPreviewLoader): new helper function.
656 2004-04-19 Angus Leeming <leeming@lyx.org>
660 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
662 2004-04-19 Angus Leeming <leeming@lyx.org>
664 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
666 (add_preview): renamed as add_preview_and_start_loading. Invoke
667 RenderPreview::startLoading.
669 * insetinclude.C (metrics, draw): changes due to the changed
670 RenderPreview interface.
672 * render_preview.C: remove cached pimage_.
673 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
674 (draw): don't call startLoading. That's up to the user of
677 2004-04-16 Angus Leeming <leeming@lyx.org>
679 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
681 2004-04-13 Angus Leeming <leeming@lyx.org>
683 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
684 the renderer to inform LyX::updateInset that the inset's status
685 has changed and it should be redrawn.
687 * render_button.[Ch] (clone):
688 * render_graphic.[Ch] (c-tors, clone):
689 * render_preview.[Ch] (c-tors, clone): ditto.
691 * render_graphic.[Ch] (connect):
692 * render_preview.[Ch] (connect): removed, as connection is now
693 made in the constructors.
697 * insetinclude.C: ensuing simplification of the client code.
698 (statusChanged): now superfluous. Removed.
700 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
702 * ExternalTemplate.[Ch]: remove editCommand
703 * ExternalSupport.C (editExternal): use formats.edit() instead of
704 the removed editCommand template parameter
705 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
706 * insetgraphics.[Ch] (editGraphics): new method
708 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * insetinclude.C (validate): set/reset features.buffer_ when
713 2004-04-07 Angus Leeming <leeming@lyx.org>
715 * insetexternal.C (priv_dispatch):
716 * insetinclude.C (priv_dispatch): prevent crash by invoking
717 InsetOld::priv_dispatch at the end of the switch, rather than
718 InsetOld::dispatch...
720 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
722 * insetcollapsable.C:
723 * insetbranch.C: 'assign' to open/close branch inset according to
724 selection; also print content on closed branch button
726 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
728 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
729 $$RelPath_Master, $$RelPath_Parent, $$Extension,
730 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
732 * ExternalSupport.C (updateExternal): use absolute and output
733 filename where appropriate
735 2004-04-05 André Pönitz <poenitz@gmx.net>
737 * insetbase.h: use LCursor & in notifyCursorLeave
739 2004-04-05 Angus Leeming <leeming@lyx.org>
741 * insetgraphics.C: remove unused header file "lyxrc.h".
743 * render_graphic.C: squash bug 1372: Misleading graphics label when
744 deactivating lyx view.
746 2004-04-05 Angus Leeming <leeming@lyx.org>
751 * insetlatexaccent.C:
756 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
758 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
760 * insetfloat.C (read): fix yesterday's float fix.
761 * insetwrap.C (read): apply the fixed float fix.
763 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * insetfloat.C (read): fix reading of float params
768 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
770 * insettext.C (edit): comment the call to updateLocal (dangling now)
771 * insettext.h: add allowSpellCheck() returning true
773 2004-03-31 Angus Leeming <leeming@lyx.org>
775 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
777 2004-03-31 Angus Leeming <leeming@lyx.org>
779 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
780 the cursor out of an inset.
782 * insetbranch.C (priv_dispatch):
783 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
784 use getOutOfInset to push the cursor out of the inset when
787 2004-03-30 Angus Leeming <leeming@lyx.org>
789 * insetbase.[Ch] (translate): new static member function, returns
790 an InsetBase::Code corresponding to the input string.
792 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
794 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
795 so that it opens the inset if it refers to the currently active
798 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
800 * insetfloat.C (addToToc): use par_const_iterator_begin and
801 par_const_iterator_end.
803 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
805 * insetbibtex.[Ch]: bibtopic support.
807 * insetfloat.[Ch]: add param \sideways {true|false}
808 (support for sideways floats from rotating.sty).
810 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
812 * insettext.[Ch]: add a default ctor. implement const version of
818 * insetwrap.C: adjust
820 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
822 * insettext.h: add insetAllowed returning true by default (fixing
823 vanishing insets problem)
825 * insettext.C (draw): handle the responsability of adding the
826 ouside offset to collapsable. Clean code a bit.
828 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
829 from insettext correctly, solve a couple of off-by-one drawing
832 2004-03-25 Angus Leeming <leeming@lyx.org>
834 * insetcaption.C (draw): squash warning about unused variable.
836 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
838 * ExternalSupport.C: use the master buffer's temp dir
839 * insetgraphics.C (latex): make relative filename relative to the
841 * insetgraphics.C: use the master buffer's temp dir
842 * insetinclude.C (masterFilename): new function
843 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
844 is always true if loadIfNeeded() returns true)
846 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
848 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
849 set its parent to the current buffer.
850 (latex): use the tmppath of the master buffer, not just the parent
851 buffer (makes a difference with more than one level of include
852 insets). If the file name is relative write in the .tex file a
853 name relative to the master buffer directory.
855 * insetinclude.C: rename masterFilename to parentFilename (this
856 points to the direct parent)
858 2004-03-25 André Pönitz <poenitz@gmx.net>
860 * inset.[Ch]: remover owner
862 * insetcollapsable.[Ch]: derive from InsetText instead having such a
870 * insetcharstyle.[Ch]:
878 * insetwrap.C: adjust
880 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
882 * insetquote.C: use opening quote after '[' char.
884 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
886 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
889 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * insetcite.[Ch]: support jurabib.
893 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
895 * insetcite.C: Support second \cite option.
898 * insetcommandparams.[Ch]: add second optional argument.
900 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
902 * insetcollapsable.C (lfunMouseRelease): right mouse button only
903 shows the inset dialog.
905 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
907 * insetlabel.[Ch]: remove them
908 * Makefile.am: adjust
910 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
914 * insetinclude.C (latex): show a GUI warning if textclasses don't
916 * insetinclude.C: use mangledFilename() for temp files
917 * insetgraphics.C (readInsetGraphics): remove version check, since
918 the graphics inset has no own fileformat number anymore
920 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
922 * insetquotes.[Ch]: added new member that allows direct access
923 to single/double quotation marks.
925 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
927 2004-02-16 André Pönitz <poenitz@gmx.net>
930 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
931 implicitly assume 'DispatchResult(true, true) with exception of
932 InsetBase::priv_dispatch which does the equivalent of
933 'retrun DispatchResult(false)'
935 * inset*.[Ch] (priv_dispatch): adjust
937 * insettabular.[Ch]: remove remains of the 'update' mechanism,
938 simplify cursor moving function,
939 re-enable horizontal scrolling for large tables
941 2004-02-13 André Pönitz <poenitz@gmx.net>
943 * insettabular.[Ch]: some work after IU
945 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
947 * inset.C (setPosCache): switch to absolute coords in insets
948 * insettext.[Ch] (draw, drawFrame): adjust
949 * insetcollapsable.C (draw): adjust
952 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
954 * insettext.C (edit):
955 (updateLocal): use the cur argument instead of the global cursor
956 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
958 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
960 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
962 * insetfloat.C (validate): "H" -> 'H' in call to contains
964 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
966 2004-01-30 André Pönitz <poenitz@gmx.net>
970 * insetcollapsable.[Ch]:
973 * insetgraphics.[Ch]:
978 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
981 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
983 * insettabular.C: add using statement for std::vector, remove
984 std:: where using was already used.
986 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
990 * insetinclude.C (validate): use feautures.nice() instead of
993 2004-01-20 André Pönitz <poenitz@gmx.net>
996 * insetbase.[Ch]: move stuff from mathcursor here.
1002 * insetcharstyle.[Ch]:
1003 * insetcollapsable.[Ch]:
1004 * insetcommand.[Ch]:
1006 * insetexternal.[Ch]:
1008 * insetgraphics.[Ch]:
1009 * insetinclude.[Ch]:
1013 * insettabular.[Ch]:
1017 * updatableinset.[Ch]: Adjust to IU changes (see comment in
1020 2004-01-15 André Pönitz <poenitz@gmx.net>
1023 * insetbibitem.[Ch]:
1027 * insetcharstyle.[Ch]:
1028 * insetcollapsable.[Ch]:
1029 * insetcommand.[Ch]:
1031 * insetexternal.[Ch]:
1033 * insetgraphics.[Ch]:
1034 * insetinclude.[Ch]:
1038 * insettabular.[Ch]:
1042 * updatableinset.[Ch] (priv_dispatch et al): change signature.
1044 2004-01-08 André Pönitz <poenitz@gmx.net>
1046 * insetcollapsable.[Ch]:
1047 * insettabular.[Ch]:
1049 * updatableinset.h: use cell index info from global cursor.
1051 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * insetnote.C (InsetNoteParams::write): write label only once
1055 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1057 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
1059 get rid of the SameName functor
1061 * insettabular.C: improve the functor.
1063 2003-12-29 Angus Leeming <leeming@lyx.org>
1065 * insetexternal.C (setParams): update defaultTemplateName.
1067 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
1069 * insetbox.C: Use term "Box" in button label
1071 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
1073 * insetcharstyle.C: get getDrawFont working again
1075 2003-12-15 André Pönitz <poenitz@gmx.net>
1077 * insettabular.[Ch]:
1078 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
1080 2003-12-12 Angus Leeming <leeming@lyx.org>
1082 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
1084 (InsetBranchParams): remove the branchlist hack.
1085 (isBranchSelected): new function, used to decide whether to
1086 print each output format. Also used by InsetList.
1087 (read, string2params): repair my own breakage ;-)
1089 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1091 * insetminipage.[Ch]: remove from repository.
1093 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
1096 * insetcollapsable.[Ch]: Move all CollapseStatus code from
1097 insetert to insetcollapsable; introduce virtual function
1098 setButtonLabel and invoke it from collapsable
1100 2003-12-12 Angus Leeming <leeming@lyx.org>
1102 * insetinclude.C (draw): cache x,y and so enable the
1103 dialog to be opened.
1105 2003-12-12 Angus Leeming <leeming@lyx.org>
1107 * mailinset.C (print_mailer_error): tidy up the output.
1109 2003-12-11 Angus Leeming <leeming@lyx.org>
1111 * mailinset.[Ch] (print_mailer_error): new helper function.
1113 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
1114 calling InsetCommandMailer.
1115 (InsetCommandMailer::string2params): pass the name of the dialog.
1117 * insetbibitem.[Ch] (d-tor):
1118 * insetbibtex.[Ch] (d-tor):
1119 * insetcite.[Ch] (d-tor):
1120 * insetfloatlist.[Ch] (d-tor):
1121 * insetindex.[Ch] (d-tor):
1122 * insetlabel.[Ch] (d-tor):
1123 * insetref.[Ch] (d-tor):
1124 * insettoc.[Ch] (d-tor):
1125 * inseturl.[Ch] (d-tor): removed.
1126 Hiding the dialog is handled by InsetCommand.
1128 * insetbibtex.[Ch] (draw, metrics):
1129 * insetfloatlist.[Ch] (draw, metrics):
1130 * insetindex.[Ch] (draw, metrics): removed.
1131 Drawing is handled by InsetCommand.
1133 * insetbibitem.[Ch] (priv_dispatch):
1134 * insetbibtex.[Ch] (priv_dispatch):
1135 * insetcite.[Ch] (priv_dispatch):
1136 * insetfloatlist.[Ch] (priv_dispatch):
1137 * insetindex.[Ch] (priv_dispatch):
1138 * insetlabel.[Ch] (priv_dispatch):
1139 * insettoc.[Ch] (priv_dispatch):
1140 * inseturl.[Ch] (priv_dispatch): removed or simplified.
1141 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
1142 LFUN_INSET_DIALOG_SHOW.
1144 * insetbox.C (string2params):
1145 * insetbranch.C (string2params):
1146 * insetert.C (string2params):
1147 * insetexternal.C (string2params):
1148 * insetfloat.C (string2params):
1149 * insetinclude.C (string2params):
1150 * insetminipage.C (string2params):
1151 * insetnote.C (string2params):
1152 * insetvspace.C (string2params):
1153 * insetwrap.C (string2params): over-hauled.
1155 2003-12-10 Angus Leeming <leeming@lyx.org>
1157 * insetexternal.[Ch]: add a draft option and respect it when
1160 2003-12-10 Angus Leeming <leeming@lyx.org>
1162 * insetbox.C: (read, write): now prepend the inset contents with
1163 'Box' to identify the inset as a box inset.
1165 * insetbox.h: move the translators out of sight.
1167 2003-12-10 Angus Leeming <leeming@lyx.org>
1169 * insetert.C (string2params): clean-up using the new lyxlex interface.
1171 * insetexternal.C: ensure that InsetExternalParams has a default
1172 template, 'RasterImage'.
1174 2003-12-10 Angus Leeming <leeming@lyx.org>
1176 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1177 to an enum. Ensuing clean-ups through out the class.
1178 (read, write): now prepend the inset contents with 'Note' to identify
1179 the inset as a note inset.
1181 2003-12-10 Angus Leeming <leeming@lyx.org>
1183 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1184 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1186 2003-12-10 André Pönitz <poenitz@gmx.net>
1190 * insettabular.[Ch]:
1191 * insettext.[Ch]: remove unused insetInset()
1193 * insetert.C: disable some LFUNs
1195 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1197 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1199 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1201 2003-12-04 Angus Leeming <leeming@lyx.org>
1203 * insetexternal.C (draw): update the xo_, yo_ cache.
1205 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1207 (RotationDataType): new helper struct wrapping the
1208 RotationData::OriginType enum.
1210 2003-12-03 André Pönitz <poenitz@gmx.net>
1212 * inset.h: remove getParagraphs()
1214 * insetcollapsable.[Ch]:
1217 * insettabular.[Ch]:
1218 * insettext.C: use getText() instead of getParagraphs()
1220 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1222 * insetert.C: fix label text updating bug
1224 2003-12-02 Angus Leeming <leeming@lyx.org>
1226 * insetvspace.[Ch] (space): new member function. Make space_ private.
1227 (read): use the new, simpler lyxlex syntax.
1229 2003-12-01 André Pönitz <poenitz@gmx.net>
1231 * insetcollapsable.[Ch]:
1232 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1234 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1236 * insetvspace.C (read): handle 'end_inset' token.
1238 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1240 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1242 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1244 * insetcollapsable.[Ch]:
1246 * insetcharstyle.C: place inset content on the button when
1249 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1251 * insetvspace.C: remove VSpace::NONE; increase inset width
1253 2003-12-01 André Pönitz <poenitz@gmx.net>
1255 * insetbase.h: whitespace
1257 * inset.[Ch]: remove latexTextWidth
1258 make setBackgroundColor virtual
1260 * insettext.[Ch]: move ParagraphList member to LyXText
1262 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1268 * insetminipage.[Ch]:
1270 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1272 2003-11-28 Angus Leeming <leeming@lyx.org>
1274 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1275 hiding and showing the dialog respectively.
1276 (priv_dispatch): also actually update the inset contents.
1278 2003-11-28 Angus Leeming <leeming@lyx.org>
1280 * insetbox.C (d-tor):
1281 * insetbranch.C (d-tor):
1282 * insetcite.C (d-tor):
1283 * insetfloat.C (d-tor):
1284 * insetfloatlist.C (d-tor):
1285 * insetinclude.C (d-tor):
1286 * insetindex.C (d-tor):
1287 simplify the invocation of the Mailer::hideDialog() function.
1289 * insetminipage.C (showInsetDialog):
1290 simplify the invocation of the Mailer::showialog() function.
1292 2003-11-28 André Pönitz <poenitz@gmx.net>
1295 * insetvspace.[Ch]: new insets
1297 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1299 * insetcharstyle.C: Syntax change for CharStyles
1301 2003-11-28 André Pönitz <poenitz@gmx.net>
1303 * updatableinset.h: remove insetInInsetY
1305 * insetcollapsable.[Ch]:
1307 * insettabular.[Ch]:
1308 * insettext.[Ch]: adjust
1310 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1314 * insetcollapsable.[Ch]:
1316 * insettabular.[Ch]: remove setFont
1318 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1320 * render_graphic.[Ch]: adjust comments
1322 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1324 * insetgraphics.C (draw): cache xo_ & yo_
1326 2003-11-24 André Pönitz <poenitz@gmx.net>
1328 * insettext.C (setViewCache): don't call LyXText::init() anymore
1330 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1333 * insetcollapsable.[Ch]:
1334 * insetert.[Ch]: remove bufferview parameter in methods
1335 open, close, status, and updateStatus.
1337 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1339 * insetcollapsable.[Ch]:
1340 * insettabular.[Ch]:
1341 * insettext.[Ch] (getCursorDim): squash unused variable
1343 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1345 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1347 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1349 * insettext.C (draw): sets LyXText absolute coordinates
1351 2003-11-20 Angus Leeming <leeming@lyx.org>
1353 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1354 warnings about unused parameters.
1356 * insetcollapsable.C (open):
1357 * insettabular.C (pasteSelection):
1358 * insettoc.C (draw): ditto.
1360 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1362 * insetcollapsable.C:
1364 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1365 remove mouse_x mouse_y etc.
1367 2003-11-17 André Pönitz <poenitz@gmx.net>
1369 * insettext.[Ch] (cx, cy): remove
1371 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1373 2003-11-13 André Pönitz <poenitz@gmx.net>
1376 * insetcollapsable.[Ch]:
1377 * insettabular.[Ch]:
1378 * insettext.[Ch] (deleteLyXText): remove
1380 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1382 * insetcollapsable.[Ch] (fitInsetCursor): remove
1383 * insettabular.[Ch] (fitInsetCursor): remove
1384 * insettext.[Ch] (fitInsetCursor): remove
1385 * updatableinset.[Ch] (fitInsetCursor): remove
1386 (getCursorDIm): add virtual
1388 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1390 * src/insets/Makefile.am:
1391 * src/insets/inset.h:
1392 * src/insets/insetcharstyle.C:
1393 * src/insets/insetcharstyle.h: The Character Style /XML short
1396 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1398 * insettext.C: remove all update calls
1399 * insetcollapsable.C: remove all update calls
1401 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1403 * insettext.C (updateLocal, insertInset, setFont): remove
1406 2003-11-10 André Pönitz <poenitz@gmx.net>
1408 * inset.h: remove Inset::id_
1410 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1415 2003-11-10 André Pönitz <poenitz@gmx.net>
1419 * insetcollapsable.[Ch]:
1423 * insettabular.[Ch]:
1426 * updatableinset.[Ch]: remove inset locking & adjust
1428 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1430 * inset.h (allowSpellCheck): add (return true)
1431 * insetert.h (allowSpellCheck): add (return false)
1433 2003-11-05 José Matos <jamatos@lyx.org>
1439 * insetcaption.[Ch]:
1441 * insetcollapsable.[Ch]:
1442 * insetcommand.[Ch]:
1445 * insetexternal.[Ch]:
1447 * insetfloatlist.[Ch]:
1449 * insetgraphics.[Ch]:
1451 * insetinclude.[Ch]:
1454 * insetlatexaccent.[Ch]:
1457 * insetmarginal.[Ch]:
1458 * insetminipage.[Ch]:
1459 * insetnewline.[Ch]:
1462 * insetpagebreak.[Ch]:
1466 * insetspecialchar.[Ch]:
1467 * insettabular.[Ch]:
1469 * insettheorem.[Ch]:
1472 * insetwrap.[Ch]: rename ascii to plaintext
1473 and LatexRunParams to OutputParams.
1475 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1477 * insetcollapsable.C (edit): add open() all
1478 * insettext.C (edit): add setViewCache call
1480 2003-11-04 André Pönitz <poenitz@gmx.net>
1482 * inset.h (edit): move locking code from dispatch() to edit()
1488 * insetcollapsable.[Ch]:
1491 * insetexternal.[Ch]:
1492 * insetgraphics.[Ch]:
1497 * insettabular.[Ch]:
1498 * insettext.[Ch]: adjust
1500 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1503 * insetcollapsable.[Ch]:
1505 * insettabular.[Ch]:
1507 * updatableinset.[Ch]: remove dead search code
1509 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1512 * insetcollapsable.[Ch]:
1514 * insettabular.[Ch]:
1516 * updatableinset.[Ch]: remove dead spellcheck code
1518 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1520 * insettabular.C (lockInsetInInset): small fix
1522 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1524 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1525 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1526 from here. Be stricter on DispatchResult returned.
1528 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * Inset::dispatch's: adjust for new DispatchResult semantics.
1532 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * render_base.h: make clone return an auto_ptr
1535 * render_button.C (clone): adjust
1536 * render_graphic.C (clone): adjust
1537 * render_preview.C (clone): adjust
1539 * insettheorem.C (clone): return an auto_ptr
1541 * insettext.C (priv_dispatch): exception safety
1543 * insettabular.C: store the file scope variable paste_tabular in a
1544 scoped_ptr, adjust usage.
1546 * insetexternal.C (setParams): exception safety
1548 * insetbibitem.C (clone): exception safety
1550 2003-11-03 André Pönitz <poenitz@gmx.net>
1553 * insetcollapsable.[Ch]:
1554 * insettabular.[Ch]:
1555 * insettext.[Ch]: remove Inset::id and related functions
1557 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * insets: adjust for DispatchResult changes.
1561 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1563 * insetpagebreak.C: fix screen representation & ascii output.
1565 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1569 * insettabular.[Ch]:
1570 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1572 2003-10-31 José Matos <jamatos@lyx.org>
1574 * inset.h (ascii, linuxdoc, docbook):
1575 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1576 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1577 * insetcaption.[Ch] (ascii, docbook):
1578 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1579 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1580 * insetert.[Ch] (ascii, linuxdoc, docbook):
1581 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1582 * insetfloat.[Ch] (linuxdoc, docbook):
1583 * insetfloatlist.[Ch] (ascii):
1584 * insetfoot.[Ch] (docbook):
1585 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1586 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1587 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1588 * insetindex.[Ch] (docbook):
1589 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1590 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1591 * insetline.[Ch] (ascii, linuxdoc, docbook):
1592 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1593 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1594 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1595 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1596 * insetref.[Ch] (ascii, linuxdoc, docbook):
1597 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1598 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1599 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1600 * insettext.[Ch] (ascii, linuxdoc, docbook):
1601 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1602 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1603 * insetwrap.[Ch] (docbook):
1604 add LatexRunParams argument.
1606 2003-10-30 José Matos <jamatos@lyx.org>
1608 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1610 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * updatableinset.C (priv_dispatch):
1613 * insetwrap.C (priv_dispatch):
1614 * inseturl.C (priv_dispatch):
1615 * insettoc.C (priv_dispatch):
1616 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1617 (moveLeftIntern, moveUp, moveDown):
1618 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1619 (moveLeft, moveUp, moveDown):
1620 * insetref.C (priv_dispatch):
1621 * insetnote.C (priv_dispatch):
1622 * insetminipage.C (priv_dispatch):
1623 * insetlabel.C (priv_dispatch):
1624 * insetindex.C (priv_dispatch):
1625 * insetinclude.C (priv_dispatch):
1626 * insetgraphics.C (priv_dispatch):
1627 * insetfloatlist.C (priv_dispatch):
1628 * insetfloat.C (priv_dispatch):
1629 * insetexternal.C (priv_dispatch):
1630 * insetert.C (priv_dispatch):
1631 * insetcommand.C (priv_dispatch):
1632 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1633 * insetcite.C (priv_dispatch):
1634 * insetbranch.C (priv_dispatch):
1635 * insetbox.C (priv_dispatch):
1636 * insetbibtex.C (priv_dispatch):
1637 * insetbibitem.C (priv_dispatch):
1638 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1640 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1642 * insettext.C: small refactoring of docbook stuff
1644 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1647 (priv_dispatch): adjust for operator dispatch_result_t removal
1649 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1650 in a DispatchResult, adjust accordingly.
1651 (priv_dispatch): use strange >= construct... (will be removed later)
1653 * most insets: dispatch_result -> DispatchResult
1655 * insetbase.h: move DispatchResult out to dispatchresult.h
1657 2003-10-27 André Pönitz <poenitz@gmx.net>
1659 * insetpagebreak.[Ch]: new inset for page breaks
1661 * insetline.[Ch]: new inset for vertical lines
1666 2003-10-25 Angus Leeming <leeming@lyx.org>
1668 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1669 new virtual member functions, specialised...
1670 * render_button.h (asButton):
1671 * render_graphic.h (asGraphic):
1672 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1674 * insetexternal.C: use these new functions rather than dynamic_cast.
1675 Various other small simplifications.
1677 2003-10-22 Angus Leeming <leeming@lyx.org>
1679 * insetexternal.[Ch]: add the ability to 'preview' the external file
1682 * insetinclude.C: changes due to the changes in the RenderPreview
1685 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1686 message if the preview image is not available. Only initiate the
1687 loading of the preview from draw(). Ditto, start the monitoring
1688 of an external file from RenderMonitoredPreview::draw.
1690 2003-10-22 Angus Leeming <leeming@lyx.org>
1692 * insetcite.[Ch] (setLoadingBuffer): removed.
1693 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1694 ascertain whether to proceed with the (expensive) task of computing
1695 the natbib-style label. Remove the home-grown hack providing
1696 similar functionality.
1698 2003-10-22 Angus Leeming <leeming@lyx.org>
1700 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1701 class and into an anonymous namespace.
1703 2003-10-22 Angus Leeming <leeming@lyx.org>
1705 * insetcommand.h: remove the display method.
1709 * insetindex.h (InsetPrintIndex):
1710 * insettoc.h: add a display method, returning true.
1712 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1714 * insetcollapsable.h:
1718 * insetinclude.h: (1) finish off the inset display() work;
1719 (2) fix the "is a bit silly" bug (accessing char
1722 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1726 * insetfootlike.h: re-introduce display() for insets,
1727 fixing the various bugs (stretch of line above, math inset
1730 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * insetbase.C (dispatch): new func
1733 (priv_dispatch): new func replaces...
1734 (localDispatch): this, deleted.
1736 * all insets with dispatch modified for new code.
1738 2003-10-15 André Pönitz <poenitz@gmx.net>
1740 * insetcollapsable.[Ch]
1742 * inset.h: re-add some edit(bv, index) method called by undo
1744 2003-10-14 Angus Leeming <leeming@lyx.org>
1746 * insetexternal.[Ch] (view, cache, view_):
1747 * insetgraphics.[Ch] (view, cache, view_):
1748 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1749 (statusChanged): call LyX::cref().updateInset.
1751 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1752 the BufferView cache.
1754 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1757 2003-10-14 Angus Leeming <leeming@lyx.org>
1759 * insetinclude.C (metrics, draw): only draw the preview when previews
1762 2003-10-14 André Pönitz <poenitz@gmx.net>
1764 * insetcollapsable.[Ch]:
1765 * insettabular.[Ch]:
1767 * inset.h: getText() as alternative to getParagraphs()
1769 2003-10-13 Angus Leeming <leeming@lyx.org>
1772 * insetgraphicsParams.C: displayTranslator is now a function.
1774 2003-10-13 Angus Leeming <leeming@lyx.org>
1776 * insetinclude.C: remove #include "PreviewImage.h".
1778 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * ExternalSupport.C:
1781 * ExternalTransforms.C:
1783 * insetbox.h: ws changes only
1785 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * insetinclude.C (localDispatch): do not call
1788 InsetOld::localDispatch, just return UNDISPATCHED
1789 * insetgraphics.C (localDispatch): ditto
1790 * insetcommand.C (localDispatch): ditto
1792 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1794 * inset.h: get rid of RESULT typedef for dispatch_result
1796 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1797 * insetert.[Ch] (localDispatch): ditto
1798 * insettabular.[Ch] (localDispatch): ditto
1803 * insettext.[Ch] (localDispatch): ditto
1806 (moveRightIntern): ditto
1807 (moveLeftIntern): ditto
1810 * updatableinset.[Ch] (localDispatch): ditto
1812 2003-10-12 Angus Leeming <leeming@lyx.org>
1814 * renderbase.h (view, view_): removed.
1815 * renderbase.C: removed.
1816 * Makefile.am: remove render_base.C. The shortest lived file in
1819 * renderbutton.C (draw):
1820 * render_graphic.C (draw): don't cache the BufferView.
1822 * insetabase.h (cache, view): removed.
1824 * inset.h (generatePreview) removed.
1826 * insetcallapsable.[Ch] (cache, view, view_): removed.
1828 * insetcollapsable.C (draw): don't cache the BufferView.
1830 * insetcommand.[Ch] (view): removed.
1832 * insetexternal.[Ch] (cache, view, view_):
1833 * insetgraphics.[Ch] (cache, view, view_):
1834 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1836 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1837 when you have direct access to it. In fact, don't use the cache at all.
1839 2003-10-10 Angus Leeming <leeming@lyx.org>
1841 * insetinclude.C (metrics): use preview_->metrics.
1842 (draw): use preview_->draw.
1844 * render_preview.[Ch] (pimage): removed.
1846 2003-10-10 Angus Leeming <leeming@lyx.org>
1848 * renderers.[Ch]: removed.
1851 * render_button.[Ch]:
1852 * render_graphic.[Ch]:
1853 * render_preview.[Ch]: new files. The first three are split out of
1854 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1855 contains a re-worked InsetInclude::PreviewImpl also.
1857 * Makefile.am: reflect the changed files.
1860 * insetexternal.[Ch]:
1861 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1863 * insetinclude.[Ch]: changes reflecting the change from
1864 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1870 * inseturl.C: add #include "support/std_ostream.h"
1872 2003-10-09 Angus Leeming <leeming@lyx.org>
1874 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1875 to PreviewedInset::previewReady.
1877 2003-10-09 Angus Leeming <leeming@lyx.org>
1879 * insetexternal.[Ch] (statusChanged):
1880 * insetgraphics.[Ch] (statusChanged): make a const member function.
1882 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1885 2003-10-09 Angus Leeming <leeming@lyx.org>
1887 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1888 to PreviewedInset's previewReady and removePreview member functions.
1890 2003-10-08 André Pönitz <poenitz@gmx.net>
1892 * insetcollapsable.C:
1893 * insettext.[Ch]: saner 'init' structure
1895 * updatableinset.[Ch]: remove unneeded code
1897 2003-10-08 Angus Leeming <leeming@lyx.org>
1899 Fix doxygen warnings.
1901 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1902 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1904 2003-10-07 Angus Leeming <leeming@lyx.org>
1906 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1907 be applied to InsetExternal.
1909 * Makefile.am: add these new files.
1911 * ExternalTemplate.[Ch]: add a list of available transforms to
1912 class Template and a list of factory functions for transformer classes
1913 that can act on this data to class Format.
1915 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1917 * ExternalSupport.C: Add code to replace transform placeholders
1918 with appropriate output.
1920 2003-10-07 Angus Leeming <leeming@lyx.org>
1922 * ExternalSupport.[Ch]: new files, moving the private member functions
1923 and namespace anon functions out of insetexternal.C to here, so making
1924 it easier to understand what is going on in insetexternal itself.
1926 * Makefile.am: add new files.
1928 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1929 allowing the class to be forward declared. (Also consistent with
1930 all other Params classes.)
1931 (write): moved out of the class. Move this function and those in
1932 namespace anon to ExternalSupport.[Ch].
1934 2003-10-07 Angus Leeming <leeming@lyx.org>
1936 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1937 non-const member function.
1939 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1944 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1946 2003-10-02 André Pönitz <poenitz@gmx.net>
1948 * insettext.C (read): make sure there is at least one par
1949 in the text after reading.
1951 2003-10-01 José Matos <jamatos@lyx.org>
1953 * insetbranch.C (linuxdoc, docbook): minor fix.
1955 2003-10-01 Angus Leeming <leeming@lyx.org>
1957 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1959 * insetexternal.[Ch]: changes due to the introduction of
1960 namespace lyx::external.
1962 2003-09-30 Angus Leeming <leeming@lyx.org>
1964 * insetexternal.[Ch] (Params::read, write): new member functions.
1966 2003-09-25 Angus Leeming <leeming@lyx.org>
1968 * insetexternal.[Ch] (TempName): new (private) nested struct with
1969 fake copy semantics. Enables us to use the generated copy c-tor
1970 in the Params struct.
1971 (Params::templatename, Params::tempname): use accessor functions.
1973 2003-09-25 Angus Leeming <leeming@lyx.org>
1975 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1976 function, returning a const pointer.
1978 2003-09-23 Angus Leeming <leeming@lyx.org>
1980 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1981 store them in a vector, preambleNames.
1983 * insetexternal.C (validate): loop over all preambleNames and call
1984 LaTeXFeatures::addExternalPreamble with each.
1986 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1988 * insetbranch.C: bug fix in branches
1990 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1992 * insetnote.C: small clean-up.
1994 2003-09-19 Angus Leeming <leeming@lyx.org>
1996 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1998 * insetcommand.C (string2params): clear params using the default c-tor.
2000 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
2001 InsetInclude::Params. No more data in this struct than in
2002 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
2003 (c-tor): no need to pass a 'Buffer const &' arg anymore.
2004 (clone): remove #warning as it's now redundant.
2005 (set): add a 'Buffer const &' arg. Make private.
2006 (loadIfNeeded) move out of the class definition and into namespace anon.
2007 (getMasterFilename, getFileName): ditto.
2009 2003-09-18 Angus Leeming <leeming@lyx.org>
2011 * insetcommand.C (setParams): use the params' copy constructor.
2013 2003-09-18 Angus Leeming <leeming@lyx.org>
2015 * insetinsetbase.h (getLabelList):
2016 * insetinsetcollapsable.[Ch] (getLabelList):
2017 * insetinsetinclude.[Ch] (getLabelList):
2018 * insetinsetlabel.[Ch] (getLabelList):
2019 * insetinsettabular.[Ch] (getLabelList):
2020 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
2021 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
2023 2003-09-18 Angus Leeming <leeming@lyx.org>
2025 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
2026 redundant baggage from yesteryear.
2027 Remove Params::flag as it is redundant; the info is present in
2030 2003-09-18 Angus Leeming <leeming@lyx.org>
2032 * insetinclude.C (latexString): add a Buffer const & arg.
2034 2003-09-18 Angus Leeming <leeming@lyx.org>
2039 * insettext.h: rename EnumLColor as LColor_color.
2041 2003-09-18 Angus Leeming <leeming@lyx.org>
2043 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
2044 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
2046 2003-09-16 Angus Leeming <leeming@lyx.org>
2048 * insetinclude.C (localDispatch): ensure that
2049 params_.masterFilename_ is set before trying to generate a
2050 preview, else we trigger an assert.
2052 2003-09-16 Angus Leeming <leeming@lyx.org>
2054 * insetinclude.C (PreviewImpl::parent): return a const reference.
2056 2003-09-16 Angus Leeming <leeming@lyx.org>
2058 * insetcollapsable.[Ch]: make all member variables, except for
2061 * insetert.C (init): use InsetCollapsable::setLabelFont rather
2062 than access labelfont directly.
2063 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
2064 use InsetCollapsable::setCollapsed, isOpen rather than access
2065 collapsed_ directly.
2067 * insetminipage.C (metrics):
2068 * insetnote.C (metrics):
2069 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
2070 access collapsed_ directly.
2072 2003-09-16 Angus Leeming <leeming@lyx.org>
2074 * insetbibitem.C: add #include "lyxfont.h".
2076 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * insetbibtex.C: use namespace alias for lyx::support::os
2081 2003-09-16 Angus Leeming <leeming@lyx.org>
2083 * insetcollapsable.h: remove unused framecolor variable.
2084 Remove #include "LColor.h".
2086 * insetcollapsable.C: remove unused framecolor variable.
2089 * insetcollapsable.C:
2097 Add #include "LColor.h".
2099 2003-09-16 Angus Leeming <leeming@lyx.org>
2101 * insettext.[Ch] (frameColor): new accessor function.
2102 (frame_color_): stored as an int, allows us to remove #include
2103 "LColor.h" from insettext.h
2108 add #include "LColor.h".
2110 * insetcollapsable.h: add #include "LColor.h"
2111 (for its framecolor member variable).
2113 2003-09-16 Angus Leeming <leeming@lyx.org>
2115 * insetenv.C (constructor): use accessor functions to access
2116 InsetText variables.
2118 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
2119 rename frame_color as frame_color_. Make private.
2121 * insettext.C: associated changes.
2123 2003-09-16 Angus Leeming <leeming@lyx.org>
2125 * inset.h: store background_color_ as an int, not as an
2126 LColor::color to get LColor.h out of the header file.
2129 * insetlatexaccent.C:
2132 * insetspecialchar.C:
2134 add #include "LColor.h".
2136 2003-09-16 Angus Leeming <leeming@lyx.org>
2138 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
2139 cannot string calls together.
2141 2003-09-15 Angus Leeming <leeming@lyx.org>
2143 * inset.[Ch] (setBackgroundColor, backgroundColor):
2144 * insettext.[Ch] (setFrameColor):
2145 pass EnumLColor args, rather than LColor::color ones.
2147 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * insetwrap.C: remove usage of STRCONV
2159 2003-09-15 Angus Leeming <leeming@lyx.org>
2161 * renderers.C (draw):
2162 * insetlatexaccent.C (draw): explicitly define the color passed to
2165 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2167 * insettext.C: remove block causing problems in lockInsetInInset
2168 (mentioned erroneously under Bug #1366)
2170 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2172 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2175 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2177 * several files: change Assert to BOOST_ASSERT
2179 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2181 * insettext.[Ch]: remove drawText[XY]Offset
2183 2003-09-08 Angus Leeming <leeming@lyx.org>
2185 * insetcollapsable.C:
2190 * insetspecialchar.C:
2193 * insettoc.C: remove redundant using directives.
2195 2003-09-07 Angus Leeming <leeming@lyx.org>
2198 * insetspecialchar.h: remove #include "support/std_string.h".
2200 2003-09-06 Angus Leeming <leeming@lyx.org>
2202 * renderers.C: add #include "insets/inset.h"
2204 2003-09-05 Angus Leeming <leeming@lyx.org>
2206 * *.C: strip out redundant #includes. (193 in total.)
2208 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2210 * insets/insetbibtex.[Ch]:
2211 * insets/insetcommand.h:
2212 * insets/insetfloatlist.[Ch]:
2213 * insets/insetinclude.[Ch]:
2214 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2215 of insets like bibtex, include, toc and floatlist to the visible
2216 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2217 up the dialogs. Cursor has to be in front of the inset (i.e.
2218 start of row) for this to function.
2220 2003-09-04 Angus Leeming <leeming@lyx.org>
2222 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2223 structure outside of the Format struct. Format::preambleName refers to
2224 an item in the map of all preamble snippets.
2225 Make use of the new Debug::EXTERNAL flag.
2227 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2228 (validate): Small change due to the changed storage of preamble
2231 2003-09-04 Angus Leeming <leeming@lyx.org>
2233 * insetgraphics.C: #include "support/os.h"
2235 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2236 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2237 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2239 * insetcollapsable.h:
2241 * insetnote.C: move #include "funcrequest.h" out of the header file.
2243 2003-09-03 Angus Leeming <leeming@lyx.org>
2245 * insetexternal.C (updateExternal):
2246 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2249 2003-09-03 Angus Leeming <leeming@lyx.org>
2251 * insetexternal.C: don't bring namespace lyx::support into the global
2254 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2256 * insetbranch.C: Add Branch: to label
2258 2003-09-02 John Levon <levon@movementarian.org>
2261 * insettext.C: remove cursor.i[xy]()
2263 2003-08-28 Angus Leeming <leeming@lyx.org>
2265 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2266 "sh ", enabling the conversion to be carried out even if the script
2269 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * most files: change to use const Buffer refs
2273 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2275 * insetfootlike.C: whitespace.
2277 2003-08-26 John Levon <levon@movementarian.org>
2281 * insetindex.h: remove remaining mentions of needFullRow()
2283 2003-08-26 André Pönitz <poenitz@gmx.net>
2289 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2291 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2293 * insetbranch.C: Small fix to prevent a crash on loading.
2295 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2300 * insetcollapsable.h:
2302 * insetfloatlist.[Ch]:
2303 * insetfootlike.[Ch]:
2304 * insetinclude.[Ch]:
2310 * insettheorem.[Ch]:
2311 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2312 altogether, putting the logic in metrics/draw in the insets.=20
2313 Draws short single row insets with more or less realistic metrics.
2315 2003-08-19 André Pönitz <poenitz@gmx.net>
2317 * insettext.C: use new RowPainter interface
2319 2003-08-18 John Levon <levon@movementarian.org>
2321 * insetref.C: require amsmath for eqref
2323 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2327 * insetbranch.[Ch]: implements the 'branch inset'
2328 idea. This allows the output of various versions of a document
2329 from a single source version, selectively outputing or suppressing
2330 output of parts of the text.
2331 This implementation contains a 'branch list editor' in a separate
2332 tab of the document settings dialog. Branches are user definable
2333 and have a "display colour" to distinguish them on-screen.
2335 ColorHandler was somewhat cleaned up.
2336 (1) make possible a dynamically growing LColor list by allowing
2337 the graphic context cache to grow along (vector);
2338 (2) eliminate an IMHO unnecessary step in colour allocation.
2340 2003-08-15 André Pönitz <poenitz@gmx.net>
2342 * insettext.[Ch]: adjust after rowlist split
2344 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2346 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2347 rename valign-center to valign-middle;
2348 rename VALIGN_CENTER to VALIGN_MIDDLE
2350 2003-08-11 André Pönitz <poenitz@gmx.net>
2352 * inset.h: remove resizeLyXText
2355 * insetcollapsable.[Ch]:
2357 * insettabular.[Ch]: adjust
2359 * insettext.[Ch]: remove saveLyXTextState,
2360 restoreLyXTextStat, sstate, reinitLyXText
2362 2003-08-07 André Pönitz <poenitz@gmx.net>
2364 * inset.[Ch]: move non-crucial functions out-of-line
2366 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2367 remove duplicated code.
2369 2003-08-05 André Pönitz <poenitz@gmx.net>
2372 * insetcollapsable.[Ch]:
2382 * insettabular.[Ch]:
2385 * updatableinset.[Ch]: rip out "deep update"
2387 * insettext.C (localDispatch): merge cases with default branch
2389 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2391 * insettabular.[Ch] (updateLocal): simplify logic
2393 2003-08-04 André Pönitz <poenitz@gmx.net>
2395 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2396 is 'FULL' all the time.
2398 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2400 * insetert.C (get_new_label): only add ... to the (closed) label
2401 when the string has been shortened
2403 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2405 * Always use std::endl with lyxerr
2407 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2409 * insetnote.C: update \author list
2411 2003-07-31 André Pönitz <poenitz@gmx.net>
2413 * insetcollapsable.h:
2414 * insettabular.[Ch]:
2415 * insettext.[Ch]: remove toggleSelection
2417 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2419 (with help from Juergen Spitzmueller)
2420 * insetnote.C: add add i18n support. Use Prefs-definable
2421 colours for Comment and Greyedout.
2423 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2425 * insetcollapsable.[Ch]:
2427 * insetert.C: factor out the detection of clicking on the inset
2428 button as 'hitButton'. John Levon contributed.
2430 2003-07-30 André Pönitz <poenitz@gmx.net>
2432 * insetcollapsable.C:
2434 * insettabular.C: parantheses, localize vars etc.
2436 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2438 * insetnote.C: Implement a newenvironment in preamble for
2439 greyedout. Patch provided by Jürgen Spitzmüller.
2441 2003-07-29 Angus Leeming <leeming@lyx.org>
2443 * insetcommand.C (localDispatch): default to
2444 InsetOld::localDispatch.
2446 * insetbibitem.C (localDispatch):
2447 * insetbibtex.C (localDispatch): remove call to
2448 ChangeCitationsIfUnique.
2450 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2452 * insetexternal.C (read): use pushpophelper.
2454 2003-07-28 José Matos <jamatos@lyx.org>
2456 * insetext.C (read): \end_document replaces \the_end.
2458 2003-07-28 José Matos <jamatos@fep.up.pt>
2460 * insetert.C (write): \layout -> \begin_layout.
2461 Add missing \end_layout.
2463 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2465 * insetquotes.C: document a bit the format
2467 * insettabular.C (write): remove extra space
2469 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2470 * insetnote.C: Umpf. Hope I *now* get it right :-(
2472 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2473 *insetnote.C: did the right fix to greyedout: \color
2474 instead of \textcolor.
2476 2003-07-28 Angus Leeming <leeming@lyx.org>
2478 * insetbibtex.h: remove extraneous forward declaration.
2481 * insetbibtex.h: Also remove long-dead Holder member class
2484 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2486 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2489 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * insetwrap.C (addToToc): adjust for lyx::toc
2493 * insetfloatlist.C (ascii): adjust for lyx::toc
2495 * insetfloat.C (addToToc): adjust for lyx::toc
2497 2003-07-27 José Matos <jamatos@fep.up.pt>
2499 * insetnote.h (linuxdoc,docbook): update support.
2501 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2503 * insetfloat.C (wide): add a space to label, for consistency
2505 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * insettext.C (nextChange): adjust for lyx::find
2508 (searchForward): ditto
2509 (searchBackward): ditto
2511 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2513 * insetgraphicsParams.C:
2514 * insetexternal.C: declare extern displayTranslator
2517 * renderers.C: add #include "support/LAssert.h"
2519 2003-07-27 José Matos <jamatos@fep.up.pt>
2521 * insetfloat.[Ch] (linuxdoc):
2522 * insetgraphics.C (linuxdoc):
2523 * insettabular.C (linuxdoc):
2524 * insettext.[Ch] (linuxdoc): add support for tables and figures
2527 2003-07-27 José Matos <jamatos@fep.up.pt>
2529 * insetinclude (latex): comply with makeLaTeXFile argument change.
2531 2003-07-26 Asger Alstrup <alstrup@local>
2533 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2534 the undo crashes. We'll see what problems other places this will
2537 2003-07-26 Angus Leeming <leeming@lyx.org>
2539 * insetgraphics.C: remove unused declaration of system_tempdir.
2541 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * rename Inset to InsetOld
2545 * all inset files (clone): return a auto_ptr<InsetBase>
2547 2003-07-23 Angus Leeming <leeming@lyx.org>
2549 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2551 2003-07-23 Angus Leeming <leeming@lyx.org>
2553 * mailinset.[Ch] (inset2string):
2554 * insetcommand.[Ch] (inset2string):
2555 * insetert.[Ch] (inset2string):
2556 * insetexternal.[Ch] (inset2string):
2557 * insetfloat.[Ch] (inset2string):
2558 * insetgraphics.[Ch] (inset2string):
2559 * insetinclude.[Ch] (inset2string):
2560 * insetminipage.[Ch] (inset2string):
2561 * insetnote.[Ch] (inset2string):
2562 * insettabular.[Ch] (inset2string):
2563 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2565 * insetexternal.[Ch]:
2566 * insetgraphics.[Ch]: get rid of the view() function. Associated
2567 changes to the mailers' string2params and params2string functions.
2569 2003-07-23 Angus Leeming <leeming@lyx.org>
2571 * insetexternal.[Ch]: store the external file name in a FileName
2572 member variable rather than a string + associated changes.
2574 2003-07-21 Angus Leeming <leeming@lyx.org>
2576 * insetgraphicsParams.[Ch]: store the graphics file name in
2577 a FileName member variable rather than a string.
2579 * insetgraphics.[Ch]:
2580 * insetgraphicsParams.[Ch]: Associated changes.
2582 2003-07-21 Angus Leeming <leeming@lyx.org>
2584 * insetgraphics.[Ch] (string2params, params2string): passed a
2585 buffer_path argument.
2588 2003-07-21 Angus Leeming <leeming@lyx.org>
2591 * insetgraphicsParams.[Ch]:
2593 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2595 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2597 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2599 2003-07-18 André Pönitz <poenitz@gmx.net>
2602 * insetminipage.[Ch]:
2603 * insettabular.[Ch]:
2606 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2608 2003-07-18 André Pönitz <poenitz@gmx.net>
2612 * insetcollapsable.C:
2616 * insetgraphics.[Ch]:
2617 * insetlatexaccent.[Ch]:
2622 * insetspecialchar.C:
2623 * insettabular.[Ch]:
2625 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2627 2003-07-17 André Pönitz <poenitz@gmx.net>
2629 * insetcollapsable.C:
2631 * insettext.C: don't call Inset::update() anymore
2634 * insettabular.[Ch]: remove unneeded in_update_ members
2636 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2638 2003-07-16 André Pönitz <poenitz@gmx.net>
2640 * insettext.C (selectAll): remove
2642 2003-07-16 John Levon <levon@movementarian.org>
2645 * insetnote.C: implement showInsetDialog()
2647 2003-07-15 André Pönitz <poenitz@gmx.net>
2650 * insettext.C: refresh_status tristate -> need_update bool
2652 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2654 * insettext.C: adjust call to LyXText::init
2656 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2658 * insettext.C: use bufferview_funcs->replaceSelection()
2659 to delete selections in some cases (bugs 441, 673, 702, 954).
2661 2003-07-14 André Pönitz <poenitz@gmx.net>
2663 * insettext.C (draw): use slimmed down rowpainter interface
2665 2003-07-14 André Pönitz <poenitz@gmx.net>
2667 * insetcollapsable.C:
2669 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2670 remove unused BufferView * argument
2672 2003-07-14 André Pönitz <poenitz@gmx.net>
2674 * insettext.[Ch]: used cached metrics a bit more
2676 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2678 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2680 2003-07-10 André Pönitz <poenitz@gmx.net>
2683 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2685 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2687 * introduce namespace lyx::graphics
2689 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * introduce namespace lyx::support
2693 2003-06-30 André Pönitz <poenitz@gmx.net>
2695 * insetcite.C (localDispatch): fix case of missing return value
2697 * insetcite.C (ascii): remove unneeded temporary
2699 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * insetspace.h: fix \file
2703 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2704 * insetinclude.C (fillWithBibKeys): ditto
2706 * insetbibitem.C: fix type const order
2708 * inset.C (getLyXText): add varname for arg
2710 * ExternalTemplate.h: fix type const order
2712 2003-06-27 André Pönitz <poenitz@gmx.net>
2714 * insettext.C: take care of removed LyXCursor::row_ member
2716 * insettext.[Ch]: use new TextCursor struct for sstate
2718 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2720 * inseterror.[Ch]: removed
2722 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2724 * insetinclude.C (docbook): use parseError instead of sgmlError
2726 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2728 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2729 of BufferList::loadLyXFile
2731 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * insettext.C (update): simplify
2734 (updateLocal): remove commented code
2735 (insetUnlock): simplify
2736 (lockInset): simplify
2737 (updateInsetInInset): simplify
2738 (localDispatch): simplify
2740 (resizeLyXText): simplify
2741 (collapseParagraphs): simplify
2743 * insetert.C (get_new_label): simplify
2745 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2747 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2748 pasteSelection with index
2750 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2754 2003-06-16 André Pönitz <poenitz@gmx.net>
2756 * insetbase.h: new virtual base function clone()
2758 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2759 Inset * clone() -> InsetBase * clone()
2761 2003-06-13 André Pönitz <poenitz@gmx.net>
2763 * insettabular.[Ch]: make tabular a proper member
2765 2003-06-12 André Pönitz <poenitz@gmx.net>
2767 * insettabular.[Ch]: some renaming plus whitespace
2769 2003-06-11 Angus Leeming <leeming@lyx.org>
2771 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2774 * insetbutton.[Ch]: removed.
2775 * graphicinset.[Ch]: renamed as renderers.[Ch].
2777 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2778 Create a new class ButtonRenderer using the InsetButton::metrics() and
2780 Derive both from a common RenderedInset base class.
2782 * insetcommand.[Ch]:
2783 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2784 Give it a ButtonRenderer member variable. Use it.
2785 Give the classes working copy c-tors.
2786 No longer derive from boost::noncopyable.
2788 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2789 display its contents as a button or as a graphic.
2791 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2794 2003-06-11 Angus Leeming <leeming@lyx.org>
2796 * insetcite.C (localDispatch): reformat.
2798 * insetref.C (localDispatch): enable dialog to be lauched.
2800 2003-06-11 John Levon <levon@movementarian.org>
2802 * insettabular.C: correctly mark all cells as erased
2804 2003-06-11 Angus Leeming <leeming@lyx.org>
2806 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2807 ExternalTemplate but its name, templatename. This means that a file
2808 containing a reference to an External Template not installed on the
2809 current machine will be saved retaining this info rather than inserting
2810 the first "valid" template from the list of templates.
2812 As a by product, the visual statement that the Template is missing is
2815 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2817 * insettext.C (appendParagraphs): remove some commented code.
2819 2003-06-10 Angus Leeming <leeming@lyx.org>
2821 * graphicinset.[Ch] (view): removed the publicly accessible
2822 function to set the cache.
2824 * insetexternal.[Ch]: move tempname_ into the Params struct.
2825 (Params d-tor): new function, to clean-up this temp file.
2826 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2828 (editExternal, doSubstitution): move out of class.
2830 2003-06-10 Angus Leeming <leeming@lyx.org>
2832 * graphicinset.[Ch] (params): removed.
2833 * graphicinset.h (operator=): declared private but not defined.
2834 (statusMessage): made private.
2836 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2838 2003-06-07 John Levon <levon@movementarian.org>
2840 * insetert.C (latex): make a newline mean just that not
2843 2003-06-07 José Matos <jamatos@fep.up.pt>
2845 * insethfill.[Ch] (linuxdoc, docbook): implement output
2846 * insetspace.C (linuxdoc, docbook): remove coments as the code
2849 2003-06-06 José Matos <jamatos@fep.up.pt>
2851 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2853 2003-06-06 André Pönitz <poenitz@gmx.net>
2855 * insetwrap.[Ch]: code compactification
2857 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2859 * mailinset.C (updateDialog): use Dialogs::visible
2861 2003-06-04 Angus Leeming <leeming@lyx.org>
2863 * graphicinset.C (draw): add a comment for the #if 0 block.
2865 * insetexternal.h: remove Params::parameters variable.
2867 * insetexternal.C (read, write): rewrite to output new ExternalInset
2868 format and read it back making full use of LyXLex.
2870 2003-06-04 André Pönitz <poenitz@gmx.net>
2872 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2874 2003-06-04 John Levon <levon@movementarian.org>
2876 * insettabular.C: back out tall table speed up. It was broken
2878 2003-06-03 Angus Leeming <leeming@lyx.org>
2880 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2881 Remove ViewCommand and UpdateCommand.
2883 * graphicinset.C (update): bug fix. Set the params before calling the
2886 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2887 the BufferView cache to enable the InsetExternal::editCommand to
2888 be invoked from the frontends. Would not be needed if this were
2889 dispatched properly.
2890 (old_ascent_): variable removed.
2892 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2893 do any necessary conversions of external material. Also use the
2894 new GraphicsInset to display the inset within LyX.
2896 2003-06-03 Angus Leeming <leeming@lyx.org>
2898 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2899 and move it somewhere where InsetExternal can use it too.
2901 * Makefile.am: add the new files.
2903 * insetgraphics.[Ch]: make use of the new GraphicInset.
2905 2003-06-03 John Levon <levon@movementarian.org>
2908 * insetbibitem.[Ch]:
2911 * insetcommand.[Ch]:
2915 * insetexternal.[Ch]:
2919 * insetgraphics.[Ch]:
2921 * insetinclude.[Ch]:
2924 * insetlatexaccent.[Ch]:
2925 * insetmarginal.[Ch]:
2926 * insetminipage.[Ch]:
2933 * insetspecialchar.[Ch]:
2934 * insettabular.[Ch]:
2936 * insetthereom.[Ch]:
2939 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2941 * insetgraphics.[Ch]:
2942 * insetgraphicsParams.[Ch]: always store an absolute
2945 2003-06-02 André Pönitz <poenitz@gmx.net>
2949 * insetlatexaccent.C: remove duplicated call to metrics()
2951 2003-06-02 John Levon <levon@movementarian.org>
2953 * insettabular.C: fix resize of column width
2955 2003-06-02 John Levon <levon@movementarian.org>
2960 * insetparent.C: remove insetparent
2962 2003-06-02 André Pönitz <poenitz@gmx.net>
2969 * insetcollapsable.[Ch]:
2973 * insetgraphics.[Ch]:
2974 * insetinclude.[Ch]:
2975 * insetlatexaccent.[Ch]:
2976 * insetminipage.[Ch]:
2977 * insetnewline.[Ch]:
2980 * insetspecialchar.[Ch]:
2981 * insettabular.[Ch]:
2982 * insettext.[Ch]: unify first drawing phase
2985 * insetbase.h: move validate() to the base
2987 2003-05-31 Angus Leeming <leeming@lyx.org>
2989 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2991 2003-05-30 André Pönitz <poenitz@gmx.net>
2996 * insetcaption.[Ch]:
2997 * insetcollapsable.[Ch]:
3000 * insetgraphics.[Ch]:
3001 * insetinclude.[Ch]:
3002 * insetlatexaccent.[Ch]:
3003 * insetnewline.[Ch]:
3006 * insetspecialchar.[Ch]:
3007 * insettabular.[Ch]:
3009 * updatableinset.[Ch]: unify second drawing phase
3011 2003-05-30 John Levon <levon@movementarian.org>
3013 * insetgraphics.C: fix a bformat
3015 2003-05-29 John Levon <levon@movementarian.org>
3017 * insettabular.C: remove unused bufferOwner()
3019 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * insettext.C (lockInsetInInset): adjust
3022 (getLabelList): use const_iterator, adjust
3023 (getInsetFromID): use const_iterator, adjust
3024 (addPreview): use const_iterator, adjust
3026 * insetwrap.C (clone): remove const_cast
3028 * insetnote.C (clone): remove const_cast
3030 * insetminipage.C (clone): remove const_cast
3032 * insetmarginal.C (clone): remove const_cast
3034 * insetfoot.C (clone): remove const_cast
3036 * insetfloat.C (clone): remove const_cast
3038 * insetert.C (clone): remove const_cast
3040 * delete commented same_id functions from a lot of files.
3042 2003-05-28 John Levon <levon@movementarian.org>
3048 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
3050 * insetminipage.C: fix metrics (bug 1144)
3052 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * insettext.C (saveLyXTextState): adjust
3055 (restoreLyXTextState): adjust
3058 (unlockInsetInInset): adjust
3059 (localDispatch): adjust
3060 (getLyXText): adjust
3062 * insettabular.C (insertAsciiString): adjust
3064 2003-05-27 André Pönitz <poenitz@gmx.net>
3067 * insetcollapsable.C:
3070 * insetlatexaccent.C:
3075 * insetspecialchar.C:
3077 * insettext.C: dim.w -> dim.wid
3079 2003-05-26 John Levon <levon@movementarian.org>
3081 * insettabular.C: avoid drawing all of a long table
3082 if it's not needed. A big speedup
3084 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * remove same_id from function signatures, adjust
3088 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * insettext.C (InsetText): adjust
3092 (setParagraphData): separate same_id cases, adjust
3093 (appendParagraphs): adjust
3094 (appendParagraphs): adjust
3096 2003-05-23 André Pönitz <poenitz@gmx.net>
3098 * insetbutton.h: whitespace
3100 * insettabular.C: more compact code
3102 * updatableinset.C: remove const_cast
3105 2003-05-23 Angus Leeming <leeming@lyx.org>
3107 * insetexternal.C (write): check how many lines are output.
3108 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
3109 if the template has defined it.
3111 2003-05-23 Angus Leeming <leeming@lyx.org>
3113 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
3115 2003-05-23 Angus Leeming <leeming@lyx.org>
3117 * insetfoot.C (latex):
3118 * inseturl.C (latex): rename fragile as moving_arg.
3120 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * inseterror.C (localDispatch): comment out unused var.
3124 2003-05-22 Angus Leeming <leeming@lyx.org>
3126 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
3127 passed through the LatexRunParams arg.
3129 2003-05-22 Angus Leeming <leeming@lyx.org>
3131 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
3132 through the LatexRunParams arg.
3134 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
3135 arg rather than through a global var.
3137 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * insetspecialchar.C (dimension): use a string.
3141 2003-05-22 Angus Leeming <leeming@lyx.org>
3143 * insetbibtex.C (latex):
3144 * insetgraphics.C (latex):
3145 * insetinclude.C (latex): extract the buffer's 'nice'ness from
3146 runparams rather than from the buffer itself.
3148 2003-05-22 Angus Leeming <leeming@lyx.org>
3150 * inset*.[Ch] (latex):
3151 passed a LatexRunParams parameter.
3153 * insetgraphics.C (latex): actually use it ;-)
3155 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3157 * insetfloat.C (addToToc): trivial compile fix
3159 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * insettext.[Ch] (paragraph): delete unused function
3163 * insetfloat.C (addToToc): parlist simplfication
3165 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3167 * insetspace.[Ch]: added (new space insets)
3169 * inset.h: handle new space insets
3171 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3173 * insetfloat.C (addToToc): adjust
3175 2003-05-21 André Pönitz <poenitz@gmx.net>
3177 * insettext.[Ch]: fix drawing bug introduced earlier
3179 2003-05-19 André Pönitz <poenitz@gmx.net>
3181 * insetspecialchar.C: fix bug introduced yesterday
3183 2003-05-19 André Pönitz <poenitz@gmx.net>
3187 * insetcollapsable.[Ch]:
3191 * insetgraphics.[Ch]:
3192 * insetgraphicsParams.[Ch]:
3193 * insetlatexaccent.[Ch]:
3194 * insetminipage.[Ch]:
3195 * insetnewline.[Ch]:
3197 * insetspecialchar.[Ch]:
3198 * insettabular.[Ch]:
3199 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3201 2003-05-19 André Pönitz <poenitz@gmx.net>
3204 * insettext.C: more insetenv
3206 2003-05-16 André Pönitz <poenitz@gmx.net>
3209 * insetminimpage.[Ch]:
3210 * insetcollapsable.[Ch]: fix #832
3212 2003-05-16 André Pönitz <poenitz@gmx.net>
3215 * insetbibitem.[Ch]:
3219 * insetcollapsable.[Ch]:
3220 * insetcommand.[Ch]:
3223 * insetexternal.[Ch]:
3224 * insetfloatlist.[Ch]:
3225 * insetgraphics.[Ch]:
3226 * insetinclude.[Ch]:
3229 * insetlatexaccent.[Ch]:
3232 * insettabular.[Ch]:
3236 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3238 2003-05-13 André Pönitz <poenitz@gmx.net>
3241 * insetcollapsable.C:
3245 * insetwrap.C: tostr from own header
3257 * insetwrap.C: STRCONV
3260 2003-05-12 André Pönitz <poenitz@gmx.net>
3272 * insetwwrap.C: boost::format -> bformat all over the place
3274 2003-05-05 André Pönitz <poenitz@gmx.net>
3276 * insettext.h: add missing #include <map>
3278 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * insettext.C (InsetText): parlist cleanup
3283 (insetUnlock): ditto
3285 (lockInsetInInset): ditto
3289 (searchBackward): ditto
3290 (collapseParagraphs): ditto
3292 2003-05-06 John Levon <levon@movementarian.org>
3294 * insetcaption.C: don't cast wrap inset to InsetFloat
3297 * insetfloat.C: remove unneeded type() function
3299 2003-05-05 André Pönitz <poenitz@gmx.net>
3303 * insettabular.[Ch]:
3304 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3305 replace getFirstParagraph() by getParagraphs()
3307 2003-05-03 John Levon <levon@movementarian.org>
3309 * insetcollapsable.h:
3310 * insetcollapsable.C:
3316 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3317 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3318 getCursor(). Remove explicit cursor hides.
3320 2003-05-02 André Pönitz <poenitz@gmx.net>
3322 * insettext.C: remove unneeded &*
3324 2003-04-30 John Levon <levon@movementarian.org>
3326 * insettabular.C: fix edit message
3328 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * insettext.C (setFont): do not convert iterator -> pointer
3332 * insettabular.C (localDispatch): do not convert iterator -> pointer
3334 (tabularFeatures): ditto
3336 2003-04-29 André Pönitz <poenitz@gmx.net>
3338 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3340 2003-04-28 André Pönitz <poenitz@gmx.net>
3342 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3345 2003-04-25 André Pönitz <poenitz@gmx.net>
3347 * insetenv.C: derive from InsetText instead of InsetCollapsable
3349 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3351 * insetexternal.C (string2params): dont do anything if the string
3353 * insetgraphics.C (string2params): ditto
3354 * insetcommand.C (string2params): ditto
3355 * insetert.C (string2params): ditto
3356 * insetfloat.C (string2params): ditto
3357 * insetinclude.C (string2params): ditto
3358 * insetminipage.C (string2params): ditto
3359 * insettabular.C (string2params): ditto
3360 * insetwrap.C (string2params): ditto
3362 2003-04-24 André Pönitz <poenitz@gmx.net>
3364 * insetref.C: support for eqref
3366 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * insetert.C (read): use ParagraphList::iterator.
3370 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * insetquotes.C (latex): comment some code and add warnings.
3374 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3376 * insetexternal.C (localDispatch): added a missing DISPATCHED
3378 2003-04-12 John Levon <levon@movementarian.org>
3380 * insetwrap.C (addToToc): fix a crash, conversion
3381 from while to for loop forgot to remove the explicit
3384 2003-04-10 John Levon <levon@movementarian.org>
3386 * insettabular.C (tabularFeature): make sure
3387 to update the dialog when we change something
3390 (getStatus): don't disable some lfuns (bug 939)
3392 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * insettext.C (saveLyXTextState): adjust
3395 (localDispatch): adjust
3401 * insettabular.C (localDispatch): adjust
3403 (tabularFeatures): adjust
3405 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3407 * insettabular.C (searchForward,searchBackward): fix bug 782
3409 2003-04-07 John Levon <levon@movementarian.org>
3412 * insettext.C: clear status message on inset exit
3414 2003-04-03 John Levon <levon@movementarian.org>
3416 * insetcommand.C: return dispatched on DIALOG_UPDATE
3418 2003-04-02 John Levon <levon@movementarian.org>
3420 * insettabular.C: tab lfuns renamed
3422 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * insettext.C (update): move towards ParagraphList
3425 (updateLocal): ditto
3427 (insetUnlock): ditto
3429 (lockInsetInInset): ditto
3430 (updateInsetInInset): ditto
3431 (localDispatch): ditto
3434 (resizeLyXText): ditto
3435 (searchBackward): ditto
3436 (collapseParagraphs): ditto
3439 * insetwrap.C (InsetWrap): adjust
3440 (addToToc): adjust and rewrite loop
3442 * insettext.[Ch] (paragraph): delete function
3444 * insettabular.C (moveNextCell): adjust
3445 (movePrevCell): adjust
3446 (insertAsciiString): adjust
3448 * insetfloat.C (InsetFloat): adjust
3451 * insetert.C (InsetERT): adjust
3452 (write): adjust, and rewrite loop
3453 (latex): adjust, and rewrite loop
3454 (linuxdoc): adjust, and rewrite loop
3455 (docbook): adjust, and rewrite loop
3456 (localDispatch): adjust
3457 (get_new_label): adjust
3459 2003-04-01 John Levon <levon@movementarian.org>
3461 From Alfredo Braunstein
3464 * insetbutton.C: add localDispatch()
3466 * insetcommand.C: return DISPATCHED when edit() called
3468 * insettext.C: fix bug 967
3470 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * insettext.C: adjust
3474 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * insettext.C (draw): adjust
3477 (crow): return a RowList::iterator not a Row*
3479 * insetminipage.C (localDispatch): adjust
3481 * insetert.C (localDispatch): adjust
3483 2003-03-31 John Levon <levon@movementarian.org>
3486 * insetgraphicsParams.C: use_gui moved to lyx_gui
3488 2003-03-31 John Levon <levon@movementarian.org>
3490 * insettext.C: Alert fix
3492 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * insettext.C (ascent): adjust for RowList
3497 (getLyXText): adjust
3498 (toggleSelection): adjust
3500 * insetminipage.C (localDispatch): adjust for RowList
3502 * insetert.C (localDispatch): adjust for RowList
3503 (getMaxWidth): adjust for RowList
3505 2003-03-29 John Levon <levon@movementarian.org>
3507 * insetert.C: Alert cleanup
3509 2003-03-29 John Levon <levon@movementarian.org>
3511 * insettabular.C: Alert fix
3513 2003-03-28 John Levon <levon@movementarian.org>
3515 * insetfloat.C: reset label on INSET_MODIFY
3517 2003-03-28 John Levon <levon@movementarian.org>
3519 * insetgraphicsParams.C: read subcaptionText as a whole line
3522 2003-03-28 John Levon <levon@movementarian.org>
3524 * insettext.C: remove unused prototypes
3526 2003-03-25 Angus Leeming <leeming@lyx.org>
3528 * insetbibitem.C (localDispatch): repaint the view after modifying
3529 a bibitem inset in case the maximum InsetBibitem width has changed.
3531 2003-03-25 John Levon <levon@movementarian.org>
3534 * insettabular.C: LyXText renamings
3536 2003-03-24 John Levon <levon@movementarian.org>
3538 * insettext.C: remove some dead code. Fix bug 972 and
3539 related by posting a repaint in updateLocal(), and making
3540 the SEL functions set SELECTION.
3542 2003-03-22 John Levon <levon@movementarian.org>
3545 * inset.C: remove no-longer-needed topx_set
3547 * insetcollapsable.h:
3548 * insetcollapsable.C: remove dead code
3551 * insetert.C: rebreak the rows when a possible
3552 change in size is made, and reset the cursor
3555 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3557 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3558 topx_set. Fix drawing errors for clearInset(). Remove
3559 some unnecessary uses of topx, which should die.
3561 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3562 is no longer needed. Replace it with an ugly hack.
3564 2003-03-20 John Levon <levon@movementarian.org>
3567 * insetcollapsable.h:
3568 * insetcollapsable.C:
3576 * insettext.C: remove spurious font parameter
3577 from update(). Fix drawing of ERT insets inside
3578 insets (bug 966). Remove unused mark_dirty from
3579 tabular's updateLocal()
3581 2003-03-19 John Levon <levon@movementarian.org>
3590 * insetwrap.C: remove unused getter/setters
3592 2003-03-19 John Levon <levon@movementarian.org>
3594 * several files: bv->updateInset() doesn't take
3595 a bool mark_dirty any more
3597 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * adjust for BufferView* arg removal from lyxtext.
3601 2003-03-17 John Levon <levon@movementarian.org>
3603 * most files: remove the "cleared" parameter
3604 to draw in favour of always clearing. Associated
3607 2003-03-16 John Levon <levon@movementarian.org>
3609 * insettext.C: remove unused s.refresh
3611 2003-03-13 Angus Leeming <leeming@lyx.org>
3613 * insettext.C (edit): replace Dialogs::updateParagraph with
3614 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3616 2003-03-13 André Pönitz <poenitz@gmx.net>
3618 * Makefile.am: insert insetenv
3620 * insethenv.[Ch]: new files, currently inactive
3622 2003-03-12 John Levon <levon@movementarian.org>
3632 * insettext.C: use new insetnewline
3634 2003-03-12 John Levon <levon@movementarian.org>
3636 * insettext.C: readToken became readParagraph
3638 2003-03-12 John Levon <levon@movementarian.org>
3640 * insettext.C: use parlist iterator for reading contents
3642 2003-03-12 John Levon <levon@movementarian.org>
3644 * insettext.C: name change to readToken()
3646 2003-03-11 André Pönitz <poenitz@gmx.net>
3648 * Makefile.am: insert insethfill
3650 * insethfill.[Ch]: new files
3652 2003-03-10 Angus Leeming <leeming@lyx.org>
3654 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3656 (hideDialog): calls the new static Dialogs::hide() method.
3658 * insetbibitem.C (edit):
3659 * insetbibtex.C (edit):
3660 * insetcite.C (edit):
3661 * insetcommand.C (localDispatch):
3662 * inseterror.C (d-tor):
3663 * insetert.C (showInsetDialog):
3664 * insetexternal.C (localDispatch, edit):
3665 * insetfloat.C (localDispatch, showInsetDialog):
3666 * insetfloatlist.C (edit):
3667 * insetgraphics.C (localDispatch, edit):
3668 * insetinclude.C (localDispatch, edit):
3669 * insetindex.C (edit):
3670 * insetlabel.C (edit):
3671 * insetminipage.C (localDispatch, showInsetDialog):
3672 * insetref.C (edit):
3673 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3674 resetPos, showInsetDialog, openLayoutDialog):
3675 * insettoc.C (edit):
3676 * inseturl.C (edit):
3677 * insetwrap.C (localDispatch, showInsetDialog):
3678 changes due to the changed MailInset interface.
3680 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3682 * insetfloat.h: Set default placement to an empty string.
3684 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * insettext.C (latex): adjust call to latexParagraphs.
3688 2003-03-10 Angus Leeming <leeming@lyx.org>
3690 * mailinset.C: warn the user if the BufferView has not been cached.
3692 2003-03-10 Angus Leeming <leeming@lyx.org>
3694 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3696 * insetcommand.h (inset):
3697 * insetert.h (inset):
3698 * insetexternal.h (inset):
3699 * insetfloat.h (inset):
3700 * insetgraphics.h (inset):
3701 * insetinclude.h (inset):
3702 * insetminipage.h (inset):
3703 * insettabular.h (inset):
3704 * insetwrap.h (inset):
3705 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3707 2003-03-10 Angus Leeming <leeming@lyx.org>
3709 * insetcommand.C (string2params):
3710 * insetexternal.C (string2params):
3711 * insetfloat.C (string2params):
3712 * insetgraphics.C (string2params):
3713 * insetinclude.C (string2params):
3714 * insetminipage.C (string2params):
3715 * insettabular.C (string2params):
3716 * insetwrap.C (string2params): cure warning message about missing
3719 2003-03-09 Angus Leeming <leeming@lyx.org>
3721 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3722 it to communicate with the frontend dialogs.
3724 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3725 contents of this inset!
3727 2003-03-07 Angus Leeming <leeming@lyx.org>
3729 * inseterror.C (localDispatch): new method; calls edit() on
3732 2003-03-07 Angus Leeming <leeming@lyx.org>
3734 * insetbibitem.C (localDispatch):
3735 * insetbibtex.C (localDispatch):
3736 * insetlabel.C (localDispatch):
3737 rewrite as a switch.
3739 2003-03-07 Angus Leeming <leeming@lyx.org>
3741 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3742 it to communicate with the frontend dialogs.
3744 2003-03-07 Angus Leeming <leeming@lyx.org>
3746 * insetexternal.C: remove operator== and operator!= for
3747 InsetExternal::Params. They were used only by the old controller
3750 2003-03-07 Angus Leeming <leeming@lyx.org>
3752 * insetcommand.C (localDispatch):
3753 * insetexternal.C (localDispatch):
3754 * insetfloat.C (localDispatch):
3755 * insetinclude.C (localDispatch):
3756 * insetminipage.C (localDispatch):
3757 * insetwrap.C (localDispatch):
3758 add LFUN_INSET_DIALOG_UPDATE to the switch.
3760 2003-03-07 Angus Leeming <leeming@lyx.org>
3762 * insetcommand.C (string2params):
3763 * insetexternal.C (string2params):
3764 * insetfloat.C (string2params):
3765 * insetinclude.C (string2params):
3766 * insetwrap.C (string2params): use LyXLeX more.
3769 * insetexternal.[Ch]:
3771 * insetinclude.[Ch]:
3772 * insetwrap.[Ch]: change Mailer::name_ to be static.
3774 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3775 it to communicate with the frontend dialogs.
3777 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3780 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3782 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * insettext.C (updateLocal): un-const function
3785 (updateLocal): adjust
3786 (collapseParagraphs): un-const function
3787 (collapseParagraphs): adjust
3789 2003-03-05 Angus Leeming <leeming@lyx.org>
3791 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3792 it to communicate with the frontend dialogs.
3794 2003-03-05 Angus Leeming <leeming@lyx.org>
3796 * insetcollapsable.C (draw): cache the BufferView.
3798 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3799 it to communicate with the frontend dialogs.
3801 2003-03-05 Angus Leeming <leeming@lyx.org>
3803 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3806 2003-03-05 Angus Leeming <leeming@lyx.org>
3808 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3810 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3811 it to communicate with the frontend dialogs.
3813 2003-03-05 Angus Leeming <leeming@lyx.org>
3815 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3816 it to communicate with the frontend dialogs.
3818 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * insettext.C (collapseParagraphs): adjust
3821 (appendParagraphs): make it take a Buffer* instead of a
3822 BufferParams& as arg.
3823 (appendParagraphs): adjust
3825 2003-03-04 Angus Leeming <leeming@lyx.org>
3827 * insetbibitem.C (localDispatch):
3828 * insetbibtex.C (localDispatch):
3829 * insetcommand.C (localDispatch):
3830 * insetert.C (localDispatch):
3831 * insetlabel.C (localDispatch):
3832 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3834 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * insettext.C (latex): adjust for ParagraphList::iterator
3838 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * insetbutton.C (view): adjust for boost 1.30.0
3841 * insetcollapsable.C (view): ditto
3842 * insetgraphics.C (statusChanged): ditto
3844 * insettext.h: move paragraphs to be public.
3846 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * insetnote.[Ch] (InsetNote): remove unused constructor
3850 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3852 * insetgraphics.C: added include "format.h"
3854 2003-02-27 Angus Leeming <leeming@lyx.org>
3856 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3859 2003-02-27 Angus Leeming <leeming@lyx.org>
3861 * insetbibitem.C (localDispatch):
3862 * insetbibtex.C (localDispatch):
3865 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3867 2003-02-26 Angus Leeming <leeming@lyx.org>
3869 * insetbibitem.[Ch] (localDispatch):
3870 * insetbibtex.[Ch] (localDispatch):
3871 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3873 * insetcommand.C (localDispatch):
3874 act only on receipt of LFUN_XYZ_APPLY.
3876 * insetert.C (localDispatch): reformat.
3877 add LFUN_XYZ_APPLY to the switch.
3879 2003-02-26 John Levon <levon@movementarian.org>
3881 * insettext.C: use RowPainter
3883 * inset.h: make helpers take const *
3885 2003-02-26 Angus Leeming <leeming@lyx.org>
3887 * insetcommand.[Ch] (localDispatch): new method.
3889 2003-02-26 Angus Leeming <leeming@lyx.org>
3891 * insetinclude.C (draw): cache the BufferView* using cache not
3892 PreviewImpl::setView
3894 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3896 * insetgraphics.C (draw)
3897 * insetinclude.C (draw): Eliminate also the other argument (owner
3898 inset inset) in the call to PreviewImage::image
3900 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3902 * insetgraphics.C (draw)
3903 * insetinclude.C (draw): Eliminate Buferview argument in call to
3906 2003-02-25 John Levon <levon@movementarian.org>
3908 * insetgraphicsParams.h:
3909 * insetgraphics.C: don't start a load process if
3910 the inset is set to NoDisplay (bug #920)
3912 2003-02-22 John Levon <levon@movementarian.org>
3915 * insetwrap.C: TocItem changed API (bug 913)
3917 2003-02-21 Angus Leeming <leeming@lyx.org>
3919 * insetcollapsable.[Ch] (cache, edit):
3920 * insetbutton.[Ch] (cache, edit): new methods to cache the
3921 BufferView in the draw method.
3923 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3924 simplify comunication between InsetCommand-derived classes and
3927 * insetbibitem.[Ch]:
3931 * insetfloatlist.[Ch]:
3935 * inseturl.[Ch]: small changes to reflect the new interface to the
3938 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3939 other, similar classes.
3941 * Makefile.am: add new files.
3943 2003-02-21 Angus Leeming <leeming@lyx.org>
3945 * updatableinset.h (setView, view): remove.
3946 * inset.h (view, cache): to be replaced by these.
3948 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3951 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3954 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3956 2003-02-21 Allan Rae <rae@lyx.org>
3958 * insetinclude.C (loadIfNeeded): ensure loading also works when
3959 child document is under version control.
3961 2003-02-17 André Pönitz <poenitz@gmx.net>
3963 * insetbib.[Ch]: Adjust access to bibkeys
3965 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * insetquotes.C (dispString): remove use of acute accent for "'"
3970 2003-02-14 John Levon <levon@movementarian.org>
3972 * insettabular.C: changed method names in tabular.C
3974 2003-02-14 John Levon <levon@movementarian.org>
3978 * insetcollapsable.h:
3979 * insetcollapsable.C:
3983 * insettext.C: remove unused getParFromID()
3985 2003-02-13 John Levon <levon@movementarian.org>
3988 * insettext.C: remove unused beginningofMainBody()
3990 2003-02-08 John Levon <levon@movementarian.org>
3994 * insetcollapsable.h:
3995 * insetcollapsable.C:
4000 add nextChange(). Make allowSpellcheck() const. Add markErased().
4002 * insetert.C: ignore deleted text
4004 * insettabular.C: make sure to keep change tracking working
4007 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4012 * insettext.C: Use error messages with identical spelling and
4015 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
4017 * insetgraphics.C (draw, width): Fix spacing around graphics inset
4019 2002-12-17 Juergen Vigna <jug@lyx.org>
4021 * insettext.C (localDispatch): hopefully fixed cursor up down
4022 movement on leaving other insets.
4024 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4026 * insettext.C: fix inconsistent usage of spaces, colons,
4027 capitalization, and the like.
4029 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4031 * insetgraphics.C (prepareFile): do not remove the extension of
4032 the file name if it is not the default extension for the given
4033 format (that is, in latex output, remove extension from foo.eps,
4034 but not from foo.epsi)
4036 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4038 * insettext.C (lfunMouseRelease): hackish solution to the "double
4041 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * insetfloat.C (addToToc): use the floats name not its type
4044 * insetwrap.C (addToToc): ditto
4046 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4048 * insetnote.C (init): make label font smaller
4050 2002-12-04 John Levon <levon@movementarian.org>
4052 * insetinclude.C: ressurect setting of command name
4054 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * insetquotes.C (dispString): disambiguate insert call
4058 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * several files: ws changes
4062 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * insetquotes.C (dispString): use string::insert for prepending a
4067 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4069 * insetparent.C (getScreenLabel): use boost::format
4071 * insetgraphics.C (prepareFile): use boost::format
4074 * insetfloatlist.C (latex): use boost::format
4076 * insetcaption.C (draw): use boost::format
4078 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4080 * insettabular.C (tabularFeatures): Support for block alignment in
4081 fixed width columns.
4083 2002-11-20 Juergen Vigna <jug@sad.it>
4085 * insettabular.C (resetPos): temporary fix for endless loop in
4086 this function on a redraw.
4088 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * insettabular.C (copySelection): STRCONV
4092 * insetinclude.C (uniqueID): STRCONV
4093 (latexString): ditto
4095 * insetgraphics.C: put VersionNumber inside anon namespace
4096 (createLatexOptions): STRCONV
4098 * insetcommandparams.C: include config.h
4100 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
4102 * insetgraphicsParams.C (Write): use lyx::float_equal.
4103 Write height data correctly.
4104 (Read): zero scale when reading height data.
4106 2002-10-30 John Levon <levon@movementarian.org>
4108 * insetfloat.C (addToTOC): recursively traverse all
4109 contents looking for captions (fix #568)
4111 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4113 * insetexternal.C (doSubstitution): do not try to replace
4114 environment variables, this is done when executing the command
4116 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4118 * insetexternal.C (doSubstitution): change order of substitution
4119 to work around ReplaceEnvironmentPath brokenness
4121 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
4123 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
4125 * insetgraphicsParams.C (init, Write): associated changes
4126 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
4127 InsetGraphicsParams::scale.
4129 2002-10-21 John Levon <levon@movementarian.org>
4131 * inset.h: remove unused DISPATCH_RESULT
4133 * insettext.C: sgml open/close tag now in sgml namespace
4135 2002-10-21 Angus Leeming <leeming@lyx.org>
4137 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
4138 file path subdir/fig.eps when pasting it into a buffer in a different
4141 2002-10-16 John Levon <levon@movementarian.org>
4143 * insetspecialchar.C: remove \\protected_separator parsing
4145 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4147 * insetquote.C: fix LaTeX output of quotation marks.
4149 2002-10-14 Juergen Vigna <jug@sad.it>
4151 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4152 Backspace functions which confused the Undo handling.
4154 2002-10-09 Angus Leeming <leeming@lyx.org>
4156 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4157 BufferView::dispatch that turns off this optimisation when a new inset
4160 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4161 reload the BibTeX keys.
4163 2002-10-11 André Pönitz <poenitz@gmx.net>
4165 * insettext.h: handle LFUN_PRIOR/NEXT
4167 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4169 * insetfloat.C: fix bug with float settings
4170 (document default != float default).
4172 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4174 * insetwrap.C (addToToc): New method.
4175 (InsetWrap): Set layout to caption.
4177 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4181 2002-09-16 John Levon <levon@movementarian.org>
4183 * insettabular.h: hasSelection() needs to be public
4185 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4187 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4189 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4191 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4193 2002-09-11 André Pönitz <poenitz@gmx.net>
4195 * insettabular.C: implement LFUN_WORDSEL
4197 2002-09-10 John Levon <levon@movementarian.org>
4199 * insetinclude.h: remove unused param
4201 2002-09-09 John Levon <levon@movementarian.org>
4204 * insetinclude.C: remove noload, default to input
4206 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4208 * insetgraphics.C: disfuscated use of ']' in built output string.
4210 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4214 2002-08-29 Juergen Vigna <jug@sad.it>
4216 * insettabular.C (lfunMousePress): Pay attention where you set
4217 the x/y values as they depend on which inset in the tabular is
4218 actually locked. So you surely have to reset them if you (un)lock
4221 2002-08-29 André Pönitz <poenitz@gmx.net>
4223 * insetfootlike.h: rename include guard to ALL CAPS
4225 * insettext.C: swap object and first parameter for checkInsetHit calls
4226 as this functions has moved from BufferView to LyXText
4229 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4231 * insetgraphicsParams.C: remove local displayTranslator and use
4232 the one from graphics/GraphicsTypes.h.
4234 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4236 * insetfloat.C (wide): add BufferParams parameter
4238 * insetfloatlist.C (read):
4241 * insetfloat.C (latex):
4243 * insetcaption.C (draw): use LyXTextClass::floats()
4245 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4247 * insetoptarg.h: add std:: qualifier.
4249 2002-08-26 Juergen Vigna <jug@sad.it>
4251 * insettext.C (localDispatch): ditto.
4253 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4255 2002-08-25 John Levon <levon@movementarian.org>
4257 * inseturl.C: elide long URLs (bug 404)
4259 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4261 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4262 remove "Format Version <version_no.>" string from inset header
4265 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4267 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4268 a member of "grfx::Params" anymore.
4270 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4272 2002-08-24 John Levon <levon@movementarian.org>
4275 * insetoptarg.C: ws, pedantry ...
4277 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4279 * insettext.C (collapseParagraphs): pasteParagraph now in global
4281 (appendParagraphs): ditto
4283 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4285 * insetcite.C (latex): Remove spaces only after commmas.
4287 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * insettext.C: remove NO_COMPABILITY stuff
4291 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * insettext.C (edit): use ParagraphList iterators
4295 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4296 (bibitemWidest): ditto
4298 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * insettext.C: include <boost/bind.hpp>
4301 add using std::for_each
4302 (saveLyXTextState): use ParagraphsList::iterator
4303 (init): use for_each on paragraphlist iterators
4304 (InsetText): remove superflous setting cached_bview to 0
4305 (latex): reformat a bit
4306 (ascii): use paragraphlist iterators
4307 (validate): use for_each + boost bind
4308 (getLabelList): use paragraphlist iterators
4309 (deleteLyXText): use for_each + boost::bind
4310 (resizeLyXText): ditto
4311 (reinitLyXText): ditto
4312 (removeNewlines): use paragraphlist iterators
4313 (getParFromID): ditto
4314 (paragraph): use for_each + boost::bind
4315 (getInsetFromID): use paragraphlist iterators
4316 (getLabelList): typo fix
4318 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * insettext.C (read): assign tmp to paragraphs after return from
4321 call to parseSingleLyXformat2Token
4324 2002-08-13 Angus Leeming <leeming@lyx.org>
4342 * inseturl.C: changes due to the changed LyXView interface that
4343 now returns references to member variables not pointers.
4345 2002-08-13 Angus Leeming <leeming@lyx.org>
4348 * insetcollapsable.h:
4351 * insettext.h: forward-declare WordLangTuple
4352 (selectNextWordToSpellcheck) constify return type.
4355 * insetcollapsable.C:
4358 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4360 2002-08-12 Angus Leeming <leeming@lyx.org>
4362 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4365 2002-08-12 Juergen Vigna <jug@sad.it>
4367 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4370 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4373 (bibitemWidest): ditto
4374 * insettext.[Ch]: ditto
4376 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4380 2002-08-09 Angus Leeming <leeming@lyx.org>
4382 * insetinclude.C (latexString): remove fudge now that I've found out
4383 how to enable LaTeX to find the file using input@path.
4385 2002-08-09 John Levon <levon@movementarian.org>
4388 * insettext.C: remove unused xpos
4390 2002-08-07 Juergen Vigna <jug@lyx.org>
4392 * insettabular.C (localDispatch): make delete not put the stuff
4393 in the clipboard only do this on a cut operation.
4395 * insettext.C (localDispatch): make delete and backspace not put
4396 selected stuff to the clipboard.
4398 2002-08-07 André Pönitz <poenitz@gmx.net>
4401 * insetcollapsable.[Ch]:
4405 * insettabular.[Ch]:
4406 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4408 2002-08-06 John Levon <levon@movementarian.org>
4412 * insetcollapsable.h:
4413 * insetcollapsable.C:
4419 * insettext.C: use WordLangTuple for spellcheck
4421 2002-08-06 Angus Leeming <leeming@lyx.org>
4423 * insetinclude.C: add a monitor to the previewed image, so that the
4424 image is refreshed if the \input-ed file changes.
4426 2002-08-04 John Levon <levon@movementarian.org>
4429 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4431 2002-08-02 Angus Leeming <leeming@lyx.org>
4433 * insetcommandparams.[Ch] (preview): new methods returning and setting
4434 a new bool preview_ flag.
4435 (read): read this flag.
4436 (operator==): add flag to check.
4438 * insetinclude.C (write): output new preview() flag.
4439 (previewWanted): use this flag.
4441 2002-08-02 Angus Leeming <leeming@lyx.org>
4443 * insetcollapsable.[Ch] (addPreview):
4444 * insettabular.[Ch] (addPreview):
4445 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4446 for insets in insets.
4448 2002-08-02 Angus Leeming <leeming@lyx.org>
4450 * insetcite.C: fix typo.
4452 * insetgraphics.C: kill current_view and instead cache the BufferView
4455 * insetinclude.C: kill current_view and pass the BufferView to the
4456 PreviewedInset so that it can cache it.
4458 2002-08-01 Angus Leeming <leeming@lyx.org>
4460 * inset.h (generatePreview): renamed as addPreview.
4461 (generatePreview): new method. Allows code to be moved out of
4462 math_nestinset.C and into the new PreviewedInset class.
4464 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4465 add previews to the inset when \input-ing LaTeX.
4467 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * several files: strip,frontStrip -> trim,ltrim,rtrim
4471 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * insetbib.C (latex): modify because of strip changes
4475 * insetnote.C (InsetNote): ditto
4477 2002-07-26 Juergen Vigna <jug@sad.it>
4479 * insettabular.C (searchForward): check for lastcell if we
4480 had a locking inset.
4482 2002-07-25 Juergen Vigna <jug@sad.it>
4484 * insettabular.C (insetMotionNotify): Don't update the screen
4485 if we didn't do nothing.
4486 (searchForward): last cell was not checked.
4488 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4490 * insetfloat.C (read, write): Allow default placement
4491 (floatPlacement_ is empty).
4493 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4495 * insetminipage.h (noFontChange):
4496 * insettabular.h (noFontChange):
4497 * insetfootlike.h (noFontChange):
4498 * insetfloat.h (noFontChange): return true
4500 * inset.h (noFontChange): new method, defaulting to false
4502 2002-07-22 Herbert Voss <voss@lyx.org>
4504 * insetgraphicsParams.[Ch]: support size_type for old docs
4506 2002-07-22 Herbert Voss <voss@lyx.org>
4509 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4512 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4514 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4516 * insetlatexaccent.h: do not include "lyxlex.h"
4518 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4521 * insetlatexaccent.C:
4525 * insetbib.C: #include "lyxlex.h"
4531 * insettext.C: use BufferParams::getLyXTextClass
4534 * insetfloat.C (addToToc): new method. Add to toclist the entries
4535 corresponding to Caption layouts
4536 (InsetFloat): when creating a new float, set the layout to "Caption"
4538 2002-07-21 Herbert Voss <voss@lyx.org>
4540 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4541 image relevant part into graphics/GraphicsImgae.C
4543 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4545 * insettoc.C (ascii):
4546 * insetfloatlist.C (ascii): change to use the new Toc functions
4547 instead of stuff that was in Buffer
4549 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * insettext.C (localDispatch): BufferView::Dispatch has been
4552 renamed to BufferView::dispatch
4554 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4556 * insetgraphicsParams.C (as_grfxParams): use the new
4557 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4558 1.2.0 patch, and I do not really know how to adapt it to the new
4559 grfx::Cache world. Angus, please could you have a look?
4561 2002-05-01 Herbert Voss <voss@lyx.org>
4563 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4565 2002-07-18 Angus Leeming <leeming@lyx.org>
4567 * insetgraphics.C: clean-up comments (from Herbert).
4568 add a new checksum variable to the cache. Use it in PrepareFile.
4569 (draw): start monitoring the file for a change.
4570 (prepareFile): re-arrange a little to avoid unnecessary steps.
4572 2002-07-17 Angus Leeming <leeming@lyx.org>
4574 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4575 a method rather than to the signal directly.
4577 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4579 * insettext.C: use view_state_changed, switchKeyMap
4581 2002-07-17 Herbert Voss <voss@perce.de>
4583 * insetgraphics.C (prepareFile): keep the extension when
4584 exporting to nice file
4586 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4588 * insetcite.C (getNatbibLabel):
4589 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4591 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4593 * insetgraphics.C: use ->isDrawable()
4595 2002-07-12 Angus Leeming <leeming@lyx.org>
4597 * insetgraphics.C: use the new smart loading capabilities of the image
4600 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4602 * insettabular.C (edit): Move into correct cell when entering a
4605 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4608 2002-07-05 Angus Leeming <leeming@lyx.org>
4610 * inset.h (generatePreview): new virtual method.
4612 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4614 * insetcommandparams.[Ch] (operator=): move out of class
4615 (operator!): move out of class
4617 2002-07-04 André Pönitz <poenitz@gmx.net>
4619 * insetcommandparams.[Ch]: new files
4621 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4623 2002-06-15 Herbert Voss <voss@perce.de>
4625 * insetgraphics.C (prepareFile): bugfix; return always
4626 files without extension
4628 2002-06-28 Angus Leeming <leeming@lyx.org>
4630 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4631 rename asGParams -> as_grfxParams.
4633 * insetgraphics.C: reflect above change.
4635 2002-06-26 Angus Leeming <leeming@lyx.org>
4637 * insetgraphics.h: use boost::scoped_ptr in preference to
4640 2002-06-26 Angus Leeming <leeming@lyx.org>
4642 * insetgraphics.C: moved the image loading stuff into a new class
4643 grfx::Loader. Simplifies this file enormously.
4645 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4647 * insetgraphicsParams.C: changes aassociated with moving
4648 grfx::DisplayType out of grfx::GParams.
4650 2002-06-26 André Pönitz <poenitz@gmx.net>
4652 * insetgraphics.C: use os::external_path where necesaary according to a
4653 patch from Claus Hentschel)
4655 2002-06-25 Angus Leeming <leeming@lyx.org>
4657 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4658 generating a pixmap once the graphics file is loaded into memory.
4659 The current_view ugliness that was in grfx::ModifiedImage has been
4660 moved here now that grfx::ModifiedImage is no more.
4662 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4664 * insettext.C: layout as layout
4666 2002-05-28 André Pönitz <poenitz@gmx.net>
4668 * insetfloatlist.h: remove source of compiler warning
4670 * insetref.C: tiny whitespace
4672 2002-06-15 Herbert Voss <voss@perce.de>
4674 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4675 and take always convert when no userdefined converter was
4677 (latex) small changes in the lyxerr output
4679 2002-06-15 LyX Development team <lyx@rilke>
4681 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4682 mixed content. Small white spaces clean.
4684 2002-06-14 Angus Leeming <leeming@lyx.org>
4686 * inseetexternal.C: remove the using std::difftime declaration.
4688 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4690 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4692 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4694 * insetquotes.C (draw): fix drawing of double quotes
4696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4698 * insettabular.C: s/scrollCB/scrollDocView/
4700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4702 * insettext.C: change of topCursorVisible()
4705 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4708 * insettext.C: rename/change of LyXScreen
4710 2002-06-07 Angus Leeming <leeming@lyx.org>
4712 Fixes needed to compile with Compaq cxx 6.5.
4714 * insetexternal.C: all c-library variables have been moved into
4715 namespace std. Wrap using std::xyz declarations inside a #ifndef
4716 CXX_GLOBAL_CSTD block.
4718 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4720 * insetinclude.C (uniqueID):
4721 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4722 conflicted with some AIX headers.
4724 2002-05-31 Juergen Vigna <jug@sad.it>
4726 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4730 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4732 * insetexternal.C (clone): fix () bug when using new
4733 (updateExternal): don't only look for difftime in global scope
4735 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4737 * insettabular.C: add const
4739 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4741 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4742 file name, in case there are weird characters like ',' in there.
4745 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * switch from SigC signals to boost::signals.
4749 2002-05-28 André Pönitz <poenitz@gmx.net>
4751 * insets/insetgraphicsParams.[Ch]:
4752 put in inset related stuff from src/graphic
4754 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4762 * insetcollapsable.C:
4763 * insetcollapsable.h:
4791 * inseturl.h: use mouse_state. Kill insetKeyPress
4793 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4798 * insetcollapsable.C:
4801 * insetlatexaccent.C:
4803 * insetspecialchar.C:
4805 * insettext.C: name change for font metrics
4807 2002-05-24 Juergen Vigna <jug@sad.it>
4809 * insetgraphics.h: include inset.h first (for LString.h)
4811 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4813 * insettext.C: screen moved
4815 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4833 * inseturl.C: LyXView moved into frontends/
4835 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4840 * insetcollapsable.C:
4844 * insetgraphicsParams.C:
4845 * insetlatexaccent.C:
4847 * insetspecialchar.C:
4849 * insettext.C: move Painter to frontends/
4851 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4853 * insettabular.h: use more specific smart_ptr header.
4854 * insettext.h: ditto
4856 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4859 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4861 * insettext.C: clear selection on paste (bug 393)
4863 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4865 * insettext.C (latex): Honor the moving_arg argument.
4867 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4869 * insetfoot.C (latex): if a footnote is in a title layout, then it
4870 is a \thanks. And then, its contents is a moving argument.
4872 2002-05-14 Juergen Vigna <jug@sad.it>
4874 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4877 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4879 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4880 when using options "Full author list" or "Upper case".
4882 2002-05-14 Herbert Voss <voss@perce.de>
4884 * insetgraphics.C (prepareFile): allow files with same name
4886 (readFigInset): set the flags from old figinset in the right
4888 (findTargetFormat): more comments
4890 2002-05-14 Juergen Vigna <jug@sad.it>
4892 * insettext.C (edit): tell checkAndActivateInset() that we don't
4893 have a button press.
4894 (checkAndActivateInset): if button < 0 we don't have a button press
4895 on the inset and os we won't call edit on it if it's not a Highly
4896 editable inset (then we have to enter it).
4898 2002-05-13 Juergen Vigna <jug@sad.it>
4900 * insetcollapsable.C (insetButtonRelease): returned wrong return
4903 2002-05-09 Juergen Vigna <jug@sad.it>
4905 * insetcollapsable.C (edit): first_after_edit should only be
4906 set to true if we enter this inset and it was collapsed so we
4907 open it up. This is needed to reclose it after a search/replace
4908 or spellcheck function opened it and was negative.
4910 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4912 * insetfloat.C (latex): Return correct value.
4914 2002-05-04 Herbert Voss <voss@perce.de>
4916 * InsetgraphicsParams.C (read): fix bug with WH
4918 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4920 * insetfloat.C (latex): More sensible latex output
4921 (fix the problem with endfloat).
4923 2002-05-02 José Matos <jamatos@fep.up.pt>
4925 * insetgraphics.C (validate): acess params as everyone else.
4927 2002-05-03 Juergen Vigna <jug@sad.it>
4929 * insettabular.C (fitInsetCursor): recalculate the cursor position
4932 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4934 * InsetgraphicsParams.[Ch]: whitespace.
4936 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4938 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4939 float type do not exist.
4941 2002-04-28 Herbert Voss <voss@perce.de>
4943 * insetgraphics.C (latex): fix bug with missing file-extension.
4944 LaTeX still allows a missing "eps" or "ps".
4946 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4948 * insetfloat.C (c-tor, wide): translate the name of the float.
4950 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4952 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4953 when using natbib and make it work efficiently. Must emphasise that the
4954 real work is Herbert's.
4956 2002-04-23 Herbert Voss <voss@perce.de>
4958 * insetgraphic.C (prepareFile): fix bug with overwriting and
4959 deleting an existing *.eps-file in the doc-dir
4961 2002-04-23 Juergen Vigna <jug@sad.it>
4963 * insettabular.C (drawCellSelection): fix off by 1 error.
4965 2002-04-22 Juergen Vigna <jug@sad.it>
4967 * insettabular.C (setFont): rewoke full selection if it was asked,
4968 after we changed all we had to change.
4970 * insettext.C (insetUnlock): code was uninitialized in some situations.
4972 2002-04-19 Herbert Voss <voss@perce.de>
4974 * insetgraphic.C (prepareFile): return filename without
4975 extension if we only export without compiling
4977 2002-04-19 Juergen Vigna <jug@sad.it>
4979 * insettext.C (draw): call a fullRebreak on the row where we had a
4980 change and reset the cursor and selection-cursors.
4982 * insettabular.C (insetUnlock):
4983 (insetButtonPress): call an update before setting the_locking_inset = 0
4984 as otherwise we don't repaint!
4985 (update): reset the cursor position when we changed dimensions as
4986 otherwise our cursor may be on the wrong spot.
4988 2002-04-18 Juergen Vigna <jug@sad.it>
4990 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4991 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4992 redraw otherwise we won't redraw.
4994 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4995 not really right before, but I only discovered this with the last
4996 changes to Page up/down.
4998 2002-04-17 Juergen Vigna <jug@sad.it>
5000 * insettext.C (checkAndActivateInset): simplified as we now have the
5001 edit(bv, bool) call.
5003 * insettext.h: changed behind variables to front variables to be
5004 equal to the one in the edit call (as it is for that they are used).
5006 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5008 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
5009 not output anything at all!
5011 2002-04-16 Juergen Vigna <jug@sad.it>
5013 * insettabular.C (insetButtonPress):
5014 (insetUnlock): call a redraw on unlocking the cell inset.
5016 * insettext.C (insetButtonPress): same as below.
5017 (lockInset): new function to set initial values when inset should
5019 (insetButtonPress): use above function.
5020 (insetUnlock): don't force a repaint only set the updateStatus. The
5021 outside world should repaint if it thinks it should be done!
5023 * insettabular.C (insetButtonPress): init values if not set as locked
5024 as we are locked if someone presses on us and don't call the edit()
5025 call of the InsetText to lock it do it as BufferView does it!
5027 * inset.h (insetInInsetY): make func const and return an int.
5030 * insetcollapsable.C: adapt the above changed function.
5032 2002-04-15 Juergen Vigna <jug@sad.it>
5034 * insettext.C (getCursorPos): return relative position as to be able
5035 to give them directly to the edit() call.
5036 (edit): we have to set also x_fix as it is not set inside the
5037 setCursorFromCoordinates call!
5038 (insetMotionNotify): ditto.
5040 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5042 * insetbib.C (getKeys): strip leading '\t's from the line too.
5043 With thanks to Henry Pfister <hpfister@ucsd.edu>.
5045 2002-04-12 Juergen Vigna <jug@sad.it>
5047 * insettext.h: added cix() helper function and use it where appropriate
5049 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5051 * insetgraphics.C (prepareFile): fix bug when graphics is a
5054 2002-04-12 Juergen Vigna <jug@sad.it>
5056 * insettext.C (insertInset): remove unneeded code!
5057 (updateLocal): fitCursor() fixes.
5058 (collapseParagraphs): fix a possible problem when having a selection
5059 and collapsing the paragraphs.
5061 2002-04-08 Herbert Voss <voss@perce.de>
5063 * insetgraphic.C (write): write the rotating angle as
5064 a float as is. test only for != 0.0
5066 2002-04-11 Juergen Vigna <jug@sad.it>
5068 * insettext.C: new function ciy() and use it for setting inset_y.
5070 * insetert.C (draw): fix the x return for collapsed version.
5072 2002-04-07 Herbert Voss <voss@perce.de>
5074 * insetgraphic.C (readFigInset): fix bug with subcaption and
5077 2002-04-08 Herbert Voss <voss@lyx.org>
5079 * insetgraphicsparam.C: forgot special option and delete old
5082 2002-04-05 Juergen Vigna <jug@sad.it>
5084 * insettext.C (localDispatch): make a CURSOR update if we inserted
5087 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5089 * insetfloatlist.C (getScreenLabel):
5090 (latex): use Floating::listName
5091 (validate): new method
5093 2002-04-03 José Matos <jamatos@fep.up.pt>
5095 * insetlabel.C (docbook): the anchor is an empty element in docbook.
5097 * insetfoot.[Ch] (docbook): added forgotten method.
5099 2002-04-03 Juergen Vigna <jug@sad.it>
5101 * insettext.C (insetButtonPress): fix insetButtonPress events the same
5102 way as in Bufferview_pimpl.
5104 2002-04-03 Allan Rae <rae@lyx.org>
5106 * insetgraphics.C (latex): one % too many makes living on the bleeding
5107 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
5109 2002-03-28 Herbert Voss <voss@lyx.org>
5111 * insetgraphic.C (latex): simplify the code for the latex
5112 output when the file doesn't exist
5114 2002-03-29 Juergen Vigna <jug@sad.it>
5116 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
5119 * insettabular.C (edit): call fitCursor().
5121 * insettext.C (insetButtonPress): change behaviour of no_selection
5122 to the one in the BufferView selection_possible and fix the spurious
5123 selection bug with it.
5124 (localDispatch): revoke selection on BREAK... functions.
5126 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5128 * insetfloatlist.C (getScreenLabel): translate the GUI label.
5130 2002-03-28 Juergen Vigna <jug@sad.it>
5132 * insettabular.C (insetAllowed): return true as default value otherwise
5133 we're not able to insert insets inside paragraphs of an not locked
5136 2002-03-27 Herbert Voss <voss@lyx.org>
5138 * insetgraphicsparam.C: change c%, p% to col%, page%
5140 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5142 * insetspecialchar.C (isLineSeparator): disable the nice code to
5143 allow linebreaks after hyphenation and menu separators.
5145 2002-03-26 Herbert Voss <voss@lyx.org>
5147 * insetgraphics.C (figinsetRead): set the right lyxview
5149 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5151 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5152 $\backslash$ and pass a "string const &" to the function.
5153 (prepareFile, latex): use Path rather than MakeAbsPath.
5155 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5157 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5158 proper fix to the graphics cache.
5159 (latex): "really" nice output if the file is not found ;-)
5161 2002-03-26 Juergen Vigna <jug@sad.it>
5163 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5164 (collapseParagraphs): fixed inserting of separator ' '
5166 * insettabular.C (insertAsciiString): only check for buffer lenght
5167 not if we have \t or \n inside the buffer as if we don't have we only
5168 have 1 cell and that's it!
5170 * insetert.C (close): don't collapse if inlined.
5172 2002-03-25 Herbert Voss <voss@lyx.org>
5174 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5175 graphics file does not exist.
5177 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5179 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5180 path when preparing export.
5182 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5183 no longer MakeRelPath.
5185 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5187 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5188 Used to determine the absolute path to the graphics file in the
5189 graphics cache and only in the graphics cache.
5190 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5191 make graphics file name absolute if it is stored as a relative path.
5193 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5194 make graphics file name absolute if it is stored as a relative path.
5196 * insettext.C (edit): emit an updateParagraph signal on entering a text
5197 inset. Needs to be emitted when leaving the inset also.
5199 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5201 * all files: ws cleanup
5203 * Makefile.am: remove ld -r stuff
5205 2002-03-21 Juergen Vigna <jug@sad.it>
5207 * insettext.C (appendParagraphs): new function added to append
5208 the paragraphs to this insets paragraphs.
5210 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5212 * Makefile.am: special rules if partial linking
5214 2002-03-19 Juergen Vigna <jug@sad.it>
5216 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5218 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5220 * insetgraphics.C: Clean up Baruch's comments a little.
5221 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5223 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5226 * insettheorem.C: wrap warnings
5228 * insetgraphics.C: improve messages, move cached_status_
5229 setting to safer place
5231 2002-03-18 Juergen Vigna <jug@sad.it>
5233 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5235 (localDispatch): ditto
5237 * insettext.C (edit): removed unneeded showCursor calls.
5238 (localDispatch): ditto.
5240 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * insetgraphics.h: remove display() method.
5244 2002-03-11 Juergen Vigna <jug@sad.it>
5246 * insetgraphics.C (draw): hack to fix the redrawing bug.
5247 (draw): seems this fixes #268 (force redraw of row if we changed).
5249 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5250 this inset text (don't know why I missed this earlier).
5252 2002-03-08 Juergen Vigna <jug@sad.it>
5254 * insettabular.C (updateLocal): do a FULL update if we're not locked
5255 and only a CELL update is asked.
5257 * insettext.C (updateInsetInInset): update insets inside inset also
5258 if it isn't inside the_locking_inset.
5260 * insettabular.C (updateInsetInInset): ditto.
5262 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5264 * insetexternal.C (doSubstitution): check whether we are using a
5265 temp dir for defining $$FPath
5267 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5270 * insettext.C: remove #include "WorkArea.h".
5272 2002-03-06 Juergen Vigna <jug@sad.it>
5274 * insettext.C (draw): fixed frame redrawing.
5275 (clear): forgot to set the inset_owner of the paragraph.
5277 * insetert.C (status): pay attention the bv can be 0 here!
5278 (getMaxWidth): add the default leftMargin
5280 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5282 * insetert.C (getMaxWidth): make w unsigned int.
5284 2002-03-05 Juergen Vigna <jug@sad.it>
5286 * insetert.C (status): change behaviour of Inlined.
5287 (getMaxWidth): added for new inlined behaviour.
5289 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5291 * insetnote.h (linuxdoc, docbook): add empty methods.
5292 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5293 before being initialized.
5295 2002-03-05 Juergen Vigna <jug@sad.it>
5297 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5298 only that one in the inset. Should be enough.
5299 (updateLocal): set the selection cursor always if we don't have a
5300 selection to be sure it's set!
5302 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5304 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5306 * insettext.C (clear): a gross hack to set layout on a newly
5309 2002-03-04 Juergen Vigna <jug@sad.it>
5311 * insettabular.C (localDispatch): inserted handling of
5312 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5313 (insertAsciiString): new helper function.
5315 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5317 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5320 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5322 * insettext.C (InsetText): initalize newly created par with
5323 default layout. add bufferparams parameter
5326 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5327 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5328 * insetert.[Ch] (InsetERT): ditto
5329 * insetfloat.[Ch] (InsetFloat): ditto
5330 * insetfoot.[Ch] (InsetFoot): ditto
5331 * insetfootlike.[Ch] (InsetFootLike): ditto
5332 * insetmarginal.[Ch] (InsetMarginal): ditto
5333 * insetminipage.[Ch] (InsetMinipage): ditto
5334 * insetnote.[Ch] (InsetNote): ditto
5335 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5337 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5339 * insettext.C: layout as string
5341 * insetinclude.C: layout as string
5343 * insetert.C: layout as string
5345 * insetbib.C: layout as string
5347 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5350 * insettabular.C: remove #include "lyx_gui_misc.h".
5352 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5357 * inset.h: remove figinset, yahoo !
5359 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5361 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5362 copy c-tor and initialise member variables in the correct order.
5364 2002-02-28 Juergen Vigna <jug@sad.it>
5366 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5368 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5370 * inset.h: ... and add a better one here.
5372 * insetcommand.C (insetButtonRelease): remove that one which was a
5375 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5377 * insetcommand.C (insetButtonRelease): ... and move it here.
5379 * inseturl.h: remove insetButtonRelease from there...
5381 2002-02-26 Juergen Vigna <jug@sad.it>
5383 * inseturl.h: Added a insetButtonRelease call returning true as
5386 * insetlabel.C (edit): Fixed wrong update handling after change I
5387 leave in the wrong code for the one who wrote it to remove and have
5388 a look what he did wrong.
5390 * insettabular.C (localDispatch): force a SELECTION update if we
5391 had a selection and we passed the event down to the inset (fix #213)
5392 (localDispatch): handle font changing stuff when we have a cell
5393 selection so that the selection is not rewoked. I don't really like
5394 this fix, but it's the only way I see to do it right now.
5396 2002-02-22 Juergen Vigna <jug@sad.it>
5398 * insettext.C (insetUnlock): set the cursor to the second paragraph
5399 if available and if the first one is empty (fix #191).
5401 2002-02-20 Juergen Vigna <jug@sad.it>
5403 * insettext.C (getDrawFont): implemented this function to call the
5404 one of the owner if present as the owner normally knows what to do
5407 * insetert.C: implement getDrawFont() function and comment out all
5408 the crap for setting a special latex font inside this inset.
5409 (InsetERT): added a Lanugage parameter to this constructor.
5411 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5412 change the font for being drawn on screen (used only in InsetERT for
5415 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5416 and also above (was missing).
5417 (updateLocal): don't remove the cell selection if we have one this
5418 should be done where we really want to remove it.
5420 2002-02-20 José Matos <jamatos@fep.up.pt>
5422 * insetinclude.h: include_label made string const.
5424 * insetinclude.C (InsetInclude): moved include_label initialization.
5427 (validate): fix support for temporary directory, for docbook and
5430 * insetgraphics.h : new private member, graphic_label, that holds
5431 the entity name that defines the graphics location (SGML).
5433 * insetgraphics.C (unique_id): new function to give a unique label
5436 (validate): the file locatation is given by an entity reference.
5438 2002-02-18 Herbert Voss <voss@lyx.org>
5440 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5442 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5444 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5445 as support/systemcall.[Ch] and of class Systemcalls as class
5448 2002-02-18 José Matos <jamatos@fep.up.pt>
5450 * insetinclude.C (validate): some code only applies to latex buffers,
5451 it was made conditional.
5453 2002-02-12 Herbert Voss <voss@lyx.org>
5455 * insetgraphics.C: (prepareFile) do not check at this time
5456 if the file is present.
5458 2002-02-12 Herbert Voss <voss@lyx.org>
5460 * insetgraphics.C: latex(), return the correct newlines
5462 2002-02-13 José Matos <jamatos@fep.up.pt>
5464 * inseturl.C (docbook): escape & in url.
5466 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5468 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5469 after HYPHENATION and MENU_SEPARATOR
5471 * inset.h (isLineSeparator): new method, returns false by default.
5473 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5475 * insetert.C (status): do not update the text inset, but the ERT
5478 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5480 * insetnote.C: use notebg for background
5482 2002-02-08 Herbert Voss <voss@lyx.org>
5485 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5486 prevent LyX from unzipping when this should be handled
5487 by latex vis the graphic.cfg.
5490 2002-02-08 Herbert Voss <voss@lyx.org>
5492 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5493 exists, than return filename with extension
5495 2002-02-06 Herbert Voss <voss@lyx.org>
5497 * insetgraphic.C: prepareFile(): don't convert the file, when
5498 it's not viewed in LyX. Saves a lot of time when opening a
5501 2002-02-05 Herbert Voss <voss@lyx.org>
5504 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5505 and adding a rotate bool similiar to subcaption
5507 2002-02-04 Herbert Voss <voss@lyx.org>
5510 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5511 similiar view to the LaTeX one. Get zipped files work.
5513 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5515 * insetgraphicsParams.C (init): set display to DEFAULT.
5516 No longer #include "lyxrc.h".
5518 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5520 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5521 for now (so that the code compiles).
5523 2002-02-02 Herbert Voss <voss@lyx.org>
5525 * insetgraphic.C: delete inVariant() and some minor changes
5526 * insetgraphicsParams.[C]:
5528 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5530 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5531 interogate lyxrc.display_graphics before diaplaying the graphic.
5533 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5534 InsetGraphicsParams::DisplayType.
5536 2002-01-31 Herbert Voss <voss@lyx.org>
5538 * insetgraphic.C: (readfigInset) set display to pref-default
5540 2002-01-30 Herbert Voss <voss@lyx.org>
5542 * insetgraphic.C: get the filetyp from it's contents
5543 * insetgraphicparams.C: add token scale and lyxrc.display when
5544 creating a new inset
5546 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5548 * figinset.C: added using std::ios directive.
5550 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5552 * figinset.C (runqueue): open translation file in binary mode (for
5555 2002-01-27 Herbert Voss <voss@lyx.org>
5557 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5558 all options and to be sure that the old figinsets are correct
5560 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5561 structure and to support all lengths as LyXLength. The Parameter
5562 structure changed again, but reading of "old" 1.2 graphic insets
5565 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5567 * insetert.h (forceDefaultParagraphs): Added
5569 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5571 * insettabular.C (getMaxWidth):
5572 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5574 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5576 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5577 of LyXLength::inPixels
5579 * inset.C (latexTextWidth):
5580 * insetminipage.C (latexTextWidth): new method, which implements
5581 the equivalent of the LaTeX macro \textwidth
5583 * insetminipage.C (getMaxWidth): use latexTextWidth
5585 2002-01-18 Juergen Vigna <jug@sad.it>
5587 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5589 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5591 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5593 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5596 2002-01-17 Juergen Vigna <jug@sad.it>
5598 * insettabular.C (lockInsetInInset): same change as in insettext.
5600 * insettext.C (draw): width() function was called without setting
5601 the right top_x which could lead to wrong insetWidth setting!
5602 (lockInsetInInset): call edit instead of calling lockInset if we
5603 have to lock an inset inside!
5604 (edit): we have to also tell the inset that we have to redraw the
5605 frame on an edit call if this inset draws a frame only if locked.
5607 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5609 * insetbib.C (getFiles): uncomment Path variable.
5611 2002-01-16 Juergen Vigna <jug@sad.it>
5613 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5616 2002-01-16 Allan Rae <rae@lyx.org>
5618 * insetinclude.C (docbook): someone forgot a ";"
5620 2002-01-16 José Matos <jamatos@fep.up.pt>
5622 * figinset.C (docbook): removed a old place holder "@".
5623 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5624 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5625 ascii text version, clearly guarded inside a CDATA section.
5626 (docbook): in docbook 4, inlinegraphics is empty.
5627 * insettabular.C (linuxdoc): export the ascii version of the table
5628 inside a CDATA section.
5630 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5632 * insetparent.C (InsetParent):
5633 * insetgraphicsParams.C (Write):
5635 * insetgraphics.C (prepareFile):
5638 * insetexternal.C (executeCommand):
5639 (doSubstitution): use Buffer::filePath
5641 * insetbib.C (getFiles): add a #warning for Angus
5643 * insetgraphics.C: Add a remark about how filenames should be
5644 considered to be relative to buffer (but absolute is still allowed)
5645 (draw): do not try to get status if lyxrc.use_gui is false
5647 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5650 * insetcollapsable.[Ch]:
5651 * insettabular.[Ch] (searchForward, searchBackward): change the
5652 bool const & params to bool.
5654 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5655 to avoid the name clash with InsetCollapsable's methods of the same
5656 names but different functionality.
5658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5660 * insettext.C (ascii): use lyx::count rather than countChar.
5662 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5664 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5666 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5668 * insetgraphics.C (updateInset): do not try to render image if
5669 lyxrc.use_gui is false (bug #104)
5671 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5672 if file does not exist
5674 * figinset.C (browseFile): add shortcuts to directory buttons
5676 * insettext.C (updateLocal): update menubar and toolbar here too.
5678 2002-01-13 Allan Rae <rae@lyx.org>
5680 * insettabular.C (InsetTabular): Both constructors now initialise
5681 all class variables.
5683 2002-01-11 Juergen Vigna <jug@sad.it>
5685 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5687 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5689 * insettabular.C (getStatus): add forgotten brace around multiline
5692 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5694 * insetfloat.C (validate): require "float" instead of "floats".
5696 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5698 * insettabular.C (getStatus): use FuncStatus
5700 2002-01-08 Juergen Vigna <jug@sad.it>
5702 * insettabular.C (insetButtonRelease): now this should work too
5705 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5706 if the width is a percentage.
5708 * inset.h: added isChar() function and implemented this for
5709 insetspecialchar insetquotes and insetlatexaccent.
5710 added forceDefaultParagraphs() and implemented it for insettabular.
5712 2002-01-07 Juergen Vigna <jug@sad.it>
5714 * insettext.C (getLyXText): Fixed this function. An insert into the
5715 map is only done if we REALLY have a new BufferView.
5717 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5719 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5721 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5723 * insetinclude.C: fix use of FileInfo
5725 2002-01-07 Juergen Vigna <jug@sad.it>
5727 * insettabular.C (draw): fixed clearing of cell around inset.
5729 2002-01-05 Juergen Vigna <jug@sad.it>
5731 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5732 variables are updated.
5734 * insettabular.C (resetPos): set always the inset_y as it may be
5735 needed in another function.
5736 (searchBackward): don't draw while searching.
5738 2002-01-04 Juergen Vigna <jug@sad.it>
5740 * insettext.C (lockInsetInInset): forgot to set a cursor.
5742 2002-01-02 Juergen Vigna <jug@sad.it>
5744 * insettext.C (insertInset): make the correct undo informations on
5745 inserting new insets.
5747 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5749 * insettabular.C: correct single-cell select vertically
5751 2001-12-27 Juergen Vigna <jug@sad.it>
5753 * insettabular.C (ascii): export as tab-separated-values if the
5754 function was not called from export (f.ex.: clipboard).
5756 * insetcollapsable.h: added default support for ascii, linuxdoc and
5757 docbook export (the insettext is exported by default!)
5759 * insettabular.C (copySelection): suff the clipboard with the tabular
5760 data in a tab separated format, seems more naturals then with all the
5763 2001-12-24 Juergen Vigna <jug@sad.it>
5765 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5766 to check for REAL mouseMotion.
5768 2001-12-20 Juergen Vigna <jug@sad.it>
5770 * inset.C (cursor): return the owners cursor if available instead of
5771 always only the bv->text->cursor.
5773 * insettabular.C (checkLongtableSpecial): works now.
5775 2001-12-19 Juergen Vigna <jug@sad.it>
5777 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5778 this has to be always row + 1 as 0 means not selected!
5779 (checkLongtableSpecial): added
5780 (tabularFeatures): better longtable options support
5782 * insettext.C (resizeLyXText): reinit the text always also on a
5785 2001-12-18 Juergen Vigna <jug@sad.it>
5787 * insettext.C (updateInsetInInset): look if we have to autocollapse
5788 paragraps and return if the update is requested for ourself.
5790 * insetert.C (status): update the insettext not myself as that is what
5793 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5794 function only return if the update was requested with myself.
5796 * insettext.C (insetButtonPress): fixed stupid bug.
5797 (various functions): pay attention that lt is cleared BEFORE calling
5798 updateLocal() and try to use it in the right manner (don't use it
5799 if it's not really neccessary!)
5800 (collapseParagraphs): insert a blank between collapsing paragraphs
5801 if neccessary (not already there!).
5803 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5805 * insettabular.C: move includes around a bit, add a couple of
5808 * insettext.[Ch]: move includes around a bit, other ws changes and
5811 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5813 * insettext.C (insetButtonRelease): fix compile problem
5815 2001-12-17 Juergen Vigna <jug@sad.it>
5817 * insettext.C (insetButtonPress): set the selection cursor!
5818 (insetButtonPress): clear the selection (and set with that the
5819 selection.cursor) if we only hit an inset!
5821 * insetert.C (read): removed piece of compatibility code only needed
5824 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5827 * insetcollapsable.C (insetButtonRelease): changed so that it can
5828 open eventual existing popup dialogs on mousebutton==3.
5830 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5832 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5834 * inset.C (insetButtonRelease): return a bool for telling the outer
5835 world that we opened a dialog.
5837 2001-12-07 Juergen Vigna <jug@sad.it>
5839 * insettext.C (paragraph): remove the deleteing of paragraphs as
5840 it was a WRONG move!
5842 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5845 * insettabular.C: use new setSelection(). Allow
5846 selection of single cells.
5848 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * insetquotes.C (latex): fix to use the local language setting at
5851 the point where the inset is inserted (different macros for
5852 different french packages)
5854 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * inset.h: add par_owner_ member variable and parOwner
5859 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5861 * insettabular.C (everywhere): adapt because widths are now real
5862 widths and not strings
5864 * insettext.C (draw): re-introduce the calls to width(), ascent()
5865 and descent() to initialize the caching variables.
5867 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5869 * insettext.C (draw):
5870 (drawFrame): use insetWidth instead of last_width
5872 * insettext.h: remove variable last_width (insetWidth is exactly
5873 the same) and last_height (computed but never used!)
5875 2001-12-10 Allan Rae <rae@lyx.org>
5877 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5881 * insettext.C (insetAllowed): add comment
5883 2001-12-05 Juergen Vigna <jug@sad.it>
5885 * insettext.C (insetAllowed): fixed for the case that we directly
5886 ask the insettext from its LyXText.
5887 (paragraph): fixed the crash when assigning the par->next() from
5888 the EmptyParagraphMechanism!
5890 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * insettext.C: change "while(" to "while ("
5896 2001-12-04 Juergen Vigna <jug@sad.it>
5898 * insetert.C (edit): handle Inlined status.
5900 * insettext.C (insertInset): trying John's fix for the trailing cursor
5902 * insetert.C (insetButtonPress): added to handle inlined status
5903 (insetMotionNotify): ditto.
5905 * insettext.C (clearInset): changed Painter & in BufferView * param,
5906 to be able to call ascent,descent methods.
5908 2001-12-03 Juergen Vigna <jug@sad.it>
5910 * insettext.C (updateInsetInInset): use lt variable to forbid
5911 changes of LyXText in an update call.
5912 (updateInsetInInset): fixed updating of non locked insets!
5914 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5916 * insettabular.C: capture some more functions to prevent
5917 selection drawing problems. Bug #451274
5919 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5922 * insetgraphicsParams.C: fix inverted sense of float_equal
5924 2001-11-30 Juergen Vigna <jug@sad.it>
5926 * insettabular.C (InsetTabular): use the save_id flag to create also
5927 the tabular with the same id's.
5929 * insettext.C (setParagraphData): added a same_id function for undo
5930 to set the same paragraph id's as of the paragraph we are setting.
5932 2001-11-30 José Matos <jamatos@fep.up.pt>
5935 * insettoc.[Ch]: DocBook -> docbook.
5937 2001-11-29 André Pönitz <poenitz@gmx.net>
5940 * insettext.C: further reduction of header dependencies by using
5941 lyx::layout_type and lyx::textclass_type from support/types.h
5943 2001-11-29 Juergen Vigna <jug@sad.it>
5945 * insettext.C: inserted a reinitLyXText function everywhere I delete
5946 the paragraphs! This should fixe the crashes we had.
5947 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5948 (paragraph): set the InsetOwner() of the new paragraphs!
5950 2001-11-28 André Pönitz <poenitz@gmx.net>
5952 * insetnote.C: add pos initialization that I removed without
5955 2001-11-28 Juergen Vigna <jug@sad.it>
5957 * insettabular.C (resetPos): hack to not crash with infinite paints.
5959 * insettabular.h: insert missing function allowSpellcheck()!
5961 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5963 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5966 * insetfloatlist.C: derive from InsetCommand so gui can use it
5969 2001-11-26 André Pönitz <poenitz@gmx.net>
5973 * insetnote.C: reduce header dependencies, introduce type for
5976 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5978 * various: update for Alert.h
5980 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5982 * inset.h: fix comment
5984 * insettext.C: use par->isInset()
5986 2001-11-22 Allan Rae <rae@lyx.org>
5988 * insetcollapsable.h:
5989 * inset.h: Changes to checkInsertChar() behaviour.
5990 Now return value indicates whether chars can be inserted.
5992 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5994 * various: updated to use the new LaTeXFeatures
5996 2001-11-14 José Matos <jamatos@fep.up.pt>
5998 * insetspecialchar.C (linuxdoc):
5999 (docbook): don't give a name to a unused variable.
6001 * insettext.C (docbook): removed unused variable.
6003 2001-11-13 Herbert Voss <voss@perce.de>
6005 * insetgraphic.C: fix scale bug
6007 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6009 * inset.h (isSpace):
6010 (isLetter): new virtual methods.
6012 * insetspecialchar.C (isSpace):
6013 (isLetter): implement here.
6015 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
6017 * inset.h: new inline helpers
6019 * insettext.C: use new helpers
6021 2001-11-07 José Matos <jamatos@fep.up.pt>
6023 * insettext.C (docbook): full support for paragraphs inside insettext.
6025 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
6027 * insetindex.C: added header file for std::ostream.
6029 2001-11-03 José Matos <jamatos@fep.up.pt>
6031 * insetindex.C: added using std::ostream that I forgot yesterday.
6033 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
6035 * insetindex.h (docbook):
6036 * insetindex.C (docbook): added support for docbook export.
6038 2001-11-02 José Matos <jamatos@fep.up.pt>
6040 * insetcaption.C(docbook): added support for docbook export.
6042 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
6044 * insetexternal.C (updateExternal): Do not run update command if
6045 result file exists and is up to date.
6047 * ExternalTemplate.C (readFormat): Support the updateresult token.
6049 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
6051 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
6052 external_templates) to use the buffer->fileName() but only if
6053 previewing. Generating a TeX file should make FPath return
6056 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6059 * insetert.C: fix some problems
6061 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6063 * insetexternal.C (doSubstitution): Added $$FPath token
6064 to list of usable substitutions in external inset templates.
6066 2001-10-24 Juergen Vigna <jug@sad.it>
6068 * insettabular.C: use new ltType struct for setting longtable
6069 header and footers also new UNSET enums.
6071 2001-10-24 José Matos <jamatos@fep.up.pt>
6073 * insettabular.C (linuxdoc): Now exports the ascii's table version.
6074 (docbook): If the table is not inside a float then wrap it inside
6075 <informaltable>...</informaltable>.
6077 2001-10-23 José Matos <jamatos@fep.up.pt>
6079 * insetref.C (docbook): removed / terminator to conform SGML.
6081 * insetspecialchar.C (linuxdoc):
6082 (docbook): Added support for special chars, more than ascii export.
6084 2001-10-22 Juergen Vigna <jug@sad.it>
6086 * insettext.C (checkInsertChar): added for REALLY checking the
6087 font of the inserted char in the right inset!
6089 2001-10-19 Juergen Vigna <jug@sad.it>
6091 * inset.h: added method allowSpellcheck() so that insets who do
6092 not have anything to spellcheck can tell and so they are over-jumped.
6093 Implemented for InsetText and co.
6095 2001-10-18 Juergen Vigna <jug@sad.it>
6097 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
6099 2001-10-15 José Matos <jamatos@fep.up.pt>
6101 * insetert.C: allow export for docbook and linuxdoc
6103 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6105 * insetquotes.C (dispString): handles latin3 and latin4 quotes
6107 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6109 * insetquotes.C (dispString): fix handling of latin9 quotes
6111 2001-10-03 Juergen Vigna <jug@sad.it>
6115 * insetcollapsable.C: change updateInset calls to not tell BV that
6116 we have changed status.
6118 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6120 * insettabular.C (deletable): make const
6122 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6124 * insetert.C (latex): Fix the returned value
6126 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6128 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
6129 Returns string(), so nothing in an ERT inset is spellchecked.
6131 * insetgraphics.C (draw): print the filename if not displaying the
6133 (width): make sure that the width and draw methods are consistent.
6134 (updateInset): don't even load the image into cache if not displaying
6137 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6139 * various files (selectNextWord): renamed as
6140 selectNextWordToSpellcheck.
6142 * insetgraphics.C (draw): remove the previous change. Right place
6143 is in imageLoaderXPM.C.
6144 (draw): don't display the image if params.display == NONE.
6146 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6148 * figinset.C (runqueue):
6149 * insetgraphics.C (draw): set background colour of inset from
6150 background to the user-configurable graphicsbg.
6152 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6154 * insetquotes.C (InsetQuotes): when trying to decide the side of
6155 the quote, choose `left' only after a space or '('
6157 2001-09-04 José Matos <jamatos@fep.up.pt>
6162 * insetcollapsable.h
6180 * insetlatexaccent.C
6181 * insetlatexaccent.h
6186 * insetspecialchar.C
6187 * insetspecialchar.h
6191 * insettext.C (docbook): rename docBook method to docbook.
6193 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6195 * inset.h (getFirstParagraph): New virtual method.
6197 2001-08-20 Herbert Voss <voss@perce.de>
6198 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6199 in the the bibtex-database-gui for inserting a line
6202 If no style is given than there is no tex-output.
6204 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6206 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6210 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6212 * insetert.C (latex): Fix output for multiple paragraphs.
6213 (write): New code for writing paragraph data.
6214 (read): Set font after reading the inset.
6215 (localDispatch): Call set_latex_font() for more cases.
6217 * insetnote.h: Add empty validate method.
6220 * insetnote.C (InsetNote): Set language to the language of the
6223 2001-08-16 Juergen Vigna <jug@sad.it>
6225 * insettext.C: implemented the new FINISHED states.
6227 * insettabular.C: ditto
6229 * inset.h: added more FINISHED states for cursor right,up,down
6231 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6233 * insetfloatlist.C: use "FloatName List"
6235 2001-08-14 Juergen Vigna <jug@sad.it>
6237 * insetert.C (edit): forgot to set status_ in edit calls!
6239 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6241 * insettext.C: Compilation fix
6243 2001-08-13 Juergen Vigna <jug@sad.it>
6245 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6247 * insetcollapsable.C (edit): don't recollapse an already open inset.
6249 * insettext.C: fixed problem when reinitializing LyXText by not doing
6250 it while lt is in use and post this to the next possible time in
6252 (searchForward): fixed not unlocking of inset if nothing found.
6253 (edit): set cursor behind right (was set -1 pos).
6255 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6257 * insettabular.C (tabularFeatures): fixed fix where deleting the
6258 last row didn't get the right actcell!
6260 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6262 * insettext.C (localDispatch): Change language only when the inset
6265 2001-08-10 Juergen Vigna <jug@sad.it>
6267 * insettabular.C (selectNextWordInt): use the front using edit call.
6269 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6270 the parameter overwrite class variable inset.
6272 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6274 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6275 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6277 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6278 update only for fixed with cells.
6279 (resetPos): try to fix the lockup on spellchecking or s&r.
6281 * insettext.C (update): comment this out as it seems first wrong
6282 and second not needed anymore!
6283 (some functions): call reinitLyXText() only in update() in all other
6284 positions set only need_update = INIT.
6286 2001-08-08 Juergen Vigna <jug@sad.it>
6288 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6290 * insettext.C (insetUnlock): remove double-space on inset unlock.
6292 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6294 * insettabular.C (update): fixed cursor positon after an insert.
6295 (insetAllowed): do not allow to insert insets when not inside the
6297 (draw): clear below an inset too as it could have changed height.
6299 * inset.C (getMaxWidth): fixed width for inset in inset.
6301 * insettext.C (update): small fix.
6303 * insettabular.C (tabularFeatures): added selection support to
6304 DELETE_ROW/DELETE_COLUMN.
6306 2001-08-07 Juergen Vigna <jug@sad.it>
6308 * inset.C (getMaxWidth): recoded and all it's implementations!
6310 * insettext.C (init,setParagraph+constructors): cleanups
6311 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6312 are new and I want do a save/restore of the cursor position which is
6313 not possible anymore.
6315 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6316 (searchBackward): ditto
6317 (selectNextWord): ditto
6319 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6321 * insetlatexaccent.C (checkContents): Add some debug messages
6323 2001-08-07 Juergen Vigna <jug@sad.it>
6325 * insetert.C (read): don't use InsetCollapsable::read as we don't
6326 write the collapsed status anymore only the status.
6329 2001-08-06 Juergen Vigna <jug@sad.it>
6331 * insetert.C (set_latex_font): use LyXText's setFont directly.
6333 * insettext.C (drawFrame): fixed one time more the right position
6334 and size of the frame!
6336 * insetert.C (~InsetERT): hide the dialog.
6337 (showInsetDialog): added implementation
6340 (status): new function for the status of the ERT inset (3-state).
6341 (write): output also the status of the inset for readback!
6342 (read): readback the status if available otherwise use collapsed_.
6344 * insettext.C (edit): small fix of setting the position, which could
6347 * insetert.C (width): implement this function for inlined viewing.
6348 Added minimum width of 10 pixels!
6350 * insetminipage.C (InsetMinipage): just change the colors a bit so
6351 that border/background is a bit more visible. We will remove this
6354 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6355 function for getting the important widths for drawing in various
6356 functions and in LyXText.
6357 (draw): fixed up a bit (frame drawing/clearing)
6359 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6361 * inset.C (convertFont): delete method. not used.
6363 2001-08-03 Juergen Vigna <jug@sad.it>
6365 * insettext.C (setFont): don't call for a draw update if we're just
6366 changing the cursor font!
6368 2001-08-02 Juergen Vigna <jug@sad.it>
6370 * insettext.C (draw): clear the background with the right color if
6371 needed. Update myself if x&max-width changed and return without doing
6372 anything. Let the update code handle the right stuff.
6374 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6375 inside another inset.
6377 2001-08-01 Juergen Vigna <jug@sad.it>
6379 * insetcollapsable.C (update): added an in_update bool so we avoid
6382 * insettabular.C (update): added an in_update bool so we avoid
6385 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6387 (update): added an in_update bool so we avoid reentering.
6389 * insettabular.C (localDispatch): clear col/row selection when doing
6390 something else inside an inset.
6392 * insettext.C (getLyXText): fixed bug when requesting a recursive
6395 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6397 * insetcite.C (latex): Paranoia check. Make sure that there is no
6398 whitespace between the citation keys.
6400 2001-07-31 Juergen Vigna <jug@sad.it>
6402 * inset.h (nodraw): make the set function also const so that this
6403 can be called from inside other const functions.
6405 * insetcollapsable.h: removed inline variable and moved it over
6406 to the only user InsetERT.
6408 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6409 inset opening immediately therein lying insets dialogs!
6411 * insetert.C (localDispatch): set the font also if we don't have any
6412 chars in this paragraph, otherwise if we delete all of em and start
6413 writing we have the wrong font.
6415 (draw): implemented for inline support
6416 (insetButtonRelease): ditto.
6418 2001-07-30 Juergen Vigna <jug@sad.it>
6420 * insettext.C (reinitLyXText): new function to reinit the insets
6421 text after lot's of paragraph changes. Use this instead of the
6422 cache.clear() which is VERY dangerous.
6424 * insetfloat.C (insetButtonRelease): we should only show the dialog
6425 if we press on the label otherwise we have problems to open mouse
6426 button 3 dialogs inside this float (f.ex. of a tabular!)
6428 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * insetert.C: change back to "ERT"
6432 * insetfloat.C: handliign of RMB on label added.
6434 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6436 * insetgraphicsParams.C: #include LOstream.h here.
6438 * insetfoot.h: remove InsetFoot:: qualifier.
6440 2001-07-29 Baruch Even <baruch@lyx.org>
6442 * ChangeLog: Hiding time travel evidence.
6444 * insetgraphicsParams.h:
6445 * insetgraphicsParams.C:
6446 * insetgraphics.C: Added horizontal scale option, it actually
6447 scales both directions since it keeps image proportions.
6449 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6451 2001-07-29 Baruch Even <baruch@lyx.org>
6453 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6454 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6456 HACKY! Will need to add an EPS detection routine like old InsetFig
6459 2001-07-29 Baruch Even <baruch@lyx.org>
6461 * insetgraphics.C: Added EPSI to be an alias of EPS.
6463 2001-07-29 Baruch Even <baruch@lyx.org>
6465 * insetgraphics.C: Change GRAPHICS to Graphics.
6466 Changed image conversion rules (documented at the beginning of file).
6468 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6470 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6473 * insetgraphics.C: added a using std::endl directive.
6475 * insetcommand.h (getScreenLabel): removed pure virtual function,
6476 as it duplicates that in InsetButton.
6478 * insetbib.[Ch] (getScreenLabel):
6479 * insetbutton.[Ch] (getScreenLabel):
6480 * insetcite.[Ch] (getScreenLabel):
6481 * insetert.[Ch] (getScreenLabel):
6482 * insetexternal.[Ch] (getScreenLabel):
6483 * insetfloatlist.[Ch] (getScreenLabel):
6484 * insetinclude.[Ch] (getScreenLabel):
6485 * insetindex.[Ch] (getScreenLabel):
6486 * insetlabel.h (getScreenLabel):
6487 * insetparent.[Ch] (getScreenLabel):
6488 * insetref.[Ch] (getScreenLabel):
6489 * insettoc.[Ch] (getScreenLabel):
6490 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6492 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6494 (validate): remove check on "cite" when using natbib.
6496 2001-07-26 Baruch Even <baruch@lyx.org>
6498 * insetgraphics.C (draw): changed casting to be in one place
6499 rather than all over the function.
6502 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6504 * insetgraphicsParams.h:
6505 * insetgraphicsParams.C:
6506 * insetgraphics.C: Removed inline option and changed rotateAngle
6509 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6511 * insetfoot.C (validate): Added method to ensure that the
6512 right bit of LaTeX is emitted.
6514 * insetfoot.h: Added validate method to set the correct
6515 LaTeXFeatures bit for the special footnote code.
6517 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6519 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6522 2001-07-27 Juergen Vigna <jug@sad.it>
6524 * inset.h: remove not used font variable in parameter.
6525 removed checkInsertChar in UpdatableInset as it was equal to
6526 the one in Inset and so not needed.
6528 * insetert.C (checkInsertChar): implementation of function
6531 * inset.h: added new function checkInsertChar.
6533 * various files: added c-tor and clone() function.
6535 * insetcollapsable.h: removed clone function here as this should
6536 be only realized in REAL insets and added it to all collapsable
6537 insets! (with the copy-constructor).
6539 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6541 * insetminipage.C (read): handle missing parameters more gracefully
6543 * insetcollapsable.C (read): handel missing collapsed more gracefully
6545 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6547 * insetfloat.C (read): handle missing parameters.
6549 * insettext.C (read): handle old latex end_inset
6551 * insetert.C (setButtonLabel): new method
6552 (init): use it, to set the dynamic label correctly
6555 * Makefile.am (EXTRA_DIST): add files that is not part or the
6558 * insetcollapsable.h: remove autocollapsable (no users), remove
6559 draw_label, change_label_with_text and companion code. Remove args
6561 * insetert.[Ch]: move here instead (only user)
6563 * inset.h: rename private variable name to name_, make
6564 selectNextWord return a const string. make getInsetName return a
6565 string const &. Remove bool from open, add close.
6567 * Makefile.am: don't compile insetlist, insetsection
6570 2001-07-24 Juergen Vigna <jug@sad.it>
6572 * insetert.C (InsetERT): put init after the paragraph initialization,
6573 as otherwise we don't set the draw_label right.
6575 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6576 insets with the mouse without having strange selections.
6577 (edit): if the inset was collapsed and we open it here then put the
6578 cursor always at the beginning of the inset.
6579 (get_new_label): 15 instead of 10 max chars in the label.
6581 * insetert.C (localDispatch): added and handle various stuff we
6582 need to handle here (font setting on paragraph break, not permitted
6583 layout setting, etc.).
6585 * inset.h: added default copy-consturctor and implemented this in
6586 various insets with the change to use this in the clone function!
6588 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6590 * insetminipage.C (InsetMinipage): set background color to red :)
6592 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6594 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6595 draw frame mode is LOCKED.
6597 * insetcollapsable.C (edit):
6598 (insetButtonRelease): set update status to full when
6601 * insettext.C (clearInset):
6602 * insettabular.C (draw):
6603 * insetlatexaccent.C (draw): honor background color.
6605 * inset.h: new member background_color_, initialized to
6608 * inset.C (backgroundColor): new method.
6609 (setBackgroundColor): new method.
6611 * insetert.C (init): new method, called by the ctors.
6612 (InsetERT): when inserting contents, make sure the font is
6615 * insetnote.C (InsetNote): when inserting content, remove trailing
6617 (init): set background color to LColor::note
6619 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6621 * insetcollapsable.C: adjust
6623 * insetbutton.C: adjust
6625 2001-07-23 Juergen Vigna <jug@sad.it>
6627 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6628 parameter on the _collapsed function (was not needed) and call
6629 always width_collapsed().
6631 * insetert.C (InsetERT): use setLabel with "true" flag.
6633 * insetcollapsable.C: modified various functions to set the draw_label
6634 string right in any condition.
6635 (setLabel): added a bool parameter to set change_label_with_text.
6637 * insetcollapsable.h: added draw_label string which is set to the
6638 actual drawn label-string, while label is the original static label
6639 of this collapsable inset. Added bool change_label_with_text to set
6640 if we want that the label changes to the start of the InsetText's
6641 text when collabpsed. You can set this flag with the setLabel funciton.
6642 Added bool inlined for inlined collapsable insets, but not handled
6645 * insetcollapsable.C (get_new_label): added should get a new label
6646 from the InsetText beginning (for now 10 chars).
6648 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6650 * insetquotes.C (latex): fix the handling of french double quotes
6651 when not using the french pachage.
6653 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6655 * insetcollapsable.h: make WidthCollapsed mutable.
6657 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6658 InsetPrintIndex returns INDEX_PRINT_CODE.
6660 * inset.h: add INDEX_PRINT_CODE
6662 * insetcollapsable.C (draw): init widthCollapsed if necessary
6665 * insetquotes.C (width): use the local language, not the document
6668 (dispString): add additional spacing for all french languages,
6670 (validate): make it work when there is no default language
6672 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6674 * insetnote.C (init): new method, called by the constructors
6675 (InsetNote): new constructor with contents passed as a string
6677 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6679 * insetfootlike.C (insetAllowed): disallow float in footlike.
6681 * insetert.C (InsetERT): add collapsed argument to the constrctor
6684 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6686 * insetindex.h: shut off warning
6688 2001-07-20 Juergen Vigna <jug@sad.it>
6690 * insetcollapsable.C (update): recoded hopefully works now!
6692 2001-07-19 Juergen Vigna <jug@sad.it>
6694 * most files: implemented the below new introduced function.
6696 * inset.h: added new edit(BufferView *, bool front) method to be able
6697 to enter an inset from the front/back without knowing x/y positions
6698 and baselines inside the inset. So I just can tell the inset activate
6699 me and set the cursor on the front/back of yourself.
6701 2001-07-18 Juergen Vigna <jug@sad.it>
6703 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6704 is given to the InsetText.
6705 (insetButtonPress): ditto
6706 (insetButtonRelease): ditto
6707 (insetMotionNotify): ditto
6709 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6712 LIGATURE_BREAK, since the name is so stupid.
6714 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6716 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6717 the default InsetCollapsable methods. I.e., it can insert anything.
6718 (write) output the name of the inset, not some silly hack for
6719 compatability with the old InsetInfo.
6721 * insetinfo.[Ch]: removed.
6722 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6723 now collapsable, but functionality is otherwise identical to InsetInfo.
6725 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6727 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6729 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6732 * insetquotes.C: general cleanup
6733 (dispString): add spaces inside french double quotes.
6734 (latex): ditto. Moreover, treat first the case where the frenchb
6735 or french options have been given.
6737 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6739 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6742 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6744 * figinset.C (RegisterFigure): Print debug message only when
6745 current_view is available.
6747 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6749 * many files: update to match the change below
6751 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6752 implement the version which takes an inset here.
6754 * insetcollapsable.[Ch]: implement open and isOpen
6756 * inset.h: remove insertInsetAllowed from Inset
6757 (open): new method, to open or close an inset
6758 (isOpen): returns the status of an inset
6759 (isCollapsable, colapse): removed
6761 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6763 * insetquotes.C (dispString): display french guillemets when using
6766 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6768 * insetcollapsable.h: remove bogus return statements
6770 2001-07-18 Juergen Vigna <jug@sad.it>
6772 * insettabular.C (selectNextWord): fixed spellchecking for the
6773 first cell of a tabular (wasn't entered!)
6774 (getLyXText): changed to enter automatically insettext and return
6775 it's LyXText if we're locked.
6777 2001-07-17 Juergen Vigna <jug@sad.it>
6779 * various files: implemented the below functions.
6781 * inset.h: added functions
6782 - virtual string selectNextWord(BufferView *, float & value) const;
6783 - virtual void selectSelectedWord(BufferView *) { return; }
6784 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6785 needed for spellchecking correctly!
6787 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6789 * insetert.C (latex): write out all paragraphs.
6791 2001-07-17 Baruch Even <baruch@lyx.org>
6793 * insetgraphics.C (draw): Removed unneeded casts.
6795 2001-07-16 Juergen Vigna <jug@sad.it>
6797 * insettext.C (update): fixed small oversight (reset lt to 0).
6799 2001-07-14 Baruch Even <baruch@lyx.org>
6802 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6804 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6806 Consistent use of Lsstream.h:
6807 * figinset.C: removed using std::ostringstream directive.
6809 * insetgraphics.C (createLatexOptions):
6810 * insetinclude.C (unique_id):
6811 std::ostringstream -> ostringstream.
6812 * insettext.C (localDispatch): std::istringstream -> istringstream.
6814 2001-07-13 Juergen Vigna <jug@sad.it>
6816 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6818 * insetcollapsable.C (getLockingInset): ditto.
6820 2001-07-12 Juergen Vigna <jug@sad.it>
6822 * insetcollapsable.h: added implementation of new function for
6825 * various files: added implementation of new insertInsetAllowed-func
6826 and redone the function a bit more.
6828 * inset.h: added isCollapsable(), bool collapsed(),
6829 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6831 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6833 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6834 LyXText which is marked for removal while we're using it!
6836 * insettext.h: added private LyXText * lt to use it to assure we are
6837 not deleting our LyXText while we're using it!
6839 2001-07-11 Juergen Vigna <jug@sad.it>
6841 * insettext.C (insertInset): check if we are before the inset after
6842 inserting it! This check IS needed. Remove the Undo-Call as it is
6843 called in LyXText::insertInset!
6845 * insettext.h: added struct InnerCache.
6847 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6848 that we ONLY delete the LyXText in the getLyXText() routine. So we
6849 are sure we don't delete LyXText while someone is working with it!
6851 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6853 * insetexternal.C: (*it). -> it->
6854 * insettext.C: ditto
6856 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6858 * insetcollapsable.C (edit): always open collapsed insets (even if
6859 they are not autocollapsable)
6861 * insetcommand.C (operator=): simplify.
6863 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6865 * insetert.C (latex): handle META_NEWLINE
6867 2001-07-09 Juergen Vigna <jug@sad.it>
6869 * insetert.h: a normal InsetText can insert insets, but we won't.
6871 * inset.h: return default "false" on insertInsetAllowed and implement
6872 this function where a returnvalue != "false" is needed.
6874 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6876 * insetert.C (InsetERT): new contructor
6878 2001-07-06 Juergen Vigna <jug@sad.it>
6880 * a lot of files: added implementation of the below new functions
6881 and the change to clone(). Also the call of the new undo-functions
6884 * inset.h: added an inset_id, added functions getParFromID,
6885 getInsetFromID, firstParagraph, cursor and id functions, added
6886 bool same_ids to clone function.
6888 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6890 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6891 of BufferView * and shared_ptr<LyXText>
6893 2001-07-05 Juergen Vigna <jug@sad.it>
6895 * insettext.C (clear): deleted also the cache not only LyXText.
6896 (setParagraphData): ditto.
6898 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6900 * insetfloat.C (latex): let the specific placement take presedence
6901 if set, otherwise choose document placement if set, otherwise just
6902 use float default placement.
6904 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * insettext.C (localDispatch): call CutAndPaste::'s static method
6909 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6911 * insetbib.C: no meed to include forms.h here.
6913 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6915 * insettext.C: added using std::make_pair directive.
6917 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6919 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6921 (deleteLyXText): ditto
6922 (resizeLyXText): ditto
6924 2001-07-02 Juergen Vigna <jug@sad.it>
6926 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6927 following calls are only returned the right pointer without the over
6928 head to search in the map.
6929 (various funcs): reset the cached_bview variable as this signs that
6930 the cache is not valid anymore.
6932 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6934 * insettabular.C (clone): do not copy the LyXTabular twice
6936 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * insettext.h (TEXT): delete method
6940 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6942 * insetmarginal.C (latex):
6943 * insetfoot.C (latex): fix spacing of notes in LaTeX
6945 * insettext.C (localDispatch): use .c_str() on istringstream
6946 constructor argument.
6948 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6953 * inseturl.C: fix method names in these to begin
6954 with small char too, so they inherit
6956 2001-06-28 Juergen Vigna <jug@sad.it>
6958 * insettext.C (setFont): fixed font settings using toggleFree()
6959 instead of setFont().
6961 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6963 * Change a lot of method names to begin with a small char.
6964 Changes to a lot of files because of this.
6966 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * insetfloatlist.C (Write): std:: qualify ostream
6971 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6975 * insetgraphics.C: send debug output to Debug::INFO instead of
6978 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6981 * insettabular.C (getStatus): update to use func_status
6983 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6985 * insetref.C (DocBook): added support for cross-references without
6988 2001-06-26 The LyX Project <jug@sad.it>
6993 * insetlabel.h: removed escape method and moved it to
6996 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6998 * insettabular.C (getMaxWidth): do the speedup in a different way,
7001 2001-06-24 The LyX Project <Asger>
7003 * insettabular.C (getMaxWidth): We cache a mapping from
7004 inset to cell in order to speed this method up.
7006 2001-06-24 The LyX Project <Asger>
7008 * insettext.C: Optimized InsetText::draw or something.
7010 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
7012 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
7014 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7016 * inset.h: name change from lyxinset.h
7018 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
7020 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
7022 2001-06-14 Juergen Vigna <jug@sad.it>
7024 * insettext.C (draw): removed warnings.
7026 2001-06-13 Juergen Vigna <jug@sad.it>
7028 * insettabular.C (nodraw): only go down the tree if we don't have
7029 that flag set otherwise it's obvious that we don't want to draw.
7030 (LocalDispatch): do also an update if we have an undispached result.
7032 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
7035 * insetgraphicsParams.C:
7036 * insettext.C: removed // -*- C++ -*- as first line.
7038 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7040 * lyxinset.h (resizeLyXText): shut off warning about unused
7043 2001-06-07 Juergen Vigna <jug@sad.it>
7045 * insettext.C (resizeLyXText): honor the new force flag.
7047 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
7049 * insettabular.C (deleteLyXText): new function
7051 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7059 * insetcollapsable.C:
7060 * insetcaption.C: LColor tidy
7062 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7064 * figinset.C: fix typo
7066 2001-06-01 Juergen Vigna <jug@sad.it>
7068 * insettabular.C (resetPos): small hack so that scroll is not set to
7069 0 when we are in the last column of a tabular. This is a problem we
7070 have because of constats 20 offset on both directions, so this can
7071 cause on the limit an endless loop.
7073 * insettext.C (SetFont): forgot that we can have locking insets ;)
7075 2001-05-31 Juergen Vigna <jug@sad.it>
7077 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
7079 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * figinset.C: add using std:: directive for the C functions which
7084 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7086 * insetfloat.C (Write): write out wide info
7087 (Read): read the wide info
7088 (Latex): use the wide info when creating latex.
7090 * insettext.C: adjust
7092 * insetgraphics.[Ch] (statusMessage): change to return string
7096 * figinset.C (runqueue): add std::
7099 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7101 * insetcite.C (Ascii): add std:: qualifier
7103 2001-05-28 Juergen Vigna <jug@sad.it>
7105 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
7106 a endless-width inset (maxWidth < 0).
7107 (Edit): change language only if not equal.
7109 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
7111 * insettext.C (draw): fixed draw/clear of InsetText-Frame
7113 2001-05-16 Juergen Vigna <jug@sad.it>
7115 * insettext.C (selectAll): added
7116 (clearSelection): added
7118 * insettabular.C (SetFont): now we may set a font on a whole selection!
7119 (getSelection): added helper function.
7121 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7123 * insetcite.C (Ascii): Add method.
7125 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7128 * insetbib.C: fix path for OS/2 & Win32
7130 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7132 * insetfoot.C (Latex): don't use % after footnote.
7134 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * insettext.C (Read): use clear
7137 (SetParagraphData): use LyXParagraph copy constructor instead of clone
7139 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7141 * insetfloatlist.h: add a bunch of std:: qualifiers.
7143 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7145 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
7146 FLOAT_LIST_CODE, renumber code list.
7148 * insettoc.C (getScreenLabel): remove support for float lists
7152 * insetfloatlist.[Ch]: new files
7154 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7156 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7158 * insettabular.C (LocalDispatch):
7159 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7162 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7164 * insettext.C: remvoe !NEW_INSETS cruft
7166 * insettabular.C: remove !NEW_INSETS cruft
7168 * insetcollapsable.h: remove !NEW_INSETS cruft
7170 * insetbib.C: remove !NEW_INSETS cruft
7172 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7174 * insettoc.C: hack to make listof algorithm work
7176 2001-04-20 Juergen Vigna <jug@sad.it>
7178 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7180 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * insetquotes.C (Latex): improve the guard against
7183 unwanted !` and ?` ligatures. This should really be done in
7184 another place (to catch all this ligatures at low-level).
7186 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7188 * insettext.C (init): remvoe leftovers from cursor_visible change
7189 (draw): use c++ cast
7190 (LocalDispatch): dispatch LFUN_MESSAGE
7192 * insettabular.C (InsetTabular): remove leftovers from
7193 cursor_visible, and scoped_ptr changes
7194 (draw): use c++ cast
7196 * insetcollapsable.C (draw): use c++ cast
7198 * ExternalTemplate.h: inherit privaely from noncopyable
7199 * insetcommand.h: ditto
7200 * insetinclude.h: ditto
7202 2001-04-16 Allan Rae <rae@lyx.org>
7204 * insettoc.C (Ascii):
7205 * insettext.C (draw):
7206 * insettabular.C (setPos):
7207 * insetminipage.C (Read):
7208 * insetfloat.C (placement):
7209 * insetcaption.C (Ascii, DocBook):
7210 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7211 an unrecognised preprocessor directive. So ensure they're wrapped.
7213 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7216 * insetexternal.C: set view on Clone. Add _ to private members.
7218 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7220 * insettext.C (InsetText): fix new
7221 (InsetText): reindent some, simplify deletion of par list
7222 (clear): simplify deletion of par list, fix new
7223 (SetParagraphData): simplify deletion of par list
7225 * insettabular.[Ch] (getLabelList): implement new method
7227 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7229 * lyxinset.h: do not include gettext.h...
7237 * insetlatexaccent.C:
7241 * inseturl.C: ... and do it here instead
7243 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7245 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7247 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7249 * insetcollapsable.[Ch] (getLabelList): implement
7251 * insettext.[Ch] (getLabelList): implement
7253 * insettext.h: reindent
7255 * insettabular.h: make tabular a scoped_ptr
7257 * insettext.C (init): adjust for cursor_visible
7258 (ToggleInsetCursor): constify asc and desc, font, adjust for
7260 (ShowInsetCursor): constify asc and desc, font, adjust for
7262 (HideInsetCursor): adjust for cursor_visible
7264 * insettabular.C: reindent some
7265 (InsetTabular): adjust for scoped_ptr and cursor_visible
7266 (InsetTabular): ditto
7267 (~InsetTabular): delete delete
7268 (Clone): adjust for scoped_ptr
7269 (Read): constify old_format, adjust for scoped_ptr, move init of
7271 (draw): constify tx, localize loop vars.
7272 some other localization of variables, remove double initilizatons.
7274 * insetfoot.C: remove using std::ostream, add ostream where needed
7276 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7278 * lyxinset.h: some reindentaion, use initializer list for
7280 UpdatableInset: make cursor_visible a private var add
7281 public isCursorVisible(), add protected toggleCursorVisible() and
7282 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7284 * insettoc.C: remvoe using decl
7285 (getScreenLabel): make cmdname donst
7288 (Ascii): don't use endl
7290 * insetfootlike.C: remove using decl at file scope and add std::
7292 * insetmarginal.C: ditto
7294 * insetfoot.C: some reformatting
7296 * insetfloat.C (InsetButtonRelease): adjust the hit area
7298 * insetert.C (SetFont): some reformatting
7300 * insetcollapsable.C: some reformatting and constification
7301 (Clone): comment out.
7302 * insetcollapsable.h: some reformatting
7303 (Clone): comment out.
7308 2001-03-30 Juergen Vigna <jug@sad.it>
7310 * insetcollapsable.h: changen *inset to be a InsetText inset.
7312 * some files: changed to reflect the above change.
7314 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7316 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7317 InsetExternal::Params.
7318 Added operator==() and operator!=() for the Params struct.
7320 2001-03-29 Juergen Vigna <jug@sad.it>
7322 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7325 * insetminipage.C: removed widthp_ and all it's functions and changed
7326 to use new %-lengths of LyXLength.
7328 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7330 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7332 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7334 * insetgraphicsParams.C (operator!=): new function, needed by the
7335 ControlGraphics class.
7337 2001-03-28 Juergen Vigna <jug@sad.it>
7339 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7340 (checkAndActivateInset): don't use the values returned from
7341 call to bv->checkInsetHit.
7343 * insetminipage.C (Clone): set special minipage values.
7345 * insetcollapsable.C (draw): changed to draw the button in the
7346 upper left corner outside the textinset.
7347 (ascent): changed because of different drawing
7351 (InsetButtonPress): ditto
7352 (InsetButtonRelease): ditto
7353 (InsetMotionNotify): ditto
7355 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7357 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7361 2001-03-26 Juergen Vigna <jug@sad.it>
7363 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7365 * insettext.C (ShowInsetDialog): implemented above function.
7367 * insettabular.C (ShowInsetDialog): ditto
7369 * insetminipage.C (ShowInsetDialog): ditto
7371 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7373 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7374 InsetInclude::Params. Don't store a buffer * in Params. Store the
7375 master file name instead.
7377 2001-03-23 Juergen Vigna <jug@sad.it>
7379 * insetcollapsable.C (InsetMotionNotify):
7380 (InsetButtonRelease):
7381 (InsetButtonPress): fixed y-offset (minipages).
7383 * insettext.C (draw): force a FULL update if cleared == true.
7385 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7386 routine to draw the minipages on its position-flag.
7387 (InsetInInsetY): give back the right y position, because of minipage
7390 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7393 * insetfloat.C (DocBook): docbook export code.
7395 2001-03-22 Juergen Vigna <jug@sad.it>
7397 * insetminipage.C (getMaxWidth): added function to set the drawing
7399 (Read): should work now!
7401 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7402 if we create a new inset.
7404 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7406 * figinset.C (fl_set_preemptive_callback): moved definition outside
7409 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7411 * insetminipage.C (Read): prepare for reading of minipage arguments.
7413 2001-03-18 Baruch Even <baruch@lyx.org>
7415 * insetgraphics.C: Minor cleanups of the comments and code.
7417 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7419 * insetminipage.C (InsetMinipage): default to not collapsed
7421 2001-03-16 Juergen Vigna <jug@sad.it>
7423 * insetminipage.C (width): modified with to be a string
7424 (widthp): added widthp (for % width) support functions.
7425 (InsetButtonRelease): added to open the options dialog on button==3.
7426 (~InsetMinipage): added to hide the dialog.
7428 * insetminipage.h: added hideDialog signal
7430 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7432 * insetminipage.h: change the order or Position to match
7433 LyXParagraph::MINIPAGE_ALIGNMENT
7435 * several files: remvoe CXX_WORKING_NAMESPACES
7437 * ExternalTemplate.h: noncopyable is in namespace boost
7438 * insetinclude.h: ditto
7439 * insetcommand.h: ditto
7441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7443 * insettext.C (Edit): #else# -> #else.
7444 * insettoc.C: added using directive.
7446 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7448 * insetminipage.h: add pos, inner_pos, width and height. + getters
7449 and setters for all of them.
7451 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7453 * insetinclude.C (Latex): Do not exit when the textclass of the
7454 included file differ from the textclass of the parent file.
7456 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7458 * ExternalTemplate.C (read): the reading of external insets now checks
7459 for \end_inset and removes it form the input stream.
7461 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7463 * ExternalTemplate.h:
7464 * ExternalTemplate.C:
7466 * insetexternal.C: move form to GUII
7468 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7471 * insetinclude.C: add InsetIncludeParams, use
7472 composition rather than derivation of InsetCommand
7474 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7476 * insettoc.C (Ascii): use the Buffer typedefs
7478 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7480 * insettoc.C (Ascii): implement for dynamic number of lists
7482 * insetcaption.[Ch]: update from new_insets branch
7483 * insetfloat.[Ch]: ditto
7485 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7488 * figinset.C: use new File Dialog
7490 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7492 * insettext.C: changes becuase of ParagraphParameters.
7494 2001-02-28 Baruch Even <baruch@ev-en.org>
7496 * insetgraphics.C (updateInset): Changed due to the change in
7499 2001-02-26 Juergen Vigna <jug@sad.it>
7501 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7502 handled in LyXText).
7504 2001-02-23 Juergen Vigna <jug@sad.it>
7506 * insettext.C (draw): some small repainting fixes.
7507 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7509 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7510 should be) and not an int.
7512 * insettabular.C (LocalDispatch): ditto
7514 * insettext.C (LocalDispatch): ditto
7516 * insetcollapsable.C (LocalDispatch): ditto
7518 2001-02-22 Juergen Vigna <jug@sad.it>
7520 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7521 DISPATCH it and we don't have a locking_inset.
7523 2001-02-21 Baruch Even <baruch@ev-en.org>
7525 * insetgraphics.[Ch]: Changed to use
7526 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7528 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7530 * insetcollapsable.C (getLyXText): add const qualifier to second
7533 2001-02-22 Juergen Vigna <jug@sad.it>
7535 * insettext.C (getLyXText): honor the recursive parameter.
7536 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7538 * inset.C (getLyXText): added bool recursive parameter.
7540 * insettext.C (SetUpdateStatus): or the update codes.
7541 (draw): check need_update with &.
7542 (InsetButtonPress): set no_selection to not put a selection when
7543 entering an inset and it is redraws in another spot.
7545 * insettext.h: made need_update an int.
7547 2001-02-20 Baruch Even <baruch@ev-en.org>
7550 * insetgraphisc.C: Changed to use better semantics when loading images
7551 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7553 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7557 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7558 consistent with InsetTabular.
7560 2001-02-19 Juergen Vigna <jug@sad.it>
7562 * insettabular.C (LocalDispatch): implement PAGE up/down.
7564 * insettext.C (draw): clear all of it on need_update==INIT too!
7566 * insettabular.C (InsetUnlock): always clear the selection.
7568 * inset.C (scroll): normally we only want to scroll the inset until
7569 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7571 2001-02-14 Juergen Vigna <jug@sad.it>
7573 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7574 (resetPos): fixed scroll behaviour.
7575 (LocalDispatch): do an update if moving cursor inside a table cell
7576 requests a scroll of the tabular.
7578 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7580 * insettext.C (textWidth): constify local var
7582 * insettabular.C: small cleanup.
7584 * insetfoot.C (Latex): constify local var
7586 * insetcollapsable.C: small cleanup.
7588 * figinset.C (runqueue): use compare instead of strcmp
7590 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7593 * insetinfo.C: remove cruft
7595 2001-02-14 Juergen Vigna <jug@sad.it>
7597 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7599 2001-02-13 Juergen Vigna <jug@sad.it>
7601 * insettext.C (InsertInset): don't move left (is this right?)
7603 * insettabular.C (LocalDispatch): use of the no_draw variable
7605 * insettabular.h: new no_draw variable to stop redraw
7607 * insettabular.C (TabularFeatures): fixed update for alignment change
7609 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7613 * insetbib.C: move dialogs to frontends/
7615 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7617 * insettext.C (LocalDispatch): Restore the language if the inset
7620 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7622 * insettext.C (moveRightIntern): Update the selection cursor.
7623 (moveLeftIntern): Ditto.
7625 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7627 * Makefile.am: remove BoundingBox.h
7629 * BoundingBox.h: removed
7631 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7633 * insettext.C (LocalDispatch): Update selection cursor when moving
7634 cursor to the right.
7635 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7636 (moveLeftIntern): Ditto.
7638 2001-02-05 Baruch Even <baruch.even@writeme.com>
7640 * insetgraphics.C: Updated automatic image conversion, it now goes into
7641 temporary directory instead of with the image itself.
7643 2001-01-21 Baruch Even <baruch@ev-en.org>
7645 * insetgraphics.C: Added Docbook support. Added Automatic image
7646 conversion to EPS or PNG when needed (support bitmap graphics).
7648 2000-11-02 Baruch Even <baruch@ev-en.org>
7651 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7652 to '\n' and removal of commented out code.
7654 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7656 * insetbib.C (callback): Update citations if the key has changed.
7658 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7660 * insetbib.C (InsetBibKey): Better computation of default key.
7661 (getScreenLabel) Show both the key and the label.
7662 (getBibLabel): New method.
7663 (callback): Force a redraw if the inset have been changed.
7665 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7667 * insetref.C (getType, getName): Move methods from
7668 src/frontends/xforms/FormRef.C.
7670 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7672 * insettabular.C: Various improvements (use only one dummy position).
7674 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7676 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7677 par->bibkey->width. This fixes the crashes when running without
7678 gui or when having included documents.
7680 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7682 * insetcommand.C (getAsString, setFromString): Cleanup.
7684 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7686 * insetref.C: Add the array InsetRef::types that contains
7687 information about all supported reference types.
7689 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7691 * lyxinset.h: remove trailing comma in enum.
7693 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7695 * insettext.C: kill LyXBell.