2 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
4 * insettext.[Ch] : move autoBreakRows_ bool to LyXText
6 2004-12-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * insettabular.C (tabularFeatures): re-enable SET_ALL_LINES and
9 UNSET_ALL_LINES (from Jürgen)
11 2004-12-14 Angus Leeming <leeming@lyx.org>
13 * Makefile.am (AM_CPPFLAGS): Remove trailing slash from -Ifoo/
14 to overcome bug in the MinGW port of g++ 3.4.2.
16 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
18 * insettabular.C (getCellXPos): make it return a relative x
19 position wrt. the begin of the tabular
20 (resetPos): a couple of fixes
21 (doDispatch): add a couple of resetPos calls
22 (drawSelection): fix drawing of selection in single-cell mode
23 (draw): replace 'do not draw' optimization by 'draw with
26 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
28 * insetbase.[Ch] (idxUpDown2): remove function
30 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
32 * insettabular.[Ch]: use size_t-like types for cell, row and column
35 2004-12-02 José Matos <jamatos@lyx.org>
37 * insetlatexaccent.C (checkContents): remove compatibility code,
40 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * insetbase.h (getStatus): add better comment from src/cursor.C
44 2004-11-26 Alfredo Braunstein <abraunst@lyx.org>
46 * insettabular.[Ch]: adjust, introduce "do not draw
47 offscreen" optimization using NullPainter, (dist): introduce,
48 (getCursorPos): implement, (drawSelection): implement
50 * insetcollapsable.[Ch]: adjust
52 * insettext.C: adjust, (metrics): set the font before calling
55 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
57 * rename a lot of InsetOld to InsetBase
59 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
62 * insettext.C: par->pit renaming
64 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
66 * Most insets: rename priv_dispatch to doDispatch
68 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * insettabular.C (tabularFeatures): fix multicolumn handling
72 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * render_base.h (operator=): use common semantics
76 * insettext.C (operator=): delete this
77 (copy constructor): implement this properly
78 (init): use for_each and bind
80 (appendParagraphs): ditto
82 * insettabular.C: add more const. Adjust for changes in tabular.
84 * insetbase.h: Use NVI on clone. Add virtual doClone and update
85 all children, also make copy constructor protected. Added some
88 * insets: adjust to fit.
90 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * insetoptarg.C (latexOptional): return number of lines instead of
95 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * insettabular.[Ch] (string2params): Don't pretend to return the
98 active cell anymore and simplify keyword parsing.
100 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * insetlatexaccent.h (isLetter): implement, so that word selection
103 takes accents into account.
105 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
107 * insetcollapsable.C (priv_dispatch): do not push the inset to the
110 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
112 * ExternalSupport.C, insetgraphics.C:
113 s/getFormatFromContents/formats.getFormatFromFile/
115 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * insetcharstyle.[Ch]:
118 * insetert.[Ch]: implement getStatus
120 * insetcharstyle.C (draw): visual clue when the cursor is inside
123 2004-11-02 José Matos <jamatos@lyx.org>
125 * insetcharstyle.C (docbook):
126 * insetlabel.C (linuxdoc, docbook):
127 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
130 * insettabular.C (docbook): mixed content no longer belongs to
133 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
137 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * ExternalSupport.C (updateExternal): convert files in the temp dir
141 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * insetcharstyle.C: drawing cosmetics.
145 2004-10-30 José Matos <jamatos@lyx.org>
147 * insetcharstyle.C (docbook): a compromisse solution. Don't output
148 paragraph tags inside inline elements.
150 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
152 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
153 InsetText methods rather than outputVerbatim (escapes special
154 characters) [bug 1731]
155 * insetcharstyle.C (outputVerbatim): remove this function.
156 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
157 which caused an infinite loop.
159 2004-10-29 José Matos <jamatos@lyx.org>
161 * insetgraphics.C (uniqueID): transfered to sgml.C
163 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
165 * insetlabel.C (docbook, linuxdoc):
166 * insetref.C (docbook, linuxdoc): sanitize id.
168 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
170 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
171 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
172 * insetgraphics.C (findTargetFormat): reformat
174 2004-10-28 José Matos <jamatos@lyx.org>
176 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
178 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
182 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
185 "[,,,]" without warning message
187 2004-10-26 Angus Leeming <leeming@lyx.org>
189 * ExternalSupport.C (updateExternal):
190 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
191 external files to the temp directory.
193 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
195 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
196 layouts. This fixes problems with the memoir class (which does not
197 allow \footnote) [bug 1677]
199 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
201 * insetindex.C (docbook): escape the index, to generate correct sgml.
203 2004-10-23 José Matos <jamatos@lyx.org>
205 * insettext.C (docbook): rearrange arguments, due to change in the
208 2004-10-23 André Pönitz <poenitz@gmx.net>
210 * insettabular.C (cutSelection, tabularFereatures):
211 fix cursor position after cutting selection or table rows
213 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
215 * insetgraphics.C (docbook, writeImageObject): write more than one
216 format of imageobjects in <mediaobject>.
218 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
220 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
221 DocBook output for this inset ( <citation>content</citation> )
223 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
225 * insetgraphics.C (docbook) : using mediaobject for XML;
226 correcting bug with SGML output (now '>' instead of '/>')
228 2004-10-05 José Matos <jamatos@lyx.org>
230 * insetfloatlist.C (read):
231 * insetquotes.C (read):
232 * insetspace.C (read):
233 * insetspecialchar.C (read):
234 * insettabular.C (read): replace nextToken by more appropriate lex
237 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
239 * insetgraphics.C (createDocBookAttribute, docbook) :
240 convert scale, width, height and keepaspectratio to Docbook standards)
242 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
243 to Docbook units where possible.
245 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
247 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
249 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
250 as attributes with new method for docbook.
252 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
254 * render_preview.h: Use preferred calling of Boost.Signal
256 * pch.h: use proper signal include
258 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
260 * ExternalTransforms.h: User preferred calling of Boost.Function
262 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
264 * insetref.C (docbook): fixing problem where Docbook XML output
265 had unclosed <xref ... >
267 2004-08-16 José Matos <jamatos@lyx.org>
269 * insethfill.C (write):
270 * insetline.C (write):
271 * insetnewline.C (write):
272 * insetpagebreak.C (write): remove space at end of line.
274 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * insettabular.C (plaintext): do not use ownerPar to get the
279 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
280 and it calls getParentLanguage (which calls ownerPar)
281 (edit): do not call sanitizeEmptyText
282 (priv_dispatch): remove code resetting font on empty inset, for
283 the same reasons as above.
285 * insettabular.C (isRightToLeft): instead of using
286 BufferView::getParentLanguage, use the data from the cursor
288 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
292 * Makefile.am: support pch
294 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * insettabular.C (draw): whitespace
298 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
300 2004-08-14 André Pönitz <poenitz@gmx.net>
302 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
304 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * insettabular.C (metrics): when the width of a cell is zero(),
307 let it use as much space as it can
309 * insettext.C (editXY): compilation fix
311 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
313 (metrics): the insets is not full width any more.
314 (draw): adjust; fix bad test for PREVIEW_OFF
315 (add_preview): fix bad test for PREVIEW_OFF
316 (display): do not return true when using \input
318 2004-08-14 José Matos <jamatos@lyx.org>
320 * insetbibitem.[Ch] (plaintext): added.
322 * insetcite.[Ch]: fix plaintext export.
324 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
326 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
329 * insetcaption.C (InsetCaption): modify call to setDrawFrame
330 * insetcollapsable.C (InsetCollapsable): ditto
331 * insetenv.C (InsetEnvironment): ditto
333 2004-08-14 André Pönitz <poenitz@gmx.net>
336 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
338 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * insetoptarg.C (latexOptional): if the optional argument contains
341 a ']' enclose it in {curly brackets}
343 * insettext.C (editXY):
344 * insettabular.C (editXY):
345 * insetcollapsable.C (editXY):
346 * insetbase.C (editXY): constify
348 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
349 not ask for an update if we did nothing; on a mouse release, make
350 sure that the cursor is moved to the right position; on a mouse
351 release, exit from the inset instead of invoking a
354 * insetbase.C (dispatch): before invoking dispatch, set cursor
355 result to dispatch=update=true.
357 2004-08-13 José Matos <jamatos@lyx.org>
359 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
361 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * insetfoot.C (latex): use OutputParams::intitle instead of
364 parOwner() (avoids time consuming lookup)
366 * insetquotes.C (latex): same as above with OutputParams::lang.
367 Moreover the code actually works now.
369 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
371 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
372 * insetinclude.C, insetgraphics.C, insetfloat.C:
373 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
374 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
375 "support/std_sstream.h" to <sstream>
377 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * insetgraphics.C (prepareFile): remove conversion_needed flag.
380 It made the following fail for a .eps graphics file:
382 2) view->pdf (pdflatex)
383 because the .eps file was already in the temp dir when the pdflatex
384 export happened and therefore no .eps -> pdf conversion was done.
386 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * insetgraphics.C, insettabular.C: s/wether/whether/g
390 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
392 * insetgraphics.C (stripExtension): new
393 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
395 * insetgraphics.C (prepareFile): Handle "nice" exports, too
396 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
398 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * insetfloatlist.C (latex,getScreenLabel): translate according to
401 the document language (bug #1312)
403 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
406 with external_in_tmpdir and compute filename ourself
407 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
408 use it to store referenced file(s)
409 * ExternalSupport.C (writeExternal): write relative filename if
411 * ExternalTemplate.[Ch]: add ReferencedFile command
412 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
414 * insetgraphics.C (prepareFile): write relative filename if
416 * insetinclude.C (latex, docbook, linuxdoc): add file to
417 runparams.exportdata and write it to the temp dir instead of
418 writing it to the final destination
419 * insetinclude.C (docbook, linuxdoc): don't copy runparams
421 2004-05-19 Angus Leeming <leeming@lyx.org>
423 * insetcite.[Ch]: small change because namespace biblio is
424 now namespace lyx::biblio.
426 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
428 * insettabular.[Ch] (buffer): make Buffer * argument const
430 2004-05-17 Angus Leeming <leeming@lyx.org>
432 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
433 to force the button label to be re-generated.
435 2004-05-14 José Matos <jamatos@lyx.org>
437 * insetlabel (docbook): do not ouput label, for the moment.
439 2004-05-14 Angus Leeming <leeming@lyx.org>
441 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
442 new biblio::asValidLatexString function.
444 2004-05-12 Angus Leeming <leeming@lyx.org>
446 * insetcite.C: use BufferParams::cite_engine rather than the three
447 bools, use_natbib, use_jurabib, use_numerical_citations.
449 2004-05-10 Angus Leeming <leeming@lyx.org>
451 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
452 Ditto with getStyle, moved to biblio::getEngine.
454 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
456 * insetgraphics.C (validate): remove pre 233 file format stuff,
457 handle zipped files for "nice" export
459 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
461 * insetgraphics.C (prepareFile): copy zipped file and corresponding
462 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
463 * insetgraphics.C (prepareFile): unzip zipped file also if it has
464 changed since the last run
465 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
466 and copyFileIfNeeded.
468 2004-04-29 Angus Leeming <leeming@lyx.org>
470 * ExternalTemplate.[Ch]: remove redundant #includes.
472 2004-04-28 Angus Leeming <leeming@lyx.org>
475 s/updateToolbar()/updateToolbars()/
477 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
479 * insetgraphics.C: require file extension (file format change!)
480 * insetgraphics.C (latex): handle zipped files for "nice" export
482 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
484 * insetgraphics.C (latex): strip the extension and replace dots in
485 the filename if doing a "nice" export. This is a partial fix for
486 bug 1231 without reintroducing bug 655.
488 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * insetoptarg.h: remove the editable() method (InsetCollapsable
491 does it better already)
493 * insetbibtex.C (normalize_name): new helper function. Changes the
494 name to be suitable to use in a latex file (relative to master
495 buffer if necessary).
496 (latex): use normalize_name.
498 2004-04-20 Angus Leeming <leeming@lyx.org>
500 * render_preview.C (startLoading): remove lyxerr statement.
502 (getPreviewLoader): new helper function.
504 2004-04-19 Angus Leeming <leeming@lyx.org>
508 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
510 2004-04-19 Angus Leeming <leeming@lyx.org>
512 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
514 (add_preview): renamed as add_preview_and_start_loading. Invoke
515 RenderPreview::startLoading.
517 * insetinclude.C (metrics, draw): changes due to the changed
518 RenderPreview interface.
520 * render_preview.C: remove cached pimage_.
521 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
522 (draw): don't call startLoading. That's up to the user of
525 2004-04-16 Angus Leeming <leeming@lyx.org>
527 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
529 2004-04-13 Angus Leeming <leeming@lyx.org>
531 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
532 the renderer to inform LyX::updateInset that the inset's status
533 has changed and it should be redrawn.
535 * render_button.[Ch] (clone):
536 * render_graphic.[Ch] (c-tors, clone):
537 * render_preview.[Ch] (c-tors, clone): ditto.
539 * render_graphic.[Ch] (connect):
540 * render_preview.[Ch] (connect): removed, as connection is now
541 made in the constructors.
545 * insetinclude.C: ensuing simplification of the client code.
546 (statusChanged): now superfluous. Removed.
548 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
550 * ExternalTemplate.[Ch]: remove editCommand
551 * ExternalSupport.C (editExternal): use formats.edit() instead of
552 the removed editCommand template parameter
553 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
554 * insetgraphics.[Ch] (editGraphics): new method
556 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
558 * insetinclude.C (validate): set/reset features.buffer_ when
561 2004-04-07 Angus Leeming <leeming@lyx.org>
563 * insetexternal.C (priv_dispatch):
564 * insetinclude.C (priv_dispatch): prevent crash by invoking
565 InsetOld::priv_dispatch at the end of the switch, rather than
566 InsetOld::dispatch...
568 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
570 * insetcollapsable.C:
571 * insetbranch.C: 'assign' to open/close branch inset according to
572 selection; also print content on closed branch button
574 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
576 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
577 $$RelPath_Master, $$RelPath_Parent, $$Extension,
578 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
580 * ExternalSupport.C (updateExternal): use absolute and output
581 filename where appropriate
583 2004-04-05 André Pönitz <poenitz@gmx.net>
585 * insetbase.h: use LCursor & in notifyCursorLeave
587 2004-04-05 Angus Leeming <leeming@lyx.org>
589 * insetgraphics.C: remove unused header file "lyxrc.h".
591 * render_graphic.C: squash bug 1372: Misleading graphics label when
592 deactivating lyx view.
594 2004-04-05 Angus Leeming <leeming@lyx.org>
599 * insetlatexaccent.C:
604 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
606 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
608 * insetfloat.C (read): fix yesterday's float fix.
609 * insetwrap.C (read): apply the fixed float fix.
611 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * insetfloat.C (read): fix reading of float params
616 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
618 * insettext.C (edit): comment the call to updateLocal (dangling now)
619 * insettext.h: add allowSpellCheck() returning true
621 2004-03-31 Angus Leeming <leeming@lyx.org>
623 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
625 2004-03-31 Angus Leeming <leeming@lyx.org>
627 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
628 the cursor out of an inset.
630 * insetbranch.C (priv_dispatch):
631 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
632 use getOutOfInset to push the cursor out of the inset when
635 2004-03-30 Angus Leeming <leeming@lyx.org>
637 * insetbase.[Ch] (translate): new static member function, returns
638 an InsetBase::Code corresponding to the input string.
640 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
642 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
643 so that it opens the inset if it refers to the currently active
646 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
648 * insetfloat.C (addToToc): use par_const_iterator_begin and
649 par_const_iterator_end.
651 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
653 * insetbibtex.[Ch]: bibtopic support.
655 * insetfloat.[Ch]: add param \sideways {true|false}
656 (support for sideways floats from rotating.sty).
658 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
660 * insettext.[Ch]: add a default ctor. implement const version of
666 * insetwrap.C: adjust
668 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
670 * insettext.h: add insetAllowed returning true by default (fixing
671 vanishing insets problem)
673 * insettext.C (draw): handle the responsability of adding the
674 ouside offset to collapsable. Clean code a bit.
676 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
677 from insettext correctly, solve a couple of off-by-one drawing
680 2004-03-25 Angus Leeming <leeming@lyx.org>
682 * insetcaption.C (draw): squash warning about unused variable.
684 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * ExternalSupport.C: use the master buffer's temp dir
687 * insetgraphics.C (latex): make relative filename relative to the
689 * insetgraphics.C: use the master buffer's temp dir
690 * insetinclude.C (masterFilename): new function
691 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
692 is always true if loadIfNeeded() returns true)
694 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
696 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
697 set its parent to the current buffer.
698 (latex): use the tmppath of the master buffer, not just the parent
699 buffer (makes a difference with more than one level of include
700 insets). If the file name is relative write in the .tex file a
701 name relative to the master buffer directory.
703 * insetinclude.C: rename masterFilename to parentFilename (this
704 points to the direct parent)
706 2004-03-25 André Pönitz <poenitz@gmx.net>
708 * inset.[Ch]: remover owner
710 * insetcollapsable.[Ch]: derive from InsetText instead having such a
718 * insetcharstyle.[Ch]:
726 * insetwrap.C: adjust
728 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
730 * insetquote.C: use opening quote after '[' char.
732 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
734 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
737 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
739 * insetcite.[Ch]: support jurabib.
741 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
743 * insetcite.C: Support second \cite option.
746 * insetcommandparams.[Ch]: add second optional argument.
748 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
750 * insetcollapsable.C (lfunMouseRelease): right mouse button only
751 shows the inset dialog.
753 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
755 * insetlabel.[Ch]: remove them
756 * Makefile.am: adjust
758 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
762 * insetinclude.C (latex): show a GUI warning if textclasses don't
764 * insetinclude.C: use mangledFilename() for temp files
765 * insetgraphics.C (readInsetGraphics): remove version check, since
766 the graphics inset has no own fileformat number anymore
768 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * insetquotes.[Ch]: added new member that allows direct access
771 to single/double quotation marks.
773 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
775 2004-02-16 André Pönitz <poenitz@gmx.net>
778 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
779 implicitly assume 'DispatchResult(true, true) with exception of
780 InsetBase::priv_dispatch which does the equivalent of
781 'retrun DispatchResult(false)'
783 * inset*.[Ch] (priv_dispatch): adjust
785 * insettabular.[Ch]: remove remains of the 'update' mechanism,
786 simplify cursor moving function,
787 re-enable horizontal scrolling for large tables
789 2004-02-13 André Pönitz <poenitz@gmx.net>
791 * insettabular.[Ch]: some work after IU
793 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
795 * inset.C (setPosCache): switch to absolute coords in insets
796 * insettext.[Ch] (draw, drawFrame): adjust
797 * insetcollapsable.C (draw): adjust
800 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
802 * insettext.C (edit):
803 (updateLocal): use the cur argument instead of the global cursor
804 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
806 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
808 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
810 * insetfloat.C (validate): "H" -> 'H' in call to contains
812 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
814 2004-01-30 André Pönitz <poenitz@gmx.net>
818 * insetcollapsable.[Ch]:
821 * insetgraphics.[Ch]:
826 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
829 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
831 * insettabular.C: add using statement for std::vector, remove
832 std:: where using was already used.
834 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
838 * insetinclude.C (validate): use feautures.nice() instead of
841 2004-01-20 André Pönitz <poenitz@gmx.net>
844 * insetbase.[Ch]: move stuff from mathcursor here.
850 * insetcharstyle.[Ch]:
851 * insetcollapsable.[Ch]:
854 * insetexternal.[Ch]:
856 * insetgraphics.[Ch]:
865 * updatableinset.[Ch]: Adjust to IU changes (see comment in
868 2004-01-15 André Pönitz <poenitz@gmx.net>
875 * insetcharstyle.[Ch]:
876 * insetcollapsable.[Ch]:
879 * insetexternal.[Ch]:
881 * insetgraphics.[Ch]:
890 * updatableinset.[Ch] (priv_dispatch et al): change signature.
892 2004-01-08 André Pönitz <poenitz@gmx.net>
894 * insetcollapsable.[Ch]:
897 * updatableinset.h: use cell index info from global cursor.
899 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * insetnote.C (InsetNoteParams::write): write label only once
903 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
905 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
907 get rid of the SameName functor
909 * insettabular.C: improve the functor.
911 2003-12-29 Angus Leeming <leeming@lyx.org>
913 * insetexternal.C (setParams): update defaultTemplateName.
915 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
917 * insetbox.C: Use term "Box" in button label
919 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
921 * insetcharstyle.C: get getDrawFont working again
923 2003-12-15 André Pönitz <poenitz@gmx.net>
926 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
928 2003-12-12 Angus Leeming <leeming@lyx.org>
930 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
932 (InsetBranchParams): remove the branchlist hack.
933 (isBranchSelected): new function, used to decide whether to
934 print each output format. Also used by InsetList.
935 (read, string2params): repair my own breakage ;-)
937 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
939 * insetminipage.[Ch]: remove from repository.
941 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
944 * insetcollapsable.[Ch]: Move all CollapseStatus code from
945 insetert to insetcollapsable; introduce virtual function
946 setButtonLabel and invoke it from collapsable
948 2003-12-12 Angus Leeming <leeming@lyx.org>
950 * insetinclude.C (draw): cache x,y and so enable the
953 2003-12-12 Angus Leeming <leeming@lyx.org>
955 * mailinset.C (print_mailer_error): tidy up the output.
957 2003-12-11 Angus Leeming <leeming@lyx.org>
959 * mailinset.[Ch] (print_mailer_error): new helper function.
961 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
962 calling InsetCommandMailer.
963 (InsetCommandMailer::string2params): pass the name of the dialog.
965 * insetbibitem.[Ch] (d-tor):
966 * insetbibtex.[Ch] (d-tor):
967 * insetcite.[Ch] (d-tor):
968 * insetfloatlist.[Ch] (d-tor):
969 * insetindex.[Ch] (d-tor):
970 * insetlabel.[Ch] (d-tor):
971 * insetref.[Ch] (d-tor):
972 * insettoc.[Ch] (d-tor):
973 * inseturl.[Ch] (d-tor): removed.
974 Hiding the dialog is handled by InsetCommand.
976 * insetbibtex.[Ch] (draw, metrics):
977 * insetfloatlist.[Ch] (draw, metrics):
978 * insetindex.[Ch] (draw, metrics): removed.
979 Drawing is handled by InsetCommand.
981 * insetbibitem.[Ch] (priv_dispatch):
982 * insetbibtex.[Ch] (priv_dispatch):
983 * insetcite.[Ch] (priv_dispatch):
984 * insetfloatlist.[Ch] (priv_dispatch):
985 * insetindex.[Ch] (priv_dispatch):
986 * insetlabel.[Ch] (priv_dispatch):
987 * insettoc.[Ch] (priv_dispatch):
988 * inseturl.[Ch] (priv_dispatch): removed or simplified.
989 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
990 LFUN_INSET_DIALOG_SHOW.
992 * insetbox.C (string2params):
993 * insetbranch.C (string2params):
994 * insetert.C (string2params):
995 * insetexternal.C (string2params):
996 * insetfloat.C (string2params):
997 * insetinclude.C (string2params):
998 * insetminipage.C (string2params):
999 * insetnote.C (string2params):
1000 * insetvspace.C (string2params):
1001 * insetwrap.C (string2params): over-hauled.
1003 2003-12-10 Angus Leeming <leeming@lyx.org>
1005 * insetexternal.[Ch]: add a draft option and respect it when
1008 2003-12-10 Angus Leeming <leeming@lyx.org>
1010 * insetbox.C: (read, write): now prepend the inset contents with
1011 'Box' to identify the inset as a box inset.
1013 * insetbox.h: move the translators out of sight.
1015 2003-12-10 Angus Leeming <leeming@lyx.org>
1017 * insetert.C (string2params): clean-up using the new lyxlex interface.
1019 * insetexternal.C: ensure that InsetExternalParams has a default
1020 template, 'RasterImage'.
1022 2003-12-10 Angus Leeming <leeming@lyx.org>
1024 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
1025 to an enum. Ensuing clean-ups through out the class.
1026 (read, write): now prepend the inset contents with 'Note' to identify
1027 the inset as a note inset.
1029 2003-12-10 Angus Leeming <leeming@lyx.org>
1031 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
1032 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
1034 2003-12-10 André Pönitz <poenitz@gmx.net>
1038 * insettabular.[Ch]:
1039 * insettext.[Ch]: remove unused insetInset()
1041 * insetert.C: disable some LFUNs
1043 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
1045 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
1047 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
1049 2003-12-04 Angus Leeming <leeming@lyx.org>
1051 * insetexternal.C (draw): update the xo_, yo_ cache.
1053 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1055 (RotationDataType): new helper struct wrapping the
1056 RotationData::OriginType enum.
1058 2003-12-03 André Pönitz <poenitz@gmx.net>
1060 * inset.h: remove getParagraphs()
1062 * insetcollapsable.[Ch]:
1065 * insettabular.[Ch]:
1066 * insettext.C: use getText() instead of getParagraphs()
1068 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1070 * insetert.C: fix label text updating bug
1072 2003-12-02 Angus Leeming <leeming@lyx.org>
1074 * insetvspace.[Ch] (space): new member function. Make space_ private.
1075 (read): use the new, simpler lyxlex syntax.
1077 2003-12-01 André Pönitz <poenitz@gmx.net>
1079 * insetcollapsable.[Ch]:
1080 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1082 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084 * insetvspace.C (read): handle 'end_inset' token.
1086 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1088 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1090 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1092 * insetcollapsable.[Ch]:
1094 * insetcharstyle.C: place inset content on the button when
1097 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1099 * insetvspace.C: remove VSpace::NONE; increase inset width
1101 2003-12-01 André Pönitz <poenitz@gmx.net>
1103 * insetbase.h: whitespace
1105 * inset.[Ch]: remove latexTextWidth
1106 make setBackgroundColor virtual
1108 * insettext.[Ch]: move ParagraphList member to LyXText
1110 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1116 * insetminipage.[Ch]:
1118 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1120 2003-11-28 Angus Leeming <leeming@lyx.org>
1122 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1123 hiding and showing the dialog respectively.
1124 (priv_dispatch): also actually update the inset contents.
1126 2003-11-28 Angus Leeming <leeming@lyx.org>
1128 * insetbox.C (d-tor):
1129 * insetbranch.C (d-tor):
1130 * insetcite.C (d-tor):
1131 * insetfloat.C (d-tor):
1132 * insetfloatlist.C (d-tor):
1133 * insetinclude.C (d-tor):
1134 * insetindex.C (d-tor):
1135 simplify the invocation of the Mailer::hideDialog() function.
1137 * insetminipage.C (showInsetDialog):
1138 simplify the invocation of the Mailer::showialog() function.
1140 2003-11-28 André Pönitz <poenitz@gmx.net>
1143 * insetvspace.[Ch]: new insets
1145 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1147 * insetcharstyle.C: Syntax change for CharStyles
1149 2003-11-28 André Pönitz <poenitz@gmx.net>
1151 * updatableinset.h: remove insetInInsetY
1153 * insetcollapsable.[Ch]:
1155 * insettabular.[Ch]:
1156 * insettext.[Ch]: adjust
1158 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1162 * insetcollapsable.[Ch]:
1164 * insettabular.[Ch]: remove setFont
1166 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1168 * render_graphic.[Ch]: adjust comments
1170 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1172 * insetgraphics.C (draw): cache xo_ & yo_
1174 2003-11-24 André Pönitz <poenitz@gmx.net>
1176 * insettext.C (setViewCache): don't call LyXText::init() anymore
1178 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1181 * insetcollapsable.[Ch]:
1182 * insetert.[Ch]: remove bufferview parameter in methods
1183 open, close, status, and updateStatus.
1185 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1187 * insetcollapsable.[Ch]:
1188 * insettabular.[Ch]:
1189 * insettext.[Ch] (getCursorDim): squash unused variable
1191 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1193 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1195 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1197 * insettext.C (draw): sets LyXText absolute coordinates
1199 2003-11-20 Angus Leeming <leeming@lyx.org>
1201 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1202 warnings about unused parameters.
1204 * insetcollapsable.C (open):
1205 * insettabular.C (pasteSelection):
1206 * insettoc.C (draw): ditto.
1208 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1210 * insetcollapsable.C:
1212 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1213 remove mouse_x mouse_y etc.
1215 2003-11-17 André Pönitz <poenitz@gmx.net>
1217 * insettext.[Ch] (cx, cy): remove
1219 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1221 2003-11-13 André Pönitz <poenitz@gmx.net>
1224 * insetcollapsable.[Ch]:
1225 * insettabular.[Ch]:
1226 * insettext.[Ch] (deleteLyXText): remove
1228 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1230 * insetcollapsable.[Ch] (fitInsetCursor): remove
1231 * insettabular.[Ch] (fitInsetCursor): remove
1232 * insettext.[Ch] (fitInsetCursor): remove
1233 * updatableinset.[Ch] (fitInsetCursor): remove
1234 (getCursorDIm): add virtual
1236 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1238 * src/insets/Makefile.am:
1239 * src/insets/inset.h:
1240 * src/insets/insetcharstyle.C:
1241 * src/insets/insetcharstyle.h: The Character Style /XML short
1244 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1246 * insettext.C: remove all update calls
1247 * insetcollapsable.C: remove all update calls
1249 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1251 * insettext.C (updateLocal, insertInset, setFont): remove
1254 2003-11-10 André Pönitz <poenitz@gmx.net>
1256 * inset.h: remove Inset::id_
1258 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1263 2003-11-10 André Pönitz <poenitz@gmx.net>
1267 * insetcollapsable.[Ch]:
1271 * insettabular.[Ch]:
1274 * updatableinset.[Ch]: remove inset locking & adjust
1276 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1278 * inset.h (allowSpellCheck): add (return true)
1279 * insetert.h (allowSpellCheck): add (return false)
1281 2003-11-05 José Matos <jamatos@lyx.org>
1287 * insetcaption.[Ch]:
1289 * insetcollapsable.[Ch]:
1290 * insetcommand.[Ch]:
1293 * insetexternal.[Ch]:
1295 * insetfloatlist.[Ch]:
1297 * insetgraphics.[Ch]:
1299 * insetinclude.[Ch]:
1302 * insetlatexaccent.[Ch]:
1305 * insetmarginal.[Ch]:
1306 * insetminipage.[Ch]:
1307 * insetnewline.[Ch]:
1310 * insetpagebreak.[Ch]:
1314 * insetspecialchar.[Ch]:
1315 * insettabular.[Ch]:
1317 * insettheorem.[Ch]:
1320 * insetwrap.[Ch]: rename ascii to plaintext
1321 and LatexRunParams to OutputParams.
1323 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1325 * insetcollapsable.C (edit): add open() all
1326 * insettext.C (edit): add setViewCache call
1328 2003-11-04 André Pönitz <poenitz@gmx.net>
1330 * inset.h (edit): move locking code from dispatch() to edit()
1336 * insetcollapsable.[Ch]:
1339 * insetexternal.[Ch]:
1340 * insetgraphics.[Ch]:
1345 * insettabular.[Ch]:
1346 * insettext.[Ch]: adjust
1348 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1351 * insetcollapsable.[Ch]:
1353 * insettabular.[Ch]:
1355 * updatableinset.[Ch]: remove dead search code
1357 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1360 * insetcollapsable.[Ch]:
1362 * insettabular.[Ch]:
1364 * updatableinset.[Ch]: remove dead spellcheck code
1366 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1368 * insettabular.C (lockInsetInInset): small fix
1370 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1373 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1374 from here. Be stricter on DispatchResult returned.
1376 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * Inset::dispatch's: adjust for new DispatchResult semantics.
1380 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * render_base.h: make clone return an auto_ptr
1383 * render_button.C (clone): adjust
1384 * render_graphic.C (clone): adjust
1385 * render_preview.C (clone): adjust
1387 * insettheorem.C (clone): return an auto_ptr
1389 * insettext.C (priv_dispatch): exception safety
1391 * insettabular.C: store the file scope variable paste_tabular in a
1392 scoped_ptr, adjust usage.
1394 * insetexternal.C (setParams): exception safety
1396 * insetbibitem.C (clone): exception safety
1398 2003-11-03 André Pönitz <poenitz@gmx.net>
1401 * insetcollapsable.[Ch]:
1402 * insettabular.[Ch]:
1403 * insettext.[Ch]: remove Inset::id and related functions
1405 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1407 * insets: adjust for DispatchResult changes.
1409 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1411 * insetpagebreak.C: fix screen representation & ascii output.
1413 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1417 * insettabular.[Ch]:
1418 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1420 2003-10-31 José Matos <jamatos@lyx.org>
1422 * inset.h (ascii, linuxdoc, docbook):
1423 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1424 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1425 * insetcaption.[Ch] (ascii, docbook):
1426 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1427 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1428 * insetert.[Ch] (ascii, linuxdoc, docbook):
1429 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1430 * insetfloat.[Ch] (linuxdoc, docbook):
1431 * insetfloatlist.[Ch] (ascii):
1432 * insetfoot.[Ch] (docbook):
1433 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1434 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1435 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1436 * insetindex.[Ch] (docbook):
1437 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1438 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1439 * insetline.[Ch] (ascii, linuxdoc, docbook):
1440 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1441 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1442 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1443 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1444 * insetref.[Ch] (ascii, linuxdoc, docbook):
1445 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1446 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1447 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1448 * insettext.[Ch] (ascii, linuxdoc, docbook):
1449 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1450 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1451 * insetwrap.[Ch] (docbook):
1452 add LatexRunParams argument.
1454 2003-10-30 José Matos <jamatos@lyx.org>
1456 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1458 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1460 * updatableinset.C (priv_dispatch):
1461 * insetwrap.C (priv_dispatch):
1462 * inseturl.C (priv_dispatch):
1463 * insettoc.C (priv_dispatch):
1464 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1465 (moveLeftIntern, moveUp, moveDown):
1466 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1467 (moveLeft, moveUp, moveDown):
1468 * insetref.C (priv_dispatch):
1469 * insetnote.C (priv_dispatch):
1470 * insetminipage.C (priv_dispatch):
1471 * insetlabel.C (priv_dispatch):
1472 * insetindex.C (priv_dispatch):
1473 * insetinclude.C (priv_dispatch):
1474 * insetgraphics.C (priv_dispatch):
1475 * insetfloatlist.C (priv_dispatch):
1476 * insetfloat.C (priv_dispatch):
1477 * insetexternal.C (priv_dispatch):
1478 * insetert.C (priv_dispatch):
1479 * insetcommand.C (priv_dispatch):
1480 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1481 * insetcite.C (priv_dispatch):
1482 * insetbranch.C (priv_dispatch):
1483 * insetbox.C (priv_dispatch):
1484 * insetbibtex.C (priv_dispatch):
1485 * insetbibitem.C (priv_dispatch):
1486 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1488 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1490 * insettext.C: small refactoring of docbook stuff
1492 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1495 (priv_dispatch): adjust for operator dispatch_result_t removal
1497 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1498 in a DispatchResult, adjust accordingly.
1499 (priv_dispatch): use strange >= construct... (will be removed later)
1501 * most insets: dispatch_result -> DispatchResult
1503 * insetbase.h: move DispatchResult out to dispatchresult.h
1505 2003-10-27 André Pönitz <poenitz@gmx.net>
1507 * insetpagebreak.[Ch]: new inset for page breaks
1509 * insetline.[Ch]: new inset for vertical lines
1514 2003-10-25 Angus Leeming <leeming@lyx.org>
1516 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1517 new virtual member functions, specialised...
1518 * render_button.h (asButton):
1519 * render_graphic.h (asGraphic):
1520 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1522 * insetexternal.C: use these new functions rather than dynamic_cast.
1523 Various other small simplifications.
1525 2003-10-22 Angus Leeming <leeming@lyx.org>
1527 * insetexternal.[Ch]: add the ability to 'preview' the external file
1530 * insetinclude.C: changes due to the changes in the RenderPreview
1533 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1534 message if the preview image is not available. Only initiate the
1535 loading of the preview from draw(). Ditto, start the monitoring
1536 of an external file from RenderMonitoredPreview::draw.
1538 2003-10-22 Angus Leeming <leeming@lyx.org>
1540 * insetcite.[Ch] (setLoadingBuffer): removed.
1541 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1542 ascertain whether to proceed with the (expensive) task of computing
1543 the natbib-style label. Remove the home-grown hack providing
1544 similar functionality.
1546 2003-10-22 Angus Leeming <leeming@lyx.org>
1548 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1549 class and into an anonymous namespace.
1551 2003-10-22 Angus Leeming <leeming@lyx.org>
1553 * insetcommand.h: remove the display method.
1557 * insetindex.h (InsetPrintIndex):
1558 * insettoc.h: add a display method, returning true.
1560 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1562 * insetcollapsable.h:
1566 * insetinclude.h: (1) finish off the inset display() work;
1567 (2) fix the "is a bit silly" bug (accessing char
1570 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1574 * insetfootlike.h: re-introduce display() for insets,
1575 fixing the various bugs (stretch of line above, math inset
1578 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * insetbase.C (dispatch): new func
1581 (priv_dispatch): new func replaces...
1582 (localDispatch): this, deleted.
1584 * all insets with dispatch modified for new code.
1586 2003-10-15 André Pönitz <poenitz@gmx.net>
1588 * insetcollapsable.[Ch]
1590 * inset.h: re-add some edit(bv, index) method called by undo
1592 2003-10-14 Angus Leeming <leeming@lyx.org>
1594 * insetexternal.[Ch] (view, cache, view_):
1595 * insetgraphics.[Ch] (view, cache, view_):
1596 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1597 (statusChanged): call LyX::cref().updateInset.
1599 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1600 the BufferView cache.
1602 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1605 2003-10-14 Angus Leeming <leeming@lyx.org>
1607 * insetinclude.C (metrics, draw): only draw the preview when previews
1610 2003-10-14 André Pönitz <poenitz@gmx.net>
1612 * insetcollapsable.[Ch]:
1613 * insettabular.[Ch]:
1615 * inset.h: getText() as alternative to getParagraphs()
1617 2003-10-13 Angus Leeming <leeming@lyx.org>
1620 * insetgraphicsParams.C: displayTranslator is now a function.
1622 2003-10-13 Angus Leeming <leeming@lyx.org>
1624 * insetinclude.C: remove #include "PreviewImage.h".
1626 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1628 * ExternalSupport.C:
1629 * ExternalTransforms.C:
1631 * insetbox.h: ws changes only
1633 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1635 * insetinclude.C (localDispatch): do not call
1636 InsetOld::localDispatch, just return UNDISPATCHED
1637 * insetgraphics.C (localDispatch): ditto
1638 * insetcommand.C (localDispatch): ditto
1640 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * inset.h: get rid of RESULT typedef for dispatch_result
1644 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1645 * insetert.[Ch] (localDispatch): ditto
1646 * insettabular.[Ch] (localDispatch): ditto
1651 * insettext.[Ch] (localDispatch): ditto
1654 (moveRightIntern): ditto
1655 (moveLeftIntern): ditto
1658 * updatableinset.[Ch] (localDispatch): ditto
1660 2003-10-12 Angus Leeming <leeming@lyx.org>
1662 * renderbase.h (view, view_): removed.
1663 * renderbase.C: removed.
1664 * Makefile.am: remove render_base.C. The shortest lived file in
1667 * renderbutton.C (draw):
1668 * render_graphic.C (draw): don't cache the BufferView.
1670 * insetabase.h (cache, view): removed.
1672 * inset.h (generatePreview) removed.
1674 * insetcallapsable.[Ch] (cache, view, view_): removed.
1676 * insetcollapsable.C (draw): don't cache the BufferView.
1678 * insetcommand.[Ch] (view): removed.
1680 * insetexternal.[Ch] (cache, view, view_):
1681 * insetgraphics.[Ch] (cache, view, view_):
1682 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1684 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1685 when you have direct access to it. In fact, don't use the cache at all.
1687 2003-10-10 Angus Leeming <leeming@lyx.org>
1689 * insetinclude.C (metrics): use preview_->metrics.
1690 (draw): use preview_->draw.
1692 * render_preview.[Ch] (pimage): removed.
1694 2003-10-10 Angus Leeming <leeming@lyx.org>
1696 * renderers.[Ch]: removed.
1699 * render_button.[Ch]:
1700 * render_graphic.[Ch]:
1701 * render_preview.[Ch]: new files. The first three are split out of
1702 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1703 contains a re-worked InsetInclude::PreviewImpl also.
1705 * Makefile.am: reflect the changed files.
1708 * insetexternal.[Ch]:
1709 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1711 * insetinclude.[Ch]: changes reflecting the change from
1712 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1718 * inseturl.C: add #include "support/std_ostream.h"
1720 2003-10-09 Angus Leeming <leeming@lyx.org>
1722 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1723 to PreviewedInset::previewReady.
1725 2003-10-09 Angus Leeming <leeming@lyx.org>
1727 * insetexternal.[Ch] (statusChanged):
1728 * insetgraphics.[Ch] (statusChanged): make a const member function.
1730 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1733 2003-10-09 Angus Leeming <leeming@lyx.org>
1735 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1736 to PreviewedInset's previewReady and removePreview member functions.
1738 2003-10-08 André Pönitz <poenitz@gmx.net>
1740 * insetcollapsable.C:
1741 * insettext.[Ch]: saner 'init' structure
1743 * updatableinset.[Ch]: remove unneeded code
1745 2003-10-08 Angus Leeming <leeming@lyx.org>
1747 Fix doxygen warnings.
1749 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1750 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1752 2003-10-07 Angus Leeming <leeming@lyx.org>
1754 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1755 be applied to InsetExternal.
1757 * Makefile.am: add these new files.
1759 * ExternalTemplate.[Ch]: add a list of available transforms to
1760 class Template and a list of factory functions for transformer classes
1761 that can act on this data to class Format.
1763 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1765 * ExternalSupport.C: Add code to replace transform placeholders
1766 with appropriate output.
1768 2003-10-07 Angus Leeming <leeming@lyx.org>
1770 * ExternalSupport.[Ch]: new files, moving the private member functions
1771 and namespace anon functions out of insetexternal.C to here, so making
1772 it easier to understand what is going on in insetexternal itself.
1774 * Makefile.am: add new files.
1776 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1777 allowing the class to be forward declared. (Also consistent with
1778 all other Params classes.)
1779 (write): moved out of the class. Move this function and those in
1780 namespace anon to ExternalSupport.[Ch].
1782 2003-10-07 Angus Leeming <leeming@lyx.org>
1784 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1785 non-const member function.
1787 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1792 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1794 2003-10-02 André Pönitz <poenitz@gmx.net>
1796 * insettext.C (read): make sure there is at least one par
1797 in the text after reading.
1799 2003-10-01 José Matos <jamatos@lyx.org>
1801 * insetbranch.C (linuxdoc, docbook): minor fix.
1803 2003-10-01 Angus Leeming <leeming@lyx.org>
1805 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1807 * insetexternal.[Ch]: changes due to the introduction of
1808 namespace lyx::external.
1810 2003-09-30 Angus Leeming <leeming@lyx.org>
1812 * insetexternal.[Ch] (Params::read, write): new member functions.
1814 2003-09-25 Angus Leeming <leeming@lyx.org>
1816 * insetexternal.[Ch] (TempName): new (private) nested struct with
1817 fake copy semantics. Enables us to use the generated copy c-tor
1818 in the Params struct.
1819 (Params::templatename, Params::tempname): use accessor functions.
1821 2003-09-25 Angus Leeming <leeming@lyx.org>
1823 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1824 function, returning a const pointer.
1826 2003-09-23 Angus Leeming <leeming@lyx.org>
1828 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1829 store them in a vector, preambleNames.
1831 * insetexternal.C (validate): loop over all preambleNames and call
1832 LaTeXFeatures::addExternalPreamble with each.
1834 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1836 * insetbranch.C: bug fix in branches
1838 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1840 * insetnote.C: small clean-up.
1842 2003-09-19 Angus Leeming <leeming@lyx.org>
1844 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1846 * insetcommand.C (string2params): clear params using the default c-tor.
1848 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1849 InsetInclude::Params. No more data in this struct than in
1850 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1851 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1852 (clone): remove #warning as it's now redundant.
1853 (set): add a 'Buffer const &' arg. Make private.
1854 (loadIfNeeded) move out of the class definition and into namespace anon.
1855 (getMasterFilename, getFileName): ditto.
1857 2003-09-18 Angus Leeming <leeming@lyx.org>
1859 * insetcommand.C (setParams): use the params' copy constructor.
1861 2003-09-18 Angus Leeming <leeming@lyx.org>
1863 * insetinsetbase.h (getLabelList):
1864 * insetinsetcollapsable.[Ch] (getLabelList):
1865 * insetinsetinclude.[Ch] (getLabelList):
1866 * insetinsetlabel.[Ch] (getLabelList):
1867 * insetinsettabular.[Ch] (getLabelList):
1868 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1869 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1871 2003-09-18 Angus Leeming <leeming@lyx.org>
1873 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1874 redundant baggage from yesteryear.
1875 Remove Params::flag as it is redundant; the info is present in
1878 2003-09-18 Angus Leeming <leeming@lyx.org>
1880 * insetinclude.C (latexString): add a Buffer const & arg.
1882 2003-09-18 Angus Leeming <leeming@lyx.org>
1887 * insettext.h: rename EnumLColor as LColor_color.
1889 2003-09-18 Angus Leeming <leeming@lyx.org>
1891 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1892 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1894 2003-09-16 Angus Leeming <leeming@lyx.org>
1896 * insetinclude.C (localDispatch): ensure that
1897 params_.masterFilename_ is set before trying to generate a
1898 preview, else we trigger an assert.
1900 2003-09-16 Angus Leeming <leeming@lyx.org>
1902 * insetinclude.C (PreviewImpl::parent): return a const reference.
1904 2003-09-16 Angus Leeming <leeming@lyx.org>
1906 * insetcollapsable.[Ch]: make all member variables, except for
1909 * insetert.C (init): use InsetCollapsable::setLabelFont rather
1910 than access labelfont directly.
1911 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
1912 use InsetCollapsable::setCollapsed, isOpen rather than access
1913 collapsed_ directly.
1915 * insetminipage.C (metrics):
1916 * insetnote.C (metrics):
1917 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1918 access collapsed_ directly.
1920 2003-09-16 Angus Leeming <leeming@lyx.org>
1922 * insetbibitem.C: add #include "lyxfont.h".
1924 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * insetbibtex.C: use namespace alias for lyx::support::os
1929 2003-09-16 Angus Leeming <leeming@lyx.org>
1931 * insetcollapsable.h: remove unused framecolor variable.
1932 Remove #include "LColor.h".
1934 * insetcollapsable.C: remove unused framecolor variable.
1937 * insetcollapsable.C:
1945 Add #include "LColor.h".
1947 2003-09-16 Angus Leeming <leeming@lyx.org>
1949 * insettext.[Ch] (frameColor): new accessor function.
1950 (frame_color_): stored as an int, allows us to remove #include
1951 "LColor.h" from insettext.h
1956 add #include "LColor.h".
1958 * insetcollapsable.h: add #include "LColor.h"
1959 (for its framecolor member variable).
1961 2003-09-16 Angus Leeming <leeming@lyx.org>
1963 * insetenv.C (constructor): use accessor functions to access
1964 InsetText variables.
1966 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1967 rename frame_color as frame_color_. Make private.
1969 * insettext.C: associated changes.
1971 2003-09-16 Angus Leeming <leeming@lyx.org>
1973 * inset.h: store background_color_ as an int, not as an
1974 LColor::color to get LColor.h out of the header file.
1977 * insetlatexaccent.C:
1980 * insetspecialchar.C:
1982 add #include "LColor.h".
1984 2003-09-16 Angus Leeming <leeming@lyx.org>
1986 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
1987 cannot string calls together.
1989 2003-09-15 Angus Leeming <leeming@lyx.org>
1991 * inset.[Ch] (setBackgroundColor, backgroundColor):
1992 * insettext.[Ch] (setFrameColor):
1993 pass EnumLColor args, rather than LColor::color ones.
1995 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * insetwrap.C: remove usage of STRCONV
2007 2003-09-15 Angus Leeming <leeming@lyx.org>
2009 * renderers.C (draw):
2010 * insetlatexaccent.C (draw): explicitly define the color passed to
2013 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2015 * insettext.C: remove block causing problems in lockInsetInInset
2016 (mentioned erroneously under Bug #1366)
2018 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
2020 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
2023 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2025 * several files: change Assert to BOOST_ASSERT
2027 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
2029 * insettext.[Ch]: remove drawText[XY]Offset
2031 2003-09-08 Angus Leeming <leeming@lyx.org>
2033 * insetcollapsable.C:
2038 * insetspecialchar.C:
2041 * insettoc.C: remove redundant using directives.
2043 2003-09-07 Angus Leeming <leeming@lyx.org>
2046 * insetspecialchar.h: remove #include "support/std_string.h".
2048 2003-09-06 Angus Leeming <leeming@lyx.org>
2050 * renderers.C: add #include "insets/inset.h"
2052 2003-09-05 Angus Leeming <leeming@lyx.org>
2054 * *.C: strip out redundant #includes. (193 in total.)
2056 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2058 * insets/insetbibtex.[Ch]:
2059 * insets/insetcommand.h:
2060 * insets/insetfloatlist.[Ch]:
2061 * insets/insetinclude.[Ch]:
2062 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2063 of insets like bibtex, include, toc and floatlist to the visible
2064 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2065 up the dialogs. Cursor has to be in front of the inset (i.e.
2066 start of row) for this to function.
2068 2003-09-04 Angus Leeming <leeming@lyx.org>
2070 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2071 structure outside of the Format struct. Format::preambleName refers to
2072 an item in the map of all preamble snippets.
2073 Make use of the new Debug::EXTERNAL flag.
2075 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2076 (validate): Small change due to the changed storage of preamble
2079 2003-09-04 Angus Leeming <leeming@lyx.org>
2081 * insetgraphics.C: #include "support/os.h"
2083 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2084 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2085 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2087 * insetcollapsable.h:
2089 * insetnote.C: move #include "funcrequest.h" out of the header file.
2091 2003-09-03 Angus Leeming <leeming@lyx.org>
2093 * insetexternal.C (updateExternal):
2094 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2097 2003-09-03 Angus Leeming <leeming@lyx.org>
2099 * insetexternal.C: don't bring namespace lyx::support into the global
2102 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2104 * insetbranch.C: Add Branch: to label
2106 2003-09-02 John Levon <levon@movementarian.org>
2109 * insettext.C: remove cursor.i[xy]()
2111 2003-08-28 Angus Leeming <leeming@lyx.org>
2113 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2114 "sh ", enabling the conversion to be carried out even if the script
2117 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * most files: change to use const Buffer refs
2121 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2123 * insetfootlike.C: whitespace.
2125 2003-08-26 John Levon <levon@movementarian.org>
2129 * insetindex.h: remove remaining mentions of needFullRow()
2131 2003-08-26 André Pönitz <poenitz@gmx.net>
2137 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2139 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2141 * insetbranch.C: Small fix to prevent a crash on loading.
2143 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2148 * insetcollapsable.h:
2150 * insetfloatlist.[Ch]:
2151 * insetfootlike.[Ch]:
2152 * insetinclude.[Ch]:
2158 * insettheorem.[Ch]:
2159 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2160 altogether, putting the logic in metrics/draw in the insets.=20
2161 Draws short single row insets with more or less realistic metrics.
2163 2003-08-19 André Pönitz <poenitz@gmx.net>
2165 * insettext.C: use new RowPainter interface
2167 2003-08-18 John Levon <levon@movementarian.org>
2169 * insetref.C: require amsmath for eqref
2171 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2175 * insetbranch.[Ch]: implements the 'branch inset'
2176 idea. This allows the output of various versions of a document
2177 from a single source version, selectively outputing or suppressing
2178 output of parts of the text.
2179 This implementation contains a 'branch list editor' in a separate
2180 tab of the document settings dialog. Branches are user definable
2181 and have a "display colour" to distinguish them on-screen.
2183 ColorHandler was somewhat cleaned up.
2184 (1) make possible a dynamically growing LColor list by allowing
2185 the graphic context cache to grow along (vector);
2186 (2) eliminate an IMHO unnecessary step in colour allocation.
2188 2003-08-15 André Pönitz <poenitz@gmx.net>
2190 * insettext.[Ch]: adjust after rowlist split
2192 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2194 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2195 rename valign-center to valign-middle;
2196 rename VALIGN_CENTER to VALIGN_MIDDLE
2198 2003-08-11 André Pönitz <poenitz@gmx.net>
2200 * inset.h: remove resizeLyXText
2203 * insetcollapsable.[Ch]:
2205 * insettabular.[Ch]: adjust
2207 * insettext.[Ch]: remove saveLyXTextState,
2208 restoreLyXTextStat, sstate, reinitLyXText
2210 2003-08-07 André Pönitz <poenitz@gmx.net>
2212 * inset.[Ch]: move non-crucial functions out-of-line
2214 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2215 remove duplicated code.
2217 2003-08-05 André Pönitz <poenitz@gmx.net>
2220 * insetcollapsable.[Ch]:
2230 * insettabular.[Ch]:
2233 * updatableinset.[Ch]: rip out "deep update"
2235 * insettext.C (localDispatch): merge cases with default branch
2237 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2239 * insettabular.[Ch] (updateLocal): simplify logic
2241 2003-08-04 André Pönitz <poenitz@gmx.net>
2243 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2244 is 'FULL' all the time.
2246 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2248 * insetert.C (get_new_label): only add ... to the (closed) label
2249 when the string has been shortened
2251 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2253 * Always use std::endl with lyxerr
2255 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2257 * insetnote.C: update \author list
2259 2003-07-31 André Pönitz <poenitz@gmx.net>
2261 * insetcollapsable.h:
2262 * insettabular.[Ch]:
2263 * insettext.[Ch]: remove toggleSelection
2265 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2267 (with help from Juergen Spitzmueller)
2268 * insetnote.C: add add i18n support. Use Prefs-definable
2269 colours for Comment and Greyedout.
2271 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2273 * insetcollapsable.[Ch]:
2275 * insetert.C: factor out the detection of clicking on the inset
2276 button as 'hitButton'. John Levon contributed.
2278 2003-07-30 André Pönitz <poenitz@gmx.net>
2280 * insetcollapsable.C:
2282 * insettabular.C: parantheses, localize vars etc.
2284 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2286 * insetnote.C: Implement a newenvironment in preamble for
2287 greyedout. Patch provided by Jürgen Spitzmüller.
2289 2003-07-29 Angus Leeming <leeming@lyx.org>
2291 * insetcommand.C (localDispatch): default to
2292 InsetOld::localDispatch.
2294 * insetbibitem.C (localDispatch):
2295 * insetbibtex.C (localDispatch): remove call to
2296 ChangeCitationsIfUnique.
2298 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2300 * insetexternal.C (read): use pushpophelper.
2302 2003-07-28 José Matos <jamatos@lyx.org>
2304 * insetext.C (read): \end_document replaces \the_end.
2306 2003-07-28 José Matos <jamatos@fep.up.pt>
2308 * insetert.C (write): \layout -> \begin_layout.
2309 Add missing \end_layout.
2311 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2313 * insetquotes.C: document a bit the format
2315 * insettabular.C (write): remove extra space
2317 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2318 * insetnote.C: Umpf. Hope I *now* get it right :-(
2320 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2321 *insetnote.C: did the right fix to greyedout: \color
2322 instead of \textcolor.
2324 2003-07-28 Angus Leeming <leeming@lyx.org>
2326 * insetbibtex.h: remove extraneous forward declaration.
2329 * insetbibtex.h: Also remove long-dead Holder member class
2332 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2334 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2337 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * insetwrap.C (addToToc): adjust for lyx::toc
2341 * insetfloatlist.C (ascii): adjust for lyx::toc
2343 * insetfloat.C (addToToc): adjust for lyx::toc
2345 2003-07-27 José Matos <jamatos@fep.up.pt>
2347 * insetnote.h (linuxdoc,docbook): update support.
2349 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * insetfloat.C (wide): add a space to label, for consistency
2353 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * insettext.C (nextChange): adjust for lyx::find
2356 (searchForward): ditto
2357 (searchBackward): ditto
2359 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2361 * insetgraphicsParams.C:
2362 * insetexternal.C: declare extern displayTranslator
2365 * renderers.C: add #include "support/LAssert.h"
2367 2003-07-27 José Matos <jamatos@fep.up.pt>
2369 * insetfloat.[Ch] (linuxdoc):
2370 * insetgraphics.C (linuxdoc):
2371 * insettabular.C (linuxdoc):
2372 * insettext.[Ch] (linuxdoc): add support for tables and figures
2375 2003-07-27 José Matos <jamatos@fep.up.pt>
2377 * insetinclude (latex): comply with makeLaTeXFile argument change.
2379 2003-07-26 Asger Alstrup <alstrup@local>
2381 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2382 the undo crashes. We'll see what problems other places this will
2385 2003-07-26 Angus Leeming <leeming@lyx.org>
2387 * insetgraphics.C: remove unused declaration of system_tempdir.
2389 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2391 * rename Inset to InsetOld
2393 * all inset files (clone): return a auto_ptr<InsetBase>
2395 2003-07-23 Angus Leeming <leeming@lyx.org>
2397 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2399 2003-07-23 Angus Leeming <leeming@lyx.org>
2401 * mailinset.[Ch] (inset2string):
2402 * insetcommand.[Ch] (inset2string):
2403 * insetert.[Ch] (inset2string):
2404 * insetexternal.[Ch] (inset2string):
2405 * insetfloat.[Ch] (inset2string):
2406 * insetgraphics.[Ch] (inset2string):
2407 * insetinclude.[Ch] (inset2string):
2408 * insetminipage.[Ch] (inset2string):
2409 * insetnote.[Ch] (inset2string):
2410 * insettabular.[Ch] (inset2string):
2411 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2413 * insetexternal.[Ch]:
2414 * insetgraphics.[Ch]: get rid of the view() function. Associated
2415 changes to the mailers' string2params and params2string functions.
2417 2003-07-23 Angus Leeming <leeming@lyx.org>
2419 * insetexternal.[Ch]: store the external file name in a FileName
2420 member variable rather than a string + associated changes.
2422 2003-07-21 Angus Leeming <leeming@lyx.org>
2424 * insetgraphicsParams.[Ch]: store the graphics file name in
2425 a FileName member variable rather than a string.
2427 * insetgraphics.[Ch]:
2428 * insetgraphicsParams.[Ch]: Associated changes.
2430 2003-07-21 Angus Leeming <leeming@lyx.org>
2432 * insetgraphics.[Ch] (string2params, params2string): passed a
2433 buffer_path argument.
2436 2003-07-21 Angus Leeming <leeming@lyx.org>
2439 * insetgraphicsParams.[Ch]:
2441 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2443 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2445 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2447 2003-07-18 André Pönitz <poenitz@gmx.net>
2450 * insetminipage.[Ch]:
2451 * insettabular.[Ch]:
2454 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2456 2003-07-18 André Pönitz <poenitz@gmx.net>
2460 * insetcollapsable.C:
2464 * insetgraphics.[Ch]:
2465 * insetlatexaccent.[Ch]:
2470 * insetspecialchar.C:
2471 * insettabular.[Ch]:
2473 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2475 2003-07-17 André Pönitz <poenitz@gmx.net>
2477 * insetcollapsable.C:
2479 * insettext.C: don't call Inset::update() anymore
2482 * insettabular.[Ch]: remove unneeded in_update_ members
2484 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2486 2003-07-16 André Pönitz <poenitz@gmx.net>
2488 * insettext.C (selectAll): remove
2490 2003-07-16 John Levon <levon@movementarian.org>
2493 * insetnote.C: implement showInsetDialog()
2495 2003-07-15 André Pönitz <poenitz@gmx.net>
2498 * insettext.C: refresh_status tristate -> need_update bool
2500 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2502 * insettext.C: adjust call to LyXText::init
2504 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2506 * insettext.C: use bufferview_funcs->replaceSelection()
2507 to delete selections in some cases (bugs 441, 673, 702, 954).
2509 2003-07-14 André Pönitz <poenitz@gmx.net>
2511 * insettext.C (draw): use slimmed down rowpainter interface
2513 2003-07-14 André Pönitz <poenitz@gmx.net>
2515 * insetcollapsable.C:
2517 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2518 remove unused BufferView * argument
2520 2003-07-14 André Pönitz <poenitz@gmx.net>
2522 * insettext.[Ch]: used cached metrics a bit more
2524 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2526 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2528 2003-07-10 André Pönitz <poenitz@gmx.net>
2531 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2533 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * introduce namespace lyx::graphics
2537 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * introduce namespace lyx::support
2541 2003-06-30 André Pönitz <poenitz@gmx.net>
2543 * insetcite.C (localDispatch): fix case of missing return value
2545 * insetcite.C (ascii): remove unneeded temporary
2547 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * insetspace.h: fix \file
2551 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2552 * insetinclude.C (fillWithBibKeys): ditto
2554 * insetbibitem.C: fix type const order
2556 * inset.C (getLyXText): add varname for arg
2558 * ExternalTemplate.h: fix type const order
2560 2003-06-27 André Pönitz <poenitz@gmx.net>
2562 * insettext.C: take care of removed LyXCursor::row_ member
2564 * insettext.[Ch]: use new TextCursor struct for sstate
2566 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2568 * inseterror.[Ch]: removed
2570 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2572 * insetinclude.C (docbook): use parseError instead of sgmlError
2574 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2576 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2577 of BufferList::loadLyXFile
2579 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * insettext.C (update): simplify
2582 (updateLocal): remove commented code
2583 (insetUnlock): simplify
2584 (lockInset): simplify
2585 (updateInsetInInset): simplify
2586 (localDispatch): simplify
2588 (resizeLyXText): simplify
2589 (collapseParagraphs): simplify
2591 * insetert.C (get_new_label): simplify
2593 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2595 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2596 pasteSelection with index
2598 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2600 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2602 2003-06-16 André Pönitz <poenitz@gmx.net>
2604 * insetbase.h: new virtual base function clone()
2606 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2607 Inset * clone() -> InsetBase * clone()
2609 2003-06-13 André Pönitz <poenitz@gmx.net>
2611 * insettabular.[Ch]: make tabular a proper member
2613 2003-06-12 André Pönitz <poenitz@gmx.net>
2615 * insettabular.[Ch]: some renaming plus whitespace
2617 2003-06-11 Angus Leeming <leeming@lyx.org>
2619 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2622 * insetbutton.[Ch]: removed.
2623 * graphicinset.[Ch]: renamed as renderers.[Ch].
2625 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2626 Create a new class ButtonRenderer using the InsetButton::metrics() and
2628 Derive both from a common RenderedInset base class.
2630 * insetcommand.[Ch]:
2631 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2632 Give it a ButtonRenderer member variable. Use it.
2633 Give the classes working copy c-tors.
2634 No longer derive from boost::noncopyable.
2636 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2637 display its contents as a button or as a graphic.
2639 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2642 2003-06-11 Angus Leeming <leeming@lyx.org>
2644 * insetcite.C (localDispatch): reformat.
2646 * insetref.C (localDispatch): enable dialog to be lauched.
2648 2003-06-11 John Levon <levon@movementarian.org>
2650 * insettabular.C: correctly mark all cells as erased
2652 2003-06-11 Angus Leeming <leeming@lyx.org>
2654 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2655 ExternalTemplate but its name, templatename. This means that a file
2656 containing a reference to an External Template not installed on the
2657 current machine will be saved retaining this info rather than inserting
2658 the first "valid" template from the list of templates.
2660 As a by product, the visual statement that the Template is missing is
2663 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2665 * insettext.C (appendParagraphs): remove some commented code.
2667 2003-06-10 Angus Leeming <leeming@lyx.org>
2669 * graphicinset.[Ch] (view): removed the publicly accessible
2670 function to set the cache.
2672 * insetexternal.[Ch]: move tempname_ into the Params struct.
2673 (Params d-tor): new function, to clean-up this temp file.
2674 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2676 (editExternal, doSubstitution): move out of class.
2678 2003-06-10 Angus Leeming <leeming@lyx.org>
2680 * graphicinset.[Ch] (params): removed.
2681 * graphicinset.h (operator=): declared private but not defined.
2682 (statusMessage): made private.
2684 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2686 2003-06-07 John Levon <levon@movementarian.org>
2688 * insetert.C (latex): make a newline mean just that not
2691 2003-06-07 José Matos <jamatos@fep.up.pt>
2693 * insethfill.[Ch] (linuxdoc, docbook): implement output
2694 * insetspace.C (linuxdoc, docbook): remove coments as the code
2697 2003-06-06 José Matos <jamatos@fep.up.pt>
2699 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2701 2003-06-06 André Pönitz <poenitz@gmx.net>
2703 * insetwrap.[Ch]: code compactification
2705 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2707 * mailinset.C (updateDialog): use Dialogs::visible
2709 2003-06-04 Angus Leeming <leeming@lyx.org>
2711 * graphicinset.C (draw): add a comment for the #if 0 block.
2713 * insetexternal.h: remove Params::parameters variable.
2715 * insetexternal.C (read, write): rewrite to output new ExternalInset
2716 format and read it back making full use of LyXLex.
2718 2003-06-04 André Pönitz <poenitz@gmx.net>
2720 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2722 2003-06-04 John Levon <levon@movementarian.org>
2724 * insettabular.C: back out tall table speed up. It was broken
2726 2003-06-03 Angus Leeming <leeming@lyx.org>
2728 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2729 Remove ViewCommand and UpdateCommand.
2731 * graphicinset.C (update): bug fix. Set the params before calling the
2734 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2735 the BufferView cache to enable the InsetExternal::editCommand to
2736 be invoked from the frontends. Would not be needed if this were
2737 dispatched properly.
2738 (old_ascent_): variable removed.
2740 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2741 do any necessary conversions of external material. Also use the
2742 new GraphicsInset to display the inset within LyX.
2744 2003-06-03 Angus Leeming <leeming@lyx.org>
2746 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2747 and move it somewhere where InsetExternal can use it too.
2749 * Makefile.am: add the new files.
2751 * insetgraphics.[Ch]: make use of the new GraphicInset.
2753 2003-06-03 John Levon <levon@movementarian.org>
2756 * insetbibitem.[Ch]:
2759 * insetcommand.[Ch]:
2763 * insetexternal.[Ch]:
2767 * insetgraphics.[Ch]:
2769 * insetinclude.[Ch]:
2772 * insetlatexaccent.[Ch]:
2773 * insetmarginal.[Ch]:
2774 * insetminipage.[Ch]:
2781 * insetspecialchar.[Ch]:
2782 * insettabular.[Ch]:
2784 * insetthereom.[Ch]:
2787 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2789 * insetgraphics.[Ch]:
2790 * insetgraphicsParams.[Ch]: always store an absolute
2793 2003-06-02 André Pönitz <poenitz@gmx.net>
2797 * insetlatexaccent.C: remove duplicated call to metrics()
2799 2003-06-02 John Levon <levon@movementarian.org>
2801 * insettabular.C: fix resize of column width
2803 2003-06-02 John Levon <levon@movementarian.org>
2808 * insetparent.C: remove insetparent
2810 2003-06-02 André Pönitz <poenitz@gmx.net>
2817 * insetcollapsable.[Ch]:
2821 * insetgraphics.[Ch]:
2822 * insetinclude.[Ch]:
2823 * insetlatexaccent.[Ch]:
2824 * insetminipage.[Ch]:
2825 * insetnewline.[Ch]:
2828 * insetspecialchar.[Ch]:
2829 * insettabular.[Ch]:
2830 * insettext.[Ch]: unify first drawing phase
2833 * insetbase.h: move validate() to the base
2835 2003-05-31 Angus Leeming <leeming@lyx.org>
2837 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2839 2003-05-30 André Pönitz <poenitz@gmx.net>
2844 * insetcaption.[Ch]:
2845 * insetcollapsable.[Ch]:
2848 * insetgraphics.[Ch]:
2849 * insetinclude.[Ch]:
2850 * insetlatexaccent.[Ch]:
2851 * insetnewline.[Ch]:
2854 * insetspecialchar.[Ch]:
2855 * insettabular.[Ch]:
2857 * updatableinset.[Ch]: unify second drawing phase
2859 2003-05-30 John Levon <levon@movementarian.org>
2861 * insetgraphics.C: fix a bformat
2863 2003-05-29 John Levon <levon@movementarian.org>
2865 * insettabular.C: remove unused bufferOwner()
2867 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * insettext.C (lockInsetInInset): adjust
2870 (getLabelList): use const_iterator, adjust
2871 (getInsetFromID): use const_iterator, adjust
2872 (addPreview): use const_iterator, adjust
2874 * insetwrap.C (clone): remove const_cast
2876 * insetnote.C (clone): remove const_cast
2878 * insetminipage.C (clone): remove const_cast
2880 * insetmarginal.C (clone): remove const_cast
2882 * insetfoot.C (clone): remove const_cast
2884 * insetfloat.C (clone): remove const_cast
2886 * insetert.C (clone): remove const_cast
2888 * delete commented same_id functions from a lot of files.
2890 2003-05-28 John Levon <levon@movementarian.org>
2896 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2898 * insetminipage.C: fix metrics (bug 1144)
2900 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * insettext.C (saveLyXTextState): adjust
2903 (restoreLyXTextState): adjust
2906 (unlockInsetInInset): adjust
2907 (localDispatch): adjust
2908 (getLyXText): adjust
2910 * insettabular.C (insertAsciiString): adjust
2912 2003-05-27 André Pönitz <poenitz@gmx.net>
2915 * insetcollapsable.C:
2918 * insetlatexaccent.C:
2923 * insetspecialchar.C:
2925 * insettext.C: dim.w -> dim.wid
2927 2003-05-26 John Levon <levon@movementarian.org>
2929 * insettabular.C: avoid drawing all of a long table
2930 if it's not needed. A big speedup
2932 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * remove same_id from function signatures, adjust
2936 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * insettext.C (InsetText): adjust
2940 (setParagraphData): separate same_id cases, adjust
2941 (appendParagraphs): adjust
2942 (appendParagraphs): adjust
2944 2003-05-23 André Pönitz <poenitz@gmx.net>
2946 * insetbutton.h: whitespace
2948 * insettabular.C: more compact code
2950 * updatableinset.C: remove const_cast
2953 2003-05-23 Angus Leeming <leeming@lyx.org>
2955 * insetexternal.C (write): check how many lines are output.
2956 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2957 if the template has defined it.
2959 2003-05-23 Angus Leeming <leeming@lyx.org>
2961 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2963 2003-05-23 Angus Leeming <leeming@lyx.org>
2965 * insetfoot.C (latex):
2966 * inseturl.C (latex): rename fragile as moving_arg.
2968 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * inseterror.C (localDispatch): comment out unused var.
2972 2003-05-22 Angus Leeming <leeming@lyx.org>
2974 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2975 passed through the LatexRunParams arg.
2977 2003-05-22 Angus Leeming <leeming@lyx.org>
2979 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2980 through the LatexRunParams arg.
2982 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2983 arg rather than through a global var.
2985 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * insetspecialchar.C (dimension): use a string.
2989 2003-05-22 Angus Leeming <leeming@lyx.org>
2991 * insetbibtex.C (latex):
2992 * insetgraphics.C (latex):
2993 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2994 runparams rather than from the buffer itself.
2996 2003-05-22 Angus Leeming <leeming@lyx.org>
2998 * inset*.[Ch] (latex):
2999 passed a LatexRunParams parameter.
3001 * insetgraphics.C (latex): actually use it ;-)
3003 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
3005 * insetfloat.C (addToToc): trivial compile fix
3007 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * insettext.[Ch] (paragraph): delete unused function
3011 * insetfloat.C (addToToc): parlist simplfication
3013 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3015 * insetspace.[Ch]: added (new space insets)
3017 * inset.h: handle new space insets
3019 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * insetfloat.C (addToToc): adjust
3023 2003-05-21 André Pönitz <poenitz@gmx.net>
3025 * insettext.[Ch]: fix drawing bug introduced earlier
3027 2003-05-19 André Pönitz <poenitz@gmx.net>
3029 * insetspecialchar.C: fix bug introduced yesterday
3031 2003-05-19 André Pönitz <poenitz@gmx.net>
3035 * insetcollapsable.[Ch]:
3039 * insetgraphics.[Ch]:
3040 * insetgraphicsParams.[Ch]:
3041 * insetlatexaccent.[Ch]:
3042 * insetminipage.[Ch]:
3043 * insetnewline.[Ch]:
3045 * insetspecialchar.[Ch]:
3046 * insettabular.[Ch]:
3047 * insettext.[Ch]: dimensions() instead of ascend/descend/width
3049 2003-05-19 André Pönitz <poenitz@gmx.net>
3052 * insettext.C: more insetenv
3054 2003-05-16 André Pönitz <poenitz@gmx.net>
3057 * insetminimpage.[Ch]:
3058 * insetcollapsable.[Ch]: fix #832
3060 2003-05-16 André Pönitz <poenitz@gmx.net>
3063 * insetbibitem.[Ch]:
3067 * insetcollapsable.[Ch]:
3068 * insetcommand.[Ch]:
3071 * insetexternal.[Ch]:
3072 * insetfloatlist.[Ch]:
3073 * insetgraphics.[Ch]:
3074 * insetinclude.[Ch]:
3077 * insetlatexaccent.[Ch]:
3080 * insettabular.[Ch]:
3084 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3086 2003-05-13 André Pönitz <poenitz@gmx.net>
3089 * insetcollapsable.C:
3093 * insetwrap.C: tostr from own header
3105 * insetwrap.C: STRCONV
3108 2003-05-12 André Pönitz <poenitz@gmx.net>
3120 * insetwwrap.C: boost::format -> bformat all over the place
3122 2003-05-05 André Pönitz <poenitz@gmx.net>
3124 * insettext.h: add missing #include <map>
3126 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * insettext.C (InsetText): parlist cleanup
3131 (insetUnlock): ditto
3133 (lockInsetInInset): ditto
3137 (searchBackward): ditto
3138 (collapseParagraphs): ditto
3140 2003-05-06 John Levon <levon@movementarian.org>
3142 * insetcaption.C: don't cast wrap inset to InsetFloat
3145 * insetfloat.C: remove unneeded type() function
3147 2003-05-05 André Pönitz <poenitz@gmx.net>
3151 * insettabular.[Ch]:
3152 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3153 replace getFirstParagraph() by getParagraphs()
3155 2003-05-03 John Levon <levon@movementarian.org>
3157 * insetcollapsable.h:
3158 * insetcollapsable.C:
3164 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3165 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3166 getCursor(). Remove explicit cursor hides.
3168 2003-05-02 André Pönitz <poenitz@gmx.net>
3170 * insettext.C: remove unneeded &*
3172 2003-04-30 John Levon <levon@movementarian.org>
3174 * insettabular.C: fix edit message
3176 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * insettext.C (setFont): do not convert iterator -> pointer
3180 * insettabular.C (localDispatch): do not convert iterator -> pointer
3182 (tabularFeatures): ditto
3184 2003-04-29 André Pönitz <poenitz@gmx.net>
3186 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3188 2003-04-28 André Pönitz <poenitz@gmx.net>
3190 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3193 2003-04-25 André Pönitz <poenitz@gmx.net>
3195 * insetenv.C: derive from InsetText instead of InsetCollapsable
3197 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * insetexternal.C (string2params): dont do anything if the string
3201 * insetgraphics.C (string2params): ditto
3202 * insetcommand.C (string2params): ditto
3203 * insetert.C (string2params): ditto
3204 * insetfloat.C (string2params): ditto
3205 * insetinclude.C (string2params): ditto
3206 * insetminipage.C (string2params): ditto
3207 * insettabular.C (string2params): ditto
3208 * insetwrap.C (string2params): ditto
3210 2003-04-24 André Pönitz <poenitz@gmx.net>
3212 * insetref.C: support for eqref
3214 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * insetert.C (read): use ParagraphList::iterator.
3218 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * insetquotes.C (latex): comment some code and add warnings.
3222 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3224 * insetexternal.C (localDispatch): added a missing DISPATCHED
3226 2003-04-12 John Levon <levon@movementarian.org>
3228 * insetwrap.C (addToToc): fix a crash, conversion
3229 from while to for loop forgot to remove the explicit
3232 2003-04-10 John Levon <levon@movementarian.org>
3234 * insettabular.C (tabularFeature): make sure
3235 to update the dialog when we change something
3238 (getStatus): don't disable some lfuns (bug 939)
3240 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * insettext.C (saveLyXTextState): adjust
3243 (localDispatch): adjust
3249 * insettabular.C (localDispatch): adjust
3251 (tabularFeatures): adjust
3253 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3255 * insettabular.C (searchForward,searchBackward): fix bug 782
3257 2003-04-07 John Levon <levon@movementarian.org>
3260 * insettext.C: clear status message on inset exit
3262 2003-04-03 John Levon <levon@movementarian.org>
3264 * insetcommand.C: return dispatched on DIALOG_UPDATE
3266 2003-04-02 John Levon <levon@movementarian.org>
3268 * insettabular.C: tab lfuns renamed
3270 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * insettext.C (update): move towards ParagraphList
3273 (updateLocal): ditto
3275 (insetUnlock): ditto
3277 (lockInsetInInset): ditto
3278 (updateInsetInInset): ditto
3279 (localDispatch): ditto
3282 (resizeLyXText): ditto
3283 (searchBackward): ditto
3284 (collapseParagraphs): ditto
3287 * insetwrap.C (InsetWrap): adjust
3288 (addToToc): adjust and rewrite loop
3290 * insettext.[Ch] (paragraph): delete function
3292 * insettabular.C (moveNextCell): adjust
3293 (movePrevCell): adjust
3294 (insertAsciiString): adjust
3296 * insetfloat.C (InsetFloat): adjust
3299 * insetert.C (InsetERT): adjust
3300 (write): adjust, and rewrite loop
3301 (latex): adjust, and rewrite loop
3302 (linuxdoc): adjust, and rewrite loop
3303 (docbook): adjust, and rewrite loop
3304 (localDispatch): adjust
3305 (get_new_label): adjust
3307 2003-04-01 John Levon <levon@movementarian.org>
3309 From Alfredo Braunstein
3312 * insetbutton.C: add localDispatch()
3314 * insetcommand.C: return DISPATCHED when edit() called
3316 * insettext.C: fix bug 967
3318 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * insettext.C: adjust
3322 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * insettext.C (draw): adjust
3325 (crow): return a RowList::iterator not a Row*
3327 * insetminipage.C (localDispatch): adjust
3329 * insetert.C (localDispatch): adjust
3331 2003-03-31 John Levon <levon@movementarian.org>
3334 * insetgraphicsParams.C: use_gui moved to lyx_gui
3336 2003-03-31 John Levon <levon@movementarian.org>
3338 * insettext.C: Alert fix
3340 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * insettext.C (ascent): adjust for RowList
3345 (getLyXText): adjust
3346 (toggleSelection): adjust
3348 * insetminipage.C (localDispatch): adjust for RowList
3350 * insetert.C (localDispatch): adjust for RowList
3351 (getMaxWidth): adjust for RowList
3353 2003-03-29 John Levon <levon@movementarian.org>
3355 * insetert.C: Alert cleanup
3357 2003-03-29 John Levon <levon@movementarian.org>
3359 * insettabular.C: Alert fix
3361 2003-03-28 John Levon <levon@movementarian.org>
3363 * insetfloat.C: reset label on INSET_MODIFY
3365 2003-03-28 John Levon <levon@movementarian.org>
3367 * insetgraphicsParams.C: read subcaptionText as a whole line
3370 2003-03-28 John Levon <levon@movementarian.org>
3372 * insettext.C: remove unused prototypes
3374 2003-03-25 Angus Leeming <leeming@lyx.org>
3376 * insetbibitem.C (localDispatch): repaint the view after modifying
3377 a bibitem inset in case the maximum InsetBibitem width has changed.
3379 2003-03-25 John Levon <levon@movementarian.org>
3382 * insettabular.C: LyXText renamings
3384 2003-03-24 John Levon <levon@movementarian.org>
3386 * insettext.C: remove some dead code. Fix bug 972 and
3387 related by posting a repaint in updateLocal(), and making
3388 the SEL functions set SELECTION.
3390 2003-03-22 John Levon <levon@movementarian.org>
3393 * inset.C: remove no-longer-needed topx_set
3395 * insetcollapsable.h:
3396 * insetcollapsable.C: remove dead code
3399 * insetert.C: rebreak the rows when a possible
3400 change in size is made, and reset the cursor
3403 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3405 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3406 topx_set. Fix drawing errors for clearInset(). Remove
3407 some unnecessary uses of topx, which should die.
3409 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3410 is no longer needed. Replace it with an ugly hack.
3412 2003-03-20 John Levon <levon@movementarian.org>
3415 * insetcollapsable.h:
3416 * insetcollapsable.C:
3424 * insettext.C: remove spurious font parameter
3425 from update(). Fix drawing of ERT insets inside
3426 insets (bug 966). Remove unused mark_dirty from
3427 tabular's updateLocal()
3429 2003-03-19 John Levon <levon@movementarian.org>
3438 * insetwrap.C: remove unused getter/setters
3440 2003-03-19 John Levon <levon@movementarian.org>
3442 * several files: bv->updateInset() doesn't take
3443 a bool mark_dirty any more
3445 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * adjust for BufferView* arg removal from lyxtext.
3449 2003-03-17 John Levon <levon@movementarian.org>
3451 * most files: remove the "cleared" parameter
3452 to draw in favour of always clearing. Associated
3455 2003-03-16 John Levon <levon@movementarian.org>
3457 * insettext.C: remove unused s.refresh
3459 2003-03-13 Angus Leeming <leeming@lyx.org>
3461 * insettext.C (edit): replace Dialogs::updateParagraph with
3462 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3464 2003-03-13 André Pönitz <poenitz@gmx.net>
3466 * Makefile.am: insert insetenv
3468 * insethenv.[Ch]: new files, currently inactive
3470 2003-03-12 John Levon <levon@movementarian.org>
3480 * insettext.C: use new insetnewline
3482 2003-03-12 John Levon <levon@movementarian.org>
3484 * insettext.C: readToken became readParagraph
3486 2003-03-12 John Levon <levon@movementarian.org>
3488 * insettext.C: use parlist iterator for reading contents
3490 2003-03-12 John Levon <levon@movementarian.org>
3492 * insettext.C: name change to readToken()
3494 2003-03-11 André Pönitz <poenitz@gmx.net>
3496 * Makefile.am: insert insethfill
3498 * insethfill.[Ch]: new files
3500 2003-03-10 Angus Leeming <leeming@lyx.org>
3502 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3504 (hideDialog): calls the new static Dialogs::hide() method.
3506 * insetbibitem.C (edit):
3507 * insetbibtex.C (edit):
3508 * insetcite.C (edit):
3509 * insetcommand.C (localDispatch):
3510 * inseterror.C (d-tor):
3511 * insetert.C (showInsetDialog):
3512 * insetexternal.C (localDispatch, edit):
3513 * insetfloat.C (localDispatch, showInsetDialog):
3514 * insetfloatlist.C (edit):
3515 * insetgraphics.C (localDispatch, edit):
3516 * insetinclude.C (localDispatch, edit):
3517 * insetindex.C (edit):
3518 * insetlabel.C (edit):
3519 * insetminipage.C (localDispatch, showInsetDialog):
3520 * insetref.C (edit):
3521 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3522 resetPos, showInsetDialog, openLayoutDialog):
3523 * insettoc.C (edit):
3524 * inseturl.C (edit):
3525 * insetwrap.C (localDispatch, showInsetDialog):
3526 changes due to the changed MailInset interface.
3528 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3530 * insetfloat.h: Set default placement to an empty string.
3532 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3534 * insettext.C (latex): adjust call to latexParagraphs.
3536 2003-03-10 Angus Leeming <leeming@lyx.org>
3538 * mailinset.C: warn the user if the BufferView has not been cached.
3540 2003-03-10 Angus Leeming <leeming@lyx.org>
3542 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3544 * insetcommand.h (inset):
3545 * insetert.h (inset):
3546 * insetexternal.h (inset):
3547 * insetfloat.h (inset):
3548 * insetgraphics.h (inset):
3549 * insetinclude.h (inset):
3550 * insetminipage.h (inset):
3551 * insettabular.h (inset):
3552 * insetwrap.h (inset):
3553 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3555 2003-03-10 Angus Leeming <leeming@lyx.org>
3557 * insetcommand.C (string2params):
3558 * insetexternal.C (string2params):
3559 * insetfloat.C (string2params):
3560 * insetgraphics.C (string2params):
3561 * insetinclude.C (string2params):
3562 * insetminipage.C (string2params):
3563 * insettabular.C (string2params):
3564 * insetwrap.C (string2params): cure warning message about missing
3567 2003-03-09 Angus Leeming <leeming@lyx.org>
3569 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3570 it to communicate with the frontend dialogs.
3572 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3573 contents of this inset!
3575 2003-03-07 Angus Leeming <leeming@lyx.org>
3577 * inseterror.C (localDispatch): new method; calls edit() on
3580 2003-03-07 Angus Leeming <leeming@lyx.org>
3582 * insetbibitem.C (localDispatch):
3583 * insetbibtex.C (localDispatch):
3584 * insetlabel.C (localDispatch):
3585 rewrite as a switch.
3587 2003-03-07 Angus Leeming <leeming@lyx.org>
3589 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3590 it to communicate with the frontend dialogs.
3592 2003-03-07 Angus Leeming <leeming@lyx.org>
3594 * insetexternal.C: remove operator== and operator!= for
3595 InsetExternal::Params. They were used only by the old controller
3598 2003-03-07 Angus Leeming <leeming@lyx.org>
3600 * insetcommand.C (localDispatch):
3601 * insetexternal.C (localDispatch):
3602 * insetfloat.C (localDispatch):
3603 * insetinclude.C (localDispatch):
3604 * insetminipage.C (localDispatch):
3605 * insetwrap.C (localDispatch):
3606 add LFUN_INSET_DIALOG_UPDATE to the switch.
3608 2003-03-07 Angus Leeming <leeming@lyx.org>
3610 * insetcommand.C (string2params):
3611 * insetexternal.C (string2params):
3612 * insetfloat.C (string2params):
3613 * insetinclude.C (string2params):
3614 * insetwrap.C (string2params): use LyXLeX more.
3617 * insetexternal.[Ch]:
3619 * insetinclude.[Ch]:
3620 * insetwrap.[Ch]: change Mailer::name_ to be static.
3622 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3623 it to communicate with the frontend dialogs.
3625 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3628 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3630 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * insettext.C (updateLocal): un-const function
3633 (updateLocal): adjust
3634 (collapseParagraphs): un-const function
3635 (collapseParagraphs): adjust
3637 2003-03-05 Angus Leeming <leeming@lyx.org>
3639 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3640 it to communicate with the frontend dialogs.
3642 2003-03-05 Angus Leeming <leeming@lyx.org>
3644 * insetcollapsable.C (draw): cache the BufferView.
3646 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3647 it to communicate with the frontend dialogs.
3649 2003-03-05 Angus Leeming <leeming@lyx.org>
3651 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3654 2003-03-05 Angus Leeming <leeming@lyx.org>
3656 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3658 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3659 it to communicate with the frontend dialogs.
3661 2003-03-05 Angus Leeming <leeming@lyx.org>
3663 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3664 it to communicate with the frontend dialogs.
3666 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3668 * insettext.C (collapseParagraphs): adjust
3669 (appendParagraphs): make it take a Buffer* instead of a
3670 BufferParams& as arg.
3671 (appendParagraphs): adjust
3673 2003-03-04 Angus Leeming <leeming@lyx.org>
3675 * insetbibitem.C (localDispatch):
3676 * insetbibtex.C (localDispatch):
3677 * insetcommand.C (localDispatch):
3678 * insetert.C (localDispatch):
3679 * insetlabel.C (localDispatch):
3680 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3682 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * insettext.C (latex): adjust for ParagraphList::iterator
3686 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * insetbutton.C (view): adjust for boost 1.30.0
3689 * insetcollapsable.C (view): ditto
3690 * insetgraphics.C (statusChanged): ditto
3692 * insettext.h: move paragraphs to be public.
3694 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * insetnote.[Ch] (InsetNote): remove unused constructor
3698 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3700 * insetgraphics.C: added include "format.h"
3702 2003-02-27 Angus Leeming <leeming@lyx.org>
3704 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3707 2003-02-27 Angus Leeming <leeming@lyx.org>
3709 * insetbibitem.C (localDispatch):
3710 * insetbibtex.C (localDispatch):
3713 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3715 2003-02-26 Angus Leeming <leeming@lyx.org>
3717 * insetbibitem.[Ch] (localDispatch):
3718 * insetbibtex.[Ch] (localDispatch):
3719 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3721 * insetcommand.C (localDispatch):
3722 act only on receipt of LFUN_XYZ_APPLY.
3724 * insetert.C (localDispatch): reformat.
3725 add LFUN_XYZ_APPLY to the switch.
3727 2003-02-26 John Levon <levon@movementarian.org>
3729 * insettext.C: use RowPainter
3731 * inset.h: make helpers take const *
3733 2003-02-26 Angus Leeming <leeming@lyx.org>
3735 * insetcommand.[Ch] (localDispatch): new method.
3737 2003-02-26 Angus Leeming <leeming@lyx.org>
3739 * insetinclude.C (draw): cache the BufferView* using cache not
3740 PreviewImpl::setView
3742 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3744 * insetgraphics.C (draw)
3745 * insetinclude.C (draw): Eliminate also the other argument (owner
3746 inset inset) in the call to PreviewImage::image
3748 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3750 * insetgraphics.C (draw)
3751 * insetinclude.C (draw): Eliminate Buferview argument in call to
3754 2003-02-25 John Levon <levon@movementarian.org>
3756 * insetgraphicsParams.h:
3757 * insetgraphics.C: don't start a load process if
3758 the inset is set to NoDisplay (bug #920)
3760 2003-02-22 John Levon <levon@movementarian.org>
3763 * insetwrap.C: TocItem changed API (bug 913)
3765 2003-02-21 Angus Leeming <leeming@lyx.org>
3767 * insetcollapsable.[Ch] (cache, edit):
3768 * insetbutton.[Ch] (cache, edit): new methods to cache the
3769 BufferView in the draw method.
3771 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3772 simplify comunication between InsetCommand-derived classes and
3775 * insetbibitem.[Ch]:
3779 * insetfloatlist.[Ch]:
3783 * inseturl.[Ch]: small changes to reflect the new interface to the
3786 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3787 other, similar classes.
3789 * Makefile.am: add new files.
3791 2003-02-21 Angus Leeming <leeming@lyx.org>
3793 * updatableinset.h (setView, view): remove.
3794 * inset.h (view, cache): to be replaced by these.
3796 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3799 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3802 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3804 2003-02-21 Allan Rae <rae@lyx.org>
3806 * insetinclude.C (loadIfNeeded): ensure loading also works when
3807 child document is under version control.
3809 2003-02-17 André Pönitz <poenitz@gmx.net>
3811 * insetbib.[Ch]: Adjust access to bibkeys
3813 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3815 * insetquotes.C (dispString): remove use of acute accent for "'"
3818 2003-02-14 John Levon <levon@movementarian.org>
3820 * insettabular.C: changed method names in tabular.C
3822 2003-02-14 John Levon <levon@movementarian.org>
3826 * insetcollapsable.h:
3827 * insetcollapsable.C:
3831 * insettext.C: remove unused getParFromID()
3833 2003-02-13 John Levon <levon@movementarian.org>
3836 * insettext.C: remove unused beginningofMainBody()
3838 2003-02-08 John Levon <levon@movementarian.org>
3842 * insetcollapsable.h:
3843 * insetcollapsable.C:
3848 add nextChange(). Make allowSpellcheck() const. Add markErased().
3850 * insetert.C: ignore deleted text
3852 * insettabular.C: make sure to keep change tracking working
3855 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3860 * insettext.C: Use error messages with identical spelling and
3863 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3865 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3867 2002-12-17 Juergen Vigna <jug@lyx.org>
3869 * insettext.C (localDispatch): hopefully fixed cursor up down
3870 movement on leaving other insets.
3872 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3874 * insettext.C: fix inconsistent usage of spaces, colons,
3875 capitalization, and the like.
3877 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3879 * insetgraphics.C (prepareFile): do not remove the extension of
3880 the file name if it is not the default extension for the given
3881 format (that is, in latex output, remove extension from foo.eps,
3882 but not from foo.epsi)
3884 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3886 * insettext.C (lfunMouseRelease): hackish solution to the "double
3889 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * insetfloat.C (addToToc): use the floats name not its type
3892 * insetwrap.C (addToToc): ditto
3894 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3896 * insetnote.C (init): make label font smaller
3898 2002-12-04 John Levon <levon@movementarian.org>
3900 * insetinclude.C: ressurect setting of command name
3902 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3904 * insetquotes.C (dispString): disambiguate insert call
3906 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * several files: ws changes
3910 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * insetquotes.C (dispString): use string::insert for prepending a
3915 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3917 * insetparent.C (getScreenLabel): use boost::format
3919 * insetgraphics.C (prepareFile): use boost::format
3922 * insetfloatlist.C (latex): use boost::format
3924 * insetcaption.C (draw): use boost::format
3926 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3928 * insettabular.C (tabularFeatures): Support for block alignment in
3929 fixed width columns.
3931 2002-11-20 Juergen Vigna <jug@sad.it>
3933 * insettabular.C (resetPos): temporary fix for endless loop in
3934 this function on a redraw.
3936 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * insettabular.C (copySelection): STRCONV
3940 * insetinclude.C (uniqueID): STRCONV
3941 (latexString): ditto
3943 * insetgraphics.C: put VersionNumber inside anon namespace
3944 (createLatexOptions): STRCONV
3946 * insetcommandparams.C: include config.h
3948 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3950 * insetgraphicsParams.C (Write): use lyx::float_equal.
3951 Write height data correctly.
3952 (Read): zero scale when reading height data.
3954 2002-10-30 John Levon <levon@movementarian.org>
3956 * insetfloat.C (addToTOC): recursively traverse all
3957 contents looking for captions (fix #568)
3959 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3961 * insetexternal.C (doSubstitution): do not try to replace
3962 environment variables, this is done when executing the command
3964 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3966 * insetexternal.C (doSubstitution): change order of substitution
3967 to work around ReplaceEnvironmentPath brokenness
3969 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3971 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3973 * insetgraphicsParams.C (init, Write): associated changes
3974 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3975 InsetGraphicsParams::scale.
3977 2002-10-21 John Levon <levon@movementarian.org>
3979 * inset.h: remove unused DISPATCH_RESULT
3981 * insettext.C: sgml open/close tag now in sgml namespace
3983 2002-10-21 Angus Leeming <leeming@lyx.org>
3985 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3986 file path subdir/fig.eps when pasting it into a buffer in a different
3989 2002-10-16 John Levon <levon@movementarian.org>
3991 * insetspecialchar.C: remove \\protected_separator parsing
3993 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3995 * insetquote.C: fix LaTeX output of quotation marks.
3997 2002-10-14 Juergen Vigna <jug@sad.it>
3999 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
4000 Backspace functions which confused the Undo handling.
4002 2002-10-09 Angus Leeming <leeming@lyx.org>
4004 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
4005 BufferView::dispatch that turns off this optimisation when a new inset
4008 * insetcite.C (getNatbibLabel): correct logic of when and when not to
4009 reload the BibTeX keys.
4011 2002-10-11 André Pönitz <poenitz@gmx.net>
4013 * insettext.h: handle LFUN_PRIOR/NEXT
4015 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4017 * insetfloat.C: fix bug with float settings
4018 (document default != float default).
4020 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4022 * insetwrap.C (addToToc): New method.
4023 (InsetWrap): Set layout to caption.
4025 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
4029 2002-09-16 John Levon <levon@movementarian.org>
4031 * insettabular.h: hasSelection() needs to be public
4033 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4035 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4037 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4039 * insetgraphicsParams.C: use empty string as default for rotateOrigin
4041 2002-09-11 André Pönitz <poenitz@gmx.net>
4043 * insettabular.C: implement LFUN_WORDSEL
4045 2002-09-10 John Levon <levon@movementarian.org>
4047 * insetinclude.h: remove unused param
4049 2002-09-09 John Levon <levon@movementarian.org>
4052 * insetinclude.C: remove noload, default to input
4054 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4056 * insetgraphics.C: disfuscated use of ']' in built output string.
4058 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4062 2002-08-29 Juergen Vigna <jug@sad.it>
4064 * insettabular.C (lfunMousePress): Pay attention where you set
4065 the x/y values as they depend on which inset in the tabular is
4066 actually locked. So you surely have to reset them if you (un)lock
4069 2002-08-29 André Pönitz <poenitz@gmx.net>
4071 * insetfootlike.h: rename include guard to ALL CAPS
4073 * insettext.C: swap object and first parameter for checkInsetHit calls
4074 as this functions has moved from BufferView to LyXText
4077 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4079 * insetgraphicsParams.C: remove local displayTranslator and use
4080 the one from graphics/GraphicsTypes.h.
4082 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4084 * insetfloat.C (wide): add BufferParams parameter
4086 * insetfloatlist.C (read):
4089 * insetfloat.C (latex):
4091 * insetcaption.C (draw): use LyXTextClass::floats()
4093 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4095 * insetoptarg.h: add std:: qualifier.
4097 2002-08-26 Juergen Vigna <jug@sad.it>
4099 * insettext.C (localDispatch): ditto.
4101 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4103 2002-08-25 John Levon <levon@movementarian.org>
4105 * inseturl.C: elide long URLs (bug 404)
4107 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4109 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4110 remove "Format Version <version_no.>" string from inset header
4113 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4115 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4116 a member of "grfx::Params" anymore.
4118 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4120 2002-08-24 John Levon <levon@movementarian.org>
4123 * insetoptarg.C: ws, pedantry ...
4125 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4127 * insettext.C (collapseParagraphs): pasteParagraph now in global
4129 (appendParagraphs): ditto
4131 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4133 * insetcite.C (latex): Remove spaces only after commmas.
4135 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * insettext.C: remove NO_COMPABILITY stuff
4139 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * insettext.C (edit): use ParagraphList iterators
4143 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4144 (bibitemWidest): ditto
4146 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4148 * insettext.C: include <boost/bind.hpp>
4149 add using std::for_each
4150 (saveLyXTextState): use ParagraphsList::iterator
4151 (init): use for_each on paragraphlist iterators
4152 (InsetText): remove superflous setting cached_bview to 0
4153 (latex): reformat a bit
4154 (ascii): use paragraphlist iterators
4155 (validate): use for_each + boost bind
4156 (getLabelList): use paragraphlist iterators
4157 (deleteLyXText): use for_each + boost::bind
4158 (resizeLyXText): ditto
4159 (reinitLyXText): ditto
4160 (removeNewlines): use paragraphlist iterators
4161 (getParFromID): ditto
4162 (paragraph): use for_each + boost::bind
4163 (getInsetFromID): use paragraphlist iterators
4164 (getLabelList): typo fix
4166 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * insettext.C (read): assign tmp to paragraphs after return from
4169 call to parseSingleLyXformat2Token
4172 2002-08-13 Angus Leeming <leeming@lyx.org>
4190 * inseturl.C: changes due to the changed LyXView interface that
4191 now returns references to member variables not pointers.
4193 2002-08-13 Angus Leeming <leeming@lyx.org>
4196 * insetcollapsable.h:
4199 * insettext.h: forward-declare WordLangTuple
4200 (selectNextWordToSpellcheck) constify return type.
4203 * insetcollapsable.C:
4206 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4208 2002-08-12 Angus Leeming <leeming@lyx.org>
4210 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4213 2002-08-12 Juergen Vigna <jug@sad.it>
4215 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4218 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4221 (bibitemWidest): ditto
4222 * insettext.[Ch]: ditto
4224 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4226 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4228 2002-08-09 Angus Leeming <leeming@lyx.org>
4230 * insetinclude.C (latexString): remove fudge now that I've found out
4231 how to enable LaTeX to find the file using input@path.
4233 2002-08-09 John Levon <levon@movementarian.org>
4236 * insettext.C: remove unused xpos
4238 2002-08-07 Juergen Vigna <jug@lyx.org>
4240 * insettabular.C (localDispatch): make delete not put the stuff
4241 in the clipboard only do this on a cut operation.
4243 * insettext.C (localDispatch): make delete and backspace not put
4244 selected stuff to the clipboard.
4246 2002-08-07 André Pönitz <poenitz@gmx.net>
4249 * insetcollapsable.[Ch]:
4253 * insettabular.[Ch]:
4254 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4256 2002-08-06 John Levon <levon@movementarian.org>
4260 * insetcollapsable.h:
4261 * insetcollapsable.C:
4267 * insettext.C: use WordLangTuple for spellcheck
4269 2002-08-06 Angus Leeming <leeming@lyx.org>
4271 * insetinclude.C: add a monitor to the previewed image, so that the
4272 image is refreshed if the \input-ed file changes.
4274 2002-08-04 John Levon <levon@movementarian.org>
4277 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4279 2002-08-02 Angus Leeming <leeming@lyx.org>
4281 * insetcommandparams.[Ch] (preview): new methods returning and setting
4282 a new bool preview_ flag.
4283 (read): read this flag.
4284 (operator==): add flag to check.
4286 * insetinclude.C (write): output new preview() flag.
4287 (previewWanted): use this flag.
4289 2002-08-02 Angus Leeming <leeming@lyx.org>
4291 * insetcollapsable.[Ch] (addPreview):
4292 * insettabular.[Ch] (addPreview):
4293 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4294 for insets in insets.
4296 2002-08-02 Angus Leeming <leeming@lyx.org>
4298 * insetcite.C: fix typo.
4300 * insetgraphics.C: kill current_view and instead cache the BufferView
4303 * insetinclude.C: kill current_view and pass the BufferView to the
4304 PreviewedInset so that it can cache it.
4306 2002-08-01 Angus Leeming <leeming@lyx.org>
4308 * inset.h (generatePreview): renamed as addPreview.
4309 (generatePreview): new method. Allows code to be moved out of
4310 math_nestinset.C and into the new PreviewedInset class.
4312 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4313 add previews to the inset when \input-ing LaTeX.
4315 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * several files: strip,frontStrip -> trim,ltrim,rtrim
4319 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * insetbib.C (latex): modify because of strip changes
4323 * insetnote.C (InsetNote): ditto
4325 2002-07-26 Juergen Vigna <jug@sad.it>
4327 * insettabular.C (searchForward): check for lastcell if we
4328 had a locking inset.
4330 2002-07-25 Juergen Vigna <jug@sad.it>
4332 * insettabular.C (insetMotionNotify): Don't update the screen
4333 if we didn't do nothing.
4334 (searchForward): last cell was not checked.
4336 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4338 * insetfloat.C (read, write): Allow default placement
4339 (floatPlacement_ is empty).
4341 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * insetminipage.h (noFontChange):
4344 * insettabular.h (noFontChange):
4345 * insetfootlike.h (noFontChange):
4346 * insetfloat.h (noFontChange): return true
4348 * inset.h (noFontChange): new method, defaulting to false
4350 2002-07-22 Herbert Voss <voss@lyx.org>
4352 * insetgraphicsParams.[Ch]: support size_type for old docs
4354 2002-07-22 Herbert Voss <voss@lyx.org>
4357 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4360 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4362 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4364 * insetlatexaccent.h: do not include "lyxlex.h"
4366 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4369 * insetlatexaccent.C:
4373 * insetbib.C: #include "lyxlex.h"
4379 * insettext.C: use BufferParams::getLyXTextClass
4382 * insetfloat.C (addToToc): new method. Add to toclist the entries
4383 corresponding to Caption layouts
4384 (InsetFloat): when creating a new float, set the layout to "Caption"
4386 2002-07-21 Herbert Voss <voss@lyx.org>
4388 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4389 image relevant part into graphics/GraphicsImgae.C
4391 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * insettoc.C (ascii):
4394 * insetfloatlist.C (ascii): change to use the new Toc functions
4395 instead of stuff that was in Buffer
4397 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4399 * insettext.C (localDispatch): BufferView::Dispatch has been
4400 renamed to BufferView::dispatch
4402 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4404 * insetgraphicsParams.C (as_grfxParams): use the new
4405 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4406 1.2.0 patch, and I do not really know how to adapt it to the new
4407 grfx::Cache world. Angus, please could you have a look?
4409 2002-05-01 Herbert Voss <voss@lyx.org>
4411 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4413 2002-07-18 Angus Leeming <leeming@lyx.org>
4415 * insetgraphics.C: clean-up comments (from Herbert).
4416 add a new checksum variable to the cache. Use it in PrepareFile.
4417 (draw): start monitoring the file for a change.
4418 (prepareFile): re-arrange a little to avoid unnecessary steps.
4420 2002-07-17 Angus Leeming <leeming@lyx.org>
4422 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4423 a method rather than to the signal directly.
4425 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4427 * insettext.C: use view_state_changed, switchKeyMap
4429 2002-07-17 Herbert Voss <voss@perce.de>
4431 * insetgraphics.C (prepareFile): keep the extension when
4432 exporting to nice file
4434 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4436 * insetcite.C (getNatbibLabel):
4437 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4439 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4441 * insetgraphics.C: use ->isDrawable()
4443 2002-07-12 Angus Leeming <leeming@lyx.org>
4445 * insetgraphics.C: use the new smart loading capabilities of the image
4448 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4450 * insettabular.C (edit): Move into correct cell when entering a
4453 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4456 2002-07-05 Angus Leeming <leeming@lyx.org>
4458 * inset.h (generatePreview): new virtual method.
4460 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4462 * insetcommandparams.[Ch] (operator=): move out of class
4463 (operator!): move out of class
4465 2002-07-04 André Pönitz <poenitz@gmx.net>
4467 * insetcommandparams.[Ch]: new files
4469 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4471 2002-06-15 Herbert Voss <voss@perce.de>
4473 * insetgraphics.C (prepareFile): bugfix; return always
4474 files without extension
4476 2002-06-28 Angus Leeming <leeming@lyx.org>
4478 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4479 rename asGParams -> as_grfxParams.
4481 * insetgraphics.C: reflect above change.
4483 2002-06-26 Angus Leeming <leeming@lyx.org>
4485 * insetgraphics.h: use boost::scoped_ptr in preference to
4488 2002-06-26 Angus Leeming <leeming@lyx.org>
4490 * insetgraphics.C: moved the image loading stuff into a new class
4491 grfx::Loader. Simplifies this file enormously.
4493 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4495 * insetgraphicsParams.C: changes aassociated with moving
4496 grfx::DisplayType out of grfx::GParams.
4498 2002-06-26 André Pönitz <poenitz@gmx.net>
4500 * insetgraphics.C: use os::external_path where necesaary according to a
4501 patch from Claus Hentschel)
4503 2002-06-25 Angus Leeming <leeming@lyx.org>
4505 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4506 generating a pixmap once the graphics file is loaded into memory.
4507 The current_view ugliness that was in grfx::ModifiedImage has been
4508 moved here now that grfx::ModifiedImage is no more.
4510 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4512 * insettext.C: layout as layout
4514 2002-05-28 André Pönitz <poenitz@gmx.net>
4516 * insetfloatlist.h: remove source of compiler warning
4518 * insetref.C: tiny whitespace
4520 2002-06-15 Herbert Voss <voss@perce.de>
4522 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4523 and take always convert when no userdefined converter was
4525 (latex) small changes in the lyxerr output
4527 2002-06-15 LyX Development team <lyx@rilke>
4529 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4530 mixed content. Small white spaces clean.
4532 2002-06-14 Angus Leeming <leeming@lyx.org>
4534 * inseetexternal.C: remove the using std::difftime declaration.
4536 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4538 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4540 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4542 * insetquotes.C (draw): fix drawing of double quotes
4544 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4546 * insettabular.C: s/scrollCB/scrollDocView/
4548 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4550 * insettext.C: change of topCursorVisible()
4553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4556 * insettext.C: rename/change of LyXScreen
4558 2002-06-07 Angus Leeming <leeming@lyx.org>
4560 Fixes needed to compile with Compaq cxx 6.5.
4562 * insetexternal.C: all c-library variables have been moved into
4563 namespace std. Wrap using std::xyz declarations inside a #ifndef
4564 CXX_GLOBAL_CSTD block.
4566 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4568 * insetinclude.C (uniqueID):
4569 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4570 conflicted with some AIX headers.
4572 2002-05-31 Juergen Vigna <jug@sad.it>
4574 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4578 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4580 * insetexternal.C (clone): fix () bug when using new
4581 (updateExternal): don't only look for difftime in global scope
4583 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4585 * insettabular.C: add const
4587 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4589 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4590 file name, in case there are weird characters like ',' in there.
4593 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4595 * switch from SigC signals to boost::signals.
4597 2002-05-28 André Pönitz <poenitz@gmx.net>
4599 * insets/insetgraphicsParams.[Ch]:
4600 put in inset related stuff from src/graphic
4602 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4610 * insetcollapsable.C:
4611 * insetcollapsable.h:
4639 * inseturl.h: use mouse_state. Kill insetKeyPress
4641 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4646 * insetcollapsable.C:
4649 * insetlatexaccent.C:
4651 * insetspecialchar.C:
4653 * insettext.C: name change for font metrics
4655 2002-05-24 Juergen Vigna <jug@sad.it>
4657 * insetgraphics.h: include inset.h first (for LString.h)
4659 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4661 * insettext.C: screen moved
4663 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4681 * inseturl.C: LyXView moved into frontends/
4683 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4688 * insetcollapsable.C:
4692 * insetgraphicsParams.C:
4693 * insetlatexaccent.C:
4695 * insetspecialchar.C:
4697 * insettext.C: move Painter to frontends/
4699 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4701 * insettabular.h: use more specific smart_ptr header.
4702 * insettext.h: ditto
4704 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4707 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4709 * insettext.C: clear selection on paste (bug 393)
4711 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4713 * insettext.C (latex): Honor the moving_arg argument.
4715 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4717 * insetfoot.C (latex): if a footnote is in a title layout, then it
4718 is a \thanks. And then, its contents is a moving argument.
4720 2002-05-14 Juergen Vigna <jug@sad.it>
4722 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4725 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4727 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4728 when using options "Full author list" or "Upper case".
4730 2002-05-14 Herbert Voss <voss@perce.de>
4732 * insetgraphics.C (prepareFile): allow files with same name
4734 (readFigInset): set the flags from old figinset in the right
4736 (findTargetFormat): more comments
4738 2002-05-14 Juergen Vigna <jug@sad.it>
4740 * insettext.C (edit): tell checkAndActivateInset() that we don't
4741 have a button press.
4742 (checkAndActivateInset): if button < 0 we don't have a button press
4743 on the inset and os we won't call edit on it if it's not a Highly
4744 editable inset (then we have to enter it).
4746 2002-05-13 Juergen Vigna <jug@sad.it>
4748 * insetcollapsable.C (insetButtonRelease): returned wrong return
4751 2002-05-09 Juergen Vigna <jug@sad.it>
4753 * insetcollapsable.C (edit): first_after_edit should only be
4754 set to true if we enter this inset and it was collapsed so we
4755 open it up. This is needed to reclose it after a search/replace
4756 or spellcheck function opened it and was negative.
4758 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4760 * insetfloat.C (latex): Return correct value.
4762 2002-05-04 Herbert Voss <voss@perce.de>
4764 * InsetgraphicsParams.C (read): fix bug with WH
4766 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4768 * insetfloat.C (latex): More sensible latex output
4769 (fix the problem with endfloat).
4771 2002-05-02 José Matos <jamatos@fep.up.pt>
4773 * insetgraphics.C (validate): acess params as everyone else.
4775 2002-05-03 Juergen Vigna <jug@sad.it>
4777 * insettabular.C (fitInsetCursor): recalculate the cursor position
4780 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4782 * InsetgraphicsParams.[Ch]: whitespace.
4784 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4786 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4787 float type do not exist.
4789 2002-04-28 Herbert Voss <voss@perce.de>
4791 * insetgraphics.C (latex): fix bug with missing file-extension.
4792 LaTeX still allows a missing "eps" or "ps".
4794 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4796 * insetfloat.C (c-tor, wide): translate the name of the float.
4798 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4800 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4801 when using natbib and make it work efficiently. Must emphasise that the
4802 real work is Herbert's.
4804 2002-04-23 Herbert Voss <voss@perce.de>
4806 * insetgraphic.C (prepareFile): fix bug with overwriting and
4807 deleting an existing *.eps-file in the doc-dir
4809 2002-04-23 Juergen Vigna <jug@sad.it>
4811 * insettabular.C (drawCellSelection): fix off by 1 error.
4813 2002-04-22 Juergen Vigna <jug@sad.it>
4815 * insettabular.C (setFont): rewoke full selection if it was asked,
4816 after we changed all we had to change.
4818 * insettext.C (insetUnlock): code was uninitialized in some situations.
4820 2002-04-19 Herbert Voss <voss@perce.de>
4822 * insetgraphic.C (prepareFile): return filename without
4823 extension if we only export without compiling
4825 2002-04-19 Juergen Vigna <jug@sad.it>
4827 * insettext.C (draw): call a fullRebreak on the row where we had a
4828 change and reset the cursor and selection-cursors.
4830 * insettabular.C (insetUnlock):
4831 (insetButtonPress): call an update before setting the_locking_inset = 0
4832 as otherwise we don't repaint!
4833 (update): reset the cursor position when we changed dimensions as
4834 otherwise our cursor may be on the wrong spot.
4836 2002-04-18 Juergen Vigna <jug@sad.it>
4838 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4839 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4840 redraw otherwise we won't redraw.
4842 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4843 not really right before, but I only discovered this with the last
4844 changes to Page up/down.
4846 2002-04-17 Juergen Vigna <jug@sad.it>
4848 * insettext.C (checkAndActivateInset): simplified as we now have the
4849 edit(bv, bool) call.
4851 * insettext.h: changed behind variables to front variables to be
4852 equal to the one in the edit call (as it is for that they are used).
4854 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4856 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4857 not output anything at all!
4859 2002-04-16 Juergen Vigna <jug@sad.it>
4861 * insettabular.C (insetButtonPress):
4862 (insetUnlock): call a redraw on unlocking the cell inset.
4864 * insettext.C (insetButtonPress): same as below.
4865 (lockInset): new function to set initial values when inset should
4867 (insetButtonPress): use above function.
4868 (insetUnlock): don't force a repaint only set the updateStatus. The
4869 outside world should repaint if it thinks it should be done!
4871 * insettabular.C (insetButtonPress): init values if not set as locked
4872 as we are locked if someone presses on us and don't call the edit()
4873 call of the InsetText to lock it do it as BufferView does it!
4875 * inset.h (insetInInsetY): make func const and return an int.
4878 * insetcollapsable.C: adapt the above changed function.
4880 2002-04-15 Juergen Vigna <jug@sad.it>
4882 * insettext.C (getCursorPos): return relative position as to be able
4883 to give them directly to the edit() call.
4884 (edit): we have to set also x_fix as it is not set inside the
4885 setCursorFromCoordinates call!
4886 (insetMotionNotify): ditto.
4888 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4890 * insetbib.C (getKeys): strip leading '\t's from the line too.
4891 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4893 2002-04-12 Juergen Vigna <jug@sad.it>
4895 * insettext.h: added cix() helper function and use it where appropriate
4897 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4899 * insetgraphics.C (prepareFile): fix bug when graphics is a
4902 2002-04-12 Juergen Vigna <jug@sad.it>
4904 * insettext.C (insertInset): remove unneeded code!
4905 (updateLocal): fitCursor() fixes.
4906 (collapseParagraphs): fix a possible problem when having a selection
4907 and collapsing the paragraphs.
4909 2002-04-08 Herbert Voss <voss@perce.de>
4911 * insetgraphic.C (write): write the rotating angle as
4912 a float as is. test only for != 0.0
4914 2002-04-11 Juergen Vigna <jug@sad.it>
4916 * insettext.C: new function ciy() and use it for setting inset_y.
4918 * insetert.C (draw): fix the x return for collapsed version.
4920 2002-04-07 Herbert Voss <voss@perce.de>
4922 * insetgraphic.C (readFigInset): fix bug with subcaption and
4925 2002-04-08 Herbert Voss <voss@lyx.org>
4927 * insetgraphicsparam.C: forgot special option and delete old
4930 2002-04-05 Juergen Vigna <jug@sad.it>
4932 * insettext.C (localDispatch): make a CURSOR update if we inserted
4935 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4937 * insetfloatlist.C (getScreenLabel):
4938 (latex): use Floating::listName
4939 (validate): new method
4941 2002-04-03 José Matos <jamatos@fep.up.pt>
4943 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4945 * insetfoot.[Ch] (docbook): added forgotten method.
4947 2002-04-03 Juergen Vigna <jug@sad.it>
4949 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4950 way as in Bufferview_pimpl.
4952 2002-04-03 Allan Rae <rae@lyx.org>
4954 * insetgraphics.C (latex): one % too many makes living on the bleeding
4955 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4957 2002-03-28 Herbert Voss <voss@lyx.org>
4959 * insetgraphic.C (latex): simplify the code for the latex
4960 output when the file doesn't exist
4962 2002-03-29 Juergen Vigna <jug@sad.it>
4964 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4967 * insettabular.C (edit): call fitCursor().
4969 * insettext.C (insetButtonPress): change behaviour of no_selection
4970 to the one in the BufferView selection_possible and fix the spurious
4971 selection bug with it.
4972 (localDispatch): revoke selection on BREAK... functions.
4974 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4978 2002-03-28 Juergen Vigna <jug@sad.it>
4980 * insettabular.C (insetAllowed): return true as default value otherwise
4981 we're not able to insert insets inside paragraphs of an not locked
4984 2002-03-27 Herbert Voss <voss@lyx.org>
4986 * insetgraphicsparam.C: change c%, p% to col%, page%
4988 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * insetspecialchar.C (isLineSeparator): disable the nice code to
4991 allow linebreaks after hyphenation and menu separators.
4993 2002-03-26 Herbert Voss <voss@lyx.org>
4995 * insetgraphics.C (figinsetRead): set the right lyxview
4997 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4999 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
5000 $\backslash$ and pass a "string const &" to the function.
5001 (prepareFile, latex): use Path rather than MakeAbsPath.
5003 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
5005 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
5006 proper fix to the graphics cache.
5007 (latex): "really" nice output if the file is not found ;-)
5009 2002-03-26 Juergen Vigna <jug@sad.it>
5011 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
5012 (collapseParagraphs): fixed inserting of separator ' '
5014 * insettabular.C (insertAsciiString): only check for buffer lenght
5015 not if we have \t or \n inside the buffer as if we don't have we only
5016 have 1 cell and that's it!
5018 * insetert.C (close): don't collapse if inlined.
5020 2002-03-25 Herbert Voss <voss@lyx.org>
5022 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
5023 graphics file does not exist.
5025 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
5027 * insetgraphics.C (prepareFile): ensure that the file has an absolute
5028 path when preparing export.
5030 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
5031 no longer MakeRelPath.
5033 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5035 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
5036 Used to determine the absolute path to the graphics file in the
5037 graphics cache and only in the graphics cache.
5038 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
5039 make graphics file name absolute if it is stored as a relative path.
5041 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
5042 make graphics file name absolute if it is stored as a relative path.
5044 * insettext.C (edit): emit an updateParagraph signal on entering a text
5045 inset. Needs to be emitted when leaving the inset also.
5047 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5049 * all files: ws cleanup
5051 * Makefile.am: remove ld -r stuff
5053 2002-03-21 Juergen Vigna <jug@sad.it>
5055 * insettext.C (appendParagraphs): new function added to append
5056 the paragraphs to this insets paragraphs.
5058 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5060 * Makefile.am: special rules if partial linking
5062 2002-03-19 Juergen Vigna <jug@sad.it>
5064 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5066 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5068 * insetgraphics.C: Clean up Baruch's comments a little.
5069 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5071 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5074 * insettheorem.C: wrap warnings
5076 * insetgraphics.C: improve messages, move cached_status_
5077 setting to safer place
5079 2002-03-18 Juergen Vigna <jug@sad.it>
5081 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5083 (localDispatch): ditto
5085 * insettext.C (edit): removed unneeded showCursor calls.
5086 (localDispatch): ditto.
5088 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5090 * insetgraphics.h: remove display() method.
5092 2002-03-11 Juergen Vigna <jug@sad.it>
5094 * insetgraphics.C (draw): hack to fix the redrawing bug.
5095 (draw): seems this fixes #268 (force redraw of row if we changed).
5097 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5098 this inset text (don't know why I missed this earlier).
5100 2002-03-08 Juergen Vigna <jug@sad.it>
5102 * insettabular.C (updateLocal): do a FULL update if we're not locked
5103 and only a CELL update is asked.
5105 * insettext.C (updateInsetInInset): update insets inside inset also
5106 if it isn't inside the_locking_inset.
5108 * insettabular.C (updateInsetInInset): ditto.
5110 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5112 * insetexternal.C (doSubstitution): check whether we are using a
5113 temp dir for defining $$FPath
5115 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5118 * insettext.C: remove #include "WorkArea.h".
5120 2002-03-06 Juergen Vigna <jug@sad.it>
5122 * insettext.C (draw): fixed frame redrawing.
5123 (clear): forgot to set the inset_owner of the paragraph.
5125 * insetert.C (status): pay attention the bv can be 0 here!
5126 (getMaxWidth): add the default leftMargin
5128 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5130 * insetert.C (getMaxWidth): make w unsigned int.
5132 2002-03-05 Juergen Vigna <jug@sad.it>
5134 * insetert.C (status): change behaviour of Inlined.
5135 (getMaxWidth): added for new inlined behaviour.
5137 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5139 * insetnote.h (linuxdoc, docbook): add empty methods.
5140 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5141 before being initialized.
5143 2002-03-05 Juergen Vigna <jug@sad.it>
5145 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5146 only that one in the inset. Should be enough.
5147 (updateLocal): set the selection cursor always if we don't have a
5148 selection to be sure it's set!
5150 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5152 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5154 * insettext.C (clear): a gross hack to set layout on a newly
5157 2002-03-04 Juergen Vigna <jug@sad.it>
5159 * insettabular.C (localDispatch): inserted handling of
5160 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5161 (insertAsciiString): new helper function.
5163 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5165 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5168 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5170 * insettext.C (InsetText): initalize newly created par with
5171 default layout. add bufferparams parameter
5174 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5175 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5176 * insetert.[Ch] (InsetERT): ditto
5177 * insetfloat.[Ch] (InsetFloat): ditto
5178 * insetfoot.[Ch] (InsetFoot): ditto
5179 * insetfootlike.[Ch] (InsetFootLike): ditto
5180 * insetmarginal.[Ch] (InsetMarginal): ditto
5181 * insetminipage.[Ch] (InsetMinipage): ditto
5182 * insetnote.[Ch] (InsetNote): ditto
5183 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5185 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5187 * insettext.C: layout as string
5189 * insetinclude.C: layout as string
5191 * insetert.C: layout as string
5193 * insetbib.C: layout as string
5195 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5198 * insettabular.C: remove #include "lyx_gui_misc.h".
5200 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5205 * inset.h: remove figinset, yahoo !
5207 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5209 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5210 copy c-tor and initialise member variables in the correct order.
5212 2002-02-28 Juergen Vigna <jug@sad.it>
5214 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5216 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5218 * inset.h: ... and add a better one here.
5220 * insetcommand.C (insetButtonRelease): remove that one which was a
5223 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5225 * insetcommand.C (insetButtonRelease): ... and move it here.
5227 * inseturl.h: remove insetButtonRelease from there...
5229 2002-02-26 Juergen Vigna <jug@sad.it>
5231 * inseturl.h: Added a insetButtonRelease call returning true as
5234 * insetlabel.C (edit): Fixed wrong update handling after change I
5235 leave in the wrong code for the one who wrote it to remove and have
5236 a look what he did wrong.
5238 * insettabular.C (localDispatch): force a SELECTION update if we
5239 had a selection and we passed the event down to the inset (fix #213)
5240 (localDispatch): handle font changing stuff when we have a cell
5241 selection so that the selection is not rewoked. I don't really like
5242 this fix, but it's the only way I see to do it right now.
5244 2002-02-22 Juergen Vigna <jug@sad.it>
5246 * insettext.C (insetUnlock): set the cursor to the second paragraph
5247 if available and if the first one is empty (fix #191).
5249 2002-02-20 Juergen Vigna <jug@sad.it>
5251 * insettext.C (getDrawFont): implemented this function to call the
5252 one of the owner if present as the owner normally knows what to do
5255 * insetert.C: implement getDrawFont() function and comment out all
5256 the crap for setting a special latex font inside this inset.
5257 (InsetERT): added a Lanugage parameter to this constructor.
5259 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5260 change the font for being drawn on screen (used only in InsetERT for
5263 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5264 and also above (was missing).
5265 (updateLocal): don't remove the cell selection if we have one this
5266 should be done where we really want to remove it.
5268 2002-02-20 José Matos <jamatos@fep.up.pt>
5270 * insetinclude.h: include_label made string const.
5272 * insetinclude.C (InsetInclude): moved include_label initialization.
5275 (validate): fix support for temporary directory, for docbook and
5278 * insetgraphics.h : new private member, graphic_label, that holds
5279 the entity name that defines the graphics location (SGML).
5281 * insetgraphics.C (unique_id): new function to give a unique label
5284 (validate): the file locatation is given by an entity reference.
5286 2002-02-18 Herbert Voss <voss@lyx.org>
5288 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5290 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5292 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5293 as support/systemcall.[Ch] and of class Systemcalls as class
5296 2002-02-18 José Matos <jamatos@fep.up.pt>
5298 * insetinclude.C (validate): some code only applies to latex buffers,
5299 it was made conditional.
5301 2002-02-12 Herbert Voss <voss@lyx.org>
5303 * insetgraphics.C: (prepareFile) do not check at this time
5304 if the file is present.
5306 2002-02-12 Herbert Voss <voss@lyx.org>
5308 * insetgraphics.C: latex(), return the correct newlines
5310 2002-02-13 José Matos <jamatos@fep.up.pt>
5312 * inseturl.C (docbook): escape & in url.
5314 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5316 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5317 after HYPHENATION and MENU_SEPARATOR
5319 * inset.h (isLineSeparator): new method, returns false by default.
5321 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * insetert.C (status): do not update the text inset, but the ERT
5326 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5328 * insetnote.C: use notebg for background
5330 2002-02-08 Herbert Voss <voss@lyx.org>
5333 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5334 prevent LyX from unzipping when this should be handled
5335 by latex vis the graphic.cfg.
5338 2002-02-08 Herbert Voss <voss@lyx.org>
5340 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5341 exists, than return filename with extension
5343 2002-02-06 Herbert Voss <voss@lyx.org>
5345 * insetgraphic.C: prepareFile(): don't convert the file, when
5346 it's not viewed in LyX. Saves a lot of time when opening a
5349 2002-02-05 Herbert Voss <voss@lyx.org>
5352 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5353 and adding a rotate bool similiar to subcaption
5355 2002-02-04 Herbert Voss <voss@lyx.org>
5358 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5359 similiar view to the LaTeX one. Get zipped files work.
5361 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5363 * insetgraphicsParams.C (init): set display to DEFAULT.
5364 No longer #include "lyxrc.h".
5366 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5368 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5369 for now (so that the code compiles).
5371 2002-02-02 Herbert Voss <voss@lyx.org>
5373 * insetgraphic.C: delete inVariant() and some minor changes
5374 * insetgraphicsParams.[C]:
5376 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5378 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5379 interogate lyxrc.display_graphics before diaplaying the graphic.
5381 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5382 InsetGraphicsParams::DisplayType.
5384 2002-01-31 Herbert Voss <voss@lyx.org>
5386 * insetgraphic.C: (readfigInset) set display to pref-default
5388 2002-01-30 Herbert Voss <voss@lyx.org>
5390 * insetgraphic.C: get the filetyp from it's contents
5391 * insetgraphicparams.C: add token scale and lyxrc.display when
5392 creating a new inset
5394 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5396 * figinset.C: added using std::ios directive.
5398 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5400 * figinset.C (runqueue): open translation file in binary mode (for
5403 2002-01-27 Herbert Voss <voss@lyx.org>
5405 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5406 all options and to be sure that the old figinsets are correct
5408 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5409 structure and to support all lengths as LyXLength. The Parameter
5410 structure changed again, but reading of "old" 1.2 graphic insets
5413 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5415 * insetert.h (forceDefaultParagraphs): Added
5417 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5419 * insettabular.C (getMaxWidth):
5420 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5422 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5424 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5425 of LyXLength::inPixels
5427 * inset.C (latexTextWidth):
5428 * insetminipage.C (latexTextWidth): new method, which implements
5429 the equivalent of the LaTeX macro \textwidth
5431 * insetminipage.C (getMaxWidth): use latexTextWidth
5433 2002-01-18 Juergen Vigna <jug@sad.it>
5435 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5437 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5439 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5441 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5444 2002-01-17 Juergen Vigna <jug@sad.it>
5446 * insettabular.C (lockInsetInInset): same change as in insettext.
5448 * insettext.C (draw): width() function was called without setting
5449 the right top_x which could lead to wrong insetWidth setting!
5450 (lockInsetInInset): call edit instead of calling lockInset if we
5451 have to lock an inset inside!
5452 (edit): we have to also tell the inset that we have to redraw the
5453 frame on an edit call if this inset draws a frame only if locked.
5455 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5457 * insetbib.C (getFiles): uncomment Path variable.
5459 2002-01-16 Juergen Vigna <jug@sad.it>
5461 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5464 2002-01-16 Allan Rae <rae@lyx.org>
5466 * insetinclude.C (docbook): someone forgot a ";"
5468 2002-01-16 José Matos <jamatos@fep.up.pt>
5470 * figinset.C (docbook): removed a old place holder "@".
5471 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5472 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5473 ascii text version, clearly guarded inside a CDATA section.
5474 (docbook): in docbook 4, inlinegraphics is empty.
5475 * insettabular.C (linuxdoc): export the ascii version of the table
5476 inside a CDATA section.
5478 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5480 * insetparent.C (InsetParent):
5481 * insetgraphicsParams.C (Write):
5483 * insetgraphics.C (prepareFile):
5486 * insetexternal.C (executeCommand):
5487 (doSubstitution): use Buffer::filePath
5489 * insetbib.C (getFiles): add a #warning for Angus
5491 * insetgraphics.C: Add a remark about how filenames should be
5492 considered to be relative to buffer (but absolute is still allowed)
5493 (draw): do not try to get status if lyxrc.use_gui is false
5495 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5498 * insetcollapsable.[Ch]:
5499 * insettabular.[Ch] (searchForward, searchBackward): change the
5500 bool const & params to bool.
5502 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5503 to avoid the name clash with InsetCollapsable's methods of the same
5504 names but different functionality.
5506 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5508 * insettext.C (ascii): use lyx::count rather than countChar.
5510 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5512 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5514 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5516 * insetgraphics.C (updateInset): do not try to render image if
5517 lyxrc.use_gui is false (bug #104)
5519 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5520 if file does not exist
5522 * figinset.C (browseFile): add shortcuts to directory buttons
5524 * insettext.C (updateLocal): update menubar and toolbar here too.
5526 2002-01-13 Allan Rae <rae@lyx.org>
5528 * insettabular.C (InsetTabular): Both constructors now initialise
5529 all class variables.
5531 2002-01-11 Juergen Vigna <jug@sad.it>
5533 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5535 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5537 * insettabular.C (getStatus): add forgotten brace around multiline
5540 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5542 * insetfloat.C (validate): require "float" instead of "floats".
5544 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5546 * insettabular.C (getStatus): use FuncStatus
5548 2002-01-08 Juergen Vigna <jug@sad.it>
5550 * insettabular.C (insetButtonRelease): now this should work too
5553 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5554 if the width is a percentage.
5556 * inset.h: added isChar() function and implemented this for
5557 insetspecialchar insetquotes and insetlatexaccent.
5558 added forceDefaultParagraphs() and implemented it for insettabular.
5560 2002-01-07 Juergen Vigna <jug@sad.it>
5562 * insettext.C (getLyXText): Fixed this function. An insert into the
5563 map is only done if we REALLY have a new BufferView.
5565 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5567 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5569 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5571 * insetinclude.C: fix use of FileInfo
5573 2002-01-07 Juergen Vigna <jug@sad.it>
5575 * insettabular.C (draw): fixed clearing of cell around inset.
5577 2002-01-05 Juergen Vigna <jug@sad.it>
5579 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5580 variables are updated.
5582 * insettabular.C (resetPos): set always the inset_y as it may be
5583 needed in another function.
5584 (searchBackward): don't draw while searching.
5586 2002-01-04 Juergen Vigna <jug@sad.it>
5588 * insettext.C (lockInsetInInset): forgot to set a cursor.
5590 2002-01-02 Juergen Vigna <jug@sad.it>
5592 * insettext.C (insertInset): make the correct undo informations on
5593 inserting new insets.
5595 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5597 * insettabular.C: correct single-cell select vertically
5599 2001-12-27 Juergen Vigna <jug@sad.it>
5601 * insettabular.C (ascii): export as tab-separated-values if the
5602 function was not called from export (f.ex.: clipboard).
5604 * insetcollapsable.h: added default support for ascii, linuxdoc and
5605 docbook export (the insettext is exported by default!)
5607 * insettabular.C (copySelection): suff the clipboard with the tabular
5608 data in a tab separated format, seems more naturals then with all the
5611 2001-12-24 Juergen Vigna <jug@sad.it>
5613 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5614 to check for REAL mouseMotion.
5616 2001-12-20 Juergen Vigna <jug@sad.it>
5618 * inset.C (cursor): return the owners cursor if available instead of
5619 always only the bv->text->cursor.
5621 * insettabular.C (checkLongtableSpecial): works now.
5623 2001-12-19 Juergen Vigna <jug@sad.it>
5625 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5626 this has to be always row + 1 as 0 means not selected!
5627 (checkLongtableSpecial): added
5628 (tabularFeatures): better longtable options support
5630 * insettext.C (resizeLyXText): reinit the text always also on a
5633 2001-12-18 Juergen Vigna <jug@sad.it>
5635 * insettext.C (updateInsetInInset): look if we have to autocollapse
5636 paragraps and return if the update is requested for ourself.
5638 * insetert.C (status): update the insettext not myself as that is what
5641 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5642 function only return if the update was requested with myself.
5644 * insettext.C (insetButtonPress): fixed stupid bug.
5645 (various functions): pay attention that lt is cleared BEFORE calling
5646 updateLocal() and try to use it in the right manner (don't use it
5647 if it's not really neccessary!)
5648 (collapseParagraphs): insert a blank between collapsing paragraphs
5649 if neccessary (not already there!).
5651 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5653 * insettabular.C: move includes around a bit, add a couple of
5656 * insettext.[Ch]: move includes around a bit, other ws changes and
5659 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5661 * insettext.C (insetButtonRelease): fix compile problem
5663 2001-12-17 Juergen Vigna <jug@sad.it>
5665 * insettext.C (insetButtonPress): set the selection cursor!
5666 (insetButtonPress): clear the selection (and set with that the
5667 selection.cursor) if we only hit an inset!
5669 * insetert.C (read): removed piece of compatibility code only needed
5672 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5675 * insetcollapsable.C (insetButtonRelease): changed so that it can
5676 open eventual existing popup dialogs on mousebutton==3.
5678 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5680 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5682 * inset.C (insetButtonRelease): return a bool for telling the outer
5683 world that we opened a dialog.
5685 2001-12-07 Juergen Vigna <jug@sad.it>
5687 * insettext.C (paragraph): remove the deleteing of paragraphs as
5688 it was a WRONG move!
5690 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5693 * insettabular.C: use new setSelection(). Allow
5694 selection of single cells.
5696 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5698 * insetquotes.C (latex): fix to use the local language setting at
5699 the point where the inset is inserted (different macros for
5700 different french packages)
5702 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5704 * inset.h: add par_owner_ member variable and parOwner
5707 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5709 * insettabular.C (everywhere): adapt because widths are now real
5710 widths and not strings
5712 * insettext.C (draw): re-introduce the calls to width(), ascent()
5713 and descent() to initialize the caching variables.
5715 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * insettext.C (draw):
5718 (drawFrame): use insetWidth instead of last_width
5720 * insettext.h: remove variable last_width (insetWidth is exactly
5721 the same) and last_height (computed but never used!)
5723 2001-12-10 Allan Rae <rae@lyx.org>
5725 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5729 * insettext.C (insetAllowed): add comment
5731 2001-12-05 Juergen Vigna <jug@sad.it>
5733 * insettext.C (insetAllowed): fixed for the case that we directly
5734 ask the insettext from its LyXText.
5735 (paragraph): fixed the crash when assigning the par->next() from
5736 the EmptyParagraphMechanism!
5738 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5742 * insettext.C: change "while(" to "while ("
5744 2001-12-04 Juergen Vigna <jug@sad.it>
5746 * insetert.C (edit): handle Inlined status.
5748 * insettext.C (insertInset): trying John's fix for the trailing cursor
5750 * insetert.C (insetButtonPress): added to handle inlined status
5751 (insetMotionNotify): ditto.
5753 * insettext.C (clearInset): changed Painter & in BufferView * param,
5754 to be able to call ascent,descent methods.
5756 2001-12-03 Juergen Vigna <jug@sad.it>
5758 * insettext.C (updateInsetInInset): use lt variable to forbid
5759 changes of LyXText in an update call.
5760 (updateInsetInInset): fixed updating of non locked insets!
5762 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5764 * insettabular.C: capture some more functions to prevent
5765 selection drawing problems. Bug #451274
5767 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5770 * insetgraphicsParams.C: fix inverted sense of float_equal
5772 2001-11-30 Juergen Vigna <jug@sad.it>
5774 * insettabular.C (InsetTabular): use the save_id flag to create also
5775 the tabular with the same id's.
5777 * insettext.C (setParagraphData): added a same_id function for undo
5778 to set the same paragraph id's as of the paragraph we are setting.
5780 2001-11-30 José Matos <jamatos@fep.up.pt>
5783 * insettoc.[Ch]: DocBook -> docbook.
5785 2001-11-29 André Pönitz <poenitz@gmx.net>
5788 * insettext.C: further reduction of header dependencies by using
5789 lyx::layout_type and lyx::textclass_type from support/types.h
5791 2001-11-29 Juergen Vigna <jug@sad.it>
5793 * insettext.C: inserted a reinitLyXText function everywhere I delete
5794 the paragraphs! This should fixe the crashes we had.
5795 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5796 (paragraph): set the InsetOwner() of the new paragraphs!
5798 2001-11-28 André Pönitz <poenitz@gmx.net>
5800 * insetnote.C: add pos initialization that I removed without
5803 2001-11-28 Juergen Vigna <jug@sad.it>
5805 * insettabular.C (resetPos): hack to not crash with infinite paints.
5807 * insettabular.h: insert missing function allowSpellcheck()!
5809 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5811 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5814 * insetfloatlist.C: derive from InsetCommand so gui can use it
5817 2001-11-26 André Pönitz <poenitz@gmx.net>
5821 * insetnote.C: reduce header dependencies, introduce type for
5824 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5826 * various: update for Alert.h
5828 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5830 * inset.h: fix comment
5832 * insettext.C: use par->isInset()
5834 2001-11-22 Allan Rae <rae@lyx.org>
5836 * insetcollapsable.h:
5837 * inset.h: Changes to checkInsertChar() behaviour.
5838 Now return value indicates whether chars can be inserted.
5840 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5842 * various: updated to use the new LaTeXFeatures
5844 2001-11-14 José Matos <jamatos@fep.up.pt>
5846 * insetspecialchar.C (linuxdoc):
5847 (docbook): don't give a name to a unused variable.
5849 * insettext.C (docbook): removed unused variable.
5851 2001-11-13 Herbert Voss <voss@perce.de>
5853 * insetgraphic.C: fix scale bug
5855 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5857 * inset.h (isSpace):
5858 (isLetter): new virtual methods.
5860 * insetspecialchar.C (isSpace):
5861 (isLetter): implement here.
5863 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5865 * inset.h: new inline helpers
5867 * insettext.C: use new helpers
5869 2001-11-07 José Matos <jamatos@fep.up.pt>
5871 * insettext.C (docbook): full support for paragraphs inside insettext.
5873 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5875 * insetindex.C: added header file for std::ostream.
5877 2001-11-03 José Matos <jamatos@fep.up.pt>
5879 * insetindex.C: added using std::ostream that I forgot yesterday.
5881 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5883 * insetindex.h (docbook):
5884 * insetindex.C (docbook): added support for docbook export.
5886 2001-11-02 José Matos <jamatos@fep.up.pt>
5888 * insetcaption.C(docbook): added support for docbook export.
5890 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5892 * insetexternal.C (updateExternal): Do not run update command if
5893 result file exists and is up to date.
5895 * ExternalTemplate.C (readFormat): Support the updateresult token.
5897 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5899 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5900 external_templates) to use the buffer->fileName() but only if
5901 previewing. Generating a TeX file should make FPath return
5904 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5907 * insetert.C: fix some problems
5909 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5911 * insetexternal.C (doSubstitution): Added $$FPath token
5912 to list of usable substitutions in external inset templates.
5914 2001-10-24 Juergen Vigna <jug@sad.it>
5916 * insettabular.C: use new ltType struct for setting longtable
5917 header and footers also new UNSET enums.
5919 2001-10-24 José Matos <jamatos@fep.up.pt>
5921 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5922 (docbook): If the table is not inside a float then wrap it inside
5923 <informaltable>...</informaltable>.
5925 2001-10-23 José Matos <jamatos@fep.up.pt>
5927 * insetref.C (docbook): removed / terminator to conform SGML.
5929 * insetspecialchar.C (linuxdoc):
5930 (docbook): Added support for special chars, more than ascii export.
5932 2001-10-22 Juergen Vigna <jug@sad.it>
5934 * insettext.C (checkInsertChar): added for REALLY checking the
5935 font of the inserted char in the right inset!
5937 2001-10-19 Juergen Vigna <jug@sad.it>
5939 * inset.h: added method allowSpellcheck() so that insets who do
5940 not have anything to spellcheck can tell and so they are over-jumped.
5941 Implemented for InsetText and co.
5943 2001-10-18 Juergen Vigna <jug@sad.it>
5945 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5947 2001-10-15 José Matos <jamatos@fep.up.pt>
5949 * insetert.C: allow export for docbook and linuxdoc
5951 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5953 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5955 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5957 * insetquotes.C (dispString): fix handling of latin9 quotes
5959 2001-10-03 Juergen Vigna <jug@sad.it>
5963 * insetcollapsable.C: change updateInset calls to not tell BV that
5964 we have changed status.
5966 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5968 * insettabular.C (deletable): make const
5970 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5972 * insetert.C (latex): Fix the returned value
5974 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5976 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5977 Returns string(), so nothing in an ERT inset is spellchecked.
5979 * insetgraphics.C (draw): print the filename if not displaying the
5981 (width): make sure that the width and draw methods are consistent.
5982 (updateInset): don't even load the image into cache if not displaying
5985 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5987 * various files (selectNextWord): renamed as
5988 selectNextWordToSpellcheck.
5990 * insetgraphics.C (draw): remove the previous change. Right place
5991 is in imageLoaderXPM.C.
5992 (draw): don't display the image if params.display == NONE.
5994 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5996 * figinset.C (runqueue):
5997 * insetgraphics.C (draw): set background colour of inset from
5998 background to the user-configurable graphicsbg.
6000 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6002 * insetquotes.C (InsetQuotes): when trying to decide the side of
6003 the quote, choose `left' only after a space or '('
6005 2001-09-04 José Matos <jamatos@fep.up.pt>
6010 * insetcollapsable.h
6028 * insetlatexaccent.C
6029 * insetlatexaccent.h
6034 * insetspecialchar.C
6035 * insetspecialchar.h
6039 * insettext.C (docbook): rename docBook method to docbook.
6041 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6043 * inset.h (getFirstParagraph): New virtual method.
6045 2001-08-20 Herbert Voss <voss@perce.de>
6046 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
6047 in the the bibtex-database-gui for inserting a line
6050 If no style is given than there is no tex-output.
6052 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6054 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6058 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6060 * insetert.C (latex): Fix output for multiple paragraphs.
6061 (write): New code for writing paragraph data.
6062 (read): Set font after reading the inset.
6063 (localDispatch): Call set_latex_font() for more cases.
6065 * insetnote.h: Add empty validate method.
6068 * insetnote.C (InsetNote): Set language to the language of the
6071 2001-08-16 Juergen Vigna <jug@sad.it>
6073 * insettext.C: implemented the new FINISHED states.
6075 * insettabular.C: ditto
6077 * inset.h: added more FINISHED states for cursor right,up,down
6079 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6081 * insetfloatlist.C: use "FloatName List"
6083 2001-08-14 Juergen Vigna <jug@sad.it>
6085 * insetert.C (edit): forgot to set status_ in edit calls!
6087 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6089 * insettext.C: Compilation fix
6091 2001-08-13 Juergen Vigna <jug@sad.it>
6093 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6095 * insetcollapsable.C (edit): don't recollapse an already open inset.
6097 * insettext.C: fixed problem when reinitializing LyXText by not doing
6098 it while lt is in use and post this to the next possible time in
6100 (searchForward): fixed not unlocking of inset if nothing found.
6101 (edit): set cursor behind right (was set -1 pos).
6103 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6105 * insettabular.C (tabularFeatures): fixed fix where deleting the
6106 last row didn't get the right actcell!
6108 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6110 * insettext.C (localDispatch): Change language only when the inset
6113 2001-08-10 Juergen Vigna <jug@sad.it>
6115 * insettabular.C (selectNextWordInt): use the front using edit call.
6117 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6118 the parameter overwrite class variable inset.
6120 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6122 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6123 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6125 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6126 update only for fixed with cells.
6127 (resetPos): try to fix the lockup on spellchecking or s&r.
6129 * insettext.C (update): comment this out as it seems first wrong
6130 and second not needed anymore!
6131 (some functions): call reinitLyXText() only in update() in all other
6132 positions set only need_update = INIT.
6134 2001-08-08 Juergen Vigna <jug@sad.it>
6136 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6138 * insettext.C (insetUnlock): remove double-space on inset unlock.
6140 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6142 * insettabular.C (update): fixed cursor positon after an insert.
6143 (insetAllowed): do not allow to insert insets when not inside the
6145 (draw): clear below an inset too as it could have changed height.
6147 * inset.C (getMaxWidth): fixed width for inset in inset.
6149 * insettext.C (update): small fix.
6151 * insettabular.C (tabularFeatures): added selection support to
6152 DELETE_ROW/DELETE_COLUMN.
6154 2001-08-07 Juergen Vigna <jug@sad.it>
6156 * inset.C (getMaxWidth): recoded and all it's implementations!
6158 * insettext.C (init,setParagraph+constructors): cleanups
6159 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6160 are new and I want do a save/restore of the cursor position which is
6161 not possible anymore.
6163 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6164 (searchBackward): ditto
6165 (selectNextWord): ditto
6167 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6169 * insetlatexaccent.C (checkContents): Add some debug messages
6171 2001-08-07 Juergen Vigna <jug@sad.it>
6173 * insetert.C (read): don't use InsetCollapsable::read as we don't
6174 write the collapsed status anymore only the status.
6177 2001-08-06 Juergen Vigna <jug@sad.it>
6179 * insetert.C (set_latex_font): use LyXText's setFont directly.
6181 * insettext.C (drawFrame): fixed one time more the right position
6182 and size of the frame!
6184 * insetert.C (~InsetERT): hide the dialog.
6185 (showInsetDialog): added implementation
6188 (status): new function for the status of the ERT inset (3-state).
6189 (write): output also the status of the inset for readback!
6190 (read): readback the status if available otherwise use collapsed_.
6192 * insettext.C (edit): small fix of setting the position, which could
6195 * insetert.C (width): implement this function for inlined viewing.
6196 Added minimum width of 10 pixels!
6198 * insetminipage.C (InsetMinipage): just change the colors a bit so
6199 that border/background is a bit more visible. We will remove this
6202 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6203 function for getting the important widths for drawing in various
6204 functions and in LyXText.
6205 (draw): fixed up a bit (frame drawing/clearing)
6207 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6209 * inset.C (convertFont): delete method. not used.
6211 2001-08-03 Juergen Vigna <jug@sad.it>
6213 * insettext.C (setFont): don't call for a draw update if we're just
6214 changing the cursor font!
6216 2001-08-02 Juergen Vigna <jug@sad.it>
6218 * insettext.C (draw): clear the background with the right color if
6219 needed. Update myself if x&max-width changed and return without doing
6220 anything. Let the update code handle the right stuff.
6222 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6223 inside another inset.
6225 2001-08-01 Juergen Vigna <jug@sad.it>
6227 * insetcollapsable.C (update): added an in_update bool so we avoid
6230 * insettabular.C (update): added an in_update bool so we avoid
6233 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6235 (update): added an in_update bool so we avoid reentering.
6237 * insettabular.C (localDispatch): clear col/row selection when doing
6238 something else inside an inset.
6240 * insettext.C (getLyXText): fixed bug when requesting a recursive
6243 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6245 * insetcite.C (latex): Paranoia check. Make sure that there is no
6246 whitespace between the citation keys.
6248 2001-07-31 Juergen Vigna <jug@sad.it>
6250 * inset.h (nodraw): make the set function also const so that this
6251 can be called from inside other const functions.
6253 * insetcollapsable.h: removed inline variable and moved it over
6254 to the only user InsetERT.
6256 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6257 inset opening immediately therein lying insets dialogs!
6259 * insetert.C (localDispatch): set the font also if we don't have any
6260 chars in this paragraph, otherwise if we delete all of em and start
6261 writing we have the wrong font.
6263 (draw): implemented for inline support
6264 (insetButtonRelease): ditto.
6266 2001-07-30 Juergen Vigna <jug@sad.it>
6268 * insettext.C (reinitLyXText): new function to reinit the insets
6269 text after lot's of paragraph changes. Use this instead of the
6270 cache.clear() which is VERY dangerous.
6272 * insetfloat.C (insetButtonRelease): we should only show the dialog
6273 if we press on the label otherwise we have problems to open mouse
6274 button 3 dialogs inside this float (f.ex. of a tabular!)
6276 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6278 * insetert.C: change back to "ERT"
6280 * insetfloat.C: handliign of RMB on label added.
6282 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6284 * insetgraphicsParams.C: #include LOstream.h here.
6286 * insetfoot.h: remove InsetFoot:: qualifier.
6288 2001-07-29 Baruch Even <baruch@lyx.org>
6290 * ChangeLog: Hiding time travel evidence.
6292 * insetgraphicsParams.h:
6293 * insetgraphicsParams.C:
6294 * insetgraphics.C: Added horizontal scale option, it actually
6295 scales both directions since it keeps image proportions.
6297 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6299 2001-07-29 Baruch Even <baruch@lyx.org>
6301 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6302 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6304 HACKY! Will need to add an EPS detection routine like old InsetFig
6307 2001-07-29 Baruch Even <baruch@lyx.org>
6309 * insetgraphics.C: Added EPSI to be an alias of EPS.
6311 2001-07-29 Baruch Even <baruch@lyx.org>
6313 * insetgraphics.C: Change GRAPHICS to Graphics.
6314 Changed image conversion rules (documented at the beginning of file).
6316 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6318 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6321 * insetgraphics.C: added a using std::endl directive.
6323 * insetcommand.h (getScreenLabel): removed pure virtual function,
6324 as it duplicates that in InsetButton.
6326 * insetbib.[Ch] (getScreenLabel):
6327 * insetbutton.[Ch] (getScreenLabel):
6328 * insetcite.[Ch] (getScreenLabel):
6329 * insetert.[Ch] (getScreenLabel):
6330 * insetexternal.[Ch] (getScreenLabel):
6331 * insetfloatlist.[Ch] (getScreenLabel):
6332 * insetinclude.[Ch] (getScreenLabel):
6333 * insetindex.[Ch] (getScreenLabel):
6334 * insetlabel.h (getScreenLabel):
6335 * insetparent.[Ch] (getScreenLabel):
6336 * insetref.[Ch] (getScreenLabel):
6337 * insettoc.[Ch] (getScreenLabel):
6338 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6340 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6342 (validate): remove check on "cite" when using natbib.
6344 2001-07-26 Baruch Even <baruch@lyx.org>
6346 * insetgraphics.C (draw): changed casting to be in one place
6347 rather than all over the function.
6350 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6352 * insetgraphicsParams.h:
6353 * insetgraphicsParams.C:
6354 * insetgraphics.C: Removed inline option and changed rotateAngle
6357 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6359 * insetfoot.C (validate): Added method to ensure that the
6360 right bit of LaTeX is emitted.
6362 * insetfoot.h: Added validate method to set the correct
6363 LaTeXFeatures bit for the special footnote code.
6365 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6367 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6370 2001-07-27 Juergen Vigna <jug@sad.it>
6372 * inset.h: remove not used font variable in parameter.
6373 removed checkInsertChar in UpdatableInset as it was equal to
6374 the one in Inset and so not needed.
6376 * insetert.C (checkInsertChar): implementation of function
6379 * inset.h: added new function checkInsertChar.
6381 * various files: added c-tor and clone() function.
6383 * insetcollapsable.h: removed clone function here as this should
6384 be only realized in REAL insets and added it to all collapsable
6385 insets! (with the copy-constructor).
6387 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6389 * insetminipage.C (read): handle missing parameters more gracefully
6391 * insetcollapsable.C (read): handel missing collapsed more gracefully
6393 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6395 * insetfloat.C (read): handle missing parameters.
6397 * insettext.C (read): handle old latex end_inset
6399 * insetert.C (setButtonLabel): new method
6400 (init): use it, to set the dynamic label correctly
6403 * Makefile.am (EXTRA_DIST): add files that is not part or the
6406 * insetcollapsable.h: remove autocollapsable (no users), remove
6407 draw_label, change_label_with_text and companion code. Remove args
6409 * insetert.[Ch]: move here instead (only user)
6411 * inset.h: rename private variable name to name_, make
6412 selectNextWord return a const string. make getInsetName return a
6413 string const &. Remove bool from open, add close.
6415 * Makefile.am: don't compile insetlist, insetsection
6418 2001-07-24 Juergen Vigna <jug@sad.it>
6420 * insetert.C (InsetERT): put init after the paragraph initialization,
6421 as otherwise we don't set the draw_label right.
6423 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6424 insets with the mouse without having strange selections.
6425 (edit): if the inset was collapsed and we open it here then put the
6426 cursor always at the beginning of the inset.
6427 (get_new_label): 15 instead of 10 max chars in the label.
6429 * insetert.C (localDispatch): added and handle various stuff we
6430 need to handle here (font setting on paragraph break, not permitted
6431 layout setting, etc.).
6433 * inset.h: added default copy-consturctor and implemented this in
6434 various insets with the change to use this in the clone function!
6436 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6438 * insetminipage.C (InsetMinipage): set background color to red :)
6440 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6442 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6443 draw frame mode is LOCKED.
6445 * insetcollapsable.C (edit):
6446 (insetButtonRelease): set update status to full when
6449 * insettext.C (clearInset):
6450 * insettabular.C (draw):
6451 * insetlatexaccent.C (draw): honor background color.
6453 * inset.h: new member background_color_, initialized to
6456 * inset.C (backgroundColor): new method.
6457 (setBackgroundColor): new method.
6459 * insetert.C (init): new method, called by the ctors.
6460 (InsetERT): when inserting contents, make sure the font is
6463 * insetnote.C (InsetNote): when inserting content, remove trailing
6465 (init): set background color to LColor::note
6467 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * insetcollapsable.C: adjust
6471 * insetbutton.C: adjust
6473 2001-07-23 Juergen Vigna <jug@sad.it>
6475 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6476 parameter on the _collapsed function (was not needed) and call
6477 always width_collapsed().
6479 * insetert.C (InsetERT): use setLabel with "true" flag.
6481 * insetcollapsable.C: modified various functions to set the draw_label
6482 string right in any condition.
6483 (setLabel): added a bool parameter to set change_label_with_text.
6485 * insetcollapsable.h: added draw_label string which is set to the
6486 actual drawn label-string, while label is the original static label
6487 of this collapsable inset. Added bool change_label_with_text to set
6488 if we want that the label changes to the start of the InsetText's
6489 text when collabpsed. You can set this flag with the setLabel funciton.
6490 Added bool inlined for inlined collapsable insets, but not handled
6493 * insetcollapsable.C (get_new_label): added should get a new label
6494 from the InsetText beginning (for now 10 chars).
6496 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6498 * insetquotes.C (latex): fix the handling of french double quotes
6499 when not using the french pachage.
6501 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6503 * insetcollapsable.h: make WidthCollapsed mutable.
6505 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6506 InsetPrintIndex returns INDEX_PRINT_CODE.
6508 * inset.h: add INDEX_PRINT_CODE
6510 * insetcollapsable.C (draw): init widthCollapsed if necessary
6513 * insetquotes.C (width): use the local language, not the document
6516 (dispString): add additional spacing for all french languages,
6518 (validate): make it work when there is no default language
6520 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6522 * insetnote.C (init): new method, called by the constructors
6523 (InsetNote): new constructor with contents passed as a string
6525 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6527 * insetfootlike.C (insetAllowed): disallow float in footlike.
6529 * insetert.C (InsetERT): add collapsed argument to the constrctor
6532 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * insetindex.h: shut off warning
6536 2001-07-20 Juergen Vigna <jug@sad.it>
6538 * insetcollapsable.C (update): recoded hopefully works now!
6540 2001-07-19 Juergen Vigna <jug@sad.it>
6542 * most files: implemented the below new introduced function.
6544 * inset.h: added new edit(BufferView *, bool front) method to be able
6545 to enter an inset from the front/back without knowing x/y positions
6546 and baselines inside the inset. So I just can tell the inset activate
6547 me and set the cursor on the front/back of yourself.
6549 2001-07-18 Juergen Vigna <jug@sad.it>
6551 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6552 is given to the InsetText.
6553 (insetButtonPress): ditto
6554 (insetButtonRelease): ditto
6555 (insetMotionNotify): ditto
6557 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6559 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6560 LIGATURE_BREAK, since the name is so stupid.
6562 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6564 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6565 the default InsetCollapsable methods. I.e., it can insert anything.
6566 (write) output the name of the inset, not some silly hack for
6567 compatability with the old InsetInfo.
6569 * insetinfo.[Ch]: removed.
6570 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6571 now collapsable, but functionality is otherwise identical to InsetInfo.
6573 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6575 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6577 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6580 * insetquotes.C: general cleanup
6581 (dispString): add spaces inside french double quotes.
6582 (latex): ditto. Moreover, treat first the case where the frenchb
6583 or french options have been given.
6585 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6587 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6590 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6592 * figinset.C (RegisterFigure): Print debug message only when
6593 current_view is available.
6595 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6597 * many files: update to match the change below
6599 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6600 implement the version which takes an inset here.
6602 * insetcollapsable.[Ch]: implement open and isOpen
6604 * inset.h: remove insertInsetAllowed from Inset
6605 (open): new method, to open or close an inset
6606 (isOpen): returns the status of an inset
6607 (isCollapsable, colapse): removed
6609 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6611 * insetquotes.C (dispString): display french guillemets when using
6614 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6616 * insetcollapsable.h: remove bogus return statements
6618 2001-07-18 Juergen Vigna <jug@sad.it>
6620 * insettabular.C (selectNextWord): fixed spellchecking for the
6621 first cell of a tabular (wasn't entered!)
6622 (getLyXText): changed to enter automatically insettext and return
6623 it's LyXText if we're locked.
6625 2001-07-17 Juergen Vigna <jug@sad.it>
6627 * various files: implemented the below functions.
6629 * inset.h: added functions
6630 - virtual string selectNextWord(BufferView *, float & value) const;
6631 - virtual void selectSelectedWord(BufferView *) { return; }
6632 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6633 needed for spellchecking correctly!
6635 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6637 * insetert.C (latex): write out all paragraphs.
6639 2001-07-17 Baruch Even <baruch@lyx.org>
6641 * insetgraphics.C (draw): Removed unneeded casts.
6643 2001-07-16 Juergen Vigna <jug@sad.it>
6645 * insettext.C (update): fixed small oversight (reset lt to 0).
6647 2001-07-14 Baruch Even <baruch@lyx.org>
6650 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6652 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6654 Consistent use of Lsstream.h:
6655 * figinset.C: removed using std::ostringstream directive.
6657 * insetgraphics.C (createLatexOptions):
6658 * insetinclude.C (unique_id):
6659 std::ostringstream -> ostringstream.
6660 * insettext.C (localDispatch): std::istringstream -> istringstream.
6662 2001-07-13 Juergen Vigna <jug@sad.it>
6664 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6666 * insetcollapsable.C (getLockingInset): ditto.
6668 2001-07-12 Juergen Vigna <jug@sad.it>
6670 * insetcollapsable.h: added implementation of new function for
6673 * various files: added implementation of new insertInsetAllowed-func
6674 and redone the function a bit more.
6676 * inset.h: added isCollapsable(), bool collapsed(),
6677 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6679 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6681 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6682 LyXText which is marked for removal while we're using it!
6684 * insettext.h: added private LyXText * lt to use it to assure we are
6685 not deleting our LyXText while we're using it!
6687 2001-07-11 Juergen Vigna <jug@sad.it>
6689 * insettext.C (insertInset): check if we are before the inset after
6690 inserting it! This check IS needed. Remove the Undo-Call as it is
6691 called in LyXText::insertInset!
6693 * insettext.h: added struct InnerCache.
6695 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6696 that we ONLY delete the LyXText in the getLyXText() routine. So we
6697 are sure we don't delete LyXText while someone is working with it!
6699 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6701 * insetexternal.C: (*it). -> it->
6702 * insettext.C: ditto
6704 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * insetcollapsable.C (edit): always open collapsed insets (even if
6707 they are not autocollapsable)
6709 * insetcommand.C (operator=): simplify.
6711 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * insetert.C (latex): handle META_NEWLINE
6715 2001-07-09 Juergen Vigna <jug@sad.it>
6717 * insetert.h: a normal InsetText can insert insets, but we won't.
6719 * inset.h: return default "false" on insertInsetAllowed and implement
6720 this function where a returnvalue != "false" is needed.
6722 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * insetert.C (InsetERT): new contructor
6726 2001-07-06 Juergen Vigna <jug@sad.it>
6728 * a lot of files: added implementation of the below new functions
6729 and the change to clone(). Also the call of the new undo-functions
6732 * inset.h: added an inset_id, added functions getParFromID,
6733 getInsetFromID, firstParagraph, cursor and id functions, added
6734 bool same_ids to clone function.
6736 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6739 of BufferView * and shared_ptr<LyXText>
6741 2001-07-05 Juergen Vigna <jug@sad.it>
6743 * insettext.C (clear): deleted also the cache not only LyXText.
6744 (setParagraphData): ditto.
6746 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * insetfloat.C (latex): let the specific placement take presedence
6749 if set, otherwise choose document placement if set, otherwise just
6750 use float default placement.
6752 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6754 * insettext.C (localDispatch): call CutAndPaste::'s static method
6757 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * insetbib.C: no meed to include forms.h here.
6761 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6763 * insettext.C: added using std::make_pair directive.
6765 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6767 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6769 (deleteLyXText): ditto
6770 (resizeLyXText): ditto
6772 2001-07-02 Juergen Vigna <jug@sad.it>
6774 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6775 following calls are only returned the right pointer without the over
6776 head to search in the map.
6777 (various funcs): reset the cached_bview variable as this signs that
6778 the cache is not valid anymore.
6780 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6782 * insettabular.C (clone): do not copy the LyXTabular twice
6784 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6786 * insettext.h (TEXT): delete method
6788 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6790 * insetmarginal.C (latex):
6791 * insetfoot.C (latex): fix spacing of notes in LaTeX
6793 * insettext.C (localDispatch): use .c_str() on istringstream
6794 constructor argument.
6796 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6801 * inseturl.C: fix method names in these to begin
6802 with small char too, so they inherit
6804 2001-06-28 Juergen Vigna <jug@sad.it>
6806 * insettext.C (setFont): fixed font settings using toggleFree()
6807 instead of setFont().
6809 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6811 * Change a lot of method names to begin with a small char.
6812 Changes to a lot of files because of this.
6814 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6816 * insetfloatlist.C (Write): std:: qualify ostream
6819 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6823 * insetgraphics.C: send debug output to Debug::INFO instead of
6826 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6829 * insettabular.C (getStatus): update to use func_status
6831 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6833 * insetref.C (DocBook): added support for cross-references without
6836 2001-06-26 The LyX Project <jug@sad.it>
6841 * insetlabel.h: removed escape method and moved it to
6844 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6846 * insettabular.C (getMaxWidth): do the speedup in a different way,
6849 2001-06-24 The LyX Project <Asger>
6851 * insettabular.C (getMaxWidth): We cache a mapping from
6852 inset to cell in order to speed this method up.
6854 2001-06-24 The LyX Project <Asger>
6856 * insettext.C: Optimized InsetText::draw or something.
6858 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6860 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6862 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6864 * inset.h: name change from lyxinset.h
6866 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6868 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6870 2001-06-14 Juergen Vigna <jug@sad.it>
6872 * insettext.C (draw): removed warnings.
6874 2001-06-13 Juergen Vigna <jug@sad.it>
6876 * insettabular.C (nodraw): only go down the tree if we don't have
6877 that flag set otherwise it's obvious that we don't want to draw.
6878 (LocalDispatch): do also an update if we have an undispached result.
6880 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6883 * insetgraphicsParams.C:
6884 * insettext.C: removed // -*- C++ -*- as first line.
6886 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6888 * lyxinset.h (resizeLyXText): shut off warning about unused
6891 2001-06-07 Juergen Vigna <jug@sad.it>
6893 * insettext.C (resizeLyXText): honor the new force flag.
6895 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6897 * insettabular.C (deleteLyXText): new function
6899 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6907 * insetcollapsable.C:
6908 * insetcaption.C: LColor tidy
6910 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6912 * figinset.C: fix typo
6914 2001-06-01 Juergen Vigna <jug@sad.it>
6916 * insettabular.C (resetPos): small hack so that scroll is not set to
6917 0 when we are in the last column of a tabular. This is a problem we
6918 have because of constats 20 offset on both directions, so this can
6919 cause on the limit an endless loop.
6921 * insettext.C (SetFont): forgot that we can have locking insets ;)
6923 2001-05-31 Juergen Vigna <jug@sad.it>
6925 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6927 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6929 * figinset.C: add using std:: directive for the C functions which
6932 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6934 * insetfloat.C (Write): write out wide info
6935 (Read): read the wide info
6936 (Latex): use the wide info when creating latex.
6938 * insettext.C: adjust
6940 * insetgraphics.[Ch] (statusMessage): change to return string
6944 * figinset.C (runqueue): add std::
6947 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6949 * insetcite.C (Ascii): add std:: qualifier
6951 2001-05-28 Juergen Vigna <jug@sad.it>
6953 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6954 a endless-width inset (maxWidth < 0).
6955 (Edit): change language only if not equal.
6957 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6959 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6961 2001-05-16 Juergen Vigna <jug@sad.it>
6963 * insettext.C (selectAll): added
6964 (clearSelection): added
6966 * insettabular.C (SetFont): now we may set a font on a whole selection!
6967 (getSelection): added helper function.
6969 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6971 * insetcite.C (Ascii): Add method.
6973 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6976 * insetbib.C: fix path for OS/2 & Win32
6978 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6980 * insetfoot.C (Latex): don't use % after footnote.
6982 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6984 * insettext.C (Read): use clear
6985 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6987 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * insetfloatlist.h: add a bunch of std:: qualifiers.
6991 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6993 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6994 FLOAT_LIST_CODE, renumber code list.
6996 * insettoc.C (getScreenLabel): remove support for float lists
7000 * insetfloatlist.[Ch]: new files
7002 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
7004 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
7006 * insettabular.C (LocalDispatch):
7007 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
7010 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7012 * insettext.C: remvoe !NEW_INSETS cruft
7014 * insettabular.C: remove !NEW_INSETS cruft
7016 * insetcollapsable.h: remove !NEW_INSETS cruft
7018 * insetbib.C: remove !NEW_INSETS cruft
7020 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7022 * insettoc.C: hack to make listof algorithm work
7024 2001-04-20 Juergen Vigna <jug@sad.it>
7026 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
7028 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * insetquotes.C (Latex): improve the guard against
7031 unwanted !` and ?` ligatures. This should really be done in
7032 another place (to catch all this ligatures at low-level).
7034 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7036 * insettext.C (init): remvoe leftovers from cursor_visible change
7037 (draw): use c++ cast
7038 (LocalDispatch): dispatch LFUN_MESSAGE
7040 * insettabular.C (InsetTabular): remove leftovers from
7041 cursor_visible, and scoped_ptr changes
7042 (draw): use c++ cast
7044 * insetcollapsable.C (draw): use c++ cast
7046 * ExternalTemplate.h: inherit privaely from noncopyable
7047 * insetcommand.h: ditto
7048 * insetinclude.h: ditto
7050 2001-04-16 Allan Rae <rae@lyx.org>
7052 * insettoc.C (Ascii):
7053 * insettext.C (draw):
7054 * insettabular.C (setPos):
7055 * insetminipage.C (Read):
7056 * insetfloat.C (placement):
7057 * insetcaption.C (Ascii, DocBook):
7058 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7059 an unrecognised preprocessor directive. So ensure they're wrapped.
7061 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7064 * insetexternal.C: set view on Clone. Add _ to private members.
7066 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * insettext.C (InsetText): fix new
7069 (InsetText): reindent some, simplify deletion of par list
7070 (clear): simplify deletion of par list, fix new
7071 (SetParagraphData): simplify deletion of par list
7073 * insettabular.[Ch] (getLabelList): implement new method
7075 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7077 * lyxinset.h: do not include gettext.h...
7085 * insetlatexaccent.C:
7089 * inseturl.C: ... and do it here instead
7091 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7093 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7095 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7097 * insetcollapsable.[Ch] (getLabelList): implement
7099 * insettext.[Ch] (getLabelList): implement
7101 * insettext.h: reindent
7103 * insettabular.h: make tabular a scoped_ptr
7105 * insettext.C (init): adjust for cursor_visible
7106 (ToggleInsetCursor): constify asc and desc, font, adjust for
7108 (ShowInsetCursor): constify asc and desc, font, adjust for
7110 (HideInsetCursor): adjust for cursor_visible
7112 * insettabular.C: reindent some
7113 (InsetTabular): adjust for scoped_ptr and cursor_visible
7114 (InsetTabular): ditto
7115 (~InsetTabular): delete delete
7116 (Clone): adjust for scoped_ptr
7117 (Read): constify old_format, adjust for scoped_ptr, move init of
7119 (draw): constify tx, localize loop vars.
7120 some other localization of variables, remove double initilizatons.
7122 * insetfoot.C: remove using std::ostream, add ostream where needed
7124 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7126 * lyxinset.h: some reindentaion, use initializer list for
7128 UpdatableInset: make cursor_visible a private var add
7129 public isCursorVisible(), add protected toggleCursorVisible() and
7130 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7132 * insettoc.C: remvoe using decl
7133 (getScreenLabel): make cmdname donst
7136 (Ascii): don't use endl
7138 * insetfootlike.C: remove using decl at file scope and add std::
7140 * insetmarginal.C: ditto
7142 * insetfoot.C: some reformatting
7144 * insetfloat.C (InsetButtonRelease): adjust the hit area
7146 * insetert.C (SetFont): some reformatting
7148 * insetcollapsable.C: some reformatting and constification
7149 (Clone): comment out.
7150 * insetcollapsable.h: some reformatting
7151 (Clone): comment out.
7156 2001-03-30 Juergen Vigna <jug@sad.it>
7158 * insetcollapsable.h: changen *inset to be a InsetText inset.
7160 * some files: changed to reflect the above change.
7162 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7164 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7165 InsetExternal::Params.
7166 Added operator==() and operator!=() for the Params struct.
7168 2001-03-29 Juergen Vigna <jug@sad.it>
7170 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7173 * insetminipage.C: removed widthp_ and all it's functions and changed
7174 to use new %-lengths of LyXLength.
7176 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7178 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7180 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7182 * insetgraphicsParams.C (operator!=): new function, needed by the
7183 ControlGraphics class.
7185 2001-03-28 Juergen Vigna <jug@sad.it>
7187 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7188 (checkAndActivateInset): don't use the values returned from
7189 call to bv->checkInsetHit.
7191 * insetminipage.C (Clone): set special minipage values.
7193 * insetcollapsable.C (draw): changed to draw the button in the
7194 upper left corner outside the textinset.
7195 (ascent): changed because of different drawing
7199 (InsetButtonPress): ditto
7200 (InsetButtonRelease): ditto
7201 (InsetMotionNotify): ditto
7203 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7205 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7209 2001-03-26 Juergen Vigna <jug@sad.it>
7211 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7213 * insettext.C (ShowInsetDialog): implemented above function.
7215 * insettabular.C (ShowInsetDialog): ditto
7217 * insetminipage.C (ShowInsetDialog): ditto
7219 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7221 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7222 InsetInclude::Params. Don't store a buffer * in Params. Store the
7223 master file name instead.
7225 2001-03-23 Juergen Vigna <jug@sad.it>
7227 * insetcollapsable.C (InsetMotionNotify):
7228 (InsetButtonRelease):
7229 (InsetButtonPress): fixed y-offset (minipages).
7231 * insettext.C (draw): force a FULL update if cleared == true.
7233 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7234 routine to draw the minipages on its position-flag.
7235 (InsetInInsetY): give back the right y position, because of minipage
7238 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7241 * insetfloat.C (DocBook): docbook export code.
7243 2001-03-22 Juergen Vigna <jug@sad.it>
7245 * insetminipage.C (getMaxWidth): added function to set the drawing
7247 (Read): should work now!
7249 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7250 if we create a new inset.
7252 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7254 * figinset.C (fl_set_preemptive_callback): moved definition outside
7257 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7259 * insetminipage.C (Read): prepare for reading of minipage arguments.
7261 2001-03-18 Baruch Even <baruch@lyx.org>
7263 * insetgraphics.C: Minor cleanups of the comments and code.
7265 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7267 * insetminipage.C (InsetMinipage): default to not collapsed
7269 2001-03-16 Juergen Vigna <jug@sad.it>
7271 * insetminipage.C (width): modified with to be a string
7272 (widthp): added widthp (for % width) support functions.
7273 (InsetButtonRelease): added to open the options dialog on button==3.
7274 (~InsetMinipage): added to hide the dialog.
7276 * insetminipage.h: added hideDialog signal
7278 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7280 * insetminipage.h: change the order or Position to match
7281 LyXParagraph::MINIPAGE_ALIGNMENT
7283 * several files: remvoe CXX_WORKING_NAMESPACES
7285 * ExternalTemplate.h: noncopyable is in namespace boost
7286 * insetinclude.h: ditto
7287 * insetcommand.h: ditto
7289 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7291 * insettext.C (Edit): #else# -> #else.
7292 * insettoc.C: added using directive.
7294 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7296 * insetminipage.h: add pos, inner_pos, width and height. + getters
7297 and setters for all of them.
7299 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7301 * insetinclude.C (Latex): Do not exit when the textclass of the
7302 included file differ from the textclass of the parent file.
7304 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7306 * ExternalTemplate.C (read): the reading of external insets now checks
7307 for \end_inset and removes it form the input stream.
7309 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7311 * ExternalTemplate.h:
7312 * ExternalTemplate.C:
7314 * insetexternal.C: move form to GUII
7316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7319 * insetinclude.C: add InsetIncludeParams, use
7320 composition rather than derivation of InsetCommand
7322 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7324 * insettoc.C (Ascii): use the Buffer typedefs
7326 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7328 * insettoc.C (Ascii): implement for dynamic number of lists
7330 * insetcaption.[Ch]: update from new_insets branch
7331 * insetfloat.[Ch]: ditto
7333 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7336 * figinset.C: use new File Dialog
7338 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7340 * insettext.C: changes becuase of ParagraphParameters.
7342 2001-02-28 Baruch Even <baruch@ev-en.org>
7344 * insetgraphics.C (updateInset): Changed due to the change in
7347 2001-02-26 Juergen Vigna <jug@sad.it>
7349 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7350 handled in LyXText).
7352 2001-02-23 Juergen Vigna <jug@sad.it>
7354 * insettext.C (draw): some small repainting fixes.
7355 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7357 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7358 should be) and not an int.
7360 * insettabular.C (LocalDispatch): ditto
7362 * insettext.C (LocalDispatch): ditto
7364 * insetcollapsable.C (LocalDispatch): ditto
7366 2001-02-22 Juergen Vigna <jug@sad.it>
7368 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7369 DISPATCH it and we don't have a locking_inset.
7371 2001-02-21 Baruch Even <baruch@ev-en.org>
7373 * insetgraphics.[Ch]: Changed to use
7374 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7376 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7378 * insetcollapsable.C (getLyXText): add const qualifier to second
7381 2001-02-22 Juergen Vigna <jug@sad.it>
7383 * insettext.C (getLyXText): honor the recursive parameter.
7384 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7386 * inset.C (getLyXText): added bool recursive parameter.
7388 * insettext.C (SetUpdateStatus): or the update codes.
7389 (draw): check need_update with &.
7390 (InsetButtonPress): set no_selection to not put a selection when
7391 entering an inset and it is redraws in another spot.
7393 * insettext.h: made need_update an int.
7395 2001-02-20 Baruch Even <baruch@ev-en.org>
7398 * insetgraphisc.C: Changed to use better semantics when loading images
7399 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7401 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7405 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7406 consistent with InsetTabular.
7408 2001-02-19 Juergen Vigna <jug@sad.it>
7410 * insettabular.C (LocalDispatch): implement PAGE up/down.
7412 * insettext.C (draw): clear all of it on need_update==INIT too!
7414 * insettabular.C (InsetUnlock): always clear the selection.
7416 * inset.C (scroll): normally we only want to scroll the inset until
7417 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7419 2001-02-14 Juergen Vigna <jug@sad.it>
7421 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7422 (resetPos): fixed scroll behaviour.
7423 (LocalDispatch): do an update if moving cursor inside a table cell
7424 requests a scroll of the tabular.
7426 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7428 * insettext.C (textWidth): constify local var
7430 * insettabular.C: small cleanup.
7432 * insetfoot.C (Latex): constify local var
7434 * insetcollapsable.C: small cleanup.
7436 * figinset.C (runqueue): use compare instead of strcmp
7438 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7441 * insetinfo.C: remove cruft
7443 2001-02-14 Juergen Vigna <jug@sad.it>
7445 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7447 2001-02-13 Juergen Vigna <jug@sad.it>
7449 * insettext.C (InsertInset): don't move left (is this right?)
7451 * insettabular.C (LocalDispatch): use of the no_draw variable
7453 * insettabular.h: new no_draw variable to stop redraw
7455 * insettabular.C (TabularFeatures): fixed update for alignment change
7457 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7461 * insetbib.C: move dialogs to frontends/
7463 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7465 * insettext.C (LocalDispatch): Restore the language if the inset
7468 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7470 * insettext.C (moveRightIntern): Update the selection cursor.
7471 (moveLeftIntern): Ditto.
7473 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7475 * Makefile.am: remove BoundingBox.h
7477 * BoundingBox.h: removed
7479 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7481 * insettext.C (LocalDispatch): Update selection cursor when moving
7482 cursor to the right.
7483 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7484 (moveLeftIntern): Ditto.
7486 2001-02-05 Baruch Even <baruch.even@writeme.com>
7488 * insetgraphics.C: Updated automatic image conversion, it now goes into
7489 temporary directory instead of with the image itself.
7491 2001-01-21 Baruch Even <baruch@ev-en.org>
7493 * insetgraphics.C: Added Docbook support. Added Automatic image
7494 conversion to EPS or PNG when needed (support bitmap graphics).
7496 2000-11-02 Baruch Even <baruch@ev-en.org>
7499 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7500 to '\n' and removal of commented out code.
7502 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7504 * insetbib.C (callback): Update citations if the key has changed.
7506 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7508 * insetbib.C (InsetBibKey): Better computation of default key.
7509 (getScreenLabel) Show both the key and the label.
7510 (getBibLabel): New method.
7511 (callback): Force a redraw if the inset have been changed.
7513 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7515 * insetref.C (getType, getName): Move methods from
7516 src/frontends/xforms/FormRef.C.
7518 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7520 * insettabular.C: Various improvements (use only one dummy position).
7522 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7524 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7525 par->bibkey->width. This fixes the crashes when running without
7526 gui or when having included documents.
7528 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7530 * insetcommand.C (getAsString, setFromString): Cleanup.
7532 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7534 * insetref.C: Add the array InsetRef::types that contains
7535 information about all supported reference types.
7537 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7539 * lyxinset.h: remove trailing comma in enum.
7541 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7543 * insettext.C: kill LyXBell.