1 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * Most insets: rename priv_dispatch to doDispatch
5 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * insettabular.C (tabularFeatures): fix multicolumn handling
9 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
11 * render_base.h (operator=): use common semantics
13 * insettext.C (operator=): delete this
14 (copy constructor): implement this properly
15 (init): use for_each and bind
17 (appendParagraphs): ditto
19 * insettabular.C: add more const. Adjust for changes in tabular.
21 * insetbase.h: Use NVI on clone. Add virtual doClone and update
22 all children, also make copy constructor protected. Added some
25 * insets: adjust to fit.
27 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * insetoptarg.C (latexOptional): return number of lines instead of
32 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * insettabular.[Ch] (string2params): Don't pretend to return the
35 active cell anymore and simplify keyword parsing.
37 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * insetlatexaccent.h (isLetter): implement, so that word selection
40 takes accents into account.
42 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
44 * insetcollapsable.C (priv_dispatch): do not push the inset to the
47 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
49 * ExternalSupport.C, insetgraphics.C:
50 s/getFormatFromContents/formats.getFormatFromFile/
52 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * insetcharstyle.[Ch]:
55 * insetert.[Ch]: implement getStatus
57 * insetcharstyle.C (draw): visual clue when the cursor is inside
60 2004-11-02 José Matos <jamatos@lyx.org>
62 * insetcharstyle.C (docbook):
63 * insetlabel.C (linuxdoc, docbook):
64 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
67 * insettabular.C (docbook): mixed content no longer belongs to
70 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
72 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
74 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
76 * ExternalSupport.C (updateExternal): convert files in the temp dir
78 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * insetcharstyle.C: drawing cosmetics.
82 2004-10-30 José Matos <jamatos@lyx.org>
84 * insetcharstyle.C (docbook): a compromisse solution. Don't output
85 paragraph tags inside inline elements.
87 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
90 InsetText methods rather than outputVerbatim (escapes special
91 characters) [bug 1731]
92 * insetcharstyle.C (outputVerbatim): remove this function.
93 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
94 which caused an infinite loop.
96 2004-10-29 José Matos <jamatos@lyx.org>
98 * insetgraphics.C (uniqueID): transfered to sgml.C
100 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
102 * insetlabel.C (docbook, linuxdoc):
103 * insetref.C (docbook, linuxdoc): sanitize id.
105 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
107 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
108 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
109 * insetgraphics.C (findTargetFormat): reformat
111 2004-10-28 José Matos <jamatos@lyx.org>
113 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
115 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
119 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
122 "[,,,]" without warning message
124 2004-10-26 Angus Leeming <leeming@lyx.org>
126 * ExternalSupport.C (updateExternal):
127 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
128 external files to the temp directory.
130 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
133 layouts. This fixes problems with the memoir class (which does not
134 allow \footnote) [bug 1677]
136 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
138 * insetindex.C (docbook): escape the index, to generate correct sgml.
140 2004-10-23 José Matos <jamatos@lyx.org>
142 * insettext.C (docbook): rearrange arguments, due to change in the
145 2004-10-23 André Pönitz <poenitz@gmx.net>
147 * insettabular.C (cutSelection, tabularFereatures):
148 fix cursor position after cutting selection or table rows
150 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
152 * insetgraphics.C (docbook, writeImageObject): write more than one
153 format of imageobjects in <mediaobject>.
155 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
157 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
158 DocBook output for this inset ( <citation>content</citation> )
160 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
162 * insetgraphics.C (docbook) : using mediaobject for XML;
163 correcting bug with SGML output (now '>' instead of '/>')
165 2004-10-05 José Matos <jamatos@lyx.org>
167 * insetfloatlist.C (read):
168 * insetquotes.C (read):
169 * insetspace.C (read):
170 * insetspecialchar.C (read):
171 * insettabular.C (read): replace nextToken by more appropriate lex
174 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
176 * insetgraphics.C (createDocBookAttribute, docbook) :
177 convert scale, width, height and keepaspectratio to Docbook standards)
179 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
180 to Docbook units where possible.
182 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
184 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
186 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
187 as attributes with new method for docbook.
189 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * render_preview.h: Use preferred calling of Boost.Signal
193 * pch.h: use proper signal include
195 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * ExternalTransforms.h: User preferred calling of Boost.Function
199 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
201 * insetref.C (docbook): fixing problem where Docbook XML output
202 had unclosed <xref ... >
204 2004-08-16 José Matos <jamatos@lyx.org>
206 * insethfill.C (write):
207 * insetline.C (write):
208 * insetnewline.C (write):
209 * insetpagebreak.C (write): remove space at end of line.
211 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * insettabular.C (plaintext): do not use ownerPar to get the
216 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
217 and it calls getParentLanguage (which calls ownerPar)
218 (edit): do not call sanitizeEmptyText
219 (priv_dispatch): remove code resetting font on empty inset, for
220 the same reasons as above.
222 * insettabular.C (isRightToLeft): instead of using
223 BufferView::getParentLanguage, use the data from the cursor
225 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * Makefile.am: support pch
231 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * insettabular.C (draw): whitespace
235 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
237 2004-08-14 André Pönitz <poenitz@gmx.net>
239 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
241 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * insettabular.C (metrics): when the width of a cell is zero(),
244 let it use as much space as it can
246 * insettext.C (editXY): compilation fix
248 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
250 (metrics): the insets is not full width any more.
251 (draw): adjust; fix bad test for PREVIEW_OFF
252 (add_preview): fix bad test for PREVIEW_OFF
253 (display): do not return true when using \input
255 2004-08-14 José Matos <jamatos@lyx.org>
257 * insetbibitem.[Ch] (plaintext): added.
259 * insetcite.[Ch]: fix plaintext export.
261 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
263 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
266 * insetcaption.C (InsetCaption): modify call to setDrawFrame
267 * insetcollapsable.C (InsetCollapsable): ditto
268 * insetenv.C (InsetEnvironment): ditto
270 2004-08-14 André Pönitz <poenitz@gmx.net>
273 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
275 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * insetoptarg.C (latexOptional): if the optional argument contains
278 a ']' enclose it in {curly brackets}
280 * insettext.C (editXY):
281 * insettabular.C (editXY):
282 * insetcollapsable.C (editXY):
283 * insetbase.C (editXY): constify
285 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
286 not ask for an update if we did nothing; on a mouse release, make
287 sure that the cursor is moved to the right position; on a mouse
288 release, exit from the inset instead of invoking a
291 * insetbase.C (dispatch): before invoking dispatch, set cursor
292 result to dispatch=update=true.
294 2004-08-13 José Matos <jamatos@lyx.org>
296 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
298 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * insetfoot.C (latex): use OutputParams::intitle instead of
301 parOwner() (avoids time consuming lookup)
303 * insetquotes.C (latex): same as above with OutputParams::lang.
304 Moreover the code actually works now.
306 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
308 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
309 * insetinclude.C, insetgraphics.C, insetfloat.C:
310 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
311 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
312 "support/std_sstream.h" to <sstream>
314 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
316 * insetgraphics.C (prepareFile): remove conversion_needed flag.
317 It made the following fail for a .eps graphics file:
319 2) view->pdf (pdflatex)
320 because the .eps file was already in the temp dir when the pdflatex
321 export happened and therefore no .eps -> pdf conversion was done.
323 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * insetgraphics.C, insettabular.C: s/wether/whether/g
327 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * insetgraphics.C (stripExtension): new
330 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
332 * insetgraphics.C (prepareFile): Handle "nice" exports, too
333 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
335 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * insetfloatlist.C (latex,getScreenLabel): translate according to
338 the document language (bug #1312)
340 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
342 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
343 with external_in_tmpdir and compute filename ourself
344 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
345 use it to store referenced file(s)
346 * ExternalSupport.C (writeExternal): write relative filename if
348 * ExternalTemplate.[Ch]: add ReferencedFile command
349 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
351 * insetgraphics.C (prepareFile): write relative filename if
353 * insetinclude.C (latex, docbook, linuxdoc): add file to
354 runparams.exportdata and write it to the temp dir instead of
355 writing it to the final destination
356 * insetinclude.C (docbook, linuxdoc): don't copy runparams
358 2004-05-19 Angus Leeming <leeming@lyx.org>
360 * insetcite.[Ch]: small change because namespace biblio is
361 now namespace lyx::biblio.
363 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
365 * insettabular.[Ch] (buffer): make Buffer * argument const
367 2004-05-17 Angus Leeming <leeming@lyx.org>
369 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
370 to force the button label to be re-generated.
372 2004-05-14 José Matos <jamatos@lyx.org>
374 * insetlabel (docbook): do not ouput label, for the moment.
376 2004-05-14 Angus Leeming <leeming@lyx.org>
378 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
379 new biblio::asValidLatexString function.
381 2004-05-12 Angus Leeming <leeming@lyx.org>
383 * insetcite.C: use BufferParams::cite_engine rather than the three
384 bools, use_natbib, use_jurabib, use_numerical_citations.
386 2004-05-10 Angus Leeming <leeming@lyx.org>
388 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
389 Ditto with getStyle, moved to biblio::getEngine.
391 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * insetgraphics.C (validate): remove pre 233 file format stuff,
394 handle zipped files for "nice" export
396 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * insetgraphics.C (prepareFile): copy zipped file and corresponding
399 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
400 * insetgraphics.C (prepareFile): unzip zipped file also if it has
401 changed since the last run
402 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
403 and copyFileIfNeeded.
405 2004-04-29 Angus Leeming <leeming@lyx.org>
407 * ExternalTemplate.[Ch]: remove redundant #includes.
409 2004-04-28 Angus Leeming <leeming@lyx.org>
412 s/updateToolbar()/updateToolbars()/
414 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * insetgraphics.C: require file extension (file format change!)
417 * insetgraphics.C (latex): handle zipped files for "nice" export
419 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * insetgraphics.C (latex): strip the extension and replace dots in
422 the filename if doing a "nice" export. This is a partial fix for
423 bug 1231 without reintroducing bug 655.
425 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * insetoptarg.h: remove the editable() method (InsetCollapsable
428 does it better already)
430 * insetbibtex.C (normalize_name): new helper function. Changes the
431 name to be suitable to use in a latex file (relative to master
432 buffer if necessary).
433 (latex): use normalize_name.
435 2004-04-20 Angus Leeming <leeming@lyx.org>
437 * render_preview.C (startLoading): remove lyxerr statement.
439 (getPreviewLoader): new helper function.
441 2004-04-19 Angus Leeming <leeming@lyx.org>
445 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
447 2004-04-19 Angus Leeming <leeming@lyx.org>
449 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
451 (add_preview): renamed as add_preview_and_start_loading. Invoke
452 RenderPreview::startLoading.
454 * insetinclude.C (metrics, draw): changes due to the changed
455 RenderPreview interface.
457 * render_preview.C: remove cached pimage_.
458 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
459 (draw): don't call startLoading. That's up to the user of
462 2004-04-16 Angus Leeming <leeming@lyx.org>
464 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
466 2004-04-13 Angus Leeming <leeming@lyx.org>
468 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
469 the renderer to inform LyX::updateInset that the inset's status
470 has changed and it should be redrawn.
472 * render_button.[Ch] (clone):
473 * render_graphic.[Ch] (c-tors, clone):
474 * render_preview.[Ch] (c-tors, clone): ditto.
476 * render_graphic.[Ch] (connect):
477 * render_preview.[Ch] (connect): removed, as connection is now
478 made in the constructors.
482 * insetinclude.C: ensuing simplification of the client code.
483 (statusChanged): now superfluous. Removed.
485 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * ExternalTemplate.[Ch]: remove editCommand
488 * ExternalSupport.C (editExternal): use formats.edit() instead of
489 the removed editCommand template parameter
490 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
491 * insetgraphics.[Ch] (editGraphics): new method
493 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
495 * insetinclude.C (validate): set/reset features.buffer_ when
498 2004-04-07 Angus Leeming <leeming@lyx.org>
500 * insetexternal.C (priv_dispatch):
501 * insetinclude.C (priv_dispatch): prevent crash by invoking
502 InsetOld::priv_dispatch at the end of the switch, rather than
503 InsetOld::dispatch...
505 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
507 * insetcollapsable.C:
508 * insetbranch.C: 'assign' to open/close branch inset according to
509 selection; also print content on closed branch button
511 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
514 $$RelPath_Master, $$RelPath_Parent, $$Extension,
515 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
517 * ExternalSupport.C (updateExternal): use absolute and output
518 filename where appropriate
520 2004-04-05 André Pönitz <poenitz@gmx.net>
522 * insetbase.h: use LCursor & in notifyCursorLeave
524 2004-04-05 Angus Leeming <leeming@lyx.org>
526 * insetgraphics.C: remove unused header file "lyxrc.h".
528 * render_graphic.C: squash bug 1372: Misleading graphics label when
529 deactivating lyx view.
531 2004-04-05 Angus Leeming <leeming@lyx.org>
536 * insetlatexaccent.C:
541 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
543 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
545 * insetfloat.C (read): fix yesterday's float fix.
546 * insetwrap.C (read): apply the fixed float fix.
548 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
550 * insetfloat.C (read): fix reading of float params
553 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
555 * insettext.C (edit): comment the call to updateLocal (dangling now)
556 * insettext.h: add allowSpellCheck() returning true
558 2004-03-31 Angus Leeming <leeming@lyx.org>
560 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
562 2004-03-31 Angus Leeming <leeming@lyx.org>
564 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
565 the cursor out of an inset.
567 * insetbranch.C (priv_dispatch):
568 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
569 use getOutOfInset to push the cursor out of the inset when
572 2004-03-30 Angus Leeming <leeming@lyx.org>
574 * insetbase.[Ch] (translate): new static member function, returns
575 an InsetBase::Code corresponding to the input string.
577 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
579 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
580 so that it opens the inset if it refers to the currently active
583 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
585 * insetfloat.C (addToToc): use par_const_iterator_begin and
586 par_const_iterator_end.
588 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
590 * insetbibtex.[Ch]: bibtopic support.
592 * insetfloat.[Ch]: add param \sideways {true|false}
593 (support for sideways floats from rotating.sty).
595 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
597 * insettext.[Ch]: add a default ctor. implement const version of
603 * insetwrap.C: adjust
605 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
607 * insettext.h: add insetAllowed returning true by default (fixing
608 vanishing insets problem)
610 * insettext.C (draw): handle the responsability of adding the
611 ouside offset to collapsable. Clean code a bit.
613 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
614 from insettext correctly, solve a couple of off-by-one drawing
617 2004-03-25 Angus Leeming <leeming@lyx.org>
619 * insetcaption.C (draw): squash warning about unused variable.
621 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
623 * ExternalSupport.C: use the master buffer's temp dir
624 * insetgraphics.C (latex): make relative filename relative to the
626 * insetgraphics.C: use the master buffer's temp dir
627 * insetinclude.C (masterFilename): new function
628 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
629 is always true if loadIfNeeded() returns true)
631 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
633 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
634 set its parent to the current buffer.
635 (latex): use the tmppath of the master buffer, not just the parent
636 buffer (makes a difference with more than one level of include
637 insets). If the file name is relative write in the .tex file a
638 name relative to the master buffer directory.
640 * insetinclude.C: rename masterFilename to parentFilename (this
641 points to the direct parent)
643 2004-03-25 André Pönitz <poenitz@gmx.net>
645 * inset.[Ch]: remover owner
647 * insetcollapsable.[Ch]: derive from InsetText instead having such a
655 * insetcharstyle.[Ch]:
663 * insetwrap.C: adjust
665 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
667 * insetquote.C: use opening quote after '[' char.
669 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
671 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
674 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * insetcite.[Ch]: support jurabib.
678 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
680 * insetcite.C: Support second \cite option.
683 * insetcommandparams.[Ch]: add second optional argument.
685 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
687 * insetcollapsable.C (lfunMouseRelease): right mouse button only
688 shows the inset dialog.
690 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
692 * insetlabel.[Ch]: remove them
693 * Makefile.am: adjust
695 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
697 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
699 * insetinclude.C (latex): show a GUI warning if textclasses don't
701 * insetinclude.C: use mangledFilename() for temp files
702 * insetgraphics.C (readInsetGraphics): remove version check, since
703 the graphics inset has no own fileformat number anymore
705 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
707 * insetquotes.[Ch]: added new member that allows direct access
708 to single/double quotation marks.
710 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
712 2004-02-16 André Pönitz <poenitz@gmx.net>
715 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
716 implicitly assume 'DispatchResult(true, true) with exception of
717 InsetBase::priv_dispatch which does the equivalent of
718 'retrun DispatchResult(false)'
720 * inset*.[Ch] (priv_dispatch): adjust
722 * insettabular.[Ch]: remove remains of the 'update' mechanism,
723 simplify cursor moving function,
724 re-enable horizontal scrolling for large tables
726 2004-02-13 André Pönitz <poenitz@gmx.net>
728 * insettabular.[Ch]: some work after IU
730 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
732 * inset.C (setPosCache): switch to absolute coords in insets
733 * insettext.[Ch] (draw, drawFrame): adjust
734 * insetcollapsable.C (draw): adjust
737 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
739 * insettext.C (edit):
740 (updateLocal): use the cur argument instead of the global cursor
741 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
743 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
745 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
747 * insetfloat.C (validate): "H" -> 'H' in call to contains
749 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
751 2004-01-30 André Pönitz <poenitz@gmx.net>
755 * insetcollapsable.[Ch]:
758 * insetgraphics.[Ch]:
763 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
766 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
768 * insettabular.C: add using statement for std::vector, remove
769 std:: where using was already used.
771 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
773 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
775 * insetinclude.C (validate): use feautures.nice() instead of
778 2004-01-20 André Pönitz <poenitz@gmx.net>
781 * insetbase.[Ch]: move stuff from mathcursor here.
787 * insetcharstyle.[Ch]:
788 * insetcollapsable.[Ch]:
791 * insetexternal.[Ch]:
793 * insetgraphics.[Ch]:
802 * updatableinset.[Ch]: Adjust to IU changes (see comment in
805 2004-01-15 André Pönitz <poenitz@gmx.net>
812 * insetcharstyle.[Ch]:
813 * insetcollapsable.[Ch]:
816 * insetexternal.[Ch]:
818 * insetgraphics.[Ch]:
827 * updatableinset.[Ch] (priv_dispatch et al): change signature.
829 2004-01-08 André Pönitz <poenitz@gmx.net>
831 * insetcollapsable.[Ch]:
834 * updatableinset.h: use cell index info from global cursor.
836 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
838 * insetnote.C (InsetNoteParams::write): write label only once
840 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
842 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
844 get rid of the SameName functor
846 * insettabular.C: improve the functor.
848 2003-12-29 Angus Leeming <leeming@lyx.org>
850 * insetexternal.C (setParams): update defaultTemplateName.
852 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
854 * insetbox.C: Use term "Box" in button label
856 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
858 * insetcharstyle.C: get getDrawFont working again
860 2003-12-15 André Pönitz <poenitz@gmx.net>
863 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
865 2003-12-12 Angus Leeming <leeming@lyx.org>
867 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
869 (InsetBranchParams): remove the branchlist hack.
870 (isBranchSelected): new function, used to decide whether to
871 print each output format. Also used by InsetList.
872 (read, string2params): repair my own breakage ;-)
874 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
876 * insetminipage.[Ch]: remove from repository.
878 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
881 * insetcollapsable.[Ch]: Move all CollapseStatus code from
882 insetert to insetcollapsable; introduce virtual function
883 setButtonLabel and invoke it from collapsable
885 2003-12-12 Angus Leeming <leeming@lyx.org>
887 * insetinclude.C (draw): cache x,y and so enable the
890 2003-12-12 Angus Leeming <leeming@lyx.org>
892 * mailinset.C (print_mailer_error): tidy up the output.
894 2003-12-11 Angus Leeming <leeming@lyx.org>
896 * mailinset.[Ch] (print_mailer_error): new helper function.
898 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
899 calling InsetCommandMailer.
900 (InsetCommandMailer::string2params): pass the name of the dialog.
902 * insetbibitem.[Ch] (d-tor):
903 * insetbibtex.[Ch] (d-tor):
904 * insetcite.[Ch] (d-tor):
905 * insetfloatlist.[Ch] (d-tor):
906 * insetindex.[Ch] (d-tor):
907 * insetlabel.[Ch] (d-tor):
908 * insetref.[Ch] (d-tor):
909 * insettoc.[Ch] (d-tor):
910 * inseturl.[Ch] (d-tor): removed.
911 Hiding the dialog is handled by InsetCommand.
913 * insetbibtex.[Ch] (draw, metrics):
914 * insetfloatlist.[Ch] (draw, metrics):
915 * insetindex.[Ch] (draw, metrics): removed.
916 Drawing is handled by InsetCommand.
918 * insetbibitem.[Ch] (priv_dispatch):
919 * insetbibtex.[Ch] (priv_dispatch):
920 * insetcite.[Ch] (priv_dispatch):
921 * insetfloatlist.[Ch] (priv_dispatch):
922 * insetindex.[Ch] (priv_dispatch):
923 * insetlabel.[Ch] (priv_dispatch):
924 * insettoc.[Ch] (priv_dispatch):
925 * inseturl.[Ch] (priv_dispatch): removed or simplified.
926 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
927 LFUN_INSET_DIALOG_SHOW.
929 * insetbox.C (string2params):
930 * insetbranch.C (string2params):
931 * insetert.C (string2params):
932 * insetexternal.C (string2params):
933 * insetfloat.C (string2params):
934 * insetinclude.C (string2params):
935 * insetminipage.C (string2params):
936 * insetnote.C (string2params):
937 * insetvspace.C (string2params):
938 * insetwrap.C (string2params): over-hauled.
940 2003-12-10 Angus Leeming <leeming@lyx.org>
942 * insetexternal.[Ch]: add a draft option and respect it when
945 2003-12-10 Angus Leeming <leeming@lyx.org>
947 * insetbox.C: (read, write): now prepend the inset contents with
948 'Box' to identify the inset as a box inset.
950 * insetbox.h: move the translators out of sight.
952 2003-12-10 Angus Leeming <leeming@lyx.org>
954 * insetert.C (string2params): clean-up using the new lyxlex interface.
956 * insetexternal.C: ensure that InsetExternalParams has a default
957 template, 'RasterImage'.
959 2003-12-10 Angus Leeming <leeming@lyx.org>
961 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
962 to an enum. Ensuing clean-ups through out the class.
963 (read, write): now prepend the inset contents with 'Note' to identify
964 the inset as a note inset.
966 2003-12-10 Angus Leeming <leeming@lyx.org>
968 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
969 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
971 2003-12-10 André Pönitz <poenitz@gmx.net>
976 * insettext.[Ch]: remove unused insetInset()
978 * insetert.C: disable some LFUNs
980 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
982 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
984 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
986 2003-12-04 Angus Leeming <leeming@lyx.org>
988 * insetexternal.C (draw): update the xo_, yo_ cache.
990 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
992 (RotationDataType): new helper struct wrapping the
993 RotationData::OriginType enum.
995 2003-12-03 André Pönitz <poenitz@gmx.net>
997 * inset.h: remove getParagraphs()
999 * insetcollapsable.[Ch]:
1002 * insettabular.[Ch]:
1003 * insettext.C: use getText() instead of getParagraphs()
1005 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1007 * insetert.C: fix label text updating bug
1009 2003-12-02 Angus Leeming <leeming@lyx.org>
1011 * insetvspace.[Ch] (space): new member function. Make space_ private.
1012 (read): use the new, simpler lyxlex syntax.
1014 2003-12-01 André Pönitz <poenitz@gmx.net>
1016 * insetcollapsable.[Ch]:
1017 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1019 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * insetvspace.C (read): handle 'end_inset' token.
1023 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1025 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1027 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1029 * insetcollapsable.[Ch]:
1031 * insetcharstyle.C: place inset content on the button when
1034 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1036 * insetvspace.C: remove VSpace::NONE; increase inset width
1038 2003-12-01 André Pönitz <poenitz@gmx.net>
1040 * insetbase.h: whitespace
1042 * inset.[Ch]: remove latexTextWidth
1043 make setBackgroundColor virtual
1045 * insettext.[Ch]: move ParagraphList member to LyXText
1047 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1053 * insetminipage.[Ch]:
1055 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1057 2003-11-28 Angus Leeming <leeming@lyx.org>
1059 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1060 hiding and showing the dialog respectively.
1061 (priv_dispatch): also actually update the inset contents.
1063 2003-11-28 Angus Leeming <leeming@lyx.org>
1065 * insetbox.C (d-tor):
1066 * insetbranch.C (d-tor):
1067 * insetcite.C (d-tor):
1068 * insetfloat.C (d-tor):
1069 * insetfloatlist.C (d-tor):
1070 * insetinclude.C (d-tor):
1071 * insetindex.C (d-tor):
1072 simplify the invocation of the Mailer::hideDialog() function.
1074 * insetminipage.C (showInsetDialog):
1075 simplify the invocation of the Mailer::showialog() function.
1077 2003-11-28 André Pönitz <poenitz@gmx.net>
1080 * insetvspace.[Ch]: new insets
1082 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1084 * insetcharstyle.C: Syntax change for CharStyles
1086 2003-11-28 André Pönitz <poenitz@gmx.net>
1088 * updatableinset.h: remove insetInInsetY
1090 * insetcollapsable.[Ch]:
1092 * insettabular.[Ch]:
1093 * insettext.[Ch]: adjust
1095 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1099 * insetcollapsable.[Ch]:
1101 * insettabular.[Ch]: remove setFont
1103 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1105 * render_graphic.[Ch]: adjust comments
1107 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1109 * insetgraphics.C (draw): cache xo_ & yo_
1111 2003-11-24 André Pönitz <poenitz@gmx.net>
1113 * insettext.C (setViewCache): don't call LyXText::init() anymore
1115 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1118 * insetcollapsable.[Ch]:
1119 * insetert.[Ch]: remove bufferview parameter in methods
1120 open, close, status, and updateStatus.
1122 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1124 * insetcollapsable.[Ch]:
1125 * insettabular.[Ch]:
1126 * insettext.[Ch] (getCursorDim): squash unused variable
1128 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1130 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1132 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1134 * insettext.C (draw): sets LyXText absolute coordinates
1136 2003-11-20 Angus Leeming <leeming@lyx.org>
1138 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1139 warnings about unused parameters.
1141 * insetcollapsable.C (open):
1142 * insettabular.C (pasteSelection):
1143 * insettoc.C (draw): ditto.
1145 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1147 * insetcollapsable.C:
1149 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1150 remove mouse_x mouse_y etc.
1152 2003-11-17 André Pönitz <poenitz@gmx.net>
1154 * insettext.[Ch] (cx, cy): remove
1156 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1158 2003-11-13 André Pönitz <poenitz@gmx.net>
1161 * insetcollapsable.[Ch]:
1162 * insettabular.[Ch]:
1163 * insettext.[Ch] (deleteLyXText): remove
1165 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1167 * insetcollapsable.[Ch] (fitInsetCursor): remove
1168 * insettabular.[Ch] (fitInsetCursor): remove
1169 * insettext.[Ch] (fitInsetCursor): remove
1170 * updatableinset.[Ch] (fitInsetCursor): remove
1171 (getCursorDIm): add virtual
1173 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1175 * src/insets/Makefile.am:
1176 * src/insets/inset.h:
1177 * src/insets/insetcharstyle.C:
1178 * src/insets/insetcharstyle.h: The Character Style /XML short
1181 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1183 * insettext.C: remove all update calls
1184 * insetcollapsable.C: remove all update calls
1186 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1188 * insettext.C (updateLocal, insertInset, setFont): remove
1191 2003-11-10 André Pönitz <poenitz@gmx.net>
1193 * inset.h: remove Inset::id_
1195 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1200 2003-11-10 André Pönitz <poenitz@gmx.net>
1204 * insetcollapsable.[Ch]:
1208 * insettabular.[Ch]:
1211 * updatableinset.[Ch]: remove inset locking & adjust
1213 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1215 * inset.h (allowSpellCheck): add (return true)
1216 * insetert.h (allowSpellCheck): add (return false)
1218 2003-11-05 José Matos <jamatos@lyx.org>
1224 * insetcaption.[Ch]:
1226 * insetcollapsable.[Ch]:
1227 * insetcommand.[Ch]:
1230 * insetexternal.[Ch]:
1232 * insetfloatlist.[Ch]:
1234 * insetgraphics.[Ch]:
1236 * insetinclude.[Ch]:
1239 * insetlatexaccent.[Ch]:
1242 * insetmarginal.[Ch]:
1243 * insetminipage.[Ch]:
1244 * insetnewline.[Ch]:
1247 * insetpagebreak.[Ch]:
1251 * insetspecialchar.[Ch]:
1252 * insettabular.[Ch]:
1254 * insettheorem.[Ch]:
1257 * insetwrap.[Ch]: rename ascii to plaintext
1258 and LatexRunParams to OutputParams.
1260 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1262 * insetcollapsable.C (edit): add open() all
1263 * insettext.C (edit): add setViewCache call
1265 2003-11-04 André Pönitz <poenitz@gmx.net>
1267 * inset.h (edit): move locking code from dispatch() to edit()
1273 * insetcollapsable.[Ch]:
1276 * insetexternal.[Ch]:
1277 * insetgraphics.[Ch]:
1282 * insettabular.[Ch]:
1283 * insettext.[Ch]: adjust
1285 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1288 * insetcollapsable.[Ch]:
1290 * insettabular.[Ch]:
1292 * updatableinset.[Ch]: remove dead search code
1294 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1297 * insetcollapsable.[Ch]:
1299 * insettabular.[Ch]:
1301 * updatableinset.[Ch]: remove dead spellcheck code
1303 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1305 * insettabular.C (lockInsetInInset): small fix
1307 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1310 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1311 from here. Be stricter on DispatchResult returned.
1313 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * Inset::dispatch's: adjust for new DispatchResult semantics.
1317 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * render_base.h: make clone return an auto_ptr
1320 * render_button.C (clone): adjust
1321 * render_graphic.C (clone): adjust
1322 * render_preview.C (clone): adjust
1324 * insettheorem.C (clone): return an auto_ptr
1326 * insettext.C (priv_dispatch): exception safety
1328 * insettabular.C: store the file scope variable paste_tabular in a
1329 scoped_ptr, adjust usage.
1331 * insetexternal.C (setParams): exception safety
1333 * insetbibitem.C (clone): exception safety
1335 2003-11-03 André Pönitz <poenitz@gmx.net>
1338 * insetcollapsable.[Ch]:
1339 * insettabular.[Ch]:
1340 * insettext.[Ch]: remove Inset::id and related functions
1342 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * insets: adjust for DispatchResult changes.
1346 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1348 * insetpagebreak.C: fix screen representation & ascii output.
1350 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1354 * insettabular.[Ch]:
1355 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1357 2003-10-31 José Matos <jamatos@lyx.org>
1359 * inset.h (ascii, linuxdoc, docbook):
1360 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1361 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1362 * insetcaption.[Ch] (ascii, docbook):
1363 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1364 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1365 * insetert.[Ch] (ascii, linuxdoc, docbook):
1366 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1367 * insetfloat.[Ch] (linuxdoc, docbook):
1368 * insetfloatlist.[Ch] (ascii):
1369 * insetfoot.[Ch] (docbook):
1370 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1371 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1372 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1373 * insetindex.[Ch] (docbook):
1374 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1375 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1376 * insetline.[Ch] (ascii, linuxdoc, docbook):
1377 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1378 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1379 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1380 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1381 * insetref.[Ch] (ascii, linuxdoc, docbook):
1382 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1383 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1384 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1385 * insettext.[Ch] (ascii, linuxdoc, docbook):
1386 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1387 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1388 * insetwrap.[Ch] (docbook):
1389 add LatexRunParams argument.
1391 2003-10-30 José Matos <jamatos@lyx.org>
1393 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1395 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * updatableinset.C (priv_dispatch):
1398 * insetwrap.C (priv_dispatch):
1399 * inseturl.C (priv_dispatch):
1400 * insettoc.C (priv_dispatch):
1401 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1402 (moveLeftIntern, moveUp, moveDown):
1403 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1404 (moveLeft, moveUp, moveDown):
1405 * insetref.C (priv_dispatch):
1406 * insetnote.C (priv_dispatch):
1407 * insetminipage.C (priv_dispatch):
1408 * insetlabel.C (priv_dispatch):
1409 * insetindex.C (priv_dispatch):
1410 * insetinclude.C (priv_dispatch):
1411 * insetgraphics.C (priv_dispatch):
1412 * insetfloatlist.C (priv_dispatch):
1413 * insetfloat.C (priv_dispatch):
1414 * insetexternal.C (priv_dispatch):
1415 * insetert.C (priv_dispatch):
1416 * insetcommand.C (priv_dispatch):
1417 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1418 * insetcite.C (priv_dispatch):
1419 * insetbranch.C (priv_dispatch):
1420 * insetbox.C (priv_dispatch):
1421 * insetbibtex.C (priv_dispatch):
1422 * insetbibitem.C (priv_dispatch):
1423 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1425 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1427 * insettext.C: small refactoring of docbook stuff
1429 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1432 (priv_dispatch): adjust for operator dispatch_result_t removal
1434 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1435 in a DispatchResult, adjust accordingly.
1436 (priv_dispatch): use strange >= construct... (will be removed later)
1438 * most insets: dispatch_result -> DispatchResult
1440 * insetbase.h: move DispatchResult out to dispatchresult.h
1442 2003-10-27 André Pönitz <poenitz@gmx.net>
1444 * insetpagebreak.[Ch]: new inset for page breaks
1446 * insetline.[Ch]: new inset for vertical lines
1451 2003-10-25 Angus Leeming <leeming@lyx.org>
1453 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1454 new virtual member functions, specialised...
1455 * render_button.h (asButton):
1456 * render_graphic.h (asGraphic):
1457 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1459 * insetexternal.C: use these new functions rather than dynamic_cast.
1460 Various other small simplifications.
1462 2003-10-22 Angus Leeming <leeming@lyx.org>
1464 * insetexternal.[Ch]: add the ability to 'preview' the external file
1467 * insetinclude.C: changes due to the changes in the RenderPreview
1470 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1471 message if the preview image is not available. Only initiate the
1472 loading of the preview from draw(). Ditto, start the monitoring
1473 of an external file from RenderMonitoredPreview::draw.
1475 2003-10-22 Angus Leeming <leeming@lyx.org>
1477 * insetcite.[Ch] (setLoadingBuffer): removed.
1478 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1479 ascertain whether to proceed with the (expensive) task of computing
1480 the natbib-style label. Remove the home-grown hack providing
1481 similar functionality.
1483 2003-10-22 Angus Leeming <leeming@lyx.org>
1485 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1486 class and into an anonymous namespace.
1488 2003-10-22 Angus Leeming <leeming@lyx.org>
1490 * insetcommand.h: remove the display method.
1494 * insetindex.h (InsetPrintIndex):
1495 * insettoc.h: add a display method, returning true.
1497 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1499 * insetcollapsable.h:
1503 * insetinclude.h: (1) finish off the inset display() work;
1504 (2) fix the "is a bit silly" bug (accessing char
1507 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1511 * insetfootlike.h: re-introduce display() for insets,
1512 fixing the various bugs (stretch of line above, math inset
1515 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * insetbase.C (dispatch): new func
1518 (priv_dispatch): new func replaces...
1519 (localDispatch): this, deleted.
1521 * all insets with dispatch modified for new code.
1523 2003-10-15 André Pönitz <poenitz@gmx.net>
1525 * insetcollapsable.[Ch]
1527 * inset.h: re-add some edit(bv, index) method called by undo
1529 2003-10-14 Angus Leeming <leeming@lyx.org>
1531 * insetexternal.[Ch] (view, cache, view_):
1532 * insetgraphics.[Ch] (view, cache, view_):
1533 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1534 (statusChanged): call LyX::cref().updateInset.
1536 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1537 the BufferView cache.
1539 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1542 2003-10-14 Angus Leeming <leeming@lyx.org>
1544 * insetinclude.C (metrics, draw): only draw the preview when previews
1547 2003-10-14 André Pönitz <poenitz@gmx.net>
1549 * insetcollapsable.[Ch]:
1550 * insettabular.[Ch]:
1552 * inset.h: getText() as alternative to getParagraphs()
1554 2003-10-13 Angus Leeming <leeming@lyx.org>
1557 * insetgraphicsParams.C: displayTranslator is now a function.
1559 2003-10-13 Angus Leeming <leeming@lyx.org>
1561 * insetinclude.C: remove #include "PreviewImage.h".
1563 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * ExternalSupport.C:
1566 * ExternalTransforms.C:
1568 * insetbox.h: ws changes only
1570 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * insetinclude.C (localDispatch): do not call
1573 InsetOld::localDispatch, just return UNDISPATCHED
1574 * insetgraphics.C (localDispatch): ditto
1575 * insetcommand.C (localDispatch): ditto
1577 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * inset.h: get rid of RESULT typedef for dispatch_result
1581 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1582 * insetert.[Ch] (localDispatch): ditto
1583 * insettabular.[Ch] (localDispatch): ditto
1588 * insettext.[Ch] (localDispatch): ditto
1591 (moveRightIntern): ditto
1592 (moveLeftIntern): ditto
1595 * updatableinset.[Ch] (localDispatch): ditto
1597 2003-10-12 Angus Leeming <leeming@lyx.org>
1599 * renderbase.h (view, view_): removed.
1600 * renderbase.C: removed.
1601 * Makefile.am: remove render_base.C. The shortest lived file in
1604 * renderbutton.C (draw):
1605 * render_graphic.C (draw): don't cache the BufferView.
1607 * insetabase.h (cache, view): removed.
1609 * inset.h (generatePreview) removed.
1611 * insetcallapsable.[Ch] (cache, view, view_): removed.
1613 * insetcollapsable.C (draw): don't cache the BufferView.
1615 * insetcommand.[Ch] (view): removed.
1617 * insetexternal.[Ch] (cache, view, view_):
1618 * insetgraphics.[Ch] (cache, view, view_):
1619 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1621 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1622 when you have direct access to it. In fact, don't use the cache at all.
1624 2003-10-10 Angus Leeming <leeming@lyx.org>
1626 * insetinclude.C (metrics): use preview_->metrics.
1627 (draw): use preview_->draw.
1629 * render_preview.[Ch] (pimage): removed.
1631 2003-10-10 Angus Leeming <leeming@lyx.org>
1633 * renderers.[Ch]: removed.
1636 * render_button.[Ch]:
1637 * render_graphic.[Ch]:
1638 * render_preview.[Ch]: new files. The first three are split out of
1639 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1640 contains a re-worked InsetInclude::PreviewImpl also.
1642 * Makefile.am: reflect the changed files.
1645 * insetexternal.[Ch]:
1646 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1648 * insetinclude.[Ch]: changes reflecting the change from
1649 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1655 * inseturl.C: add #include "support/std_ostream.h"
1657 2003-10-09 Angus Leeming <leeming@lyx.org>
1659 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1660 to PreviewedInset::previewReady.
1662 2003-10-09 Angus Leeming <leeming@lyx.org>
1664 * insetexternal.[Ch] (statusChanged):
1665 * insetgraphics.[Ch] (statusChanged): make a const member function.
1667 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1670 2003-10-09 Angus Leeming <leeming@lyx.org>
1672 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1673 to PreviewedInset's previewReady and removePreview member functions.
1675 2003-10-08 André Pönitz <poenitz@gmx.net>
1677 * insetcollapsable.C:
1678 * insettext.[Ch]: saner 'init' structure
1680 * updatableinset.[Ch]: remove unneeded code
1682 2003-10-08 Angus Leeming <leeming@lyx.org>
1684 Fix doxygen warnings.
1686 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1687 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1689 2003-10-07 Angus Leeming <leeming@lyx.org>
1691 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1692 be applied to InsetExternal.
1694 * Makefile.am: add these new files.
1696 * ExternalTemplate.[Ch]: add a list of available transforms to
1697 class Template and a list of factory functions for transformer classes
1698 that can act on this data to class Format.
1700 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1702 * ExternalSupport.C: Add code to replace transform placeholders
1703 with appropriate output.
1705 2003-10-07 Angus Leeming <leeming@lyx.org>
1707 * ExternalSupport.[Ch]: new files, moving the private member functions
1708 and namespace anon functions out of insetexternal.C to here, so making
1709 it easier to understand what is going on in insetexternal itself.
1711 * Makefile.am: add new files.
1713 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1714 allowing the class to be forward declared. (Also consistent with
1715 all other Params classes.)
1716 (write): moved out of the class. Move this function and those in
1717 namespace anon to ExternalSupport.[Ch].
1719 2003-10-07 Angus Leeming <leeming@lyx.org>
1721 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1722 non-const member function.
1724 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1729 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1731 2003-10-02 André Pönitz <poenitz@gmx.net>
1733 * insettext.C (read): make sure there is at least one par
1734 in the text after reading.
1736 2003-10-01 José Matos <jamatos@lyx.org>
1738 * insetbranch.C (linuxdoc, docbook): minor fix.
1740 2003-10-01 Angus Leeming <leeming@lyx.org>
1742 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1744 * insetexternal.[Ch]: changes due to the introduction of
1745 namespace lyx::external.
1747 2003-09-30 Angus Leeming <leeming@lyx.org>
1749 * insetexternal.[Ch] (Params::read, write): new member functions.
1751 2003-09-25 Angus Leeming <leeming@lyx.org>
1753 * insetexternal.[Ch] (TempName): new (private) nested struct with
1754 fake copy semantics. Enables us to use the generated copy c-tor
1755 in the Params struct.
1756 (Params::templatename, Params::tempname): use accessor functions.
1758 2003-09-25 Angus Leeming <leeming@lyx.org>
1760 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1761 function, returning a const pointer.
1763 2003-09-23 Angus Leeming <leeming@lyx.org>
1765 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1766 store them in a vector, preambleNames.
1768 * insetexternal.C (validate): loop over all preambleNames and call
1769 LaTeXFeatures::addExternalPreamble with each.
1771 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1773 * insetbranch.C: bug fix in branches
1775 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1777 * insetnote.C: small clean-up.
1779 2003-09-19 Angus Leeming <leeming@lyx.org>
1781 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1783 * insetcommand.C (string2params): clear params using the default c-tor.
1785 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1786 InsetInclude::Params. No more data in this struct than in
1787 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1788 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1789 (clone): remove #warning as it's now redundant.
1790 (set): add a 'Buffer const &' arg. Make private.
1791 (loadIfNeeded) move out of the class definition and into namespace anon.
1792 (getMasterFilename, getFileName): ditto.
1794 2003-09-18 Angus Leeming <leeming@lyx.org>
1796 * insetcommand.C (setParams): use the params' copy constructor.
1798 2003-09-18 Angus Leeming <leeming@lyx.org>
1800 * insetinsetbase.h (getLabelList):
1801 * insetinsetcollapsable.[Ch] (getLabelList):
1802 * insetinsetinclude.[Ch] (getLabelList):
1803 * insetinsetlabel.[Ch] (getLabelList):
1804 * insetinsettabular.[Ch] (getLabelList):
1805 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1806 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1808 2003-09-18 Angus Leeming <leeming@lyx.org>
1810 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1811 redundant baggage from yesteryear.
1812 Remove Params::flag as it is redundant; the info is present in
1815 2003-09-18 Angus Leeming <leeming@lyx.org>
1817 * insetinclude.C (latexString): add a Buffer const & arg.
1819 2003-09-18 Angus Leeming <leeming@lyx.org>
1824 * insettext.h: rename EnumLColor as LColor_color.
1826 2003-09-18 Angus Leeming <leeming@lyx.org>
1828 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1829 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1831 2003-09-16 Angus Leeming <leeming@lyx.org>
1833 * insetinclude.C (localDispatch): ensure that
1834 params_.masterFilename_ is set before trying to generate a
1835 preview, else we trigger an assert.
1837 2003-09-16 Angus Leeming <leeming@lyx.org>
1839 * insetinclude.C (PreviewImpl::parent): return a const reference.
1841 2003-09-16 Angus Leeming <leeming@lyx.org>
1843 * insetcollapsable.[Ch]: make all member variables, except for
1846 * insetert.C (init): use InsetCollapsable::setLabelFont rather
1847 than access labelfont directly.
1848 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
1849 use InsetCollapsable::setCollapsed, isOpen rather than access
1850 collapsed_ directly.
1852 * insetminipage.C (metrics):
1853 * insetnote.C (metrics):
1854 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1855 access collapsed_ directly.
1857 2003-09-16 Angus Leeming <leeming@lyx.org>
1859 * insetbibitem.C: add #include "lyxfont.h".
1861 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * insetbibtex.C: use namespace alias for lyx::support::os
1866 2003-09-16 Angus Leeming <leeming@lyx.org>
1868 * insetcollapsable.h: remove unused framecolor variable.
1869 Remove #include "LColor.h".
1871 * insetcollapsable.C: remove unused framecolor variable.
1874 * insetcollapsable.C:
1882 Add #include "LColor.h".
1884 2003-09-16 Angus Leeming <leeming@lyx.org>
1886 * insettext.[Ch] (frameColor): new accessor function.
1887 (frame_color_): stored as an int, allows us to remove #include
1888 "LColor.h" from insettext.h
1893 add #include "LColor.h".
1895 * insetcollapsable.h: add #include "LColor.h"
1896 (for its framecolor member variable).
1898 2003-09-16 Angus Leeming <leeming@lyx.org>
1900 * insetenv.C (constructor): use accessor functions to access
1901 InsetText variables.
1903 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1904 rename frame_color as frame_color_. Make private.
1906 * insettext.C: associated changes.
1908 2003-09-16 Angus Leeming <leeming@lyx.org>
1910 * inset.h: store background_color_ as an int, not as an
1911 LColor::color to get LColor.h out of the header file.
1914 * insetlatexaccent.C:
1917 * insetspecialchar.C:
1919 add #include "LColor.h".
1921 2003-09-16 Angus Leeming <leeming@lyx.org>
1923 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
1924 cannot string calls together.
1926 2003-09-15 Angus Leeming <leeming@lyx.org>
1928 * inset.[Ch] (setBackgroundColor, backgroundColor):
1929 * insettext.[Ch] (setFrameColor):
1930 pass EnumLColor args, rather than LColor::color ones.
1932 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * insetwrap.C: remove usage of STRCONV
1944 2003-09-15 Angus Leeming <leeming@lyx.org>
1946 * renderers.C (draw):
1947 * insetlatexaccent.C (draw): explicitly define the color passed to
1950 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1952 * insettext.C: remove block causing problems in lockInsetInInset
1953 (mentioned erroneously under Bug #1366)
1955 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1957 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1960 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1962 * several files: change Assert to BOOST_ASSERT
1964 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1966 * insettext.[Ch]: remove drawText[XY]Offset
1968 2003-09-08 Angus Leeming <leeming@lyx.org>
1970 * insetcollapsable.C:
1975 * insetspecialchar.C:
1978 * insettoc.C: remove redundant using directives.
1980 2003-09-07 Angus Leeming <leeming@lyx.org>
1983 * insetspecialchar.h: remove #include "support/std_string.h".
1985 2003-09-06 Angus Leeming <leeming@lyx.org>
1987 * renderers.C: add #include "insets/inset.h"
1989 2003-09-05 Angus Leeming <leeming@lyx.org>
1991 * *.C: strip out redundant #includes. (193 in total.)
1993 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1995 * insets/insetbibtex.[Ch]:
1996 * insets/insetcommand.h:
1997 * insets/insetfloatlist.[Ch]:
1998 * insets/insetinclude.[Ch]:
1999 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2000 of insets like bibtex, include, toc and floatlist to the visible
2001 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2002 up the dialogs. Cursor has to be in front of the inset (i.e.
2003 start of row) for this to function.
2005 2003-09-04 Angus Leeming <leeming@lyx.org>
2007 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2008 structure outside of the Format struct. Format::preambleName refers to
2009 an item in the map of all preamble snippets.
2010 Make use of the new Debug::EXTERNAL flag.
2012 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2013 (validate): Small change due to the changed storage of preamble
2016 2003-09-04 Angus Leeming <leeming@lyx.org>
2018 * insetgraphics.C: #include "support/os.h"
2020 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2021 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2022 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2024 * insetcollapsable.h:
2026 * insetnote.C: move #include "funcrequest.h" out of the header file.
2028 2003-09-03 Angus Leeming <leeming@lyx.org>
2030 * insetexternal.C (updateExternal):
2031 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2034 2003-09-03 Angus Leeming <leeming@lyx.org>
2036 * insetexternal.C: don't bring namespace lyx::support into the global
2039 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2041 * insetbranch.C: Add Branch: to label
2043 2003-09-02 John Levon <levon@movementarian.org>
2046 * insettext.C: remove cursor.i[xy]()
2048 2003-08-28 Angus Leeming <leeming@lyx.org>
2050 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2051 "sh ", enabling the conversion to be carried out even if the script
2054 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * most files: change to use const Buffer refs
2058 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2060 * insetfootlike.C: whitespace.
2062 2003-08-26 John Levon <levon@movementarian.org>
2066 * insetindex.h: remove remaining mentions of needFullRow()
2068 2003-08-26 André Pönitz <poenitz@gmx.net>
2074 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2076 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2078 * insetbranch.C: Small fix to prevent a crash on loading.
2080 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2085 * insetcollapsable.h:
2087 * insetfloatlist.[Ch]:
2088 * insetfootlike.[Ch]:
2089 * insetinclude.[Ch]:
2095 * insettheorem.[Ch]:
2096 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2097 altogether, putting the logic in metrics/draw in the insets.=20
2098 Draws short single row insets with more or less realistic metrics.
2100 2003-08-19 André Pönitz <poenitz@gmx.net>
2102 * insettext.C: use new RowPainter interface
2104 2003-08-18 John Levon <levon@movementarian.org>
2106 * insetref.C: require amsmath for eqref
2108 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2112 * insetbranch.[Ch]: implements the 'branch inset'
2113 idea. This allows the output of various versions of a document
2114 from a single source version, selectively outputing or suppressing
2115 output of parts of the text.
2116 This implementation contains a 'branch list editor' in a separate
2117 tab of the document settings dialog. Branches are user definable
2118 and have a "display colour" to distinguish them on-screen.
2120 ColorHandler was somewhat cleaned up.
2121 (1) make possible a dynamically growing LColor list by allowing
2122 the graphic context cache to grow along (vector);
2123 (2) eliminate an IMHO unnecessary step in colour allocation.
2125 2003-08-15 André Pönitz <poenitz@gmx.net>
2127 * insettext.[Ch]: adjust after rowlist split
2129 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2131 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2132 rename valign-center to valign-middle;
2133 rename VALIGN_CENTER to VALIGN_MIDDLE
2135 2003-08-11 André Pönitz <poenitz@gmx.net>
2137 * inset.h: remove resizeLyXText
2140 * insetcollapsable.[Ch]:
2142 * insettabular.[Ch]: adjust
2144 * insettext.[Ch]: remove saveLyXTextState,
2145 restoreLyXTextStat, sstate, reinitLyXText
2147 2003-08-07 André Pönitz <poenitz@gmx.net>
2149 * inset.[Ch]: move non-crucial functions out-of-line
2151 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2152 remove duplicated code.
2154 2003-08-05 André Pönitz <poenitz@gmx.net>
2157 * insetcollapsable.[Ch]:
2167 * insettabular.[Ch]:
2170 * updatableinset.[Ch]: rip out "deep update"
2172 * insettext.C (localDispatch): merge cases with default branch
2174 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2176 * insettabular.[Ch] (updateLocal): simplify logic
2178 2003-08-04 André Pönitz <poenitz@gmx.net>
2180 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2181 is 'FULL' all the time.
2183 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * insetert.C (get_new_label): only add ... to the (closed) label
2186 when the string has been shortened
2188 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2190 * Always use std::endl with lyxerr
2192 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2194 * insetnote.C: update \author list
2196 2003-07-31 André Pönitz <poenitz@gmx.net>
2198 * insetcollapsable.h:
2199 * insettabular.[Ch]:
2200 * insettext.[Ch]: remove toggleSelection
2202 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2204 (with help from Juergen Spitzmueller)
2205 * insetnote.C: add add i18n support. Use Prefs-definable
2206 colours for Comment and Greyedout.
2208 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2210 * insetcollapsable.[Ch]:
2212 * insetert.C: factor out the detection of clicking on the inset
2213 button as 'hitButton'. John Levon contributed.
2215 2003-07-30 André Pönitz <poenitz@gmx.net>
2217 * insetcollapsable.C:
2219 * insettabular.C: parantheses, localize vars etc.
2221 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2223 * insetnote.C: Implement a newenvironment in preamble for
2224 greyedout. Patch provided by Jürgen Spitzmüller.
2226 2003-07-29 Angus Leeming <leeming@lyx.org>
2228 * insetcommand.C (localDispatch): default to
2229 InsetOld::localDispatch.
2231 * insetbibitem.C (localDispatch):
2232 * insetbibtex.C (localDispatch): remove call to
2233 ChangeCitationsIfUnique.
2235 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2237 * insetexternal.C (read): use pushpophelper.
2239 2003-07-28 José Matos <jamatos@lyx.org>
2241 * insetext.C (read): \end_document replaces \the_end.
2243 2003-07-28 José Matos <jamatos@fep.up.pt>
2245 * insetert.C (write): \layout -> \begin_layout.
2246 Add missing \end_layout.
2248 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * insetquotes.C: document a bit the format
2252 * insettabular.C (write): remove extra space
2254 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2255 * insetnote.C: Umpf. Hope I *now* get it right :-(
2257 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2258 *insetnote.C: did the right fix to greyedout: \color
2259 instead of \textcolor.
2261 2003-07-28 Angus Leeming <leeming@lyx.org>
2263 * insetbibtex.h: remove extraneous forward declaration.
2266 * insetbibtex.h: Also remove long-dead Holder member class
2269 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2271 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2274 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2276 * insetwrap.C (addToToc): adjust for lyx::toc
2278 * insetfloatlist.C (ascii): adjust for lyx::toc
2280 * insetfloat.C (addToToc): adjust for lyx::toc
2282 2003-07-27 José Matos <jamatos@fep.up.pt>
2284 * insetnote.h (linuxdoc,docbook): update support.
2286 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * insetfloat.C (wide): add a space to label, for consistency
2290 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * insettext.C (nextChange): adjust for lyx::find
2293 (searchForward): ditto
2294 (searchBackward): ditto
2296 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2298 * insetgraphicsParams.C:
2299 * insetexternal.C: declare extern displayTranslator
2302 * renderers.C: add #include "support/LAssert.h"
2304 2003-07-27 José Matos <jamatos@fep.up.pt>
2306 * insetfloat.[Ch] (linuxdoc):
2307 * insetgraphics.C (linuxdoc):
2308 * insettabular.C (linuxdoc):
2309 * insettext.[Ch] (linuxdoc): add support for tables and figures
2312 2003-07-27 José Matos <jamatos@fep.up.pt>
2314 * insetinclude (latex): comply with makeLaTeXFile argument change.
2316 2003-07-26 Asger Alstrup <alstrup@local>
2318 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2319 the undo crashes. We'll see what problems other places this will
2322 2003-07-26 Angus Leeming <leeming@lyx.org>
2324 * insetgraphics.C: remove unused declaration of system_tempdir.
2326 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * rename Inset to InsetOld
2330 * all inset files (clone): return a auto_ptr<InsetBase>
2332 2003-07-23 Angus Leeming <leeming@lyx.org>
2334 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2336 2003-07-23 Angus Leeming <leeming@lyx.org>
2338 * mailinset.[Ch] (inset2string):
2339 * insetcommand.[Ch] (inset2string):
2340 * insetert.[Ch] (inset2string):
2341 * insetexternal.[Ch] (inset2string):
2342 * insetfloat.[Ch] (inset2string):
2343 * insetgraphics.[Ch] (inset2string):
2344 * insetinclude.[Ch] (inset2string):
2345 * insetminipage.[Ch] (inset2string):
2346 * insetnote.[Ch] (inset2string):
2347 * insettabular.[Ch] (inset2string):
2348 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2350 * insetexternal.[Ch]:
2351 * insetgraphics.[Ch]: get rid of the view() function. Associated
2352 changes to the mailers' string2params and params2string functions.
2354 2003-07-23 Angus Leeming <leeming@lyx.org>
2356 * insetexternal.[Ch]: store the external file name in a FileName
2357 member variable rather than a string + associated changes.
2359 2003-07-21 Angus Leeming <leeming@lyx.org>
2361 * insetgraphicsParams.[Ch]: store the graphics file name in
2362 a FileName member variable rather than a string.
2364 * insetgraphics.[Ch]:
2365 * insetgraphicsParams.[Ch]: Associated changes.
2367 2003-07-21 Angus Leeming <leeming@lyx.org>
2369 * insetgraphics.[Ch] (string2params, params2string): passed a
2370 buffer_path argument.
2373 2003-07-21 Angus Leeming <leeming@lyx.org>
2376 * insetgraphicsParams.[Ch]:
2378 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2380 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2382 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2384 2003-07-18 André Pönitz <poenitz@gmx.net>
2387 * insetminipage.[Ch]:
2388 * insettabular.[Ch]:
2391 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2393 2003-07-18 André Pönitz <poenitz@gmx.net>
2397 * insetcollapsable.C:
2401 * insetgraphics.[Ch]:
2402 * insetlatexaccent.[Ch]:
2407 * insetspecialchar.C:
2408 * insettabular.[Ch]:
2410 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2412 2003-07-17 André Pönitz <poenitz@gmx.net>
2414 * insetcollapsable.C:
2416 * insettext.C: don't call Inset::update() anymore
2419 * insettabular.[Ch]: remove unneeded in_update_ members
2421 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2423 2003-07-16 André Pönitz <poenitz@gmx.net>
2425 * insettext.C (selectAll): remove
2427 2003-07-16 John Levon <levon@movementarian.org>
2430 * insetnote.C: implement showInsetDialog()
2432 2003-07-15 André Pönitz <poenitz@gmx.net>
2435 * insettext.C: refresh_status tristate -> need_update bool
2437 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2439 * insettext.C: adjust call to LyXText::init
2441 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2443 * insettext.C: use bufferview_funcs->replaceSelection()
2444 to delete selections in some cases (bugs 441, 673, 702, 954).
2446 2003-07-14 André Pönitz <poenitz@gmx.net>
2448 * insettext.C (draw): use slimmed down rowpainter interface
2450 2003-07-14 André Pönitz <poenitz@gmx.net>
2452 * insetcollapsable.C:
2454 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2455 remove unused BufferView * argument
2457 2003-07-14 André Pönitz <poenitz@gmx.net>
2459 * insettext.[Ch]: used cached metrics a bit more
2461 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2463 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2465 2003-07-10 André Pönitz <poenitz@gmx.net>
2468 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2470 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * introduce namespace lyx::graphics
2474 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * introduce namespace lyx::support
2478 2003-06-30 André Pönitz <poenitz@gmx.net>
2480 * insetcite.C (localDispatch): fix case of missing return value
2482 * insetcite.C (ascii): remove unneeded temporary
2484 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * insetspace.h: fix \file
2488 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2489 * insetinclude.C (fillWithBibKeys): ditto
2491 * insetbibitem.C: fix type const order
2493 * inset.C (getLyXText): add varname for arg
2495 * ExternalTemplate.h: fix type const order
2497 2003-06-27 André Pönitz <poenitz@gmx.net>
2499 * insettext.C: take care of removed LyXCursor::row_ member
2501 * insettext.[Ch]: use new TextCursor struct for sstate
2503 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2505 * inseterror.[Ch]: removed
2507 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2509 * insetinclude.C (docbook): use parseError instead of sgmlError
2511 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2513 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2514 of BufferList::loadLyXFile
2516 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * insettext.C (update): simplify
2519 (updateLocal): remove commented code
2520 (insetUnlock): simplify
2521 (lockInset): simplify
2522 (updateInsetInInset): simplify
2523 (localDispatch): simplify
2525 (resizeLyXText): simplify
2526 (collapseParagraphs): simplify
2528 * insetert.C (get_new_label): simplify
2530 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2532 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2533 pasteSelection with index
2535 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2537 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2539 2003-06-16 André Pönitz <poenitz@gmx.net>
2541 * insetbase.h: new virtual base function clone()
2543 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2544 Inset * clone() -> InsetBase * clone()
2546 2003-06-13 André Pönitz <poenitz@gmx.net>
2548 * insettabular.[Ch]: make tabular a proper member
2550 2003-06-12 André Pönitz <poenitz@gmx.net>
2552 * insettabular.[Ch]: some renaming plus whitespace
2554 2003-06-11 Angus Leeming <leeming@lyx.org>
2556 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2559 * insetbutton.[Ch]: removed.
2560 * graphicinset.[Ch]: renamed as renderers.[Ch].
2562 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2563 Create a new class ButtonRenderer using the InsetButton::metrics() and
2565 Derive both from a common RenderedInset base class.
2567 * insetcommand.[Ch]:
2568 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2569 Give it a ButtonRenderer member variable. Use it.
2570 Give the classes working copy c-tors.
2571 No longer derive from boost::noncopyable.
2573 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2574 display its contents as a button or as a graphic.
2576 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2579 2003-06-11 Angus Leeming <leeming@lyx.org>
2581 * insetcite.C (localDispatch): reformat.
2583 * insetref.C (localDispatch): enable dialog to be lauched.
2585 2003-06-11 John Levon <levon@movementarian.org>
2587 * insettabular.C: correctly mark all cells as erased
2589 2003-06-11 Angus Leeming <leeming@lyx.org>
2591 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2592 ExternalTemplate but its name, templatename. This means that a file
2593 containing a reference to an External Template not installed on the
2594 current machine will be saved retaining this info rather than inserting
2595 the first "valid" template from the list of templates.
2597 As a by product, the visual statement that the Template is missing is
2600 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2602 * insettext.C (appendParagraphs): remove some commented code.
2604 2003-06-10 Angus Leeming <leeming@lyx.org>
2606 * graphicinset.[Ch] (view): removed the publicly accessible
2607 function to set the cache.
2609 * insetexternal.[Ch]: move tempname_ into the Params struct.
2610 (Params d-tor): new function, to clean-up this temp file.
2611 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2613 (editExternal, doSubstitution): move out of class.
2615 2003-06-10 Angus Leeming <leeming@lyx.org>
2617 * graphicinset.[Ch] (params): removed.
2618 * graphicinset.h (operator=): declared private but not defined.
2619 (statusMessage): made private.
2621 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2623 2003-06-07 John Levon <levon@movementarian.org>
2625 * insetert.C (latex): make a newline mean just that not
2628 2003-06-07 José Matos <jamatos@fep.up.pt>
2630 * insethfill.[Ch] (linuxdoc, docbook): implement output
2631 * insetspace.C (linuxdoc, docbook): remove coments as the code
2634 2003-06-06 José Matos <jamatos@fep.up.pt>
2636 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2638 2003-06-06 André Pönitz <poenitz@gmx.net>
2640 * insetwrap.[Ch]: code compactification
2642 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2644 * mailinset.C (updateDialog): use Dialogs::visible
2646 2003-06-04 Angus Leeming <leeming@lyx.org>
2648 * graphicinset.C (draw): add a comment for the #if 0 block.
2650 * insetexternal.h: remove Params::parameters variable.
2652 * insetexternal.C (read, write): rewrite to output new ExternalInset
2653 format and read it back making full use of LyXLex.
2655 2003-06-04 André Pönitz <poenitz@gmx.net>
2657 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2659 2003-06-04 John Levon <levon@movementarian.org>
2661 * insettabular.C: back out tall table speed up. It was broken
2663 2003-06-03 Angus Leeming <leeming@lyx.org>
2665 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2666 Remove ViewCommand and UpdateCommand.
2668 * graphicinset.C (update): bug fix. Set the params before calling the
2671 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2672 the BufferView cache to enable the InsetExternal::editCommand to
2673 be invoked from the frontends. Would not be needed if this were
2674 dispatched properly.
2675 (old_ascent_): variable removed.
2677 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2678 do any necessary conversions of external material. Also use the
2679 new GraphicsInset to display the inset within LyX.
2681 2003-06-03 Angus Leeming <leeming@lyx.org>
2683 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2684 and move it somewhere where InsetExternal can use it too.
2686 * Makefile.am: add the new files.
2688 * insetgraphics.[Ch]: make use of the new GraphicInset.
2690 2003-06-03 John Levon <levon@movementarian.org>
2693 * insetbibitem.[Ch]:
2696 * insetcommand.[Ch]:
2700 * insetexternal.[Ch]:
2704 * insetgraphics.[Ch]:
2706 * insetinclude.[Ch]:
2709 * insetlatexaccent.[Ch]:
2710 * insetmarginal.[Ch]:
2711 * insetminipage.[Ch]:
2718 * insetspecialchar.[Ch]:
2719 * insettabular.[Ch]:
2721 * insetthereom.[Ch]:
2724 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2726 * insetgraphics.[Ch]:
2727 * insetgraphicsParams.[Ch]: always store an absolute
2730 2003-06-02 André Pönitz <poenitz@gmx.net>
2734 * insetlatexaccent.C: remove duplicated call to metrics()
2736 2003-06-02 John Levon <levon@movementarian.org>
2738 * insettabular.C: fix resize of column width
2740 2003-06-02 John Levon <levon@movementarian.org>
2745 * insetparent.C: remove insetparent
2747 2003-06-02 André Pönitz <poenitz@gmx.net>
2754 * insetcollapsable.[Ch]:
2758 * insetgraphics.[Ch]:
2759 * insetinclude.[Ch]:
2760 * insetlatexaccent.[Ch]:
2761 * insetminipage.[Ch]:
2762 * insetnewline.[Ch]:
2765 * insetspecialchar.[Ch]:
2766 * insettabular.[Ch]:
2767 * insettext.[Ch]: unify first drawing phase
2770 * insetbase.h: move validate() to the base
2772 2003-05-31 Angus Leeming <leeming@lyx.org>
2774 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2776 2003-05-30 André Pönitz <poenitz@gmx.net>
2781 * insetcaption.[Ch]:
2782 * insetcollapsable.[Ch]:
2785 * insetgraphics.[Ch]:
2786 * insetinclude.[Ch]:
2787 * insetlatexaccent.[Ch]:
2788 * insetnewline.[Ch]:
2791 * insetspecialchar.[Ch]:
2792 * insettabular.[Ch]:
2794 * updatableinset.[Ch]: unify second drawing phase
2796 2003-05-30 John Levon <levon@movementarian.org>
2798 * insetgraphics.C: fix a bformat
2800 2003-05-29 John Levon <levon@movementarian.org>
2802 * insettabular.C: remove unused bufferOwner()
2804 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * insettext.C (lockInsetInInset): adjust
2807 (getLabelList): use const_iterator, adjust
2808 (getInsetFromID): use const_iterator, adjust
2809 (addPreview): use const_iterator, adjust
2811 * insetwrap.C (clone): remove const_cast
2813 * insetnote.C (clone): remove const_cast
2815 * insetminipage.C (clone): remove const_cast
2817 * insetmarginal.C (clone): remove const_cast
2819 * insetfoot.C (clone): remove const_cast
2821 * insetfloat.C (clone): remove const_cast
2823 * insetert.C (clone): remove const_cast
2825 * delete commented same_id functions from a lot of files.
2827 2003-05-28 John Levon <levon@movementarian.org>
2833 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2835 * insetminipage.C: fix metrics (bug 1144)
2837 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2839 * insettext.C (saveLyXTextState): adjust
2840 (restoreLyXTextState): adjust
2843 (unlockInsetInInset): adjust
2844 (localDispatch): adjust
2845 (getLyXText): adjust
2847 * insettabular.C (insertAsciiString): adjust
2849 2003-05-27 André Pönitz <poenitz@gmx.net>
2852 * insetcollapsable.C:
2855 * insetlatexaccent.C:
2860 * insetspecialchar.C:
2862 * insettext.C: dim.w -> dim.wid
2864 2003-05-26 John Levon <levon@movementarian.org>
2866 * insettabular.C: avoid drawing all of a long table
2867 if it's not needed. A big speedup
2869 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * remove same_id from function signatures, adjust
2873 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * insettext.C (InsetText): adjust
2877 (setParagraphData): separate same_id cases, adjust
2878 (appendParagraphs): adjust
2879 (appendParagraphs): adjust
2881 2003-05-23 André Pönitz <poenitz@gmx.net>
2883 * insetbutton.h: whitespace
2885 * insettabular.C: more compact code
2887 * updatableinset.C: remove const_cast
2890 2003-05-23 Angus Leeming <leeming@lyx.org>
2892 * insetexternal.C (write): check how many lines are output.
2893 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2894 if the template has defined it.
2896 2003-05-23 Angus Leeming <leeming@lyx.org>
2898 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2900 2003-05-23 Angus Leeming <leeming@lyx.org>
2902 * insetfoot.C (latex):
2903 * inseturl.C (latex): rename fragile as moving_arg.
2905 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * inseterror.C (localDispatch): comment out unused var.
2909 2003-05-22 Angus Leeming <leeming@lyx.org>
2911 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2912 passed through the LatexRunParams arg.
2914 2003-05-22 Angus Leeming <leeming@lyx.org>
2916 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2917 through the LatexRunParams arg.
2919 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2920 arg rather than through a global var.
2922 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * insetspecialchar.C (dimension): use a string.
2926 2003-05-22 Angus Leeming <leeming@lyx.org>
2928 * insetbibtex.C (latex):
2929 * insetgraphics.C (latex):
2930 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2931 runparams rather than from the buffer itself.
2933 2003-05-22 Angus Leeming <leeming@lyx.org>
2935 * inset*.[Ch] (latex):
2936 passed a LatexRunParams parameter.
2938 * insetgraphics.C (latex): actually use it ;-)
2940 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2942 * insetfloat.C (addToToc): trivial compile fix
2944 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * insettext.[Ch] (paragraph): delete unused function
2948 * insetfloat.C (addToToc): parlist simplfication
2950 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2952 * insetspace.[Ch]: added (new space insets)
2954 * inset.h: handle new space insets
2956 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * insetfloat.C (addToToc): adjust
2960 2003-05-21 André Pönitz <poenitz@gmx.net>
2962 * insettext.[Ch]: fix drawing bug introduced earlier
2964 2003-05-19 André Pönitz <poenitz@gmx.net>
2966 * insetspecialchar.C: fix bug introduced yesterday
2968 2003-05-19 André Pönitz <poenitz@gmx.net>
2972 * insetcollapsable.[Ch]:
2976 * insetgraphics.[Ch]:
2977 * insetgraphicsParams.[Ch]:
2978 * insetlatexaccent.[Ch]:
2979 * insetminipage.[Ch]:
2980 * insetnewline.[Ch]:
2982 * insetspecialchar.[Ch]:
2983 * insettabular.[Ch]:
2984 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2986 2003-05-19 André Pönitz <poenitz@gmx.net>
2989 * insettext.C: more insetenv
2991 2003-05-16 André Pönitz <poenitz@gmx.net>
2994 * insetminimpage.[Ch]:
2995 * insetcollapsable.[Ch]: fix #832
2997 2003-05-16 André Pönitz <poenitz@gmx.net>
3000 * insetbibitem.[Ch]:
3004 * insetcollapsable.[Ch]:
3005 * insetcommand.[Ch]:
3008 * insetexternal.[Ch]:
3009 * insetfloatlist.[Ch]:
3010 * insetgraphics.[Ch]:
3011 * insetinclude.[Ch]:
3014 * insetlatexaccent.[Ch]:
3017 * insettabular.[Ch]:
3021 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3023 2003-05-13 André Pönitz <poenitz@gmx.net>
3026 * insetcollapsable.C:
3030 * insetwrap.C: tostr from own header
3042 * insetwrap.C: STRCONV
3045 2003-05-12 André Pönitz <poenitz@gmx.net>
3057 * insetwwrap.C: boost::format -> bformat all over the place
3059 2003-05-05 André Pönitz <poenitz@gmx.net>
3061 * insettext.h: add missing #include <map>
3063 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * insettext.C (InsetText): parlist cleanup
3068 (insetUnlock): ditto
3070 (lockInsetInInset): ditto
3074 (searchBackward): ditto
3075 (collapseParagraphs): ditto
3077 2003-05-06 John Levon <levon@movementarian.org>
3079 * insetcaption.C: don't cast wrap inset to InsetFloat
3082 * insetfloat.C: remove unneeded type() function
3084 2003-05-05 André Pönitz <poenitz@gmx.net>
3088 * insettabular.[Ch]:
3089 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3090 replace getFirstParagraph() by getParagraphs()
3092 2003-05-03 John Levon <levon@movementarian.org>
3094 * insetcollapsable.h:
3095 * insetcollapsable.C:
3101 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3102 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3103 getCursor(). Remove explicit cursor hides.
3105 2003-05-02 André Pönitz <poenitz@gmx.net>
3107 * insettext.C: remove unneeded &*
3109 2003-04-30 John Levon <levon@movementarian.org>
3111 * insettabular.C: fix edit message
3113 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * insettext.C (setFont): do not convert iterator -> pointer
3117 * insettabular.C (localDispatch): do not convert iterator -> pointer
3119 (tabularFeatures): ditto
3121 2003-04-29 André Pönitz <poenitz@gmx.net>
3123 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3125 2003-04-28 André Pönitz <poenitz@gmx.net>
3127 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3130 2003-04-25 André Pönitz <poenitz@gmx.net>
3132 * insetenv.C: derive from InsetText instead of InsetCollapsable
3134 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * insetexternal.C (string2params): dont do anything if the string
3138 * insetgraphics.C (string2params): ditto
3139 * insetcommand.C (string2params): ditto
3140 * insetert.C (string2params): ditto
3141 * insetfloat.C (string2params): ditto
3142 * insetinclude.C (string2params): ditto
3143 * insetminipage.C (string2params): ditto
3144 * insettabular.C (string2params): ditto
3145 * insetwrap.C (string2params): ditto
3147 2003-04-24 André Pönitz <poenitz@gmx.net>
3149 * insetref.C: support for eqref
3151 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * insetert.C (read): use ParagraphList::iterator.
3155 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * insetquotes.C (latex): comment some code and add warnings.
3159 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3161 * insetexternal.C (localDispatch): added a missing DISPATCHED
3163 2003-04-12 John Levon <levon@movementarian.org>
3165 * insetwrap.C (addToToc): fix a crash, conversion
3166 from while to for loop forgot to remove the explicit
3169 2003-04-10 John Levon <levon@movementarian.org>
3171 * insettabular.C (tabularFeature): make sure
3172 to update the dialog when we change something
3175 (getStatus): don't disable some lfuns (bug 939)
3177 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * insettext.C (saveLyXTextState): adjust
3180 (localDispatch): adjust
3186 * insettabular.C (localDispatch): adjust
3188 (tabularFeatures): adjust
3190 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3192 * insettabular.C (searchForward,searchBackward): fix bug 782
3194 2003-04-07 John Levon <levon@movementarian.org>
3197 * insettext.C: clear status message on inset exit
3199 2003-04-03 John Levon <levon@movementarian.org>
3201 * insetcommand.C: return dispatched on DIALOG_UPDATE
3203 2003-04-02 John Levon <levon@movementarian.org>
3205 * insettabular.C: tab lfuns renamed
3207 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * insettext.C (update): move towards ParagraphList
3210 (updateLocal): ditto
3212 (insetUnlock): ditto
3214 (lockInsetInInset): ditto
3215 (updateInsetInInset): ditto
3216 (localDispatch): ditto
3219 (resizeLyXText): ditto
3220 (searchBackward): ditto
3221 (collapseParagraphs): ditto
3224 * insetwrap.C (InsetWrap): adjust
3225 (addToToc): adjust and rewrite loop
3227 * insettext.[Ch] (paragraph): delete function
3229 * insettabular.C (moveNextCell): adjust
3230 (movePrevCell): adjust
3231 (insertAsciiString): adjust
3233 * insetfloat.C (InsetFloat): adjust
3236 * insetert.C (InsetERT): adjust
3237 (write): adjust, and rewrite loop
3238 (latex): adjust, and rewrite loop
3239 (linuxdoc): adjust, and rewrite loop
3240 (docbook): adjust, and rewrite loop
3241 (localDispatch): adjust
3242 (get_new_label): adjust
3244 2003-04-01 John Levon <levon@movementarian.org>
3246 From Alfredo Braunstein
3249 * insetbutton.C: add localDispatch()
3251 * insetcommand.C: return DISPATCHED when edit() called
3253 * insettext.C: fix bug 967
3255 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * insettext.C: adjust
3259 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * insettext.C (draw): adjust
3262 (crow): return a RowList::iterator not a Row*
3264 * insetminipage.C (localDispatch): adjust
3266 * insetert.C (localDispatch): adjust
3268 2003-03-31 John Levon <levon@movementarian.org>
3271 * insetgraphicsParams.C: use_gui moved to lyx_gui
3273 2003-03-31 John Levon <levon@movementarian.org>
3275 * insettext.C: Alert fix
3277 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * insettext.C (ascent): adjust for RowList
3282 (getLyXText): adjust
3283 (toggleSelection): adjust
3285 * insetminipage.C (localDispatch): adjust for RowList
3287 * insetert.C (localDispatch): adjust for RowList
3288 (getMaxWidth): adjust for RowList
3290 2003-03-29 John Levon <levon@movementarian.org>
3292 * insetert.C: Alert cleanup
3294 2003-03-29 John Levon <levon@movementarian.org>
3296 * insettabular.C: Alert fix
3298 2003-03-28 John Levon <levon@movementarian.org>
3300 * insetfloat.C: reset label on INSET_MODIFY
3302 2003-03-28 John Levon <levon@movementarian.org>
3304 * insetgraphicsParams.C: read subcaptionText as a whole line
3307 2003-03-28 John Levon <levon@movementarian.org>
3309 * insettext.C: remove unused prototypes
3311 2003-03-25 Angus Leeming <leeming@lyx.org>
3313 * insetbibitem.C (localDispatch): repaint the view after modifying
3314 a bibitem inset in case the maximum InsetBibitem width has changed.
3316 2003-03-25 John Levon <levon@movementarian.org>
3319 * insettabular.C: LyXText renamings
3321 2003-03-24 John Levon <levon@movementarian.org>
3323 * insettext.C: remove some dead code. Fix bug 972 and
3324 related by posting a repaint in updateLocal(), and making
3325 the SEL functions set SELECTION.
3327 2003-03-22 John Levon <levon@movementarian.org>
3330 * inset.C: remove no-longer-needed topx_set
3332 * insetcollapsable.h:
3333 * insetcollapsable.C: remove dead code
3336 * insetert.C: rebreak the rows when a possible
3337 change in size is made, and reset the cursor
3340 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3342 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3343 topx_set. Fix drawing errors for clearInset(). Remove
3344 some unnecessary uses of topx, which should die.
3346 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3347 is no longer needed. Replace it with an ugly hack.
3349 2003-03-20 John Levon <levon@movementarian.org>
3352 * insetcollapsable.h:
3353 * insetcollapsable.C:
3361 * insettext.C: remove spurious font parameter
3362 from update(). Fix drawing of ERT insets inside
3363 insets (bug 966). Remove unused mark_dirty from
3364 tabular's updateLocal()
3366 2003-03-19 John Levon <levon@movementarian.org>
3375 * insetwrap.C: remove unused getter/setters
3377 2003-03-19 John Levon <levon@movementarian.org>
3379 * several files: bv->updateInset() doesn't take
3380 a bool mark_dirty any more
3382 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3384 * adjust for BufferView* arg removal from lyxtext.
3386 2003-03-17 John Levon <levon@movementarian.org>
3388 * most files: remove the "cleared" parameter
3389 to draw in favour of always clearing. Associated
3392 2003-03-16 John Levon <levon@movementarian.org>
3394 * insettext.C: remove unused s.refresh
3396 2003-03-13 Angus Leeming <leeming@lyx.org>
3398 * insettext.C (edit): replace Dialogs::updateParagraph with
3399 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3401 2003-03-13 André Pönitz <poenitz@gmx.net>
3403 * Makefile.am: insert insetenv
3405 * insethenv.[Ch]: new files, currently inactive
3407 2003-03-12 John Levon <levon@movementarian.org>
3417 * insettext.C: use new insetnewline
3419 2003-03-12 John Levon <levon@movementarian.org>
3421 * insettext.C: readToken became readParagraph
3423 2003-03-12 John Levon <levon@movementarian.org>
3425 * insettext.C: use parlist iterator for reading contents
3427 2003-03-12 John Levon <levon@movementarian.org>
3429 * insettext.C: name change to readToken()
3431 2003-03-11 André Pönitz <poenitz@gmx.net>
3433 * Makefile.am: insert insethfill
3435 * insethfill.[Ch]: new files
3437 2003-03-10 Angus Leeming <leeming@lyx.org>
3439 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3441 (hideDialog): calls the new static Dialogs::hide() method.
3443 * insetbibitem.C (edit):
3444 * insetbibtex.C (edit):
3445 * insetcite.C (edit):
3446 * insetcommand.C (localDispatch):
3447 * inseterror.C (d-tor):
3448 * insetert.C (showInsetDialog):
3449 * insetexternal.C (localDispatch, edit):
3450 * insetfloat.C (localDispatch, showInsetDialog):
3451 * insetfloatlist.C (edit):
3452 * insetgraphics.C (localDispatch, edit):
3453 * insetinclude.C (localDispatch, edit):
3454 * insetindex.C (edit):
3455 * insetlabel.C (edit):
3456 * insetminipage.C (localDispatch, showInsetDialog):
3457 * insetref.C (edit):
3458 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3459 resetPos, showInsetDialog, openLayoutDialog):
3460 * insettoc.C (edit):
3461 * inseturl.C (edit):
3462 * insetwrap.C (localDispatch, showInsetDialog):
3463 changes due to the changed MailInset interface.
3465 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3467 * insetfloat.h: Set default placement to an empty string.
3469 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3471 * insettext.C (latex): adjust call to latexParagraphs.
3473 2003-03-10 Angus Leeming <leeming@lyx.org>
3475 * mailinset.C: warn the user if the BufferView has not been cached.
3477 2003-03-10 Angus Leeming <leeming@lyx.org>
3479 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3481 * insetcommand.h (inset):
3482 * insetert.h (inset):
3483 * insetexternal.h (inset):
3484 * insetfloat.h (inset):
3485 * insetgraphics.h (inset):
3486 * insetinclude.h (inset):
3487 * insetminipage.h (inset):
3488 * insettabular.h (inset):
3489 * insetwrap.h (inset):
3490 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3492 2003-03-10 Angus Leeming <leeming@lyx.org>
3494 * insetcommand.C (string2params):
3495 * insetexternal.C (string2params):
3496 * insetfloat.C (string2params):
3497 * insetgraphics.C (string2params):
3498 * insetinclude.C (string2params):
3499 * insetminipage.C (string2params):
3500 * insettabular.C (string2params):
3501 * insetwrap.C (string2params): cure warning message about missing
3504 2003-03-09 Angus Leeming <leeming@lyx.org>
3506 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3507 it to communicate with the frontend dialogs.
3509 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3510 contents of this inset!
3512 2003-03-07 Angus Leeming <leeming@lyx.org>
3514 * inseterror.C (localDispatch): new method; calls edit() on
3517 2003-03-07 Angus Leeming <leeming@lyx.org>
3519 * insetbibitem.C (localDispatch):
3520 * insetbibtex.C (localDispatch):
3521 * insetlabel.C (localDispatch):
3522 rewrite as a switch.
3524 2003-03-07 Angus Leeming <leeming@lyx.org>
3526 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3527 it to communicate with the frontend dialogs.
3529 2003-03-07 Angus Leeming <leeming@lyx.org>
3531 * insetexternal.C: remove operator== and operator!= for
3532 InsetExternal::Params. They were used only by the old controller
3535 2003-03-07 Angus Leeming <leeming@lyx.org>
3537 * insetcommand.C (localDispatch):
3538 * insetexternal.C (localDispatch):
3539 * insetfloat.C (localDispatch):
3540 * insetinclude.C (localDispatch):
3541 * insetminipage.C (localDispatch):
3542 * insetwrap.C (localDispatch):
3543 add LFUN_INSET_DIALOG_UPDATE to the switch.
3545 2003-03-07 Angus Leeming <leeming@lyx.org>
3547 * insetcommand.C (string2params):
3548 * insetexternal.C (string2params):
3549 * insetfloat.C (string2params):
3550 * insetinclude.C (string2params):
3551 * insetwrap.C (string2params): use LyXLeX more.
3554 * insetexternal.[Ch]:
3556 * insetinclude.[Ch]:
3557 * insetwrap.[Ch]: change Mailer::name_ to be static.
3559 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3560 it to communicate with the frontend dialogs.
3562 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3565 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3567 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * insettext.C (updateLocal): un-const function
3570 (updateLocal): adjust
3571 (collapseParagraphs): un-const function
3572 (collapseParagraphs): adjust
3574 2003-03-05 Angus Leeming <leeming@lyx.org>
3576 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3577 it to communicate with the frontend dialogs.
3579 2003-03-05 Angus Leeming <leeming@lyx.org>
3581 * insetcollapsable.C (draw): cache the BufferView.
3583 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3584 it to communicate with the frontend dialogs.
3586 2003-03-05 Angus Leeming <leeming@lyx.org>
3588 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3591 2003-03-05 Angus Leeming <leeming@lyx.org>
3593 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3595 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3596 it to communicate with the frontend dialogs.
3598 2003-03-05 Angus Leeming <leeming@lyx.org>
3600 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3601 it to communicate with the frontend dialogs.
3603 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * insettext.C (collapseParagraphs): adjust
3606 (appendParagraphs): make it take a Buffer* instead of a
3607 BufferParams& as arg.
3608 (appendParagraphs): adjust
3610 2003-03-04 Angus Leeming <leeming@lyx.org>
3612 * insetbibitem.C (localDispatch):
3613 * insetbibtex.C (localDispatch):
3614 * insetcommand.C (localDispatch):
3615 * insetert.C (localDispatch):
3616 * insetlabel.C (localDispatch):
3617 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3619 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * insettext.C (latex): adjust for ParagraphList::iterator
3623 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3625 * insetbutton.C (view): adjust for boost 1.30.0
3626 * insetcollapsable.C (view): ditto
3627 * insetgraphics.C (statusChanged): ditto
3629 * insettext.h: move paragraphs to be public.
3631 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * insetnote.[Ch] (InsetNote): remove unused constructor
3635 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3637 * insetgraphics.C: added include "format.h"
3639 2003-02-27 Angus Leeming <leeming@lyx.org>
3641 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3644 2003-02-27 Angus Leeming <leeming@lyx.org>
3646 * insetbibitem.C (localDispatch):
3647 * insetbibtex.C (localDispatch):
3650 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3652 2003-02-26 Angus Leeming <leeming@lyx.org>
3654 * insetbibitem.[Ch] (localDispatch):
3655 * insetbibtex.[Ch] (localDispatch):
3656 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3658 * insetcommand.C (localDispatch):
3659 act only on receipt of LFUN_XYZ_APPLY.
3661 * insetert.C (localDispatch): reformat.
3662 add LFUN_XYZ_APPLY to the switch.
3664 2003-02-26 John Levon <levon@movementarian.org>
3666 * insettext.C: use RowPainter
3668 * inset.h: make helpers take const *
3670 2003-02-26 Angus Leeming <leeming@lyx.org>
3672 * insetcommand.[Ch] (localDispatch): new method.
3674 2003-02-26 Angus Leeming <leeming@lyx.org>
3676 * insetinclude.C (draw): cache the BufferView* using cache not
3677 PreviewImpl::setView
3679 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3681 * insetgraphics.C (draw)
3682 * insetinclude.C (draw): Eliminate also the other argument (owner
3683 inset inset) in the call to PreviewImage::image
3685 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3687 * insetgraphics.C (draw)
3688 * insetinclude.C (draw): Eliminate Buferview argument in call to
3691 2003-02-25 John Levon <levon@movementarian.org>
3693 * insetgraphicsParams.h:
3694 * insetgraphics.C: don't start a load process if
3695 the inset is set to NoDisplay (bug #920)
3697 2003-02-22 John Levon <levon@movementarian.org>
3700 * insetwrap.C: TocItem changed API (bug 913)
3702 2003-02-21 Angus Leeming <leeming@lyx.org>
3704 * insetcollapsable.[Ch] (cache, edit):
3705 * insetbutton.[Ch] (cache, edit): new methods to cache the
3706 BufferView in the draw method.
3708 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3709 simplify comunication between InsetCommand-derived classes and
3712 * insetbibitem.[Ch]:
3716 * insetfloatlist.[Ch]:
3720 * inseturl.[Ch]: small changes to reflect the new interface to the
3723 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3724 other, similar classes.
3726 * Makefile.am: add new files.
3728 2003-02-21 Angus Leeming <leeming@lyx.org>
3730 * updatableinset.h (setView, view): remove.
3731 * inset.h (view, cache): to be replaced by these.
3733 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3736 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3739 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3741 2003-02-21 Allan Rae <rae@lyx.org>
3743 * insetinclude.C (loadIfNeeded): ensure loading also works when
3744 child document is under version control.
3746 2003-02-17 André Pönitz <poenitz@gmx.net>
3748 * insetbib.[Ch]: Adjust access to bibkeys
3750 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3752 * insetquotes.C (dispString): remove use of acute accent for "'"
3755 2003-02-14 John Levon <levon@movementarian.org>
3757 * insettabular.C: changed method names in tabular.C
3759 2003-02-14 John Levon <levon@movementarian.org>
3763 * insetcollapsable.h:
3764 * insetcollapsable.C:
3768 * insettext.C: remove unused getParFromID()
3770 2003-02-13 John Levon <levon@movementarian.org>
3773 * insettext.C: remove unused beginningofMainBody()
3775 2003-02-08 John Levon <levon@movementarian.org>
3779 * insetcollapsable.h:
3780 * insetcollapsable.C:
3785 add nextChange(). Make allowSpellcheck() const. Add markErased().
3787 * insetert.C: ignore deleted text
3789 * insettabular.C: make sure to keep change tracking working
3792 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3797 * insettext.C: Use error messages with identical spelling and
3800 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3802 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3804 2002-12-17 Juergen Vigna <jug@lyx.org>
3806 * insettext.C (localDispatch): hopefully fixed cursor up down
3807 movement on leaving other insets.
3809 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3811 * insettext.C: fix inconsistent usage of spaces, colons,
3812 capitalization, and the like.
3814 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3816 * insetgraphics.C (prepareFile): do not remove the extension of
3817 the file name if it is not the default extension for the given
3818 format (that is, in latex output, remove extension from foo.eps,
3819 but not from foo.epsi)
3821 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3823 * insettext.C (lfunMouseRelease): hackish solution to the "double
3826 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * insetfloat.C (addToToc): use the floats name not its type
3829 * insetwrap.C (addToToc): ditto
3831 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3833 * insetnote.C (init): make label font smaller
3835 2002-12-04 John Levon <levon@movementarian.org>
3837 * insetinclude.C: ressurect setting of command name
3839 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * insetquotes.C (dispString): disambiguate insert call
3843 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * several files: ws changes
3847 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * insetquotes.C (dispString): use string::insert for prepending a
3852 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3854 * insetparent.C (getScreenLabel): use boost::format
3856 * insetgraphics.C (prepareFile): use boost::format
3859 * insetfloatlist.C (latex): use boost::format
3861 * insetcaption.C (draw): use boost::format
3863 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3865 * insettabular.C (tabularFeatures): Support for block alignment in
3866 fixed width columns.
3868 2002-11-20 Juergen Vigna <jug@sad.it>
3870 * insettabular.C (resetPos): temporary fix for endless loop in
3871 this function on a redraw.
3873 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * insettabular.C (copySelection): STRCONV
3877 * insetinclude.C (uniqueID): STRCONV
3878 (latexString): ditto
3880 * insetgraphics.C: put VersionNumber inside anon namespace
3881 (createLatexOptions): STRCONV
3883 * insetcommandparams.C: include config.h
3885 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3887 * insetgraphicsParams.C (Write): use lyx::float_equal.
3888 Write height data correctly.
3889 (Read): zero scale when reading height data.
3891 2002-10-30 John Levon <levon@movementarian.org>
3893 * insetfloat.C (addToTOC): recursively traverse all
3894 contents looking for captions (fix #568)
3896 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3898 * insetexternal.C (doSubstitution): do not try to replace
3899 environment variables, this is done when executing the command
3901 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3903 * insetexternal.C (doSubstitution): change order of substitution
3904 to work around ReplaceEnvironmentPath brokenness
3906 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3908 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3910 * insetgraphicsParams.C (init, Write): associated changes
3911 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3912 InsetGraphicsParams::scale.
3914 2002-10-21 John Levon <levon@movementarian.org>
3916 * inset.h: remove unused DISPATCH_RESULT
3918 * insettext.C: sgml open/close tag now in sgml namespace
3920 2002-10-21 Angus Leeming <leeming@lyx.org>
3922 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3923 file path subdir/fig.eps when pasting it into a buffer in a different
3926 2002-10-16 John Levon <levon@movementarian.org>
3928 * insetspecialchar.C: remove \\protected_separator parsing
3930 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3932 * insetquote.C: fix LaTeX output of quotation marks.
3934 2002-10-14 Juergen Vigna <jug@sad.it>
3936 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3937 Backspace functions which confused the Undo handling.
3939 2002-10-09 Angus Leeming <leeming@lyx.org>
3941 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3942 BufferView::dispatch that turns off this optimisation when a new inset
3945 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3946 reload the BibTeX keys.
3948 2002-10-11 André Pönitz <poenitz@gmx.net>
3950 * insettext.h: handle LFUN_PRIOR/NEXT
3952 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3954 * insetfloat.C: fix bug with float settings
3955 (document default != float default).
3957 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3959 * insetwrap.C (addToToc): New method.
3960 (InsetWrap): Set layout to caption.
3962 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3964 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3966 2002-09-16 John Levon <levon@movementarian.org>
3968 * insettabular.h: hasSelection() needs to be public
3970 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3972 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3974 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3976 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3978 2002-09-11 André Pönitz <poenitz@gmx.net>
3980 * insettabular.C: implement LFUN_WORDSEL
3982 2002-09-10 John Levon <levon@movementarian.org>
3984 * insetinclude.h: remove unused param
3986 2002-09-09 John Levon <levon@movementarian.org>
3989 * insetinclude.C: remove noload, default to input
3991 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3993 * insetgraphics.C: disfuscated use of ']' in built output string.
3995 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3999 2002-08-29 Juergen Vigna <jug@sad.it>
4001 * insettabular.C (lfunMousePress): Pay attention where you set
4002 the x/y values as they depend on which inset in the tabular is
4003 actually locked. So you surely have to reset them if you (un)lock
4006 2002-08-29 André Pönitz <poenitz@gmx.net>
4008 * insetfootlike.h: rename include guard to ALL CAPS
4010 * insettext.C: swap object and first parameter for checkInsetHit calls
4011 as this functions has moved from BufferView to LyXText
4014 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4016 * insetgraphicsParams.C: remove local displayTranslator and use
4017 the one from graphics/GraphicsTypes.h.
4019 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4021 * insetfloat.C (wide): add BufferParams parameter
4023 * insetfloatlist.C (read):
4026 * insetfloat.C (latex):
4028 * insetcaption.C (draw): use LyXTextClass::floats()
4030 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4032 * insetoptarg.h: add std:: qualifier.
4034 2002-08-26 Juergen Vigna <jug@sad.it>
4036 * insettext.C (localDispatch): ditto.
4038 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4040 2002-08-25 John Levon <levon@movementarian.org>
4042 * inseturl.C: elide long URLs (bug 404)
4044 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4046 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4047 remove "Format Version <version_no.>" string from inset header
4050 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4052 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4053 a member of "grfx::Params" anymore.
4055 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4057 2002-08-24 John Levon <levon@movementarian.org>
4060 * insetoptarg.C: ws, pedantry ...
4062 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4064 * insettext.C (collapseParagraphs): pasteParagraph now in global
4066 (appendParagraphs): ditto
4068 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4070 * insetcite.C (latex): Remove spaces only after commmas.
4072 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * insettext.C: remove NO_COMPABILITY stuff
4076 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * insettext.C (edit): use ParagraphList iterators
4080 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4081 (bibitemWidest): ditto
4083 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * insettext.C: include <boost/bind.hpp>
4086 add using std::for_each
4087 (saveLyXTextState): use ParagraphsList::iterator
4088 (init): use for_each on paragraphlist iterators
4089 (InsetText): remove superflous setting cached_bview to 0
4090 (latex): reformat a bit
4091 (ascii): use paragraphlist iterators
4092 (validate): use for_each + boost bind
4093 (getLabelList): use paragraphlist iterators
4094 (deleteLyXText): use for_each + boost::bind
4095 (resizeLyXText): ditto
4096 (reinitLyXText): ditto
4097 (removeNewlines): use paragraphlist iterators
4098 (getParFromID): ditto
4099 (paragraph): use for_each + boost::bind
4100 (getInsetFromID): use paragraphlist iterators
4101 (getLabelList): typo fix
4103 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * insettext.C (read): assign tmp to paragraphs after return from
4106 call to parseSingleLyXformat2Token
4109 2002-08-13 Angus Leeming <leeming@lyx.org>
4127 * inseturl.C: changes due to the changed LyXView interface that
4128 now returns references to member variables not pointers.
4130 2002-08-13 Angus Leeming <leeming@lyx.org>
4133 * insetcollapsable.h:
4136 * insettext.h: forward-declare WordLangTuple
4137 (selectNextWordToSpellcheck) constify return type.
4140 * insetcollapsable.C:
4143 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4145 2002-08-12 Angus Leeming <leeming@lyx.org>
4147 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4150 2002-08-12 Juergen Vigna <jug@sad.it>
4152 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4155 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4158 (bibitemWidest): ditto
4159 * insettext.[Ch]: ditto
4161 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4165 2002-08-09 Angus Leeming <leeming@lyx.org>
4167 * insetinclude.C (latexString): remove fudge now that I've found out
4168 how to enable LaTeX to find the file using input@path.
4170 2002-08-09 John Levon <levon@movementarian.org>
4173 * insettext.C: remove unused xpos
4175 2002-08-07 Juergen Vigna <jug@lyx.org>
4177 * insettabular.C (localDispatch): make delete not put the stuff
4178 in the clipboard only do this on a cut operation.
4180 * insettext.C (localDispatch): make delete and backspace not put
4181 selected stuff to the clipboard.
4183 2002-08-07 André Pönitz <poenitz@gmx.net>
4186 * insetcollapsable.[Ch]:
4190 * insettabular.[Ch]:
4191 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4193 2002-08-06 John Levon <levon@movementarian.org>
4197 * insetcollapsable.h:
4198 * insetcollapsable.C:
4204 * insettext.C: use WordLangTuple for spellcheck
4206 2002-08-06 Angus Leeming <leeming@lyx.org>
4208 * insetinclude.C: add a monitor to the previewed image, so that the
4209 image is refreshed if the \input-ed file changes.
4211 2002-08-04 John Levon <levon@movementarian.org>
4214 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4216 2002-08-02 Angus Leeming <leeming@lyx.org>
4218 * insetcommandparams.[Ch] (preview): new methods returning and setting
4219 a new bool preview_ flag.
4220 (read): read this flag.
4221 (operator==): add flag to check.
4223 * insetinclude.C (write): output new preview() flag.
4224 (previewWanted): use this flag.
4226 2002-08-02 Angus Leeming <leeming@lyx.org>
4228 * insetcollapsable.[Ch] (addPreview):
4229 * insettabular.[Ch] (addPreview):
4230 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4231 for insets in insets.
4233 2002-08-02 Angus Leeming <leeming@lyx.org>
4235 * insetcite.C: fix typo.
4237 * insetgraphics.C: kill current_view and instead cache the BufferView
4240 * insetinclude.C: kill current_view and pass the BufferView to the
4241 PreviewedInset so that it can cache it.
4243 2002-08-01 Angus Leeming <leeming@lyx.org>
4245 * inset.h (generatePreview): renamed as addPreview.
4246 (generatePreview): new method. Allows code to be moved out of
4247 math_nestinset.C and into the new PreviewedInset class.
4249 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4250 add previews to the inset when \input-ing LaTeX.
4252 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * several files: strip,frontStrip -> trim,ltrim,rtrim
4256 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * insetbib.C (latex): modify because of strip changes
4260 * insetnote.C (InsetNote): ditto
4262 2002-07-26 Juergen Vigna <jug@sad.it>
4264 * insettabular.C (searchForward): check for lastcell if we
4265 had a locking inset.
4267 2002-07-25 Juergen Vigna <jug@sad.it>
4269 * insettabular.C (insetMotionNotify): Don't update the screen
4270 if we didn't do nothing.
4271 (searchForward): last cell was not checked.
4273 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4275 * insetfloat.C (read, write): Allow default placement
4276 (floatPlacement_ is empty).
4278 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4280 * insetminipage.h (noFontChange):
4281 * insettabular.h (noFontChange):
4282 * insetfootlike.h (noFontChange):
4283 * insetfloat.h (noFontChange): return true
4285 * inset.h (noFontChange): new method, defaulting to false
4287 2002-07-22 Herbert Voss <voss@lyx.org>
4289 * insetgraphicsParams.[Ch]: support size_type for old docs
4291 2002-07-22 Herbert Voss <voss@lyx.org>
4294 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4297 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4299 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4301 * insetlatexaccent.h: do not include "lyxlex.h"
4303 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4306 * insetlatexaccent.C:
4310 * insetbib.C: #include "lyxlex.h"
4316 * insettext.C: use BufferParams::getLyXTextClass
4319 * insetfloat.C (addToToc): new method. Add to toclist the entries
4320 corresponding to Caption layouts
4321 (InsetFloat): when creating a new float, set the layout to "Caption"
4323 2002-07-21 Herbert Voss <voss@lyx.org>
4325 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4326 image relevant part into graphics/GraphicsImgae.C
4328 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4330 * insettoc.C (ascii):
4331 * insetfloatlist.C (ascii): change to use the new Toc functions
4332 instead of stuff that was in Buffer
4334 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4336 * insettext.C (localDispatch): BufferView::Dispatch has been
4337 renamed to BufferView::dispatch
4339 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4341 * insetgraphicsParams.C (as_grfxParams): use the new
4342 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4343 1.2.0 patch, and I do not really know how to adapt it to the new
4344 grfx::Cache world. Angus, please could you have a look?
4346 2002-05-01 Herbert Voss <voss@lyx.org>
4348 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4350 2002-07-18 Angus Leeming <leeming@lyx.org>
4352 * insetgraphics.C: clean-up comments (from Herbert).
4353 add a new checksum variable to the cache. Use it in PrepareFile.
4354 (draw): start monitoring the file for a change.
4355 (prepareFile): re-arrange a little to avoid unnecessary steps.
4357 2002-07-17 Angus Leeming <leeming@lyx.org>
4359 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4360 a method rather than to the signal directly.
4362 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4364 * insettext.C: use view_state_changed, switchKeyMap
4366 2002-07-17 Herbert Voss <voss@perce.de>
4368 * insetgraphics.C (prepareFile): keep the extension when
4369 exporting to nice file
4371 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4373 * insetcite.C (getNatbibLabel):
4374 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4376 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4378 * insetgraphics.C: use ->isDrawable()
4380 2002-07-12 Angus Leeming <leeming@lyx.org>
4382 * insetgraphics.C: use the new smart loading capabilities of the image
4385 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4387 * insettabular.C (edit): Move into correct cell when entering a
4390 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4393 2002-07-05 Angus Leeming <leeming@lyx.org>
4395 * inset.h (generatePreview): new virtual method.
4397 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4399 * insetcommandparams.[Ch] (operator=): move out of class
4400 (operator!): move out of class
4402 2002-07-04 André Pönitz <poenitz@gmx.net>
4404 * insetcommandparams.[Ch]: new files
4406 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4408 2002-06-15 Herbert Voss <voss@perce.de>
4410 * insetgraphics.C (prepareFile): bugfix; return always
4411 files without extension
4413 2002-06-28 Angus Leeming <leeming@lyx.org>
4415 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4416 rename asGParams -> as_grfxParams.
4418 * insetgraphics.C: reflect above change.
4420 2002-06-26 Angus Leeming <leeming@lyx.org>
4422 * insetgraphics.h: use boost::scoped_ptr in preference to
4425 2002-06-26 Angus Leeming <leeming@lyx.org>
4427 * insetgraphics.C: moved the image loading stuff into a new class
4428 grfx::Loader. Simplifies this file enormously.
4430 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4432 * insetgraphicsParams.C: changes aassociated with moving
4433 grfx::DisplayType out of grfx::GParams.
4435 2002-06-26 André Pönitz <poenitz@gmx.net>
4437 * insetgraphics.C: use os::external_path where necesaary according to a
4438 patch from Claus Hentschel)
4440 2002-06-25 Angus Leeming <leeming@lyx.org>
4442 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4443 generating a pixmap once the graphics file is loaded into memory.
4444 The current_view ugliness that was in grfx::ModifiedImage has been
4445 moved here now that grfx::ModifiedImage is no more.
4447 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4449 * insettext.C: layout as layout
4451 2002-05-28 André Pönitz <poenitz@gmx.net>
4453 * insetfloatlist.h: remove source of compiler warning
4455 * insetref.C: tiny whitespace
4457 2002-06-15 Herbert Voss <voss@perce.de>
4459 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4460 and take always convert when no userdefined converter was
4462 (latex) small changes in the lyxerr output
4464 2002-06-15 LyX Development team <lyx@rilke>
4466 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4467 mixed content. Small white spaces clean.
4469 2002-06-14 Angus Leeming <leeming@lyx.org>
4471 * inseetexternal.C: remove the using std::difftime declaration.
4473 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4475 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4477 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4479 * insetquotes.C (draw): fix drawing of double quotes
4481 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4483 * insettabular.C: s/scrollCB/scrollDocView/
4485 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4487 * insettext.C: change of topCursorVisible()
4490 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4493 * insettext.C: rename/change of LyXScreen
4495 2002-06-07 Angus Leeming <leeming@lyx.org>
4497 Fixes needed to compile with Compaq cxx 6.5.
4499 * insetexternal.C: all c-library variables have been moved into
4500 namespace std. Wrap using std::xyz declarations inside a #ifndef
4501 CXX_GLOBAL_CSTD block.
4503 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4505 * insetinclude.C (uniqueID):
4506 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4507 conflicted with some AIX headers.
4509 2002-05-31 Juergen Vigna <jug@sad.it>
4511 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4515 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4517 * insetexternal.C (clone): fix () bug when using new
4518 (updateExternal): don't only look for difftime in global scope
4520 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4522 * insettabular.C: add const
4524 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4526 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4527 file name, in case there are weird characters like ',' in there.
4530 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4532 * switch from SigC signals to boost::signals.
4534 2002-05-28 André Pönitz <poenitz@gmx.net>
4536 * insets/insetgraphicsParams.[Ch]:
4537 put in inset related stuff from src/graphic
4539 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4547 * insetcollapsable.C:
4548 * insetcollapsable.h:
4576 * inseturl.h: use mouse_state. Kill insetKeyPress
4578 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4583 * insetcollapsable.C:
4586 * insetlatexaccent.C:
4588 * insetspecialchar.C:
4590 * insettext.C: name change for font metrics
4592 2002-05-24 Juergen Vigna <jug@sad.it>
4594 * insetgraphics.h: include inset.h first (for LString.h)
4596 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4598 * insettext.C: screen moved
4600 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4618 * inseturl.C: LyXView moved into frontends/
4620 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4625 * insetcollapsable.C:
4629 * insetgraphicsParams.C:
4630 * insetlatexaccent.C:
4632 * insetspecialchar.C:
4634 * insettext.C: move Painter to frontends/
4636 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4638 * insettabular.h: use more specific smart_ptr header.
4639 * insettext.h: ditto
4641 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4644 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4646 * insettext.C: clear selection on paste (bug 393)
4648 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4650 * insettext.C (latex): Honor the moving_arg argument.
4652 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4654 * insetfoot.C (latex): if a footnote is in a title layout, then it
4655 is a \thanks. And then, its contents is a moving argument.
4657 2002-05-14 Juergen Vigna <jug@sad.it>
4659 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4662 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4664 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4665 when using options "Full author list" or "Upper case".
4667 2002-05-14 Herbert Voss <voss@perce.de>
4669 * insetgraphics.C (prepareFile): allow files with same name
4671 (readFigInset): set the flags from old figinset in the right
4673 (findTargetFormat): more comments
4675 2002-05-14 Juergen Vigna <jug@sad.it>
4677 * insettext.C (edit): tell checkAndActivateInset() that we don't
4678 have a button press.
4679 (checkAndActivateInset): if button < 0 we don't have a button press
4680 on the inset and os we won't call edit on it if it's not a Highly
4681 editable inset (then we have to enter it).
4683 2002-05-13 Juergen Vigna <jug@sad.it>
4685 * insetcollapsable.C (insetButtonRelease): returned wrong return
4688 2002-05-09 Juergen Vigna <jug@sad.it>
4690 * insetcollapsable.C (edit): first_after_edit should only be
4691 set to true if we enter this inset and it was collapsed so we
4692 open it up. This is needed to reclose it after a search/replace
4693 or spellcheck function opened it and was negative.
4695 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4697 * insetfloat.C (latex): Return correct value.
4699 2002-05-04 Herbert Voss <voss@perce.de>
4701 * InsetgraphicsParams.C (read): fix bug with WH
4703 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4705 * insetfloat.C (latex): More sensible latex output
4706 (fix the problem with endfloat).
4708 2002-05-02 José Matos <jamatos@fep.up.pt>
4710 * insetgraphics.C (validate): acess params as everyone else.
4712 2002-05-03 Juergen Vigna <jug@sad.it>
4714 * insettabular.C (fitInsetCursor): recalculate the cursor position
4717 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4719 * InsetgraphicsParams.[Ch]: whitespace.
4721 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4723 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4724 float type do not exist.
4726 2002-04-28 Herbert Voss <voss@perce.de>
4728 * insetgraphics.C (latex): fix bug with missing file-extension.
4729 LaTeX still allows a missing "eps" or "ps".
4731 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4733 * insetfloat.C (c-tor, wide): translate the name of the float.
4735 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4737 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4738 when using natbib and make it work efficiently. Must emphasise that the
4739 real work is Herbert's.
4741 2002-04-23 Herbert Voss <voss@perce.de>
4743 * insetgraphic.C (prepareFile): fix bug with overwriting and
4744 deleting an existing *.eps-file in the doc-dir
4746 2002-04-23 Juergen Vigna <jug@sad.it>
4748 * insettabular.C (drawCellSelection): fix off by 1 error.
4750 2002-04-22 Juergen Vigna <jug@sad.it>
4752 * insettabular.C (setFont): rewoke full selection if it was asked,
4753 after we changed all we had to change.
4755 * insettext.C (insetUnlock): code was uninitialized in some situations.
4757 2002-04-19 Herbert Voss <voss@perce.de>
4759 * insetgraphic.C (prepareFile): return filename without
4760 extension if we only export without compiling
4762 2002-04-19 Juergen Vigna <jug@sad.it>
4764 * insettext.C (draw): call a fullRebreak on the row where we had a
4765 change and reset the cursor and selection-cursors.
4767 * insettabular.C (insetUnlock):
4768 (insetButtonPress): call an update before setting the_locking_inset = 0
4769 as otherwise we don't repaint!
4770 (update): reset the cursor position when we changed dimensions as
4771 otherwise our cursor may be on the wrong spot.
4773 2002-04-18 Juergen Vigna <jug@sad.it>
4775 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4776 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4777 redraw otherwise we won't redraw.
4779 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4780 not really right before, but I only discovered this with the last
4781 changes to Page up/down.
4783 2002-04-17 Juergen Vigna <jug@sad.it>
4785 * insettext.C (checkAndActivateInset): simplified as we now have the
4786 edit(bv, bool) call.
4788 * insettext.h: changed behind variables to front variables to be
4789 equal to the one in the edit call (as it is for that they are used).
4791 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4793 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4794 not output anything at all!
4796 2002-04-16 Juergen Vigna <jug@sad.it>
4798 * insettabular.C (insetButtonPress):
4799 (insetUnlock): call a redraw on unlocking the cell inset.
4801 * insettext.C (insetButtonPress): same as below.
4802 (lockInset): new function to set initial values when inset should
4804 (insetButtonPress): use above function.
4805 (insetUnlock): don't force a repaint only set the updateStatus. The
4806 outside world should repaint if it thinks it should be done!
4808 * insettabular.C (insetButtonPress): init values if not set as locked
4809 as we are locked if someone presses on us and don't call the edit()
4810 call of the InsetText to lock it do it as BufferView does it!
4812 * inset.h (insetInInsetY): make func const and return an int.
4815 * insetcollapsable.C: adapt the above changed function.
4817 2002-04-15 Juergen Vigna <jug@sad.it>
4819 * insettext.C (getCursorPos): return relative position as to be able
4820 to give them directly to the edit() call.
4821 (edit): we have to set also x_fix as it is not set inside the
4822 setCursorFromCoordinates call!
4823 (insetMotionNotify): ditto.
4825 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4827 * insetbib.C (getKeys): strip leading '\t's from the line too.
4828 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4830 2002-04-12 Juergen Vigna <jug@sad.it>
4832 * insettext.h: added cix() helper function and use it where appropriate
4834 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4836 * insetgraphics.C (prepareFile): fix bug when graphics is a
4839 2002-04-12 Juergen Vigna <jug@sad.it>
4841 * insettext.C (insertInset): remove unneeded code!
4842 (updateLocal): fitCursor() fixes.
4843 (collapseParagraphs): fix a possible problem when having a selection
4844 and collapsing the paragraphs.
4846 2002-04-08 Herbert Voss <voss@perce.de>
4848 * insetgraphic.C (write): write the rotating angle as
4849 a float as is. test only for != 0.0
4851 2002-04-11 Juergen Vigna <jug@sad.it>
4853 * insettext.C: new function ciy() and use it for setting inset_y.
4855 * insetert.C (draw): fix the x return for collapsed version.
4857 2002-04-07 Herbert Voss <voss@perce.de>
4859 * insetgraphic.C (readFigInset): fix bug with subcaption and
4862 2002-04-08 Herbert Voss <voss@lyx.org>
4864 * insetgraphicsparam.C: forgot special option and delete old
4867 2002-04-05 Juergen Vigna <jug@sad.it>
4869 * insettext.C (localDispatch): make a CURSOR update if we inserted
4872 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4874 * insetfloatlist.C (getScreenLabel):
4875 (latex): use Floating::listName
4876 (validate): new method
4878 2002-04-03 José Matos <jamatos@fep.up.pt>
4880 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4882 * insetfoot.[Ch] (docbook): added forgotten method.
4884 2002-04-03 Juergen Vigna <jug@sad.it>
4886 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4887 way as in Bufferview_pimpl.
4889 2002-04-03 Allan Rae <rae@lyx.org>
4891 * insetgraphics.C (latex): one % too many makes living on the bleeding
4892 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4894 2002-03-28 Herbert Voss <voss@lyx.org>
4896 * insetgraphic.C (latex): simplify the code for the latex
4897 output when the file doesn't exist
4899 2002-03-29 Juergen Vigna <jug@sad.it>
4901 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4904 * insettabular.C (edit): call fitCursor().
4906 * insettext.C (insetButtonPress): change behaviour of no_selection
4907 to the one in the BufferView selection_possible and fix the spurious
4908 selection bug with it.
4909 (localDispatch): revoke selection on BREAK... functions.
4911 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4913 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4915 2002-03-28 Juergen Vigna <jug@sad.it>
4917 * insettabular.C (insetAllowed): return true as default value otherwise
4918 we're not able to insert insets inside paragraphs of an not locked
4921 2002-03-27 Herbert Voss <voss@lyx.org>
4923 * insetgraphicsparam.C: change c%, p% to col%, page%
4925 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * insetspecialchar.C (isLineSeparator): disable the nice code to
4928 allow linebreaks after hyphenation and menu separators.
4930 2002-03-26 Herbert Voss <voss@lyx.org>
4932 * insetgraphics.C (figinsetRead): set the right lyxview
4934 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4936 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4937 $\backslash$ and pass a "string const &" to the function.
4938 (prepareFile, latex): use Path rather than MakeAbsPath.
4940 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4942 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4943 proper fix to the graphics cache.
4944 (latex): "really" nice output if the file is not found ;-)
4946 2002-03-26 Juergen Vigna <jug@sad.it>
4948 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4949 (collapseParagraphs): fixed inserting of separator ' '
4951 * insettabular.C (insertAsciiString): only check for buffer lenght
4952 not if we have \t or \n inside the buffer as if we don't have we only
4953 have 1 cell and that's it!
4955 * insetert.C (close): don't collapse if inlined.
4957 2002-03-25 Herbert Voss <voss@lyx.org>
4959 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4960 graphics file does not exist.
4962 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4964 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4965 path when preparing export.
4967 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4968 no longer MakeRelPath.
4970 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4972 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4973 Used to determine the absolute path to the graphics file in the
4974 graphics cache and only in the graphics cache.
4975 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4976 make graphics file name absolute if it is stored as a relative path.
4978 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4979 make graphics file name absolute if it is stored as a relative path.
4981 * insettext.C (edit): emit an updateParagraph signal on entering a text
4982 inset. Needs to be emitted when leaving the inset also.
4984 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4986 * all files: ws cleanup
4988 * Makefile.am: remove ld -r stuff
4990 2002-03-21 Juergen Vigna <jug@sad.it>
4992 * insettext.C (appendParagraphs): new function added to append
4993 the paragraphs to this insets paragraphs.
4995 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4997 * Makefile.am: special rules if partial linking
4999 2002-03-19 Juergen Vigna <jug@sad.it>
5001 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5003 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5005 * insetgraphics.C: Clean up Baruch's comments a little.
5006 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5008 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5011 * insettheorem.C: wrap warnings
5013 * insetgraphics.C: improve messages, move cached_status_
5014 setting to safer place
5016 2002-03-18 Juergen Vigna <jug@sad.it>
5018 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5020 (localDispatch): ditto
5022 * insettext.C (edit): removed unneeded showCursor calls.
5023 (localDispatch): ditto.
5025 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5027 * insetgraphics.h: remove display() method.
5029 2002-03-11 Juergen Vigna <jug@sad.it>
5031 * insetgraphics.C (draw): hack to fix the redrawing bug.
5032 (draw): seems this fixes #268 (force redraw of row if we changed).
5034 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5035 this inset text (don't know why I missed this earlier).
5037 2002-03-08 Juergen Vigna <jug@sad.it>
5039 * insettabular.C (updateLocal): do a FULL update if we're not locked
5040 and only a CELL update is asked.
5042 * insettext.C (updateInsetInInset): update insets inside inset also
5043 if it isn't inside the_locking_inset.
5045 * insettabular.C (updateInsetInInset): ditto.
5047 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5049 * insetexternal.C (doSubstitution): check whether we are using a
5050 temp dir for defining $$FPath
5052 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5055 * insettext.C: remove #include "WorkArea.h".
5057 2002-03-06 Juergen Vigna <jug@sad.it>
5059 * insettext.C (draw): fixed frame redrawing.
5060 (clear): forgot to set the inset_owner of the paragraph.
5062 * insetert.C (status): pay attention the bv can be 0 here!
5063 (getMaxWidth): add the default leftMargin
5065 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5067 * insetert.C (getMaxWidth): make w unsigned int.
5069 2002-03-05 Juergen Vigna <jug@sad.it>
5071 * insetert.C (status): change behaviour of Inlined.
5072 (getMaxWidth): added for new inlined behaviour.
5074 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5076 * insetnote.h (linuxdoc, docbook): add empty methods.
5077 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5078 before being initialized.
5080 2002-03-05 Juergen Vigna <jug@sad.it>
5082 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5083 only that one in the inset. Should be enough.
5084 (updateLocal): set the selection cursor always if we don't have a
5085 selection to be sure it's set!
5087 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5089 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5091 * insettext.C (clear): a gross hack to set layout on a newly
5094 2002-03-04 Juergen Vigna <jug@sad.it>
5096 * insettabular.C (localDispatch): inserted handling of
5097 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5098 (insertAsciiString): new helper function.
5100 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5102 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5105 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5107 * insettext.C (InsetText): initalize newly created par with
5108 default layout. add bufferparams parameter
5111 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5112 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5113 * insetert.[Ch] (InsetERT): ditto
5114 * insetfloat.[Ch] (InsetFloat): ditto
5115 * insetfoot.[Ch] (InsetFoot): ditto
5116 * insetfootlike.[Ch] (InsetFootLike): ditto
5117 * insetmarginal.[Ch] (InsetMarginal): ditto
5118 * insetminipage.[Ch] (InsetMinipage): ditto
5119 * insetnote.[Ch] (InsetNote): ditto
5120 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5122 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5124 * insettext.C: layout as string
5126 * insetinclude.C: layout as string
5128 * insetert.C: layout as string
5130 * insetbib.C: layout as string
5132 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5135 * insettabular.C: remove #include "lyx_gui_misc.h".
5137 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5142 * inset.h: remove figinset, yahoo !
5144 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5146 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5147 copy c-tor and initialise member variables in the correct order.
5149 2002-02-28 Juergen Vigna <jug@sad.it>
5151 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5153 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5155 * inset.h: ... and add a better one here.
5157 * insetcommand.C (insetButtonRelease): remove that one which was a
5160 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5162 * insetcommand.C (insetButtonRelease): ... and move it here.
5164 * inseturl.h: remove insetButtonRelease from there...
5166 2002-02-26 Juergen Vigna <jug@sad.it>
5168 * inseturl.h: Added a insetButtonRelease call returning true as
5171 * insetlabel.C (edit): Fixed wrong update handling after change I
5172 leave in the wrong code for the one who wrote it to remove and have
5173 a look what he did wrong.
5175 * insettabular.C (localDispatch): force a SELECTION update if we
5176 had a selection and we passed the event down to the inset (fix #213)
5177 (localDispatch): handle font changing stuff when we have a cell
5178 selection so that the selection is not rewoked. I don't really like
5179 this fix, but it's the only way I see to do it right now.
5181 2002-02-22 Juergen Vigna <jug@sad.it>
5183 * insettext.C (insetUnlock): set the cursor to the second paragraph
5184 if available and if the first one is empty (fix #191).
5186 2002-02-20 Juergen Vigna <jug@sad.it>
5188 * insettext.C (getDrawFont): implemented this function to call the
5189 one of the owner if present as the owner normally knows what to do
5192 * insetert.C: implement getDrawFont() function and comment out all
5193 the crap for setting a special latex font inside this inset.
5194 (InsetERT): added a Lanugage parameter to this constructor.
5196 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5197 change the font for being drawn on screen (used only in InsetERT for
5200 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5201 and also above (was missing).
5202 (updateLocal): don't remove the cell selection if we have one this
5203 should be done where we really want to remove it.
5205 2002-02-20 José Matos <jamatos@fep.up.pt>
5207 * insetinclude.h: include_label made string const.
5209 * insetinclude.C (InsetInclude): moved include_label initialization.
5212 (validate): fix support for temporary directory, for docbook and
5215 * insetgraphics.h : new private member, graphic_label, that holds
5216 the entity name that defines the graphics location (SGML).
5218 * insetgraphics.C (unique_id): new function to give a unique label
5221 (validate): the file locatation is given by an entity reference.
5223 2002-02-18 Herbert Voss <voss@lyx.org>
5225 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5227 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5229 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5230 as support/systemcall.[Ch] and of class Systemcalls as class
5233 2002-02-18 José Matos <jamatos@fep.up.pt>
5235 * insetinclude.C (validate): some code only applies to latex buffers,
5236 it was made conditional.
5238 2002-02-12 Herbert Voss <voss@lyx.org>
5240 * insetgraphics.C: (prepareFile) do not check at this time
5241 if the file is present.
5243 2002-02-12 Herbert Voss <voss@lyx.org>
5245 * insetgraphics.C: latex(), return the correct newlines
5247 2002-02-13 José Matos <jamatos@fep.up.pt>
5249 * inseturl.C (docbook): escape & in url.
5251 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5253 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5254 after HYPHENATION and MENU_SEPARATOR
5256 * inset.h (isLineSeparator): new method, returns false by default.
5258 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * insetert.C (status): do not update the text inset, but the ERT
5263 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5265 * insetnote.C: use notebg for background
5267 2002-02-08 Herbert Voss <voss@lyx.org>
5270 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5271 prevent LyX from unzipping when this should be handled
5272 by latex vis the graphic.cfg.
5275 2002-02-08 Herbert Voss <voss@lyx.org>
5277 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5278 exists, than return filename with extension
5280 2002-02-06 Herbert Voss <voss@lyx.org>
5282 * insetgraphic.C: prepareFile(): don't convert the file, when
5283 it's not viewed in LyX. Saves a lot of time when opening a
5286 2002-02-05 Herbert Voss <voss@lyx.org>
5289 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5290 and adding a rotate bool similiar to subcaption
5292 2002-02-04 Herbert Voss <voss@lyx.org>
5295 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5296 similiar view to the LaTeX one. Get zipped files work.
5298 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5300 * insetgraphicsParams.C (init): set display to DEFAULT.
5301 No longer #include "lyxrc.h".
5303 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5305 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5306 for now (so that the code compiles).
5308 2002-02-02 Herbert Voss <voss@lyx.org>
5310 * insetgraphic.C: delete inVariant() and some minor changes
5311 * insetgraphicsParams.[C]:
5313 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5315 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5316 interogate lyxrc.display_graphics before diaplaying the graphic.
5318 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5319 InsetGraphicsParams::DisplayType.
5321 2002-01-31 Herbert Voss <voss@lyx.org>
5323 * insetgraphic.C: (readfigInset) set display to pref-default
5325 2002-01-30 Herbert Voss <voss@lyx.org>
5327 * insetgraphic.C: get the filetyp from it's contents
5328 * insetgraphicparams.C: add token scale and lyxrc.display when
5329 creating a new inset
5331 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5333 * figinset.C: added using std::ios directive.
5335 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5337 * figinset.C (runqueue): open translation file in binary mode (for
5340 2002-01-27 Herbert Voss <voss@lyx.org>
5342 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5343 all options and to be sure that the old figinsets are correct
5345 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5346 structure and to support all lengths as LyXLength. The Parameter
5347 structure changed again, but reading of "old" 1.2 graphic insets
5350 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5352 * insetert.h (forceDefaultParagraphs): Added
5354 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5356 * insettabular.C (getMaxWidth):
5357 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5359 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5361 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5362 of LyXLength::inPixels
5364 * inset.C (latexTextWidth):
5365 * insetminipage.C (latexTextWidth): new method, which implements
5366 the equivalent of the LaTeX macro \textwidth
5368 * insetminipage.C (getMaxWidth): use latexTextWidth
5370 2002-01-18 Juergen Vigna <jug@sad.it>
5372 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5374 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5376 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5378 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5381 2002-01-17 Juergen Vigna <jug@sad.it>
5383 * insettabular.C (lockInsetInInset): same change as in insettext.
5385 * insettext.C (draw): width() function was called without setting
5386 the right top_x which could lead to wrong insetWidth setting!
5387 (lockInsetInInset): call edit instead of calling lockInset if we
5388 have to lock an inset inside!
5389 (edit): we have to also tell the inset that we have to redraw the
5390 frame on an edit call if this inset draws a frame only if locked.
5392 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5394 * insetbib.C (getFiles): uncomment Path variable.
5396 2002-01-16 Juergen Vigna <jug@sad.it>
5398 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5401 2002-01-16 Allan Rae <rae@lyx.org>
5403 * insetinclude.C (docbook): someone forgot a ";"
5405 2002-01-16 José Matos <jamatos@fep.up.pt>
5407 * figinset.C (docbook): removed a old place holder "@".
5408 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5409 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5410 ascii text version, clearly guarded inside a CDATA section.
5411 (docbook): in docbook 4, inlinegraphics is empty.
5412 * insettabular.C (linuxdoc): export the ascii version of the table
5413 inside a CDATA section.
5415 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5417 * insetparent.C (InsetParent):
5418 * insetgraphicsParams.C (Write):
5420 * insetgraphics.C (prepareFile):
5423 * insetexternal.C (executeCommand):
5424 (doSubstitution): use Buffer::filePath
5426 * insetbib.C (getFiles): add a #warning for Angus
5428 * insetgraphics.C: Add a remark about how filenames should be
5429 considered to be relative to buffer (but absolute is still allowed)
5430 (draw): do not try to get status if lyxrc.use_gui is false
5432 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5435 * insetcollapsable.[Ch]:
5436 * insettabular.[Ch] (searchForward, searchBackward): change the
5437 bool const & params to bool.
5439 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5440 to avoid the name clash with InsetCollapsable's methods of the same
5441 names but different functionality.
5443 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5445 * insettext.C (ascii): use lyx::count rather than countChar.
5447 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5449 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5451 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5453 * insetgraphics.C (updateInset): do not try to render image if
5454 lyxrc.use_gui is false (bug #104)
5456 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5457 if file does not exist
5459 * figinset.C (browseFile): add shortcuts to directory buttons
5461 * insettext.C (updateLocal): update menubar and toolbar here too.
5463 2002-01-13 Allan Rae <rae@lyx.org>
5465 * insettabular.C (InsetTabular): Both constructors now initialise
5466 all class variables.
5468 2002-01-11 Juergen Vigna <jug@sad.it>
5470 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5472 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5474 * insettabular.C (getStatus): add forgotten brace around multiline
5477 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5479 * insetfloat.C (validate): require "float" instead of "floats".
5481 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5483 * insettabular.C (getStatus): use FuncStatus
5485 2002-01-08 Juergen Vigna <jug@sad.it>
5487 * insettabular.C (insetButtonRelease): now this should work too
5490 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5491 if the width is a percentage.
5493 * inset.h: added isChar() function and implemented this for
5494 insetspecialchar insetquotes and insetlatexaccent.
5495 added forceDefaultParagraphs() and implemented it for insettabular.
5497 2002-01-07 Juergen Vigna <jug@sad.it>
5499 * insettext.C (getLyXText): Fixed this function. An insert into the
5500 map is only done if we REALLY have a new BufferView.
5502 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5504 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5506 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5508 * insetinclude.C: fix use of FileInfo
5510 2002-01-07 Juergen Vigna <jug@sad.it>
5512 * insettabular.C (draw): fixed clearing of cell around inset.
5514 2002-01-05 Juergen Vigna <jug@sad.it>
5516 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5517 variables are updated.
5519 * insettabular.C (resetPos): set always the inset_y as it may be
5520 needed in another function.
5521 (searchBackward): don't draw while searching.
5523 2002-01-04 Juergen Vigna <jug@sad.it>
5525 * insettext.C (lockInsetInInset): forgot to set a cursor.
5527 2002-01-02 Juergen Vigna <jug@sad.it>
5529 * insettext.C (insertInset): make the correct undo informations on
5530 inserting new insets.
5532 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5534 * insettabular.C: correct single-cell select vertically
5536 2001-12-27 Juergen Vigna <jug@sad.it>
5538 * insettabular.C (ascii): export as tab-separated-values if the
5539 function was not called from export (f.ex.: clipboard).
5541 * insetcollapsable.h: added default support for ascii, linuxdoc and
5542 docbook export (the insettext is exported by default!)
5544 * insettabular.C (copySelection): suff the clipboard with the tabular
5545 data in a tab separated format, seems more naturals then with all the
5548 2001-12-24 Juergen Vigna <jug@sad.it>
5550 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5551 to check for REAL mouseMotion.
5553 2001-12-20 Juergen Vigna <jug@sad.it>
5555 * inset.C (cursor): return the owners cursor if available instead of
5556 always only the bv->text->cursor.
5558 * insettabular.C (checkLongtableSpecial): works now.
5560 2001-12-19 Juergen Vigna <jug@sad.it>
5562 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5563 this has to be always row + 1 as 0 means not selected!
5564 (checkLongtableSpecial): added
5565 (tabularFeatures): better longtable options support
5567 * insettext.C (resizeLyXText): reinit the text always also on a
5570 2001-12-18 Juergen Vigna <jug@sad.it>
5572 * insettext.C (updateInsetInInset): look if we have to autocollapse
5573 paragraps and return if the update is requested for ourself.
5575 * insetert.C (status): update the insettext not myself as that is what
5578 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5579 function only return if the update was requested with myself.
5581 * insettext.C (insetButtonPress): fixed stupid bug.
5582 (various functions): pay attention that lt is cleared BEFORE calling
5583 updateLocal() and try to use it in the right manner (don't use it
5584 if it's not really neccessary!)
5585 (collapseParagraphs): insert a blank between collapsing paragraphs
5586 if neccessary (not already there!).
5588 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5590 * insettabular.C: move includes around a bit, add a couple of
5593 * insettext.[Ch]: move includes around a bit, other ws changes and
5596 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5598 * insettext.C (insetButtonRelease): fix compile problem
5600 2001-12-17 Juergen Vigna <jug@sad.it>
5602 * insettext.C (insetButtonPress): set the selection cursor!
5603 (insetButtonPress): clear the selection (and set with that the
5604 selection.cursor) if we only hit an inset!
5606 * insetert.C (read): removed piece of compatibility code only needed
5609 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5612 * insetcollapsable.C (insetButtonRelease): changed so that it can
5613 open eventual existing popup dialogs on mousebutton==3.
5615 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5617 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5619 * inset.C (insetButtonRelease): return a bool for telling the outer
5620 world that we opened a dialog.
5622 2001-12-07 Juergen Vigna <jug@sad.it>
5624 * insettext.C (paragraph): remove the deleteing of paragraphs as
5625 it was a WRONG move!
5627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5630 * insettabular.C: use new setSelection(). Allow
5631 selection of single cells.
5633 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5635 * insetquotes.C (latex): fix to use the local language setting at
5636 the point where the inset is inserted (different macros for
5637 different french packages)
5639 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5641 * inset.h: add par_owner_ member variable and parOwner
5644 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5646 * insettabular.C (everywhere): adapt because widths are now real
5647 widths and not strings
5649 * insettext.C (draw): re-introduce the calls to width(), ascent()
5650 and descent() to initialize the caching variables.
5652 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5654 * insettext.C (draw):
5655 (drawFrame): use insetWidth instead of last_width
5657 * insettext.h: remove variable last_width (insetWidth is exactly
5658 the same) and last_height (computed but never used!)
5660 2001-12-10 Allan Rae <rae@lyx.org>
5662 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5666 * insettext.C (insetAllowed): add comment
5668 2001-12-05 Juergen Vigna <jug@sad.it>
5670 * insettext.C (insetAllowed): fixed for the case that we directly
5671 ask the insettext from its LyXText.
5672 (paragraph): fixed the crash when assigning the par->next() from
5673 the EmptyParagraphMechanism!
5675 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5679 * insettext.C: change "while(" to "while ("
5681 2001-12-04 Juergen Vigna <jug@sad.it>
5683 * insetert.C (edit): handle Inlined status.
5685 * insettext.C (insertInset): trying John's fix for the trailing cursor
5687 * insetert.C (insetButtonPress): added to handle inlined status
5688 (insetMotionNotify): ditto.
5690 * insettext.C (clearInset): changed Painter & in BufferView * param,
5691 to be able to call ascent,descent methods.
5693 2001-12-03 Juergen Vigna <jug@sad.it>
5695 * insettext.C (updateInsetInInset): use lt variable to forbid
5696 changes of LyXText in an update call.
5697 (updateInsetInInset): fixed updating of non locked insets!
5699 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5701 * insettabular.C: capture some more functions to prevent
5702 selection drawing problems. Bug #451274
5704 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5707 * insetgraphicsParams.C: fix inverted sense of float_equal
5709 2001-11-30 Juergen Vigna <jug@sad.it>
5711 * insettabular.C (InsetTabular): use the save_id flag to create also
5712 the tabular with the same id's.
5714 * insettext.C (setParagraphData): added a same_id function for undo
5715 to set the same paragraph id's as of the paragraph we are setting.
5717 2001-11-30 José Matos <jamatos@fep.up.pt>
5720 * insettoc.[Ch]: DocBook -> docbook.
5722 2001-11-29 André Pönitz <poenitz@gmx.net>
5725 * insettext.C: further reduction of header dependencies by using
5726 lyx::layout_type and lyx::textclass_type from support/types.h
5728 2001-11-29 Juergen Vigna <jug@sad.it>
5730 * insettext.C: inserted a reinitLyXText function everywhere I delete
5731 the paragraphs! This should fixe the crashes we had.
5732 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5733 (paragraph): set the InsetOwner() of the new paragraphs!
5735 2001-11-28 André Pönitz <poenitz@gmx.net>
5737 * insetnote.C: add pos initialization that I removed without
5740 2001-11-28 Juergen Vigna <jug@sad.it>
5742 * insettabular.C (resetPos): hack to not crash with infinite paints.
5744 * insettabular.h: insert missing function allowSpellcheck()!
5746 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5748 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5751 * insetfloatlist.C: derive from InsetCommand so gui can use it
5754 2001-11-26 André Pönitz <poenitz@gmx.net>
5758 * insetnote.C: reduce header dependencies, introduce type for
5761 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5763 * various: update for Alert.h
5765 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5767 * inset.h: fix comment
5769 * insettext.C: use par->isInset()
5771 2001-11-22 Allan Rae <rae@lyx.org>
5773 * insetcollapsable.h:
5774 * inset.h: Changes to checkInsertChar() behaviour.
5775 Now return value indicates whether chars can be inserted.
5777 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5779 * various: updated to use the new LaTeXFeatures
5781 2001-11-14 José Matos <jamatos@fep.up.pt>
5783 * insetspecialchar.C (linuxdoc):
5784 (docbook): don't give a name to a unused variable.
5786 * insettext.C (docbook): removed unused variable.
5788 2001-11-13 Herbert Voss <voss@perce.de>
5790 * insetgraphic.C: fix scale bug
5792 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5794 * inset.h (isSpace):
5795 (isLetter): new virtual methods.
5797 * insetspecialchar.C (isSpace):
5798 (isLetter): implement here.
5800 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5802 * inset.h: new inline helpers
5804 * insettext.C: use new helpers
5806 2001-11-07 José Matos <jamatos@fep.up.pt>
5808 * insettext.C (docbook): full support for paragraphs inside insettext.
5810 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5812 * insetindex.C: added header file for std::ostream.
5814 2001-11-03 José Matos <jamatos@fep.up.pt>
5816 * insetindex.C: added using std::ostream that I forgot yesterday.
5818 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5820 * insetindex.h (docbook):
5821 * insetindex.C (docbook): added support for docbook export.
5823 2001-11-02 José Matos <jamatos@fep.up.pt>
5825 * insetcaption.C(docbook): added support for docbook export.
5827 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5829 * insetexternal.C (updateExternal): Do not run update command if
5830 result file exists and is up to date.
5832 * ExternalTemplate.C (readFormat): Support the updateresult token.
5834 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5836 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5837 external_templates) to use the buffer->fileName() but only if
5838 previewing. Generating a TeX file should make FPath return
5841 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5844 * insetert.C: fix some problems
5846 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5848 * insetexternal.C (doSubstitution): Added $$FPath token
5849 to list of usable substitutions in external inset templates.
5851 2001-10-24 Juergen Vigna <jug@sad.it>
5853 * insettabular.C: use new ltType struct for setting longtable
5854 header and footers also new UNSET enums.
5856 2001-10-24 José Matos <jamatos@fep.up.pt>
5858 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5859 (docbook): If the table is not inside a float then wrap it inside
5860 <informaltable>...</informaltable>.
5862 2001-10-23 José Matos <jamatos@fep.up.pt>
5864 * insetref.C (docbook): removed / terminator to conform SGML.
5866 * insetspecialchar.C (linuxdoc):
5867 (docbook): Added support for special chars, more than ascii export.
5869 2001-10-22 Juergen Vigna <jug@sad.it>
5871 * insettext.C (checkInsertChar): added for REALLY checking the
5872 font of the inserted char in the right inset!
5874 2001-10-19 Juergen Vigna <jug@sad.it>
5876 * inset.h: added method allowSpellcheck() so that insets who do
5877 not have anything to spellcheck can tell and so they are over-jumped.
5878 Implemented for InsetText and co.
5880 2001-10-18 Juergen Vigna <jug@sad.it>
5882 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5884 2001-10-15 José Matos <jamatos@fep.up.pt>
5886 * insetert.C: allow export for docbook and linuxdoc
5888 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5890 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5892 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5894 * insetquotes.C (dispString): fix handling of latin9 quotes
5896 2001-10-03 Juergen Vigna <jug@sad.it>
5900 * insetcollapsable.C: change updateInset calls to not tell BV that
5901 we have changed status.
5903 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5905 * insettabular.C (deletable): make const
5907 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5909 * insetert.C (latex): Fix the returned value
5911 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5913 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5914 Returns string(), so nothing in an ERT inset is spellchecked.
5916 * insetgraphics.C (draw): print the filename if not displaying the
5918 (width): make sure that the width and draw methods are consistent.
5919 (updateInset): don't even load the image into cache if not displaying
5922 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5924 * various files (selectNextWord): renamed as
5925 selectNextWordToSpellcheck.
5927 * insetgraphics.C (draw): remove the previous change. Right place
5928 is in imageLoaderXPM.C.
5929 (draw): don't display the image if params.display == NONE.
5931 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5933 * figinset.C (runqueue):
5934 * insetgraphics.C (draw): set background colour of inset from
5935 background to the user-configurable graphicsbg.
5937 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5939 * insetquotes.C (InsetQuotes): when trying to decide the side of
5940 the quote, choose `left' only after a space or '('
5942 2001-09-04 José Matos <jamatos@fep.up.pt>
5947 * insetcollapsable.h
5965 * insetlatexaccent.C
5966 * insetlatexaccent.h
5971 * insetspecialchar.C
5972 * insetspecialchar.h
5976 * insettext.C (docbook): rename docBook method to docbook.
5978 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5980 * inset.h (getFirstParagraph): New virtual method.
5982 2001-08-20 Herbert Voss <voss@perce.de>
5983 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5984 in the the bibtex-database-gui for inserting a line
5987 If no style is given than there is no tex-output.
5989 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5991 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5995 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5997 * insetert.C (latex): Fix output for multiple paragraphs.
5998 (write): New code for writing paragraph data.
5999 (read): Set font after reading the inset.
6000 (localDispatch): Call set_latex_font() for more cases.
6002 * insetnote.h: Add empty validate method.
6005 * insetnote.C (InsetNote): Set language to the language of the
6008 2001-08-16 Juergen Vigna <jug@sad.it>
6010 * insettext.C: implemented the new FINISHED states.
6012 * insettabular.C: ditto
6014 * inset.h: added more FINISHED states for cursor right,up,down
6016 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6018 * insetfloatlist.C: use "FloatName List"
6020 2001-08-14 Juergen Vigna <jug@sad.it>
6022 * insetert.C (edit): forgot to set status_ in edit calls!
6024 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6026 * insettext.C: Compilation fix
6028 2001-08-13 Juergen Vigna <jug@sad.it>
6030 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6032 * insetcollapsable.C (edit): don't recollapse an already open inset.
6034 * insettext.C: fixed problem when reinitializing LyXText by not doing
6035 it while lt is in use and post this to the next possible time in
6037 (searchForward): fixed not unlocking of inset if nothing found.
6038 (edit): set cursor behind right (was set -1 pos).
6040 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6042 * insettabular.C (tabularFeatures): fixed fix where deleting the
6043 last row didn't get the right actcell!
6045 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6047 * insettext.C (localDispatch): Change language only when the inset
6050 2001-08-10 Juergen Vigna <jug@sad.it>
6052 * insettabular.C (selectNextWordInt): use the front using edit call.
6054 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6055 the parameter overwrite class variable inset.
6057 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6059 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6060 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6062 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6063 update only for fixed with cells.
6064 (resetPos): try to fix the lockup on spellchecking or s&r.
6066 * insettext.C (update): comment this out as it seems first wrong
6067 and second not needed anymore!
6068 (some functions): call reinitLyXText() only in update() in all other
6069 positions set only need_update = INIT.
6071 2001-08-08 Juergen Vigna <jug@sad.it>
6073 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6075 * insettext.C (insetUnlock): remove double-space on inset unlock.
6077 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6079 * insettabular.C (update): fixed cursor positon after an insert.
6080 (insetAllowed): do not allow to insert insets when not inside the
6082 (draw): clear below an inset too as it could have changed height.
6084 * inset.C (getMaxWidth): fixed width for inset in inset.
6086 * insettext.C (update): small fix.
6088 * insettabular.C (tabularFeatures): added selection support to
6089 DELETE_ROW/DELETE_COLUMN.
6091 2001-08-07 Juergen Vigna <jug@sad.it>
6093 * inset.C (getMaxWidth): recoded and all it's implementations!
6095 * insettext.C (init,setParagraph+constructors): cleanups
6096 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6097 are new and I want do a save/restore of the cursor position which is
6098 not possible anymore.
6100 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6101 (searchBackward): ditto
6102 (selectNextWord): ditto
6104 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6106 * insetlatexaccent.C (checkContents): Add some debug messages
6108 2001-08-07 Juergen Vigna <jug@sad.it>
6110 * insetert.C (read): don't use InsetCollapsable::read as we don't
6111 write the collapsed status anymore only the status.
6114 2001-08-06 Juergen Vigna <jug@sad.it>
6116 * insetert.C (set_latex_font): use LyXText's setFont directly.
6118 * insettext.C (drawFrame): fixed one time more the right position
6119 and size of the frame!
6121 * insetert.C (~InsetERT): hide the dialog.
6122 (showInsetDialog): added implementation
6125 (status): new function for the status of the ERT inset (3-state).
6126 (write): output also the status of the inset for readback!
6127 (read): readback the status if available otherwise use collapsed_.
6129 * insettext.C (edit): small fix of setting the position, which could
6132 * insetert.C (width): implement this function for inlined viewing.
6133 Added minimum width of 10 pixels!
6135 * insetminipage.C (InsetMinipage): just change the colors a bit so
6136 that border/background is a bit more visible. We will remove this
6139 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6140 function for getting the important widths for drawing in various
6141 functions and in LyXText.
6142 (draw): fixed up a bit (frame drawing/clearing)
6144 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * inset.C (convertFont): delete method. not used.
6148 2001-08-03 Juergen Vigna <jug@sad.it>
6150 * insettext.C (setFont): don't call for a draw update if we're just
6151 changing the cursor font!
6153 2001-08-02 Juergen Vigna <jug@sad.it>
6155 * insettext.C (draw): clear the background with the right color if
6156 needed. Update myself if x&max-width changed and return without doing
6157 anything. Let the update code handle the right stuff.
6159 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6160 inside another inset.
6162 2001-08-01 Juergen Vigna <jug@sad.it>
6164 * insetcollapsable.C (update): added an in_update bool so we avoid
6167 * insettabular.C (update): added an in_update bool so we avoid
6170 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6172 (update): added an in_update bool so we avoid reentering.
6174 * insettabular.C (localDispatch): clear col/row selection when doing
6175 something else inside an inset.
6177 * insettext.C (getLyXText): fixed bug when requesting a recursive
6180 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6182 * insetcite.C (latex): Paranoia check. Make sure that there is no
6183 whitespace between the citation keys.
6185 2001-07-31 Juergen Vigna <jug@sad.it>
6187 * inset.h (nodraw): make the set function also const so that this
6188 can be called from inside other const functions.
6190 * insetcollapsable.h: removed inline variable and moved it over
6191 to the only user InsetERT.
6193 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6194 inset opening immediately therein lying insets dialogs!
6196 * insetert.C (localDispatch): set the font also if we don't have any
6197 chars in this paragraph, otherwise if we delete all of em and start
6198 writing we have the wrong font.
6200 (draw): implemented for inline support
6201 (insetButtonRelease): ditto.
6203 2001-07-30 Juergen Vigna <jug@sad.it>
6205 * insettext.C (reinitLyXText): new function to reinit the insets
6206 text after lot's of paragraph changes. Use this instead of the
6207 cache.clear() which is VERY dangerous.
6209 * insetfloat.C (insetButtonRelease): we should only show the dialog
6210 if we press on the label otherwise we have problems to open mouse
6211 button 3 dialogs inside this float (f.ex. of a tabular!)
6213 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6215 * insetert.C: change back to "ERT"
6217 * insetfloat.C: handliign of RMB on label added.
6219 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6221 * insetgraphicsParams.C: #include LOstream.h here.
6223 * insetfoot.h: remove InsetFoot:: qualifier.
6225 2001-07-29 Baruch Even <baruch@lyx.org>
6227 * ChangeLog: Hiding time travel evidence.
6229 * insetgraphicsParams.h:
6230 * insetgraphicsParams.C:
6231 * insetgraphics.C: Added horizontal scale option, it actually
6232 scales both directions since it keeps image proportions.
6234 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6236 2001-07-29 Baruch Even <baruch@lyx.org>
6238 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6239 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6241 HACKY! Will need to add an EPS detection routine like old InsetFig
6244 2001-07-29 Baruch Even <baruch@lyx.org>
6246 * insetgraphics.C: Added EPSI to be an alias of EPS.
6248 2001-07-29 Baruch Even <baruch@lyx.org>
6250 * insetgraphics.C: Change GRAPHICS to Graphics.
6251 Changed image conversion rules (documented at the beginning of file).
6253 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6255 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6258 * insetgraphics.C: added a using std::endl directive.
6260 * insetcommand.h (getScreenLabel): removed pure virtual function,
6261 as it duplicates that in InsetButton.
6263 * insetbib.[Ch] (getScreenLabel):
6264 * insetbutton.[Ch] (getScreenLabel):
6265 * insetcite.[Ch] (getScreenLabel):
6266 * insetert.[Ch] (getScreenLabel):
6267 * insetexternal.[Ch] (getScreenLabel):
6268 * insetfloatlist.[Ch] (getScreenLabel):
6269 * insetinclude.[Ch] (getScreenLabel):
6270 * insetindex.[Ch] (getScreenLabel):
6271 * insetlabel.h (getScreenLabel):
6272 * insetparent.[Ch] (getScreenLabel):
6273 * insetref.[Ch] (getScreenLabel):
6274 * insettoc.[Ch] (getScreenLabel):
6275 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6277 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6279 (validate): remove check on "cite" when using natbib.
6281 2001-07-26 Baruch Even <baruch@lyx.org>
6283 * insetgraphics.C (draw): changed casting to be in one place
6284 rather than all over the function.
6287 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6289 * insetgraphicsParams.h:
6290 * insetgraphicsParams.C:
6291 * insetgraphics.C: Removed inline option and changed rotateAngle
6294 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6296 * insetfoot.C (validate): Added method to ensure that the
6297 right bit of LaTeX is emitted.
6299 * insetfoot.h: Added validate method to set the correct
6300 LaTeXFeatures bit for the special footnote code.
6302 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6304 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6307 2001-07-27 Juergen Vigna <jug@sad.it>
6309 * inset.h: remove not used font variable in parameter.
6310 removed checkInsertChar in UpdatableInset as it was equal to
6311 the one in Inset and so not needed.
6313 * insetert.C (checkInsertChar): implementation of function
6316 * inset.h: added new function checkInsertChar.
6318 * various files: added c-tor and clone() function.
6320 * insetcollapsable.h: removed clone function here as this should
6321 be only realized in REAL insets and added it to all collapsable
6322 insets! (with the copy-constructor).
6324 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * insetminipage.C (read): handle missing parameters more gracefully
6328 * insetcollapsable.C (read): handel missing collapsed more gracefully
6330 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * insetfloat.C (read): handle missing parameters.
6334 * insettext.C (read): handle old latex end_inset
6336 * insetert.C (setButtonLabel): new method
6337 (init): use it, to set the dynamic label correctly
6340 * Makefile.am (EXTRA_DIST): add files that is not part or the
6343 * insetcollapsable.h: remove autocollapsable (no users), remove
6344 draw_label, change_label_with_text and companion code. Remove args
6346 * insetert.[Ch]: move here instead (only user)
6348 * inset.h: rename private variable name to name_, make
6349 selectNextWord return a const string. make getInsetName return a
6350 string const &. Remove bool from open, add close.
6352 * Makefile.am: don't compile insetlist, insetsection
6355 2001-07-24 Juergen Vigna <jug@sad.it>
6357 * insetert.C (InsetERT): put init after the paragraph initialization,
6358 as otherwise we don't set the draw_label right.
6360 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6361 insets with the mouse without having strange selections.
6362 (edit): if the inset was collapsed and we open it here then put the
6363 cursor always at the beginning of the inset.
6364 (get_new_label): 15 instead of 10 max chars in the label.
6366 * insetert.C (localDispatch): added and handle various stuff we
6367 need to handle here (font setting on paragraph break, not permitted
6368 layout setting, etc.).
6370 * inset.h: added default copy-consturctor and implemented this in
6371 various insets with the change to use this in the clone function!
6373 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6375 * insetminipage.C (InsetMinipage): set background color to red :)
6377 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6379 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6380 draw frame mode is LOCKED.
6382 * insetcollapsable.C (edit):
6383 (insetButtonRelease): set update status to full when
6386 * insettext.C (clearInset):
6387 * insettabular.C (draw):
6388 * insetlatexaccent.C (draw): honor background color.
6390 * inset.h: new member background_color_, initialized to
6393 * inset.C (backgroundColor): new method.
6394 (setBackgroundColor): new method.
6396 * insetert.C (init): new method, called by the ctors.
6397 (InsetERT): when inserting contents, make sure the font is
6400 * insetnote.C (InsetNote): when inserting content, remove trailing
6402 (init): set background color to LColor::note
6404 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6406 * insetcollapsable.C: adjust
6408 * insetbutton.C: adjust
6410 2001-07-23 Juergen Vigna <jug@sad.it>
6412 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6413 parameter on the _collapsed function (was not needed) and call
6414 always width_collapsed().
6416 * insetert.C (InsetERT): use setLabel with "true" flag.
6418 * insetcollapsable.C: modified various functions to set the draw_label
6419 string right in any condition.
6420 (setLabel): added a bool parameter to set change_label_with_text.
6422 * insetcollapsable.h: added draw_label string which is set to the
6423 actual drawn label-string, while label is the original static label
6424 of this collapsable inset. Added bool change_label_with_text to set
6425 if we want that the label changes to the start of the InsetText's
6426 text when collabpsed. You can set this flag with the setLabel funciton.
6427 Added bool inlined for inlined collapsable insets, but not handled
6430 * insetcollapsable.C (get_new_label): added should get a new label
6431 from the InsetText beginning (for now 10 chars).
6433 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6435 * insetquotes.C (latex): fix the handling of french double quotes
6436 when not using the french pachage.
6438 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6440 * insetcollapsable.h: make WidthCollapsed mutable.
6442 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6443 InsetPrintIndex returns INDEX_PRINT_CODE.
6445 * inset.h: add INDEX_PRINT_CODE
6447 * insetcollapsable.C (draw): init widthCollapsed if necessary
6450 * insetquotes.C (width): use the local language, not the document
6453 (dispString): add additional spacing for all french languages,
6455 (validate): make it work when there is no default language
6457 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6459 * insetnote.C (init): new method, called by the constructors
6460 (InsetNote): new constructor with contents passed as a string
6462 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6464 * insetfootlike.C (insetAllowed): disallow float in footlike.
6466 * insetert.C (InsetERT): add collapsed argument to the constrctor
6469 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6471 * insetindex.h: shut off warning
6473 2001-07-20 Juergen Vigna <jug@sad.it>
6475 * insetcollapsable.C (update): recoded hopefully works now!
6477 2001-07-19 Juergen Vigna <jug@sad.it>
6479 * most files: implemented the below new introduced function.
6481 * inset.h: added new edit(BufferView *, bool front) method to be able
6482 to enter an inset from the front/back without knowing x/y positions
6483 and baselines inside the inset. So I just can tell the inset activate
6484 me and set the cursor on the front/back of yourself.
6486 2001-07-18 Juergen Vigna <jug@sad.it>
6488 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6489 is given to the InsetText.
6490 (insetButtonPress): ditto
6491 (insetButtonRelease): ditto
6492 (insetMotionNotify): ditto
6494 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6496 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6497 LIGATURE_BREAK, since the name is so stupid.
6499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6501 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6502 the default InsetCollapsable methods. I.e., it can insert anything.
6503 (write) output the name of the inset, not some silly hack for
6504 compatability with the old InsetInfo.
6506 * insetinfo.[Ch]: removed.
6507 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6508 now collapsable, but functionality is otherwise identical to InsetInfo.
6510 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6512 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6514 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6517 * insetquotes.C: general cleanup
6518 (dispString): add spaces inside french double quotes.
6519 (latex): ditto. Moreover, treat first the case where the frenchb
6520 or french options have been given.
6522 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6524 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6527 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6529 * figinset.C (RegisterFigure): Print debug message only when
6530 current_view is available.
6532 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6534 * many files: update to match the change below
6536 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6537 implement the version which takes an inset here.
6539 * insetcollapsable.[Ch]: implement open and isOpen
6541 * inset.h: remove insertInsetAllowed from Inset
6542 (open): new method, to open or close an inset
6543 (isOpen): returns the status of an inset
6544 (isCollapsable, colapse): removed
6546 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6548 * insetquotes.C (dispString): display french guillemets when using
6551 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6553 * insetcollapsable.h: remove bogus return statements
6555 2001-07-18 Juergen Vigna <jug@sad.it>
6557 * insettabular.C (selectNextWord): fixed spellchecking for the
6558 first cell of a tabular (wasn't entered!)
6559 (getLyXText): changed to enter automatically insettext and return
6560 it's LyXText if we're locked.
6562 2001-07-17 Juergen Vigna <jug@sad.it>
6564 * various files: implemented the below functions.
6566 * inset.h: added functions
6567 - virtual string selectNextWord(BufferView *, float & value) const;
6568 - virtual void selectSelectedWord(BufferView *) { return; }
6569 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6570 needed for spellchecking correctly!
6572 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6574 * insetert.C (latex): write out all paragraphs.
6576 2001-07-17 Baruch Even <baruch@lyx.org>
6578 * insetgraphics.C (draw): Removed unneeded casts.
6580 2001-07-16 Juergen Vigna <jug@sad.it>
6582 * insettext.C (update): fixed small oversight (reset lt to 0).
6584 2001-07-14 Baruch Even <baruch@lyx.org>
6587 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6589 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6591 Consistent use of Lsstream.h:
6592 * figinset.C: removed using std::ostringstream directive.
6594 * insetgraphics.C (createLatexOptions):
6595 * insetinclude.C (unique_id):
6596 std::ostringstream -> ostringstream.
6597 * insettext.C (localDispatch): std::istringstream -> istringstream.
6599 2001-07-13 Juergen Vigna <jug@sad.it>
6601 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6603 * insetcollapsable.C (getLockingInset): ditto.
6605 2001-07-12 Juergen Vigna <jug@sad.it>
6607 * insetcollapsable.h: added implementation of new function for
6610 * various files: added implementation of new insertInsetAllowed-func
6611 and redone the function a bit more.
6613 * inset.h: added isCollapsable(), bool collapsed(),
6614 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6616 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6618 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6619 LyXText which is marked for removal while we're using it!
6621 * insettext.h: added private LyXText * lt to use it to assure we are
6622 not deleting our LyXText while we're using it!
6624 2001-07-11 Juergen Vigna <jug@sad.it>
6626 * insettext.C (insertInset): check if we are before the inset after
6627 inserting it! This check IS needed. Remove the Undo-Call as it is
6628 called in LyXText::insertInset!
6630 * insettext.h: added struct InnerCache.
6632 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6633 that we ONLY delete the LyXText in the getLyXText() routine. So we
6634 are sure we don't delete LyXText while someone is working with it!
6636 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * insetexternal.C: (*it). -> it->
6639 * insettext.C: ditto
6641 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6643 * insetcollapsable.C (edit): always open collapsed insets (even if
6644 they are not autocollapsable)
6646 * insetcommand.C (operator=): simplify.
6648 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6650 * insetert.C (latex): handle META_NEWLINE
6652 2001-07-09 Juergen Vigna <jug@sad.it>
6654 * insetert.h: a normal InsetText can insert insets, but we won't.
6656 * inset.h: return default "false" on insertInsetAllowed and implement
6657 this function where a returnvalue != "false" is needed.
6659 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6661 * insetert.C (InsetERT): new contructor
6663 2001-07-06 Juergen Vigna <jug@sad.it>
6665 * a lot of files: added implementation of the below new functions
6666 and the change to clone(). Also the call of the new undo-functions
6669 * inset.h: added an inset_id, added functions getParFromID,
6670 getInsetFromID, firstParagraph, cursor and id functions, added
6671 bool same_ids to clone function.
6673 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6675 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6676 of BufferView * and shared_ptr<LyXText>
6678 2001-07-05 Juergen Vigna <jug@sad.it>
6680 * insettext.C (clear): deleted also the cache not only LyXText.
6681 (setParagraphData): ditto.
6683 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * insetfloat.C (latex): let the specific placement take presedence
6686 if set, otherwise choose document placement if set, otherwise just
6687 use float default placement.
6689 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6691 * insettext.C (localDispatch): call CutAndPaste::'s static method
6694 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * insetbib.C: no meed to include forms.h here.
6698 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6700 * insettext.C: added using std::make_pair directive.
6702 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6704 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6706 (deleteLyXText): ditto
6707 (resizeLyXText): ditto
6709 2001-07-02 Juergen Vigna <jug@sad.it>
6711 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6712 following calls are only returned the right pointer without the over
6713 head to search in the map.
6714 (various funcs): reset the cached_bview variable as this signs that
6715 the cache is not valid anymore.
6717 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6719 * insettabular.C (clone): do not copy the LyXTabular twice
6721 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6723 * insettext.h (TEXT): delete method
6725 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * insetmarginal.C (latex):
6728 * insetfoot.C (latex): fix spacing of notes in LaTeX
6730 * insettext.C (localDispatch): use .c_str() on istringstream
6731 constructor argument.
6733 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6738 * inseturl.C: fix method names in these to begin
6739 with small char too, so they inherit
6741 2001-06-28 Juergen Vigna <jug@sad.it>
6743 * insettext.C (setFont): fixed font settings using toggleFree()
6744 instead of setFont().
6746 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * Change a lot of method names to begin with a small char.
6749 Changes to a lot of files because of this.
6751 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6753 * insetfloatlist.C (Write): std:: qualify ostream
6756 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6760 * insetgraphics.C: send debug output to Debug::INFO instead of
6763 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6766 * insettabular.C (getStatus): update to use func_status
6768 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6770 * insetref.C (DocBook): added support for cross-references without
6773 2001-06-26 The LyX Project <jug@sad.it>
6778 * insetlabel.h: removed escape method and moved it to
6781 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6783 * insettabular.C (getMaxWidth): do the speedup in a different way,
6786 2001-06-24 The LyX Project <Asger>
6788 * insettabular.C (getMaxWidth): We cache a mapping from
6789 inset to cell in order to speed this method up.
6791 2001-06-24 The LyX Project <Asger>
6793 * insettext.C: Optimized InsetText::draw or something.
6795 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6797 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6799 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6801 * inset.h: name change from lyxinset.h
6803 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6805 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6807 2001-06-14 Juergen Vigna <jug@sad.it>
6809 * insettext.C (draw): removed warnings.
6811 2001-06-13 Juergen Vigna <jug@sad.it>
6813 * insettabular.C (nodraw): only go down the tree if we don't have
6814 that flag set otherwise it's obvious that we don't want to draw.
6815 (LocalDispatch): do also an update if we have an undispached result.
6817 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6820 * insetgraphicsParams.C:
6821 * insettext.C: removed // -*- C++ -*- as first line.
6823 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * lyxinset.h (resizeLyXText): shut off warning about unused
6828 2001-06-07 Juergen Vigna <jug@sad.it>
6830 * insettext.C (resizeLyXText): honor the new force flag.
6832 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6834 * insettabular.C (deleteLyXText): new function
6836 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6844 * insetcollapsable.C:
6845 * insetcaption.C: LColor tidy
6847 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6849 * figinset.C: fix typo
6851 2001-06-01 Juergen Vigna <jug@sad.it>
6853 * insettabular.C (resetPos): small hack so that scroll is not set to
6854 0 when we are in the last column of a tabular. This is a problem we
6855 have because of constats 20 offset on both directions, so this can
6856 cause on the limit an endless loop.
6858 * insettext.C (SetFont): forgot that we can have locking insets ;)
6860 2001-05-31 Juergen Vigna <jug@sad.it>
6862 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6864 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * figinset.C: add using std:: directive for the C functions which
6869 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6871 * insetfloat.C (Write): write out wide info
6872 (Read): read the wide info
6873 (Latex): use the wide info when creating latex.
6875 * insettext.C: adjust
6877 * insetgraphics.[Ch] (statusMessage): change to return string
6881 * figinset.C (runqueue): add std::
6884 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6886 * insetcite.C (Ascii): add std:: qualifier
6888 2001-05-28 Juergen Vigna <jug@sad.it>
6890 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6891 a endless-width inset (maxWidth < 0).
6892 (Edit): change language only if not equal.
6894 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6896 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6898 2001-05-16 Juergen Vigna <jug@sad.it>
6900 * insettext.C (selectAll): added
6901 (clearSelection): added
6903 * insettabular.C (SetFont): now we may set a font on a whole selection!
6904 (getSelection): added helper function.
6906 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6908 * insetcite.C (Ascii): Add method.
6910 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6913 * insetbib.C: fix path for OS/2 & Win32
6915 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6917 * insetfoot.C (Latex): don't use % after footnote.
6919 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6921 * insettext.C (Read): use clear
6922 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6924 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6926 * insetfloatlist.h: add a bunch of std:: qualifiers.
6928 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6931 FLOAT_LIST_CODE, renumber code list.
6933 * insettoc.C (getScreenLabel): remove support for float lists
6937 * insetfloatlist.[Ch]: new files
6939 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6941 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6943 * insettabular.C (LocalDispatch):
6944 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6947 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6949 * insettext.C: remvoe !NEW_INSETS cruft
6951 * insettabular.C: remove !NEW_INSETS cruft
6953 * insetcollapsable.h: remove !NEW_INSETS cruft
6955 * insetbib.C: remove !NEW_INSETS cruft
6957 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * insettoc.C: hack to make listof algorithm work
6961 2001-04-20 Juergen Vigna <jug@sad.it>
6963 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6965 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6967 * insetquotes.C (Latex): improve the guard against
6968 unwanted !` and ?` ligatures. This should really be done in
6969 another place (to catch all this ligatures at low-level).
6971 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * insettext.C (init): remvoe leftovers from cursor_visible change
6974 (draw): use c++ cast
6975 (LocalDispatch): dispatch LFUN_MESSAGE
6977 * insettabular.C (InsetTabular): remove leftovers from
6978 cursor_visible, and scoped_ptr changes
6979 (draw): use c++ cast
6981 * insetcollapsable.C (draw): use c++ cast
6983 * ExternalTemplate.h: inherit privaely from noncopyable
6984 * insetcommand.h: ditto
6985 * insetinclude.h: ditto
6987 2001-04-16 Allan Rae <rae@lyx.org>
6989 * insettoc.C (Ascii):
6990 * insettext.C (draw):
6991 * insettabular.C (setPos):
6992 * insetminipage.C (Read):
6993 * insetfloat.C (placement):
6994 * insetcaption.C (Ascii, DocBook):
6995 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6996 an unrecognised preprocessor directive. So ensure they're wrapped.
6998 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7001 * insetexternal.C: set view on Clone. Add _ to private members.
7003 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * insettext.C (InsetText): fix new
7006 (InsetText): reindent some, simplify deletion of par list
7007 (clear): simplify deletion of par list, fix new
7008 (SetParagraphData): simplify deletion of par list
7010 * insettabular.[Ch] (getLabelList): implement new method
7012 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7014 * lyxinset.h: do not include gettext.h...
7022 * insetlatexaccent.C:
7026 * inseturl.C: ... and do it here instead
7028 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7030 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7032 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7034 * insetcollapsable.[Ch] (getLabelList): implement
7036 * insettext.[Ch] (getLabelList): implement
7038 * insettext.h: reindent
7040 * insettabular.h: make tabular a scoped_ptr
7042 * insettext.C (init): adjust for cursor_visible
7043 (ToggleInsetCursor): constify asc and desc, font, adjust for
7045 (ShowInsetCursor): constify asc and desc, font, adjust for
7047 (HideInsetCursor): adjust for cursor_visible
7049 * insettabular.C: reindent some
7050 (InsetTabular): adjust for scoped_ptr and cursor_visible
7051 (InsetTabular): ditto
7052 (~InsetTabular): delete delete
7053 (Clone): adjust for scoped_ptr
7054 (Read): constify old_format, adjust for scoped_ptr, move init of
7056 (draw): constify tx, localize loop vars.
7057 some other localization of variables, remove double initilizatons.
7059 * insetfoot.C: remove using std::ostream, add ostream where needed
7061 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * lyxinset.h: some reindentaion, use initializer list for
7065 UpdatableInset: make cursor_visible a private var add
7066 public isCursorVisible(), add protected toggleCursorVisible() and
7067 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7069 * insettoc.C: remvoe using decl
7070 (getScreenLabel): make cmdname donst
7073 (Ascii): don't use endl
7075 * insetfootlike.C: remove using decl at file scope and add std::
7077 * insetmarginal.C: ditto
7079 * insetfoot.C: some reformatting
7081 * insetfloat.C (InsetButtonRelease): adjust the hit area
7083 * insetert.C (SetFont): some reformatting
7085 * insetcollapsable.C: some reformatting and constification
7086 (Clone): comment out.
7087 * insetcollapsable.h: some reformatting
7088 (Clone): comment out.
7093 2001-03-30 Juergen Vigna <jug@sad.it>
7095 * insetcollapsable.h: changen *inset to be a InsetText inset.
7097 * some files: changed to reflect the above change.
7099 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7101 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7102 InsetExternal::Params.
7103 Added operator==() and operator!=() for the Params struct.
7105 2001-03-29 Juergen Vigna <jug@sad.it>
7107 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7110 * insetminipage.C: removed widthp_ and all it's functions and changed
7111 to use new %-lengths of LyXLength.
7113 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7115 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7117 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7119 * insetgraphicsParams.C (operator!=): new function, needed by the
7120 ControlGraphics class.
7122 2001-03-28 Juergen Vigna <jug@sad.it>
7124 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7125 (checkAndActivateInset): don't use the values returned from
7126 call to bv->checkInsetHit.
7128 * insetminipage.C (Clone): set special minipage values.
7130 * insetcollapsable.C (draw): changed to draw the button in the
7131 upper left corner outside the textinset.
7132 (ascent): changed because of different drawing
7136 (InsetButtonPress): ditto
7137 (InsetButtonRelease): ditto
7138 (InsetMotionNotify): ditto
7140 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7142 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7146 2001-03-26 Juergen Vigna <jug@sad.it>
7148 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7150 * insettext.C (ShowInsetDialog): implemented above function.
7152 * insettabular.C (ShowInsetDialog): ditto
7154 * insetminipage.C (ShowInsetDialog): ditto
7156 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7158 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7159 InsetInclude::Params. Don't store a buffer * in Params. Store the
7160 master file name instead.
7162 2001-03-23 Juergen Vigna <jug@sad.it>
7164 * insetcollapsable.C (InsetMotionNotify):
7165 (InsetButtonRelease):
7166 (InsetButtonPress): fixed y-offset (minipages).
7168 * insettext.C (draw): force a FULL update if cleared == true.
7170 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7171 routine to draw the minipages on its position-flag.
7172 (InsetInInsetY): give back the right y position, because of minipage
7175 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7178 * insetfloat.C (DocBook): docbook export code.
7180 2001-03-22 Juergen Vigna <jug@sad.it>
7182 * insetminipage.C (getMaxWidth): added function to set the drawing
7184 (Read): should work now!
7186 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7187 if we create a new inset.
7189 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7191 * figinset.C (fl_set_preemptive_callback): moved definition outside
7194 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7196 * insetminipage.C (Read): prepare for reading of minipage arguments.
7198 2001-03-18 Baruch Even <baruch@lyx.org>
7200 * insetgraphics.C: Minor cleanups of the comments and code.
7202 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7204 * insetminipage.C (InsetMinipage): default to not collapsed
7206 2001-03-16 Juergen Vigna <jug@sad.it>
7208 * insetminipage.C (width): modified with to be a string
7209 (widthp): added widthp (for % width) support functions.
7210 (InsetButtonRelease): added to open the options dialog on button==3.
7211 (~InsetMinipage): added to hide the dialog.
7213 * insetminipage.h: added hideDialog signal
7215 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7217 * insetminipage.h: change the order or Position to match
7218 LyXParagraph::MINIPAGE_ALIGNMENT
7220 * several files: remvoe CXX_WORKING_NAMESPACES
7222 * ExternalTemplate.h: noncopyable is in namespace boost
7223 * insetinclude.h: ditto
7224 * insetcommand.h: ditto
7226 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7228 * insettext.C (Edit): #else# -> #else.
7229 * insettoc.C: added using directive.
7231 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7233 * insetminipage.h: add pos, inner_pos, width and height. + getters
7234 and setters for all of them.
7236 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7238 * insetinclude.C (Latex): Do not exit when the textclass of the
7239 included file differ from the textclass of the parent file.
7241 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7243 * ExternalTemplate.C (read): the reading of external insets now checks
7244 for \end_inset and removes it form the input stream.
7246 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7248 * ExternalTemplate.h:
7249 * ExternalTemplate.C:
7251 * insetexternal.C: move form to GUII
7253 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7256 * insetinclude.C: add InsetIncludeParams, use
7257 composition rather than derivation of InsetCommand
7259 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7261 * insettoc.C (Ascii): use the Buffer typedefs
7263 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7265 * insettoc.C (Ascii): implement for dynamic number of lists
7267 * insetcaption.[Ch]: update from new_insets branch
7268 * insetfloat.[Ch]: ditto
7270 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7273 * figinset.C: use new File Dialog
7275 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7277 * insettext.C: changes becuase of ParagraphParameters.
7279 2001-02-28 Baruch Even <baruch@ev-en.org>
7281 * insetgraphics.C (updateInset): Changed due to the change in
7284 2001-02-26 Juergen Vigna <jug@sad.it>
7286 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7287 handled in LyXText).
7289 2001-02-23 Juergen Vigna <jug@sad.it>
7291 * insettext.C (draw): some small repainting fixes.
7292 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7294 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7295 should be) and not an int.
7297 * insettabular.C (LocalDispatch): ditto
7299 * insettext.C (LocalDispatch): ditto
7301 * insetcollapsable.C (LocalDispatch): ditto
7303 2001-02-22 Juergen Vigna <jug@sad.it>
7305 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7306 DISPATCH it and we don't have a locking_inset.
7308 2001-02-21 Baruch Even <baruch@ev-en.org>
7310 * insetgraphics.[Ch]: Changed to use
7311 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7313 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7315 * insetcollapsable.C (getLyXText): add const qualifier to second
7318 2001-02-22 Juergen Vigna <jug@sad.it>
7320 * insettext.C (getLyXText): honor the recursive parameter.
7321 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7323 * inset.C (getLyXText): added bool recursive parameter.
7325 * insettext.C (SetUpdateStatus): or the update codes.
7326 (draw): check need_update with &.
7327 (InsetButtonPress): set no_selection to not put a selection when
7328 entering an inset and it is redraws in another spot.
7330 * insettext.h: made need_update an int.
7332 2001-02-20 Baruch Even <baruch@ev-en.org>
7335 * insetgraphisc.C: Changed to use better semantics when loading images
7336 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7338 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7342 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7343 consistent with InsetTabular.
7345 2001-02-19 Juergen Vigna <jug@sad.it>
7347 * insettabular.C (LocalDispatch): implement PAGE up/down.
7349 * insettext.C (draw): clear all of it on need_update==INIT too!
7351 * insettabular.C (InsetUnlock): always clear the selection.
7353 * inset.C (scroll): normally we only want to scroll the inset until
7354 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7356 2001-02-14 Juergen Vigna <jug@sad.it>
7358 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7359 (resetPos): fixed scroll behaviour.
7360 (LocalDispatch): do an update if moving cursor inside a table cell
7361 requests a scroll of the tabular.
7363 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7365 * insettext.C (textWidth): constify local var
7367 * insettabular.C: small cleanup.
7369 * insetfoot.C (Latex): constify local var
7371 * insetcollapsable.C: small cleanup.
7373 * figinset.C (runqueue): use compare instead of strcmp
7375 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7378 * insetinfo.C: remove cruft
7380 2001-02-14 Juergen Vigna <jug@sad.it>
7382 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7384 2001-02-13 Juergen Vigna <jug@sad.it>
7386 * insettext.C (InsertInset): don't move left (is this right?)
7388 * insettabular.C (LocalDispatch): use of the no_draw variable
7390 * insettabular.h: new no_draw variable to stop redraw
7392 * insettabular.C (TabularFeatures): fixed update for alignment change
7394 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7398 * insetbib.C: move dialogs to frontends/
7400 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7402 * insettext.C (LocalDispatch): Restore the language if the inset
7405 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7407 * insettext.C (moveRightIntern): Update the selection cursor.
7408 (moveLeftIntern): Ditto.
7410 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7412 * Makefile.am: remove BoundingBox.h
7414 * BoundingBox.h: removed
7416 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7418 * insettext.C (LocalDispatch): Update selection cursor when moving
7419 cursor to the right.
7420 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7421 (moveLeftIntern): Ditto.
7423 2001-02-05 Baruch Even <baruch.even@writeme.com>
7425 * insetgraphics.C: Updated automatic image conversion, it now goes into
7426 temporary directory instead of with the image itself.
7428 2001-01-21 Baruch Even <baruch@ev-en.org>
7430 * insetgraphics.C: Added Docbook support. Added Automatic image
7431 conversion to EPS or PNG when needed (support bitmap graphics).
7433 2000-11-02 Baruch Even <baruch@ev-en.org>
7436 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7437 to '\n' and removal of commented out code.
7439 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7441 * insetbib.C (callback): Update citations if the key has changed.
7443 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7445 * insetbib.C (InsetBibKey): Better computation of default key.
7446 (getScreenLabel) Show both the key and the label.
7447 (getBibLabel): New method.
7448 (callback): Force a redraw if the inset have been changed.
7450 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7452 * insetref.C (getType, getName): Move methods from
7453 src/frontends/xforms/FormRef.C.
7455 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7457 * insettabular.C: Various improvements (use only one dummy position).
7459 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7461 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7462 par->bibkey->width. This fixes the crashes when running without
7463 gui or when having included documents.
7465 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7467 * insetcommand.C (getAsString, setFromString): Cleanup.
7469 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7471 * insetref.C: Add the array InsetRef::types that contains
7472 information about all supported reference types.
7474 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7476 * lyxinset.h: remove trailing comma in enum.
7478 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7480 * insettext.C: kill LyXBell.