1 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * rename a lot of InsetOld to InsetBase
5 2004-11-25 Alfredo Braunstein <abraunst@lyx.org>
8 * insettext.C: par->pit renaming
10 2004-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
12 * Most insets: rename priv_dispatch to doDispatch
14 2004-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * insettabular.C (tabularFeatures): fix multicolumn handling
18 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
20 * render_base.h (operator=): use common semantics
22 * insettext.C (operator=): delete this
23 (copy constructor): implement this properly
24 (init): use for_each and bind
26 (appendParagraphs): ditto
28 * insettabular.C: add more const. Adjust for changes in tabular.
30 * insetbase.h: Use NVI on clone. Add virtual doClone and update
31 all children, also make copy constructor protected. Added some
34 * insets: adjust to fit.
36 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * insetoptarg.C (latexOptional): return number of lines instead of
41 2004-11-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * insettabular.[Ch] (string2params): Don't pretend to return the
44 active cell anymore and simplify keyword parsing.
46 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * insetlatexaccent.h (isLetter): implement, so that word selection
49 takes accents into account.
51 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
53 * insetcollapsable.C (priv_dispatch): do not push the inset to the
56 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * ExternalSupport.C, insetgraphics.C:
59 s/getFormatFromContents/formats.getFormatFromFile/
61 2004-11-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
63 * insetcharstyle.[Ch]:
64 * insetert.[Ch]: implement getStatus
66 * insetcharstyle.C (draw): visual clue when the cursor is inside
69 2004-11-02 José Matos <jamatos@lyx.org>
71 * insetcharstyle.C (docbook):
72 * insetlabel.C (linuxdoc, docbook):
73 * insetref.C (linuxdoc, docbook): escape chacters in id to produce
76 * insettabular.C (docbook): mixed content no longer belongs to
79 2004-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * insetcharstyle.C (priv_dispatch): prevent paragraph breaks
83 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
85 * ExternalSupport.C (updateExternal): convert files in the temp dir
87 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * insetcharstyle.C: drawing cosmetics.
91 2004-10-30 José Matos <jamatos@lyx.org>
93 * insetcharstyle.C (docbook): a compromisse solution. Don't output
94 paragraph tags inside inline elements.
96 2004-10-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): use
99 InsetText methods rather than outputVerbatim (escapes special
100 characters) [bug 1731]
101 * insetcharstyle.C (outputVerbatim): remove this function.
102 * insetcharstyle.C (priv_dispatch): fix typo in LFUN_MOUSE_PRESS,
103 which caused an infinite loop.
105 2004-10-29 José Matos <jamatos@lyx.org>
107 * insetgraphics.C (uniqueID): transfered to sgml.C
109 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
111 * insetlabel.C (docbook, linuxdoc):
112 * insetref.C (docbook, linuxdoc): sanitize id.
114 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * ExternalSupport.C: s/getExtFromContents/getFormatFromContents/
117 * insetgraphics.C: s/getExtFromContents/getFormatFromContents/
118 * insetgraphics.C (findTargetFormat): reformat
120 2004-10-28 José Matos <jamatos@lyx.org>
122 * insetcharstyle.C (linuxdoc, docbook): apply opentTag and closeTag.
124 2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
126 * ExternalTransforms.C (sanitizeLatexOption): simplify regex
128 2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
130 * ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
131 "[,,,]" without warning message
133 2004-10-26 Angus Leeming <leeming@lyx.org>
135 * ExternalSupport.C (updateExternal):
136 * insetgraphics.C (copyFileIfNeeded): use the new Movers to move
137 external files to the temp directory.
139 2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
141 * insetfoot.C (latex): use \thanks instead of \footnote on titlepage
142 layouts. This fixes problems with the memoir class (which does not
143 allow \footnote) [bug 1677]
145 2004-10-24 Andreas Vox <vox@isp.uni-luebeck.de>
147 * insetindex.C (docbook): escape the index, to generate correct sgml.
149 2004-10-23 José Matos <jamatos@lyx.org>
151 * insettext.C (docbook): rearrange arguments, due to change in the
154 2004-10-23 André Pönitz <poenitz@gmx.net>
156 * insettabular.C (cutSelection, tabularFereatures):
157 fix cursor position after cutting selection or table rows
159 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
161 * insetgraphics.C (docbook, writeImageObject): write more than one
162 format of imageobjects in <mediaobject>.
164 2004-10-17 Andreas Vox <vox@isp.uni-luebeck.de>
166 * insetcite.[hC] (docbook, latex, cleanupWhitespace): implementing
167 DocBook output for this inset ( <citation>content</citation> )
169 2004-10-05 Andreas Vox <vox@isp.uni-luebeck.de>
171 * insetgraphics.C (docbook) : using mediaobject for XML;
172 correcting bug with SGML output (now '>' instead of '/>')
174 2004-10-05 José Matos <jamatos@lyx.org>
176 * insetfloatlist.C (read):
177 * insetquotes.C (read):
178 * insetspace.C (read):
179 * insetspecialchar.C (read):
180 * insettabular.C (read): replace nextToken by more appropriate lex
183 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
185 * insetgraphics.C (createDocBookAttribute, docbook) :
186 convert scale, width, height and keepaspectratio to Docbook standards)
188 * insetgraphics.[hC] (toDocbookLength): new method to convert TeX units
189 to Docbook units where possible.
191 2004-09-29 Andreas Vox <vox@isp.uni-luebeck.de>
193 * insetgraphics.C (docbook): create inlinegraphic instead of graphic.
195 * insetgraphics.[hC] (createDocBookAttributes): Export parameters
196 as attributes with new method for docbook.
198 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
200 * render_preview.h: Use preferred calling of Boost.Signal
202 * pch.h: use proper signal include
204 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
206 * ExternalTransforms.h: User preferred calling of Boost.Function
208 2004-09-24 Andreas Vox <vox@isp.uni-luebeck.de>
210 * insetref.C (docbook): fixing problem where Docbook XML output
211 had unclosed <xref ... >
213 2004-08-16 José Matos <jamatos@lyx.org>
215 * insethfill.C (write):
216 * insetline.C (write):
217 * insetnewline.C (write):
218 * insetpagebreak.C (write): remove space at end of line.
220 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * insettabular.C (plaintext): do not use ownerPar to get the
225 * insettext.C (sanitizeEmptyText): remove. Not sure what it does,
226 and it calls getParentLanguage (which calls ownerPar)
227 (edit): do not call sanitizeEmptyText
228 (priv_dispatch): remove code resetting font on empty inset, for
229 the same reasons as above.
231 * insettabular.C (isRightToLeft): instead of using
232 BufferView::getParentLanguage, use the data from the cursor
234 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * Makefile.am: support pch
240 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * insettabular.C (draw): whitespace
244 * insetnewline.C (draw): use PainterInfo::ltr_pos instead of ownerPar.
246 2004-08-14 André Pönitz <poenitz@gmx.net>
248 * insettabular.C (priv_dispatch): fix MOUSE_MOTION handling
250 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * insettabular.C (metrics): when the width of a cell is zero(),
253 let it use as much space as it can
255 * insettext.C (editXY): compilation fix
257 * insetinclude.C (priv_dispatch): fix showing dialog on mouse
259 (metrics): the insets is not full width any more.
260 (draw): adjust; fix bad test for PREVIEW_OFF
261 (add_preview): fix bad test for PREVIEW_OFF
262 (display): do not return true when using \input
264 2004-08-14 José Matos <jamatos@lyx.org>
266 * insetbibitem.[Ch] (plaintext): added.
268 * insetcite.[Ch]: fix plaintext export.
270 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
272 * insettext.[Ch] (setDrawFrame): take a bool, get rid of the
275 * insetcaption.C (InsetCaption): modify call to setDrawFrame
276 * insetcollapsable.C (InsetCollapsable): ditto
277 * insetenv.C (InsetEnvironment): ditto
279 2004-08-14 André Pönitz <poenitz@gmx.net>
282 * insetbase.[Ch]: remove the 'internale' xo, yo position cache
284 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * insetoptarg.C (latexOptional): if the optional argument contains
287 a ']' enclose it in {curly brackets}
289 * insettext.C (editXY):
290 * insettabular.C (editXY):
291 * insetcollapsable.C (editXY):
292 * insetbase.C (editXY): constify
294 * insetcollapsable.C (priv_dispatch): on a mouse press event, do
295 not ask for an update if we did nothing; on a mouse release, make
296 sure that the cursor is moved to the right position; on a mouse
297 release, exit from the inset instead of invoking a
300 * insetbase.C (dispatch): before invoking dispatch, set cursor
301 result to dispatch=update=true.
303 2004-08-13 José Matos <jamatos@lyx.org>
305 * insetgraphics.C (docbook): close empty tags in XML. Fix bug 1147.
307 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * insetfoot.C (latex): use OutputParams::intitle instead of
310 parOwner() (avoids time consuming lookup)
312 * insetquotes.C (latex): same as above with OutputParams::lang.
313 Moreover the code actually works now.
315 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
317 * insetwrap.C, insetvspace.C, insettabular.C, insetnote.C:
318 * insetinclude.C, insetgraphics.C, insetfloat.C:
319 * insetexternal.C, insetert.C, insetcharstyle.C, insetcaption.C:
320 * insetbranch.C, insetbox.C, ExternalTransforms.C: change
321 "support/std_sstream.h" to <sstream>
323 2004-06-22 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * insetgraphics.C (prepareFile): remove conversion_needed flag.
326 It made the following fail for a .eps graphics file:
328 2) view->pdf (pdflatex)
329 because the .eps file was already in the temp dir when the pdflatex
330 export happened and therefore no .eps -> pdf conversion was done.
332 2004-06-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
334 * insetgraphics.C, insettabular.C: s/wether/whether/g
336 2004-06-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * insetgraphics.C (stripExtension): new
339 * insetgraphics.C (prepareFile): Don't check for nonexisting files,
341 * insetgraphics.C (prepareFile): Handle "nice" exports, too
342 * insetgraphics.C (latex): call prepareFile() also for "nice" exports
344 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * insetfloatlist.C (latex,getScreenLabel): translate according to
347 the document language (bug #1312)
349 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
351 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
352 with external_in_tmpdir and compute filename ourself
353 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
354 use it to store referenced file(s)
355 * ExternalSupport.C (writeExternal): write relative filename if
357 * ExternalTemplate.[Ch]: add ReferencedFile command
358 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
360 * insetgraphics.C (prepareFile): write relative filename if
362 * insetinclude.C (latex, docbook, linuxdoc): add file to
363 runparams.exportdata and write it to the temp dir instead of
364 writing it to the final destination
365 * insetinclude.C (docbook, linuxdoc): don't copy runparams
367 2004-05-19 Angus Leeming <leeming@lyx.org>
369 * insetcite.[Ch]: small change because namespace biblio is
370 now namespace lyx::biblio.
372 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * insettabular.[Ch] (buffer): make Buffer * argument const
376 2004-05-17 Angus Leeming <leeming@lyx.org>
378 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
379 to force the button label to be re-generated.
381 2004-05-14 José Matos <jamatos@lyx.org>
383 * insetlabel (docbook): do not ouput label, for the moment.
385 2004-05-14 Angus Leeming <leeming@lyx.org>
387 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
388 new biblio::asValidLatexString function.
390 2004-05-12 Angus Leeming <leeming@lyx.org>
392 * insetcite.C: use BufferParams::cite_engine rather than the three
393 bools, use_natbib, use_jurabib, use_numerical_citations.
395 2004-05-10 Angus Leeming <leeming@lyx.org>
397 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
398 Ditto with getStyle, moved to biblio::getEngine.
400 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * insetgraphics.C (validate): remove pre 233 file format stuff,
403 handle zipped files for "nice" export
405 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
407 * insetgraphics.C (prepareFile): copy zipped file and corresponding
408 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
409 * insetgraphics.C (prepareFile): unzip zipped file also if it has
410 changed since the last run
411 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
412 and copyFileIfNeeded.
414 2004-04-29 Angus Leeming <leeming@lyx.org>
416 * ExternalTemplate.[Ch]: remove redundant #includes.
418 2004-04-28 Angus Leeming <leeming@lyx.org>
421 s/updateToolbar()/updateToolbars()/
423 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * insetgraphics.C: require file extension (file format change!)
426 * insetgraphics.C (latex): handle zipped files for "nice" export
428 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * insetgraphics.C (latex): strip the extension and replace dots in
431 the filename if doing a "nice" export. This is a partial fix for
432 bug 1231 without reintroducing bug 655.
434 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * insetoptarg.h: remove the editable() method (InsetCollapsable
437 does it better already)
439 * insetbibtex.C (normalize_name): new helper function. Changes the
440 name to be suitable to use in a latex file (relative to master
441 buffer if necessary).
442 (latex): use normalize_name.
444 2004-04-20 Angus Leeming <leeming@lyx.org>
446 * render_preview.C (startLoading): remove lyxerr statement.
448 (getPreviewLoader): new helper function.
450 2004-04-19 Angus Leeming <leeming@lyx.org>
454 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
456 2004-04-19 Angus Leeming <leeming@lyx.org>
458 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
460 (add_preview): renamed as add_preview_and_start_loading. Invoke
461 RenderPreview::startLoading.
463 * insetinclude.C (metrics, draw): changes due to the changed
464 RenderPreview interface.
466 * render_preview.C: remove cached pimage_.
467 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
468 (draw): don't call startLoading. That's up to the user of
471 2004-04-16 Angus Leeming <leeming@lyx.org>
473 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
475 2004-04-13 Angus Leeming <leeming@lyx.org>
477 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
478 the renderer to inform LyX::updateInset that the inset's status
479 has changed and it should be redrawn.
481 * render_button.[Ch] (clone):
482 * render_graphic.[Ch] (c-tors, clone):
483 * render_preview.[Ch] (c-tors, clone): ditto.
485 * render_graphic.[Ch] (connect):
486 * render_preview.[Ch] (connect): removed, as connection is now
487 made in the constructors.
491 * insetinclude.C: ensuing simplification of the client code.
492 (statusChanged): now superfluous. Removed.
494 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
496 * ExternalTemplate.[Ch]: remove editCommand
497 * ExternalSupport.C (editExternal): use formats.edit() instead of
498 the removed editCommand template parameter
499 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
500 * insetgraphics.[Ch] (editGraphics): new method
502 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
504 * insetinclude.C (validate): set/reset features.buffer_ when
507 2004-04-07 Angus Leeming <leeming@lyx.org>
509 * insetexternal.C (priv_dispatch):
510 * insetinclude.C (priv_dispatch): prevent crash by invoking
511 InsetOld::priv_dispatch at the end of the switch, rather than
512 InsetOld::dispatch...
514 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
516 * insetcollapsable.C:
517 * insetbranch.C: 'assign' to open/close branch inset according to
518 selection; also print content on closed branch button
520 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
523 $$RelPath_Master, $$RelPath_Parent, $$Extension,
524 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
526 * ExternalSupport.C (updateExternal): use absolute and output
527 filename where appropriate
529 2004-04-05 André Pönitz <poenitz@gmx.net>
531 * insetbase.h: use LCursor & in notifyCursorLeave
533 2004-04-05 Angus Leeming <leeming@lyx.org>
535 * insetgraphics.C: remove unused header file "lyxrc.h".
537 * render_graphic.C: squash bug 1372: Misleading graphics label when
538 deactivating lyx view.
540 2004-04-05 Angus Leeming <leeming@lyx.org>
545 * insetlatexaccent.C:
550 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
552 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
554 * insetfloat.C (read): fix yesterday's float fix.
555 * insetwrap.C (read): apply the fixed float fix.
557 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
559 * insetfloat.C (read): fix reading of float params
562 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
564 * insettext.C (edit): comment the call to updateLocal (dangling now)
565 * insettext.h: add allowSpellCheck() returning true
567 2004-03-31 Angus Leeming <leeming@lyx.org>
569 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
571 2004-03-31 Angus Leeming <leeming@lyx.org>
573 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
574 the cursor out of an inset.
576 * insetbranch.C (priv_dispatch):
577 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
578 use getOutOfInset to push the cursor out of the inset when
581 2004-03-30 Angus Leeming <leeming@lyx.org>
583 * insetbase.[Ch] (translate): new static member function, returns
584 an InsetBase::Code corresponding to the input string.
586 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
588 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
589 so that it opens the inset if it refers to the currently active
592 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
594 * insetfloat.C (addToToc): use par_const_iterator_begin and
595 par_const_iterator_end.
597 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599 * insetbibtex.[Ch]: bibtopic support.
601 * insetfloat.[Ch]: add param \sideways {true|false}
602 (support for sideways floats from rotating.sty).
604 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
606 * insettext.[Ch]: add a default ctor. implement const version of
612 * insetwrap.C: adjust
614 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
616 * insettext.h: add insetAllowed returning true by default (fixing
617 vanishing insets problem)
619 * insettext.C (draw): handle the responsability of adding the
620 ouside offset to collapsable. Clean code a bit.
622 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
623 from insettext correctly, solve a couple of off-by-one drawing
626 2004-03-25 Angus Leeming <leeming@lyx.org>
628 * insetcaption.C (draw): squash warning about unused variable.
630 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
632 * ExternalSupport.C: use the master buffer's temp dir
633 * insetgraphics.C (latex): make relative filename relative to the
635 * insetgraphics.C: use the master buffer's temp dir
636 * insetinclude.C (masterFilename): new function
637 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
638 is always true if loadIfNeeded() returns true)
640 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
642 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
643 set its parent to the current buffer.
644 (latex): use the tmppath of the master buffer, not just the parent
645 buffer (makes a difference with more than one level of include
646 insets). If the file name is relative write in the .tex file a
647 name relative to the master buffer directory.
649 * insetinclude.C: rename masterFilename to parentFilename (this
650 points to the direct parent)
652 2004-03-25 André Pönitz <poenitz@gmx.net>
654 * inset.[Ch]: remover owner
656 * insetcollapsable.[Ch]: derive from InsetText instead having such a
664 * insetcharstyle.[Ch]:
672 * insetwrap.C: adjust
674 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
676 * insetquote.C: use opening quote after '[' char.
678 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
680 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
683 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
685 * insetcite.[Ch]: support jurabib.
687 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
689 * insetcite.C: Support second \cite option.
692 * insetcommandparams.[Ch]: add second optional argument.
694 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
696 * insetcollapsable.C (lfunMouseRelease): right mouse button only
697 shows the inset dialog.
699 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
701 * insetlabel.[Ch]: remove them
702 * Makefile.am: adjust
704 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
708 * insetinclude.C (latex): show a GUI warning if textclasses don't
710 * insetinclude.C: use mangledFilename() for temp files
711 * insetgraphics.C (readInsetGraphics): remove version check, since
712 the graphics inset has no own fileformat number anymore
714 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
716 * insetquotes.[Ch]: added new member that allows direct access
717 to single/double quotation marks.
719 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
721 2004-02-16 André Pönitz <poenitz@gmx.net>
724 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
725 implicitly assume 'DispatchResult(true, true) with exception of
726 InsetBase::priv_dispatch which does the equivalent of
727 'retrun DispatchResult(false)'
729 * inset*.[Ch] (priv_dispatch): adjust
731 * insettabular.[Ch]: remove remains of the 'update' mechanism,
732 simplify cursor moving function,
733 re-enable horizontal scrolling for large tables
735 2004-02-13 André Pönitz <poenitz@gmx.net>
737 * insettabular.[Ch]: some work after IU
739 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
741 * inset.C (setPosCache): switch to absolute coords in insets
742 * insettext.[Ch] (draw, drawFrame): adjust
743 * insetcollapsable.C (draw): adjust
746 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
748 * insettext.C (edit):
749 (updateLocal): use the cur argument instead of the global cursor
750 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
752 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
754 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
756 * insetfloat.C (validate): "H" -> 'H' in call to contains
758 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
760 2004-01-30 André Pönitz <poenitz@gmx.net>
764 * insetcollapsable.[Ch]:
767 * insetgraphics.[Ch]:
772 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
775 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
777 * insettabular.C: add using statement for std::vector, remove
778 std:: where using was already used.
780 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
782 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
784 * insetinclude.C (validate): use feautures.nice() instead of
787 2004-01-20 André Pönitz <poenitz@gmx.net>
790 * insetbase.[Ch]: move stuff from mathcursor here.
796 * insetcharstyle.[Ch]:
797 * insetcollapsable.[Ch]:
800 * insetexternal.[Ch]:
802 * insetgraphics.[Ch]:
811 * updatableinset.[Ch]: Adjust to IU changes (see comment in
814 2004-01-15 André Pönitz <poenitz@gmx.net>
821 * insetcharstyle.[Ch]:
822 * insetcollapsable.[Ch]:
825 * insetexternal.[Ch]:
827 * insetgraphics.[Ch]:
836 * updatableinset.[Ch] (priv_dispatch et al): change signature.
838 2004-01-08 André Pönitz <poenitz@gmx.net>
840 * insetcollapsable.[Ch]:
843 * updatableinset.h: use cell index info from global cursor.
845 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * insetnote.C (InsetNoteParams::write): write label only once
849 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
851 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
853 get rid of the SameName functor
855 * insettabular.C: improve the functor.
857 2003-12-29 Angus Leeming <leeming@lyx.org>
859 * insetexternal.C (setParams): update defaultTemplateName.
861 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
863 * insetbox.C: Use term "Box" in button label
865 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
867 * insetcharstyle.C: get getDrawFont working again
869 2003-12-15 André Pönitz <poenitz@gmx.net>
872 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
874 2003-12-12 Angus Leeming <leeming@lyx.org>
876 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
878 (InsetBranchParams): remove the branchlist hack.
879 (isBranchSelected): new function, used to decide whether to
880 print each output format. Also used by InsetList.
881 (read, string2params): repair my own breakage ;-)
883 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
885 * insetminipage.[Ch]: remove from repository.
887 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
890 * insetcollapsable.[Ch]: Move all CollapseStatus code from
891 insetert to insetcollapsable; introduce virtual function
892 setButtonLabel and invoke it from collapsable
894 2003-12-12 Angus Leeming <leeming@lyx.org>
896 * insetinclude.C (draw): cache x,y and so enable the
899 2003-12-12 Angus Leeming <leeming@lyx.org>
901 * mailinset.C (print_mailer_error): tidy up the output.
903 2003-12-11 Angus Leeming <leeming@lyx.org>
905 * mailinset.[Ch] (print_mailer_error): new helper function.
907 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
908 calling InsetCommandMailer.
909 (InsetCommandMailer::string2params): pass the name of the dialog.
911 * insetbibitem.[Ch] (d-tor):
912 * insetbibtex.[Ch] (d-tor):
913 * insetcite.[Ch] (d-tor):
914 * insetfloatlist.[Ch] (d-tor):
915 * insetindex.[Ch] (d-tor):
916 * insetlabel.[Ch] (d-tor):
917 * insetref.[Ch] (d-tor):
918 * insettoc.[Ch] (d-tor):
919 * inseturl.[Ch] (d-tor): removed.
920 Hiding the dialog is handled by InsetCommand.
922 * insetbibtex.[Ch] (draw, metrics):
923 * insetfloatlist.[Ch] (draw, metrics):
924 * insetindex.[Ch] (draw, metrics): removed.
925 Drawing is handled by InsetCommand.
927 * insetbibitem.[Ch] (priv_dispatch):
928 * insetbibtex.[Ch] (priv_dispatch):
929 * insetcite.[Ch] (priv_dispatch):
930 * insetfloatlist.[Ch] (priv_dispatch):
931 * insetindex.[Ch] (priv_dispatch):
932 * insetlabel.[Ch] (priv_dispatch):
933 * insettoc.[Ch] (priv_dispatch):
934 * inseturl.[Ch] (priv_dispatch): removed or simplified.
935 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
936 LFUN_INSET_DIALOG_SHOW.
938 * insetbox.C (string2params):
939 * insetbranch.C (string2params):
940 * insetert.C (string2params):
941 * insetexternal.C (string2params):
942 * insetfloat.C (string2params):
943 * insetinclude.C (string2params):
944 * insetminipage.C (string2params):
945 * insetnote.C (string2params):
946 * insetvspace.C (string2params):
947 * insetwrap.C (string2params): over-hauled.
949 2003-12-10 Angus Leeming <leeming@lyx.org>
951 * insetexternal.[Ch]: add a draft option and respect it when
954 2003-12-10 Angus Leeming <leeming@lyx.org>
956 * insetbox.C: (read, write): now prepend the inset contents with
957 'Box' to identify the inset as a box inset.
959 * insetbox.h: move the translators out of sight.
961 2003-12-10 Angus Leeming <leeming@lyx.org>
963 * insetert.C (string2params): clean-up using the new lyxlex interface.
965 * insetexternal.C: ensure that InsetExternalParams has a default
966 template, 'RasterImage'.
968 2003-12-10 Angus Leeming <leeming@lyx.org>
970 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
971 to an enum. Ensuing clean-ups through out the class.
972 (read, write): now prepend the inset contents with 'Note' to identify
973 the inset as a note inset.
975 2003-12-10 Angus Leeming <leeming@lyx.org>
977 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
978 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
980 2003-12-10 André Pönitz <poenitz@gmx.net>
985 * insettext.[Ch]: remove unused insetInset()
987 * insetert.C: disable some LFUNs
989 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
991 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
993 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
995 2003-12-04 Angus Leeming <leeming@lyx.org>
997 * insetexternal.C (draw): update the xo_, yo_ cache.
999 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
1001 (RotationDataType): new helper struct wrapping the
1002 RotationData::OriginType enum.
1004 2003-12-03 André Pönitz <poenitz@gmx.net>
1006 * inset.h: remove getParagraphs()
1008 * insetcollapsable.[Ch]:
1011 * insettabular.[Ch]:
1012 * insettext.C: use getText() instead of getParagraphs()
1014 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
1016 * insetert.C: fix label text updating bug
1018 2003-12-02 Angus Leeming <leeming@lyx.org>
1020 * insetvspace.[Ch] (space): new member function. Make space_ private.
1021 (read): use the new, simpler lyxlex syntax.
1023 2003-12-01 André Pönitz <poenitz@gmx.net>
1025 * insetcollapsable.[Ch]:
1026 * insetert.[Ch]: move 'inline' state to InsetCollapsable
1028 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1030 * insetvspace.C (read): handle 'end_inset' token.
1032 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1034 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
1036 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1038 * insetcollapsable.[Ch]:
1040 * insetcharstyle.C: place inset content on the button when
1043 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1045 * insetvspace.C: remove VSpace::NONE; increase inset width
1047 2003-12-01 André Pönitz <poenitz@gmx.net>
1049 * insetbase.h: whitespace
1051 * inset.[Ch]: remove latexTextWidth
1052 make setBackgroundColor virtual
1054 * insettext.[Ch]: move ParagraphList member to LyXText
1056 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
1062 * insetminipage.[Ch]:
1064 * insetwrap.[Ch]: adjust paragraphs and background color handling,
1066 2003-11-28 Angus Leeming <leeming@lyx.org>
1068 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
1069 hiding and showing the dialog respectively.
1070 (priv_dispatch): also actually update the inset contents.
1072 2003-11-28 Angus Leeming <leeming@lyx.org>
1074 * insetbox.C (d-tor):
1075 * insetbranch.C (d-tor):
1076 * insetcite.C (d-tor):
1077 * insetfloat.C (d-tor):
1078 * insetfloatlist.C (d-tor):
1079 * insetinclude.C (d-tor):
1080 * insetindex.C (d-tor):
1081 simplify the invocation of the Mailer::hideDialog() function.
1083 * insetminipage.C (showInsetDialog):
1084 simplify the invocation of the Mailer::showialog() function.
1086 2003-11-28 André Pönitz <poenitz@gmx.net>
1089 * insetvspace.[Ch]: new insets
1091 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1093 * insetcharstyle.C: Syntax change for CharStyles
1095 2003-11-28 André Pönitz <poenitz@gmx.net>
1097 * updatableinset.h: remove insetInInsetY
1099 * insetcollapsable.[Ch]:
1101 * insettabular.[Ch]:
1102 * insettext.[Ch]: adjust
1104 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1108 * insetcollapsable.[Ch]:
1110 * insettabular.[Ch]: remove setFont
1112 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
1114 * render_graphic.[Ch]: adjust comments
1116 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1118 * insetgraphics.C (draw): cache xo_ & yo_
1120 2003-11-24 André Pönitz <poenitz@gmx.net>
1122 * insettext.C (setViewCache): don't call LyXText::init() anymore
1124 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1127 * insetcollapsable.[Ch]:
1128 * insetert.[Ch]: remove bufferview parameter in methods
1129 open, close, status, and updateStatus.
1131 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1133 * insetcollapsable.[Ch]:
1134 * insettabular.[Ch]:
1135 * insettext.[Ch] (getCursorDim): squash unused variable
1137 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1139 * insettext.C (edit): x0_,y0_ -> xo_,yo_
1141 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1143 * insettext.C (draw): sets LyXText absolute coordinates
1145 2003-11-20 Angus Leeming <leeming@lyx.org>
1147 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash
1148 warnings about unused parameters.
1150 * insetcollapsable.C (open):
1151 * insettabular.C (pasteSelection):
1152 * insettoc.C (draw): ditto.
1154 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1156 * insetcollapsable.C:
1158 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
1159 remove mouse_x mouse_y etc.
1161 2003-11-17 André Pönitz <poenitz@gmx.net>
1163 * insettext.[Ch] (cx, cy): remove
1165 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
1167 2003-11-13 André Pönitz <poenitz@gmx.net>
1170 * insetcollapsable.[Ch]:
1171 * insettabular.[Ch]:
1172 * insettext.[Ch] (deleteLyXText): remove
1174 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1176 * insetcollapsable.[Ch] (fitInsetCursor): remove
1177 * insettabular.[Ch] (fitInsetCursor): remove
1178 * insettext.[Ch] (fitInsetCursor): remove
1179 * updatableinset.[Ch] (fitInsetCursor): remove
1180 (getCursorDIm): add virtual
1182 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1184 * src/insets/Makefile.am:
1185 * src/insets/inset.h:
1186 * src/insets/insetcharstyle.C:
1187 * src/insets/insetcharstyle.h: The Character Style /XML short
1190 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1192 * insettext.C: remove all update calls
1193 * insetcollapsable.C: remove all update calls
1195 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1197 * insettext.C (updateLocal, insertInset, setFont): remove
1200 2003-11-10 André Pönitz <poenitz@gmx.net>
1202 * inset.h: remove Inset::id_
1204 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with
1209 2003-11-10 André Pönitz <poenitz@gmx.net>
1213 * insetcollapsable.[Ch]:
1217 * insettabular.[Ch]:
1220 * updatableinset.[Ch]: remove inset locking & adjust
1222 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1224 * inset.h (allowSpellCheck): add (return true)
1225 * insetert.h (allowSpellCheck): add (return false)
1227 2003-11-05 José Matos <jamatos@lyx.org>
1233 * insetcaption.[Ch]:
1235 * insetcollapsable.[Ch]:
1236 * insetcommand.[Ch]:
1239 * insetexternal.[Ch]:
1241 * insetfloatlist.[Ch]:
1243 * insetgraphics.[Ch]:
1245 * insetinclude.[Ch]:
1248 * insetlatexaccent.[Ch]:
1251 * insetmarginal.[Ch]:
1252 * insetminipage.[Ch]:
1253 * insetnewline.[Ch]:
1256 * insetpagebreak.[Ch]:
1260 * insetspecialchar.[Ch]:
1261 * insettabular.[Ch]:
1263 * insettheorem.[Ch]:
1266 * insetwrap.[Ch]: rename ascii to plaintext
1267 and LatexRunParams to OutputParams.
1269 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1271 * insetcollapsable.C (edit): add open() all
1272 * insettext.C (edit): add setViewCache call
1274 2003-11-04 André Pönitz <poenitz@gmx.net>
1276 * inset.h (edit): move locking code from dispatch() to edit()
1282 * insetcollapsable.[Ch]:
1285 * insetexternal.[Ch]:
1286 * insetgraphics.[Ch]:
1291 * insettabular.[Ch]:
1292 * insettext.[Ch]: adjust
1294 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1297 * insetcollapsable.[Ch]:
1299 * insettabular.[Ch]:
1301 * updatableinset.[Ch]: remove dead search code
1303 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1306 * insetcollapsable.[Ch]:
1308 * insettabular.[Ch]:
1310 * updatableinset.[Ch]: remove dead spellcheck code
1312 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1314 * insettabular.C (lockInsetInInset): small fix
1316 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1318 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
1319 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
1320 from here. Be stricter on DispatchResult returned.
1322 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * Inset::dispatch's: adjust for new DispatchResult semantics.
1326 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * render_base.h: make clone return an auto_ptr
1329 * render_button.C (clone): adjust
1330 * render_graphic.C (clone): adjust
1331 * render_preview.C (clone): adjust
1333 * insettheorem.C (clone): return an auto_ptr
1335 * insettext.C (priv_dispatch): exception safety
1337 * insettabular.C: store the file scope variable paste_tabular in a
1338 scoped_ptr, adjust usage.
1340 * insetexternal.C (setParams): exception safety
1342 * insetbibitem.C (clone): exception safety
1344 2003-11-03 André Pönitz <poenitz@gmx.net>
1347 * insetcollapsable.[Ch]:
1348 * insettabular.[Ch]:
1349 * insettext.[Ch]: remove Inset::id and related functions
1351 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * insets: adjust for DispatchResult changes.
1355 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1357 * insetpagebreak.C: fix screen representation & ascii output.
1359 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1363 * insettabular.[Ch]:
1364 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1366 2003-10-31 José Matos <jamatos@lyx.org>
1368 * inset.h (ascii, linuxdoc, docbook):
1369 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1370 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1371 * insetcaption.[Ch] (ascii, docbook):
1372 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1373 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1374 * insetert.[Ch] (ascii, linuxdoc, docbook):
1375 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1376 * insetfloat.[Ch] (linuxdoc, docbook):
1377 * insetfloatlist.[Ch] (ascii):
1378 * insetfoot.[Ch] (docbook):
1379 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1380 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1381 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1382 * insetindex.[Ch] (docbook):
1383 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1384 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1385 * insetline.[Ch] (ascii, linuxdoc, docbook):
1386 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1387 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1388 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1389 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1390 * insetref.[Ch] (ascii, linuxdoc, docbook):
1391 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1392 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1393 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1394 * insettext.[Ch] (ascii, linuxdoc, docbook):
1395 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1396 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1397 * insetwrap.[Ch] (docbook):
1398 add LatexRunParams argument.
1400 2003-10-30 José Matos <jamatos@lyx.org>
1402 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1404 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * updatableinset.C (priv_dispatch):
1407 * insetwrap.C (priv_dispatch):
1408 * inseturl.C (priv_dispatch):
1409 * insettoc.C (priv_dispatch):
1410 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1411 (moveLeftIntern, moveUp, moveDown):
1412 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1413 (moveLeft, moveUp, moveDown):
1414 * insetref.C (priv_dispatch):
1415 * insetnote.C (priv_dispatch):
1416 * insetminipage.C (priv_dispatch):
1417 * insetlabel.C (priv_dispatch):
1418 * insetindex.C (priv_dispatch):
1419 * insetinclude.C (priv_dispatch):
1420 * insetgraphics.C (priv_dispatch):
1421 * insetfloatlist.C (priv_dispatch):
1422 * insetfloat.C (priv_dispatch):
1423 * insetexternal.C (priv_dispatch):
1424 * insetert.C (priv_dispatch):
1425 * insetcommand.C (priv_dispatch):
1426 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1427 * insetcite.C (priv_dispatch):
1428 * insetbranch.C (priv_dispatch):
1429 * insetbox.C (priv_dispatch):
1430 * insetbibtex.C (priv_dispatch):
1431 * insetbibitem.C (priv_dispatch):
1432 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1434 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1436 * insettext.C: small refactoring of docbook stuff
1438 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1441 (priv_dispatch): adjust for operator dispatch_result_t removal
1443 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1444 in a DispatchResult, adjust accordingly.
1445 (priv_dispatch): use strange >= construct... (will be removed later)
1447 * most insets: dispatch_result -> DispatchResult
1449 * insetbase.h: move DispatchResult out to dispatchresult.h
1451 2003-10-27 André Pönitz <poenitz@gmx.net>
1453 * insetpagebreak.[Ch]: new inset for page breaks
1455 * insetline.[Ch]: new inset for vertical lines
1460 2003-10-25 Angus Leeming <leeming@lyx.org>
1462 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1463 new virtual member functions, specialised...
1464 * render_button.h (asButton):
1465 * render_graphic.h (asGraphic):
1466 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1468 * insetexternal.C: use these new functions rather than dynamic_cast.
1469 Various other small simplifications.
1471 2003-10-22 Angus Leeming <leeming@lyx.org>
1473 * insetexternal.[Ch]: add the ability to 'preview' the external file
1476 * insetinclude.C: changes due to the changes in the RenderPreview
1479 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1480 message if the preview image is not available. Only initiate the
1481 loading of the preview from draw(). Ditto, start the monitoring
1482 of an external file from RenderMonitoredPreview::draw.
1484 2003-10-22 Angus Leeming <leeming@lyx.org>
1486 * insetcite.[Ch] (setLoadingBuffer): removed.
1487 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1488 ascertain whether to proceed with the (expensive) task of computing
1489 the natbib-style label. Remove the home-grown hack providing
1490 similar functionality.
1492 2003-10-22 Angus Leeming <leeming@lyx.org>
1494 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1495 class and into an anonymous namespace.
1497 2003-10-22 Angus Leeming <leeming@lyx.org>
1499 * insetcommand.h: remove the display method.
1503 * insetindex.h (InsetPrintIndex):
1504 * insettoc.h: add a display method, returning true.
1506 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1508 * insetcollapsable.h:
1512 * insetinclude.h: (1) finish off the inset display() work;
1513 (2) fix the "is a bit silly" bug (accessing char
1516 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1520 * insetfootlike.h: re-introduce display() for insets,
1521 fixing the various bugs (stretch of line above, math inset
1524 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * insetbase.C (dispatch): new func
1527 (priv_dispatch): new func replaces...
1528 (localDispatch): this, deleted.
1530 * all insets with dispatch modified for new code.
1532 2003-10-15 André Pönitz <poenitz@gmx.net>
1534 * insetcollapsable.[Ch]
1536 * inset.h: re-add some edit(bv, index) method called by undo
1538 2003-10-14 Angus Leeming <leeming@lyx.org>
1540 * insetexternal.[Ch] (view, cache, view_):
1541 * insetgraphics.[Ch] (view, cache, view_):
1542 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1543 (statusChanged): call LyX::cref().updateInset.
1545 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1546 the BufferView cache.
1548 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1551 2003-10-14 Angus Leeming <leeming@lyx.org>
1553 * insetinclude.C (metrics, draw): only draw the preview when previews
1556 2003-10-14 André Pönitz <poenitz@gmx.net>
1558 * insetcollapsable.[Ch]:
1559 * insettabular.[Ch]:
1561 * inset.h: getText() as alternative to getParagraphs()
1563 2003-10-13 Angus Leeming <leeming@lyx.org>
1566 * insetgraphicsParams.C: displayTranslator is now a function.
1568 2003-10-13 Angus Leeming <leeming@lyx.org>
1570 * insetinclude.C: remove #include "PreviewImage.h".
1572 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * ExternalSupport.C:
1575 * ExternalTransforms.C:
1577 * insetbox.h: ws changes only
1579 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * insetinclude.C (localDispatch): do not call
1582 InsetOld::localDispatch, just return UNDISPATCHED
1583 * insetgraphics.C (localDispatch): ditto
1584 * insetcommand.C (localDispatch): ditto
1586 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * inset.h: get rid of RESULT typedef for dispatch_result
1590 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1591 * insetert.[Ch] (localDispatch): ditto
1592 * insettabular.[Ch] (localDispatch): ditto
1597 * insettext.[Ch] (localDispatch): ditto
1600 (moveRightIntern): ditto
1601 (moveLeftIntern): ditto
1604 * updatableinset.[Ch] (localDispatch): ditto
1606 2003-10-12 Angus Leeming <leeming@lyx.org>
1608 * renderbase.h (view, view_): removed.
1609 * renderbase.C: removed.
1610 * Makefile.am: remove render_base.C. The shortest lived file in
1613 * renderbutton.C (draw):
1614 * render_graphic.C (draw): don't cache the BufferView.
1616 * insetabase.h (cache, view): removed.
1618 * inset.h (generatePreview) removed.
1620 * insetcallapsable.[Ch] (cache, view, view_): removed.
1622 * insetcollapsable.C (draw): don't cache the BufferView.
1624 * insetcommand.[Ch] (view): removed.
1626 * insetexternal.[Ch] (cache, view, view_):
1627 * insetgraphics.[Ch] (cache, view, view_):
1628 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1630 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1631 when you have direct access to it. In fact, don't use the cache at all.
1633 2003-10-10 Angus Leeming <leeming@lyx.org>
1635 * insetinclude.C (metrics): use preview_->metrics.
1636 (draw): use preview_->draw.
1638 * render_preview.[Ch] (pimage): removed.
1640 2003-10-10 Angus Leeming <leeming@lyx.org>
1642 * renderers.[Ch]: removed.
1645 * render_button.[Ch]:
1646 * render_graphic.[Ch]:
1647 * render_preview.[Ch]: new files. The first three are split out of
1648 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1649 contains a re-worked InsetInclude::PreviewImpl also.
1651 * Makefile.am: reflect the changed files.
1654 * insetexternal.[Ch]:
1655 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1657 * insetinclude.[Ch]: changes reflecting the change from
1658 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1664 * inseturl.C: add #include "support/std_ostream.h"
1666 2003-10-09 Angus Leeming <leeming@lyx.org>
1668 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1669 to PreviewedInset::previewReady.
1671 2003-10-09 Angus Leeming <leeming@lyx.org>
1673 * insetexternal.[Ch] (statusChanged):
1674 * insetgraphics.[Ch] (statusChanged): make a const member function.
1676 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1679 2003-10-09 Angus Leeming <leeming@lyx.org>
1681 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1682 to PreviewedInset's previewReady and removePreview member functions.
1684 2003-10-08 André Pönitz <poenitz@gmx.net>
1686 * insetcollapsable.C:
1687 * insettext.[Ch]: saner 'init' structure
1689 * updatableinset.[Ch]: remove unneeded code
1691 2003-10-08 Angus Leeming <leeming@lyx.org>
1693 Fix doxygen warnings.
1695 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1696 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1698 2003-10-07 Angus Leeming <leeming@lyx.org>
1700 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1701 be applied to InsetExternal.
1703 * Makefile.am: add these new files.
1705 * ExternalTemplate.[Ch]: add a list of available transforms to
1706 class Template and a list of factory functions for transformer classes
1707 that can act on this data to class Format.
1709 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1711 * ExternalSupport.C: Add code to replace transform placeholders
1712 with appropriate output.
1714 2003-10-07 Angus Leeming <leeming@lyx.org>
1716 * ExternalSupport.[Ch]: new files, moving the private member functions
1717 and namespace anon functions out of insetexternal.C to here, so making
1718 it easier to understand what is going on in insetexternal itself.
1720 * Makefile.am: add new files.
1722 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1723 allowing the class to be forward declared. (Also consistent with
1724 all other Params classes.)
1725 (write): moved out of the class. Move this function and those in
1726 namespace anon to ExternalSupport.[Ch].
1728 2003-10-07 Angus Leeming <leeming@lyx.org>
1730 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1731 non-const member function.
1733 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1738 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1740 2003-10-02 André Pönitz <poenitz@gmx.net>
1742 * insettext.C (read): make sure there is at least one par
1743 in the text after reading.
1745 2003-10-01 José Matos <jamatos@lyx.org>
1747 * insetbranch.C (linuxdoc, docbook): minor fix.
1749 2003-10-01 Angus Leeming <leeming@lyx.org>
1751 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1753 * insetexternal.[Ch]: changes due to the introduction of
1754 namespace lyx::external.
1756 2003-09-30 Angus Leeming <leeming@lyx.org>
1758 * insetexternal.[Ch] (Params::read, write): new member functions.
1760 2003-09-25 Angus Leeming <leeming@lyx.org>
1762 * insetexternal.[Ch] (TempName): new (private) nested struct with
1763 fake copy semantics. Enables us to use the generated copy c-tor
1764 in the Params struct.
1765 (Params::templatename, Params::tempname): use accessor functions.
1767 2003-09-25 Angus Leeming <leeming@lyx.org>
1769 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1770 function, returning a const pointer.
1772 2003-09-23 Angus Leeming <leeming@lyx.org>
1774 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1775 store them in a vector, preambleNames.
1777 * insetexternal.C (validate): loop over all preambleNames and call
1778 LaTeXFeatures::addExternalPreamble with each.
1780 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1782 * insetbranch.C: bug fix in branches
1784 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1786 * insetnote.C: small clean-up.
1788 2003-09-19 Angus Leeming <leeming@lyx.org>
1790 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1792 * insetcommand.C (string2params): clear params using the default c-tor.
1794 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1795 InsetInclude::Params. No more data in this struct than in
1796 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1797 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1798 (clone): remove #warning as it's now redundant.
1799 (set): add a 'Buffer const &' arg. Make private.
1800 (loadIfNeeded) move out of the class definition and into namespace anon.
1801 (getMasterFilename, getFileName): ditto.
1803 2003-09-18 Angus Leeming <leeming@lyx.org>
1805 * insetcommand.C (setParams): use the params' copy constructor.
1807 2003-09-18 Angus Leeming <leeming@lyx.org>
1809 * insetinsetbase.h (getLabelList):
1810 * insetinsetcollapsable.[Ch] (getLabelList):
1811 * insetinsetinclude.[Ch] (getLabelList):
1812 * insetinsetlabel.[Ch] (getLabelList):
1813 * insetinsettabular.[Ch] (getLabelList):
1814 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1815 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1817 2003-09-18 Angus Leeming <leeming@lyx.org>
1819 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1820 redundant baggage from yesteryear.
1821 Remove Params::flag as it is redundant; the info is present in
1824 2003-09-18 Angus Leeming <leeming@lyx.org>
1826 * insetinclude.C (latexString): add a Buffer const & arg.
1828 2003-09-18 Angus Leeming <leeming@lyx.org>
1833 * insettext.h: rename EnumLColor as LColor_color.
1835 2003-09-18 Angus Leeming <leeming@lyx.org>
1837 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1838 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1840 2003-09-16 Angus Leeming <leeming@lyx.org>
1842 * insetinclude.C (localDispatch): ensure that
1843 params_.masterFilename_ is set before trying to generate a
1844 preview, else we trigger an assert.
1846 2003-09-16 Angus Leeming <leeming@lyx.org>
1848 * insetinclude.C (PreviewImpl::parent): return a const reference.
1850 2003-09-16 Angus Leeming <leeming@lyx.org>
1852 * insetcollapsable.[Ch]: make all member variables, except for
1855 * insetert.C (init): use InsetCollapsable::setLabelFont rather
1856 than access labelfont directly.
1857 (read, updateStatus, lfunMouseRelease, status, showInsetDialog):
1858 use InsetCollapsable::setCollapsed, isOpen rather than access
1859 collapsed_ directly.
1861 * insetminipage.C (metrics):
1862 * insetnote.C (metrics):
1863 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1864 access collapsed_ directly.
1866 2003-09-16 Angus Leeming <leeming@lyx.org>
1868 * insetbibitem.C: add #include "lyxfont.h".
1870 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * insetbibtex.C: use namespace alias for lyx::support::os
1875 2003-09-16 Angus Leeming <leeming@lyx.org>
1877 * insetcollapsable.h: remove unused framecolor variable.
1878 Remove #include "LColor.h".
1880 * insetcollapsable.C: remove unused framecolor variable.
1883 * insetcollapsable.C:
1891 Add #include "LColor.h".
1893 2003-09-16 Angus Leeming <leeming@lyx.org>
1895 * insettext.[Ch] (frameColor): new accessor function.
1896 (frame_color_): stored as an int, allows us to remove #include
1897 "LColor.h" from insettext.h
1902 add #include "LColor.h".
1904 * insetcollapsable.h: add #include "LColor.h"
1905 (for its framecolor member variable).
1907 2003-09-16 Angus Leeming <leeming@lyx.org>
1909 * insetenv.C (constructor): use accessor functions to access
1910 InsetText variables.
1912 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1913 rename frame_color as frame_color_. Make private.
1915 * insettext.C: associated changes.
1917 2003-09-16 Angus Leeming <leeming@lyx.org>
1919 * inset.h: store background_color_ as an int, not as an
1920 LColor::color to get LColor.h out of the header file.
1923 * insetlatexaccent.C:
1926 * insetspecialchar.C:
1928 add #include "LColor.h".
1930 2003-09-16 Angus Leeming <leeming@lyx.org>
1932 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so
1933 cannot string calls together.
1935 2003-09-15 Angus Leeming <leeming@lyx.org>
1937 * inset.[Ch] (setBackgroundColor, backgroundColor):
1938 * insettext.[Ch] (setFrameColor):
1939 pass EnumLColor args, rather than LColor::color ones.
1941 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1951 * insetwrap.C: remove usage of STRCONV
1953 2003-09-15 Angus Leeming <leeming@lyx.org>
1955 * renderers.C (draw):
1956 * insetlatexaccent.C (draw): explicitly define the color passed to
1959 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1961 * insettext.C: remove block causing problems in lockInsetInInset
1962 (mentioned erroneously under Bug #1366)
1964 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1966 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1969 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1971 * several files: change Assert to BOOST_ASSERT
1973 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1975 * insettext.[Ch]: remove drawText[XY]Offset
1977 2003-09-08 Angus Leeming <leeming@lyx.org>
1979 * insetcollapsable.C:
1984 * insetspecialchar.C:
1987 * insettoc.C: remove redundant using directives.
1989 2003-09-07 Angus Leeming <leeming@lyx.org>
1992 * insetspecialchar.h: remove #include "support/std_string.h".
1994 2003-09-06 Angus Leeming <leeming@lyx.org>
1996 * renderers.C: add #include "insets/inset.h"
1998 2003-09-05 Angus Leeming <leeming@lyx.org>
2000 * *.C: strip out redundant #includes. (193 in total.)
2002 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2004 * insets/insetbibtex.[Ch]:
2005 * insets/insetcommand.h:
2006 * insets/insetfloatlist.[Ch]:
2007 * insets/insetinclude.[Ch]:
2008 * insets/insettoc.[Ch]: Restricts the mouse click functionality
2009 of insets like bibtex, include, toc and floatlist to the visible
2010 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2011 up the dialogs. Cursor has to be in front of the inset (i.e.
2012 start of row) for this to function.
2014 2003-09-04 Angus Leeming <leeming@lyx.org>
2016 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
2017 structure outside of the Format struct. Format::preambleName refers to
2018 an item in the map of all preamble snippets.
2019 Make use of the new Debug::EXTERNAL flag.
2021 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
2022 (validate): Small change due to the changed storage of preamble
2025 2003-09-04 Angus Leeming <leeming@lyx.org>
2027 * insetgraphics.C: #include "support/os.h"
2029 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
2030 * insettabular.h: move #include "FuncStatus.h" out of the header file.
2031 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
2033 * insetcollapsable.h:
2035 * insetnote.C: move #include "funcrequest.h" out of the header file.
2037 2003-09-03 Angus Leeming <leeming@lyx.org>
2039 * insetexternal.C (updateExternal):
2040 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
2043 2003-09-03 Angus Leeming <leeming@lyx.org>
2045 * insetexternal.C: don't bring namespace lyx::support into the global
2048 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
2050 * insetbranch.C: Add Branch: to label
2052 2003-09-02 John Levon <levon@movementarian.org>
2055 * insettext.C: remove cursor.i[xy]()
2057 2003-08-28 Angus Leeming <leeming@lyx.org>
2059 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
2060 "sh ", enabling the conversion to be carried out even if the script
2063 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * most files: change to use const Buffer refs
2067 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2069 * insetfootlike.C: whitespace.
2071 2003-08-26 John Levon <levon@movementarian.org>
2075 * insetindex.h: remove remaining mentions of needFullRow()
2077 2003-08-26 André Pönitz <poenitz@gmx.net>
2083 * inset.[Ch]: remove InsetOld::par_owner_ & handling
2085 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
2087 * insetbranch.C: Small fix to prevent a crash on loading.
2089 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2094 * insetcollapsable.h:
2096 * insetfloatlist.[Ch]:
2097 * insetfootlike.[Ch]:
2098 * insetinclude.[Ch]:
2104 * insettheorem.[Ch]:
2105 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
2106 altogether, putting the logic in metrics/draw in the insets.=20
2107 Draws short single row insets with more or less realistic metrics.
2109 2003-08-19 André Pönitz <poenitz@gmx.net>
2111 * insettext.C: use new RowPainter interface
2113 2003-08-18 John Levon <levon@movementarian.org>
2115 * insetref.C: require amsmath for eqref
2117 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2121 * insetbranch.[Ch]: implements the 'branch inset'
2122 idea. This allows the output of various versions of a document
2123 from a single source version, selectively outputing or suppressing
2124 output of parts of the text.
2125 This implementation contains a 'branch list editor' in a separate
2126 tab of the document settings dialog. Branches are user definable
2127 and have a "display colour" to distinguish them on-screen.
2129 ColorHandler was somewhat cleaned up.
2130 (1) make possible a dynamically growing LColor list by allowing
2131 the graphic context cache to grow along (vector);
2132 (2) eliminate an IMHO unnecessary step in colour allocation.
2134 2003-08-15 André Pönitz <poenitz@gmx.net>
2136 * insettext.[Ch]: adjust after rowlist split
2138 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2140 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2141 rename valign-center to valign-middle;
2142 rename VALIGN_CENTER to VALIGN_MIDDLE
2144 2003-08-11 André Pönitz <poenitz@gmx.net>
2146 * inset.h: remove resizeLyXText
2149 * insetcollapsable.[Ch]:
2151 * insettabular.[Ch]: adjust
2153 * insettext.[Ch]: remove saveLyXTextState,
2154 restoreLyXTextStat, sstate, reinitLyXText
2156 2003-08-07 André Pönitz <poenitz@gmx.net>
2158 * inset.[Ch]: move non-crucial functions out-of-line
2160 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
2161 remove duplicated code.
2163 2003-08-05 André Pönitz <poenitz@gmx.net>
2166 * insetcollapsable.[Ch]:
2176 * insettabular.[Ch]:
2179 * updatableinset.[Ch]: rip out "deep update"
2181 * insettext.C (localDispatch): merge cases with default branch
2183 * insettext.C (frame_x,y,w,h): replace member with automatic variables
2185 * insettabular.[Ch] (updateLocal): simplify logic
2187 2003-08-04 André Pönitz <poenitz@gmx.net>
2189 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
2190 is 'FULL' all the time.
2192 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * insetert.C (get_new_label): only add ... to the (closed) label
2195 when the string has been shortened
2197 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2199 * Always use std::endl with lyxerr
2201 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
2203 * insetnote.C: update \author list
2205 2003-07-31 André Pönitz <poenitz@gmx.net>
2207 * insetcollapsable.h:
2208 * insettabular.[Ch]:
2209 * insettext.[Ch]: remove toggleSelection
2211 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2213 (with help from Juergen Spitzmueller)
2214 * insetnote.C: add add i18n support. Use Prefs-definable
2215 colours for Comment and Greyedout.
2217 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2219 * insetcollapsable.[Ch]:
2221 * insetert.C: factor out the detection of clicking on the inset
2222 button as 'hitButton'. John Levon contributed.
2224 2003-07-30 André Pönitz <poenitz@gmx.net>
2226 * insetcollapsable.C:
2228 * insettabular.C: parantheses, localize vars etc.
2230 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2232 * insetnote.C: Implement a newenvironment in preamble for
2233 greyedout. Patch provided by Jürgen Spitzmüller.
2235 2003-07-29 Angus Leeming <leeming@lyx.org>
2237 * insetcommand.C (localDispatch): default to
2238 InsetOld::localDispatch.
2240 * insetbibitem.C (localDispatch):
2241 * insetbibtex.C (localDispatch): remove call to
2242 ChangeCitationsIfUnique.
2244 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
2246 * insetexternal.C (read): use pushpophelper.
2248 2003-07-28 José Matos <jamatos@lyx.org>
2250 * insetext.C (read): \end_document replaces \the_end.
2252 2003-07-28 José Matos <jamatos@fep.up.pt>
2254 * insetert.C (write): \layout -> \begin_layout.
2255 Add missing \end_layout.
2257 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * insetquotes.C: document a bit the format
2261 * insettabular.C (write): remove extra space
2263 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2264 * insetnote.C: Umpf. Hope I *now* get it right :-(
2266 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
2267 *insetnote.C: did the right fix to greyedout: \color
2268 instead of \textcolor.
2270 2003-07-28 Angus Leeming <leeming@lyx.org>
2272 * insetbibtex.h: remove extraneous forward declaration.
2275 * insetbibtex.h: Also remove long-dead Holder member class
2278 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
2280 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
2283 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * insetwrap.C (addToToc): adjust for lyx::toc
2287 * insetfloatlist.C (ascii): adjust for lyx::toc
2289 * insetfloat.C (addToToc): adjust for lyx::toc
2291 2003-07-27 José Matos <jamatos@fep.up.pt>
2293 * insetnote.h (linuxdoc,docbook): update support.
2295 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * insetfloat.C (wide): add a space to label, for consistency
2299 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2301 * insettext.C (nextChange): adjust for lyx::find
2302 (searchForward): ditto
2303 (searchBackward): ditto
2305 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2307 * insetgraphicsParams.C:
2308 * insetexternal.C: declare extern displayTranslator
2311 * renderers.C: add #include "support/LAssert.h"
2313 2003-07-27 José Matos <jamatos@fep.up.pt>
2315 * insetfloat.[Ch] (linuxdoc):
2316 * insetgraphics.C (linuxdoc):
2317 * insettabular.C (linuxdoc):
2318 * insettext.[Ch] (linuxdoc): add support for tables and figures
2321 2003-07-27 José Matos <jamatos@fep.up.pt>
2323 * insetinclude (latex): comply with makeLaTeXFile argument change.
2325 2003-07-26 Asger Alstrup <alstrup@local>
2327 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
2328 the undo crashes. We'll see what problems other places this will
2331 2003-07-26 Angus Leeming <leeming@lyx.org>
2333 * insetgraphics.C: remove unused declaration of system_tempdir.
2335 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2337 * rename Inset to InsetOld
2339 * all inset files (clone): return a auto_ptr<InsetBase>
2341 2003-07-23 Angus Leeming <leeming@lyx.org>
2343 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
2345 2003-07-23 Angus Leeming <leeming@lyx.org>
2347 * mailinset.[Ch] (inset2string):
2348 * insetcommand.[Ch] (inset2string):
2349 * insetert.[Ch] (inset2string):
2350 * insetexternal.[Ch] (inset2string):
2351 * insetfloat.[Ch] (inset2string):
2352 * insetgraphics.[Ch] (inset2string):
2353 * insetinclude.[Ch] (inset2string):
2354 * insetminipage.[Ch] (inset2string):
2355 * insetnote.[Ch] (inset2string):
2356 * insettabular.[Ch] (inset2string):
2357 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2359 * insetexternal.[Ch]:
2360 * insetgraphics.[Ch]: get rid of the view() function. Associated
2361 changes to the mailers' string2params and params2string functions.
2363 2003-07-23 Angus Leeming <leeming@lyx.org>
2365 * insetexternal.[Ch]: store the external file name in a FileName
2366 member variable rather than a string + associated changes.
2368 2003-07-21 Angus Leeming <leeming@lyx.org>
2370 * insetgraphicsParams.[Ch]: store the graphics file name in
2371 a FileName member variable rather than a string.
2373 * insetgraphics.[Ch]:
2374 * insetgraphicsParams.[Ch]: Associated changes.
2376 2003-07-21 Angus Leeming <leeming@lyx.org>
2378 * insetgraphics.[Ch] (string2params, params2string): passed a
2379 buffer_path argument.
2382 2003-07-21 Angus Leeming <leeming@lyx.org>
2385 * insetgraphicsParams.[Ch]:
2387 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2389 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2391 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2393 2003-07-18 André Pönitz <poenitz@gmx.net>
2396 * insetminipage.[Ch]:
2397 * insettabular.[Ch]:
2400 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2402 2003-07-18 André Pönitz <poenitz@gmx.net>
2406 * insetcollapsable.C:
2410 * insetgraphics.[Ch]:
2411 * insetlatexaccent.[Ch]:
2416 * insetspecialchar.C:
2417 * insettabular.[Ch]:
2419 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2421 2003-07-17 André Pönitz <poenitz@gmx.net>
2423 * insetcollapsable.C:
2425 * insettext.C: don't call Inset::update() anymore
2428 * insettabular.[Ch]: remove unneeded in_update_ members
2430 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2432 2003-07-16 André Pönitz <poenitz@gmx.net>
2434 * insettext.C (selectAll): remove
2436 2003-07-16 John Levon <levon@movementarian.org>
2439 * insetnote.C: implement showInsetDialog()
2441 2003-07-15 André Pönitz <poenitz@gmx.net>
2444 * insettext.C: refresh_status tristate -> need_update bool
2446 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2448 * insettext.C: adjust call to LyXText::init
2450 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2452 * insettext.C: use bufferview_funcs->replaceSelection()
2453 to delete selections in some cases (bugs 441, 673, 702, 954).
2455 2003-07-14 André Pönitz <poenitz@gmx.net>
2457 * insettext.C (draw): use slimmed down rowpainter interface
2459 2003-07-14 André Pönitz <poenitz@gmx.net>
2461 * insetcollapsable.C:
2463 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2464 remove unused BufferView * argument
2466 2003-07-14 André Pönitz <poenitz@gmx.net>
2468 * insettext.[Ch]: used cached metrics a bit more
2470 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2472 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2474 2003-07-10 André Pönitz <poenitz@gmx.net>
2477 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2479 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * introduce namespace lyx::graphics
2483 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * introduce namespace lyx::support
2487 2003-06-30 André Pönitz <poenitz@gmx.net>
2489 * insetcite.C (localDispatch): fix case of missing return value
2491 * insetcite.C (ascii): remove unneeded temporary
2493 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * insetspace.h: fix \file
2497 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2498 * insetinclude.C (fillWithBibKeys): ditto
2500 * insetbibitem.C: fix type const order
2502 * inset.C (getLyXText): add varname for arg
2504 * ExternalTemplate.h: fix type const order
2506 2003-06-27 André Pönitz <poenitz@gmx.net>
2508 * insettext.C: take care of removed LyXCursor::row_ member
2510 * insettext.[Ch]: use new TextCursor struct for sstate
2512 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2514 * inseterror.[Ch]: removed
2516 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2518 * insetinclude.C (docbook): use parseError instead of sgmlError
2520 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2522 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2523 of BufferList::loadLyXFile
2525 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * insettext.C (update): simplify
2528 (updateLocal): remove commented code
2529 (insetUnlock): simplify
2530 (lockInset): simplify
2531 (updateInsetInInset): simplify
2532 (localDispatch): simplify
2534 (resizeLyXText): simplify
2535 (collapseParagraphs): simplify
2537 * insetert.C (get_new_label): simplify
2539 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2541 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2542 pasteSelection with index
2544 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2546 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2548 2003-06-16 André Pönitz <poenitz@gmx.net>
2550 * insetbase.h: new virtual base function clone()
2552 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2553 Inset * clone() -> InsetBase * clone()
2555 2003-06-13 André Pönitz <poenitz@gmx.net>
2557 * insettabular.[Ch]: make tabular a proper member
2559 2003-06-12 André Pönitz <poenitz@gmx.net>
2561 * insettabular.[Ch]: some renaming plus whitespace
2563 2003-06-11 Angus Leeming <leeming@lyx.org>
2565 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2568 * insetbutton.[Ch]: removed.
2569 * graphicinset.[Ch]: renamed as renderers.[Ch].
2571 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2572 Create a new class ButtonRenderer using the InsetButton::metrics() and
2574 Derive both from a common RenderedInset base class.
2576 * insetcommand.[Ch]:
2577 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2578 Give it a ButtonRenderer member variable. Use it.
2579 Give the classes working copy c-tors.
2580 No longer derive from boost::noncopyable.
2582 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2583 display its contents as a button or as a graphic.
2585 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2588 2003-06-11 Angus Leeming <leeming@lyx.org>
2590 * insetcite.C (localDispatch): reformat.
2592 * insetref.C (localDispatch): enable dialog to be lauched.
2594 2003-06-11 John Levon <levon@movementarian.org>
2596 * insettabular.C: correctly mark all cells as erased
2598 2003-06-11 Angus Leeming <leeming@lyx.org>
2600 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2601 ExternalTemplate but its name, templatename. This means that a file
2602 containing a reference to an External Template not installed on the
2603 current machine will be saved retaining this info rather than inserting
2604 the first "valid" template from the list of templates.
2606 As a by product, the visual statement that the Template is missing is
2609 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2611 * insettext.C (appendParagraphs): remove some commented code.
2613 2003-06-10 Angus Leeming <leeming@lyx.org>
2615 * graphicinset.[Ch] (view): removed the publicly accessible
2616 function to set the cache.
2618 * insetexternal.[Ch]: move tempname_ into the Params struct.
2619 (Params d-tor): new function, to clean-up this temp file.
2620 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2622 (editExternal, doSubstitution): move out of class.
2624 2003-06-10 Angus Leeming <leeming@lyx.org>
2626 * graphicinset.[Ch] (params): removed.
2627 * graphicinset.h (operator=): declared private but not defined.
2628 (statusMessage): made private.
2630 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2632 2003-06-07 John Levon <levon@movementarian.org>
2634 * insetert.C (latex): make a newline mean just that not
2637 2003-06-07 José Matos <jamatos@fep.up.pt>
2639 * insethfill.[Ch] (linuxdoc, docbook): implement output
2640 * insetspace.C (linuxdoc, docbook): remove coments as the code
2643 2003-06-06 José Matos <jamatos@fep.up.pt>
2645 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2647 2003-06-06 André Pönitz <poenitz@gmx.net>
2649 * insetwrap.[Ch]: code compactification
2651 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2653 * mailinset.C (updateDialog): use Dialogs::visible
2655 2003-06-04 Angus Leeming <leeming@lyx.org>
2657 * graphicinset.C (draw): add a comment for the #if 0 block.
2659 * insetexternal.h: remove Params::parameters variable.
2661 * insetexternal.C (read, write): rewrite to output new ExternalInset
2662 format and read it back making full use of LyXLex.
2664 2003-06-04 André Pönitz <poenitz@gmx.net>
2666 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2668 2003-06-04 John Levon <levon@movementarian.org>
2670 * insettabular.C: back out tall table speed up. It was broken
2672 2003-06-03 Angus Leeming <leeming@lyx.org>
2674 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2675 Remove ViewCommand and UpdateCommand.
2677 * graphicinset.C (update): bug fix. Set the params before calling the
2680 * graphicinset.[Ch] (view): new method. A bit of a fudge to set
2681 the BufferView cache to enable the InsetExternal::editCommand to
2682 be invoked from the frontends. Would not be needed if this were
2683 dispatched properly.
2684 (old_ascent_): variable removed.
2686 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2687 do any necessary conversions of external material. Also use the
2688 new GraphicsInset to display the inset within LyX.
2690 2003-06-03 Angus Leeming <leeming@lyx.org>
2692 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2693 and move it somewhere where InsetExternal can use it too.
2695 * Makefile.am: add the new files.
2697 * insetgraphics.[Ch]: make use of the new GraphicInset.
2699 2003-06-03 John Levon <levon@movementarian.org>
2702 * insetbibitem.[Ch]:
2705 * insetcommand.[Ch]:
2709 * insetexternal.[Ch]:
2713 * insetgraphics.[Ch]:
2715 * insetinclude.[Ch]:
2718 * insetlatexaccent.[Ch]:
2719 * insetmarginal.[Ch]:
2720 * insetminipage.[Ch]:
2727 * insetspecialchar.[Ch]:
2728 * insettabular.[Ch]:
2730 * insetthereom.[Ch]:
2733 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2735 * insetgraphics.[Ch]:
2736 * insetgraphicsParams.[Ch]: always store an absolute
2739 2003-06-02 André Pönitz <poenitz@gmx.net>
2743 * insetlatexaccent.C: remove duplicated call to metrics()
2745 2003-06-02 John Levon <levon@movementarian.org>
2747 * insettabular.C: fix resize of column width
2749 2003-06-02 John Levon <levon@movementarian.org>
2754 * insetparent.C: remove insetparent
2756 2003-06-02 André Pönitz <poenitz@gmx.net>
2763 * insetcollapsable.[Ch]:
2767 * insetgraphics.[Ch]:
2768 * insetinclude.[Ch]:
2769 * insetlatexaccent.[Ch]:
2770 * insetminipage.[Ch]:
2771 * insetnewline.[Ch]:
2774 * insetspecialchar.[Ch]:
2775 * insettabular.[Ch]:
2776 * insettext.[Ch]: unify first drawing phase
2779 * insetbase.h: move validate() to the base
2781 2003-05-31 Angus Leeming <leeming@lyx.org>
2783 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2785 2003-05-30 André Pönitz <poenitz@gmx.net>
2790 * insetcaption.[Ch]:
2791 * insetcollapsable.[Ch]:
2794 * insetgraphics.[Ch]:
2795 * insetinclude.[Ch]:
2796 * insetlatexaccent.[Ch]:
2797 * insetnewline.[Ch]:
2800 * insetspecialchar.[Ch]:
2801 * insettabular.[Ch]:
2803 * updatableinset.[Ch]: unify second drawing phase
2805 2003-05-30 John Levon <levon@movementarian.org>
2807 * insetgraphics.C: fix a bformat
2809 2003-05-29 John Levon <levon@movementarian.org>
2811 * insettabular.C: remove unused bufferOwner()
2813 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * insettext.C (lockInsetInInset): adjust
2816 (getLabelList): use const_iterator, adjust
2817 (getInsetFromID): use const_iterator, adjust
2818 (addPreview): use const_iterator, adjust
2820 * insetwrap.C (clone): remove const_cast
2822 * insetnote.C (clone): remove const_cast
2824 * insetminipage.C (clone): remove const_cast
2826 * insetmarginal.C (clone): remove const_cast
2828 * insetfoot.C (clone): remove const_cast
2830 * insetfloat.C (clone): remove const_cast
2832 * insetert.C (clone): remove const_cast
2834 * delete commented same_id functions from a lot of files.
2836 2003-05-28 John Levon <levon@movementarian.org>
2842 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2844 * insetminipage.C: fix metrics (bug 1144)
2846 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * insettext.C (saveLyXTextState): adjust
2849 (restoreLyXTextState): adjust
2852 (unlockInsetInInset): adjust
2853 (localDispatch): adjust
2854 (getLyXText): adjust
2856 * insettabular.C (insertAsciiString): adjust
2858 2003-05-27 André Pönitz <poenitz@gmx.net>
2861 * insetcollapsable.C:
2864 * insetlatexaccent.C:
2869 * insetspecialchar.C:
2871 * insettext.C: dim.w -> dim.wid
2873 2003-05-26 John Levon <levon@movementarian.org>
2875 * insettabular.C: avoid drawing all of a long table
2876 if it's not needed. A big speedup
2878 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * remove same_id from function signatures, adjust
2882 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * insettext.C (InsetText): adjust
2886 (setParagraphData): separate same_id cases, adjust
2887 (appendParagraphs): adjust
2888 (appendParagraphs): adjust
2890 2003-05-23 André Pönitz <poenitz@gmx.net>
2892 * insetbutton.h: whitespace
2894 * insettabular.C: more compact code
2896 * updatableinset.C: remove const_cast
2899 2003-05-23 Angus Leeming <leeming@lyx.org>
2901 * insetexternal.C (write): check how many lines are output.
2902 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2903 if the template has defined it.
2905 2003-05-23 Angus Leeming <leeming@lyx.org>
2907 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2909 2003-05-23 Angus Leeming <leeming@lyx.org>
2911 * insetfoot.C (latex):
2912 * inseturl.C (latex): rename fragile as moving_arg.
2914 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * inseterror.C (localDispatch): comment out unused var.
2918 2003-05-22 Angus Leeming <leeming@lyx.org>
2920 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2921 passed through the LatexRunParams arg.
2923 2003-05-22 Angus Leeming <leeming@lyx.org>
2925 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2926 through the LatexRunParams arg.
2928 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2929 arg rather than through a global var.
2931 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * insetspecialchar.C (dimension): use a string.
2935 2003-05-22 Angus Leeming <leeming@lyx.org>
2937 * insetbibtex.C (latex):
2938 * insetgraphics.C (latex):
2939 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2940 runparams rather than from the buffer itself.
2942 2003-05-22 Angus Leeming <leeming@lyx.org>
2944 * inset*.[Ch] (latex):
2945 passed a LatexRunParams parameter.
2947 * insetgraphics.C (latex): actually use it ;-)
2949 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2951 * insetfloat.C (addToToc): trivial compile fix
2953 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * insettext.[Ch] (paragraph): delete unused function
2957 * insetfloat.C (addToToc): parlist simplfication
2959 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2961 * insetspace.[Ch]: added (new space insets)
2963 * inset.h: handle new space insets
2965 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * insetfloat.C (addToToc): adjust
2969 2003-05-21 André Pönitz <poenitz@gmx.net>
2971 * insettext.[Ch]: fix drawing bug introduced earlier
2973 2003-05-19 André Pönitz <poenitz@gmx.net>
2975 * insetspecialchar.C: fix bug introduced yesterday
2977 2003-05-19 André Pönitz <poenitz@gmx.net>
2981 * insetcollapsable.[Ch]:
2985 * insetgraphics.[Ch]:
2986 * insetgraphicsParams.[Ch]:
2987 * insetlatexaccent.[Ch]:
2988 * insetminipage.[Ch]:
2989 * insetnewline.[Ch]:
2991 * insetspecialchar.[Ch]:
2992 * insettabular.[Ch]:
2993 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2995 2003-05-19 André Pönitz <poenitz@gmx.net>
2998 * insettext.C: more insetenv
3000 2003-05-16 André Pönitz <poenitz@gmx.net>
3003 * insetminimpage.[Ch]:
3004 * insetcollapsable.[Ch]: fix #832
3006 2003-05-16 André Pönitz <poenitz@gmx.net>
3009 * insetbibitem.[Ch]:
3013 * insetcollapsable.[Ch]:
3014 * insetcommand.[Ch]:
3017 * insetexternal.[Ch]:
3018 * insetfloatlist.[Ch]:
3019 * insetgraphics.[Ch]:
3020 * insetinclude.[Ch]:
3023 * insetlatexaccent.[Ch]:
3026 * insettabular.[Ch]:
3030 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
3032 2003-05-13 André Pönitz <poenitz@gmx.net>
3035 * insetcollapsable.C:
3039 * insetwrap.C: tostr from own header
3051 * insetwrap.C: STRCONV
3054 2003-05-12 André Pönitz <poenitz@gmx.net>
3066 * insetwwrap.C: boost::format -> bformat all over the place
3068 2003-05-05 André Pönitz <poenitz@gmx.net>
3070 * insettext.h: add missing #include <map>
3072 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3074 * insettext.C (InsetText): parlist cleanup
3077 (insetUnlock): ditto
3079 (lockInsetInInset): ditto
3083 (searchBackward): ditto
3084 (collapseParagraphs): ditto
3086 2003-05-06 John Levon <levon@movementarian.org>
3088 * insetcaption.C: don't cast wrap inset to InsetFloat
3091 * insetfloat.C: remove unneeded type() function
3093 2003-05-05 André Pönitz <poenitz@gmx.net>
3097 * insettabular.[Ch]:
3098 * insetcollapsable.[Ch]: remove unused function firstParagraph()
3099 replace getFirstParagraph() by getParagraphs()
3101 2003-05-03 John Levon <levon@movementarian.org>
3103 * insetcollapsable.h:
3104 * insetcollapsable.C:
3110 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
3111 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
3112 getCursor(). Remove explicit cursor hides.
3114 2003-05-02 André Pönitz <poenitz@gmx.net>
3116 * insettext.C: remove unneeded &*
3118 2003-04-30 John Levon <levon@movementarian.org>
3120 * insettabular.C: fix edit message
3122 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * insettext.C (setFont): do not convert iterator -> pointer
3126 * insettabular.C (localDispatch): do not convert iterator -> pointer
3128 (tabularFeatures): ditto
3130 2003-04-29 André Pönitz <poenitz@gmx.net>
3132 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
3134 2003-04-28 André Pönitz <poenitz@gmx.net>
3136 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3139 2003-04-25 André Pönitz <poenitz@gmx.net>
3141 * insetenv.C: derive from InsetText instead of InsetCollapsable
3143 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * insetexternal.C (string2params): dont do anything if the string
3147 * insetgraphics.C (string2params): ditto
3148 * insetcommand.C (string2params): ditto
3149 * insetert.C (string2params): ditto
3150 * insetfloat.C (string2params): ditto
3151 * insetinclude.C (string2params): ditto
3152 * insetminipage.C (string2params): ditto
3153 * insettabular.C (string2params): ditto
3154 * insetwrap.C (string2params): ditto
3156 2003-04-24 André Pönitz <poenitz@gmx.net>
3158 * insetref.C: support for eqref
3160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * insetert.C (read): use ParagraphList::iterator.
3164 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * insetquotes.C (latex): comment some code and add warnings.
3168 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3170 * insetexternal.C (localDispatch): added a missing DISPATCHED
3172 2003-04-12 John Levon <levon@movementarian.org>
3174 * insetwrap.C (addToToc): fix a crash, conversion
3175 from while to for loop forgot to remove the explicit
3178 2003-04-10 John Levon <levon@movementarian.org>
3180 * insettabular.C (tabularFeature): make sure
3181 to update the dialog when we change something
3184 (getStatus): don't disable some lfuns (bug 939)
3186 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * insettext.C (saveLyXTextState): adjust
3189 (localDispatch): adjust
3195 * insettabular.C (localDispatch): adjust
3197 (tabularFeatures): adjust
3199 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3201 * insettabular.C (searchForward,searchBackward): fix bug 782
3203 2003-04-07 John Levon <levon@movementarian.org>
3206 * insettext.C: clear status message on inset exit
3208 2003-04-03 John Levon <levon@movementarian.org>
3210 * insetcommand.C: return dispatched on DIALOG_UPDATE
3212 2003-04-02 John Levon <levon@movementarian.org>
3214 * insettabular.C: tab lfuns renamed
3216 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3218 * insettext.C (update): move towards ParagraphList
3219 (updateLocal): ditto
3221 (insetUnlock): ditto
3223 (lockInsetInInset): ditto
3224 (updateInsetInInset): ditto
3225 (localDispatch): ditto
3228 (resizeLyXText): ditto
3229 (searchBackward): ditto
3230 (collapseParagraphs): ditto
3233 * insetwrap.C (InsetWrap): adjust
3234 (addToToc): adjust and rewrite loop
3236 * insettext.[Ch] (paragraph): delete function
3238 * insettabular.C (moveNextCell): adjust
3239 (movePrevCell): adjust
3240 (insertAsciiString): adjust
3242 * insetfloat.C (InsetFloat): adjust
3245 * insetert.C (InsetERT): adjust
3246 (write): adjust, and rewrite loop
3247 (latex): adjust, and rewrite loop
3248 (linuxdoc): adjust, and rewrite loop
3249 (docbook): adjust, and rewrite loop
3250 (localDispatch): adjust
3251 (get_new_label): adjust
3253 2003-04-01 John Levon <levon@movementarian.org>
3255 From Alfredo Braunstein
3258 * insetbutton.C: add localDispatch()
3260 * insetcommand.C: return DISPATCHED when edit() called
3262 * insettext.C: fix bug 967
3264 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * insettext.C: adjust
3268 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * insettext.C (draw): adjust
3271 (crow): return a RowList::iterator not a Row*
3273 * insetminipage.C (localDispatch): adjust
3275 * insetert.C (localDispatch): adjust
3277 2003-03-31 John Levon <levon@movementarian.org>
3280 * insetgraphicsParams.C: use_gui moved to lyx_gui
3282 2003-03-31 John Levon <levon@movementarian.org>
3284 * insettext.C: Alert fix
3286 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * insettext.C (ascent): adjust for RowList
3291 (getLyXText): adjust
3292 (toggleSelection): adjust
3294 * insetminipage.C (localDispatch): adjust for RowList
3296 * insetert.C (localDispatch): adjust for RowList
3297 (getMaxWidth): adjust for RowList
3299 2003-03-29 John Levon <levon@movementarian.org>
3301 * insetert.C: Alert cleanup
3303 2003-03-29 John Levon <levon@movementarian.org>
3305 * insettabular.C: Alert fix
3307 2003-03-28 John Levon <levon@movementarian.org>
3309 * insetfloat.C: reset label on INSET_MODIFY
3311 2003-03-28 John Levon <levon@movementarian.org>
3313 * insetgraphicsParams.C: read subcaptionText as a whole line
3316 2003-03-28 John Levon <levon@movementarian.org>
3318 * insettext.C: remove unused prototypes
3320 2003-03-25 Angus Leeming <leeming@lyx.org>
3322 * insetbibitem.C (localDispatch): repaint the view after modifying
3323 a bibitem inset in case the maximum InsetBibitem width has changed.
3325 2003-03-25 John Levon <levon@movementarian.org>
3328 * insettabular.C: LyXText renamings
3330 2003-03-24 John Levon <levon@movementarian.org>
3332 * insettext.C: remove some dead code. Fix bug 972 and
3333 related by posting a repaint in updateLocal(), and making
3334 the SEL functions set SELECTION.
3336 2003-03-22 John Levon <levon@movementarian.org>
3339 * inset.C: remove no-longer-needed topx_set
3341 * insetcollapsable.h:
3342 * insetcollapsable.C: remove dead code
3345 * insetert.C: rebreak the rows when a possible
3346 change in size is made, and reset the cursor
3349 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
3351 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
3352 topx_set. Fix drawing errors for clearInset(). Remove
3353 some unnecessary uses of topx, which should die.
3355 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3356 is no longer needed. Replace it with an ugly hack.
3358 2003-03-20 John Levon <levon@movementarian.org>
3361 * insetcollapsable.h:
3362 * insetcollapsable.C:
3370 * insettext.C: remove spurious font parameter
3371 from update(). Fix drawing of ERT insets inside
3372 insets (bug 966). Remove unused mark_dirty from
3373 tabular's updateLocal()
3375 2003-03-19 John Levon <levon@movementarian.org>
3384 * insetwrap.C: remove unused getter/setters
3386 2003-03-19 John Levon <levon@movementarian.org>
3388 * several files: bv->updateInset() doesn't take
3389 a bool mark_dirty any more
3391 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * adjust for BufferView* arg removal from lyxtext.
3395 2003-03-17 John Levon <levon@movementarian.org>
3397 * most files: remove the "cleared" parameter
3398 to draw in favour of always clearing. Associated
3401 2003-03-16 John Levon <levon@movementarian.org>
3403 * insettext.C: remove unused s.refresh
3405 2003-03-13 Angus Leeming <leeming@lyx.org>
3407 * insettext.C (edit): replace Dialogs::updateParagraph with
3408 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3410 2003-03-13 André Pönitz <poenitz@gmx.net>
3412 * Makefile.am: insert insetenv
3414 * insethenv.[Ch]: new files, currently inactive
3416 2003-03-12 John Levon <levon@movementarian.org>
3426 * insettext.C: use new insetnewline
3428 2003-03-12 John Levon <levon@movementarian.org>
3430 * insettext.C: readToken became readParagraph
3432 2003-03-12 John Levon <levon@movementarian.org>
3434 * insettext.C: use parlist iterator for reading contents
3436 2003-03-12 John Levon <levon@movementarian.org>
3438 * insettext.C: name change to readToken()
3440 2003-03-11 André Pönitz <poenitz@gmx.net>
3442 * Makefile.am: insert insethfill
3444 * insethfill.[Ch]: new files
3446 2003-03-10 Angus Leeming <leeming@lyx.org>
3448 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3450 (hideDialog): calls the new static Dialogs::hide() method.
3452 * insetbibitem.C (edit):
3453 * insetbibtex.C (edit):
3454 * insetcite.C (edit):
3455 * insetcommand.C (localDispatch):
3456 * inseterror.C (d-tor):
3457 * insetert.C (showInsetDialog):
3458 * insetexternal.C (localDispatch, edit):
3459 * insetfloat.C (localDispatch, showInsetDialog):
3460 * insetfloatlist.C (edit):
3461 * insetgraphics.C (localDispatch, edit):
3462 * insetinclude.C (localDispatch, edit):
3463 * insetindex.C (edit):
3464 * insetlabel.C (edit):
3465 * insetminipage.C (localDispatch, showInsetDialog):
3466 * insetref.C (edit):
3467 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3468 resetPos, showInsetDialog, openLayoutDialog):
3469 * insettoc.C (edit):
3470 * inseturl.C (edit):
3471 * insetwrap.C (localDispatch, showInsetDialog):
3472 changes due to the changed MailInset interface.
3474 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3476 * insetfloat.h: Set default placement to an empty string.
3478 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3480 * insettext.C (latex): adjust call to latexParagraphs.
3482 2003-03-10 Angus Leeming <leeming@lyx.org>
3484 * mailinset.C: warn the user if the BufferView has not been cached.
3486 2003-03-10 Angus Leeming <leeming@lyx.org>
3488 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3490 * insetcommand.h (inset):
3491 * insetert.h (inset):
3492 * insetexternal.h (inset):
3493 * insetfloat.h (inset):
3494 * insetgraphics.h (inset):
3495 * insetinclude.h (inset):
3496 * insetminipage.h (inset):
3497 * insettabular.h (inset):
3498 * insetwrap.h (inset):
3499 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3501 2003-03-10 Angus Leeming <leeming@lyx.org>
3503 * insetcommand.C (string2params):
3504 * insetexternal.C (string2params):
3505 * insetfloat.C (string2params):
3506 * insetgraphics.C (string2params):
3507 * insetinclude.C (string2params):
3508 * insetminipage.C (string2params):
3509 * insettabular.C (string2params):
3510 * insetwrap.C (string2params): cure warning message about missing
3513 2003-03-09 Angus Leeming <leeming@lyx.org>
3515 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3516 it to communicate with the frontend dialogs.
3518 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3519 contents of this inset!
3521 2003-03-07 Angus Leeming <leeming@lyx.org>
3523 * inseterror.C (localDispatch): new method; calls edit() on
3526 2003-03-07 Angus Leeming <leeming@lyx.org>
3528 * insetbibitem.C (localDispatch):
3529 * insetbibtex.C (localDispatch):
3530 * insetlabel.C (localDispatch):
3531 rewrite as a switch.
3533 2003-03-07 Angus Leeming <leeming@lyx.org>
3535 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3536 it to communicate with the frontend dialogs.
3538 2003-03-07 Angus Leeming <leeming@lyx.org>
3540 * insetexternal.C: remove operator== and operator!= for
3541 InsetExternal::Params. They were used only by the old controller
3544 2003-03-07 Angus Leeming <leeming@lyx.org>
3546 * insetcommand.C (localDispatch):
3547 * insetexternal.C (localDispatch):
3548 * insetfloat.C (localDispatch):
3549 * insetinclude.C (localDispatch):
3550 * insetminipage.C (localDispatch):
3551 * insetwrap.C (localDispatch):
3552 add LFUN_INSET_DIALOG_UPDATE to the switch.
3554 2003-03-07 Angus Leeming <leeming@lyx.org>
3556 * insetcommand.C (string2params):
3557 * insetexternal.C (string2params):
3558 * insetfloat.C (string2params):
3559 * insetinclude.C (string2params):
3560 * insetwrap.C (string2params): use LyXLeX more.
3563 * insetexternal.[Ch]:
3565 * insetinclude.[Ch]:
3566 * insetwrap.[Ch]: change Mailer::name_ to be static.
3568 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3569 it to communicate with the frontend dialogs.
3571 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3574 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3576 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * insettext.C (updateLocal): un-const function
3579 (updateLocal): adjust
3580 (collapseParagraphs): un-const function
3581 (collapseParagraphs): adjust
3583 2003-03-05 Angus Leeming <leeming@lyx.org>
3585 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3586 it to communicate with the frontend dialogs.
3588 2003-03-05 Angus Leeming <leeming@lyx.org>
3590 * insetcollapsable.C (draw): cache the BufferView.
3592 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3593 it to communicate with the frontend dialogs.
3595 2003-03-05 Angus Leeming <leeming@lyx.org>
3597 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3600 2003-03-05 Angus Leeming <leeming@lyx.org>
3602 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3604 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3605 it to communicate with the frontend dialogs.
3607 2003-03-05 Angus Leeming <leeming@lyx.org>
3609 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3610 it to communicate with the frontend dialogs.
3612 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * insettext.C (collapseParagraphs): adjust
3615 (appendParagraphs): make it take a Buffer* instead of a
3616 BufferParams& as arg.
3617 (appendParagraphs): adjust
3619 2003-03-04 Angus Leeming <leeming@lyx.org>
3621 * insetbibitem.C (localDispatch):
3622 * insetbibtex.C (localDispatch):
3623 * insetcommand.C (localDispatch):
3624 * insetert.C (localDispatch):
3625 * insetlabel.C (localDispatch):
3626 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3628 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * insettext.C (latex): adjust for ParagraphList::iterator
3632 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * insetbutton.C (view): adjust for boost 1.30.0
3635 * insetcollapsable.C (view): ditto
3636 * insetgraphics.C (statusChanged): ditto
3638 * insettext.h: move paragraphs to be public.
3640 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * insetnote.[Ch] (InsetNote): remove unused constructor
3644 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3646 * insetgraphics.C: added include "format.h"
3648 2003-02-27 Angus Leeming <leeming@lyx.org>
3650 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3653 2003-02-27 Angus Leeming <leeming@lyx.org>
3655 * insetbibitem.C (localDispatch):
3656 * insetbibtex.C (localDispatch):
3659 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3661 2003-02-26 Angus Leeming <leeming@lyx.org>
3663 * insetbibitem.[Ch] (localDispatch):
3664 * insetbibtex.[Ch] (localDispatch):
3665 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3667 * insetcommand.C (localDispatch):
3668 act only on receipt of LFUN_XYZ_APPLY.
3670 * insetert.C (localDispatch): reformat.
3671 add LFUN_XYZ_APPLY to the switch.
3673 2003-02-26 John Levon <levon@movementarian.org>
3675 * insettext.C: use RowPainter
3677 * inset.h: make helpers take const *
3679 2003-02-26 Angus Leeming <leeming@lyx.org>
3681 * insetcommand.[Ch] (localDispatch): new method.
3683 2003-02-26 Angus Leeming <leeming@lyx.org>
3685 * insetinclude.C (draw): cache the BufferView* using cache not
3686 PreviewImpl::setView
3688 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3690 * insetgraphics.C (draw)
3691 * insetinclude.C (draw): Eliminate also the other argument (owner
3692 inset inset) in the call to PreviewImage::image
3694 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3696 * insetgraphics.C (draw)
3697 * insetinclude.C (draw): Eliminate Buferview argument in call to
3700 2003-02-25 John Levon <levon@movementarian.org>
3702 * insetgraphicsParams.h:
3703 * insetgraphics.C: don't start a load process if
3704 the inset is set to NoDisplay (bug #920)
3706 2003-02-22 John Levon <levon@movementarian.org>
3709 * insetwrap.C: TocItem changed API (bug 913)
3711 2003-02-21 Angus Leeming <leeming@lyx.org>
3713 * insetcollapsable.[Ch] (cache, edit):
3714 * insetbutton.[Ch] (cache, edit): new methods to cache the
3715 BufferView in the draw method.
3717 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3718 simplify comunication between InsetCommand-derived classes and
3721 * insetbibitem.[Ch]:
3725 * insetfloatlist.[Ch]:
3729 * inseturl.[Ch]: small changes to reflect the new interface to the
3732 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3733 other, similar classes.
3735 * Makefile.am: add new files.
3737 2003-02-21 Angus Leeming <leeming@lyx.org>
3739 * updatableinset.h (setView, view): remove.
3740 * inset.h (view, cache): to be replaced by these.
3742 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3745 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3748 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3750 2003-02-21 Allan Rae <rae@lyx.org>
3752 * insetinclude.C (loadIfNeeded): ensure loading also works when
3753 child document is under version control.
3755 2003-02-17 André Pönitz <poenitz@gmx.net>
3757 * insetbib.[Ch]: Adjust access to bibkeys
3759 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3761 * insetquotes.C (dispString): remove use of acute accent for "'"
3764 2003-02-14 John Levon <levon@movementarian.org>
3766 * insettabular.C: changed method names in tabular.C
3768 2003-02-14 John Levon <levon@movementarian.org>
3772 * insetcollapsable.h:
3773 * insetcollapsable.C:
3777 * insettext.C: remove unused getParFromID()
3779 2003-02-13 John Levon <levon@movementarian.org>
3782 * insettext.C: remove unused beginningofMainBody()
3784 2003-02-08 John Levon <levon@movementarian.org>
3788 * insetcollapsable.h:
3789 * insetcollapsable.C:
3794 add nextChange(). Make allowSpellcheck() const. Add markErased().
3796 * insetert.C: ignore deleted text
3798 * insettabular.C: make sure to keep change tracking working
3801 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3806 * insettext.C: Use error messages with identical spelling and
3809 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3811 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3813 2002-12-17 Juergen Vigna <jug@lyx.org>
3815 * insettext.C (localDispatch): hopefully fixed cursor up down
3816 movement on leaving other insets.
3818 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3820 * insettext.C: fix inconsistent usage of spaces, colons,
3821 capitalization, and the like.
3823 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * insetgraphics.C (prepareFile): do not remove the extension of
3826 the file name if it is not the default extension for the given
3827 format (that is, in latex output, remove extension from foo.eps,
3828 but not from foo.epsi)
3830 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3832 * insettext.C (lfunMouseRelease): hackish solution to the "double
3835 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * insetfloat.C (addToToc): use the floats name not its type
3838 * insetwrap.C (addToToc): ditto
3840 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3842 * insetnote.C (init): make label font smaller
3844 2002-12-04 John Levon <levon@movementarian.org>
3846 * insetinclude.C: ressurect setting of command name
3848 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * insetquotes.C (dispString): disambiguate insert call
3852 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * several files: ws changes
3856 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * insetquotes.C (dispString): use string::insert for prepending a
3861 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3863 * insetparent.C (getScreenLabel): use boost::format
3865 * insetgraphics.C (prepareFile): use boost::format
3868 * insetfloatlist.C (latex): use boost::format
3870 * insetcaption.C (draw): use boost::format
3872 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3874 * insettabular.C (tabularFeatures): Support for block alignment in
3875 fixed width columns.
3877 2002-11-20 Juergen Vigna <jug@sad.it>
3879 * insettabular.C (resetPos): temporary fix for endless loop in
3880 this function on a redraw.
3882 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * insettabular.C (copySelection): STRCONV
3886 * insetinclude.C (uniqueID): STRCONV
3887 (latexString): ditto
3889 * insetgraphics.C: put VersionNumber inside anon namespace
3890 (createLatexOptions): STRCONV
3892 * insetcommandparams.C: include config.h
3894 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3896 * insetgraphicsParams.C (Write): use lyx::float_equal.
3897 Write height data correctly.
3898 (Read): zero scale when reading height data.
3900 2002-10-30 John Levon <levon@movementarian.org>
3902 * insetfloat.C (addToTOC): recursively traverse all
3903 contents looking for captions (fix #568)
3905 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3907 * insetexternal.C (doSubstitution): do not try to replace
3908 environment variables, this is done when executing the command
3910 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3912 * insetexternal.C (doSubstitution): change order of substitution
3913 to work around ReplaceEnvironmentPath brokenness
3915 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3917 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3919 * insetgraphicsParams.C (init, Write): associated changes
3920 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3921 InsetGraphicsParams::scale.
3923 2002-10-21 John Levon <levon@movementarian.org>
3925 * inset.h: remove unused DISPATCH_RESULT
3927 * insettext.C: sgml open/close tag now in sgml namespace
3929 2002-10-21 Angus Leeming <leeming@lyx.org>
3931 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3932 file path subdir/fig.eps when pasting it into a buffer in a different
3935 2002-10-16 John Levon <levon@movementarian.org>
3937 * insetspecialchar.C: remove \\protected_separator parsing
3939 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3941 * insetquote.C: fix LaTeX output of quotation marks.
3943 2002-10-14 Juergen Vigna <jug@sad.it>
3945 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3946 Backspace functions which confused the Undo handling.
3948 2002-10-09 Angus Leeming <leeming@lyx.org>
3950 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3951 BufferView::dispatch that turns off this optimisation when a new inset
3954 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3955 reload the BibTeX keys.
3957 2002-10-11 André Pönitz <poenitz@gmx.net>
3959 * insettext.h: handle LFUN_PRIOR/NEXT
3961 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3963 * insetfloat.C: fix bug with float settings
3964 (document default != float default).
3966 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3968 * insetwrap.C (addToToc): New method.
3969 (InsetWrap): Set layout to caption.
3971 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3973 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3975 2002-09-16 John Levon <levon@movementarian.org>
3977 * insettabular.h: hasSelection() needs to be public
3979 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3981 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3983 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3985 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3987 2002-09-11 André Pönitz <poenitz@gmx.net>
3989 * insettabular.C: implement LFUN_WORDSEL
3991 2002-09-10 John Levon <levon@movementarian.org>
3993 * insetinclude.h: remove unused param
3995 2002-09-09 John Levon <levon@movementarian.org>
3998 * insetinclude.C: remove noload, default to input
4000 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
4002 * insetgraphics.C: disfuscated use of ']' in built output string.
4004 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
4008 2002-08-29 Juergen Vigna <jug@sad.it>
4010 * insettabular.C (lfunMousePress): Pay attention where you set
4011 the x/y values as they depend on which inset in the tabular is
4012 actually locked. So you surely have to reset them if you (un)lock
4015 2002-08-29 André Pönitz <poenitz@gmx.net>
4017 * insetfootlike.h: rename include guard to ALL CAPS
4019 * insettext.C: swap object and first parameter for checkInsetHit calls
4020 as this functions has moved from BufferView to LyXText
4023 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4025 * insetgraphicsParams.C: remove local displayTranslator and use
4026 the one from graphics/GraphicsTypes.h.
4028 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4030 * insetfloat.C (wide): add BufferParams parameter
4032 * insetfloatlist.C (read):
4035 * insetfloat.C (latex):
4037 * insetcaption.C (draw): use LyXTextClass::floats()
4039 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4041 * insetoptarg.h: add std:: qualifier.
4043 2002-08-26 Juergen Vigna <jug@sad.it>
4045 * insettext.C (localDispatch): ditto.
4047 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
4049 2002-08-25 John Levon <levon@movementarian.org>
4051 * inseturl.C: elide long URLs (bug 404)
4053 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4055 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
4056 remove "Format Version <version_no.>" string from inset header
4059 * insetgraphicsParams.[Ch]: Implement new graphics dialog
4061 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
4062 a member of "grfx::Params" anymore.
4064 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
4066 2002-08-24 John Levon <levon@movementarian.org>
4069 * insetoptarg.C: ws, pedantry ...
4071 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4073 * insettext.C (collapseParagraphs): pasteParagraph now in global
4075 (appendParagraphs): ditto
4077 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
4079 * insetcite.C (latex): Remove spaces only after commmas.
4081 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * insettext.C: remove NO_COMPABILITY stuff
4085 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * insettext.C (edit): use ParagraphList iterators
4089 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
4090 (bibitemWidest): ditto
4092 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * insettext.C: include <boost/bind.hpp>
4095 add using std::for_each
4096 (saveLyXTextState): use ParagraphsList::iterator
4097 (init): use for_each on paragraphlist iterators
4098 (InsetText): remove superflous setting cached_bview to 0
4099 (latex): reformat a bit
4100 (ascii): use paragraphlist iterators
4101 (validate): use for_each + boost bind
4102 (getLabelList): use paragraphlist iterators
4103 (deleteLyXText): use for_each + boost::bind
4104 (resizeLyXText): ditto
4105 (reinitLyXText): ditto
4106 (removeNewlines): use paragraphlist iterators
4107 (getParFromID): ditto
4108 (paragraph): use for_each + boost::bind
4109 (getInsetFromID): use paragraphlist iterators
4110 (getLabelList): typo fix
4112 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * insettext.C (read): assign tmp to paragraphs after return from
4115 call to parseSingleLyXformat2Token
4118 2002-08-13 Angus Leeming <leeming@lyx.org>
4136 * inseturl.C: changes due to the changed LyXView interface that
4137 now returns references to member variables not pointers.
4139 2002-08-13 Angus Leeming <leeming@lyx.org>
4142 * insetcollapsable.h:
4145 * insettext.h: forward-declare WordLangTuple
4146 (selectNextWordToSpellcheck) constify return type.
4149 * insetcollapsable.C:
4152 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
4154 2002-08-12 Angus Leeming <leeming@lyx.org>
4156 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0
4159 2002-08-12 Juergen Vigna <jug@sad.it>
4161 * insetcollapsable.C (edit): ignore if entered when pressing mouse
4164 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * insetbib.C (bibitemMaxWidth): ParagraphList changes
4167 (bibitemWidest): ditto
4168 * insettext.[Ch]: ditto
4170 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * insettext.C, insetert.C: use Paragraph::empty where appropriate
4174 2002-08-09 Angus Leeming <leeming@lyx.org>
4176 * insetinclude.C (latexString): remove fudge now that I've found out
4177 how to enable LaTeX to find the file using input@path.
4179 2002-08-09 John Levon <levon@movementarian.org>
4182 * insettext.C: remove unused xpos
4184 2002-08-07 Juergen Vigna <jug@lyx.org>
4186 * insettabular.C (localDispatch): make delete not put the stuff
4187 in the clipboard only do this on a cut operation.
4189 * insettext.C (localDispatch): make delete and backspace not put
4190 selected stuff to the clipboard.
4192 2002-08-07 André Pönitz <poenitz@gmx.net>
4195 * insetcollapsable.[Ch]:
4199 * insettabular.[Ch]:
4200 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
4202 2002-08-06 John Levon <levon@movementarian.org>
4206 * insetcollapsable.h:
4207 * insetcollapsable.C:
4213 * insettext.C: use WordLangTuple for spellcheck
4215 2002-08-06 Angus Leeming <leeming@lyx.org>
4217 * insetinclude.C: add a monitor to the previewed image, so that the
4218 image is refreshed if the \input-ed file changes.
4220 2002-08-04 John Levon <levon@movementarian.org>
4223 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
4225 2002-08-02 Angus Leeming <leeming@lyx.org>
4227 * insetcommandparams.[Ch] (preview): new methods returning and setting
4228 a new bool preview_ flag.
4229 (read): read this flag.
4230 (operator==): add flag to check.
4232 * insetinclude.C (write): output new preview() flag.
4233 (previewWanted): use this flag.
4235 2002-08-02 Angus Leeming <leeming@lyx.org>
4237 * insetcollapsable.[Ch] (addPreview):
4238 * insettabular.[Ch] (addPreview):
4239 * insettext.[Ch] (addPreview): new methods. Can now generate previews
4240 for insets in insets.
4242 2002-08-02 Angus Leeming <leeming@lyx.org>
4244 * insetcite.C: fix typo.
4246 * insetgraphics.C: kill current_view and instead cache the BufferView
4249 * insetinclude.C: kill current_view and pass the BufferView to the
4250 PreviewedInset so that it can cache it.
4252 2002-08-01 Angus Leeming <leeming@lyx.org>
4254 * inset.h (generatePreview): renamed as addPreview.
4255 (generatePreview): new method. Allows code to be moved out of
4256 math_nestinset.C and into the new PreviewedInset class.
4258 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
4259 add previews to the inset when \input-ing LaTeX.
4261 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * several files: strip,frontStrip -> trim,ltrim,rtrim
4265 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * insetbib.C (latex): modify because of strip changes
4269 * insetnote.C (InsetNote): ditto
4271 2002-07-26 Juergen Vigna <jug@sad.it>
4273 * insettabular.C (searchForward): check for lastcell if we
4274 had a locking inset.
4276 2002-07-25 Juergen Vigna <jug@sad.it>
4278 * insettabular.C (insetMotionNotify): Don't update the screen
4279 if we didn't do nothing.
4280 (searchForward): last cell was not checked.
4282 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4284 * insetfloat.C (read, write): Allow default placement
4285 (floatPlacement_ is empty).
4287 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4289 * insetminipage.h (noFontChange):
4290 * insettabular.h (noFontChange):
4291 * insetfootlike.h (noFontChange):
4292 * insetfloat.h (noFontChange): return true
4294 * inset.h (noFontChange): new method, defaulting to false
4296 2002-07-22 Herbert Voss <voss@lyx.org>
4298 * insetgraphicsParams.[Ch]: support size_type for old docs
4300 2002-07-22 Herbert Voss <voss@lyx.org>
4303 * insetgraphicsParams.[Ch]: change size_type to size_kind and
4306 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4308 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
4310 * insetlatexaccent.h: do not include "lyxlex.h"
4312 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
4315 * insetlatexaccent.C:
4319 * insetbib.C: #include "lyxlex.h"
4325 * insettext.C: use BufferParams::getLyXTextClass
4328 * insetfloat.C (addToToc): new method. Add to toclist the entries
4329 corresponding to Caption layouts
4330 (InsetFloat): when creating a new float, set the layout to "Caption"
4332 2002-07-21 Herbert Voss <voss@lyx.org>
4334 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
4335 image relevant part into graphics/GraphicsImgae.C
4337 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4339 * insettoc.C (ascii):
4340 * insetfloatlist.C (ascii): change to use the new Toc functions
4341 instead of stuff that was in Buffer
4343 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4345 * insettext.C (localDispatch): BufferView::Dispatch has been
4346 renamed to BufferView::dispatch
4348 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4350 * insetgraphicsParams.C (as_grfxParams): use the new
4351 keepLyXAspectRatio parameter. Note that this is an adaptation of a
4352 1.2.0 patch, and I do not really know how to adapt it to the new
4353 grfx::Cache world. Angus, please could you have a look?
4355 2002-05-01 Herbert Voss <voss@lyx.org>
4357 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4359 2002-07-18 Angus Leeming <leeming@lyx.org>
4361 * insetgraphics.C: clean-up comments (from Herbert).
4362 add a new checksum variable to the cache. Use it in PrepareFile.
4363 (draw): start monitoring the file for a change.
4364 (prepareFile): re-arrange a little to avoid unnecessary steps.
4366 2002-07-17 Angus Leeming <leeming@lyx.org>
4368 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4369 a method rather than to the signal directly.
4371 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4373 * insettext.C: use view_state_changed, switchKeyMap
4375 2002-07-17 Herbert Voss <voss@perce.de>
4377 * insetgraphics.C (prepareFile): keep the extension when
4378 exporting to nice file
4380 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * insetcite.C (getNatbibLabel):
4383 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4385 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4387 * insetgraphics.C: use ->isDrawable()
4389 2002-07-12 Angus Leeming <leeming@lyx.org>
4391 * insetgraphics.C: use the new smart loading capabilities of the image
4394 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4396 * insettabular.C (edit): Move into correct cell when entering a
4399 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4402 2002-07-05 Angus Leeming <leeming@lyx.org>
4404 * inset.h (generatePreview): new virtual method.
4406 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4408 * insetcommandparams.[Ch] (operator=): move out of class
4409 (operator!): move out of class
4411 2002-07-04 André Pönitz <poenitz@gmx.net>
4413 * insetcommandparams.[Ch]: new files
4415 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4417 2002-06-15 Herbert Voss <voss@perce.de>
4419 * insetgraphics.C (prepareFile): bugfix; return always
4420 files without extension
4422 2002-06-28 Angus Leeming <leeming@lyx.org>
4424 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4425 rename asGParams -> as_grfxParams.
4427 * insetgraphics.C: reflect above change.
4429 2002-06-26 Angus Leeming <leeming@lyx.org>
4431 * insetgraphics.h: use boost::scoped_ptr in preference to
4434 2002-06-26 Angus Leeming <leeming@lyx.org>
4436 * insetgraphics.C: moved the image loading stuff into a new class
4437 grfx::Loader. Simplifies this file enormously.
4439 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4441 * insetgraphicsParams.C: changes aassociated with moving
4442 grfx::DisplayType out of grfx::GParams.
4444 2002-06-26 André Pönitz <poenitz@gmx.net>
4446 * insetgraphics.C: use os::external_path where necesaary according to a
4447 patch from Claus Hentschel)
4449 2002-06-25 Angus Leeming <leeming@lyx.org>
4451 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4452 generating a pixmap once the graphics file is loaded into memory.
4453 The current_view ugliness that was in grfx::ModifiedImage has been
4454 moved here now that grfx::ModifiedImage is no more.
4456 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4458 * insettext.C: layout as layout
4460 2002-05-28 André Pönitz <poenitz@gmx.net>
4462 * insetfloatlist.h: remove source of compiler warning
4464 * insetref.C: tiny whitespace
4466 2002-06-15 Herbert Voss <voss@perce.de>
4468 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4469 and take always convert when no userdefined converter was
4471 (latex) small changes in the lyxerr output
4473 2002-06-15 LyX Development team <lyx@rilke>
4475 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4476 mixed content. Small white spaces clean.
4478 2002-06-14 Angus Leeming <leeming@lyx.org>
4480 * inseetexternal.C: remove the using std::difftime declaration.
4482 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4484 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4486 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4488 * insetquotes.C (draw): fix drawing of double quotes
4490 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4492 * insettabular.C: s/scrollCB/scrollDocView/
4494 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4496 * insettext.C: change of topCursorVisible()
4499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4502 * insettext.C: rename/change of LyXScreen
4504 2002-06-07 Angus Leeming <leeming@lyx.org>
4506 Fixes needed to compile with Compaq cxx 6.5.
4508 * insetexternal.C: all c-library variables have been moved into
4509 namespace std. Wrap using std::xyz declarations inside a #ifndef
4510 CXX_GLOBAL_CSTD block.
4512 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4514 * insetinclude.C (uniqueID):
4515 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4516 conflicted with some AIX headers.
4518 2002-05-31 Juergen Vigna <jug@sad.it>
4520 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4524 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4526 * insetexternal.C (clone): fix () bug when using new
4527 (updateExternal): don't only look for difftime in global scope
4529 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4531 * insettabular.C: add const
4533 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4535 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4536 file name, in case there are weird characters like ',' in there.
4539 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4541 * switch from SigC signals to boost::signals.
4543 2002-05-28 André Pönitz <poenitz@gmx.net>
4545 * insets/insetgraphicsParams.[Ch]:
4546 put in inset related stuff from src/graphic
4548 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4556 * insetcollapsable.C:
4557 * insetcollapsable.h:
4585 * inseturl.h: use mouse_state. Kill insetKeyPress
4587 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4592 * insetcollapsable.C:
4595 * insetlatexaccent.C:
4597 * insetspecialchar.C:
4599 * insettext.C: name change for font metrics
4601 2002-05-24 Juergen Vigna <jug@sad.it>
4603 * insetgraphics.h: include inset.h first (for LString.h)
4605 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4607 * insettext.C: screen moved
4609 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4627 * inseturl.C: LyXView moved into frontends/
4629 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4634 * insetcollapsable.C:
4638 * insetgraphicsParams.C:
4639 * insetlatexaccent.C:
4641 * insetspecialchar.C:
4643 * insettext.C: move Painter to frontends/
4645 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4647 * insettabular.h: use more specific smart_ptr header.
4648 * insettext.h: ditto
4650 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4653 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4655 * insettext.C: clear selection on paste (bug 393)
4657 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4659 * insettext.C (latex): Honor the moving_arg argument.
4661 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4663 * insetfoot.C (latex): if a footnote is in a title layout, then it
4664 is a \thanks. And then, its contents is a moving argument.
4666 2002-05-14 Juergen Vigna <jug@sad.it>
4668 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4671 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4673 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4674 when using options "Full author list" or "Upper case".
4676 2002-05-14 Herbert Voss <voss@perce.de>
4678 * insetgraphics.C (prepareFile): allow files with same name
4680 (readFigInset): set the flags from old figinset in the right
4682 (findTargetFormat): more comments
4684 2002-05-14 Juergen Vigna <jug@sad.it>
4686 * insettext.C (edit): tell checkAndActivateInset() that we don't
4687 have a button press.
4688 (checkAndActivateInset): if button < 0 we don't have a button press
4689 on the inset and os we won't call edit on it if it's not a Highly
4690 editable inset (then we have to enter it).
4692 2002-05-13 Juergen Vigna <jug@sad.it>
4694 * insetcollapsable.C (insetButtonRelease): returned wrong return
4697 2002-05-09 Juergen Vigna <jug@sad.it>
4699 * insetcollapsable.C (edit): first_after_edit should only be
4700 set to true if we enter this inset and it was collapsed so we
4701 open it up. This is needed to reclose it after a search/replace
4702 or spellcheck function opened it and was negative.
4704 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4706 * insetfloat.C (latex): Return correct value.
4708 2002-05-04 Herbert Voss <voss@perce.de>
4710 * InsetgraphicsParams.C (read): fix bug with WH
4712 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4714 * insetfloat.C (latex): More sensible latex output
4715 (fix the problem with endfloat).
4717 2002-05-02 José Matos <jamatos@fep.up.pt>
4719 * insetgraphics.C (validate): acess params as everyone else.
4721 2002-05-03 Juergen Vigna <jug@sad.it>
4723 * insettabular.C (fitInsetCursor): recalculate the cursor position
4726 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4728 * InsetgraphicsParams.[Ch]: whitespace.
4730 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4732 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4733 float type do not exist.
4735 2002-04-28 Herbert Voss <voss@perce.de>
4737 * insetgraphics.C (latex): fix bug with missing file-extension.
4738 LaTeX still allows a missing "eps" or "ps".
4740 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4742 * insetfloat.C (c-tor, wide): translate the name of the float.
4744 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4746 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4747 when using natbib and make it work efficiently. Must emphasise that the
4748 real work is Herbert's.
4750 2002-04-23 Herbert Voss <voss@perce.de>
4752 * insetgraphic.C (prepareFile): fix bug with overwriting and
4753 deleting an existing *.eps-file in the doc-dir
4755 2002-04-23 Juergen Vigna <jug@sad.it>
4757 * insettabular.C (drawCellSelection): fix off by 1 error.
4759 2002-04-22 Juergen Vigna <jug@sad.it>
4761 * insettabular.C (setFont): rewoke full selection if it was asked,
4762 after we changed all we had to change.
4764 * insettext.C (insetUnlock): code was uninitialized in some situations.
4766 2002-04-19 Herbert Voss <voss@perce.de>
4768 * insetgraphic.C (prepareFile): return filename without
4769 extension if we only export without compiling
4771 2002-04-19 Juergen Vigna <jug@sad.it>
4773 * insettext.C (draw): call a fullRebreak on the row where we had a
4774 change and reset the cursor and selection-cursors.
4776 * insettabular.C (insetUnlock):
4777 (insetButtonPress): call an update before setting the_locking_inset = 0
4778 as otherwise we don't repaint!
4779 (update): reset the cursor position when we changed dimensions as
4780 otherwise our cursor may be on the wrong spot.
4782 2002-04-18 Juergen Vigna <jug@sad.it>
4784 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4785 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4786 redraw otherwise we won't redraw.
4788 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4789 not really right before, but I only discovered this with the last
4790 changes to Page up/down.
4792 2002-04-17 Juergen Vigna <jug@sad.it>
4794 * insettext.C (checkAndActivateInset): simplified as we now have the
4795 edit(bv, bool) call.
4797 * insettext.h: changed behind variables to front variables to be
4798 equal to the one in the edit call (as it is for that they are used).
4800 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4802 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4803 not output anything at all!
4805 2002-04-16 Juergen Vigna <jug@sad.it>
4807 * insettabular.C (insetButtonPress):
4808 (insetUnlock): call a redraw on unlocking the cell inset.
4810 * insettext.C (insetButtonPress): same as below.
4811 (lockInset): new function to set initial values when inset should
4813 (insetButtonPress): use above function.
4814 (insetUnlock): don't force a repaint only set the updateStatus. The
4815 outside world should repaint if it thinks it should be done!
4817 * insettabular.C (insetButtonPress): init values if not set as locked
4818 as we are locked if someone presses on us and don't call the edit()
4819 call of the InsetText to lock it do it as BufferView does it!
4821 * inset.h (insetInInsetY): make func const and return an int.
4824 * insetcollapsable.C: adapt the above changed function.
4826 2002-04-15 Juergen Vigna <jug@sad.it>
4828 * insettext.C (getCursorPos): return relative position as to be able
4829 to give them directly to the edit() call.
4830 (edit): we have to set also x_fix as it is not set inside the
4831 setCursorFromCoordinates call!
4832 (insetMotionNotify): ditto.
4834 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4836 * insetbib.C (getKeys): strip leading '\t's from the line too.
4837 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4839 2002-04-12 Juergen Vigna <jug@sad.it>
4841 * insettext.h: added cix() helper function and use it where appropriate
4843 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4845 * insetgraphics.C (prepareFile): fix bug when graphics is a
4848 2002-04-12 Juergen Vigna <jug@sad.it>
4850 * insettext.C (insertInset): remove unneeded code!
4851 (updateLocal): fitCursor() fixes.
4852 (collapseParagraphs): fix a possible problem when having a selection
4853 and collapsing the paragraphs.
4855 2002-04-08 Herbert Voss <voss@perce.de>
4857 * insetgraphic.C (write): write the rotating angle as
4858 a float as is. test only for != 0.0
4860 2002-04-11 Juergen Vigna <jug@sad.it>
4862 * insettext.C: new function ciy() and use it for setting inset_y.
4864 * insetert.C (draw): fix the x return for collapsed version.
4866 2002-04-07 Herbert Voss <voss@perce.de>
4868 * insetgraphic.C (readFigInset): fix bug with subcaption and
4871 2002-04-08 Herbert Voss <voss@lyx.org>
4873 * insetgraphicsparam.C: forgot special option and delete old
4876 2002-04-05 Juergen Vigna <jug@sad.it>
4878 * insettext.C (localDispatch): make a CURSOR update if we inserted
4881 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4883 * insetfloatlist.C (getScreenLabel):
4884 (latex): use Floating::listName
4885 (validate): new method
4887 2002-04-03 José Matos <jamatos@fep.up.pt>
4889 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4891 * insetfoot.[Ch] (docbook): added forgotten method.
4893 2002-04-03 Juergen Vigna <jug@sad.it>
4895 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4896 way as in Bufferview_pimpl.
4898 2002-04-03 Allan Rae <rae@lyx.org>
4900 * insetgraphics.C (latex): one % too many makes living on the bleeding
4901 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4903 2002-03-28 Herbert Voss <voss@lyx.org>
4905 * insetgraphic.C (latex): simplify the code for the latex
4906 output when the file doesn't exist
4908 2002-03-29 Juergen Vigna <jug@sad.it>
4910 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4913 * insettabular.C (edit): call fitCursor().
4915 * insettext.C (insetButtonPress): change behaviour of no_selection
4916 to the one in the BufferView selection_possible and fix the spurious
4917 selection bug with it.
4918 (localDispatch): revoke selection on BREAK... functions.
4920 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4922 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4924 2002-03-28 Juergen Vigna <jug@sad.it>
4926 * insettabular.C (insetAllowed): return true as default value otherwise
4927 we're not able to insert insets inside paragraphs of an not locked
4930 2002-03-27 Herbert Voss <voss@lyx.org>
4932 * insetgraphicsparam.C: change c%, p% to col%, page%
4934 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4936 * insetspecialchar.C (isLineSeparator): disable the nice code to
4937 allow linebreaks after hyphenation and menu separators.
4939 2002-03-26 Herbert Voss <voss@lyx.org>
4941 * insetgraphics.C (figinsetRead): set the right lyxview
4943 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4945 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4946 $\backslash$ and pass a "string const &" to the function.
4947 (prepareFile, latex): use Path rather than MakeAbsPath.
4949 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4951 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4952 proper fix to the graphics cache.
4953 (latex): "really" nice output if the file is not found ;-)
4955 2002-03-26 Juergen Vigna <jug@sad.it>
4957 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4958 (collapseParagraphs): fixed inserting of separator ' '
4960 * insettabular.C (insertAsciiString): only check for buffer lenght
4961 not if we have \t or \n inside the buffer as if we don't have we only
4962 have 1 cell and that's it!
4964 * insetert.C (close): don't collapse if inlined.
4966 2002-03-25 Herbert Voss <voss@lyx.org>
4968 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4969 graphics file does not exist.
4971 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4973 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4974 path when preparing export.
4976 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4977 no longer MakeRelPath.
4979 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4981 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4982 Used to determine the absolute path to the graphics file in the
4983 graphics cache and only in the graphics cache.
4984 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4985 make graphics file name absolute if it is stored as a relative path.
4987 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4988 make graphics file name absolute if it is stored as a relative path.
4990 * insettext.C (edit): emit an updateParagraph signal on entering a text
4991 inset. Needs to be emitted when leaving the inset also.
4993 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4995 * all files: ws cleanup
4997 * Makefile.am: remove ld -r stuff
4999 2002-03-21 Juergen Vigna <jug@sad.it>
5001 * insettext.C (appendParagraphs): new function added to append
5002 the paragraphs to this insets paragraphs.
5004 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5006 * Makefile.am: special rules if partial linking
5008 2002-03-19 Juergen Vigna <jug@sad.it>
5010 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
5012 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
5014 * insetgraphics.C: Clean up Baruch's comments a little.
5015 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
5017 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
5020 * insettheorem.C: wrap warnings
5022 * insetgraphics.C: improve messages, move cached_status_
5023 setting to safer place
5025 2002-03-18 Juergen Vigna <jug@sad.it>
5027 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
5029 (localDispatch): ditto
5031 * insettext.C (edit): removed unneeded showCursor calls.
5032 (localDispatch): ditto.
5034 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5036 * insetgraphics.h: remove display() method.
5038 2002-03-11 Juergen Vigna <jug@sad.it>
5040 * insetgraphics.C (draw): hack to fix the redrawing bug.
5041 (draw): seems this fixes #268 (force redraw of row if we changed).
5043 * insettext.C (updateInsetInInset): fixed for updates in insets inside
5044 this inset text (don't know why I missed this earlier).
5046 2002-03-08 Juergen Vigna <jug@sad.it>
5048 * insettabular.C (updateLocal): do a FULL update if we're not locked
5049 and only a CELL update is asked.
5051 * insettext.C (updateInsetInInset): update insets inside inset also
5052 if it isn't inside the_locking_inset.
5054 * insettabular.C (updateInsetInInset): ditto.
5056 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5058 * insetexternal.C (doSubstitution): check whether we are using a
5059 temp dir for defining $$FPath
5061 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
5064 * insettext.C: remove #include "WorkArea.h".
5066 2002-03-06 Juergen Vigna <jug@sad.it>
5068 * insettext.C (draw): fixed frame redrawing.
5069 (clear): forgot to set the inset_owner of the paragraph.
5071 * insetert.C (status): pay attention the bv can be 0 here!
5072 (getMaxWidth): add the default leftMargin
5074 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5076 * insetert.C (getMaxWidth): make w unsigned int.
5078 2002-03-05 Juergen Vigna <jug@sad.it>
5080 * insetert.C (status): change behaviour of Inlined.
5081 (getMaxWidth): added for new inlined behaviour.
5083 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5085 * insetnote.h (linuxdoc, docbook): add empty methods.
5086 * insetinclude.C (validate): fix a case where buffer->niceFile was used
5087 before being initialized.
5089 2002-03-05 Juergen Vigna <jug@sad.it>
5091 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
5092 only that one in the inset. Should be enough.
5093 (updateLocal): set the selection cursor always if we don't have a
5094 selection to be sure it's set!
5096 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
5098 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5100 * insettext.C (clear): a gross hack to set layout on a newly
5103 2002-03-04 Juergen Vigna <jug@sad.it>
5105 * insettabular.C (localDispatch): inserted handling of
5106 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
5107 (insertAsciiString): new helper function.
5109 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
5111 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
5114 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5116 * insettext.C (InsetText): initalize newly created par with
5117 default layout. add bufferparams parameter
5120 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
5121 * insetcollapsable.[Ch] (InsetCollapsable): ditto
5122 * insetert.[Ch] (InsetERT): ditto
5123 * insetfloat.[Ch] (InsetFloat): ditto
5124 * insetfoot.[Ch] (InsetFoot): ditto
5125 * insetfootlike.[Ch] (InsetFootLike): ditto
5126 * insetmarginal.[Ch] (InsetMarginal): ditto
5127 * insetminipage.[Ch] (InsetMinipage): ditto
5128 * insetnote.[Ch] (InsetNote): ditto
5129 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
5131 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5133 * insettext.C: layout as string
5135 * insetinclude.C: layout as string
5137 * insetert.C: layout as string
5139 * insetbib.C: layout as string
5141 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5144 * insettabular.C: remove #include "lyx_gui_misc.h".
5146 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5151 * inset.h: remove figinset, yahoo !
5153 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5155 * insetgraphics.C (c-tors): initialise parent classes explicitly in
5156 copy c-tor and initialise member variables in the correct order.
5158 2002-02-28 Juergen Vigna <jug@sad.it>
5160 * insettabular.C (localDispatch): clear selection on PgUp/Down.
5162 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5164 * inset.h: ... and add a better one here.
5166 * insetcommand.C (insetButtonRelease): remove that one which was a
5169 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5171 * insetcommand.C (insetButtonRelease): ... and move it here.
5173 * inseturl.h: remove insetButtonRelease from there...
5175 2002-02-26 Juergen Vigna <jug@sad.it>
5177 * inseturl.h: Added a insetButtonRelease call returning true as
5180 * insetlabel.C (edit): Fixed wrong update handling after change I
5181 leave in the wrong code for the one who wrote it to remove and have
5182 a look what he did wrong.
5184 * insettabular.C (localDispatch): force a SELECTION update if we
5185 had a selection and we passed the event down to the inset (fix #213)
5186 (localDispatch): handle font changing stuff when we have a cell
5187 selection so that the selection is not rewoked. I don't really like
5188 this fix, but it's the only way I see to do it right now.
5190 2002-02-22 Juergen Vigna <jug@sad.it>
5192 * insettext.C (insetUnlock): set the cursor to the second paragraph
5193 if available and if the first one is empty (fix #191).
5195 2002-02-20 Juergen Vigna <jug@sad.it>
5197 * insettext.C (getDrawFont): implemented this function to call the
5198 one of the owner if present as the owner normally knows what to do
5201 * insetert.C: implement getDrawFont() function and comment out all
5202 the crap for setting a special latex font inside this inset.
5203 (InsetERT): added a Lanugage parameter to this constructor.
5205 * inset.h: added function getDrawFont(LyXFont & font) to be able to
5206 change the font for being drawn on screen (used only in InsetERT for
5209 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
5210 and also above (was missing).
5211 (updateLocal): don't remove the cell selection if we have one this
5212 should be done where we really want to remove it.
5214 2002-02-20 José Matos <jamatos@fep.up.pt>
5216 * insetinclude.h: include_label made string const.
5218 * insetinclude.C (InsetInclude): moved include_label initialization.
5221 (validate): fix support for temporary directory, for docbook and
5224 * insetgraphics.h : new private member, graphic_label, that holds
5225 the entity name that defines the graphics location (SGML).
5227 * insetgraphics.C (unique_id): new function to give a unique label
5230 (validate): the file locatation is given by an entity reference.
5232 2002-02-18 Herbert Voss <voss@lyx.org>
5234 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
5236 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5238 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
5239 as support/systemcall.[Ch] and of class Systemcalls as class
5242 2002-02-18 José Matos <jamatos@fep.up.pt>
5244 * insetinclude.C (validate): some code only applies to latex buffers,
5245 it was made conditional.
5247 2002-02-12 Herbert Voss <voss@lyx.org>
5249 * insetgraphics.C: (prepareFile) do not check at this time
5250 if the file is present.
5252 2002-02-12 Herbert Voss <voss@lyx.org>
5254 * insetgraphics.C: latex(), return the correct newlines
5256 2002-02-13 José Matos <jamatos@fep.up.pt>
5258 * inseturl.C (docbook): escape & in url.
5260 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5262 * insetspecialchar.C (isLineSeparator): line breaking is allowed
5263 after HYPHENATION and MENU_SEPARATOR
5265 * inset.h (isLineSeparator): new method, returns false by default.
5267 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5269 * insetert.C (status): do not update the text inset, but the ERT
5272 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
5274 * insetnote.C: use notebg for background
5276 2002-02-08 Herbert Voss <voss@lyx.org>
5279 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
5280 prevent LyX from unzipping when this should be handled
5281 by latex vis the graphic.cfg.
5284 2002-02-08 Herbert Voss <voss@lyx.org>
5286 * insetgraphic.C: prepareFile(): fix bug when file doesn't
5287 exists, than return filename with extension
5289 2002-02-06 Herbert Voss <voss@lyx.org>
5291 * insetgraphic.C: prepareFile(): don't convert the file, when
5292 it's not viewed in LyX. Saves a lot of time when opening a
5295 2002-02-05 Herbert Voss <voss@lyx.org>
5298 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
5299 and adding a rotate bool similiar to subcaption
5301 2002-02-04 Herbert Voss <voss@lyx.org>
5304 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
5305 similiar view to the LaTeX one. Get zipped files work.
5307 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5309 * insetgraphicsParams.C (init): set display to DEFAULT.
5310 No longer #include "lyxrc.h".
5312 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
5314 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
5315 for now (so that the code compiles).
5317 2002-02-02 Herbert Voss <voss@lyx.org>
5319 * insetgraphic.C: delete inVariant() and some minor changes
5320 * insetgraphicsParams.[C]:
5322 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
5324 * insetgraphics.C (updateInset): if params.display == DEFAULT,
5325 interogate lyxrc.display_graphics before diaplaying the graphic.
5327 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
5328 InsetGraphicsParams::DisplayType.
5330 2002-01-31 Herbert Voss <voss@lyx.org>
5332 * insetgraphic.C: (readfigInset) set display to pref-default
5334 2002-01-30 Herbert Voss <voss@lyx.org>
5336 * insetgraphic.C: get the filetyp from it's contents
5337 * insetgraphicparams.C: add token scale and lyxrc.display when
5338 creating a new inset
5340 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
5342 * figinset.C: added using std::ios directive.
5344 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5346 * figinset.C (runqueue): open translation file in binary mode (for
5349 2002-01-27 Herbert Voss <voss@lyx.org>
5351 * insetgraphic.[Ch]: mostly newritten to support graphicx with
5352 all options and to be sure that the old figinsets are correct
5354 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
5355 structure and to support all lengths as LyXLength. The Parameter
5356 structure changed again, but reading of "old" 1.2 graphic insets
5359 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5361 * insetert.h (forceDefaultParagraphs): Added
5363 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5365 * insettabular.C (getMaxWidth):
5366 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5368 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5370 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5371 of LyXLength::inPixels
5373 * inset.C (latexTextWidth):
5374 * insetminipage.C (latexTextWidth): new method, which implements
5375 the equivalent of the LaTeX macro \textwidth
5377 * insetminipage.C (getMaxWidth): use latexTextWidth
5379 2002-01-18 Juergen Vigna <jug@sad.it>
5381 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5383 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5385 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5387 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5390 2002-01-17 Juergen Vigna <jug@sad.it>
5392 * insettabular.C (lockInsetInInset): same change as in insettext.
5394 * insettext.C (draw): width() function was called without setting
5395 the right top_x which could lead to wrong insetWidth setting!
5396 (lockInsetInInset): call edit instead of calling lockInset if we
5397 have to lock an inset inside!
5398 (edit): we have to also tell the inset that we have to redraw the
5399 frame on an edit call if this inset draws a frame only if locked.
5401 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5403 * insetbib.C (getFiles): uncomment Path variable.
5405 2002-01-16 Juergen Vigna <jug@sad.it>
5407 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5410 2002-01-16 Allan Rae <rae@lyx.org>
5412 * insetinclude.C (docbook): someone forgot a ";"
5414 2002-01-16 José Matos <jamatos@fep.up.pt>
5416 * figinset.C (docbook): removed a old place holder "@".
5417 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5418 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5419 ascii text version, clearly guarded inside a CDATA section.
5420 (docbook): in docbook 4, inlinegraphics is empty.
5421 * insettabular.C (linuxdoc): export the ascii version of the table
5422 inside a CDATA section.
5424 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5426 * insetparent.C (InsetParent):
5427 * insetgraphicsParams.C (Write):
5429 * insetgraphics.C (prepareFile):
5432 * insetexternal.C (executeCommand):
5433 (doSubstitution): use Buffer::filePath
5435 * insetbib.C (getFiles): add a #warning for Angus
5437 * insetgraphics.C: Add a remark about how filenames should be
5438 considered to be relative to buffer (but absolute is still allowed)
5439 (draw): do not try to get status if lyxrc.use_gui is false
5441 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5444 * insetcollapsable.[Ch]:
5445 * insettabular.[Ch] (searchForward, searchBackward): change the
5446 bool const & params to bool.
5448 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5449 to avoid the name clash with InsetCollapsable's methods of the same
5450 names but different functionality.
5452 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5454 * insettext.C (ascii): use lyx::count rather than countChar.
5456 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5458 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5460 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5462 * insetgraphics.C (updateInset): do not try to render image if
5463 lyxrc.use_gui is false (bug #104)
5465 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5466 if file does not exist
5468 * figinset.C (browseFile): add shortcuts to directory buttons
5470 * insettext.C (updateLocal): update menubar and toolbar here too.
5472 2002-01-13 Allan Rae <rae@lyx.org>
5474 * insettabular.C (InsetTabular): Both constructors now initialise
5475 all class variables.
5477 2002-01-11 Juergen Vigna <jug@sad.it>
5479 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5481 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5483 * insettabular.C (getStatus): add forgotten brace around multiline
5486 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * insetfloat.C (validate): require "float" instead of "floats".
5490 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5492 * insettabular.C (getStatus): use FuncStatus
5494 2002-01-08 Juergen Vigna <jug@sad.it>
5496 * insettabular.C (insetButtonRelease): now this should work too
5499 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5500 if the width is a percentage.
5502 * inset.h: added isChar() function and implemented this for
5503 insetspecialchar insetquotes and insetlatexaccent.
5504 added forceDefaultParagraphs() and implemented it for insettabular.
5506 2002-01-07 Juergen Vigna <jug@sad.it>
5508 * insettext.C (getLyXText): Fixed this function. An insert into the
5509 map is only done if we REALLY have a new BufferView.
5511 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5513 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5515 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5517 * insetinclude.C: fix use of FileInfo
5519 2002-01-07 Juergen Vigna <jug@sad.it>
5521 * insettabular.C (draw): fixed clearing of cell around inset.
5523 2002-01-05 Juergen Vigna <jug@sad.it>
5525 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5526 variables are updated.
5528 * insettabular.C (resetPos): set always the inset_y as it may be
5529 needed in another function.
5530 (searchBackward): don't draw while searching.
5532 2002-01-04 Juergen Vigna <jug@sad.it>
5534 * insettext.C (lockInsetInInset): forgot to set a cursor.
5536 2002-01-02 Juergen Vigna <jug@sad.it>
5538 * insettext.C (insertInset): make the correct undo informations on
5539 inserting new insets.
5541 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5543 * insettabular.C: correct single-cell select vertically
5545 2001-12-27 Juergen Vigna <jug@sad.it>
5547 * insettabular.C (ascii): export as tab-separated-values if the
5548 function was not called from export (f.ex.: clipboard).
5550 * insetcollapsable.h: added default support for ascii, linuxdoc and
5551 docbook export (the insettext is exported by default!)
5553 * insettabular.C (copySelection): suff the clipboard with the tabular
5554 data in a tab separated format, seems more naturals then with all the
5557 2001-12-24 Juergen Vigna <jug@sad.it>
5559 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5560 to check for REAL mouseMotion.
5562 2001-12-20 Juergen Vigna <jug@sad.it>
5564 * inset.C (cursor): return the owners cursor if available instead of
5565 always only the bv->text->cursor.
5567 * insettabular.C (checkLongtableSpecial): works now.
5569 2001-12-19 Juergen Vigna <jug@sad.it>
5571 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5572 this has to be always row + 1 as 0 means not selected!
5573 (checkLongtableSpecial): added
5574 (tabularFeatures): better longtable options support
5576 * insettext.C (resizeLyXText): reinit the text always also on a
5579 2001-12-18 Juergen Vigna <jug@sad.it>
5581 * insettext.C (updateInsetInInset): look if we have to autocollapse
5582 paragraps and return if the update is requested for ourself.
5584 * insetert.C (status): update the insettext not myself as that is what
5587 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5588 function only return if the update was requested with myself.
5590 * insettext.C (insetButtonPress): fixed stupid bug.
5591 (various functions): pay attention that lt is cleared BEFORE calling
5592 updateLocal() and try to use it in the right manner (don't use it
5593 if it's not really neccessary!)
5594 (collapseParagraphs): insert a blank between collapsing paragraphs
5595 if neccessary (not already there!).
5597 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5599 * insettabular.C: move includes around a bit, add a couple of
5602 * insettext.[Ch]: move includes around a bit, other ws changes and
5605 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5607 * insettext.C (insetButtonRelease): fix compile problem
5609 2001-12-17 Juergen Vigna <jug@sad.it>
5611 * insettext.C (insetButtonPress): set the selection cursor!
5612 (insetButtonPress): clear the selection (and set with that the
5613 selection.cursor) if we only hit an inset!
5615 * insetert.C (read): removed piece of compatibility code only needed
5618 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5621 * insetcollapsable.C (insetButtonRelease): changed so that it can
5622 open eventual existing popup dialogs on mousebutton==3.
5624 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5626 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5628 * inset.C (insetButtonRelease): return a bool for telling the outer
5629 world that we opened a dialog.
5631 2001-12-07 Juergen Vigna <jug@sad.it>
5633 * insettext.C (paragraph): remove the deleteing of paragraphs as
5634 it was a WRONG move!
5636 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5639 * insettabular.C: use new setSelection(). Allow
5640 selection of single cells.
5642 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5644 * insetquotes.C (latex): fix to use the local language setting at
5645 the point where the inset is inserted (different macros for
5646 different french packages)
5648 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5650 * inset.h: add par_owner_ member variable and parOwner
5653 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5655 * insettabular.C (everywhere): adapt because widths are now real
5656 widths and not strings
5658 * insettext.C (draw): re-introduce the calls to width(), ascent()
5659 and descent() to initialize the caching variables.
5661 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * insettext.C (draw):
5664 (drawFrame): use insetWidth instead of last_width
5666 * insettext.h: remove variable last_width (insetWidth is exactly
5667 the same) and last_height (computed but never used!)
5669 2001-12-10 Allan Rae <rae@lyx.org>
5671 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5673 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5675 * insettext.C (insetAllowed): add comment
5677 2001-12-05 Juergen Vigna <jug@sad.it>
5679 * insettext.C (insetAllowed): fixed for the case that we directly
5680 ask the insettext from its LyXText.
5681 (paragraph): fixed the crash when assigning the par->next() from
5682 the EmptyParagraphMechanism!
5684 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5688 * insettext.C: change "while(" to "while ("
5690 2001-12-04 Juergen Vigna <jug@sad.it>
5692 * insetert.C (edit): handle Inlined status.
5694 * insettext.C (insertInset): trying John's fix for the trailing cursor
5696 * insetert.C (insetButtonPress): added to handle inlined status
5697 (insetMotionNotify): ditto.
5699 * insettext.C (clearInset): changed Painter & in BufferView * param,
5700 to be able to call ascent,descent methods.
5702 2001-12-03 Juergen Vigna <jug@sad.it>
5704 * insettext.C (updateInsetInInset): use lt variable to forbid
5705 changes of LyXText in an update call.
5706 (updateInsetInInset): fixed updating of non locked insets!
5708 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5710 * insettabular.C: capture some more functions to prevent
5711 selection drawing problems. Bug #451274
5713 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5716 * insetgraphicsParams.C: fix inverted sense of float_equal
5718 2001-11-30 Juergen Vigna <jug@sad.it>
5720 * insettabular.C (InsetTabular): use the save_id flag to create also
5721 the tabular with the same id's.
5723 * insettext.C (setParagraphData): added a same_id function for undo
5724 to set the same paragraph id's as of the paragraph we are setting.
5726 2001-11-30 José Matos <jamatos@fep.up.pt>
5729 * insettoc.[Ch]: DocBook -> docbook.
5731 2001-11-29 André Pönitz <poenitz@gmx.net>
5734 * insettext.C: further reduction of header dependencies by using
5735 lyx::layout_type and lyx::textclass_type from support/types.h
5737 2001-11-29 Juergen Vigna <jug@sad.it>
5739 * insettext.C: inserted a reinitLyXText function everywhere I delete
5740 the paragraphs! This should fixe the crashes we had.
5741 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5742 (paragraph): set the InsetOwner() of the new paragraphs!
5744 2001-11-28 André Pönitz <poenitz@gmx.net>
5746 * insetnote.C: add pos initialization that I removed without
5749 2001-11-28 Juergen Vigna <jug@sad.it>
5751 * insettabular.C (resetPos): hack to not crash with infinite paints.
5753 * insettabular.h: insert missing function allowSpellcheck()!
5755 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5757 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5760 * insetfloatlist.C: derive from InsetCommand so gui can use it
5763 2001-11-26 André Pönitz <poenitz@gmx.net>
5767 * insetnote.C: reduce header dependencies, introduce type for
5770 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5772 * various: update for Alert.h
5774 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5776 * inset.h: fix comment
5778 * insettext.C: use par->isInset()
5780 2001-11-22 Allan Rae <rae@lyx.org>
5782 * insetcollapsable.h:
5783 * inset.h: Changes to checkInsertChar() behaviour.
5784 Now return value indicates whether chars can be inserted.
5786 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5788 * various: updated to use the new LaTeXFeatures
5790 2001-11-14 José Matos <jamatos@fep.up.pt>
5792 * insetspecialchar.C (linuxdoc):
5793 (docbook): don't give a name to a unused variable.
5795 * insettext.C (docbook): removed unused variable.
5797 2001-11-13 Herbert Voss <voss@perce.de>
5799 * insetgraphic.C: fix scale bug
5801 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5803 * inset.h (isSpace):
5804 (isLetter): new virtual methods.
5806 * insetspecialchar.C (isSpace):
5807 (isLetter): implement here.
5809 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5811 * inset.h: new inline helpers
5813 * insettext.C: use new helpers
5815 2001-11-07 José Matos <jamatos@fep.up.pt>
5817 * insettext.C (docbook): full support for paragraphs inside insettext.
5819 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5821 * insetindex.C: added header file for std::ostream.
5823 2001-11-03 José Matos <jamatos@fep.up.pt>
5825 * insetindex.C: added using std::ostream that I forgot yesterday.
5827 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5829 * insetindex.h (docbook):
5830 * insetindex.C (docbook): added support for docbook export.
5832 2001-11-02 José Matos <jamatos@fep.up.pt>
5834 * insetcaption.C(docbook): added support for docbook export.
5836 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5838 * insetexternal.C (updateExternal): Do not run update command if
5839 result file exists and is up to date.
5841 * ExternalTemplate.C (readFormat): Support the updateresult token.
5843 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5845 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5846 external_templates) to use the buffer->fileName() but only if
5847 previewing. Generating a TeX file should make FPath return
5850 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5853 * insetert.C: fix some problems
5855 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5857 * insetexternal.C (doSubstitution): Added $$FPath token
5858 to list of usable substitutions in external inset templates.
5860 2001-10-24 Juergen Vigna <jug@sad.it>
5862 * insettabular.C: use new ltType struct for setting longtable
5863 header and footers also new UNSET enums.
5865 2001-10-24 José Matos <jamatos@fep.up.pt>
5867 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5868 (docbook): If the table is not inside a float then wrap it inside
5869 <informaltable>...</informaltable>.
5871 2001-10-23 José Matos <jamatos@fep.up.pt>
5873 * insetref.C (docbook): removed / terminator to conform SGML.
5875 * insetspecialchar.C (linuxdoc):
5876 (docbook): Added support for special chars, more than ascii export.
5878 2001-10-22 Juergen Vigna <jug@sad.it>
5880 * insettext.C (checkInsertChar): added for REALLY checking the
5881 font of the inserted char in the right inset!
5883 2001-10-19 Juergen Vigna <jug@sad.it>
5885 * inset.h: added method allowSpellcheck() so that insets who do
5886 not have anything to spellcheck can tell and so they are over-jumped.
5887 Implemented for InsetText and co.
5889 2001-10-18 Juergen Vigna <jug@sad.it>
5891 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5893 2001-10-15 José Matos <jamatos@fep.up.pt>
5895 * insetert.C: allow export for docbook and linuxdoc
5897 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5899 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5901 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5903 * insetquotes.C (dispString): fix handling of latin9 quotes
5905 2001-10-03 Juergen Vigna <jug@sad.it>
5909 * insetcollapsable.C: change updateInset calls to not tell BV that
5910 we have changed status.
5912 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5914 * insettabular.C (deletable): make const
5916 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5918 * insetert.C (latex): Fix the returned value
5920 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5922 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5923 Returns string(), so nothing in an ERT inset is spellchecked.
5925 * insetgraphics.C (draw): print the filename if not displaying the
5927 (width): make sure that the width and draw methods are consistent.
5928 (updateInset): don't even load the image into cache if not displaying
5931 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5933 * various files (selectNextWord): renamed as
5934 selectNextWordToSpellcheck.
5936 * insetgraphics.C (draw): remove the previous change. Right place
5937 is in imageLoaderXPM.C.
5938 (draw): don't display the image if params.display == NONE.
5940 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5942 * figinset.C (runqueue):
5943 * insetgraphics.C (draw): set background colour of inset from
5944 background to the user-configurable graphicsbg.
5946 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5948 * insetquotes.C (InsetQuotes): when trying to decide the side of
5949 the quote, choose `left' only after a space or '('
5951 2001-09-04 José Matos <jamatos@fep.up.pt>
5956 * insetcollapsable.h
5974 * insetlatexaccent.C
5975 * insetlatexaccent.h
5980 * insetspecialchar.C
5981 * insetspecialchar.h
5985 * insettext.C (docbook): rename docBook method to docbook.
5987 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5989 * inset.h (getFirstParagraph): New virtual method.
5991 2001-08-20 Herbert Voss <voss@perce.de>
5992 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5993 in the the bibtex-database-gui for inserting a line
5996 If no style is given than there is no tex-output.
5998 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
6000 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
6004 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
6006 * insetert.C (latex): Fix output for multiple paragraphs.
6007 (write): New code for writing paragraph data.
6008 (read): Set font after reading the inset.
6009 (localDispatch): Call set_latex_font() for more cases.
6011 * insetnote.h: Add empty validate method.
6014 * insetnote.C (InsetNote): Set language to the language of the
6017 2001-08-16 Juergen Vigna <jug@sad.it>
6019 * insettext.C: implemented the new FINISHED states.
6021 * insettabular.C: ditto
6023 * inset.h: added more FINISHED states for cursor right,up,down
6025 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6027 * insetfloatlist.C: use "FloatName List"
6029 2001-08-14 Juergen Vigna <jug@sad.it>
6031 * insetert.C (edit): forgot to set status_ in edit calls!
6033 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6035 * insettext.C: Compilation fix
6037 2001-08-13 Juergen Vigna <jug@sad.it>
6039 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
6041 * insetcollapsable.C (edit): don't recollapse an already open inset.
6043 * insettext.C: fixed problem when reinitializing LyXText by not doing
6044 it while lt is in use and post this to the next possible time in
6046 (searchForward): fixed not unlocking of inset if nothing found.
6047 (edit): set cursor behind right (was set -1 pos).
6049 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
6051 * insettabular.C (tabularFeatures): fixed fix where deleting the
6052 last row didn't get the right actcell!
6054 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6056 * insettext.C (localDispatch): Change language only when the inset
6059 2001-08-10 Juergen Vigna <jug@sad.it>
6061 * insettabular.C (selectNextWordInt): use the front using edit call.
6063 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
6064 the parameter overwrite class variable inset.
6066 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
6068 * insettext.C (saveLyXTextState): check for invalid cursor-par.
6069 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
6071 * insettabular.C (calculate_dimensions_of_cells): let's try to call
6072 update only for fixed with cells.
6073 (resetPos): try to fix the lockup on spellchecking or s&r.
6075 * insettext.C (update): comment this out as it seems first wrong
6076 and second not needed anymore!
6077 (some functions): call reinitLyXText() only in update() in all other
6078 positions set only need_update = INIT.
6080 2001-08-08 Juergen Vigna <jug@sad.it>
6082 * insettabular.C (setPos): fixed wrong actrow < rows() check.
6084 * insettext.C (insetUnlock): remove double-space on inset unlock.
6086 * insetcollapsable.C (draw): fix returned x when label > inset-width.
6088 * insettabular.C (update): fixed cursor positon after an insert.
6089 (insetAllowed): do not allow to insert insets when not inside the
6091 (draw): clear below an inset too as it could have changed height.
6093 * inset.C (getMaxWidth): fixed width for inset in inset.
6095 * insettext.C (update): small fix.
6097 * insettabular.C (tabularFeatures): added selection support to
6098 DELETE_ROW/DELETE_COLUMN.
6100 2001-08-07 Juergen Vigna <jug@sad.it>
6102 * inset.C (getMaxWidth): recoded and all it's implementations!
6104 * insettext.C (init,setParagraph+constructors): cleanups
6105 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
6106 are new and I want do a save/restore of the cursor position which is
6107 not possible anymore.
6109 * insetcollapsable.C (searchBackward): recollapse inset if not found.
6110 (searchBackward): ditto
6111 (selectNextWord): ditto
6113 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
6115 * insetlatexaccent.C (checkContents): Add some debug messages
6117 2001-08-07 Juergen Vigna <jug@sad.it>
6119 * insetert.C (read): don't use InsetCollapsable::read as we don't
6120 write the collapsed status anymore only the status.
6123 2001-08-06 Juergen Vigna <jug@sad.it>
6125 * insetert.C (set_latex_font): use LyXText's setFont directly.
6127 * insettext.C (drawFrame): fixed one time more the right position
6128 and size of the frame!
6130 * insetert.C (~InsetERT): hide the dialog.
6131 (showInsetDialog): added implementation
6134 (status): new function for the status of the ERT inset (3-state).
6135 (write): output also the status of the inset for readback!
6136 (read): readback the status if available otherwise use collapsed_.
6138 * insettext.C (edit): small fix of setting the position, which could
6141 * insetert.C (width): implement this function for inlined viewing.
6142 Added minimum width of 10 pixels!
6144 * insetminipage.C (InsetMinipage): just change the colors a bit so
6145 that border/background is a bit more visible. We will remove this
6148 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
6149 function for getting the important widths for drawing in various
6150 functions and in LyXText.
6151 (draw): fixed up a bit (frame drawing/clearing)
6153 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6155 * inset.C (convertFont): delete method. not used.
6157 2001-08-03 Juergen Vigna <jug@sad.it>
6159 * insettext.C (setFont): don't call for a draw update if we're just
6160 changing the cursor font!
6162 2001-08-02 Juergen Vigna <jug@sad.it>
6164 * insettext.C (draw): clear the background with the right color if
6165 needed. Update myself if x&max-width changed and return without doing
6166 anything. Let the update code handle the right stuff.
6168 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
6169 inside another inset.
6171 2001-08-01 Juergen Vigna <jug@sad.it>
6173 * insetcollapsable.C (update): added an in_update bool so we avoid
6176 * insettabular.C (update): added an in_update bool so we avoid
6179 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
6181 (update): added an in_update bool so we avoid reentering.
6183 * insettabular.C (localDispatch): clear col/row selection when doing
6184 something else inside an inset.
6186 * insettext.C (getLyXText): fixed bug when requesting a recursive
6189 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
6191 * insetcite.C (latex): Paranoia check. Make sure that there is no
6192 whitespace between the citation keys.
6194 2001-07-31 Juergen Vigna <jug@sad.it>
6196 * inset.h (nodraw): make the set function also const so that this
6197 can be called from inside other const functions.
6199 * insetcollapsable.h: removed inline variable and moved it over
6200 to the only user InsetERT.
6202 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
6203 inset opening immediately therein lying insets dialogs!
6205 * insetert.C (localDispatch): set the font also if we don't have any
6206 chars in this paragraph, otherwise if we delete all of em and start
6207 writing we have the wrong font.
6209 (draw): implemented for inline support
6210 (insetButtonRelease): ditto.
6212 2001-07-30 Juergen Vigna <jug@sad.it>
6214 * insettext.C (reinitLyXText): new function to reinit the insets
6215 text after lot's of paragraph changes. Use this instead of the
6216 cache.clear() which is VERY dangerous.
6218 * insetfloat.C (insetButtonRelease): we should only show the dialog
6219 if we press on the label otherwise we have problems to open mouse
6220 button 3 dialogs inside this float (f.ex. of a tabular!)
6222 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * insetert.C: change back to "ERT"
6226 * insetfloat.C: handliign of RMB on label added.
6228 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6230 * insetgraphicsParams.C: #include LOstream.h here.
6232 * insetfoot.h: remove InsetFoot:: qualifier.
6234 2001-07-29 Baruch Even <baruch@lyx.org>
6236 * ChangeLog: Hiding time travel evidence.
6238 * insetgraphicsParams.h:
6239 * insetgraphicsParams.C:
6240 * insetgraphics.C: Added horizontal scale option, it actually
6241 scales both directions since it keeps image proportions.
6243 * insetgraphics.C: Fixed EPS detection to be non-hacky.
6245 2001-07-29 Baruch Even <baruch@lyx.org>
6247 * insetgraphics.C (decideOutputImageFormat): when doing postscript
6248 output convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
6250 HACKY! Will need to add an EPS detection routine like old InsetFig
6253 2001-07-29 Baruch Even <baruch@lyx.org>
6255 * insetgraphics.C: Added EPSI to be an alias of EPS.
6257 2001-07-29 Baruch Even <baruch@lyx.org>
6259 * insetgraphics.C: Change GRAPHICS to Graphics.
6260 Changed image conversion rules (documented at the beginning of file).
6262 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
6264 * insetert.C (get_new_label): int -> Paragraph::size_type to get
6267 * insetgraphics.C: added a using std::endl directive.
6269 * insetcommand.h (getScreenLabel): removed pure virtual function,
6270 as it duplicates that in InsetButton.
6272 * insetbib.[Ch] (getScreenLabel):
6273 * insetbutton.[Ch] (getScreenLabel):
6274 * insetcite.[Ch] (getScreenLabel):
6275 * insetert.[Ch] (getScreenLabel):
6276 * insetexternal.[Ch] (getScreenLabel):
6277 * insetfloatlist.[Ch] (getScreenLabel):
6278 * insetinclude.[Ch] (getScreenLabel):
6279 * insetindex.[Ch] (getScreenLabel):
6280 * insetlabel.h (getScreenLabel):
6281 * insetparent.[Ch] (getScreenLabel):
6282 * insetref.[Ch] (getScreenLabel):
6283 * insettoc.[Ch] (getScreenLabel):
6284 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
6286 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
6288 (validate): remove check on "cite" when using natbib.
6290 2001-07-26 Baruch Even <baruch@lyx.org>
6292 * insetgraphics.C (draw): changed casting to be in one place
6293 rather than all over the function.
6296 * insetgraphics.C (read): Added compatibility reads of InsetFig.
6298 * insetgraphicsParams.h:
6299 * insetgraphicsParams.C:
6300 * insetgraphics.C: Removed inline option and changed rotateAngle
6303 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6305 * insetfoot.C (validate): Added method to ensure that the
6306 right bit of LaTeX is emitted.
6308 * insetfoot.h: Added validate method to set the correct
6309 LaTeXFeatures bit for the special footnote code.
6311 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6313 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
6316 2001-07-27 Juergen Vigna <jug@sad.it>
6318 * inset.h: remove not used font variable in parameter.
6319 removed checkInsertChar in UpdatableInset as it was equal to
6320 the one in Inset and so not needed.
6322 * insetert.C (checkInsertChar): implementation of function
6325 * inset.h: added new function checkInsertChar.
6327 * various files: added c-tor and clone() function.
6329 * insetcollapsable.h: removed clone function here as this should
6330 be only realized in REAL insets and added it to all collapsable
6331 insets! (with the copy-constructor).
6333 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6335 * insetminipage.C (read): handle missing parameters more gracefully
6337 * insetcollapsable.C (read): handel missing collapsed more gracefully
6339 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * insetfloat.C (read): handle missing parameters.
6343 * insettext.C (read): handle old latex end_inset
6345 * insetert.C (setButtonLabel): new method
6346 (init): use it, to set the dynamic label correctly
6349 * Makefile.am (EXTRA_DIST): add files that is not part or the
6352 * insetcollapsable.h: remove autocollapsable (no users), remove
6353 draw_label, change_label_with_text and companion code. Remove args
6355 * insetert.[Ch]: move here instead (only user)
6357 * inset.h: rename private variable name to name_, make
6358 selectNextWord return a const string. make getInsetName return a
6359 string const &. Remove bool from open, add close.
6361 * Makefile.am: don't compile insetlist, insetsection
6364 2001-07-24 Juergen Vigna <jug@sad.it>
6366 * insetert.C (InsetERT): put init after the paragraph initialization,
6367 as otherwise we don't set the draw_label right.
6369 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6370 insets with the mouse without having strange selections.
6371 (edit): if the inset was collapsed and we open it here then put the
6372 cursor always at the beginning of the inset.
6373 (get_new_label): 15 instead of 10 max chars in the label.
6375 * insetert.C (localDispatch): added and handle various stuff we
6376 need to handle here (font setting on paragraph break, not permitted
6377 layout setting, etc.).
6379 * inset.h: added default copy-consturctor and implemented this in
6380 various insets with the change to use this in the clone function!
6382 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6384 * insetminipage.C (InsetMinipage): set background color to red :)
6386 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6388 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6389 draw frame mode is LOCKED.
6391 * insetcollapsable.C (edit):
6392 (insetButtonRelease): set update status to full when
6395 * insettext.C (clearInset):
6396 * insettabular.C (draw):
6397 * insetlatexaccent.C (draw): honor background color.
6399 * inset.h: new member background_color_, initialized to
6402 * inset.C (backgroundColor): new method.
6403 (setBackgroundColor): new method.
6405 * insetert.C (init): new method, called by the ctors.
6406 (InsetERT): when inserting contents, make sure the font is
6409 * insetnote.C (InsetNote): when inserting content, remove trailing
6411 (init): set background color to LColor::note
6413 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * insetcollapsable.C: adjust
6417 * insetbutton.C: adjust
6419 2001-07-23 Juergen Vigna <jug@sad.it>
6421 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6422 parameter on the _collapsed function (was not needed) and call
6423 always width_collapsed().
6425 * insetert.C (InsetERT): use setLabel with "true" flag.
6427 * insetcollapsable.C: modified various functions to set the draw_label
6428 string right in any condition.
6429 (setLabel): added a bool parameter to set change_label_with_text.
6431 * insetcollapsable.h: added draw_label string which is set to the
6432 actual drawn label-string, while label is the original static label
6433 of this collapsable inset. Added bool change_label_with_text to set
6434 if we want that the label changes to the start of the InsetText's
6435 text when collabpsed. You can set this flag with the setLabel funciton.
6436 Added bool inlined for inlined collapsable insets, but not handled
6439 * insetcollapsable.C (get_new_label): added should get a new label
6440 from the InsetText beginning (for now 10 chars).
6442 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6444 * insetquotes.C (latex): fix the handling of french double quotes
6445 when not using the french pachage.
6447 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6449 * insetcollapsable.h: make WidthCollapsed mutable.
6451 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6452 InsetPrintIndex returns INDEX_PRINT_CODE.
6454 * inset.h: add INDEX_PRINT_CODE
6456 * insetcollapsable.C (draw): init widthCollapsed if necessary
6459 * insetquotes.C (width): use the local language, not the document
6462 (dispString): add additional spacing for all french languages,
6464 (validate): make it work when there is no default language
6466 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6468 * insetnote.C (init): new method, called by the constructors
6469 (InsetNote): new constructor with contents passed as a string
6471 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6473 * insetfootlike.C (insetAllowed): disallow float in footlike.
6475 * insetert.C (InsetERT): add collapsed argument to the constrctor
6478 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6480 * insetindex.h: shut off warning
6482 2001-07-20 Juergen Vigna <jug@sad.it>
6484 * insetcollapsable.C (update): recoded hopefully works now!
6486 2001-07-19 Juergen Vigna <jug@sad.it>
6488 * most files: implemented the below new introduced function.
6490 * inset.h: added new edit(BufferView *, bool front) method to be able
6491 to enter an inset from the front/back without knowing x/y positions
6492 and baselines inside the inset. So I just can tell the inset activate
6493 me and set the cursor on the front/back of yourself.
6495 2001-07-18 Juergen Vigna <jug@sad.it>
6497 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6498 is given to the InsetText.
6499 (insetButtonPress): ditto
6500 (insetButtonRelease): ditto
6501 (insetMotionNotify): ditto
6503 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6505 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6506 LIGATURE_BREAK, since the name is so stupid.
6508 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6510 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6511 the default InsetCollapsable methods. I.e., it can insert anything.
6512 (write) output the name of the inset, not some silly hack for
6513 compatability with the old InsetInfo.
6515 * insetinfo.[Ch]: removed.
6516 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6517 now collapsable, but functionality is otherwise identical to InsetInfo.
6519 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6521 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6523 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6526 * insetquotes.C: general cleanup
6527 (dispString): add spaces inside french double quotes.
6528 (latex): ditto. Moreover, treat first the case where the frenchb
6529 or french options have been given.
6531 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6533 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6536 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6538 * figinset.C (RegisterFigure): Print debug message only when
6539 current_view is available.
6541 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6543 * many files: update to match the change below
6545 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6546 implement the version which takes an inset here.
6548 * insetcollapsable.[Ch]: implement open and isOpen
6550 * inset.h: remove insertInsetAllowed from Inset
6551 (open): new method, to open or close an inset
6552 (isOpen): returns the status of an inset
6553 (isCollapsable, colapse): removed
6555 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6557 * insetquotes.C (dispString): display french guillemets when using
6560 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * insetcollapsable.h: remove bogus return statements
6564 2001-07-18 Juergen Vigna <jug@sad.it>
6566 * insettabular.C (selectNextWord): fixed spellchecking for the
6567 first cell of a tabular (wasn't entered!)
6568 (getLyXText): changed to enter automatically insettext and return
6569 it's LyXText if we're locked.
6571 2001-07-17 Juergen Vigna <jug@sad.it>
6573 * various files: implemented the below functions.
6575 * inset.h: added functions
6576 - virtual string selectNextWord(BufferView *, float & value) const;
6577 - virtual void selectSelectedWord(BufferView *) { return; }
6578 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6579 needed for spellchecking correctly!
6581 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * insetert.C (latex): write out all paragraphs.
6585 2001-07-17 Baruch Even <baruch@lyx.org>
6587 * insetgraphics.C (draw): Removed unneeded casts.
6589 2001-07-16 Juergen Vigna <jug@sad.it>
6591 * insettext.C (update): fixed small oversight (reset lt to 0).
6593 2001-07-14 Baruch Even <baruch@lyx.org>
6596 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6598 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6600 Consistent use of Lsstream.h:
6601 * figinset.C: removed using std::ostringstream directive.
6603 * insetgraphics.C (createLatexOptions):
6604 * insetinclude.C (unique_id):
6605 std::ostringstream -> ostringstream.
6606 * insettext.C (localDispatch): std::istringstream -> istringstream.
6608 2001-07-13 Juergen Vigna <jug@sad.it>
6610 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6612 * insetcollapsable.C (getLockingInset): ditto.
6614 2001-07-12 Juergen Vigna <jug@sad.it>
6616 * insetcollapsable.h: added implementation of new function for
6619 * various files: added implementation of new insertInsetAllowed-func
6620 and redone the function a bit more.
6622 * inset.h: added isCollapsable(), bool collapsed(),
6623 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6625 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6627 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6628 LyXText which is marked for removal while we're using it!
6630 * insettext.h: added private LyXText * lt to use it to assure we are
6631 not deleting our LyXText while we're using it!
6633 2001-07-11 Juergen Vigna <jug@sad.it>
6635 * insettext.C (insertInset): check if we are before the inset after
6636 inserting it! This check IS needed. Remove the Undo-Call as it is
6637 called in LyXText::insertInset!
6639 * insettext.h: added struct InnerCache.
6641 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6642 that we ONLY delete the LyXText in the getLyXText() routine. So we
6643 are sure we don't delete LyXText while someone is working with it!
6645 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6647 * insetexternal.C: (*it). -> it->
6648 * insettext.C: ditto
6650 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6652 * insetcollapsable.C (edit): always open collapsed insets (even if
6653 they are not autocollapsable)
6655 * insetcommand.C (operator=): simplify.
6657 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6659 * insetert.C (latex): handle META_NEWLINE
6661 2001-07-09 Juergen Vigna <jug@sad.it>
6663 * insetert.h: a normal InsetText can insert insets, but we won't.
6665 * inset.h: return default "false" on insertInsetAllowed and implement
6666 this function where a returnvalue != "false" is needed.
6668 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6670 * insetert.C (InsetERT): new contructor
6672 2001-07-06 Juergen Vigna <jug@sad.it>
6674 * a lot of files: added implementation of the below new functions
6675 and the change to clone(). Also the call of the new undo-functions
6678 * inset.h: added an inset_id, added functions getParFromID,
6679 getInsetFromID, firstParagraph, cursor and id functions, added
6680 bool same_ids to clone function.
6682 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6684 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6685 of BufferView * and shared_ptr<LyXText>
6687 2001-07-05 Juergen Vigna <jug@sad.it>
6689 * insettext.C (clear): deleted also the cache not only LyXText.
6690 (setParagraphData): ditto.
6692 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6694 * insetfloat.C (latex): let the specific placement take presedence
6695 if set, otherwise choose document placement if set, otherwise just
6696 use float default placement.
6698 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6700 * insettext.C (localDispatch): call CutAndPaste::'s static method
6703 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6705 * insetbib.C: no meed to include forms.h here.
6707 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6709 * insettext.C: added using std::make_pair directive.
6711 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6715 (deleteLyXText): ditto
6716 (resizeLyXText): ditto
6718 2001-07-02 Juergen Vigna <jug@sad.it>
6720 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6721 following calls are only returned the right pointer without the over
6722 head to search in the map.
6723 (various funcs): reset the cached_bview variable as this signs that
6724 the cache is not valid anymore.
6726 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6728 * insettabular.C (clone): do not copy the LyXTabular twice
6730 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6732 * insettext.h (TEXT): delete method
6734 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6736 * insetmarginal.C (latex):
6737 * insetfoot.C (latex): fix spacing of notes in LaTeX
6739 * insettext.C (localDispatch): use .c_str() on istringstream
6740 constructor argument.
6742 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6747 * inseturl.C: fix method names in these to begin
6748 with small char too, so they inherit
6750 2001-06-28 Juergen Vigna <jug@sad.it>
6752 * insettext.C (setFont): fixed font settings using toggleFree()
6753 instead of setFont().
6755 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6757 * Change a lot of method names to begin with a small char.
6758 Changes to a lot of files because of this.
6760 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6762 * insetfloatlist.C (Write): std:: qualify ostream
6765 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6769 * insetgraphics.C: send debug output to Debug::INFO instead of
6772 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6775 * insettabular.C (getStatus): update to use func_status
6777 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6779 * insetref.C (DocBook): added support for cross-references without
6782 2001-06-26 The LyX Project <jug@sad.it>
6787 * insetlabel.h: removed escape method and moved it to
6790 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6792 * insettabular.C (getMaxWidth): do the speedup in a different way,
6795 2001-06-24 The LyX Project <Asger>
6797 * insettabular.C (getMaxWidth): We cache a mapping from
6798 inset to cell in order to speed this method up.
6800 2001-06-24 The LyX Project <Asger>
6802 * insettext.C: Optimized InsetText::draw or something.
6804 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6806 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6808 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6810 * inset.h: name change from lyxinset.h
6812 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6814 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6816 2001-06-14 Juergen Vigna <jug@sad.it>
6818 * insettext.C (draw): removed warnings.
6820 2001-06-13 Juergen Vigna <jug@sad.it>
6822 * insettabular.C (nodraw): only go down the tree if we don't have
6823 that flag set otherwise it's obvious that we don't want to draw.
6824 (LocalDispatch): do also an update if we have an undispached result.
6826 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6829 * insetgraphicsParams.C:
6830 * insettext.C: removed // -*- C++ -*- as first line.
6832 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6834 * lyxinset.h (resizeLyXText): shut off warning about unused
6837 2001-06-07 Juergen Vigna <jug@sad.it>
6839 * insettext.C (resizeLyXText): honor the new force flag.
6841 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6843 * insettabular.C (deleteLyXText): new function
6845 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6853 * insetcollapsable.C:
6854 * insetcaption.C: LColor tidy
6856 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6858 * figinset.C: fix typo
6860 2001-06-01 Juergen Vigna <jug@sad.it>
6862 * insettabular.C (resetPos): small hack so that scroll is not set to
6863 0 when we are in the last column of a tabular. This is a problem we
6864 have because of constats 20 offset on both directions, so this can
6865 cause on the limit an endless loop.
6867 * insettext.C (SetFont): forgot that we can have locking insets ;)
6869 2001-05-31 Juergen Vigna <jug@sad.it>
6871 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6873 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * figinset.C: add using std:: directive for the C functions which
6878 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6880 * insetfloat.C (Write): write out wide info
6881 (Read): read the wide info
6882 (Latex): use the wide info when creating latex.
6884 * insettext.C: adjust
6886 * insetgraphics.[Ch] (statusMessage): change to return string
6890 * figinset.C (runqueue): add std::
6893 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6895 * insetcite.C (Ascii): add std:: qualifier
6897 2001-05-28 Juergen Vigna <jug@sad.it>
6899 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6900 a endless-width inset (maxWidth < 0).
6901 (Edit): change language only if not equal.
6903 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6905 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6907 2001-05-16 Juergen Vigna <jug@sad.it>
6909 * insettext.C (selectAll): added
6910 (clearSelection): added
6912 * insettabular.C (SetFont): now we may set a font on a whole selection!
6913 (getSelection): added helper function.
6915 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6917 * insetcite.C (Ascii): Add method.
6919 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6922 * insetbib.C: fix path for OS/2 & Win32
6924 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * insetfoot.C (Latex): don't use % after footnote.
6928 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * insettext.C (Read): use clear
6931 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6933 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6935 * insetfloatlist.h: add a bunch of std:: qualifiers.
6937 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6939 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6940 FLOAT_LIST_CODE, renumber code list.
6942 * insettoc.C (getScreenLabel): remove support for float lists
6946 * insetfloatlist.[Ch]: new files
6948 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6950 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6952 * insettabular.C (LocalDispatch):
6953 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6956 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * insettext.C: remvoe !NEW_INSETS cruft
6960 * insettabular.C: remove !NEW_INSETS cruft
6962 * insetcollapsable.h: remove !NEW_INSETS cruft
6964 * insetbib.C: remove !NEW_INSETS cruft
6966 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * insettoc.C: hack to make listof algorithm work
6970 2001-04-20 Juergen Vigna <jug@sad.it>
6972 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6974 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6976 * insetquotes.C (Latex): improve the guard against
6977 unwanted !` and ?` ligatures. This should really be done in
6978 another place (to catch all this ligatures at low-level).
6980 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * insettext.C (init): remvoe leftovers from cursor_visible change
6983 (draw): use c++ cast
6984 (LocalDispatch): dispatch LFUN_MESSAGE
6986 * insettabular.C (InsetTabular): remove leftovers from
6987 cursor_visible, and scoped_ptr changes
6988 (draw): use c++ cast
6990 * insetcollapsable.C (draw): use c++ cast
6992 * ExternalTemplate.h: inherit privaely from noncopyable
6993 * insetcommand.h: ditto
6994 * insetinclude.h: ditto
6996 2001-04-16 Allan Rae <rae@lyx.org>
6998 * insettoc.C (Ascii):
6999 * insettext.C (draw):
7000 * insettabular.C (setPos):
7001 * insetminipage.C (Read):
7002 * insetfloat.C (placement):
7003 * insetcaption.C (Ascii, DocBook):
7004 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
7005 an unrecognised preprocessor directive. So ensure they're wrapped.
7007 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
7010 * insetexternal.C: set view on Clone. Add _ to private members.
7012 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * insettext.C (InsetText): fix new
7015 (InsetText): reindent some, simplify deletion of par list
7016 (clear): simplify deletion of par list, fix new
7017 (SetParagraphData): simplify deletion of par list
7019 * insettabular.[Ch] (getLabelList): implement new method
7021 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7023 * lyxinset.h: do not include gettext.h...
7031 * insetlatexaccent.C:
7035 * inseturl.C: ... and do it here instead
7037 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7039 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
7041 * insettext.[Ch] (getLabelList): add std:: on vector<string>
7043 * insetcollapsable.[Ch] (getLabelList): implement
7045 * insettext.[Ch] (getLabelList): implement
7047 * insettext.h: reindent
7049 * insettabular.h: make tabular a scoped_ptr
7051 * insettext.C (init): adjust for cursor_visible
7052 (ToggleInsetCursor): constify asc and desc, font, adjust for
7054 (ShowInsetCursor): constify asc and desc, font, adjust for
7056 (HideInsetCursor): adjust for cursor_visible
7058 * insettabular.C: reindent some
7059 (InsetTabular): adjust for scoped_ptr and cursor_visible
7060 (InsetTabular): ditto
7061 (~InsetTabular): delete delete
7062 (Clone): adjust for scoped_ptr
7063 (Read): constify old_format, adjust for scoped_ptr, move init of
7065 (draw): constify tx, localize loop vars.
7066 some other localization of variables, remove double initilizatons.
7068 * insetfoot.C: remove using std::ostream, add ostream where needed
7070 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7072 * lyxinset.h: some reindentaion, use initializer list for
7074 UpdatableInset: make cursor_visible a private var add
7075 public isCursorVisible(), add protected toggleCursorVisible() and
7076 proctected setCursorVisible(bool), make scroll call the Inset::scroll
7078 * insettoc.C: remvoe using decl
7079 (getScreenLabel): make cmdname donst
7082 (Ascii): don't use endl
7084 * insetfootlike.C: remove using decl at file scope and add std::
7086 * insetmarginal.C: ditto
7088 * insetfoot.C: some reformatting
7090 * insetfloat.C (InsetButtonRelease): adjust the hit area
7092 * insetert.C (SetFont): some reformatting
7094 * insetcollapsable.C: some reformatting and constification
7095 (Clone): comment out.
7096 * insetcollapsable.h: some reformatting
7097 (Clone): comment out.
7102 2001-03-30 Juergen Vigna <jug@sad.it>
7104 * insetcollapsable.h: changen *inset to be a InsetText inset.
7106 * some files: changed to reflect the above change.
7108 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
7110 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
7111 InsetExternal::Params.
7112 Added operator==() and operator!=() for the Params struct.
7114 2001-03-29 Juergen Vigna <jug@sad.it>
7116 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
7119 * insetminipage.C: removed widthp_ and all it's functions and changed
7120 to use new %-lengths of LyXLength.
7122 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7124 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
7126 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7128 * insetgraphicsParams.C (operator!=): new function, needed by the
7129 ControlGraphics class.
7131 2001-03-28 Juergen Vigna <jug@sad.it>
7133 * insettext.C (InsetButtonPress): only enter !inset if button == 2
7134 (checkAndActivateInset): don't use the values returned from
7135 call to bv->checkInsetHit.
7137 * insetminipage.C (Clone): set special minipage values.
7139 * insetcollapsable.C (draw): changed to draw the button in the
7140 upper left corner outside the textinset.
7141 (ascent): changed because of different drawing
7145 (InsetButtonPress): ditto
7146 (InsetButtonRelease): ditto
7147 (InsetMotionNotify): ditto
7149 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
7151 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
7155 2001-03-26 Juergen Vigna <jug@sad.it>
7157 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
7159 * insettext.C (ShowInsetDialog): implemented above function.
7161 * insettabular.C (ShowInsetDialog): ditto
7163 * insetminipage.C (ShowInsetDialog): ditto
7165 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7167 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
7168 InsetInclude::Params. Don't store a buffer * in Params. Store the
7169 master file name instead.
7171 2001-03-23 Juergen Vigna <jug@sad.it>
7173 * insetcollapsable.C (InsetMotionNotify):
7174 (InsetButtonRelease):
7175 (InsetButtonPress): fixed y-offset (minipages).
7177 * insettext.C (draw): force a FULL update if cleared == true.
7179 * insetcollapsable.C (draw): Lars forgotten entry for changing this
7180 routine to draw the minipages on its position-flag.
7181 (InsetInInsetY): give back the right y position, because of minipage
7184 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7187 * insetfloat.C (DocBook): docbook export code.
7189 2001-03-22 Juergen Vigna <jug@sad.it>
7191 * insetminipage.C (getMaxWidth): added function to set the drawing
7193 (Read): should work now!
7195 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
7196 if we create a new inset.
7198 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7200 * figinset.C (fl_set_preemptive_callback): moved definition outside
7203 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7205 * insetminipage.C (Read): prepare for reading of minipage arguments.
7207 2001-03-18 Baruch Even <baruch@lyx.org>
7209 * insetgraphics.C: Minor cleanups of the comments and code.
7211 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7213 * insetminipage.C (InsetMinipage): default to not collapsed
7215 2001-03-16 Juergen Vigna <jug@sad.it>
7217 * insetminipage.C (width): modified with to be a string
7218 (widthp): added widthp (for % width) support functions.
7219 (InsetButtonRelease): added to open the options dialog on button==3.
7220 (~InsetMinipage): added to hide the dialog.
7222 * insetminipage.h: added hideDialog signal
7224 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7226 * insetminipage.h: change the order or Position to match
7227 LyXParagraph::MINIPAGE_ALIGNMENT
7229 * several files: remvoe CXX_WORKING_NAMESPACES
7231 * ExternalTemplate.h: noncopyable is in namespace boost
7232 * insetinclude.h: ditto
7233 * insetcommand.h: ditto
7235 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7237 * insettext.C (Edit): #else# -> #else.
7238 * insettoc.C: added using directive.
7240 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7242 * insetminipage.h: add pos, inner_pos, width and height. + getters
7243 and setters for all of them.
7245 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7247 * insetinclude.C (Latex): Do not exit when the textclass of the
7248 included file differ from the textclass of the parent file.
7250 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
7252 * ExternalTemplate.C (read): the reading of external insets now checks
7253 for \end_inset and removes it form the input stream.
7255 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7257 * ExternalTemplate.h:
7258 * ExternalTemplate.C:
7260 * insetexternal.C: move form to GUII
7262 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7265 * insetinclude.C: add InsetIncludeParams, use
7266 composition rather than derivation of InsetCommand
7268 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7270 * insettoc.C (Ascii): use the Buffer typedefs
7272 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7274 * insettoc.C (Ascii): implement for dynamic number of lists
7276 * insetcaption.[Ch]: update from new_insets branch
7277 * insetfloat.[Ch]: ditto
7279 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7282 * figinset.C: use new File Dialog
7284 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7286 * insettext.C: changes becuase of ParagraphParameters.
7288 2001-02-28 Baruch Even <baruch@ev-en.org>
7290 * insetgraphics.C (updateInset): Changed due to the change in
7293 2001-02-26 Juergen Vigna <jug@sad.it>
7295 * insettext.C (SetFont): Set Undo only if we have selection (as it is
7296 handled in LyXText).
7298 2001-02-23 Juergen Vigna <jug@sad.it>
7300 * insettext.C (draw): some small repainting fixes.
7301 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
7303 * inset.C (LocalDispatch): changed action to be a kb_action (as it
7304 should be) and not an int.
7306 * insettabular.C (LocalDispatch): ditto
7308 * insettext.C (LocalDispatch): ditto
7310 * insetcollapsable.C (LocalDispatch): ditto
7312 2001-02-22 Juergen Vigna <jug@sad.it>
7314 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
7315 DISPATCH it and we don't have a locking_inset.
7317 2001-02-21 Baruch Even <baruch@ev-en.org>
7319 * insetgraphics.[Ch]: Changed to use
7320 boost::shared_ptr<GraphicsCacheItem> instead of GraphicsCacheItem *.
7322 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7324 * insetcollapsable.C (getLyXText): add const qualifier to second
7327 2001-02-22 Juergen Vigna <jug@sad.it>
7329 * insettext.C (getLyXText): honor the recursive parameter.
7330 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
7332 * inset.C (getLyXText): added bool recursive parameter.
7334 * insettext.C (SetUpdateStatus): or the update codes.
7335 (draw): check need_update with &.
7336 (InsetButtonPress): set no_selection to not put a selection when
7337 entering an inset and it is redraws in another spot.
7339 * insettext.h: made need_update an int.
7341 2001-02-20 Baruch Even <baruch@ev-en.org>
7344 * insetgraphisc.C: Changed to use better semantics when loading images
7345 for inline view. Now it doesn't keep the pixmap itself but it's holder.
7347 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7351 * insetgraphics.C: change name of "hide" signal to "hideDialog",
7352 consistent with InsetTabular.
7354 2001-02-19 Juergen Vigna <jug@sad.it>
7356 * insettabular.C (LocalDispatch): implement PAGE up/down.
7358 * insettext.C (draw): clear all of it on need_update==INIT too!
7360 * insettabular.C (InsetUnlock): always clear the selection.
7362 * inset.C (scroll): normally we only want to scroll the inset until
7363 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7365 2001-02-14 Juergen Vigna <jug@sad.it>
7367 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7368 (resetPos): fixed scroll behaviour.
7369 (LocalDispatch): do an update if moving cursor inside a table cell
7370 requests a scroll of the tabular.
7372 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7374 * insettext.C (textWidth): constify local var
7376 * insettabular.C: small cleanup.
7378 * insetfoot.C (Latex): constify local var
7380 * insetcollapsable.C: small cleanup.
7382 * figinset.C (runqueue): use compare instead of strcmp
7384 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7387 * insetinfo.C: remove cruft
7389 2001-02-14 Juergen Vigna <jug@sad.it>
7391 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7393 2001-02-13 Juergen Vigna <jug@sad.it>
7395 * insettext.C (InsertInset): don't move left (is this right?)
7397 * insettabular.C (LocalDispatch): use of the no_draw variable
7399 * insettabular.h: new no_draw variable to stop redraw
7401 * insettabular.C (TabularFeatures): fixed update for alignment change
7403 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7407 * insetbib.C: move dialogs to frontends/
7409 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7411 * insettext.C (LocalDispatch): Restore the language if the inset
7414 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7416 * insettext.C (moveRightIntern): Update the selection cursor.
7417 (moveLeftIntern): Ditto.
7419 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7421 * Makefile.am: remove BoundingBox.h
7423 * BoundingBox.h: removed
7425 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7427 * insettext.C (LocalDispatch): Update selection cursor when moving
7428 cursor to the right.
7429 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7430 (moveLeftIntern): Ditto.
7432 2001-02-05 Baruch Even <baruch.even@writeme.com>
7434 * insetgraphics.C: Updated automatic image conversion, it now goes into
7435 temporary directory instead of with the image itself.
7437 2001-01-21 Baruch Even <baruch@ev-en.org>
7439 * insetgraphics.C: Added Docbook support. Added Automatic image
7440 conversion to EPS or PNG when needed (support bitmap graphics).
7442 2000-11-02 Baruch Even <baruch@ev-en.org>
7445 * insetgraphiscParams.C: Some cleaning up, changing from std::endl
7446 to '\n' and removal of commented out code.
7448 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7450 * insetbib.C (callback): Update citations if the key has changed.
7452 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7454 * insetbib.C (InsetBibKey): Better computation of default key.
7455 (getScreenLabel) Show both the key and the label.
7456 (getBibLabel): New method.
7457 (callback): Force a redraw if the inset have been changed.
7459 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7461 * insetref.C (getType, getName): Move methods from
7462 src/frontends/xforms/FormRef.C.
7464 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7466 * insettabular.C: Various improvements (use only one dummy position).
7468 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7470 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7471 par->bibkey->width. This fixes the crashes when running without
7472 gui or when having included documents.
7474 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7476 * insetcommand.C (getAsString, setFromString): Cleanup.
7478 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7480 * insetref.C: Add the array InsetRef::types that contains
7481 information about all supported reference types.
7483 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7485 * lyxinset.h: remove trailing comma in enum.
7487 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7489 * insettext.C: kill LyXBell.